Class AzureSqlMILinkedServiceTypeProperties
java.lang.Object
com.azure.resourcemanager.datafactory.fluent.models.AzureSqlMILinkedServiceTypeProperties
Azure SQL Managed Instance linked service properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AzureSqlMILinkedServiceTypeProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the alwaysEncryptedSettings property: Sql always encrypted properties.Get the azureCloudType property: Indicates the azure cloud type of the service principle auth.Get the connectionString property: The connection string.Get the credential property: The credential reference containing authentication information.Get the encryptedCredential property: The encrypted credential used for authentication.password()Get the password property: The Azure key vault secret reference of password in connection string.Get the servicePrincipalId property: The ID of the service principal used to authenticate against Azure SQL Managed Instance.Get the servicePrincipalKey property: The key of the service principal used to authenticate against Azure SQL Managed Instance.tenant()Get the tenant property: The name or ID of the tenant to which the service principal belongs.voidvalidate()Validates the instance.withAlwaysEncryptedSettings(SqlAlwaysEncryptedProperties alwaysEncryptedSettings) Set the alwaysEncryptedSettings property: Sql always encrypted properties.withAzureCloudType(Object azureCloudType) Set the azureCloudType property: Indicates the azure cloud type of the service principle auth.withConnectionString(Object connectionString) Set the connectionString property: The connection string.withCredential(CredentialReference credential) Set the credential property: The credential reference containing authentication information.withEncryptedCredential(Object encryptedCredential) Set the encryptedCredential property: The encrypted credential used for authentication.withPassword(AzureKeyVaultSecretReference password) Set the password property: The Azure key vault secret reference of password in connection string.withServicePrincipalId(Object servicePrincipalId) Set the servicePrincipalId property: The ID of the service principal used to authenticate against Azure SQL Managed Instance.withServicePrincipalKey(SecretBase servicePrincipalKey) Set the servicePrincipalKey property: The key of the service principal used to authenticate against Azure SQL Managed Instance.withTenant(Object tenant) Set the tenant property: The name or ID of the tenant to which the service principal belongs.
-
Constructor Details
-
AzureSqlMILinkedServiceTypeProperties
public AzureSqlMILinkedServiceTypeProperties()Creates an instance of AzureSqlMILinkedServiceTypeProperties class.
-
-
Method Details
-
connectionString
Get the connectionString property: The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.- Returns:
- the connectionString value.
-
withConnectionString
Set the connectionString property: The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.- Parameters:
connectionString- the connectionString value to set.- Returns:
- the AzureSqlMILinkedServiceTypeProperties object itself.
-
password
Get the password property: The Azure key vault secret reference of password in connection string.- Returns:
- the password value.
-
withPassword
Set the password property: The Azure key vault secret reference of password in connection string.- Parameters:
password- the password value to set.- Returns:
- the AzureSqlMILinkedServiceTypeProperties object itself.
-
servicePrincipalId
Get the servicePrincipalId property: The ID of the service principal used to authenticate against Azure SQL Managed Instance. Type: string (or Expression with resultType string).- Returns:
- the servicePrincipalId value.
-
withServicePrincipalId
Set the servicePrincipalId property: The ID of the service principal used to authenticate against Azure SQL Managed Instance. Type: string (or Expression with resultType string).- Parameters:
servicePrincipalId- the servicePrincipalId value to set.- Returns:
- the AzureSqlMILinkedServiceTypeProperties object itself.
-
servicePrincipalKey
Get the servicePrincipalKey property: The key of the service principal used to authenticate against Azure SQL Managed Instance.- Returns:
- the servicePrincipalKey value.
-
withServicePrincipalKey
public AzureSqlMILinkedServiceTypeProperties withServicePrincipalKey(SecretBase servicePrincipalKey) Set the servicePrincipalKey property: The key of the service principal used to authenticate against Azure SQL Managed Instance.- Parameters:
servicePrincipalKey- the servicePrincipalKey value to set.- Returns:
- the AzureSqlMILinkedServiceTypeProperties object itself.
-
tenant
Get the tenant property: The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string).- Returns:
- the tenant value.
-
withTenant
Set the tenant property: The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string).- Parameters:
tenant- the tenant value to set.- Returns:
- the AzureSqlMILinkedServiceTypeProperties object itself.
-
azureCloudType
Get the azureCloudType property: Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).- Returns:
- the azureCloudType value.
-
withAzureCloudType
Set the azureCloudType property: Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).- Parameters:
azureCloudType- the azureCloudType value to set.- Returns:
- the AzureSqlMILinkedServiceTypeProperties object itself.
-
encryptedCredential
Get the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).- Returns:
- the encryptedCredential value.
-
withEncryptedCredential
Set the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).- Parameters:
encryptedCredential- the encryptedCredential value to set.- Returns:
- the AzureSqlMILinkedServiceTypeProperties object itself.
-
alwaysEncryptedSettings
Get the alwaysEncryptedSettings property: Sql always encrypted properties.- Returns:
- the alwaysEncryptedSettings value.
-
withAlwaysEncryptedSettings
public AzureSqlMILinkedServiceTypeProperties withAlwaysEncryptedSettings(SqlAlwaysEncryptedProperties alwaysEncryptedSettings) Set the alwaysEncryptedSettings property: Sql always encrypted properties.- Parameters:
alwaysEncryptedSettings- the alwaysEncryptedSettings value to set.- Returns:
- the AzureSqlMILinkedServiceTypeProperties 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 AzureSqlMILinkedServiceTypeProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-