Share via


ArmElasticSanModelFactory.ElasticSanSnapshotData Method

Definition

Initializes a new instance of ElasticSanSnapshotData.

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.Core.ResourceIdentifier creationDataSourceId = default, Azure.ResourceManager.ElasticSan.Models.ElasticSanProvisioningState? provisioningState = default, long? sourceVolumeSizeGiB = default, string volumeName = default);
static member ElasticSanSnapshotData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.ElasticSan.Models.ElasticSanProvisioningState> * Nullable<int64> * string -> 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 creationDataSourceId As ResourceIdentifier = Nothing, Optional provisioningState As Nullable(Of ElasticSanProvisioningState) = Nothing, Optional sourceVolumeSizeGiB As Nullable(Of Long) = Nothing, Optional volumeName As String = Nothing) As ElasticSanSnapshotData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

creationDataSourceId
ResourceIdentifier

Data used when creating a volume snapshot.

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.

Returns

A new ElasticSanSnapshotData instance for mocking.

Applies to