ArmElasticSanModelFactory.ElasticSanSnapshotData Method

Definition

public static Azure.ResourceManager.ElasticSan.ElasticSanSnapshotData ElasticSanSnapshotData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.ElasticSan.Models.ElasticSanProvisioningState? provisioningState = default, long? sourceVolumeSizeGiB = default, string volumeName = default, Azure.Core.ResourceIdentifier creationDataSourceId = default);
static member ElasticSanSnapshotData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.ElasticSan.Models.ElasticSanProvisioningState> * Nullable<int64> * string * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ElasticSan.ElasticSanSnapshotData
Public Shared Function ElasticSanSnapshotData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional provisioningState As Nullable(Of ElasticSanProvisioningState) = Nothing, Optional sourceVolumeSizeGiB As Nullable(Of Long) = Nothing, Optional volumeName As String = Nothing, Optional creationDataSourceId As ResourceIdentifier = Nothing) As ElasticSanSnapshotData

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

provisioningState
Nullable<ElasticSanProvisioningState>

State of the operation on the resource.

sourceVolumeSizeGiB
Nullable<Int64>

Size of Source Volume.

volumeName
String

Source Volume Name of a snapshot.

creationDataSourceId
ResourceIdentifier

Fully qualified resource ID of the volume. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}".

Returns

A new ElasticSanSnapshotData instance for mocking.

Exceptions

creationDataSourceId is null.

Applies to