CosmosDbLinkedService Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CosmosDbLinkedService() |
Initializes a new instance of the CosmosDbLinkedService class. |
CosmosDbLinkedService(IDictionary<String,Object>, IntegrationRuntimeReference, String, IDictionary<String,ParameterSpecification>, IList<Object>, Object, Object, Object, SecretBase, Object, String, SecretBase, Object, Object, String, Object, CredentialReference) |
Initializes a new instance of the CosmosDbLinkedService class. |
CosmosDbLinkedService()
Initializes a new instance of the CosmosDbLinkedService class.
public CosmosDbLinkedService ();
Public Sub New ()
Applies to
CosmosDbLinkedService(IDictionary<String,Object>, IntegrationRuntimeReference, String, IDictionary<String,ParameterSpecification>, IList<Object>, Object, Object, Object, SecretBase, Object, String, SecretBase, Object, Object, String, Object, CredentialReference)
Initializes a new instance of the CosmosDbLinkedService class.
public CosmosDbLinkedService (System.Collections.Generic.IDictionary<string,object> additionalProperties = default, Microsoft.Azure.Management.DataFactory.Models.IntegrationRuntimeReference connectVia = default, string description = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.DataFactory.Models.ParameterSpecification> parameters = default, System.Collections.Generic.IList<object> annotations = default, object connectionString = default, object accountEndpoint = default, object database = default, Microsoft.Azure.Management.DataFactory.Models.SecretBase accountKey = default, object servicePrincipalId = default, string servicePrincipalCredentialType = default, Microsoft.Azure.Management.DataFactory.Models.SecretBase servicePrincipalCredential = default, object tenant = default, object azureCloudType = default, string connectionMode = default, object encryptedCredential = default, Microsoft.Azure.Management.DataFactory.Models.CredentialReference credential = default);
new Microsoft.Azure.Management.DataFactory.Models.CosmosDbLinkedService : System.Collections.Generic.IDictionary<string, obj> * Microsoft.Azure.Management.DataFactory.Models.IntegrationRuntimeReference * string * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.DataFactory.Models.ParameterSpecification> * System.Collections.Generic.IList<obj> * obj * obj * obj * Microsoft.Azure.Management.DataFactory.Models.SecretBase * obj * string * Microsoft.Azure.Management.DataFactory.Models.SecretBase * obj * obj * string * obj * Microsoft.Azure.Management.DataFactory.Models.CredentialReference -> Microsoft.Azure.Management.DataFactory.Models.CosmosDbLinkedService
Public Sub New (Optional additionalProperties As IDictionary(Of String, Object) = Nothing, Optional connectVia As IntegrationRuntimeReference = Nothing, Optional description As String = Nothing, Optional parameters As IDictionary(Of String, ParameterSpecification) = Nothing, Optional annotations As IList(Of Object) = Nothing, Optional connectionString As Object = Nothing, Optional accountEndpoint As Object = Nothing, Optional database As Object = Nothing, Optional accountKey As SecretBase = Nothing, Optional servicePrincipalId As Object = Nothing, Optional servicePrincipalCredentialType As String = Nothing, Optional servicePrincipalCredential As SecretBase = Nothing, Optional tenant As Object = Nothing, Optional azureCloudType As Object = Nothing, Optional connectionMode As String = Nothing, Optional encryptedCredential As Object = Nothing, Optional credential As CredentialReference = Nothing)
Parameters
- additionalProperties
- IDictionary<String,Object>
Unmatched properties from the message are deserialized this collection
- connectVia
- IntegrationRuntimeReference
The integration runtime reference.
- description
- String
Linked service description.
- parameters
- IDictionary<String,ParameterSpecification>
Parameters for linked service.
- connectionString
- Object
The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
- accountEndpoint
- Object
The endpoint of the Azure CosmosDB account. Type: string (or Expression with resultType string)
- database
- Object
The name of the database. Type: string (or Expression with resultType string)
- accountKey
- SecretBase
The account key of the Azure CosmosDB account. Type: SecureString or AzureKeyVaultSecretReference.
- servicePrincipalId
- Object
The client ID of the application in Azure Active Directory used for Server-To-Server authentication. Type: string (or Expression with resultType string).
- servicePrincipalCredentialType
- String
The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string). Possible values include: 'ServicePrincipalKey', 'ServicePrincipalCert'
- servicePrincipalCredential
- SecretBase
The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference.
- tenant
- Object
The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string).
- azureCloudType
- Object
Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).
- connectionMode
- String
The connection mode used to access CosmosDB account. Type: string (or Expression with resultType string). Possible values include: 'Gateway', 'Direct'
- encryptedCredential
- Object
The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
- credential
- CredentialReference
The credential reference containing authentication information.
Applies to
Azure SDK for .NET