다음을 통해 공유


ArmElasticSanModelFactory.ElasticSanVolumeData Method

Definition

Initializes a new instance of ElasticSanVolumeData.

public static Azure.ResourceManager.ElasticSan.ElasticSanVolumeData ElasticSanVolumeData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Guid? volumeId = default, Azure.ResourceManager.ElasticSan.Models.ElasticSanVolumeDataSourceInfo creationData = default, long sizeGiB = 0, Azure.ResourceManager.ElasticSan.Models.IscsiTargetInfo storageTarget = default, Azure.Core.ResourceIdentifier managedByResourceId = default, Azure.ResourceManager.ElasticSan.Models.ElasticSanProvisioningState? provisioningState = default);
static member ElasticSanVolumeData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Guid> * Azure.ResourceManager.ElasticSan.Models.ElasticSanVolumeDataSourceInfo * int64 * Azure.ResourceManager.ElasticSan.Models.IscsiTargetInfo * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.ElasticSan.Models.ElasticSanProvisioningState> -> Azure.ResourceManager.ElasticSan.ElasticSanVolumeData
Public Shared Function ElasticSanVolumeData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional volumeId As Nullable(Of Guid) = Nothing, Optional creationData As ElasticSanVolumeDataSourceInfo = Nothing, Optional sizeGiB As Long = 0, Optional storageTarget As IscsiTargetInfo = Nothing, Optional managedByResourceId As ResourceIdentifier = Nothing, Optional provisioningState As Nullable(Of ElasticSanProvisioningState) = Nothing) As ElasticSanVolumeData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

volumeId
Nullable<Guid>

Unique Id of the volume in GUID format.

creationData
ElasticSanVolumeDataSourceInfo

State of the operation on the resource.

sizeGiB
Int64

Volume size.

storageTarget
IscsiTargetInfo

Storage target information.

managedByResourceId
ResourceIdentifier

Parent resource information.

provisioningState
Nullable<ElasticSanProvisioningState>

State of the operation on the resource.

Returns

A new ElasticSanVolumeData instance for mocking.

Applies to