Share via


KeyVaultSecretReferenceSecretInfo Class

Definition

The secret info when type is keyVaultSecretReference. It's for scenario that user provides a secret stored in user's keyvault and source is Azure Kubernetes. The key Vault's resource id is linked to secretStore.keyVaultId.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.KeyVaultSecretReferenceSecretInfoTypeConverter))]
public class KeyVaultSecretReferenceSecretInfo : Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IKeyVaultSecretReferenceSecretInfo, Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.KeyVaultSecretReferenceSecretInfoTypeConverter))>]
type KeyVaultSecretReferenceSecretInfo = class
    interface IKeyVaultSecretReferenceSecretInfo
    interface IJsonSerializable
    interface ISecretInfoBase
    interface IValidates
Public Class KeyVaultSecretReferenceSecretInfo
Implements IKeyVaultSecretReferenceSecretInfo, IValidates
Inheritance
KeyVaultSecretReferenceSecretInfo
Attributes
Implements

Constructors

KeyVaultSecretReferenceSecretInfo()

Creates an new KeyVaultSecretReferenceSecretInfo instance.

Properties

Name

Name of the Key Vault secret.

SecretType

The secret type.

Version

Version of the Key Vault secret.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of KeyVaultSecretReferenceSecretInfo.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of KeyVaultSecretReferenceSecretInfo.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IKeyVaultSecretReferenceSecretInfo.

FromJsonString(String)

Creates a new instance of KeyVaultSecretReferenceSecretInfo, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of KeyVaultSecretReferenceSecretInfo into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to