SharedGalleryImage Constructors
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.
Overloads
SharedGalleryImage() |
Initializes a new instance of the SharedGalleryImage class. |
SharedGalleryImage(OperatingSystemTypes, OperatingSystemStateTypes, GalleryImageIdentifier, String, String, String, Nullable<DateTime>, RecommendedMachineConfiguration, Disallowed, String, IList<GalleryImageFeature>, ImagePurchasePlan, String, String, String) |
Initializes a new instance of the SharedGalleryImage class. |
SharedGalleryImage()
Initializes a new instance of the SharedGalleryImage class.
public SharedGalleryImage ();
Public Sub New ()
Applies to
SharedGalleryImage(OperatingSystemTypes, OperatingSystemStateTypes, GalleryImageIdentifier, String, String, String, Nullable<DateTime>, RecommendedMachineConfiguration, Disallowed, String, IList<GalleryImageFeature>, ImagePurchasePlan, String, String, String)
Initializes a new instance of the SharedGalleryImage class.
public SharedGalleryImage (Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes osType, Microsoft.Azure.Management.Compute.Models.OperatingSystemStateTypes osState, Microsoft.Azure.Management.Compute.Models.GalleryImageIdentifier identifier, string name = default, string location = default, string uniqueId = default, DateTime? endOfLifeDate = default, Microsoft.Azure.Management.Compute.Models.RecommendedMachineConfiguration recommended = default, Microsoft.Azure.Management.Compute.Models.Disallowed disallowed = default, string hyperVGeneration = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.GalleryImageFeature> features = default, Microsoft.Azure.Management.Compute.Models.ImagePurchasePlan purchasePlan = default, string architecture = default, string privacyStatementUri = default, string eula = default);
new Microsoft.Azure.Management.Compute.Models.SharedGalleryImage : Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes * Microsoft.Azure.Management.Compute.Models.OperatingSystemStateTypes * Microsoft.Azure.Management.Compute.Models.GalleryImageIdentifier * string * string * string * Nullable<DateTime> * Microsoft.Azure.Management.Compute.Models.RecommendedMachineConfiguration * Microsoft.Azure.Management.Compute.Models.Disallowed * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.GalleryImageFeature> * Microsoft.Azure.Management.Compute.Models.ImagePurchasePlan * string * string * string -> Microsoft.Azure.Management.Compute.Models.SharedGalleryImage
Public Sub New (osType As OperatingSystemTypes, osState As OperatingSystemStateTypes, identifier As GalleryImageIdentifier, Optional name As String = Nothing, Optional location As String = Nothing, Optional uniqueId As String = Nothing, Optional endOfLifeDate As Nullable(Of DateTime) = Nothing, Optional recommended As RecommendedMachineConfiguration = Nothing, Optional disallowed As Disallowed = Nothing, Optional hyperVGeneration As String = Nothing, Optional features As IList(Of GalleryImageFeature) = Nothing, Optional purchasePlan As ImagePurchasePlan = Nothing, Optional architecture As String = Nothing, Optional privacyStatementUri As String = Nothing, Optional eula As String = Nothing)
Parameters
- osType
- OperatingSystemTypes
This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. <br><br> Possible values are: <br><br> Windows <br><br> Linux. Possible values include: 'Windows', 'Linux'
- osState
- OperatingSystemStateTypes
This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'. Possible values include: 'Generalized', 'Specialized'
- identifier
- GalleryImageIdentifier
- name
- String
Resource name
- location
- String
Resource location
- uniqueId
- String
The unique id of this shared gallery.
The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.
- recommended
- RecommendedMachineConfiguration
- disallowed
- Disallowed
- hyperVGeneration
- String
The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values include: 'V1', 'V2'
- features
- IList<GalleryImageFeature>
A list of gallery image features.
- purchasePlan
- ImagePurchasePlan
- architecture
- String
Possible values include: 'x64', 'Arm64'
- privacyStatementUri
- String
Privacy statement uri for the current community gallery image.
- eula
- String
End-user license agreement for the current community gallery image.