Nutanix v0.7.3 published on Thursday, Mar 13, 2025 by Piers Karsenbarg
nutanix.getVolumeIscsiClientV2
Explore with Pulumi AI
 
Nutanix v0.7.3 published on Thursday, Mar 13, 2025 by Piers Karsenbarg
Fetches the iSCSI client details identified by {extId}.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pulumi/nutanix";
const example = nutanix.getVolumeIscsiClientV2({
    extId: _var.iscsi_client_ext_id,
});
import pulumi
import pulumi_nutanix as nutanix
example = nutanix.get_volume_iscsi_client_v2(ext_id=var["iscsi_client_ext_id"])
package main
import (
	"github.com/pierskarsenbarg/pulumi-nutanix/sdk/go/nutanix"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := nutanix.GetVolumeIscsiClientV2(ctx, &nutanix.GetVolumeIscsiClientV2Args{
			ExtId: _var.Iscsi_client_ext_id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = Pulumi.Nutanix;
return await Deployment.RunAsync(() => 
{
    var example = Nutanix.GetVolumeIscsiClientV2.Invoke(new()
    {
        ExtId = @var.Iscsi_client_ext_id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.NutanixFunctions;
import com.pulumi.nutanix.inputs.GetVolumeIscsiClientV2Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var example = NutanixFunctions.getVolumeIscsiClientV2(GetVolumeIscsiClientV2Args.builder()
            .extId(var_.iscsi_client_ext_id())
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: nutanix:getVolumeIscsiClientV2
      arguments:
        extId: ${var.iscsi_client_ext_id}
Argument Reference
The following arguments are supported:
- ext_id: -(Required) A query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource.
Using getVolumeIscsiClientV2
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVolumeIscsiClientV2(args: GetVolumeIscsiClientV2Args, opts?: InvokeOptions): Promise<GetVolumeIscsiClientV2Result>
function getVolumeIscsiClientV2Output(args: GetVolumeIscsiClientV2OutputArgs, opts?: InvokeOptions): Output<GetVolumeIscsiClientV2Result>def get_volume_iscsi_client_v2(ext_id: Optional[str] = None,
                               iscsi_initiator_network_ids: Optional[Sequence[GetVolumeIscsiClientV2IscsiInitiatorNetworkId]] = None,
                               opts: Optional[InvokeOptions] = None) -> GetVolumeIscsiClientV2Result
def get_volume_iscsi_client_v2_output(ext_id: Optional[pulumi.Input[str]] = None,
                               iscsi_initiator_network_ids: Optional[pulumi.Input[Sequence[pulumi.Input[GetVolumeIscsiClientV2IscsiInitiatorNetworkIdArgs]]]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetVolumeIscsiClientV2Result]func GetVolumeIscsiClientV2(ctx *Context, args *GetVolumeIscsiClientV2Args, opts ...InvokeOption) (*GetVolumeIscsiClientV2Result, error)
func GetVolumeIscsiClientV2Output(ctx *Context, args *GetVolumeIscsiClientV2OutputArgs, opts ...InvokeOption) GetVolumeIscsiClientV2ResultOutput> Note: This function is named GetVolumeIscsiClientV2 in the Go SDK.
public static class GetVolumeIscsiClientV2 
{
    public static Task<GetVolumeIscsiClientV2Result> InvokeAsync(GetVolumeIscsiClientV2Args args, InvokeOptions? opts = null)
    public static Output<GetVolumeIscsiClientV2Result> Invoke(GetVolumeIscsiClientV2InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVolumeIscsiClientV2Result> getVolumeIscsiClientV2(GetVolumeIscsiClientV2Args args, InvokeOptions options)
public static Output<GetVolumeIscsiClientV2Result> getVolumeIscsiClientV2(GetVolumeIscsiClientV2Args args, InvokeOptions options)
fn::invoke:
  function: nutanix:index/getVolumeIscsiClientV2:getVolumeIscsiClientV2
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ExtId string
- A globally unique identifier of an instance that is suitable for external consumption.
 
- IscsiInitiator List<PiersNetwork Ids Karsenbarg. Nutanix. Inputs. Get Volume Iscsi Client V2Iscsi Initiator Network Id> 
- An unique address that identifies a device on the internet or a local network in IPv4/IPv6 format or a Fully Qualified Domain Name.
 
- ExtId string
- A globally unique identifier of an instance that is suitable for external consumption.
 
- IscsiInitiator []GetNetwork Ids Volume Iscsi Client V2Iscsi Initiator Network Id 
- An unique address that identifies a device on the internet or a local network in IPv4/IPv6 format or a Fully Qualified Domain Name.
 
- extId String
- A globally unique identifier of an instance that is suitable for external consumption.
 
- iscsiInitiator List<GetNetwork Ids Volume Iscsi Client V2Iscsi Initiator Network Id> 
- An unique address that identifies a device on the internet or a local network in IPv4/IPv6 format or a Fully Qualified Domain Name.
 
- extId string
- A globally unique identifier of an instance that is suitable for external consumption.
 
- iscsiInitiator GetNetwork Ids Volume Iscsi Client V2Iscsi Initiator Network Id[] 
- An unique address that identifies a device on the internet or a local network in IPv4/IPv6 format or a Fully Qualified Domain Name.
 
- ext_id str
- A globally unique identifier of an instance that is suitable for external consumption.
 
- iscsi_initiator_ Sequence[Getnetwork_ ids Volume Iscsi Client V2Iscsi Initiator Network Id] 
- An unique address that identifies a device on the internet or a local network in IPv4/IPv6 format or a Fully Qualified Domain Name.
 
- extId String
- A globally unique identifier of an instance that is suitable for external consumption.
 
- iscsiInitiator List<Property Map>Network Ids 
- An unique address that identifies a device on the internet or a local network in IPv4/IPv6 format or a Fully Qualified Domain Name.
 
getVolumeIscsiClientV2 Result
The following output properties are available:
- AttachedTargets List<PiersKarsenbarg. Nutanix. Outputs. Get Volume Iscsi Client V2Attached Target> 
- AttachmentSite string
- -(Optional) The site where the Volume Group attach operation should be processed. This is an optional field. This field may only be set if Metro DR has been configured for this Volume Group. Valid values are SECONDARY, PRIMARY.
- ClusterReference string
- EnabledAuthentications string
- -(Optional) (Optional) The authentication type enabled for the Volume Group. This is an optional field. If omitted, authentication is not configured for the Volume Group. If this is set to CHAP, the target/client secret must be provided. Valid values are CHAP, NONE
- ExtId string
- A globally unique identifier of an instance that is suitable for external consumption.
 
- Id string
- The provider-assigned unique ID for this managed resource.
- IscsiInitiator stringName 
- -iSCSI initiator name. During the attach operation, exactly one of iscsiInitiatorName and iscsiInitiatorNetworkId must be specified. This field is immutable.
- Links
List<PiersKarsenbarg. Nutanix. Outputs. Get Volume Iscsi Client V2Link> 
- A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
 
- TenantId string
- A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
 
- IscsiInitiator List<PiersNetwork Ids Karsenbarg. Nutanix. Outputs. Get Volume Iscsi Client V2Iscsi Initiator Network Id> 
- An unique address that identifies a device on the internet or a local network in IPv4/IPv6 format or a Fully Qualified Domain Name.
 
- AttachedTargets []GetVolume Iscsi Client V2Attached Target 
- AttachmentSite string
- -(Optional) The site where the Volume Group attach operation should be processed. This is an optional field. This field may only be set if Metro DR has been configured for this Volume Group. Valid values are SECONDARY, PRIMARY.
- ClusterReference string
- EnabledAuthentications string
- -(Optional) (Optional) The authentication type enabled for the Volume Group. This is an optional field. If omitted, authentication is not configured for the Volume Group. If this is set to CHAP, the target/client secret must be provided. Valid values are CHAP, NONE
- ExtId string
- A globally unique identifier of an instance that is suitable for external consumption.
 
- Id string
- The provider-assigned unique ID for this managed resource.
- IscsiInitiator stringName 
- -iSCSI initiator name. During the attach operation, exactly one of iscsiInitiatorName and iscsiInitiatorNetworkId must be specified. This field is immutable.
- Links
[]GetVolume Iscsi Client V2Link 
- A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
 
- TenantId string
- A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
 
- IscsiInitiator []GetNetwork Ids Volume Iscsi Client V2Iscsi Initiator Network Id 
- An unique address that identifies a device on the internet or a local network in IPv4/IPv6 format or a Fully Qualified Domain Name.
 
- attachedTargets List<GetVolume Iscsi Client V2Attached Target> 
- attachmentSite String
- -(Optional) The site where the Volume Group attach operation should be processed. This is an optional field. This field may only be set if Metro DR has been configured for this Volume Group. Valid values are SECONDARY, PRIMARY.
- clusterReference String
- enabledAuthentications String
- -(Optional) (Optional) The authentication type enabled for the Volume Group. This is an optional field. If omitted, authentication is not configured for the Volume Group. If this is set to CHAP, the target/client secret must be provided. Valid values are CHAP, NONE
- extId String
- A globally unique identifier of an instance that is suitable for external consumption.
 
- id String
- The provider-assigned unique ID for this managed resource.
- iscsiInitiator StringName 
- -iSCSI initiator name. During the attach operation, exactly one of iscsiInitiatorName and iscsiInitiatorNetworkId must be specified. This field is immutable.
- links
List<GetVolume Iscsi Client V2Link> 
- A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
 
- tenantId String
- A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
 
- iscsiInitiator List<GetNetwork Ids Volume Iscsi Client V2Iscsi Initiator Network Id> 
- An unique address that identifies a device on the internet or a local network in IPv4/IPv6 format or a Fully Qualified Domain Name.
 
- attachedTargets GetVolume Iscsi Client V2Attached Target[] 
- attachmentSite string
- -(Optional) The site where the Volume Group attach operation should be processed. This is an optional field. This field may only be set if Metro DR has been configured for this Volume Group. Valid values are SECONDARY, PRIMARY.
- clusterReference string
- enabledAuthentications string
- -(Optional) (Optional) The authentication type enabled for the Volume Group. This is an optional field. If omitted, authentication is not configured for the Volume Group. If this is set to CHAP, the target/client secret must be provided. Valid values are CHAP, NONE
- extId string
- A globally unique identifier of an instance that is suitable for external consumption.
 
- id string
- The provider-assigned unique ID for this managed resource.
- iscsiInitiator stringName 
- -iSCSI initiator name. During the attach operation, exactly one of iscsiInitiatorName and iscsiInitiatorNetworkId must be specified. This field is immutable.
- links
GetVolume Iscsi Client V2Link[] 
- A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
 
- tenantId string
- A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
 
- iscsiInitiator GetNetwork Ids Volume Iscsi Client V2Iscsi Initiator Network Id[] 
- An unique address that identifies a device on the internet or a local network in IPv4/IPv6 format or a Fully Qualified Domain Name.
 
- attached_targets Sequence[GetVolume Iscsi Client V2Attached Target] 
- attachment_site str
- -(Optional) The site where the Volume Group attach operation should be processed. This is an optional field. This field may only be set if Metro DR has been configured for this Volume Group. Valid values are SECONDARY, PRIMARY.
- cluster_reference str
- enabled_authentications str
- -(Optional) (Optional) The authentication type enabled for the Volume Group. This is an optional field. If omitted, authentication is not configured for the Volume Group. If this is set to CHAP, the target/client secret must be provided. Valid values are CHAP, NONE
- ext_id str
- A globally unique identifier of an instance that is suitable for external consumption.
 
- id str
- The provider-assigned unique ID for this managed resource.
- iscsi_initiator_ strname 
- -iSCSI initiator name. During the attach operation, exactly one of iscsiInitiatorName and iscsiInitiatorNetworkId must be specified. This field is immutable.
- links
Sequence[GetVolume Iscsi Client V2Link] 
- A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
 
- tenant_id str
- A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
 
- iscsi_initiator_ Sequence[Getnetwork_ ids Volume Iscsi Client V2Iscsi Initiator Network Id] 
- An unique address that identifies a device on the internet or a local network in IPv4/IPv6 format or a Fully Qualified Domain Name.
 
- attachedTargets List<Property Map>
- attachmentSite String
- -(Optional) The site where the Volume Group attach operation should be processed. This is an optional field. This field may only be set if Metro DR has been configured for this Volume Group. Valid values are SECONDARY, PRIMARY.
- clusterReference String
- enabledAuthentications String
- -(Optional) (Optional) The authentication type enabled for the Volume Group. This is an optional field. If omitted, authentication is not configured for the Volume Group. If this is set to CHAP, the target/client secret must be provided. Valid values are CHAP, NONE
- extId String
- A globally unique identifier of an instance that is suitable for external consumption.
 
- id String
- The provider-assigned unique ID for this managed resource.
- iscsiInitiator StringName 
- -iSCSI initiator name. During the attach operation, exactly one of iscsiInitiatorName and iscsiInitiatorNetworkId must be specified. This field is immutable.
- links List<Property Map>
- A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
 
- tenantId String
- A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
 
- iscsiInitiator List<Property Map>Network Ids 
- An unique address that identifies a device on the internet or a local network in IPv4/IPv6 format or a Fully Qualified Domain Name.
 
Supporting Types
GetVolumeIscsiClientV2AttachedTarget     
- IscsiTarget stringName 
- Name of the iSCSI target that the iSCSI client is connected to. This is a read-only field.
 
- NumVirtual intTargets 
- Number of virtual targets generated for the iSCSI target. This field is immutable.
 
- IscsiTarget stringName 
- Name of the iSCSI target that the iSCSI client is connected to. This is a read-only field.
 
- NumVirtual intTargets 
- Number of virtual targets generated for the iSCSI target. This field is immutable.
 
- iscsiTarget StringName 
- Name of the iSCSI target that the iSCSI client is connected to. This is a read-only field.
 
- numVirtual IntegerTargets 
- Number of virtual targets generated for the iSCSI target. This field is immutable.
 
- iscsiTarget stringName 
- Name of the iSCSI target that the iSCSI client is connected to. This is a read-only field.
 
- numVirtual numberTargets 
- Number of virtual targets generated for the iSCSI target. This field is immutable.
 
- iscsi_target_ strname 
- Name of the iSCSI target that the iSCSI client is connected to. This is a read-only field.
 
- num_virtual_ inttargets 
- Number of virtual targets generated for the iSCSI target. This field is immutable.
 
- iscsiTarget StringName 
- Name of the iSCSI target that the iSCSI client is connected to. This is a read-only field.
 
- numVirtual NumberTargets 
- Number of virtual targets generated for the iSCSI target. This field is immutable.
 
GetVolumeIscsiClientV2IscsiInitiatorNetworkId       
- Fqdns
List<PiersKarsenbarg. Nutanix. Inputs. Get Volume Iscsi Client V2Iscsi Initiator Network Id Fqdn> 
- A fully qualified domain name that specifies its exact location in the tree hierarchy of the Domain Name System.
 
- Ipv4s
List<PiersKarsenbarg. Nutanix. Inputs. Get Volume Iscsi Client V2Iscsi Initiator Network Id Ipv4> 
- An unique address that identifies a device on the internet or a local network in IPv4 format.
 
- Ipv6s
List<PiersKarsenbarg. Nutanix. Inputs. Get Volume Iscsi Client V2Iscsi Initiator Network Id Ipv6> 
- An unique address that identifies a device on the internet or a local network in IPv6 format.
 
- Fqdns
[]GetVolume Iscsi Client V2Iscsi Initiator Network Id Fqdn 
- A fully qualified domain name that specifies its exact location in the tree hierarchy of the Domain Name System.
 
- Ipv4s
[]GetVolume Iscsi Client V2Iscsi Initiator Network Id Ipv4 
- An unique address that identifies a device on the internet or a local network in IPv4 format.
 
- Ipv6s
[]GetVolume Iscsi Client V2Iscsi Initiator Network Id Ipv6 
- An unique address that identifies a device on the internet or a local network in IPv6 format.
 
- fqdns
List<GetVolume Iscsi Client V2Iscsi Initiator Network Id Fqdn> 
- A fully qualified domain name that specifies its exact location in the tree hierarchy of the Domain Name System.
 
- ipv4s
List<GetVolume Iscsi Client V2Iscsi Initiator Network Id Ipv4> 
- An unique address that identifies a device on the internet or a local network in IPv4 format.
 
- ipv6s
List<GetVolume Iscsi Client V2Iscsi Initiator Network Id Ipv6> 
- An unique address that identifies a device on the internet or a local network in IPv6 format.
 
- fqdns
GetVolume Iscsi Client V2Iscsi Initiator Network Id Fqdn[] 
- A fully qualified domain name that specifies its exact location in the tree hierarchy of the Domain Name System.
 
- ipv4s
GetVolume Iscsi Client V2Iscsi Initiator Network Id Ipv4[] 
- An unique address that identifies a device on the internet or a local network in IPv4 format.
 
- ipv6s
GetVolume Iscsi Client V2Iscsi Initiator Network Id Ipv6[] 
- An unique address that identifies a device on the internet or a local network in IPv6 format.
 
- fqdns
Sequence[GetVolume Iscsi Client V2Iscsi Initiator Network Id Fqdn] 
- A fully qualified domain name that specifies its exact location in the tree hierarchy of the Domain Name System.
 
- ipv4s
Sequence[GetVolume Iscsi Client V2Iscsi Initiator Network Id Ipv4] 
- An unique address that identifies a device on the internet or a local network in IPv4 format.
 
- ipv6s
Sequence[GetVolume Iscsi Client V2Iscsi Initiator Network Id Ipv6] 
- An unique address that identifies a device on the internet or a local network in IPv6 format.
 
- fqdns List<Property Map>
- A fully qualified domain name that specifies its exact location in the tree hierarchy of the Domain Name System.
 
- ipv4s List<Property Map>
- An unique address that identifies a device on the internet or a local network in IPv4 format.
 
- ipv6s List<Property Map>
- An unique address that identifies a device on the internet or a local network in IPv6 format.
 
GetVolumeIscsiClientV2IscsiInitiatorNetworkIdFqdn        
- Value string
- The fully qualified domain name.
 
- Value string
- The fully qualified domain name.
 
- value String
- The fully qualified domain name.
 
- value string
- The fully qualified domain name.
 
- value str
- The fully qualified domain name.
 
- value String
- The fully qualified domain name.
 
GetVolumeIscsiClientV2IscsiInitiatorNetworkIdIpv4        
- PrefixLength int
- The prefix length of the network to which this host IPv6 address belongs.
 
- Value string
- The fully qualified domain name.
 
- PrefixLength int
- The prefix length of the network to which this host IPv6 address belongs.
 
- Value string
- The fully qualified domain name.
 
- prefixLength Integer
- The prefix length of the network to which this host IPv6 address belongs.
 
- value String
- The fully qualified domain name.
 
- prefixLength number
- The prefix length of the network to which this host IPv6 address belongs.
 
- value string
- The fully qualified domain name.
 
- prefix_length int
- The prefix length of the network to which this host IPv6 address belongs.
 
- value str
- The fully qualified domain name.
 
- prefixLength Number
- The prefix length of the network to which this host IPv6 address belongs.
 
- value String
- The fully qualified domain name.
 
GetVolumeIscsiClientV2IscsiInitiatorNetworkIdIpv6        
- PrefixLength int
- The prefix length of the network to which this host IPv6 address belongs.
 
- Value string
- The fully qualified domain name.
 
- PrefixLength int
- The prefix length of the network to which this host IPv6 address belongs.
 
- Value string
- The fully qualified domain name.
 
- prefixLength Integer
- The prefix length of the network to which this host IPv6 address belongs.
 
- value String
- The fully qualified domain name.
 
- prefixLength number
- The prefix length of the network to which this host IPv6 address belongs.
 
- value string
- The fully qualified domain name.
 
- prefix_length int
- The prefix length of the network to which this host IPv6 address belongs.
 
- value str
- The fully qualified domain name.
 
- prefixLength Number
- The prefix length of the network to which this host IPv6 address belongs.
 
- value String
- The fully qualified domain name.
 
GetVolumeIscsiClientV2Link    
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the nutanixTerraform Provider.
 
Nutanix v0.7.3 published on Thursday, Mar 13, 2025 by Piers Karsenbarg