Class SqlAlwaysEncryptedProperties
java.lang.Object
com.azure.resourcemanager.datafactory.models.SqlAlwaysEncryptedProperties
Sql always encrypted properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of SqlAlwaysEncryptedProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the alwaysEncryptedAkvAuthType property: Sql always encrypted AKV authentication type.Get the credential property: The credential reference containing authentication information.Get the servicePrincipalId property: The client ID of the application in Azure Active Directory used for Azure Key Vault authentication.Get the servicePrincipalKey property: The key of the service principal used to authenticate against Azure Key Vault.void
validate()
Validates the instance.withAlwaysEncryptedAkvAuthType
(SqlAlwaysEncryptedAkvAuthType alwaysEncryptedAkvAuthType) Set the alwaysEncryptedAkvAuthType property: Sql always encrypted AKV authentication type.withCredential
(CredentialReference credential) Set the credential property: The credential reference containing authentication information.withServicePrincipalId
(Object servicePrincipalId) Set the servicePrincipalId property: The client ID of the application in Azure Active Directory used for Azure Key Vault authentication.withServicePrincipalKey
(SecretBase servicePrincipalKey) Set the servicePrincipalKey property: The key of the service principal used to authenticate against Azure Key Vault.
-
Constructor Details
-
SqlAlwaysEncryptedProperties
public SqlAlwaysEncryptedProperties()Creates an instance of SqlAlwaysEncryptedProperties class.
-
-
Method Details
-
alwaysEncryptedAkvAuthType
Get the alwaysEncryptedAkvAuthType property: Sql always encrypted AKV authentication type. Type: string (or Expression with resultType string).- Returns:
- the alwaysEncryptedAkvAuthType value.
-
withAlwaysEncryptedAkvAuthType
public SqlAlwaysEncryptedProperties withAlwaysEncryptedAkvAuthType(SqlAlwaysEncryptedAkvAuthType alwaysEncryptedAkvAuthType) Set the alwaysEncryptedAkvAuthType property: Sql always encrypted AKV authentication type. Type: string (or Expression with resultType string).- Parameters:
alwaysEncryptedAkvAuthType
- the alwaysEncryptedAkvAuthType value to set.- Returns:
- the SqlAlwaysEncryptedProperties object itself.
-
servicePrincipalId
Get the servicePrincipalId property: The client ID of the application in Azure Active Directory used for Azure Key Vault authentication. Type: string (or Expression with resultType string).- Returns:
- the servicePrincipalId value.
-
withServicePrincipalId
Set the servicePrincipalId property: The client ID of the application in Azure Active Directory used for Azure Key Vault authentication. Type: string (or Expression with resultType string).- Parameters:
servicePrincipalId
- the servicePrincipalId value to set.- Returns:
- the SqlAlwaysEncryptedProperties object itself.
-
servicePrincipalKey
Get the servicePrincipalKey property: The key of the service principal used to authenticate against Azure Key Vault.- Returns:
- the servicePrincipalKey value.
-
withServicePrincipalKey
Set the servicePrincipalKey property: The key of the service principal used to authenticate against Azure Key Vault.- Parameters:
servicePrincipalKey
- the servicePrincipalKey value to set.- Returns:
- the SqlAlwaysEncryptedProperties object itself.
-
credential
Get the credential property: The credential reference containing authentication information.- Returns:
- the credential value.
-
withCredential
Set the credential property: The credential reference containing authentication information.- Parameters:
credential
- the credential value to set.- Returns:
- the SqlAlwaysEncryptedProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-