1. Packages
  2. Azure Native
  3. API Docs
  4. elasticsan
  5. Volume
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

azure-native.elasticsan.Volume

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

    Response for Volume request.

    Uses Azure REST API version 2024-05-01. In version 2.x of the Azure Native provider, it used API version 2021-11-20-preview.

    Other available API versions: 2021-11-20-preview, 2022-12-01-preview, 2023-01-01, 2024-06-01-preview, 2024-07-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native elasticsan [ApiVersion]. See the version guide for details.

    Example Usage

    Volumes_Create_MaximumSet_Gen

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var volume = new AzureNative.ElasticSan.Volume("volume", new()
        {
            CreationData = new AzureNative.ElasticSan.Inputs.SourceCreationDataArgs
            {
                CreateSource = AzureNative.ElasticSan.VolumeCreateOption.None,
                SourceId = "ARM Id of Resource",
            },
            ElasticSanName = "elasticsanname",
            ManagedBy = new AzureNative.ElasticSan.Inputs.ManagedByInfoArgs
            {
                ResourceId = "mtkeip",
            },
            ResourceGroupName = "resourcegroupname",
            SizeGiB = 9,
            VolumeGroupName = "volumegroupname",
            VolumeName = "volumename",
        });
    
    });
    
    package main
    
    import (
    	elasticsan "github.com/pulumi/pulumi-azure-native-sdk/elasticsan/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := elasticsan.NewVolume(ctx, "volume", &elasticsan.VolumeArgs{
    			CreationData: &elasticsan.SourceCreationDataArgs{
    				CreateSource: pulumi.String(elasticsan.VolumeCreateOptionNone),
    				SourceId:     pulumi.String("ARM Id of Resource"),
    			},
    			ElasticSanName: pulumi.String("elasticsanname"),
    			ManagedBy: &elasticsan.ManagedByInfoArgs{
    				ResourceId: pulumi.String("mtkeip"),
    			},
    			ResourceGroupName: pulumi.String("resourcegroupname"),
    			SizeGiB:           pulumi.Float64(9),
    			VolumeGroupName:   pulumi.String("volumegroupname"),
    			VolumeName:        pulumi.String("volumename"),
    		})
    		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.elasticsan.Volume;
    import com.pulumi.azurenative.elasticsan.VolumeArgs;
    import com.pulumi.azurenative.elasticsan.inputs.SourceCreationDataArgs;
    import com.pulumi.azurenative.elasticsan.inputs.ManagedByInfoArgs;
    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 volume = new Volume("volume", VolumeArgs.builder()
                .creationData(SourceCreationDataArgs.builder()
                    .createSource("None")
                    .sourceId("ARM Id of Resource")
                    .build())
                .elasticSanName("elasticsanname")
                .managedBy(ManagedByInfoArgs.builder()
                    .resourceId("mtkeip")
                    .build())
                .resourceGroupName("resourcegroupname")
                .sizeGiB(9.0)
                .volumeGroupName("volumegroupname")
                .volumeName("volumename")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const volume = new azure_native.elasticsan.Volume("volume", {
        creationData: {
            createSource: azure_native.elasticsan.VolumeCreateOption.None,
            sourceId: "ARM Id of Resource",
        },
        elasticSanName: "elasticsanname",
        managedBy: {
            resourceId: "mtkeip",
        },
        resourceGroupName: "resourcegroupname",
        sizeGiB: 9,
        volumeGroupName: "volumegroupname",
        volumeName: "volumename",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    volume = azure_native.elasticsan.Volume("volume",
        creation_data={
            "create_source": azure_native.elasticsan.VolumeCreateOption.NONE,
            "source_id": "ARM Id of Resource",
        },
        elastic_san_name="elasticsanname",
        managed_by={
            "resource_id": "mtkeip",
        },
        resource_group_name="resourcegroupname",
        size_gi_b=9,
        volume_group_name="volumegroupname",
        volume_name="volumename")
    
    resources:
      volume:
        type: azure-native:elasticsan:Volume
        properties:
          creationData:
            createSource: None
            sourceId: ARM Id of Resource
          elasticSanName: elasticsanname
          managedBy:
            resourceId: mtkeip
          resourceGroupName: resourcegroupname
          sizeGiB: 9
          volumeGroupName: volumegroupname
          volumeName: volumename
    

    Volumes_Create_MinimumSet_Gen

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var volume = new AzureNative.ElasticSan.Volume("volume", new()
        {
            ElasticSanName = "elasticsanname",
            ResourceGroupName = "resourcegroupname",
            SizeGiB = 9,
            VolumeGroupName = "volumegroupname",
            VolumeName = "volumename",
        });
    
    });
    
    package main
    
    import (
    	elasticsan "github.com/pulumi/pulumi-azure-native-sdk/elasticsan/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := elasticsan.NewVolume(ctx, "volume", &elasticsan.VolumeArgs{
    			ElasticSanName:    pulumi.String("elasticsanname"),
    			ResourceGroupName: pulumi.String("resourcegroupname"),
    			SizeGiB:           pulumi.Float64(9),
    			VolumeGroupName:   pulumi.String("volumegroupname"),
    			VolumeName:        pulumi.String("volumename"),
    		})
    		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.elasticsan.Volume;
    import com.pulumi.azurenative.elasticsan.VolumeArgs;
    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 volume = new Volume("volume", VolumeArgs.builder()
                .elasticSanName("elasticsanname")
                .resourceGroupName("resourcegroupname")
                .sizeGiB(9.0)
                .volumeGroupName("volumegroupname")
                .volumeName("volumename")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const volume = new azure_native.elasticsan.Volume("volume", {
        elasticSanName: "elasticsanname",
        resourceGroupName: "resourcegroupname",
        sizeGiB: 9,
        volumeGroupName: "volumegroupname",
        volumeName: "volumename",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    volume = azure_native.elasticsan.Volume("volume",
        elastic_san_name="elasticsanname",
        resource_group_name="resourcegroupname",
        size_gi_b=9,
        volume_group_name="volumegroupname",
        volume_name="volumename")
    
    resources:
      volume:
        type: azure-native:elasticsan:Volume
        properties:
          elasticSanName: elasticsanname
          resourceGroupName: resourcegroupname
          sizeGiB: 9
          volumeGroupName: volumegroupname
          volumeName: volumename
    

    Create Volume Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Volume(name: string, args: VolumeArgs, opts?: CustomResourceOptions);
    @overload
    def Volume(resource_name: str,
               args: VolumeArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Volume(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               elastic_san_name: Optional[str] = None,
               resource_group_name: Optional[str] = None,
               size_gi_b: Optional[float] = None,
               volume_group_name: Optional[str] = None,
               creation_data: Optional[SourceCreationDataArgs] = None,
               managed_by: Optional[ManagedByInfoArgs] = None,
               volume_name: Optional[str] = None)
    func NewVolume(ctx *Context, name string, args VolumeArgs, opts ...ResourceOption) (*Volume, error)
    public Volume(string name, VolumeArgs args, CustomResourceOptions? opts = null)
    public Volume(String name, VolumeArgs args)
    public Volume(String name, VolumeArgs args, CustomResourceOptions options)
    
    type: azure-native:elasticsan:Volume
    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 VolumeArgs
    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 VolumeArgs
    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 VolumeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VolumeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VolumeArgs
    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 azure_nativeVolumeResource = new AzureNative.ElasticSan.Volume("azure-nativeVolumeResource", new()
    {
        ElasticSanName = "string",
        ResourceGroupName = "string",
        SizeGiB = 0,
        VolumeGroupName = "string",
        CreationData = new AzureNative.ElasticSan.Inputs.SourceCreationDataArgs
        {
            CreateSource = "string",
            SourceId = "string",
        },
        ManagedBy = new AzureNative.ElasticSan.Inputs.ManagedByInfoArgs
        {
            ResourceId = "string",
        },
        VolumeName = "string",
    });
    
    example, err := elasticsan.NewVolume(ctx, "azure-nativeVolumeResource", &elasticsan.VolumeArgs{
    	ElasticSanName:    pulumi.String("string"),
    	ResourceGroupName: pulumi.String("string"),
    	SizeGiB:           pulumi.Float64(0),
    	VolumeGroupName:   pulumi.String("string"),
    	CreationData: &elasticsan.SourceCreationDataArgs{
    		CreateSource: pulumi.String("string"),
    		SourceId:     pulumi.String("string"),
    	},
    	ManagedBy: &elasticsan.ManagedByInfoArgs{
    		ResourceId: pulumi.String("string"),
    	},
    	VolumeName: pulumi.String("string"),
    })
    
    var azure_nativeVolumeResource = new com.pulumi.azurenative.elasticsan.Volume("azure-nativeVolumeResource", com.pulumi.azurenative.elasticsan.VolumeArgs.builder()
        .elasticSanName("string")
        .resourceGroupName("string")
        .sizeGiB(0)
        .volumeGroupName("string")
        .creationData(SourceCreationDataArgs.builder()
            .createSource("string")
            .sourceId("string")
            .build())
        .managedBy(ManagedByInfoArgs.builder()
            .resourceId("string")
            .build())
        .volumeName("string")
        .build());
    
    azure_native_volume_resource = azure_native.elasticsan.Volume("azure-nativeVolumeResource",
        elastic_san_name="string",
        resource_group_name="string",
        size_gi_b=0,
        volume_group_name="string",
        creation_data={
            "create_source": "string",
            "source_id": "string",
        },
        managed_by={
            "resource_id": "string",
        },
        volume_name="string")
    
    const azure_nativeVolumeResource = new azure_native.elasticsan.Volume("azure-nativeVolumeResource", {
        elasticSanName: "string",
        resourceGroupName: "string",
        sizeGiB: 0,
        volumeGroupName: "string",
        creationData: {
            createSource: "string",
            sourceId: "string",
        },
        managedBy: {
            resourceId: "string",
        },
        volumeName: "string",
    });
    
    type: azure-native:elasticsan:Volume
    properties:
        creationData:
            createSource: string
            sourceId: string
        elasticSanName: string
        managedBy:
            resourceId: string
        resourceGroupName: string
        sizeGiB: 0
        volumeGroupName: string
        volumeName: string
    

    Volume 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 Volume resource accepts the following input properties:

    ElasticSanName string
    The name of the ElasticSan.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    SizeGiB double
    Volume size.
    VolumeGroupName string
    The name of the VolumeGroup.
    CreationData Pulumi.AzureNative.ElasticSan.Inputs.SourceCreationData
    State of the operation on the resource.
    ManagedBy Pulumi.AzureNative.ElasticSan.Inputs.ManagedByInfo
    Parent resource information.
    VolumeName string
    The name of the Volume.
    ElasticSanName string
    The name of the ElasticSan.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    SizeGiB float64
    Volume size.
    VolumeGroupName string
    The name of the VolumeGroup.
    CreationData SourceCreationDataArgs
    State of the operation on the resource.
    ManagedBy ManagedByInfoArgs
    Parent resource information.
    VolumeName string
    The name of the Volume.
    elasticSanName String
    The name of the ElasticSan.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    sizeGiB Double
    Volume size.
    volumeGroupName String
    The name of the VolumeGroup.
    creationData SourceCreationData
    State of the operation on the resource.
    managedBy ManagedByInfo
    Parent resource information.
    volumeName String
    The name of the Volume.
    elasticSanName string
    The name of the ElasticSan.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    sizeGiB number
    Volume size.
    volumeGroupName string
    The name of the VolumeGroup.
    creationData SourceCreationData
    State of the operation on the resource.
    managedBy ManagedByInfo
    Parent resource information.
    volumeName string
    The name of the Volume.
    elastic_san_name str
    The name of the ElasticSan.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    size_gi_b float
    Volume size.
    volume_group_name str
    The name of the VolumeGroup.
    creation_data SourceCreationDataArgs
    State of the operation on the resource.
    managed_by ManagedByInfoArgs
    Parent resource information.
    volume_name str
    The name of the Volume.
    elasticSanName String
    The name of the ElasticSan.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    sizeGiB Number
    Volume size.
    volumeGroupName String
    The name of the VolumeGroup.
    creationData Property Map
    State of the operation on the resource.
    managedBy Property Map
    Parent resource information.
    volumeName String
    The name of the Volume.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Volume resource produces the following output properties:

    AzureApiVersion string
    The Azure API version of the resource.
    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.
    StorageTarget Pulumi.AzureNative.ElasticSan.Outputs.IscsiTargetInfoResponse
    Storage target information
    SystemData Pulumi.AzureNative.ElasticSan.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    VolumeId string
    Unique Id of the volume in GUID format
    AzureApiVersion string
    The Azure API version of the resource.
    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.
    StorageTarget IscsiTargetInfoResponse
    Storage target information
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    VolumeId string
    Unique Id of the volume in GUID format
    azureApiVersion String
    The Azure API version of the resource.
    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.
    storageTarget IscsiTargetInfoResponse
    Storage target information
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    volumeId String
    Unique Id of the volume in GUID format
    azureApiVersion string
    The Azure API version of the resource.
    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.
    storageTarget IscsiTargetInfoResponse
    Storage target information
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    volumeId string
    Unique Id of the volume in GUID format
    azure_api_version str
    The Azure API version of the resource.
    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.
    storage_target IscsiTargetInfoResponse
    Storage target information
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    volume_id str
    Unique Id of the volume in GUID format
    azureApiVersion String
    The Azure API version of the resource.
    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.
    storageTarget Property Map
    Storage target information
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    volumeId String
    Unique Id of the volume in GUID format

    Supporting Types

    IscsiTargetInfoResponse, IscsiTargetInfoResponseArgs

    ProvisioningState string
    State of the operation on the resource.
    TargetIqn string
    iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
    TargetPortalHostname string
    iSCSI Target Portal Host Name
    TargetPortalPort int
    iSCSI Target Portal Port
    Status string
    Operational status of the iSCSI Target.
    ProvisioningState string
    State of the operation on the resource.
    TargetIqn string
    iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
    TargetPortalHostname string
    iSCSI Target Portal Host Name
    TargetPortalPort int
    iSCSI Target Portal Port
    Status string
    Operational status of the iSCSI Target.
    provisioningState String
    State of the operation on the resource.
    targetIqn String
    iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
    targetPortalHostname String
    iSCSI Target Portal Host Name
    targetPortalPort Integer
    iSCSI Target Portal Port
    status String
    Operational status of the iSCSI Target.
    provisioningState string
    State of the operation on the resource.
    targetIqn string
    iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
    targetPortalHostname string
    iSCSI Target Portal Host Name
    targetPortalPort number
    iSCSI Target Portal Port
    status string
    Operational status of the iSCSI Target.
    provisioning_state str
    State of the operation on the resource.
    target_iqn str
    iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
    target_portal_hostname str
    iSCSI Target Portal Host Name
    target_portal_port int
    iSCSI Target Portal Port
    status str
    Operational status of the iSCSI Target.
    provisioningState String
    State of the operation on the resource.
    targetIqn String
    iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
    targetPortalHostname String
    iSCSI Target Portal Host Name
    targetPortalPort Number
    iSCSI Target Portal Port
    status String
    Operational status of the iSCSI Target.

    ManagedByInfo, ManagedByInfoArgs

    ResourceId string
    Resource ID of the resource managing the volume, this is a restricted field and can only be set for internal use.
    ResourceId string
    Resource ID of the resource managing the volume, this is a restricted field and can only be set for internal use.
    resourceId String
    Resource ID of the resource managing the volume, this is a restricted field and can only be set for internal use.
    resourceId string
    Resource ID of the resource managing the volume, this is a restricted field and can only be set for internal use.
    resource_id str
    Resource ID of the resource managing the volume, this is a restricted field and can only be set for internal use.
    resourceId String
    Resource ID of the resource managing the volume, this is a restricted field and can only be set for internal use.

    ManagedByInfoResponse, ManagedByInfoResponseArgs

    ResourceId string
    Resource ID of the resource managing the volume, this is a restricted field and can only be set for internal use.
    ResourceId string
    Resource ID of the resource managing the volume, this is a restricted field and can only be set for internal use.
    resourceId String
    Resource ID of the resource managing the volume, this is a restricted field and can only be set for internal use.
    resourceId string
    Resource ID of the resource managing the volume, this is a restricted field and can only be set for internal use.
    resource_id str
    Resource ID of the resource managing the volume, this is a restricted field and can only be set for internal use.
    resourceId String
    Resource ID of the resource managing the volume, this is a restricted field and can only be set for internal use.

    SourceCreationData, SourceCreationDataArgs

    CreateSource string | Pulumi.AzureNative.ElasticSan.VolumeCreateOption
    This enumerates the possible sources of a volume creation.
    SourceId string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    CreateSource string | VolumeCreateOption
    This enumerates the possible sources of a volume creation.
    SourceId string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    createSource String | VolumeCreateOption
    This enumerates the possible sources of a volume creation.
    sourceId String
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    createSource string | VolumeCreateOption
    This enumerates the possible sources of a volume creation.
    sourceId string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    create_source str | VolumeCreateOption
    This enumerates the possible sources of a volume creation.
    source_id str
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    createSource String | "None" | "VolumeSnapshot" | "DiskSnapshot" | "Disk" | "DiskRestorePoint"
    This enumerates the possible sources of a volume creation.
    sourceId String
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

    SourceCreationDataResponse, SourceCreationDataResponseArgs

    CreateSource string
    This enumerates the possible sources of a volume creation.
    SourceId string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    CreateSource string
    This enumerates the possible sources of a volume creation.
    SourceId string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    createSource String
    This enumerates the possible sources of a volume creation.
    sourceId String
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    createSource string
    This enumerates the possible sources of a volume creation.
    sourceId string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    create_source str
    This enumerates the possible sources of a volume creation.
    source_id str
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    createSource String
    This enumerates the possible sources of a volume creation.
    sourceId String
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

    SystemDataResponse, SystemDataResponseArgs

    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 timestamp of resource last modification (UTC)
    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 timestamp of resource last modification (UTC)
    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 timestamp of resource last modification (UTC)
    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 timestamp of resource last modification (UTC)
    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 timestamp of resource last modification (UTC)
    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 timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    VolumeCreateOption, VolumeCreateOptionArgs

    None
    None
    VolumeSnapshot
    VolumeSnapshot
    DiskSnapshot
    DiskSnapshot
    Disk
    Disk
    DiskRestorePoint
    DiskRestorePoint
    VolumeCreateOptionNone
    None
    VolumeCreateOptionVolumeSnapshot
    VolumeSnapshot
    VolumeCreateOptionDiskSnapshot
    DiskSnapshot
    VolumeCreateOptionDisk
    Disk
    VolumeCreateOptionDiskRestorePoint
    DiskRestorePoint
    None
    None
    VolumeSnapshot
    VolumeSnapshot
    DiskSnapshot
    DiskSnapshot
    Disk
    Disk
    DiskRestorePoint
    DiskRestorePoint
    None
    None
    VolumeSnapshot
    VolumeSnapshot
    DiskSnapshot
    DiskSnapshot
    Disk
    Disk
    DiskRestorePoint
    DiskRestorePoint
    NONE
    None
    VOLUME_SNAPSHOT
    VolumeSnapshot
    DISK_SNAPSHOT
    DiskSnapshot
    DISK
    Disk
    DISK_RESTORE_POINT
    DiskRestorePoint
    "None"
    None
    "VolumeSnapshot"
    VolumeSnapshot
    "DiskSnapshot"
    DiskSnapshot
    "Disk"
    Disk
    "DiskRestorePoint"
    DiskRestorePoint

    Import

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

    $ pulumi import azure-native:elasticsan:Volume o /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName} 
    

    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 v2 docs if using the v2 version of this package.
    Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi