Dela via


KeyVaultCredentialSettings Class

Definition

Configure your SQL virtual machine to be able to connect to the Azure Key Vault service.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.KeyVaultCredentialSettingsTypeConverter))]
public class KeyVaultCredentialSettings : Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.IKeyVaultCredentialSettings
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.KeyVaultCredentialSettingsTypeConverter))>]
type KeyVaultCredentialSettings = class
    interface IKeyVaultCredentialSettings
    interface IJsonSerializable
Public Class KeyVaultCredentialSettings
Implements IKeyVaultCredentialSettings
Inheritance
KeyVaultCredentialSettings
Attributes
Implements

Constructors

KeyVaultCredentialSettings()

Creates an new KeyVaultCredentialSettings instance.

Properties

AzureKeyVaultUrl

Azure Key Vault url.

CredentialName

Credential name.

Enable

Enable or disable key vault credential setting.

ServicePrincipalName

Service principal name to access key vault.

ServicePrincipalSecret

Service principal name secret to access key vault.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of KeyVaultCredentialSettings.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of KeyVaultCredentialSettings.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.IKeyVaultCredentialSettings.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of KeyVaultCredentialSettings into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to