你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
KeyVaultCredentialSettings Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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() |