/// <summary> /// Initializes a new instance of the SharedGalleryImage class. /// </summary> /// <param name="osType">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'</param> /// <param name="osState">This property allows the user to specify /// whether the virtual machines created under this image are /// 'Generalized' or 'Specialized'. Possible values include: /// 'Generalized', 'Specialized'</param> /// <param name="name">Resource name</param> /// <param name="location">Resource location</param> /// <param name="uniqueId">The unique id of this shared /// gallery.</param> /// <param name="endOfLifeDate">The end of life date of the gallery /// image definition. This property can be used for decommissioning /// purposes. This property is updatable.</param> /// <param name="hyperVGeneration">The hypervisor generation of the /// Virtual Machine. Applicable to OS disks only. Possible values /// include: 'V1', 'V2'</param> /// <param name="features">A list of gallery image features.</param> public SharedGalleryImage(OperatingSystemTypes osType, OperatingSystemStateTypes osState, GalleryImageIdentifier identifier, string name = default(string), string location = default(string), string uniqueId = default(string), System.DateTime?endOfLifeDate = default(System.DateTime?), RecommendedMachineConfiguration recommended = default(RecommendedMachineConfiguration), Disallowed disallowed = default(Disallowed), string hyperVGeneration = default(string), IList <GalleryImageFeature> features = default(IList <GalleryImageFeature>), ImagePurchasePlan purchasePlan = default(ImagePurchasePlan)) : base(name, location, uniqueId) { OsType = osType; OsState = osState; EndOfLifeDate = endOfLifeDate; Identifier = identifier; Recommended = recommended; Disallowed = disallowed; HyperVGeneration = hyperVGeneration; Features = features; PurchasePlan = purchasePlan; CustomInit(); }
/// <summary> /// Initializes a new instance of the GalleryImage class. /// </summary> /// <param name="location">Resource location</param> /// <param name="osType">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'</param> /// <param name="osState">The allowed values for OS State are /// 'Generalized'. Possible values include: 'Generalized', /// 'Specialized'</param> /// <param name="id">Resource Id</param> /// <param name="name">Resource name</param> /// <param name="type">Resource type</param> /// <param name="tags">Resource tags</param> /// <param name="description">The description of this gallery Image /// Definition resource. This property is updatable.</param> /// <param name="eula">The Eula agreement for the gallery Image /// Definition.</param> /// <param name="privacyStatementUri">The privacy statement /// uri.</param> /// <param name="releaseNoteUri">The release note uri.</param> /// <param name="endOfLifeDate">The end of life date of the gallery /// Image Definition. This property can be used for decommissioning /// purposes. This property is updatable.</param> /// <param name="provisioningState">The current state of the gallery /// Image Definition.</param> public GalleryImage(string location, OperatingSystemTypes osType, OperatingSystemStateTypes osState, GalleryImageIdentifier identifier, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string description = default(string), string eula = default(string), string privacyStatementUri = default(string), string releaseNoteUri = default(string), System.DateTime?endOfLifeDate = default(System.DateTime?), RecommendedMachineConfiguration recommended = default(RecommendedMachineConfiguration), Disallowed disallowed = default(Disallowed), ImagePurchasePlan purchasePlan = default(ImagePurchasePlan), string provisioningState = default(string)) : base(location, id, name, type, tags) { Description = description; Eula = eula; PrivacyStatementUri = privacyStatementUri; ReleaseNoteUri = releaseNoteUri; OsType = osType; OsState = osState; EndOfLifeDate = endOfLifeDate; Identifier = identifier; Recommended = recommended; Disallowed = disallowed; PurchasePlan = purchasePlan; ProvisioningState = provisioningState; CustomInit(); }