Share via


RangerAdminSpecDatabase Class

Definition

The RangerAdminSpecDatabase.

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

Constructors

RangerAdminSpecDatabase(String, String)

Initializes a new instance of RangerAdminSpecDatabase.

Properties

Host

The database URL.

Name

The database name.

PasswordSecretRef

Reference for the database password.

Username

The name of the database user.

Explicit Interface Implementations

IJsonModel<RangerAdminSpecDatabase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RangerAdminSpecDatabase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RangerAdminSpecDatabase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RangerAdminSpecDatabase>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RangerAdminSpecDatabase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to