1. Packages
  2. Azure Native
  3. API Docs
  4. storagepool
  5. IscsiTarget
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

azure-native.storagepool.IscsiTarget

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 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",
        });
    
    });
    
    package main
    
    import (
    	"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
    	})
    }
    
    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());
    
        }
    }
    
    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=[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",
        )],
        resource_group_name="myResourceGroup",
        target_iqn="iqn.2005-03.org.iscsi:server1")
    
    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",
    });
    
    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
    

    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 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.

    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[]
        {
            new AzureNative.StoragePool.Inputs.IscsiLunArgs
            {
                ManagedDiskAzureResourceId = "string",
                Name = "string",
            },
        },
        ManagedBy = "string",
        ManagedByExtended = new[]
        {
            "string",
        },
        StaticAcls = new[]
        {
            new AzureNative.StoragePool.Inputs.AclArgs
            {
                InitiatorIqn = "string",
                MappedLuns = new[]
                {
                    "string",
                },
            },
        },
        TargetIqn = "string",
    });
    
    example, err := storagepool.NewIscsiTarget(ctx, "iscsiTargetResource", &storagepool.IscsiTargetArgs{
    AclMode: pulumi.String("string"),
    DiskPoolName: pulumi.String("string"),
    ResourceGroupName: pulumi.String("string"),
    IscsiTargetName: pulumi.String("string"),
    Luns: storagepool.IscsiLunArray{
    &storagepool.IscsiLunArgs{
    ManagedDiskAzureResourceId: pulumi.String("string"),
    Name: pulumi.String("string"),
    },
    },
    ManagedBy: pulumi.String("string"),
    ManagedByExtended: pulumi.StringArray{
    pulumi.String("string"),
    },
    StaticAcls: storagepool.AclArray{
    &storagepool.AclArgs{
    InitiatorIqn: pulumi.String("string"),
    MappedLuns: pulumi.StringArray{
    pulumi.String("string"),
    },
    },
    },
    TargetIqn: pulumi.String("string"),
    })
    
    var iscsiTargetResource = new IscsiTarget("iscsiTargetResource", IscsiTargetArgs.builder()        
        .aclMode("string")
        .diskPoolName("string")
        .resourceGroupName("string")
        .iscsiTargetName("string")
        .luns(IscsiLunArgs.builder()
            .managedDiskAzureResourceId("string")
            .name("string")
            .build())
        .managedBy("string")
        .managedByExtended("string")
        .staticAcls(AclArgs.builder()
            .initiatorIqn("string")
            .mappedLuns("string")
            .build())
        .targetIqn("string")
        .build());
    
    iscsi_target_resource = azure_native.storagepool.IscsiTarget("iscsiTargetResource",
        acl_mode="string",
        disk_pool_name="string",
        resource_group_name="string",
        iscsi_target_name="string",
        luns=[azure_native.storagepool.IscsiLunArgs(
            managed_disk_azure_resource_id="string",
            name="string",
        )],
        managed_by="string",
        managed_by_extended=["string"],
        static_acls=[azure_native.storagepool.AclArgs(
            initiator_iqn="string",
            mapped_luns=["string"],
        )],
        target_iqn="string")
    
    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",
    });
    
    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
    

    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

    The IscsiTarget resource accepts the following input properties:

    AclMode string | Pulumi.AzureNative.StoragePool.IscsiTargetAclMode
    Mode for Target connectivity.
    DiskPoolName string
    The name of the Disk Pool.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    IscsiTargetName 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 string | IscsiTargetAclMode
    Mode for Target connectivity.
    DiskPoolName string
    The name of the Disk Pool.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    IscsiTargetName 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 String | IscsiTargetAclMode
    Mode for Target connectivity.
    diskPoolName String
    The name of the Disk Pool.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    iscsiTargetName 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 string | IscsiTargetAclMode
    Mode for Target connectivity.
    diskPoolName string
    The name of the Disk Pool.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    iscsiTargetName 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 str | IscsiTargetAclMode
    Mode for Target connectivity.
    disk_pool_name str
    The name of the Disk Pool.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    iscsi_target_name 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 String | "Dynamic" | "Static"
    Mode for Target connectivity.
    diskPoolName String
    The name of the Disk Pool.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    iscsiTargetName 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 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.
    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.
    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.
    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.
    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.
    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.

    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.
    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.
    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.
    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.
    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.
    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.

    IscsiLun, IscsiLunArgs

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

    IscsiLunResponse, IscsiLunResponseArgs

    Lun int
    Specifies the Logical Unit Number of the iSCSI LUN.
    ManagedDiskAzureResourceId string
    Azure Resource ID of the Managed Disk.
    Name string
    User defined name for iSCSI LUN; example: "lun0"
    Lun int
    Specifies the Logical Unit Number of the iSCSI LUN.
    ManagedDiskAzureResourceId string
    Azure Resource ID of the Managed Disk.
    Name string
    User defined name for iSCSI LUN; example: "lun0"
    lun Integer
    Specifies the Logical Unit Number of the iSCSI LUN.
    managedDiskAzureResourceId String
    Azure Resource ID of the Managed Disk.
    name String
    User defined name for iSCSI LUN; example: "lun0"
    lun number
    Specifies the Logical Unit Number of the iSCSI LUN.
    managedDiskAzureResourceId string
    Azure Resource ID of the Managed Disk.
    name string
    User defined name for iSCSI LUN; example: "lun0"
    lun int
    Specifies the Logical Unit Number of the iSCSI LUN.
    managed_disk_azure_resource_id str
    Azure Resource ID of the Managed Disk.
    name str
    User defined name for iSCSI LUN; example: "lun0"
    lun Number
    Specifies the Logical Unit Number of the iSCSI LUN.
    managedDiskAzureResourceId String
    Azure Resource ID of the Managed Disk.
    name 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} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi