1. Packages
  2. Azure Native v1
  3. API Docs
  4. storagepool
  5. getIscsiTarget
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.storagepool.getIscsiTarget

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Get an iSCSI target. API Version: 2020-03-15-preview.

    Using getIscsiTarget

    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 getIscsiTarget(args: GetIscsiTargetArgs, opts?: InvokeOptions): Promise<GetIscsiTargetResult>
    function getIscsiTargetOutput(args: GetIscsiTargetOutputArgs, opts?: InvokeOptions): Output<GetIscsiTargetResult>
    def get_iscsi_target(disk_pool_name: Optional[str] = None,
                         iscsi_target_name: Optional[str] = None,
                         resource_group_name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetIscsiTargetResult
    def get_iscsi_target_output(disk_pool_name: Optional[pulumi.Input[str]] = None,
                         iscsi_target_name: Optional[pulumi.Input[str]] = None,
                         resource_group_name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetIscsiTargetResult]
    func LookupIscsiTarget(ctx *Context, args *LookupIscsiTargetArgs, opts ...InvokeOption) (*LookupIscsiTargetResult, error)
    func LookupIscsiTargetOutput(ctx *Context, args *LookupIscsiTargetOutputArgs, opts ...InvokeOption) LookupIscsiTargetResultOutput

    > Note: This function is named LookupIscsiTarget in the Go SDK.

    public static class GetIscsiTarget 
    {
        public static Task<GetIscsiTargetResult> InvokeAsync(GetIscsiTargetArgs args, InvokeOptions? opts = null)
        public static Output<GetIscsiTargetResult> Invoke(GetIscsiTargetInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIscsiTargetResult> getIscsiTarget(GetIscsiTargetArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:storagepool:getIscsiTarget
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DiskPoolName string
    The name of the Disk pool.
    IscsiTargetName string
    The name of the iSCSI target.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    DiskPoolName string
    The name of the Disk pool.
    IscsiTargetName string
    The name of the iSCSI target.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    diskPoolName String
    The name of the Disk pool.
    iscsiTargetName String
    The name of the iSCSI target.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    diskPoolName string
    The name of the Disk pool.
    iscsiTargetName string
    The name of the iSCSI target.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    disk_pool_name str
    The name of the Disk pool.
    iscsi_target_name str
    The name of the iSCSI target.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    diskPoolName String
    The name of the Disk pool.
    iscsiTargetName String
    The name of the iSCSI target.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.

    getIscsiTarget Result

    The following output properties are available:

    Id string
    Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Name string
    The name of the resource
    ProvisioningState string
    State of the operation on the resource.
    Status string
    Operational status of the iSCSI target.
    TargetIqn string
    iSCSI target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
    Tpgs List<Pulumi.AzureNative.StoragePool.Outputs.TargetPortalGroupResponse>
    List of iSCSI target portal groups. Can have 1 portal group at most.
    Type string
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Id string
    Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Name string
    The name of the resource
    ProvisioningState string
    State of the operation on the resource.
    Status string
    Operational status of the iSCSI target.
    TargetIqn string
    iSCSI target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
    Tpgs []TargetPortalGroupResponse
    List of iSCSI target portal groups. Can have 1 portal group at most.
    Type string
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    id String
    Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    name String
    The name of the resource
    provisioningState String
    State of the operation on the resource.
    status String
    Operational status of the iSCSI target.
    targetIqn String
    iSCSI target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
    tpgs List<TargetPortalGroupResponse>
    List of iSCSI target portal groups. Can have 1 portal group at most.
    type String
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    id string
    Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    name string
    The name of the resource
    provisioningState string
    State of the operation on the resource.
    status string
    Operational status of the iSCSI target.
    targetIqn string
    iSCSI target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
    tpgs TargetPortalGroupResponse[]
    List of iSCSI target portal groups. Can have 1 portal group at most.
    type string
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    id str
    Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    name str
    The name of the resource
    provisioning_state str
    State of the operation on the resource.
    status str
    Operational status of the iSCSI target.
    target_iqn str
    iSCSI target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
    tpgs Sequence[TargetPortalGroupResponse]
    List of iSCSI target portal groups. Can have 1 portal group at most.
    type str
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    id String
    Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    name String
    The name of the resource
    provisioningState String
    State of the operation on the resource.
    status String
    Operational status of the iSCSI target.
    targetIqn String
    iSCSI target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
    tpgs List<Property Map>
    List of iSCSI target portal groups. Can have 1 portal group at most.
    type String
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

    Supporting Types

    AclResponse

    InitiatorIqn string
    iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
    MappedLuns List<string>
    List of LUN names mapped to the ACL.
    Password string
    Password for Challenge Handshake Authentication Protocol (CHAP) authentication.
    Username string
    Username for Challenge Handshake Authentication Protocol (CHAP) authentication.
    InitiatorIqn string
    iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
    MappedLuns []string
    List of LUN names mapped to the ACL.
    Password string
    Password for Challenge Handshake Authentication Protocol (CHAP) authentication.
    Username string
    Username for Challenge Handshake Authentication Protocol (CHAP) authentication.
    initiatorIqn String
    iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
    mappedLuns List<String>
    List of LUN names mapped to the ACL.
    password String
    Password for Challenge Handshake Authentication Protocol (CHAP) authentication.
    username String
    Username for Challenge Handshake Authentication Protocol (CHAP) authentication.
    initiatorIqn string
    iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
    mappedLuns string[]
    List of LUN names mapped to the ACL.
    password string
    Password for Challenge Handshake Authentication Protocol (CHAP) authentication.
    username string
    Username for Challenge Handshake Authentication Protocol (CHAP) authentication.
    initiator_iqn str
    iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
    mapped_luns Sequence[str]
    List of LUN names mapped to the ACL.
    password str
    Password for Challenge Handshake Authentication Protocol (CHAP) authentication.
    username str
    Username for Challenge Handshake Authentication Protocol (CHAP) authentication.
    initiatorIqn String
    iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
    mappedLuns List<String>
    List of LUN names mapped to the ACL.
    password String
    Password for Challenge Handshake Authentication Protocol (CHAP) authentication.
    username String
    Username for Challenge Handshake Authentication Protocol (CHAP) authentication.

    AttributesResponse

    Authentication bool
    Indicates whether or not authentication is enabled on the ACL.
    ProdModeWriteProtect bool
    Indicates whether or not write protect is enabled on the LUNs.
    Authentication bool
    Indicates whether or not authentication is enabled on the ACL.
    ProdModeWriteProtect bool
    Indicates whether or not write protect is enabled on the LUNs.
    authentication Boolean
    Indicates whether or not authentication is enabled on the ACL.
    prodModeWriteProtect Boolean
    Indicates whether or not write protect is enabled on the LUNs.
    authentication boolean
    Indicates whether or not authentication is enabled on the ACL.
    prodModeWriteProtect boolean
    Indicates whether or not write protect is enabled on the LUNs.
    authentication bool
    Indicates whether or not authentication is enabled on the ACL.
    prod_mode_write_protect bool
    Indicates whether or not write protect is enabled on the LUNs.
    authentication Boolean
    Indicates whether or not authentication is enabled on the ACL.
    prodModeWriteProtect Boolean
    Indicates whether or not write protect is enabled on the LUNs.

    IscsiLunResponse

    ManagedDiskAzureResourceId string
    Azure Resource ID of the Managed Disk.
    Name string
    User defined name for iSCSI LUN; example: "lun0"
    ManagedDiskAzureResourceId string
    Azure Resource ID of the Managed Disk.
    Name string
    User defined name for iSCSI LUN; example: "lun0"
    managedDiskAzureResourceId String
    Azure Resource ID of the Managed Disk.
    name String
    User defined name for iSCSI LUN; example: "lun0"
    managedDiskAzureResourceId string
    Azure Resource ID of the Managed Disk.
    name string
    User defined name for iSCSI LUN; example: "lun0"
    managed_disk_azure_resource_id str
    Azure Resource ID of the Managed Disk.
    name str
    User defined name for iSCSI LUN; example: "lun0"
    managedDiskAzureResourceId String
    Azure Resource ID of the Managed Disk.
    name String
    User defined name for iSCSI LUN; example: "lun0"

    TargetPortalGroupResponse

    Acls List<Pulumi.AzureNative.StoragePool.Inputs.AclResponse>
    Access Control List (ACL) for an iSCSI target portal group.
    Attributes Pulumi.AzureNative.StoragePool.Inputs.AttributesResponse
    Attributes of an iSCSI target portal group.
    Endpoints List<string>
    List of private IPv4 addresses to connect to the iSCSI target.
    Luns List<Pulumi.AzureNative.StoragePool.Inputs.IscsiLunResponse>
    List of LUNs to be exposed through iSCSI target portal group.
    Port int
    The port used by iSCSI target portal group.
    Tag int
    The tag associated with the iSCSI target portal group.
    Acls []AclResponse
    Access Control List (ACL) for an iSCSI target portal group.
    Attributes AttributesResponse
    Attributes of an iSCSI target portal group.
    Endpoints []string
    List of private IPv4 addresses to connect to the iSCSI target.
    Luns []IscsiLunResponse
    List of LUNs to be exposed through iSCSI target portal group.
    Port int
    The port used by iSCSI target portal group.
    Tag int
    The tag associated with the iSCSI target portal group.
    acls List<AclResponse>
    Access Control List (ACL) for an iSCSI target portal group.
    attributes AttributesResponse
    Attributes of an iSCSI target portal group.
    endpoints List<String>
    List of private IPv4 addresses to connect to the iSCSI target.
    luns List<IscsiLunResponse>
    List of LUNs to be exposed through iSCSI target portal group.
    port Integer
    The port used by iSCSI target portal group.
    tag Integer
    The tag associated with the iSCSI target portal group.
    acls AclResponse[]
    Access Control List (ACL) for an iSCSI target portal group.
    attributes AttributesResponse
    Attributes of an iSCSI target portal group.
    endpoints string[]
    List of private IPv4 addresses to connect to the iSCSI target.
    luns IscsiLunResponse[]
    List of LUNs to be exposed through iSCSI target portal group.
    port number
    The port used by iSCSI target portal group.
    tag number
    The tag associated with the iSCSI target portal group.
    acls Sequence[AclResponse]
    Access Control List (ACL) for an iSCSI target portal group.
    attributes AttributesResponse
    Attributes of an iSCSI target portal group.
    endpoints Sequence[str]
    List of private IPv4 addresses to connect to the iSCSI target.
    luns Sequence[IscsiLunResponse]
    List of LUNs to be exposed through iSCSI target portal group.
    port int
    The port used by iSCSI target portal group.
    tag int
    The tag associated with the iSCSI target portal group.
    acls List<Property Map>
    Access Control List (ACL) for an iSCSI target portal group.
    attributes Property Map
    Attributes of an iSCSI target portal group.
    endpoints List<String>
    List of private IPv4 addresses to connect to the iSCSI target.
    luns List<Property Map>
    List of LUNs to be exposed through iSCSI target portal group.
    port Number
    The port used by iSCSI target portal group.
    tag Number
    The tag associated with the iSCSI target portal group.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi