Partager via


RangerAdminSpec Class

Definition

Specification for the Ranger Admin service.

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

Constructors

RangerAdminSpec(IEnumerable<String>, RangerAdminSpecDatabase)

Initializes a new instance of RangerAdminSpec.

Properties

Admins

List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of the respective AAD users.

Database

Gets or sets the database.

Explicit Interface Implementations

IJsonModel<RangerAdminSpec>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RangerAdminSpec>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RangerAdminSpec>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RangerAdminSpec>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RangerAdminSpec>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to