Condividi tramite


NodeTypeVmssExtension Class

Definition

Specifies set of extensions that should be installed onto the virtual machines.

public class NodeTypeVmssExtension : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceFabricManagedClusters.Models.NodeTypeVmssExtension>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceFabricManagedClusters.Models.NodeTypeVmssExtension>
type NodeTypeVmssExtension = class
    interface IJsonModel<NodeTypeVmssExtension>
    interface IPersistableModel<NodeTypeVmssExtension>
Public Class NodeTypeVmssExtension
Implements IJsonModel(Of NodeTypeVmssExtension), IPersistableModel(Of NodeTypeVmssExtension)
Inheritance
NodeTypeVmssExtension
Implements

Constructors

NodeTypeVmssExtension(String, String, String, String)

Initializes a new instance of NodeTypeVmssExtension.

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.

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.

IsAutomaticUpgradeEnabled

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

Name

The name of the extension.

ProtectedSettings

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

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

ProvisionAfterExtensions

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

ProvisioningState

The provisioning state, which only appears in the response.

Publisher

The name of the extension handler publisher.

Settings

Json formatted public settings for the extension.

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

SetupOrder

Indicates the setup order for the extension.

TypeHandlerVersion

Specifies the version of the script handler.

VmssExtensionPropertiesType

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<NodeTypeVmssExtension>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<NodeTypeVmssExtension>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NodeTypeVmssExtension>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NodeTypeVmssExtension>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<NodeTypeVmssExtension>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to