SqlAlwaysEncryptedProperties Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. SqlAlwaysEncryptedProperties
- com.
Implements
public final class SqlAlwaysEncryptedProperties
implements JsonSerializable<SqlAlwaysEncryptedProperties>
Sql always encrypted properties.
Constructor Summary
| Constructor | Description |
|---|---|
| SqlAlwaysEncryptedProperties() |
Creates an instance of Sql |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Sql |
alwaysEncryptedAkvAuthType()
Get the always |
|
Credential |
credential()
Get the credential property: The credential reference containing authentication information. |
|
static
Sql |
fromJson(JsonReader jsonReader)
Reads an instance of Sql |
| Object |
servicePrincipalId()
Get the service |
|
Secret |
servicePrincipalKey()
Get the service |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Sql |
withAlwaysEncryptedAkvAuthType(SqlAlwaysEncryptedAkvAuthType alwaysEncryptedAkvAuthType)
Set the always |
|
Sql |
withCredential(CredentialReference credential)
Set the credential property: The credential reference containing authentication information. |
|
Sql |
withServicePrincipalId(Object servicePrincipalId)
Set the service |
|
Sql |
withServicePrincipalKey(SecretBase servicePrincipalKey)
Set the service |
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:
credential
public CredentialReference credential()
Get the credential property: The credential reference containing authentication information.
Returns:
fromJson
public static SqlAlwaysEncryptedProperties fromJson(JsonReader jsonReader)
Reads an instance of SqlAlwaysEncryptedProperties from the JsonReader.
Parameters:
Returns:
Throws:
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:
servicePrincipalKey
public SecretBase servicePrincipalKey()
Get the servicePrincipalKey property: The key of the service principal used to authenticate against Azure Key Vault.
Returns:
toJson
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:
Returns:
withCredential
public SqlAlwaysEncryptedProperties withCredential(CredentialReference credential)
Set the credential property: The credential reference containing authentication information.
Parameters:
Returns:
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:
Returns:
withServicePrincipalKey
public SqlAlwaysEncryptedProperties withServicePrincipalKey(SecretBase servicePrincipalKey)
Set the servicePrincipalKey property: The key of the service principal used to authenticate against Azure Key Vault.
Parameters:
Returns: