public final class SqlAlwaysEncryptedProperties extends Object
| Constructor and Description |
|---|
SqlAlwaysEncryptedProperties() |
| Modifier and Type | Method and Description |
|---|---|
SqlAlwaysEncryptedAkvAuthType |
alwaysEncryptedAkvAuthType()
Get the alwaysEncryptedAkvAuthType property: Sql always encrypted AKV authentication type.
|
Object |
servicePrincipalId()
Get the servicePrincipalId property: The client ID of the application in Azure Active Directory used for Azure
Key Vault authentication.
|
SecretBase |
servicePrincipalKey()
Get the servicePrincipalKey property: The key of the service principal used to authenticate against Azure Key
Vault.
|
void |
validate()
Validates the instance.
|
SqlAlwaysEncryptedProperties |
withAlwaysEncryptedAkvAuthType(SqlAlwaysEncryptedAkvAuthType alwaysEncryptedAkvAuthType)
Set the alwaysEncryptedAkvAuthType property: Sql always encrypted AKV authentication type.
|
SqlAlwaysEncryptedProperties |
withServicePrincipalId(Object servicePrincipalId)
Set the servicePrincipalId property: The client ID of the application in Azure Active Directory used for Azure
Key Vault authentication.
|
SqlAlwaysEncryptedProperties |
withServicePrincipalKey(SecretBase servicePrincipalKey)
Set the servicePrincipalKey property: The key of the service principal used to authenticate against Azure Key
Vault.
|
public SqlAlwaysEncryptedAkvAuthType alwaysEncryptedAkvAuthType()
public SqlAlwaysEncryptedProperties withAlwaysEncryptedAkvAuthType(SqlAlwaysEncryptedAkvAuthType alwaysEncryptedAkvAuthType)
alwaysEncryptedAkvAuthType - the alwaysEncryptedAkvAuthType value to set.public Object servicePrincipalId()
public SqlAlwaysEncryptedProperties withServicePrincipalId(Object servicePrincipalId)
servicePrincipalId - the servicePrincipalId value to set.public SecretBase servicePrincipalKey()
public SqlAlwaysEncryptedProperties withServicePrincipalKey(SecretBase servicePrincipalKey)
servicePrincipalKey - the servicePrincipalKey value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.