ArmComputeModelFactory.SharedGalleryOSDiskImage 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 SharedGalleryOSDiskImage.
public static Azure.ResourceManager.Compute.Models.SharedGalleryOSDiskImage SharedGalleryOSDiskImage (int? diskSizeGB = default, Azure.ResourceManager.Compute.Models.SharedGalleryHostCaching? hostCaching = default);
static member SharedGalleryOSDiskImage : Nullable<int> * Nullable<Azure.ResourceManager.Compute.Models.SharedGalleryHostCaching> -> Azure.ResourceManager.Compute.Models.SharedGalleryOSDiskImage
Public Shared Function SharedGalleryOSDiskImage (Optional diskSizeGB As Nullable(Of Integer) = Nothing, Optional hostCaching As Nullable(Of SharedGalleryHostCaching) = Nothing) As SharedGalleryOSDiskImage
Parameters
- hostCaching
- Nullable<SharedGalleryHostCaching>
The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'.
Returns
A new SharedGalleryOSDiskImage instance for mocking.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.