New-AzVMSqlServerKeyVaultCredentialConfig
Membuat objek konfigurasi untuk kredensial brankas kunci server SQL pada komputer virtual.
Sintaks
New-AzVMSqlServerKeyVaultCredentialConfig
[-ResourceGroupName] <String>
[-Enable]
[-CredentialName <String>]
[-AzureKeyVaultUrl <String>]
[-ServicePrincipalName <String>]
[-ServicePrincipalSecret <SecureString>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Deskripsi
Cmdlet New-AzVMSqlServerKeyVaultCredentialConfig membuat objek konfigurasi untuk kredensial brankas kunci server SQL pada komputer virtual.
Contoh
Contoh 1
New-AzVMSqlServerKeyVaultCredentialConfig -ResourceGroupName "ResourceGroup11" -Enable -AzureKeyVaultUrl https://myvault.vault.azure.net/ -CredentialName test1
ResourceGroupName : ResourceGroup11
Enable : True
CredentialName : test1
AzureKeyVaultUrl : https://myvault.vault.azure.net/
ServicePrincipalName :
ServicePrincipalSecret :
Credentials :
Parameter
-AzureKeyVaultUrl
URL layanan Azure Key Vault
Jenis: | String |
Position: | Named |
Nilai default: | None |
Diperlukan: | False |
Terima input alur: | True |
Terima karakter wildcard: | False |
-Confirm
Meminta Anda mengonfirmasi sebelum menjalankan cmdlet.
Jenis: | SwitchParameter |
Alias: | cf |
Position: | Named |
Nilai default: | False |
Diperlukan: | False |
Terima input alur: | False |
Terima karakter wildcard: | False |
-CredentialName
Jenis: | String |
Position: | Named |
Nilai default: | None |
Diperlukan: | False |
Terima input alur: | True |
Terima karakter wildcard: | False |
-Enable
Jenis: | SwitchParameter |
Position: | Named |
Nilai default: | None |
Diperlukan: | False |
Terima input alur: | True |
Terima karakter wildcard: | False |
-ResourceGroupName
Jenis: | String |
Position: | 0 |
Nilai default: | None |
Diperlukan: | True |
Terima input alur: | True |
Terima karakter wildcard: | False |
-ServicePrincipalName
Jenis: | String |
Position: | Named |
Nilai default: | None |
Diperlukan: | False |
Terima input alur: | True |
Terima karakter wildcard: | False |
-ServicePrincipalSecret
Jenis: | SecureString |
Position: | Named |
Nilai default: | None |
Diperlukan: | False |
Terima input alur: | True |
Terima karakter wildcard: | False |
-WhatIf
Menunjukkan apa yang akan terjadi jika cmdlet berjalan.
Cmdlet tidak dijalankan.
Jenis: | SwitchParameter |
Alias: | wi |
Position: | Named |
Nilai default: | False |
Diperlukan: | False |
Terima input alur: | False |
Terima karakter wildcard: | False |
String
SwitchParameter
SecureString
Output
KeyVaultCredentialSettings