1. Packages
  2. Azure Native
  3. API Docs
  4. storagepool
  5. getIscsiTarget
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.33.0 published on Friday, Mar 22, 2024 by Pulumi

azure-native.storagepool.getIscsiTarget

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.33.0 published on Friday, Mar 22, 2024 by Pulumi

    Get an iSCSI Target. Azure REST API version: 2021-08-01.

    Other available API versions: 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:

    AclMode string
    Mode for Target connectivity.
    Id string
    Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ManagedBy string
    Azure resource id. Indicates if this resource is managed by another Azure resource.
    ManagedByExtended List<string>
    List of Azure resource ids that manage this resource.
    Name string
    The name of the resource
    ProvisioningState string
    State of the operation on the resource.
    Sessions List<string>
    List of identifiers for active sessions on the iSCSI target
    Status string
    Operational status of the iSCSI Target.
    SystemData Pulumi.AzureNative.StoragePool.Outputs.SystemMetadataResponse
    Resource metadata required by ARM RPC
    TargetIqn string
    iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
    Type string
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Endpoints List<string>
    List of private IPv4 addresses to connect to the iSCSI Target.
    Luns List<Pulumi.AzureNative.StoragePool.Outputs.IscsiLunResponse>
    List of LUNs to be exposed through iSCSI Target.
    Port int
    The port used by iSCSI Target portal group.
    StaticAcls List<Pulumi.AzureNative.StoragePool.Outputs.AclResponse>
    Access Control List (ACL) for an iSCSI Target; defines LUN masking policy
    AclMode string
    Mode for Target connectivity.
    Id string
    Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ManagedBy string
    Azure resource id. Indicates if this resource is managed by another Azure resource.
    ManagedByExtended []string
    List of Azure resource ids that manage this resource.
    Name string
    The name of the resource
    ProvisioningState string
    State of the operation on the resource.
    Sessions []string
    List of identifiers for active sessions on the iSCSI target
    Status string
    Operational status of the iSCSI Target.
    SystemData SystemMetadataResponse
    Resource metadata required by ARM RPC
    TargetIqn string
    iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
    Type string
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Endpoints []string
    List of private IPv4 addresses to connect to the iSCSI Target.
    Luns []IscsiLunResponse
    List of LUNs to be exposed through iSCSI Target.
    Port int
    The port used by iSCSI Target portal group.
    StaticAcls []AclResponse
    Access Control List (ACL) for an iSCSI Target; defines LUN masking policy
    aclMode String
    Mode for Target connectivity.
    id String
    Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    managedBy String
    Azure resource id. Indicates if this resource is managed by another Azure resource.
    managedByExtended List<String>
    List of Azure resource ids that manage this resource.
    name String
    The name of the resource
    provisioningState String
    State of the operation on the resource.
    sessions List<String>
    List of identifiers for active sessions on the iSCSI target
    status String
    Operational status of the iSCSI Target.
    systemData SystemMetadataResponse
    Resource metadata required by ARM RPC
    targetIqn String
    iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
    type String
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    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.
    port Integer
    The port used by iSCSI Target portal group.
    staticAcls List<AclResponse>
    Access Control List (ACL) for an iSCSI Target; defines LUN masking policy
    aclMode string
    Mode for Target connectivity.
    id string
    Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    managedBy string
    Azure resource id. Indicates if this resource is managed by another Azure resource.
    managedByExtended string[]
    List of Azure resource ids that manage this resource.
    name string
    The name of the resource
    provisioningState string
    State of the operation on the resource.
    sessions string[]
    List of identifiers for active sessions on the iSCSI target
    status string
    Operational status of the iSCSI Target.
    systemData SystemMetadataResponse
    Resource metadata required by ARM RPC
    targetIqn string
    iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
    type string
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    endpoints string[]
    List of private IPv4 addresses to connect to the iSCSI Target.
    luns IscsiLunResponse[]
    List of LUNs to be exposed through iSCSI Target.
    port number
    The port used by iSCSI Target portal group.
    staticAcls AclResponse[]
    Access Control List (ACL) for an iSCSI Target; defines LUN masking policy
    acl_mode str
    Mode for Target connectivity.
    id str
    Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    managed_by str
    Azure resource id. Indicates if this resource is managed by another Azure resource.
    managed_by_extended Sequence[str]
    List of Azure resource ids that manage this resource.
    name str
    The name of the resource
    provisioning_state str
    State of the operation on the resource.
    sessions Sequence[str]
    List of identifiers for active sessions on the iSCSI target
    status str
    Operational status of the iSCSI Target.
    system_data SystemMetadataResponse
    Resource metadata required by ARM RPC
    target_iqn str
    iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
    type str
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    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.
    port int
    The port used by iSCSI Target portal group.
    static_acls Sequence[AclResponse]
    Access Control List (ACL) for an iSCSI Target; defines LUN masking policy
    aclMode String
    Mode for Target connectivity.
    id String
    Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    managedBy String
    Azure resource id. Indicates if this resource is managed by another Azure resource.
    managedByExtended List<String>
    List of Azure resource ids that manage this resource.
    name String
    The name of the resource
    provisioningState String
    State of the operation on the resource.
    sessions List<String>
    List of identifiers for active sessions on the iSCSI target
    status String
    Operational status of the iSCSI Target.
    systemData Property Map
    Resource metadata required by ARM RPC
    targetIqn String
    iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
    type String
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    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.
    port Number
    The port used by iSCSI Target portal group.
    staticAcls List<Property Map>
    Access Control List (ACL) for an iSCSI Target; defines LUN masking policy

    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.
    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.
    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.
    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.
    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.
    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.

    IscsiLunResponse

    Lun int
    Specifies the Logical Unit Number of the iSCSI LUN.
    ManagedDiskAzureResourceId string
    Azure Resource ID of the Managed Disk.
    Name string
    User defined name for iSCSI LUN; example: "lun0"
    Lun int
    Specifies the Logical Unit Number of the iSCSI LUN.
    ManagedDiskAzureResourceId string
    Azure Resource ID of the Managed Disk.
    Name string
    User defined name for iSCSI LUN; example: "lun0"
    lun Integer
    Specifies the Logical Unit Number of the iSCSI LUN.
    managedDiskAzureResourceId String
    Azure Resource ID of the Managed Disk.
    name String
    User defined name for iSCSI LUN; example: "lun0"
    lun number
    Specifies the Logical Unit Number of the iSCSI LUN.
    managedDiskAzureResourceId string
    Azure Resource ID of the Managed Disk.
    name string
    User defined name for iSCSI LUN; example: "lun0"
    lun int
    Specifies the Logical Unit Number of the iSCSI LUN.
    managed_disk_azure_resource_id str
    Azure Resource ID of the Managed Disk.
    name str
    User defined name for iSCSI LUN; example: "lun0"
    lun Number
    Specifies the Logical Unit Number of the iSCSI LUN.
    managedDiskAzureResourceId String
    Azure Resource ID of the Managed Disk.
    name String
    User defined name for iSCSI LUN; example: "lun0"

    SystemMetadataResponse

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The type of identity that last modified the resource.
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The type of identity that last modified the resource.
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The type of identity that last modified the resource.
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The type of identity that last modified the resource.
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The type of identity that last modified the resource.
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The type of identity that last modified the resource.
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.33.0 published on Friday, Mar 22, 2024 by Pulumi