CosmosDBLinkedService Class
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.
Microsoft Azure Cosmos Database (CosmosDB) linked service.
public class CosmosDBLinkedService : Azure.ResourceManager.DataFactory.Models.DataFactoryLinkedServiceProperties, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataFactory.Models.CosmosDBLinkedService>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataFactory.Models.CosmosDBLinkedService>
public class CosmosDBLinkedService : Azure.ResourceManager.DataFactory.Models.DataFactoryLinkedServiceProperties
type CosmosDBLinkedService = class
inherit DataFactoryLinkedServiceProperties
interface IJsonModel<CosmosDBLinkedService>
interface IPersistableModel<CosmosDBLinkedService>
type CosmosDBLinkedService = class
inherit DataFactoryLinkedServiceProperties
Public Class CosmosDBLinkedService
Inherits DataFactoryLinkedServiceProperties
Implements IJsonModel(Of CosmosDBLinkedService), IPersistableModel(Of CosmosDBLinkedService)
Public Class CosmosDBLinkedService
Inherits DataFactoryLinkedServiceProperties
- Inheritance
- Implements
Constructors
CosmosDBLinkedService() |
Initializes a new instance of CosmosDBLinkedService. |
Properties
AccountEndpoint |
The endpoint of the Azure CosmosDB account. Type: string (or Expression with resultType string). |
AccountKey |
The account key of the Azure CosmosDB account. Type: SecureString or AzureKeyVaultSecretReference. |
AdditionalProperties |
Additional Properties To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
Annotations |
List of tags that can be used for describing the linked service. To assign an object to the element of this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
AzureCloudType |
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 |
The connection mode used to access CosmosDB account. Type: string. |
ConnectionString |
The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. |
ConnectVia |
The integration runtime reference. (Inherited from DataFactoryLinkedServiceProperties) |
Credential |
The credential reference containing authentication information. |
Database |
The name of the database. Type: string (or Expression with resultType string). |
Description |
Linked service description. (Inherited from DataFactoryLinkedServiceProperties) |
EncryptedCredential |
The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. |
LinkedServiceVersion |
Version of the linked service. (Inherited from DataFactoryLinkedServiceProperties) |
Parameters |
Parameters for linked service. (Inherited from DataFactoryLinkedServiceProperties) |
ServicePrincipalCredential |
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. |
ServicePrincipalCredentialType |
The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string. |
ServicePrincipalId |
The client ID of the application in Azure Active Directory used for Server-To-Server authentication. Type: string (or Expression with resultType string). |
Tenant |
The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | (Inherited from DataFactoryLinkedServiceProperties) |
Explicit Interface Implementations
Applies to
Azure SDK for .NET