Class AzureSqlMILinkedService
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.LinkedService
-
- com.azure.resourcemanager.datafactory.models.AzureSqlMILinkedService
-
public final class AzureSqlMILinkedService extends LinkedService
Azure SQL Managed Instance linked service.
-
-
Constructor Summary
Constructors Constructor Description AzureSqlMILinkedService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlAlwaysEncryptedPropertiesalwaysEncryptedSettings()Get the alwaysEncryptedSettings property: Sql always encrypted properties.ObjectazureCloudType()Get the azureCloudType property: Indicates the azure cloud type of the service principle auth.ObjectconnectionString()Get the connectionString property: The connection string.CredentialReferencecredential()Get the credential property: The credential reference containing authentication information.ObjectencryptedCredential()Get the encryptedCredential property: The encrypted credential used for authentication.AzureKeyVaultSecretReferencepassword()Get the password property: The Azure key vault secret reference of password in connection string.ObjectservicePrincipalId()Get the servicePrincipalId property: The ID of the service principal used to authenticate against Azure SQL Managed Instance.SecretBaseservicePrincipalKey()Get the servicePrincipalKey property: The key of the service principal used to authenticate against Azure SQL Managed Instance.Objecttenant()Get the tenant property: The name or ID of the tenant to which the service principal belongs.voidvalidate()Validates the instance.AzureSqlMILinkedServicewithAlwaysEncryptedSettings(SqlAlwaysEncryptedProperties alwaysEncryptedSettings)Set the alwaysEncryptedSettings property: Sql always encrypted properties.AzureSqlMILinkedServicewithAnnotations(List<Object> annotations)Set the annotations property: List of tags that can be used for describing the linked service.AzureSqlMILinkedServicewithAzureCloudType(Object azureCloudType)Set the azureCloudType property: Indicates the azure cloud type of the service principle auth.AzureSqlMILinkedServicewithConnectionString(Object connectionString)Set the connectionString property: The connection string.AzureSqlMILinkedServicewithConnectVia(IntegrationRuntimeReference connectVia)Set the connectVia property: The integration runtime reference.AzureSqlMILinkedServicewithCredential(CredentialReference credential)Set the credential property: The credential reference containing authentication information.AzureSqlMILinkedServicewithDescription(String description)Set the description property: Linked service description.AzureSqlMILinkedServicewithEncryptedCredential(Object encryptedCredential)Set the encryptedCredential property: The encrypted credential used for authentication.AzureSqlMILinkedServicewithParameters(Map<String,ParameterSpecification> parameters)Set the parameters property: Parameters for linked service.AzureSqlMILinkedServicewithPassword(AzureKeyVaultSecretReference password)Set the password property: The Azure key vault secret reference of password in connection string.AzureSqlMILinkedServicewithServicePrincipalId(Object servicePrincipalId)Set the servicePrincipalId property: The ID of the service principal used to authenticate against Azure SQL Managed Instance.AzureSqlMILinkedServicewithServicePrincipalKey(SecretBase servicePrincipalKey)Set the servicePrincipalKey property: The key of the service principal used to authenticate against Azure SQL Managed Instance.AzureSqlMILinkedServicewithTenant(Object tenant)Set the tenant property: The name or ID of the tenant to which the service principal belongs.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.LinkedService
additionalProperties, annotations, connectVia, description, parameters, withAdditionalProperties
-
-
-
-
Method Detail
-
withConnectVia
public AzureSqlMILinkedService withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.- Overrides:
withConnectViain classLinkedService- Parameters:
connectVia- the connectVia value to set.- Returns:
- the LinkedService object itself.
-
withDescription
public AzureSqlMILinkedService withDescription(String description)
Set the description property: Linked service description.- Overrides:
withDescriptionin classLinkedService- Parameters:
description- the description value to set.- Returns:
- the LinkedService object itself.
-
withParameters
public AzureSqlMILinkedService withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.- Overrides:
withParametersin classLinkedService- Parameters:
parameters- the parameters value to set.- Returns:
- the LinkedService object itself.
-
withAnnotations
public AzureSqlMILinkedService withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.- Overrides:
withAnnotationsin classLinkedService- Parameters:
annotations- the annotations value to set.- Returns:
- the LinkedService object itself.
-
connectionString
public Object connectionString()
Get the connectionString property: The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.- Returns:
- the connectionString value.
-
withConnectionString
public AzureSqlMILinkedService withConnectionString(Object connectionString)
Set the connectionString property: The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.- Parameters:
connectionString- the connectionString value to set.- Returns:
- the AzureSqlMILinkedService object itself.
-
password
public AzureKeyVaultSecretReference password()
Get the password property: The Azure key vault secret reference of password in connection string.- Returns:
- the password value.
-
withPassword
public AzureSqlMILinkedService withPassword(AzureKeyVaultSecretReference password)
Set the password property: The Azure key vault secret reference of password in connection string.- Parameters:
password- the password value to set.- Returns:
- the AzureSqlMILinkedService object itself.
-
servicePrincipalId
public Object 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
public AzureSqlMILinkedService withServicePrincipalId(Object servicePrincipalId)
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 AzureSqlMILinkedService object itself.
-
servicePrincipalKey
public SecretBase 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 AzureSqlMILinkedService 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 AzureSqlMILinkedService object itself.
-
tenant
public Object 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
public AzureSqlMILinkedService withTenant(Object tenant)
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 AzureSqlMILinkedService object itself.
-
azureCloudType
public Object 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
public AzureSqlMILinkedService withAzureCloudType(Object azureCloudType)
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 AzureSqlMILinkedService object itself.
-
encryptedCredential
public Object 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
public AzureSqlMILinkedService withEncryptedCredential(Object encryptedCredential)
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 AzureSqlMILinkedService object itself.
-
alwaysEncryptedSettings
public SqlAlwaysEncryptedProperties alwaysEncryptedSettings()
Get the alwaysEncryptedSettings property: Sql always encrypted properties.- Returns:
- the alwaysEncryptedSettings value.
-
withAlwaysEncryptedSettings
public AzureSqlMILinkedService withAlwaysEncryptedSettings(SqlAlwaysEncryptedProperties alwaysEncryptedSettings)
Set the alwaysEncryptedSettings property: Sql always encrypted properties.- Parameters:
alwaysEncryptedSettings- the alwaysEncryptedSettings value to set.- Returns:
- the AzureSqlMILinkedService object itself.
-
credential
public CredentialReference credential()
Get the credential property: The credential reference containing authentication information.- Returns:
- the credential value.
-
withCredential
public AzureSqlMILinkedService withCredential(CredentialReference credential)
Set the credential property: The credential reference containing authentication information.- Parameters:
credential- the credential value to set.- Returns:
- the AzureSqlMILinkedService object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classLinkedService- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-