MongoDbLinkedService Class

Linked service for MongoDb data source.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.datafactory.models._models_py3.LinkedService
MongoDbLinkedService

Constructor

MongoDbLinkedService(*, server: Any, database_name: Any, additional_properties: Optional[Dict[str, Any]] = None, connect_via: Optional[_models.IntegrationRuntimeReference] = None, description: Optional[str] = None, parameters: Optional[Dict[str, _models.ParameterSpecification]] = None, annotations: Optional[List[Any]] = None, authentication_type: Optional[Union[str, _models.MongoDbAuthenticationType]] = None, username: Optional[Any] = None, password: Optional[_models.SecretBase] = None, auth_source: Optional[Any] = None, port: Optional[Any] = None, enable_ssl: Optional[Any] = None, allow_self_signed_server_cert: Optional[Any] = None, encrypted_credential: Optional[Any] = None, **kwargs)

Variables

additional_properties
dict[str, any]

Unmatched properties from the message are deserialized to this collection.

type
str

Required. Type of linked service.Constant filled by server.

connect_via
IntegrationRuntimeReference

The integration runtime reference.

description
str

Linked service description.

parameters
dict[str, ParameterSpecification]

Parameters for linked service.

annotations
list[any]

List of tags that can be used for describing the linked service.

server
any

Required. The IP address or server name of the MongoDB server. Type: string (or Expression with resultType string).

authentication_type
str or MongoDbAuthenticationType

The authentication type to be used to connect to the MongoDB database. Known values are: "Basic", "Anonymous".

database_name
any

Required. The name of the MongoDB database that you want to access. Type: string (or Expression with resultType string).

username
any

Username for authentication. Type: string (or Expression with resultType string).

password
SecretBase

Password for authentication.

auth_source
any

Database to verify the username and password. Type: string (or Expression with resultType string).

port
any

The TCP port number that the MongoDB server uses to listen for client connections. The default value is 27017. Type: integer (or Expression with resultType integer), minimum: 0.

enable_ssl
any

Specifies whether the connections to the server are encrypted using SSL. The default value is false. Type: boolean (or Expression with resultType boolean).

allow_self_signed_server_cert
any

Specifies whether to allow self-signed certificates from the server. The default value is false. Type: boolean (or Expression with resultType boolean).

encrypted_credential
any

The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).