Class SqlServerLinkedService
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.LinkedService
-
- com.azure.resourcemanager.datafactory.models.SqlServerLinkedService
-
public final class SqlServerLinkedService extends LinkedService
SQL Server linked service.
-
-
Constructor Summary
Constructors Constructor Description SqlServerLinkedService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlAlwaysEncryptedProperties
alwaysEncryptedSettings()
Get the alwaysEncryptedSettings property: Sql always encrypted properties.Object
connectionString()
Get the connectionString property: The connection string.Object
encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication.SecretBase
password()
Get the password property: The on-premises Windows authentication password.Object
username()
Get the username property: The on-premises Windows authentication user name.void
validate()
Validates the instance.SqlServerLinkedService
withAlwaysEncryptedSettings(SqlAlwaysEncryptedProperties alwaysEncryptedSettings)
Set the alwaysEncryptedSettings property: Sql always encrypted properties.SqlServerLinkedService
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.SqlServerLinkedService
withConnectionString(Object connectionString)
Set the connectionString property: The connection string.SqlServerLinkedService
withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.SqlServerLinkedService
withDescription(String description)
Set the description property: Linked service description.SqlServerLinkedService
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.SqlServerLinkedService
withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.SqlServerLinkedService
withPassword(SecretBase password)
Set the password property: The on-premises Windows authentication password.SqlServerLinkedService
withUsername(Object username)
Set the username property: The on-premises Windows authentication user name.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.LinkedService
additionalProperties, annotations, connectVia, description, parameters, withAdditionalProperties
-
-
-
-
Method Detail
-
withConnectVia
public SqlServerLinkedService withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.- Overrides:
withConnectVia
in classLinkedService
- Parameters:
connectVia
- the connectVia value to set.- Returns:
- the LinkedService object itself.
-
withDescription
public SqlServerLinkedService withDescription(String description)
Set the description property: Linked service description.- Overrides:
withDescription
in classLinkedService
- Parameters:
description
- the description value to set.- Returns:
- the LinkedService object itself.
-
withParameters
public SqlServerLinkedService withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.- Overrides:
withParameters
in classLinkedService
- Parameters:
parameters
- the parameters value to set.- Returns:
- the LinkedService object itself.
-
withAnnotations
public SqlServerLinkedService withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.- Overrides:
withAnnotations
in 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 SqlServerLinkedService withConnectionString(Object connectionString)
Set the connectionString property: The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.- Parameters:
connectionString
- the connectionString value to set.- Returns:
- the SqlServerLinkedService object itself.
-
username
public Object username()
Get the username property: The on-premises Windows authentication user name. Type: string (or Expression with resultType string).- Returns:
- the username value.
-
withUsername
public SqlServerLinkedService withUsername(Object username)
Set the username property: The on-premises Windows authentication user name. Type: string (or Expression with resultType string).- Parameters:
username
- the username value to set.- Returns:
- the SqlServerLinkedService object itself.
-
password
public SecretBase password()
Get the password property: The on-premises Windows authentication password.- Returns:
- the password value.
-
withPassword
public SqlServerLinkedService withPassword(SecretBase password)
Set the password property: The on-premises Windows authentication password.- Parameters:
password
- the password value to set.- Returns:
- the SqlServerLinkedService 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 SqlServerLinkedService 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 SqlServerLinkedService object itself.
-
alwaysEncryptedSettings
public SqlAlwaysEncryptedProperties alwaysEncryptedSettings()
Get the alwaysEncryptedSettings property: Sql always encrypted properties.- Returns:
- the alwaysEncryptedSettings value.
-
withAlwaysEncryptedSettings
public SqlServerLinkedService withAlwaysEncryptedSettings(SqlAlwaysEncryptedProperties alwaysEncryptedSettings)
Set the alwaysEncryptedSettings property: Sql always encrypted properties.- Parameters:
alwaysEncryptedSettings
- the alwaysEncryptedSettings value to set.- Returns:
- the SqlServerLinkedService object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classLinkedService
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-