Compartilhar via


ArmComputeModelFactory.DiskImageData Método

Definição

Inicializa uma nova instância de DiskImageData.

public static Azure.ResourceManager.Compute.DiskImageData DiskImageData (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.Resources.Models.ExtendedLocation extendedLocation = default, Azure.Core.ResourceIdentifier sourceVirtualMachineId = default, Azure.ResourceManager.Compute.Models.ImageStorageProfile storageProfile = default, string provisioningState = default, Azure.ResourceManager.Compute.Models.HyperVGeneration? hyperVGeneration = default);
static member DiskImageData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Resources.Models.ExtendedLocation * Azure.Core.ResourceIdentifier * Azure.ResourceManager.Compute.Models.ImageStorageProfile * string * Nullable<Azure.ResourceManager.Compute.Models.HyperVGeneration> -> Azure.ResourceManager.Compute.DiskImageData
Public Shared Function DiskImageData (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 sourceVirtualMachineId As ResourceIdentifier = Nothing, Optional storageProfile As ImageStorageProfile = Nothing, Optional provisioningState As String = Nothing, Optional hyperVGeneration As Nullable(Of HyperVGeneration) = Nothing) As DiskImageData

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

tags
IDictionary<String,String>

As marcas.

location
AzureLocation

O local.

extendedLocation
ExtendedLocation

O local estendido da Imagem.

sourceVirtualMachineId
ResourceIdentifier

A máquina virtual de origem da qual a Imagem é criada.

storageProfile
ImageStorageProfile

Especifica as configurações de armazenamento dos discos da máquina virtual.

provisioningState
String

O estado de provisionamento.

hyperVGeneration
Nullable<HyperVGeneration>

Especifica o HyperVGenerationType do VirtualMachine criado a partir da imagem. Na API versão 2019-03-01 se a origem da imagem for um blob, precisamos que o usuário especifique o valor, se a origem for gerenciada, como disco ou instantâneo, poderemos exigir que o usuário especifique a propriedade se não pudermos deduzê-la do recurso gerenciado de origem.

Retornos

Uma nova DiskImageData instância para zombar.

Aplica-se a