Share via


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.ResourceManager.NetworkCloud.Models.ExtendedLocation extendedLocation = 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);
static member NetworkCloudVolumeData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.NetworkCloud.Models.ExtendedLocation * seq<string> * Nullable<Azure.ResourceManager.NetworkCloud.Models.VolumeDetailedStatus> * string * Nullable<Azure.ResourceManager.NetworkCloud.Models.VolumeProvisioningState> * string * int64 -> 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 extendedLocation As ExtendedLocation = 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) 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.

extendedLocation
ExtendedLocation

The extended location of the cluster associated with the resource.

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 size of the allocation for this volume in Mebibytes.

Returns

A new NetworkCloudVolumeData instance for mocking.

Applies to