SqlAlwaysEncryptedProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.datafactory.models.SqlAlwaysEncryptedProperties

public final class SqlAlwaysEncryptedProperties

Sql always encrypted properties.

Constructor Summary

Constructor Description
SqlAlwaysEncryptedProperties()

Creates an instance of SqlAlwaysEncryptedProperties class.

Method Summary

Modifier and Type Method and Description
SqlAlwaysEncryptedAkvAuthType alwaysEncryptedAkvAuthType()

Get the alwaysEncryptedAkvAuthType property: Sql always encrypted AKV authentication type.

CredentialReference credential()

Get the credential property: The credential reference containing authentication information.

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 withCredential(CredentialReference credential)

Set the credential property: The credential reference containing authentication information.

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.

Methods inherited from java.lang.Object

Constructor Details

SqlAlwaysEncryptedProperties

public SqlAlwaysEncryptedProperties()

Creates an instance of SqlAlwaysEncryptedProperties class.

Method Details

alwaysEncryptedAkvAuthType

public SqlAlwaysEncryptedAkvAuthType alwaysEncryptedAkvAuthType()

Get the alwaysEncryptedAkvAuthType property: Sql always encrypted AKV authentication type. Type: string.

Returns:

the alwaysEncryptedAkvAuthType value.

credential

public CredentialReference credential()

Get the credential property: The credential reference containing authentication information.

Returns:

the credential value.

servicePrincipalId

public Object 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.

servicePrincipalKey

public SecretBase servicePrincipalKey()

Get the servicePrincipalKey property: The key of the service principal used to authenticate against Azure Key Vault.

Returns:

the servicePrincipalKey value.

validate

public void validate()

Validates the instance.

withAlwaysEncryptedAkvAuthType

public SqlAlwaysEncryptedProperties withAlwaysEncryptedAkvAuthType(SqlAlwaysEncryptedAkvAuthType alwaysEncryptedAkvAuthType)

Set the alwaysEncryptedAkvAuthType property: Sql always encrypted AKV authentication type. Type: string.

Parameters:

alwaysEncryptedAkvAuthType - the alwaysEncryptedAkvAuthType value to set.

Returns:

the SqlAlwaysEncryptedProperties object itself.

withCredential

public SqlAlwaysEncryptedProperties withCredential(CredentialReference credential)

Set the credential property: The credential reference containing authentication information.

Parameters:

credential - the credential value to set.

Returns:

the SqlAlwaysEncryptedProperties object itself.

withServicePrincipalId

public SqlAlwaysEncryptedProperties withServicePrincipalId(Object servicePrincipalId)

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.

withServicePrincipalKey

public SqlAlwaysEncryptedProperties withServicePrincipalKey(SecretBase servicePrincipalKey)

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.

Applies to