다음을 통해 공유


VirtualMachineScaleSetExtension Class

Definition

Describes a Virtual Machine Scale Set Extension.

[Microsoft.Rest.Serialization.JsonTransformation]
public class VirtualMachineScaleSetExtension : Microsoft.Azure.Management.Compute.Models.SubResourceReadOnly
[<Microsoft.Rest.Serialization.JsonTransformation>]
type VirtualMachineScaleSetExtension = class
    inherit SubResourceReadOnly
Public Class VirtualMachineScaleSetExtension
Inherits SubResourceReadOnly
Inheritance
VirtualMachineScaleSetExtension
Attributes

Constructors

VirtualMachineScaleSetExtension()

Initializes a new instance of the VirtualMachineScaleSetExtension class.

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

Initializes a new instance of the VirtualMachineScaleSetExtension class.

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.

EnableAutomaticUpgrade

Gets or sets indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.

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.

Id

Gets resource Id

(Inherited from SubResourceReadOnly)
Name

Gets or sets the name of the extension.

ProtectedSettings

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

ProtectedSettingsFromKeyVault

Gets or sets the extensions protected settings that are passed by reference, and consumed from key vault

ProvisionAfterExtensions

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

ProvisioningState

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

Publisher

Gets or sets the name of the extension handler publisher.

Settings

Gets or sets json formatted public settings for the extension.

SuppressFailures

Gets or sets indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.

Type

Gets resource type

Type1

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

TypeHandlerVersion

Gets or sets specifies the version of the script handler.

Methods

Validate()

Validate the object.

Applies to