| | | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | | 2 | | // Licensed under the MIT License. |
| | | 3 | | |
| | | 4 | | // <auto-generated/> |
| | | 5 | | |
| | | 6 | | #nullable disable |
| | | 7 | | |
| | | 8 | | using System.Collections.Generic; |
| | | 9 | | |
| | | 10 | | namespace Azure.ResourceManager.Compute.Models |
| | | 11 | | { |
| | | 12 | | /// <summary> Describes a Virtual Machine Extension. </summary> |
| | | 13 | | public partial class VirtualMachineExtensionUpdate : UpdateResource |
| | | 14 | | { |
| | | 15 | | /// <summary> Initializes a new instance of VirtualMachineExtensionUpdate. </summary> |
| | 0 | 16 | | public VirtualMachineExtensionUpdate() |
| | | 17 | | { |
| | 0 | 18 | | } |
| | | 19 | | |
| | | 20 | | /// <summary> Initializes a new instance of VirtualMachineExtensionUpdate. </summary> |
| | | 21 | | /// <param name="tags"> Resource tags. </param> |
| | | 22 | | /// <param name="forceUpdateTag"> How the extension handler should be forced to update even if the extension con |
| | | 23 | | /// <param name="publisher"> The name of the extension handler publisher. </param> |
| | | 24 | | /// <param name="type"> Specifies the type of the extension; an example is "CustomScriptExtension". </ |
| | | 25 | | /// <param name="typeHandlerVersion"> Specifies the version of the script handler. </param> |
| | | 26 | | /// <param name="autoUpgradeMinorVersion"> Indicates whether the extension should use a newer minor version if o |
| | | 27 | | /// <param name="settings"> Json formatted public settings for the extension. </param> |
| | | 28 | | /// <param name="protectedSettings"> The extension can contain either protectedSettings or protectedSettingsFrom |
| | 0 | 29 | | internal VirtualMachineExtensionUpdate(IDictionary<string, string> tags, string forceUpdateTag, string publisher |
| | | 30 | | { |
| | 0 | 31 | | ForceUpdateTag = forceUpdateTag; |
| | 0 | 32 | | Publisher = publisher; |
| | 0 | 33 | | Type = type; |
| | 0 | 34 | | TypeHandlerVersion = typeHandlerVersion; |
| | 0 | 35 | | AutoUpgradeMinorVersion = autoUpgradeMinorVersion; |
| | 0 | 36 | | Settings = settings; |
| | 0 | 37 | | ProtectedSettings = protectedSettings; |
| | 0 | 38 | | } |
| | | 39 | | |
| | | 40 | | /// <summary> How the extension handler should be forced to update even if the extension configuration has not c |
| | 0 | 41 | | public string ForceUpdateTag { get; set; } |
| | | 42 | | /// <summary> The name of the extension handler publisher. </summary> |
| | 0 | 43 | | public string Publisher { get; set; } |
| | | 44 | | /// <summary> Specifies the type of the extension; an example is "CustomScriptExtension". </summary> |
| | 0 | 45 | | public string Type { get; set; } |
| | | 46 | | /// <summary> Specifies the version of the script handler. </summary> |
| | 0 | 47 | | public string TypeHandlerVersion { get; set; } |
| | | 48 | | /// <summary> Indicates whether the extension should use a newer minor version if one is available at deployment |
| | 0 | 49 | | public bool? AutoUpgradeMinorVersion { get; set; } |
| | | 50 | | /// <summary> Json formatted public settings for the extension. </summary> |
| | 0 | 51 | | public object Settings { get; set; } |
| | | 52 | | /// <summary> The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protecte |
| | 0 | 53 | | public object ProtectedSettings { get; set; } |
| | | 54 | | } |
| | | 55 | | } |