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
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:
- 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:
- 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
- Provisioning
State string - State of the operation on the resource.
- Status string
- Operational status of the iSCSI target.
- Target
Iqn string - iSCSI target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
- Tpgs
List<Pulumi.
Azure Native. Storage Pool. Outputs. Target Portal Group Response> - 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
- Provisioning
State string - State of the operation on the resource.
- Status string
- Operational status of the iSCSI target.
- Target
Iqn string - iSCSI target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
- Tpgs
[]Target
Portal Group Response - 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
- provisioning
State String - State of the operation on the resource.
- status String
- Operational status of the iSCSI target.
- target
Iqn String - iSCSI target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
- tpgs
List<Target
Portal Group Response> - 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
- provisioning
State string - State of the operation on the resource.
- status string
- Operational status of the iSCSI target.
- target
Iqn string - iSCSI target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
- tpgs
Target
Portal Group Response[] - 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[Target
Portal Group Response] - 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
- provisioning
State String - State of the operation on the resource.
- status String
- Operational status of the iSCSI target.
- target
Iqn 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
- 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.
- Password string
- Password for Challenge Handshake Authentication Protocol (CHAP) authentication.
- Username string
- Username for Challenge Handshake Authentication Protocol (CHAP) authentication.
- 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.
- Password string
- Password for Challenge Handshake Authentication Protocol (CHAP) authentication.
- Username string
- Username for Challenge Handshake Authentication Protocol (CHAP) authentication.
- 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.
- password String
- Password for Challenge Handshake Authentication Protocol (CHAP) authentication.
- username String
- Username for Challenge Handshake Authentication Protocol (CHAP) authentication.
- 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.
- 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.
- 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.
- 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.
- Prod
Mode boolWrite Protect - 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 boolWrite Protect - Indicates whether or not write protect is enabled on the LUNs.
- authentication Boolean
- Indicates whether or not authentication is enabled on the ACL.
- prod
Mode BooleanWrite Protect - Indicates whether or not write protect is enabled on the LUNs.
- authentication boolean
- Indicates whether or not authentication is enabled on the ACL.
- prod
Mode booleanWrite Protect - 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_ boolwrite_ protect - Indicates whether or not write protect is enabled on the LUNs.
- authentication Boolean
- Indicates whether or not authentication is enabled on the ACL.
- prod
Mode BooleanWrite Protect - Indicates whether or not write protect is enabled on the LUNs.
IscsiLunResponse
- Managed
Disk stringAzure Resource Id - Azure Resource ID of the Managed Disk.
- Name string
- User defined name for iSCSI LUN; example: "lun0"
- Managed
Disk stringAzure Resource Id - Azure Resource ID of the Managed Disk.
- Name string
- User defined name for iSCSI LUN; example: "lun0"
- managed
Disk StringAzure Resource Id - Azure Resource ID of the Managed Disk.
- name String
- User defined name for iSCSI LUN; example: "lun0"
- managed
Disk stringAzure Resource Id - Azure Resource ID of the Managed Disk.
- name string
- User defined name for iSCSI LUN; example: "lun0"
- managed_
disk_ strazure_ resource_ id - Azure Resource ID of the Managed Disk.
- name str
- User defined name for iSCSI LUN; example: "lun0"
- managed
Disk StringAzure Resource Id - Azure Resource ID of the Managed Disk.
- name String
- User defined name for iSCSI LUN; example: "lun0"
TargetPortalGroupResponse
- Acls
List<Pulumi.
Azure Native. Storage Pool. Inputs. Acl Response> - Access Control List (ACL) for an iSCSI target portal group.
- Attributes
Pulumi.
Azure Native. Storage Pool. Inputs. Attributes Response - Attributes of an iSCSI target portal group.
- Endpoints List<string>
- List of private IPv4 addresses to connect to the iSCSI target.
- Luns
List<Pulumi.
Azure Native. Storage Pool. Inputs. Iscsi Lun Response> - 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
[]Acl
Response - Access Control List (ACL) for an iSCSI target portal group.
- Attributes
Attributes
Response - Attributes of an iSCSI target portal group.
- 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 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<Acl
Response> - Access Control List (ACL) for an iSCSI target portal group.
- attributes
Attributes
Response - Attributes of an iSCSI target portal group.
- 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 portal group.
- port Integer
- The port used by iSCSI target portal group.
- tag Integer
- The tag associated with the iSCSI target portal group.
- acls
Acl
Response[] - Access Control List (ACL) for an iSCSI target portal group.
- attributes
Attributes
Response - Attributes of an iSCSI target portal group.
- 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 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[Acl
Response] - Access Control List (ACL) for an iSCSI target portal group.
- attributes
Attributes
Response - Attributes of an iSCSI target portal group.
- 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 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
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