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 * 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",
        }],
    }],
});
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",
        )],
    }])
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:
- DiskPool stringName 
- The name of the Disk pool.
- ResourceGroup 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.
- IscsiTarget stringName 
- The name of the iSCSI target.
- TargetIqn string
- iSCSI target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
- DiskPool stringName 
- The name of the Disk pool.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- Tpgs
[]TargetPortal Group Create Args 
- List of iSCSI target portal groups. Can have 1 portal group at most.
- IscsiTarget stringName 
- The name of the iSCSI target.
- TargetIqn string
- iSCSI target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
- diskPool StringName 
- The name of the Disk pool.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- tpgs
List<TargetPortal Group Create> 
- List of iSCSI target portal groups. Can have 1 portal group at most.
- iscsiTarget StringName 
- The name of the iSCSI target.
- targetIqn String
- iSCSI target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
- diskPool stringName 
- The name of the Disk pool.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- tpgs
TargetPortal Group Create[] 
- List of iSCSI target portal groups. Can have 1 portal group at most.
- iscsiTarget stringName 
- The name of the iSCSI target.
- targetIqn 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[TargetPortal 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".
- diskPool StringName 
- The name of the Disk pool.
- resourceGroup 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.
- iscsiTarget StringName 
- The name of the iSCSI target.
- targetIqn 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
- ProvisioningState 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
- ProvisioningState 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
- provisioningState 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
- provisioningState 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
- provisioningState 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  
- 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.
AclResponse, AclResponseArgs    
- 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.
Attributes, AttributesArgs  
- Authentication bool
- Indicates whether or not authentication is enabled on the ACL.
- ProdMode 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.
- ProdMode 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.
- prodMode 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.
- prodMode 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.
- prodMode 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.
- ProdMode 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.
- ProdMode 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.
- prodMode 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.
- prodMode 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.
- prodMode BooleanWrite Protect 
- Indicates whether or not write protect is enabled on the LUNs.
IscsiLun, IscsiLunArgs    
- ManagedDisk stringAzure Resource Id 
- Azure Resource ID of the Managed Disk.
- Name string
- User defined name for iSCSI LUN; example: "lun0"
- ManagedDisk stringAzure Resource Id 
- Azure Resource ID of the Managed Disk.
- Name string
- User defined name for iSCSI LUN; example: "lun0"
- managedDisk StringAzure Resource Id 
- Azure Resource ID of the Managed Disk.
- name String
- User defined name for iSCSI LUN; example: "lun0"
- managedDisk 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"
- managedDisk StringAzure Resource Id 
- Azure Resource ID of the Managed Disk.
- name String
- User defined name for iSCSI LUN; example: "lun0"
IscsiLunResponse, IscsiLunResponseArgs      
- ManagedDisk stringAzure Resource Id 
- Azure Resource ID of the Managed Disk.
- Name string
- User defined name for iSCSI LUN; example: "lun0"
- ManagedDisk stringAzure Resource Id 
- Azure Resource ID of the Managed Disk.
- Name string
- User defined name for iSCSI LUN; example: "lun0"
- managedDisk StringAzure Resource Id 
- Azure Resource ID of the Managed Disk.
- name String
- User defined name for iSCSI LUN; example: "lun0"
- managedDisk 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"
- managedDisk 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
[]IscsiLun 
- 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<IscsiLun> 
- 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
IscsiLun[] 
- 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[IscsiLun] 
- 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
[]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
[]IscsiLun 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<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<IscsiLun 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
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
IscsiLun 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[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[IscsiLun 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