Class OdbcLinkedService
java.lang.Object
com.azure.resourcemanager.datafactory.models.LinkedService
com.azure.resourcemanager.datafactory.models.OdbcLinkedService
Open Database Connectivity (ODBC) linked service.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the authenticationType property: Type of authentication used to connect to the ODBC data store.Get the connectionString property: The non-access credential portion of the connection string as well as an optional encrypted credential.Get the credential property: The access credential portion of the connection string specified in driver-specific property-value format.Get the encryptedCredential property: The encrypted credential used for authentication.password()Get the password property: Password for Basic authentication.username()Get the username property: User name for Basic authentication.voidvalidate()Validates the instance.withAnnotations(List<Object> annotations) Set the annotations property: List of tags that can be used for describing the linked service.withAuthenticationType(Object authenticationType) Set the authenticationType property: Type of authentication used to connect to the ODBC data store.withConnectionString(Object connectionString) Set the connectionString property: The non-access credential portion of the connection string as well as an optional encrypted credential.withConnectVia(IntegrationRuntimeReference connectVia) Set the connectVia property: The integration runtime reference.withCredential(SecretBase credential) Set the credential property: The access credential portion of the connection string specified in driver-specific property-value format.withDescription(String description) Set the description property: Linked service description.withEncryptedCredential(Object encryptedCredential) Set the encryptedCredential property: The encrypted credential used for authentication.withParameters(Map<String, ParameterSpecification> parameters) Set the parameters property: Parameters for linked service.withPassword(SecretBase password) Set the password property: Password for Basic authentication.withUsername(Object username) Set the username property: User name for Basic authentication.Methods inherited from class com.azure.resourcemanager.datafactory.models.LinkedService
additionalProperties, annotations, connectVia, description, parameters, withAdditionalProperties
-
Constructor Details
-
OdbcLinkedService
public OdbcLinkedService()Creates an instance of OdbcLinkedService class.
-
-
Method Details
-
withConnectVia
Set the connectVia property: The integration runtime reference.- Overrides:
withConnectViain classLinkedService- Parameters:
connectVia- the connectVia value to set.- Returns:
- the LinkedService object itself.
-
withDescription
Set the description property: Linked service description.- Overrides:
withDescriptionin classLinkedService- Parameters:
description- the description value to set.- Returns:
- the LinkedService object itself.
-
withParameters
Set the parameters property: Parameters for linked service.- Overrides:
withParametersin classLinkedService- Parameters:
parameters- the parameters value to set.- Returns:
- the LinkedService object itself.
-
withAnnotations
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
Get the connectionString property: The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference.- Returns:
- the connectionString value.
-
withConnectionString
Set the connectionString property: The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference.- Parameters:
connectionString- the connectionString value to set.- Returns:
- the OdbcLinkedService object itself.
-
authenticationType
Get the authenticationType property: Type of authentication used to connect to the ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string).- Returns:
- the authenticationType value.
-
withAuthenticationType
Set the authenticationType property: Type of authentication used to connect to the ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string).- Parameters:
authenticationType- the authenticationType value to set.- Returns:
- the OdbcLinkedService object itself.
-
credential
Get the credential property: The access credential portion of the connection string specified in driver-specific property-value format.- Returns:
- the credential value.
-
withCredential
Set the credential property: The access credential portion of the connection string specified in driver-specific property-value format.- Parameters:
credential- the credential value to set.- Returns:
- the OdbcLinkedService object itself.
-
username
Get the username property: User name for Basic authentication. Type: string (or Expression with resultType string).- Returns:
- the username value.
-
withUsername
Set the username property: User name for Basic authentication. Type: string (or Expression with resultType string).- Parameters:
username- the username value to set.- Returns:
- the OdbcLinkedService object itself.
-
password
Get the password property: Password for Basic authentication.- Returns:
- the password value.
-
withPassword
Set the password property: Password for Basic authentication.- Parameters:
password- the password value to set.- Returns:
- the OdbcLinkedService 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 OdbcLinkedService object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classLinkedService- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-