Show / Hide Table of Contents

    Class VirtualMachineScaleSetExtension

    Describes a Virtual Machine Scale Set Extension.

    Inheritance
    Object
    SubResourceReadOnly
    VirtualMachineScaleSetExtension
    Inherited Members
    SubResourceReadOnly.Id
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Compute.dll
    Syntax
    [Microsoft.Rest.Serialization.JsonTransformation]
    public class VirtualMachineScaleSetExtension : Microsoft.Azure.Management.Compute.Models.SubResourceReadOnly

    Constructors

    VirtualMachineScaleSetExtension()

    Initializes a new instance of the VirtualMachineScaleSetExtension class.

    Declaration
    public VirtualMachineScaleSetExtension ();

    VirtualMachineScaleSetExtension(String, String, String, String, String, String, Nullable<Boolean>, Object, Object, String, IList<String>)

    Initializes a new instance of the VirtualMachineScaleSetExtension class.

    Declaration
    public VirtualMachineScaleSetExtension (string id = null, string name = null, string forceUpdateTag = null, string publisher = null, string type = null, string typeHandlerVersion = null, Nullable<bool> autoUpgradeMinorVersion = null, object settings = null, object protectedSettings = null, string provisioningState = null, System.Collections.Generic.IList<string> provisionAfterExtensions = null);
    Parameters
    String id

    Resource Id

    String name

    The name of the extension.

    String forceUpdateTag

    If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.

    String publisher

    The name of the extension handler publisher.

    String type

    Specifies the type of the extension; an example is "CustomScriptExtension".

    String typeHandlerVersion

    Specifies the version of the script handler.

    Nullable<Boolean> autoUpgradeMinorVersion

    Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.

    Object settings

    Json formatted public settings for the extension.

    Object protectedSettings

    The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.

    String provisioningState

    The provisioning state, which only appears in the response.

    IList<String> provisionAfterExtensions

    Collection of extension names after which this extension needs to be provisioned.

    Properties

    AutoUpgradeMinorVersion

    Gets or sets indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.autoUpgradeMinorVersion")]
    public Nullable<bool> AutoUpgradeMinorVersion { get; set; }
    Property Value
    Nullable<Boolean>

    ForceUpdateTag

    Gets or sets if a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.forceUpdateTag")]
    public string ForceUpdateTag { get; set; }
    Property Value
    String

    Name

    Gets or sets the name of the extension.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="name")]
    public string Name { get; set; }
    Property Value
    String

    ProtectedSettings

    Gets or sets the extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.protectedSettings")]
    public object ProtectedSettings { get; set; }
    Property Value
    Object

    ProvisionAfterExtensions

    Gets or sets collection of extension names after which this extension needs to be provisioned.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.provisionAfterExtensions")]
    public System.Collections.Generic.IList<string> ProvisionAfterExtensions { get; set; }
    Property Value
    IList<String>

    ProvisioningState

    Gets the provisioning state, which only appears in the response.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.provisioningState")]
    public string ProvisioningState { get; }
    Property Value
    String

    Publisher

    Gets or sets the name of the extension handler publisher.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.publisher")]
    public string Publisher { get; set; }
    Property Value
    String

    Settings

    Gets or sets json formatted public settings for the extension.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.settings")]
    public object Settings { get; set; }
    Property Value
    Object

    Type

    Gets or sets specifies the type of the extension; an example is "CustomScriptExtension".

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.type")]
    public string Type { get; set; }
    Property Value
    String

    TypeHandlerVersion

    Gets or sets specifies the version of the script handler.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.typeHandlerVersion")]
    public string TypeHandlerVersion { get; set; }
    Property Value
    String

    Back to top Azure SDK for Net