1. Packages
  2. Azure Native v2
  3. API Docs
  4. storagepool
  5. IscsiTarget
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.storagepool.IscsiTarget

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Response for iSCSI Target requests. Azure REST API version: 2021-08-01. Prior API version in Azure Native 1.x: 2020-03-15-preview.

Other available API versions: 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()
    {
        AclMode = AzureNative.StoragePool.IscsiTargetAclMode.Dynamic,
        DiskPoolName = "myDiskPool",
        IscsiTargetName = "myIscsiTarget",
        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",
            },
        },
        ResourceGroupName = "myResourceGroup",
        TargetIqn = "iqn.2005-03.org.iscsi:server1",
    });

});
Copy
package main

import (
	storagepool "github.com/pulumi/pulumi-azure-native-sdk/storagepool/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := storagepool.NewIscsiTarget(ctx, "iscsiTarget", &storagepool.IscsiTargetArgs{
			AclMode:         pulumi.String(storagepool.IscsiTargetAclModeDynamic),
			DiskPoolName:    pulumi.String("myDiskPool"),
			IscsiTargetName: pulumi.String("myIscsiTarget"),
			Luns: storagepool.IscsiLunArray{
				&storagepool.IscsiLunArgs{
					ManagedDiskAzureResourceId: pulumi.String("/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1"),
					Name:                       pulumi.String("lun0"),
				},
			},
			ResourceGroupName: pulumi.String("myResourceGroup"),
			TargetIqn:         pulumi.String("iqn.2005-03.org.iscsi:server1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
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 com.pulumi.azurenative.storagepool.inputs.IscsiLunArgs;
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()
            .aclMode("Dynamic")
            .diskPoolName("myDiskPool")
            .iscsiTargetName("myIscsiTarget")
            .luns(IscsiLunArgs.builder()
                .managedDiskAzureResourceId("/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1")
                .name("lun0")
                .build())
            .resourceGroupName("myResourceGroup")
            .targetIqn("iqn.2005-03.org.iscsi:server1")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const iscsiTarget = new azure_native.storagepool.IscsiTarget("iscsiTarget", {
    aclMode: azure_native.storagepool.IscsiTargetAclMode.Dynamic,
    diskPoolName: "myDiskPool",
    iscsiTargetName: "myIscsiTarget",
    luns: [{
        managedDiskAzureResourceId: "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1",
        name: "lun0",
    }],
    resourceGroupName: "myResourceGroup",
    targetIqn: "iqn.2005-03.org.iscsi:server1",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

iscsi_target = azure_native.storagepool.IscsiTarget("iscsiTarget",
    acl_mode=azure_native.storagepool.IscsiTargetAclMode.DYNAMIC,
    disk_pool_name="myDiskPool",
    iscsi_target_name="myIscsiTarget",
    luns=[{
        "managed_disk_azure_resource_id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1",
        "name": "lun0",
    }],
    resource_group_name="myResourceGroup",
    target_iqn="iqn.2005-03.org.iscsi:server1")
Copy
resources:
  iscsiTarget:
    type: azure-native:storagepool:IscsiTarget
    properties:
      aclMode: Dynamic
      diskPoolName: myDiskPool
      iscsiTargetName: myIscsiTarget
      luns:
        - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1
          name: lun0
      resourceGroupName: myResourceGroup
      targetIqn: iqn.2005-03.org.iscsi:server1
Copy

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,
                acl_mode: Optional[Union[str, IscsiTargetAclMode]] = None,
                disk_pool_name: Optional[str] = None,
                resource_group_name: Optional[str] = None,
                iscsi_target_name: Optional[str] = None,
                luns: Optional[Sequence[IscsiLunArgs]] = None,
                managed_by: Optional[str] = None,
                managed_by_extended: Optional[Sequence[str]] = None,
                static_acls: Optional[Sequence[AclArgs]] = 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 This property is required. string
The unique name of the resource.
args This property is required. IscsiTargetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. IscsiTargetArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. IscsiTargetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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()
{
    AclMode = "string",
    DiskPoolName = "string",
    ResourceGroupName = "string",
    IscsiTargetName = "string",
    Luns = new[]
    {
        
        {
            { "managedDiskAzureResourceId", "string" },
            { "name", "string" },
        },
    },
    ManagedBy = "string",
    ManagedByExtended = new[]
    {
        "string",
    },
    StaticAcls = new[]
    {
        
        {
            { "initiatorIqn", "string" },
            { "mappedLuns", new[]
            {
                "string",
            } },
        },
    },
    TargetIqn = "string",
});
Copy
example, err := storagepool.NewIscsiTarget(ctx, "iscsiTargetResource", &storagepool.IscsiTargetArgs{
	AclMode:           "string",
	DiskPoolName:      "string",
	ResourceGroupName: "string",
	IscsiTargetName:   "string",
	Luns: []map[string]interface{}{
		map[string]interface{}{
			"managedDiskAzureResourceId": "string",
			"name":                       "string",
		},
	},
	ManagedBy: "string",
	ManagedByExtended: []string{
		"string",
	},
	StaticAcls: []map[string]interface{}{
		map[string]interface{}{
			"initiatorIqn": "string",
			"mappedLuns": []string{
				"string",
			},
		},
	},
	TargetIqn: "string",
})
Copy
var iscsiTargetResource = new IscsiTarget("iscsiTargetResource", IscsiTargetArgs.builder()
    .aclMode("string")
    .diskPoolName("string")
    .resourceGroupName("string")
    .iscsiTargetName("string")
    .luns(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .managedBy("string")
    .managedByExtended("string")
    .staticAcls(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .targetIqn("string")
    .build());
Copy
iscsi_target_resource = azure_native.storagepool.IscsiTarget("iscsiTargetResource",
    acl_mode=string,
    disk_pool_name=string,
    resource_group_name=string,
    iscsi_target_name=string,
    luns=[{
        managedDiskAzureResourceId: string,
        name: string,
    }],
    managed_by=string,
    managed_by_extended=[string],
    static_acls=[{
        initiatorIqn: string,
        mappedLuns: [string],
    }],
    target_iqn=string)
Copy
const iscsiTargetResource = new azure_native.storagepool.IscsiTarget("iscsiTargetResource", {
    aclMode: "string",
    diskPoolName: "string",
    resourceGroupName: "string",
    iscsiTargetName: "string",
    luns: [{
        managedDiskAzureResourceId: "string",
        name: "string",
    }],
    managedBy: "string",
    managedByExtended: ["string"],
    staticAcls: [{
        initiatorIqn: "string",
        mappedLuns: ["string"],
    }],
    targetIqn: "string",
});
Copy
type: azure-native:storagepool:IscsiTarget
properties:
    aclMode: string
    diskPoolName: string
    iscsiTargetName: string
    luns:
        - managedDiskAzureResourceId: string
          name: string
    managedBy: string
    managedByExtended:
        - string
    resourceGroupName: string
    staticAcls:
        - initiatorIqn: string
          mappedLuns:
            - string
    targetIqn: string
Copy

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:

AclMode This property is required. string | Pulumi.AzureNative.StoragePool.IscsiTargetAclMode
Mode for Target connectivity.
DiskPoolName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Disk Pool.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
IscsiTargetName Changes to this property will trigger replacement. string
The name of the iSCSI Target.
Luns List<Pulumi.AzureNative.StoragePool.Inputs.IscsiLun>
List of LUNs to be exposed through iSCSI Target.
ManagedBy string
Azure resource id. Indicates if this resource is managed by another Azure resource.
ManagedByExtended List<string>
List of Azure resource ids that manage this resource.
StaticAcls List<Pulumi.AzureNative.StoragePool.Inputs.Acl>
Access Control List (ACL) for an iSCSI Target; defines LUN masking policy
TargetIqn string
iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
AclMode This property is required. string | IscsiTargetAclMode
Mode for Target connectivity.
DiskPoolName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Disk Pool.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
IscsiTargetName Changes to this property will trigger replacement. string
The name of the iSCSI Target.
Luns []IscsiLunArgs
List of LUNs to be exposed through iSCSI Target.
ManagedBy string
Azure resource id. Indicates if this resource is managed by another Azure resource.
ManagedByExtended []string
List of Azure resource ids that manage this resource.
StaticAcls []AclArgs
Access Control List (ACL) for an iSCSI Target; defines LUN masking policy
TargetIqn string
iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
aclMode This property is required. String | IscsiTargetAclMode
Mode for Target connectivity.
diskPoolName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Disk Pool.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
iscsiTargetName Changes to this property will trigger replacement. String
The name of the iSCSI Target.
luns List<IscsiLun>
List of LUNs to be exposed through iSCSI Target.
managedBy String
Azure resource id. Indicates if this resource is managed by another Azure resource.
managedByExtended List<String>
List of Azure resource ids that manage this resource.
staticAcls List<Acl>
Access Control List (ACL) for an iSCSI Target; defines LUN masking policy
targetIqn String
iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
aclMode This property is required. string | IscsiTargetAclMode
Mode for Target connectivity.
diskPoolName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Disk Pool.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
iscsiTargetName Changes to this property will trigger replacement. string
The name of the iSCSI Target.
luns IscsiLun[]
List of LUNs to be exposed through iSCSI Target.
managedBy string
Azure resource id. Indicates if this resource is managed by another Azure resource.
managedByExtended string[]
List of Azure resource ids that manage this resource.
staticAcls Acl[]
Access Control List (ACL) for an iSCSI Target; defines LUN masking policy
targetIqn string
iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
acl_mode This property is required. str | IscsiTargetAclMode
Mode for Target connectivity.
disk_pool_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the Disk Pool.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
iscsi_target_name Changes to this property will trigger replacement. str
The name of the iSCSI Target.
luns Sequence[IscsiLunArgs]
List of LUNs to be exposed through iSCSI Target.
managed_by str
Azure resource id. Indicates if this resource is managed by another Azure resource.
managed_by_extended Sequence[str]
List of Azure resource ids that manage this resource.
static_acls Sequence[AclArgs]
Access Control List (ACL) for an iSCSI Target; defines LUN masking policy
target_iqn str
iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
aclMode This property is required. String | "Dynamic" | "Static"
Mode for Target connectivity.
diskPoolName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Disk Pool.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
iscsiTargetName Changes to this property will trigger replacement. String
The name of the iSCSI Target.
luns List<Property Map>
List of LUNs to be exposed through iSCSI Target.
managedBy String
Azure resource id. Indicates if this resource is managed by another Azure resource.
managedByExtended List<String>
List of Azure resource ids that manage this resource.
staticAcls List<Property Map>
Access Control List (ACL) for an iSCSI Target; defines LUN masking policy
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.
Sessions List<string>
List of identifiers for active sessions on the iSCSI target
Status string
Operational status of the iSCSI Target.
SystemData Pulumi.AzureNative.StoragePool.Outputs.SystemMetadataResponse
Resource metadata required by ARM RPC
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.
Port int
The port used by iSCSI Target portal group.
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.
Sessions []string
List of identifiers for active sessions on the iSCSI target
Status string
Operational status of the iSCSI Target.
SystemData SystemMetadataResponse
Resource metadata required by ARM RPC
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.
Port int
The port used by iSCSI Target portal group.
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.
sessions List<String>
List of identifiers for active sessions on the iSCSI target
status String
Operational status of the iSCSI Target.
systemData SystemMetadataResponse
Resource metadata required by ARM RPC
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.
port Integer
The port used by iSCSI Target portal group.
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.
sessions string[]
List of identifiers for active sessions on the iSCSI target
status string
Operational status of the iSCSI Target.
systemData SystemMetadataResponse
Resource metadata required by ARM RPC
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.
port number
The port used by iSCSI Target portal group.
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.
sessions Sequence[str]
List of identifiers for active sessions on the iSCSI target
status str
Operational status of the iSCSI Target.
system_data SystemMetadataResponse
Resource metadata required by ARM RPC
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.
port int
The port used by iSCSI Target portal group.
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.
sessions List<String>
List of identifiers for active sessions on the iSCSI target
status String
Operational status of the iSCSI Target.
systemData Property Map
Resource metadata required by ARM RPC
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.
port Number
The port used by iSCSI Target portal group.

Supporting Types

Acl
, AclArgs

InitiatorIqn This property is required. string
iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
MappedLuns This property is required. List<string>
List of LUN names mapped to the ACL.
InitiatorIqn This property is required. string
iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
MappedLuns This property is required. []string
List of LUN names mapped to the ACL.
initiatorIqn This property is required. String
iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
mappedLuns This property is required. List<String>
List of LUN names mapped to the ACL.
initiatorIqn This property is required. string
iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
mappedLuns This property is required. string[]
List of LUN names mapped to the ACL.
initiator_iqn This property is required. str
iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
mapped_luns This property is required. Sequence[str]
List of LUN names mapped to the ACL.
initiatorIqn This property is required. String
iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
mappedLuns This property is required. List<String>
List of LUN names mapped to the ACL.

AclResponse
, AclResponseArgs

InitiatorIqn This property is required. string
iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
MappedLuns This property is required. List<string>
List of LUN names mapped to the ACL.
InitiatorIqn This property is required. string
iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
MappedLuns This property is required. []string
List of LUN names mapped to the ACL.
initiatorIqn This property is required. String
iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
mappedLuns This property is required. List<String>
List of LUN names mapped to the ACL.
initiatorIqn This property is required. string
iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
mappedLuns This property is required. string[]
List of LUN names mapped to the ACL.
initiator_iqn This property is required. str
iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
mapped_luns This property is required. Sequence[str]
List of LUN names mapped to the ACL.
initiatorIqn This property is required. String
iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
mappedLuns This property is required. List<String>
List of LUN names mapped to the ACL.

IscsiLun
, IscsiLunArgs

ManagedDiskAzureResourceId This property is required. string
Azure Resource ID of the Managed Disk.
Name This property is required. string
User defined name for iSCSI LUN; example: "lun0"
ManagedDiskAzureResourceId This property is required. string
Azure Resource ID of the Managed Disk.
Name This property is required. string
User defined name for iSCSI LUN; example: "lun0"
managedDiskAzureResourceId This property is required. String
Azure Resource ID of the Managed Disk.
name This property is required. String
User defined name for iSCSI LUN; example: "lun0"
managedDiskAzureResourceId This property is required. string
Azure Resource ID of the Managed Disk.
name This property is required. string
User defined name for iSCSI LUN; example: "lun0"
managed_disk_azure_resource_id This property is required. str
Azure Resource ID of the Managed Disk.
name This property is required. str
User defined name for iSCSI LUN; example: "lun0"
managedDiskAzureResourceId This property is required. String
Azure Resource ID of the Managed Disk.
name This property is required. String
User defined name for iSCSI LUN; example: "lun0"

IscsiLunResponse
, IscsiLunResponseArgs

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

IscsiTargetAclMode
, IscsiTargetAclModeArgs

Dynamic
Dynamic
Static
Static
IscsiTargetAclModeDynamic
Dynamic
IscsiTargetAclModeStatic
Static
Dynamic
Dynamic
Static
Static
Dynamic
Dynamic
Static
Static
DYNAMIC
Dynamic
STATIC
Static
"Dynamic"
Dynamic
"Static"
Static

SystemMetadataResponse
, SystemMetadataResponseArgs

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

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:storagepool:IscsiTarget myIscsiTarget /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi