다음을 통해 공유


AdministrativeCredentials Class

Definition

AdministrativeCredentials represents the admin credentials for the device requiring password-based authentication.

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

Constructors

AdministrativeCredentials(String)

Initializes a new instance of AdministrativeCredentials.

Properties

Password

The password of the administrator of the device used during initialization.

Username

The username of the administrator of the device used during initialization.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AdministrativeCredentials>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AdministrativeCredentials>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AdministrativeCredentials>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AdministrativeCredentials>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AdministrativeCredentials>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to