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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
azure-native.storagepool.getIscsiTarget
Explore with Pulumi AI
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.63.0 published on Tuesday, Sep 24, 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:
- Disk
Pool stringName - The name of the Disk Pool.
- Iscsi
Target stringName - The name of the iSCSI Target.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Disk
Pool stringName - The name of the Disk Pool.
- Iscsi
Target stringName - The name of the iSCSI Target.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- disk
Pool StringName - The name of the Disk Pool.
- iscsi
Target StringName - The name of the iSCSI Target.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- disk
Pool stringName - The name of the Disk Pool.
- iscsi
Target stringName - The name of the iSCSI Target.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- disk_
pool_ strname - The name of the Disk Pool.
- iscsi_
target_ strname - The name of the iSCSI Target.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- disk
Pool StringName - The name of the Disk Pool.
- iscsi
Target StringName - The name of the iSCSI Target.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getIscsiTarget Result
The following output properties are available:
- Acl
Mode string - Mode for Target connectivity.
- Id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Managed
By string - Azure resource id. Indicates if this resource is managed by another Azure resource.
- Managed
By List<string>Extended - List of Azure resource ids that manage this resource.
- Name string
- The name of the resource
- Provisioning
State 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.
- System
Data Pulumi.Azure Native. Storage Pool. Outputs. System Metadata Response - Resource metadata required by ARM RPC
- Target
Iqn 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.
Azure Native. Storage Pool. Outputs. Iscsi Lun Response> - List of LUNs to be exposed through iSCSI Target.
- Port int
- The port used by iSCSI Target portal group.
- Static
Acls List<Pulumi.Azure Native. Storage Pool. Outputs. Acl Response> - Access Control List (ACL) for an iSCSI Target; defines LUN masking policy
- Acl
Mode string - Mode for Target connectivity.
- Id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Managed
By string - Azure resource id. Indicates if this resource is managed by another Azure resource.
- Managed
By []stringExtended - List of Azure resource ids that manage this resource.
- Name string
- The name of the resource
- Provisioning
State 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.
- System
Data SystemMetadata Response - Resource metadata required by ARM RPC
- Target
Iqn 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
[]Iscsi
Lun Response - List of LUNs to be exposed through iSCSI Target.
- Port int
- The port used by iSCSI Target portal group.
- Static
Acls []AclResponse - Access Control List (ACL) for an iSCSI Target; defines LUN masking policy
- acl
Mode String - Mode for Target connectivity.
- id String
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- managed
By String - Azure resource id. Indicates if this resource is managed by another Azure resource.
- managed
By List<String>Extended - List of Azure resource ids that manage this resource.
- name String
- The name of the resource
- provisioning
State 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.
- system
Data SystemMetadata Response - Resource metadata required by ARM RPC
- target
Iqn 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<Iscsi
Lun Response> - List of LUNs to be exposed through iSCSI Target.
- port Integer
- The port used by iSCSI Target portal group.
- static
Acls List<AclResponse> - Access Control List (ACL) for an iSCSI Target; defines LUN masking policy
- acl
Mode string - Mode for Target connectivity.
- id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- managed
By string - Azure resource id. Indicates if this resource is managed by another Azure resource.
- managed
By string[]Extended - List of Azure resource ids that manage this resource.
- name string
- The name of the resource
- provisioning
State 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.
- system
Data SystemMetadata Response - Resource metadata required by ARM RPC
- target
Iqn 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
Iscsi
Lun Response[] - List of LUNs to be exposed through iSCSI Target.
- port number
- The port used by iSCSI Target portal group.
- static
Acls 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_ Sequence[str]extended - 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 SystemMetadata Response - 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[Iscsi
Lun Response] - 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
- acl
Mode String - Mode for Target connectivity.
- id String
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- managed
By String - Azure resource id. Indicates if this resource is managed by another Azure resource.
- managed
By List<String>Extended - List of Azure resource ids that manage this resource.
- name String
- The name of the resource
- provisioning
State 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.
- system
Data Property Map - Resource metadata required by ARM RPC
- target
Iqn 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.
- static
Acls List<Property Map> - Access Control List (ACL) for an iSCSI Target; defines LUN masking policy
Supporting Types
AclResponse
- Initiator
Iqn string - iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
- Mapped
Luns List<string> - List of LUN names mapped to the ACL.
- Initiator
Iqn string - iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
- Mapped
Luns []string - List of LUN names mapped to the ACL.
- initiator
Iqn String - iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
- mapped
Luns List<String> - List of LUN names mapped to the ACL.
- initiator
Iqn string - iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
- mapped
Luns 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.
- initiator
Iqn String - iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
- mapped
Luns List<String> - List of LUN names mapped to the ACL.
IscsiLunResponse
- Lun int
- Specifies the Logical Unit Number of the iSCSI LUN.
- Managed
Disk stringAzure Resource Id - 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 stringAzure Resource Id - 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.
- managed
Disk StringAzure Resource Id - 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.
- managed
Disk stringAzure Resource Id - 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_ strazure_ resource_ id - 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.
- managed
Disk StringAzure Resource Id - Azure Resource ID of the Managed Disk.
- name String
- User defined name for iSCSI LUN; example: "lun0"
SystemMetadataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The type of identity that last modified the resource.
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The type of identity that last modified the resource.
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The type of identity that last modified the resource.
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The type of identity that last modified the resource.
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The type of identity that last modified the resource.
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The type of identity that last modified the resource.
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi