Compartilhar via


ArmComputeModelFactory.GalleryOSDiskImage Método

Definição

Inicializa uma nova instância de GalleryOSDiskImage.

public static Azure.ResourceManager.Compute.Models.GalleryOSDiskImage GalleryOSDiskImage (int? sizeInGB = default, Azure.ResourceManager.Compute.Models.HostCaching? hostCaching = default, Azure.ResourceManager.Compute.Models.GalleryDiskImageSource gallerySource = default);
static member GalleryOSDiskImage : Nullable<int> * Nullable<Azure.ResourceManager.Compute.Models.HostCaching> * Azure.ResourceManager.Compute.Models.GalleryDiskImageSource -> Azure.ResourceManager.Compute.Models.GalleryOSDiskImage
Public Shared Function GalleryOSDiskImage (Optional sizeInGB As Nullable(Of Integer) = Nothing, Optional hostCaching As Nullable(Of HostCaching) = Nothing, Optional gallerySource As GalleryDiskImageSource = Nothing) As GalleryOSDiskImage

Parâmetros

sizeInGB
Nullable<Int32>

Essa propriedade indica o tamanho do VHD a ser criado.

hostCaching
Nullable<HostCaching>

O cache do host do disco. Os valores válidos são 'None', 'ReadOnly' e 'ReadWrite'.

gallerySource
GalleryDiskImageSource

A origem da imagem de disco.

Retornos

Uma nova GalleryOSDiskImage instância para simulação.

Aplica-se a