Udostępnij za pośrednictwem


ClusterConfigFile Class

Definition

Cluster configuration files.

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

Constructors

ClusterConfigFile(String)

Initializes a new instance of ClusterConfigFile.

Properties

Content

Free form content of the entire configuration file.

Encoding

This property indicates if the content is encoded and is case-insensitive. Please set the value to base64 if the content is base64 encoded. Set it to none or skip it if the content is plain text.

FileName

Configuration file name.

Path

Path of the config file if content is specified.

Values

List of key value pairs where key represents a valid service configuration name and value represents the value of the config.

Explicit Interface Implementations

IJsonModel<ClusterConfigFile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ClusterConfigFile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ClusterConfigFile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ClusterConfigFile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ClusterConfigFile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to