Class CosmosDbMongoDbApiLinkedService


  • public class CosmosDbMongoDbApiLinkedService
    extends LinkedService
    Linked service for CosmosDB (MongoDB API) data source.
    • Constructor Detail

      • CosmosDbMongoDbApiLinkedService

        public CosmosDbMongoDbApiLinkedService()
    • Method Detail

      • getConnectionString

        public Object getConnectionString()
        Get the connectionString property: The CosmosDB (MongoDB API) connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference.
        Returns:
        the connectionString value.
      • setConnectionString

        public CosmosDbMongoDbApiLinkedService setConnectionString​(Object connectionString)
        Set the connectionString property: The CosmosDB (MongoDB API) connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference.
        Parameters:
        connectionString - the connectionString value to set.
        Returns:
        the CosmosDbMongoDbApiLinkedService object itself.
      • getDatabase

        public Object getDatabase()
        Get the database property: The name of the CosmosDB (MongoDB API) database that you want to access. Type: string (or Expression with resultType string).
        Returns:
        the database value.
      • setDatabase

        public CosmosDbMongoDbApiLinkedService setDatabase​(Object database)
        Set the database property: The name of the CosmosDB (MongoDB API) database that you want to access. Type: string (or Expression with resultType string).
        Parameters:
        database - the database value to set.
        Returns:
        the CosmosDbMongoDbApiLinkedService object itself.
      • setAnnotations

        public CosmosDbMongoDbApiLinkedService setAnnotations​(List<Object> annotations)
        Set the annotations property: List of tags that can be used for describing the linked service.
        Overrides:
        setAnnotations in class LinkedService
        Parameters:
        annotations - the annotations value to set.
        Returns:
        the LinkedService object itself.