다음을 통해 공유


MachineExtensionProperties Class

Definition

Describes the properties of a Machine Extension.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineExtensionPropertiesTypeConverter))]
public class MachineExtensionProperties : Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineExtensionPropertiesTypeConverter))>]
type MachineExtensionProperties = class
    interface IMachineExtensionProperties
    interface IJsonSerializable
Public Class MachineExtensionProperties
Implements IMachineExtensionProperties
Inheritance
MachineExtensionProperties
Attributes
Implements

Constructors

MachineExtensionProperties()

Creates an new MachineExtensionProperties instance.

Properties

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.

EnableAutomaticUpgrade

Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available.

ForceUpdateTag

How the extension handler should be forced to update even if the extension configuration has not changed.

InstanceViewName

The machine extension name.

InstanceViewType

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

InstanceViewTypeHandlerVersion

Specifies the version of the script handler.

ProtectedSetting

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

ProvisioningState

The provisioning state, which only appears in the response.

Publisher

The name of the extension handler publisher.

Setting

Json formatted public settings for the extension.

StatusCode

The status code.

StatusDisplayStatus

The short localizable label for the status.

StatusLevel

The level code.

StatusMessage

The detailed status message, including for alerts and error messages.

StatusTime

The time of the status.

Type

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

TypeHandlerVersion

Specifies the version of the script handler.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MachineExtensionProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MachineExtensionProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionProperties.

FromJsonString(String)

Creates a new instance of MachineExtensionProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of MachineExtensionProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to