public class CosmosDbLinkedService extends LinkedService
| Constructor and Description |
|---|
CosmosDbLinkedService() |
| Modifier and Type | Method and Description |
|---|---|
Object |
accountEndpoint()
Get the accountEndpoint property: The endpoint of the Azure CosmosDB account.
|
SecretBase |
accountKey()
Get the accountKey property: The account key of the Azure CosmosDB account.
|
Object |
azureCloudType()
Get the azureCloudType property: Indicates the azure cloud type of the service principle auth.
|
CosmosDbConnectionMode |
connectionMode()
Get the connectionMode property: The connection mode used to access CosmosDB account.
|
Object |
connectionString()
Get the connectionString property: The connection string.
|
Object |
database()
Get the database property: The name of the database.
|
Object |
encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication.
|
SecretBase |
servicePrincipalCredential()
Get the servicePrincipalCredential property: The credential of the service principal object in Azure Active
Directory.
|
CosmosDbServicePrincipalCredentialType |
servicePrincipalCredentialType()
Get the servicePrincipalCredentialType property: The service principal credential type to use in Server-To-Server
authentication.
|
Object |
servicePrincipalId()
Get the servicePrincipalId property: The client ID of the application in Azure Active Directory used for
Server-To-Server authentication.
|
Object |
tenant()
Get the tenant property: The name or ID of the tenant to which the service principal belongs.
|
void |
validate()
Validates the instance.
|
CosmosDbLinkedService |
withAccountEndpoint(Object accountEndpoint)
Set the accountEndpoint property: The endpoint of the Azure CosmosDB account.
|
CosmosDbLinkedService |
withAccountKey(SecretBase accountKey)
Set the accountKey property: The account key of the Azure CosmosDB account.
|
CosmosDbLinkedService |
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.
|
CosmosDbLinkedService |
withAzureCloudType(Object azureCloudType)
Set the azureCloudType property: Indicates the azure cloud type of the service principle auth.
|
CosmosDbLinkedService |
withConnectionMode(CosmosDbConnectionMode connectionMode)
Set the connectionMode property: The connection mode used to access CosmosDB account.
|
CosmosDbLinkedService |
withConnectionString(Object connectionString)
Set the connectionString property: The connection string.
|
CosmosDbLinkedService |
withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.
|
CosmosDbLinkedService |
withDatabase(Object database)
Set the database property: The name of the database.
|
CosmosDbLinkedService |
withDescription(String description)
Set the description property: Linked service description.
|
CosmosDbLinkedService |
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.
|
CosmosDbLinkedService |
withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.
|
CosmosDbLinkedService |
withServicePrincipalCredential(SecretBase servicePrincipalCredential)
Set the servicePrincipalCredential property: The credential of the service principal object in Azure Active
Directory.
|
CosmosDbLinkedService |
withServicePrincipalCredentialType(CosmosDbServicePrincipalCredentialType servicePrincipalCredentialType)
Set the servicePrincipalCredentialType property: The service principal credential type to use in Server-To-Server
authentication.
|
CosmosDbLinkedService |
withServicePrincipalId(Object servicePrincipalId)
Set the servicePrincipalId property: The client ID of the application in Azure Active Directory used for
Server-To-Server authentication.
|
CosmosDbLinkedService |
withTenant(Object tenant)
Set the tenant property: The name or ID of the tenant to which the service principal belongs.
|
additionalProperties, annotations, connectVia, description, parameters, withAdditionalPropertiespublic Object connectionString()
public CosmosDbLinkedService withConnectionString(Object connectionString)
connectionString - the connectionString value to set.public Object accountEndpoint()
public CosmosDbLinkedService withAccountEndpoint(Object accountEndpoint)
accountEndpoint - the accountEndpoint value to set.public Object database()
public CosmosDbLinkedService withDatabase(Object database)
database - the database value to set.public SecretBase accountKey()
public CosmosDbLinkedService withAccountKey(SecretBase accountKey)
accountKey - the accountKey value to set.public Object servicePrincipalId()
public CosmosDbLinkedService withServicePrincipalId(Object servicePrincipalId)
servicePrincipalId - the servicePrincipalId value to set.public CosmosDbServicePrincipalCredentialType servicePrincipalCredentialType()
public CosmosDbLinkedService withServicePrincipalCredentialType(CosmosDbServicePrincipalCredentialType servicePrincipalCredentialType)
servicePrincipalCredentialType - the servicePrincipalCredentialType value to set.public SecretBase servicePrincipalCredential()
public CosmosDbLinkedService withServicePrincipalCredential(SecretBase servicePrincipalCredential)
servicePrincipalCredential - the servicePrincipalCredential value to set.public Object tenant()
public CosmosDbLinkedService withTenant(Object tenant)
tenant - the tenant value to set.public Object azureCloudType()
public CosmosDbLinkedService withAzureCloudType(Object azureCloudType)
azureCloudType - the azureCloudType value to set.public CosmosDbConnectionMode connectionMode()
public CosmosDbLinkedService withConnectionMode(CosmosDbConnectionMode connectionMode)
connectionMode - the connectionMode value to set.public Object encryptedCredential()
public CosmosDbLinkedService withEncryptedCredential(Object encryptedCredential)
encryptedCredential - the encryptedCredential value to set.public CosmosDbLinkedService withConnectVia(IntegrationRuntimeReference connectVia)
withConnectVia in class LinkedServiceconnectVia - the connectVia value to set.public CosmosDbLinkedService withDescription(String description)
withDescription in class LinkedServicedescription - the description value to set.public CosmosDbLinkedService withParameters(Map<String,ParameterSpecification> parameters)
withParameters in class LinkedServiceparameters - the parameters value to set.public CosmosDbLinkedService withAnnotations(List<Object> annotations)
withAnnotations in class LinkedServiceannotations - the annotations value to set.public void validate()
validate in class LinkedServiceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.