Class CosmosDbLinkedService
java.lang.Object
com.azure.analytics.synapse.artifacts.models.LinkedService
com.azure.analytics.synapse.artifacts.models.CosmosDbLinkedService
Microsoft Azure Cosmos Database (CosmosDB) linked service.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the accountEndpoint property: The endpoint of the Azure CosmosDB account.Get the accountKey property: The account key of the Azure CosmosDB account.Get the connectionString property: The connection string.Get the database property: The name of the database.Get the encryptedCredential property: The encrypted credential used for authentication.setAccountEndpoint
(Object accountEndpoint) Set the accountEndpoint property: The endpoint of the Azure CosmosDB account.setAccountKey
(SecretBase accountKey) Set the accountKey property: The account key of the Azure CosmosDB account.setAnnotations
(List<Object> annotations) Set the annotations property: List of tags that can be used for describing the linked service.setConnectionString
(Object connectionString) Set the connectionString property: The connection string.setConnectVia
(IntegrationRuntimeReference connectVia) Set the connectVia property: The integration runtime reference.setDatabase
(Object database) Set the database property: The name of the database.setDescription
(String description) Set the description property: Linked service description.setEncryptedCredential
(Object encryptedCredential) Set the encryptedCredential property: The encrypted credential used for authentication.setParameters
(Map<String, ParameterSpecification> parameters) Set the parameters property: Parameters for linked service.Methods inherited from class com.azure.analytics.synapse.artifacts.models.LinkedService
getAdditionalProperties, getAnnotations, getConnectVia, getDescription, getParameters, setAdditionalProperties
-
Constructor Details
-
CosmosDbLinkedService
public CosmosDbLinkedService()
-
-
Method Details
-
getConnectionString
Get the connectionString property: The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.- Returns:
- the connectionString value.
-
setConnectionString
Set the connectionString property: The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.- Parameters:
connectionString
- the connectionString value to set.- Returns:
- the CosmosDbLinkedService object itself.
-
getAccountEndpoint
Get the accountEndpoint property: The endpoint of the Azure CosmosDB account. Type: string (or Expression with resultType string).- Returns:
- the accountEndpoint value.
-
setAccountEndpoint
Set the accountEndpoint property: The endpoint of the Azure CosmosDB account. Type: string (or Expression with resultType string).- Parameters:
accountEndpoint
- the accountEndpoint value to set.- Returns:
- the CosmosDbLinkedService object itself.
-
getDatabase
Get the database property: The name of the database. Type: string (or Expression with resultType string).- Returns:
- the database value.
-
setDatabase
Set the database property: The name of the database. Type: string (or Expression with resultType string).- Parameters:
database
- the database value to set.- Returns:
- the CosmosDbLinkedService object itself.
-
getAccountKey
Get the accountKey property: The account key of the Azure CosmosDB account. Type: SecureString or AzureKeyVaultSecretReference.- Returns:
- the accountKey value.
-
setAccountKey
Set the accountKey property: The account key of the Azure CosmosDB account. Type: SecureString or AzureKeyVaultSecretReference.- Parameters:
accountKey
- the accountKey value to set.- Returns:
- the CosmosDbLinkedService object itself.
-
getEncryptedCredential
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.
-
setEncryptedCredential
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 CosmosDbLinkedService object itself.
-
setConnectVia
Set the connectVia property: The integration runtime reference.- Overrides:
setConnectVia
in classLinkedService
- Parameters:
connectVia
- the connectVia value to set.- Returns:
- the LinkedService object itself.
-
setDescription
Set the description property: Linked service description.- Overrides:
setDescription
in classLinkedService
- Parameters:
description
- the description value to set.- Returns:
- the LinkedService object itself.
-
setParameters
Set the parameters property: Parameters for linked service.- Overrides:
setParameters
in classLinkedService
- Parameters:
parameters
- the parameters value to set.- Returns:
- the LinkedService object itself.
-
setAnnotations
Set the annotations property: List of tags that can be used for describing the linked service.- Overrides:
setAnnotations
in classLinkedService
- Parameters:
annotations
- the annotations value to set.- Returns:
- the LinkedService object itself.
-