共用方式為


DataProtectionBackupAuthCredentials Class

Definition

Base class for different types of authentication credentials. Please note DataProtectionBackupAuthCredentials is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include SecretStoreBasedAuthCredentials.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.DataProtectionBackup.Models.UnknownAuthCredentials))]
public abstract class DataProtectionBackupAuthCredentials : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupAuthCredentials>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupAuthCredentials>
public abstract class DataProtectionBackupAuthCredentials
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.DataProtectionBackup.Models.UnknownAuthCredentials))>]
type DataProtectionBackupAuthCredentials = class
    interface IJsonModel<DataProtectionBackupAuthCredentials>
    interface IPersistableModel<DataProtectionBackupAuthCredentials>
type DataProtectionBackupAuthCredentials = class
Public MustInherit Class DataProtectionBackupAuthCredentials
Implements IJsonModel(Of DataProtectionBackupAuthCredentials), IPersistableModel(Of DataProtectionBackupAuthCredentials)
Public MustInherit Class DataProtectionBackupAuthCredentials
Inheritance
DataProtectionBackupAuthCredentials
Derived
Attributes
Implements

Constructors

DataProtectionBackupAuthCredentials()

Initializes a new instance of DataProtectionBackupAuthCredentials.

Explicit Interface Implementations

IJsonModel<DataProtectionBackupAuthCredentials>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataProtectionBackupAuthCredentials>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataProtectionBackupAuthCredentials>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataProtectionBackupAuthCredentials>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataProtectionBackupAuthCredentials>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to