Compartilhar via


ArmDevTestLabsModelFactory.DevTestLabDiskData Método

Definição

Inicializa uma nova instância de DevTestLabDiskData.

public static Azure.ResourceManager.DevTestLabs.DevTestLabDiskData DevTestLabDiskData (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.DevTestLabs.Models.DevTestLabStorageType? diskType = default, int? diskSizeGiB = default, Azure.Core.ResourceIdentifier leasedByLabVmId = default, string diskBlobName = default, Uri diskUri = default, string storageAccountId = default, DateTimeOffset? createdOn = default, string hostCaching = default, Azure.Core.ResourceIdentifier managedDiskId = default, string provisioningState = default, Guid? uniqueIdentifier = default);
static member DevTestLabDiskData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabStorageType> * Nullable<int> * Azure.Core.ResourceIdentifier * string * Uri * string * Nullable<DateTimeOffset> * string * Azure.Core.ResourceIdentifier * string * Nullable<Guid> -> Azure.ResourceManager.DevTestLabs.DevTestLabDiskData
Public Shared Function DevTestLabDiskData (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 diskType As Nullable(Of DevTestLabStorageType) = Nothing, Optional diskSizeGiB As Nullable(Of Integer) = Nothing, Optional leasedByLabVmId As ResourceIdentifier = Nothing, Optional diskBlobName As String = Nothing, Optional diskUri As Uri = Nothing, Optional storageAccountId As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional hostCaching As String = Nothing, Optional managedDiskId As ResourceIdentifier = Nothing, Optional provisioningState As String = Nothing, Optional uniqueIdentifier As Nullable(Of Guid) = Nothing) As DevTestLabDiskData

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

tags
IDictionary<String,String>

As marcas.

location
AzureLocation

O local.

diskType
Nullable<DevTestLabStorageType>

O tipo de armazenamento para o disco (ou seja, Standard, Premium).

diskSizeGiB
Nullable<Int32>

O tamanho do disco em Gibibytes.

leasedByLabVmId
ResourceIdentifier

A ID do recurso da VM à qual esse disco é concedido.

diskBlobName
String

Quando apoiado por um blob, o nome do blob VHD sem extensão.

diskUri
Uri

Quando apoiado por um blob, o URI do blob subjacente.

storageAccountId
String

Quando apoiado por um blob, a conta de armazenamento em que o blob está.

createdOn
Nullable<DateTimeOffset>

A data de criação do disco.

hostCaching
String

A política de cache do host do disco (ou seja, None, ReadOnly, ReadWrite).

managedDiskId
ResourceIdentifier

Quando apoiado pelo disco gerenciado, essa é a ID do recurso de disco de computação.

provisioningState
String

O status de provisionamento do recurso.

uniqueIdentifier
Nullable<Guid>

O identificador imutável exclusivo de um recurso (Guid).

Retornos

Uma nova DevTestLabDiskData instância para zombar.

Aplica-se a