Compartilhar via


ArmComputeModelFactory.GalleryDiskImage Método

Definição

Inicializa uma nova instância de GalleryDiskImage.

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

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 GalleryDiskImage instância para zombar.

Aplica-se a