ArcExtensionData Class

Definition

A class representing the ArcExtension data model. Details of a particular extension in HCI Cluster.

public class ArcExtensionData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Hci.ArcExtensionData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Hci.ArcExtensionData>
public class ArcExtensionData : Azure.ResourceManager.Models.ResourceData
type ArcExtensionData = class
    inherit ResourceData
    interface IJsonModel<ArcExtensionData>
    interface IPersistableModel<ArcExtensionData>
type ArcExtensionData = class
    inherit ResourceData
Public Class ArcExtensionData
Inherits ResourceData
Implements IJsonModel(Of ArcExtensionData), IPersistableModel(Of ArcExtensionData)
Public Class ArcExtensionData
Inherits ResourceData
Inheritance
ArcExtensionData
Implements

Constructors

ArcExtensionData()

Initializes a new instance of ArcExtensionData.

Properties

AggregateState

Aggregate state of Arc Extensions across the nodes in this HCI cluster.

ArcExtensionType

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

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.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
ManagedBy

Indicates if the extension is managed by azure or the user.

Name

The name of the resource.

(Inherited from ResourceData)
PerNodeExtensionDetails

State of Arc Extension in each of the nodes.

ProtectedSettings

Protected settings (may contain secrets).

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" }.

ProvisioningState

Provisioning state of the Extension proxy resource.

Publisher

The name of the extension handler publisher.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
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" }.

ShouldAutoUpgradeMinorVersion

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.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
TypeHandlerVersion

Specifies the version of the script handler. Latest version would be used if not specified.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<ArcExtensionData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ArcExtensionData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ArcExtensionData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ArcExtensionData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ArcExtensionData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to