ArmComputeModelFactory.GalleryOSDiskImage 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 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
Parameters
- hostCaching
- Nullable<HostCaching>
The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'.
- gallerySource
- GalleryDiskImageSource
The source for the disk image.
Returns
A new GalleryOSDiskImage instance for mocking.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET