azure-native.storagepool.IscsiTarget
Explore with Pulumi AI
Response for iSCSI target requests. API Version: 2020-03-15-preview.
Example Usage
Create or Update iSCSI target
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var iscsiTarget = new AzureNative.StoragePool.IscsiTarget("iscsiTarget", new()
{
DiskPoolName = "myDiskPool",
IscsiTargetName = "myIscsiTarget",
ResourceGroupName = "myResourceGroup",
TargetIqn = "iqn.2005-03.org.iscsi:server1",
Tpgs = new[]
{
new AzureNative.StoragePool.Inputs.TargetPortalGroupCreateArgs
{
Acls = new[]
{
new AzureNative.StoragePool.Inputs.AclArgs
{
InitiatorIqn = "iqn.2005-03.org.iscsi:client",
MappedLuns = new[]
{
"lun0",
},
Password = "some_password",
Username = "some_username",
},
},
Attributes = new AzureNative.StoragePool.Inputs.AttributesArgs
{
Authentication = true,
ProdModeWriteProtect = false,
},
Luns = new[]
{
new AzureNative.StoragePool.Inputs.IscsiLunArgs
{
ManagedDiskAzureResourceId = "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1",
Name = "lun0",
},
},
},
},
});
});
package main
import (
storagepool "github.com/pulumi/pulumi-azure-native-sdk/storagepool"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := storagepool.NewIscsiTarget(ctx, "iscsiTarget", &storagepool.IscsiTargetArgs{
DiskPoolName: pulumi.String("myDiskPool"),
IscsiTargetName: pulumi.String("myIscsiTarget"),
ResourceGroupName: pulumi.String("myResourceGroup"),
TargetIqn: pulumi.String("iqn.2005-03.org.iscsi:server1"),
Tpgs: []storagepool.TargetPortalGroupCreateArgs{
{
Acls: storagepool.AclArray{
{
InitiatorIqn: pulumi.String("iqn.2005-03.org.iscsi:client"),
MappedLuns: pulumi.StringArray{
pulumi.String("lun0"),
},
Password: pulumi.String("some_password"),
Username: pulumi.String("some_username"),
},
},
Attributes: {
Authentication: pulumi.Bool(true),
ProdModeWriteProtect: pulumi.Bool(false),
},
Luns: storagepool.IscsiLunArray{
{
ManagedDiskAzureResourceId: pulumi.String("/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1"),
Name: pulumi.String("lun0"),
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.storagepool.IscsiTarget;
import com.pulumi.azurenative.storagepool.IscsiTargetArgs;
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) {
var iscsiTarget = new IscsiTarget("iscsiTarget", IscsiTargetArgs.builder()
.diskPoolName("myDiskPool")
.iscsiTargetName("myIscsiTarget")
.resourceGroupName("myResourceGroup")
.targetIqn("iqn.2005-03.org.iscsi:server1")
.tpgs(Map.ofEntries(
Map.entry("acls", Map.ofEntries(
Map.entry("initiatorIqn", "iqn.2005-03.org.iscsi:client"),
Map.entry("mappedLuns", "lun0"),
Map.entry("password", "some_password"),
Map.entry("username", "some_username")
)),
Map.entry("attributes", Map.ofEntries(
Map.entry("authentication", true),
Map.entry("prodModeWriteProtect", false)
)),
Map.entry("luns", Map.ofEntries(
Map.entry("managedDiskAzureResourceId", "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1"),
Map.entry("name", "lun0")
))
))
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
iscsi_target = azure_native.storagepool.IscsiTarget("iscsiTarget",
disk_pool_name="myDiskPool",
iscsi_target_name="myIscsiTarget",
resource_group_name="myResourceGroup",
target_iqn="iqn.2005-03.org.iscsi:server1",
tpgs=[{
"acls": [azure_native.storagepool.AclArgs(
initiator_iqn="iqn.2005-03.org.iscsi:client",
mapped_luns=["lun0"],
password="some_password",
username="some_username",
)],
"attributes": azure_native.storagepool.AttributesArgs(
authentication=True,
prod_mode_write_protect=False,
),
"luns": [azure_native.storagepool.IscsiLunArgs(
managed_disk_azure_resource_id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1",
name="lun0",
)],
}])
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const iscsiTarget = new azure_native.storagepool.IscsiTarget("iscsiTarget", {
diskPoolName: "myDiskPool",
iscsiTargetName: "myIscsiTarget",
resourceGroupName: "myResourceGroup",
targetIqn: "iqn.2005-03.org.iscsi:server1",
tpgs: [{
acls: [{
initiatorIqn: "iqn.2005-03.org.iscsi:client",
mappedLuns: ["lun0"],
password: "some_password",
username: "some_username",
}],
attributes: {
authentication: true,
prodModeWriteProtect: false,
},
luns: [{
managedDiskAzureResourceId: "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1",
name: "lun0",
}],
}],
});
resources:
iscsiTarget:
type: azure-native:storagepool:IscsiTarget
properties:
diskPoolName: myDiskPool
iscsiTargetName: myIscsiTarget
resourceGroupName: myResourceGroup
targetIqn: iqn.2005-03.org.iscsi:server1
tpgs:
- acls:
- initiatorIqn: iqn.2005-03.org.iscsi:client
mappedLuns:
- lun0
password: some_password
username: some_username
attributes:
authentication: true
prodModeWriteProtect: false
luns:
- managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1
name: lun0
Create IscsiTarget Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IscsiTarget(name: string, args: IscsiTargetArgs, opts?: CustomResourceOptions);
@overload
def IscsiTarget(resource_name: str,
args: IscsiTargetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IscsiTarget(resource_name: str,
opts: Optional[ResourceOptions] = None,
disk_pool_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
tpgs: Optional[Sequence[TargetPortalGroupCreateArgs]] = None,
iscsi_target_name: Optional[str] = None,
target_iqn: Optional[str] = None)
func NewIscsiTarget(ctx *Context, name string, args IscsiTargetArgs, opts ...ResourceOption) (*IscsiTarget, error)
public IscsiTarget(string name, IscsiTargetArgs args, CustomResourceOptions? opts = null)
public IscsiTarget(String name, IscsiTargetArgs args)
public IscsiTarget(String name, IscsiTargetArgs args, CustomResourceOptions options)
type: azure-native:storagepool:IscsiTarget
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args IscsiTargetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args IscsiTargetArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args IscsiTargetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IscsiTargetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IscsiTargetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var iscsiTargetResource = new AzureNative.Storagepool.IscsiTarget("iscsiTargetResource", new()
{
DiskPoolName = "string",
ResourceGroupName = "string",
Tpgs = new[]
{
{
{ "acls", new[]
{
{
{ "initiatorIqn", "string" },
{ "mappedLuns", new[]
{
"string",
} },
{ "password", "string" },
{ "username", "string" },
},
} },
{ "attributes",
{
{ "authentication", false },
{ "prodModeWriteProtect", false },
} },
{ "luns", new[]
{
{
{ "managedDiskAzureResourceId", "string" },
{ "name", "string" },
},
} },
},
},
IscsiTargetName = "string",
TargetIqn = "string",
});
example, err := storagepool.NewIscsiTarget(ctx, "iscsiTargetResource", &storagepool.IscsiTargetArgs{
DiskPoolName: "string",
ResourceGroupName: "string",
Tpgs: []map[string]interface{}{
map[string]interface{}{
"acls": []map[string]interface{}{
map[string]interface{}{
"initiatorIqn": "string",
"mappedLuns": []string{
"string",
},
"password": "string",
"username": "string",
},
},
"attributes": map[string]interface{}{
"authentication": false,
"prodModeWriteProtect": false,
},
"luns": []map[string]interface{}{
map[string]interface{}{
"managedDiskAzureResourceId": "string",
"name": "string",
},
},
},
},
IscsiTargetName: "string",
TargetIqn: "string",
})
var iscsiTargetResource = new IscsiTarget("iscsiTargetResource", IscsiTargetArgs.builder()
.diskPoolName("string")
.resourceGroupName("string")
.tpgs(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.iscsiTargetName("string")
.targetIqn("string")
.build());
iscsi_target_resource = azure_native.storagepool.IscsiTarget("iscsiTargetResource",
disk_pool_name=string,
resource_group_name=string,
tpgs=[{
acls: [{
initiatorIqn: string,
mappedLuns: [string],
password: string,
username: string,
}],
attributes: {
authentication: False,
prodModeWriteProtect: False,
},
luns: [{
managedDiskAzureResourceId: string,
name: string,
}],
}],
iscsi_target_name=string,
target_iqn=string)
const iscsiTargetResource = new azure_native.storagepool.IscsiTarget("iscsiTargetResource", {
diskPoolName: "string",
resourceGroupName: "string",
tpgs: [{
acls: [{
initiatorIqn: "string",
mappedLuns: ["string"],
password: "string",
username: "string",
}],
attributes: {
authentication: false,
prodModeWriteProtect: false,
},
luns: [{
managedDiskAzureResourceId: "string",
name: "string",
}],
}],
iscsiTargetName: "string",
targetIqn: "string",
});
type: azure-native:storagepool:IscsiTarget
properties:
diskPoolName: string
iscsiTargetName: string
resourceGroupName: string
targetIqn: string
tpgs:
- acls:
- initiatorIqn: string
mappedLuns:
- string
password: string
username: string
attributes:
authentication: false
prodModeWriteProtect: false
luns:
- managedDiskAzureResourceId: string
name: string
IscsiTarget Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The IscsiTarget resource accepts the following input properties:
- Disk
Pool stringName - The name of the Disk pool.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Tpgs
List<Pulumi.
Azure Native. Storage Pool. Inputs. Target Portal Group Create> - List of iSCSI target portal groups. Can have 1 portal group at most.
- Iscsi
Target stringName - The name of the iSCSI target.
- Target
Iqn string - iSCSI target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
- Disk
Pool stringName - The name of the Disk pool.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Tpgs
[]Target
Portal Group Create Args - List of iSCSI target portal groups. Can have 1 portal group at most.
- Iscsi
Target stringName - The name of the iSCSI target.
- Target
Iqn string - iSCSI target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
- disk
Pool StringName - The name of the Disk pool.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- tpgs
List<Target
Portal Group Create> - List of iSCSI target portal groups. Can have 1 portal group at most.
- iscsi
Target StringName - The name of the iSCSI target.
- target
Iqn String - iSCSI target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
- disk
Pool stringName - The name of the Disk pool.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- tpgs
Target
Portal Group Create[] - List of iSCSI target portal groups. Can have 1 portal group at most.
- iscsi
Target stringName - The name of the iSCSI target.
- target
Iqn string - iSCSI target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
- disk_
pool_ strname - The name of the Disk pool.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- tpgs
Sequence[Target
Portal Group Create Args] - List of iSCSI target portal groups. Can have 1 portal group at most.
- iscsi_
target_ strname - The name of the iSCSI target.
- target_
iqn str - iSCSI target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
- disk
Pool StringName - The name of the Disk pool.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- tpgs List<Property Map>
- List of iSCSI target portal groups. Can have 1 portal group at most.
- iscsi
Target StringName - The name of the iSCSI target.
- target
Iqn String - iSCSI target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
Outputs
All input properties are implicitly available as output properties. Additionally, the IscsiTarget resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- Type string
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- Type string
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- id String
- The provider-assigned unique ID for this managed resource.
- 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.
- type String
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- id string
- The provider-assigned unique ID for this managed resource.
- 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.
- type string
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- id str
- The provider-assigned unique ID for this managed resource.
- 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.
- type str
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- id String
- The provider-assigned unique ID for this managed resource.
- 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.
- type String
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
Supporting Types
Acl, AclArgs
- 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.
AclResponse, AclResponseArgs
- 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.
Attributes, AttributesArgs
- 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.
AttributesResponse, AttributesResponseArgs
- 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.
IscsiLun, IscsiLunArgs
- 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"
IscsiLunResponse, IscsiLunResponseArgs
- 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"
TargetPortalGroupCreate, TargetPortalGroupCreateArgs
- Acls
List<Pulumi.
Azure Native. Storage Pool. Inputs. Acl> - Access Control List (ACL) for an iSCSI target portal group.
- Attributes
Pulumi.
Azure Native. Storage Pool. Inputs. Attributes - Attributes of an iSCSI target portal group.
- Luns
List<Pulumi.
Azure Native. Storage Pool. Inputs. Iscsi Lun> - List of LUNs to be exposed through the iSCSI target portal group.
- Acls []Acl
- Access Control List (ACL) for an iSCSI target portal group.
- Attributes Attributes
- Attributes of an iSCSI target portal group.
- Luns
[]Iscsi
Lun - List of LUNs to be exposed through the iSCSI target portal group.
- acls List<Acl>
- Access Control List (ACL) for an iSCSI target portal group.
- attributes Attributes
- Attributes of an iSCSI target portal group.
- luns
List<Iscsi
Lun> - List of LUNs to be exposed through the iSCSI target portal group.
- acls Acl[]
- Access Control List (ACL) for an iSCSI target portal group.
- attributes Attributes
- Attributes of an iSCSI target portal group.
- luns
Iscsi
Lun[] - List of LUNs to be exposed through the iSCSI target portal group.
- acls Sequence[Acl]
- Access Control List (ACL) for an iSCSI target portal group.
- attributes Attributes
- Attributes of an iSCSI target portal group.
- luns
Sequence[Iscsi
Lun] - List of LUNs to be exposed through 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.
- luns List<Property Map>
- List of LUNs to be exposed through the iSCSI target portal group.
TargetPortalGroupResponse, TargetPortalGroupResponseArgs
- 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.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:storagepool:IscsiTarget myIscsiTarget /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0