다음을 통해 공유


KeyVaultSecretReference Class

Definition

Describes a reference to Key Vault Secret.

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.ResourceManager.Compute.Models.KeyVaultSecretReference+KeyVaultSecretReferenceConverter))]
public class KeyVaultSecretReference : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.KeyVaultSecretReference>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.KeyVaultSecretReference>
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.ResourceManager.Compute.Models.KeyVaultSecretReference+KeyVaultSecretReferenceConverter))>]
type KeyVaultSecretReference = class
    interface IJsonModel<KeyVaultSecretReference>
    interface IPersistableModel<KeyVaultSecretReference>
Public Class KeyVaultSecretReference
Implements IJsonModel(Of KeyVaultSecretReference), IPersistableModel(Of KeyVaultSecretReference)
Inheritance
KeyVaultSecretReference
Attributes
Implements

Constructors

KeyVaultSecretReference(Uri, WritableSubResource)

Initializes a new instance of KeyVaultSecretReference.

Properties

SecretUri

The URL referencing a secret in a Key Vault.

SourceVaultId

Gets or sets Id.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<KeyVaultSecretReference>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<KeyVaultSecretReference>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<KeyVaultSecretReference>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<KeyVaultSecretReference>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<KeyVaultSecretReference>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to