Compartilhar via


ArmComputeModelFactory.SharedGalleryDiskImage Método

Definição

Inicializa uma nova instância de SharedGalleryDiskImage.

public static Azure.ResourceManager.Compute.Models.SharedGalleryDiskImage SharedGalleryDiskImage (int? diskSizeGB = default, Azure.ResourceManager.Compute.Models.SharedGalleryHostCaching? hostCaching = default);
static member SharedGalleryDiskImage : Nullable<int> * Nullable<Azure.ResourceManager.Compute.Models.SharedGalleryHostCaching> -> Azure.ResourceManager.Compute.Models.SharedGalleryDiskImage
Public Shared Function SharedGalleryDiskImage (Optional diskSizeGB As Nullable(Of Integer) = Nothing, Optional hostCaching As Nullable(Of SharedGalleryHostCaching) = Nothing) As SharedGalleryDiskImage

Parâmetros

diskSizeGB
Nullable<Int32>

Essa propriedade indica o tamanho do VHD a ser criado.

hostCaching
Nullable<SharedGalleryHostCaching>

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

Retornos

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

Aplica-se a