Freigeben über


ArmNetworkCloudModelFactory.NetworkCloudVolumeData Method

Definition

Initializes a new instance of NetworkCloudVolumeData.

public static Azure.ResourceManager.NetworkCloud.NetworkCloudVolumeData NetworkCloudVolumeData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ETag? etag = default, Azure.ResourceManager.NetworkCloud.Models.ExtendedLocation extendedLocation = default, long? allocatedInSizeMiB = default, System.Collections.Generic.IEnumerable<string> attachedTo = default, Azure.ResourceManager.NetworkCloud.Models.VolumeDetailedStatus? detailedStatus = default, string detailedStatusMessage = default, Azure.ResourceManager.NetworkCloud.Models.VolumeProvisioningState? provisioningState = default, string serialNumber = default, long sizeInMiB = 0, Azure.Core.ResourceIdentifier storageApplianceId = default);
static member NetworkCloudVolumeData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ETag> * Azure.ResourceManager.NetworkCloud.Models.ExtendedLocation * Nullable<int64> * seq<string> * Nullable<Azure.ResourceManager.NetworkCloud.Models.VolumeDetailedStatus> * string * Nullable<Azure.ResourceManager.NetworkCloud.Models.VolumeProvisioningState> * string * int64 * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.NetworkCloud.NetworkCloudVolumeData
Public Shared Function NetworkCloudVolumeData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional allocatedInSizeMiB As Nullable(Of Long) = Nothing, Optional attachedTo As IEnumerable(Of String) = Nothing, Optional detailedStatus As Nullable(Of VolumeDetailedStatus) = Nothing, Optional detailedStatusMessage As String = Nothing, Optional provisioningState As Nullable(Of VolumeProvisioningState) = Nothing, Optional serialNumber As String = Nothing, Optional sizeInMiB As Long = 0, Optional storageApplianceId As ResourceIdentifier = Nothing) As NetworkCloudVolumeData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

etag
Nullable<ETag>

Resource ETag.

extendedLocation
ExtendedLocation

The extended location of the cluster associated with the resource.

allocatedInSizeMiB
Nullable<Int64>

The allocated size of the volume in Mebibytes.

attachedTo
IEnumerable<String>

The list of resource IDs that attach the volume. It may include virtual machines and Hybrid AKS clusters.

detailedStatus
Nullable<VolumeDetailedStatus>

The more detailed status of the volume.

detailedStatusMessage
String

The descriptive message about the current detailed status.

provisioningState
Nullable<VolumeProvisioningState>

The provisioning state of the volume.

serialNumber
String

The unique identifier of the volume.

sizeInMiB
Int64

The requested storage allocation for the volume in Mebibytes.

storageApplianceId
ResourceIdentifier

The resource ID of the storage appliance that hosts the volume.

Returns

A new NetworkCloudVolumeData instance for mocking.

Applies to