Sdílet prostřednictvím


SecretBaseInfo Class

Definition

The secret info Please note SecretBaseInfo 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 KeyVaultSecretReferenceSecretInfo, KeyVaultSecretUriSecretInfo and RawValueSecretInfo.

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

Constructors

SecretBaseInfo()

Initializes a new instance of SecretBaseInfo.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SecretBaseInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SecretBaseInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SecretBaseInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SecretBaseInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SecretBaseInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to