Share via


AkriConnectorTemplateRuntimeStatefulSetConfiguration Class

Definition

AkriConnectorTemplateRuntimeStatefulSetConfiguration properties.

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

Constructors

Name Description
AkriConnectorTemplateRuntimeStatefulSetConfiguration(IDictionary<String,BinaryData>)

Initializes a new instance of AkriConnectorTemplateRuntimeStatefulSetConfiguration.

Properties

Name Description
AdditionalConfiguration

Additional configuration for the image of the managed configuration.

(Inherited from AkriConnectorTemplateManagedConfigurationSettings)
Allocation

Allocation settings for the managed configuration. Please note AkriConnectorTemplateAllocation is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AkriConnectorTemplateBucketizedAllocation.

(Inherited from AkriConnectorTemplateManagedConfigurationSettings)
PersistentVolumeClaims

The persistent volume claims for the managed configuration.

(Inherited from AkriConnectorTemplateManagedConfigurationSettings)
PersistentVolumeClaimTemplates

The persistent volume claim templates for the managed configuration. See https://raw.githubusercontent.com/kubernetes/kubernetes/refs/heads/master/api/openapi-spec/v3/apis__apps__v1_openapi.json.

To assign an object to the element of 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" }.

(Inherited from AkriConnectorTemplateManagedConfigurationSettings)
Secrets

Connector secrets that will be mounted onto all connector instances.

(Inherited from AkriConnectorTemplateManagedConfigurationSettings)
StatefulSetConfigurationSettings

The stateful set configuration settings. This corresponds to the Kubernetes StatefulSet resource. See https://raw.githubusercontent.com/kubernetes/kubernetes/refs/heads/master/api/openapi-spec/v3/apis__apps__v1_openapi.json#/components/schemas/io.k8s.api.apps.v1.StatefulSetSpec

To assign an object to the value of 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" }.

TrustListSecretRef

The secret reference for certificates to trust.

(Inherited from AkriConnectorTemplateManagedConfigurationSettings)

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<AkriConnectorTemplateManagedConfigurationSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from AkriConnectorTemplateManagedConfigurationSettings)
IJsonModel<AkriConnectorTemplateManagedConfigurationSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from AkriConnectorTemplateManagedConfigurationSettings)
IJsonModel<AkriConnectorTemplateRuntimeStatefulSetConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AkriConnectorTemplateRuntimeStatefulSetConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AkriConnectorTemplateManagedConfigurationSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from AkriConnectorTemplateManagedConfigurationSettings)
IPersistableModel<AkriConnectorTemplateManagedConfigurationSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from AkriConnectorTemplateManagedConfigurationSettings)
IPersistableModel<AkriConnectorTemplateManagedConfigurationSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from AkriConnectorTemplateManagedConfigurationSettings)
IPersistableModel<AkriConnectorTemplateRuntimeStatefulSetConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AkriConnectorTemplateRuntimeStatefulSetConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AkriConnectorTemplateRuntimeStatefulSetConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to