Partager via


UsernamePasswordCredentialsUpdate Class

Definition

The credentials for authentication mode UsernamePassword.

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

Constructors

UsernamePasswordCredentialsUpdate()

Initializes a new instance of UsernamePasswordCredentialsUpdate.

Properties

PasswordReference

A reference to secret containing the password.

UsernameReference

A reference to secret containing the username.

Explicit Interface Implementations

IJsonModel<UsernamePasswordCredentialsUpdate>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<UsernamePasswordCredentialsUpdate>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<UsernamePasswordCredentialsUpdate>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<UsernamePasswordCredentialsUpdate>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<UsernamePasswordCredentialsUpdate>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to