ArmComputeModelFactory.SharedGalleryDiskImage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of 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
Parameters
- hostCaching
- Nullable<SharedGalleryHostCaching>
The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'.
Returns
A new SharedGalleryDiskImage instance for mocking.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET