public final class CosmosDbLinkedServiceTypeProperties extends Object
| Constructor and Description |
|---|
CosmosDbLinkedServiceTypeProperties() |
| 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.
|
CosmosDbLinkedServiceTypeProperties |
withAccountEndpoint(Object accountEndpoint)
Set the accountEndpoint property: The endpoint of the Azure CosmosDB account.
|
CosmosDbLinkedServiceTypeProperties |
withAccountKey(SecretBase accountKey)
Set the accountKey property: The account key of the Azure CosmosDB account.
|
CosmosDbLinkedServiceTypeProperties |
withAzureCloudType(Object azureCloudType)
Set the azureCloudType property: Indicates the azure cloud type of the service principle auth.
|
CosmosDbLinkedServiceTypeProperties |
withConnectionMode(CosmosDbConnectionMode connectionMode)
Set the connectionMode property: The connection mode used to access CosmosDB account.
|
CosmosDbLinkedServiceTypeProperties |
withConnectionString(Object connectionString)
Set the connectionString property: The connection string.
|
CosmosDbLinkedServiceTypeProperties |
withDatabase(Object database)
Set the database property: The name of the database.
|
CosmosDbLinkedServiceTypeProperties |
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.
|
CosmosDbLinkedServiceTypeProperties |
withServicePrincipalCredential(SecretBase servicePrincipalCredential)
Set the servicePrincipalCredential property: The credential of the service principal object in Azure Active
Directory.
|
CosmosDbLinkedServiceTypeProperties |
withServicePrincipalCredentialType(CosmosDbServicePrincipalCredentialType servicePrincipalCredentialType)
Set the servicePrincipalCredentialType property: The service principal credential type to use in Server-To-Server
authentication.
|
CosmosDbLinkedServiceTypeProperties |
withServicePrincipalId(Object servicePrincipalId)
Set the servicePrincipalId property: The client ID of the application in Azure Active Directory used for
Server-To-Server authentication.
|
CosmosDbLinkedServiceTypeProperties |
withTenant(Object tenant)
Set the tenant property: The name or ID of the tenant to which the service principal belongs.
|
public Object connectionString()
public CosmosDbLinkedServiceTypeProperties withConnectionString(Object connectionString)
connectionString - the connectionString value to set.public Object accountEndpoint()
public CosmosDbLinkedServiceTypeProperties withAccountEndpoint(Object accountEndpoint)
accountEndpoint - the accountEndpoint value to set.public Object database()
public CosmosDbLinkedServiceTypeProperties withDatabase(Object database)
database - the database value to set.public SecretBase accountKey()
public CosmosDbLinkedServiceTypeProperties withAccountKey(SecretBase accountKey)
accountKey - the accountKey value to set.public Object servicePrincipalId()
public CosmosDbLinkedServiceTypeProperties withServicePrincipalId(Object servicePrincipalId)
servicePrincipalId - the servicePrincipalId value to set.public CosmosDbServicePrincipalCredentialType servicePrincipalCredentialType()
public CosmosDbLinkedServiceTypeProperties withServicePrincipalCredentialType(CosmosDbServicePrincipalCredentialType servicePrincipalCredentialType)
servicePrincipalCredentialType - the servicePrincipalCredentialType value to set.public SecretBase servicePrincipalCredential()
public CosmosDbLinkedServiceTypeProperties withServicePrincipalCredential(SecretBase servicePrincipalCredential)
servicePrincipalCredential - the servicePrincipalCredential value to set.public Object tenant()
public CosmosDbLinkedServiceTypeProperties withTenant(Object tenant)
tenant - the tenant value to set.public Object azureCloudType()
public CosmosDbLinkedServiceTypeProperties withAzureCloudType(Object azureCloudType)
azureCloudType - the azureCloudType value to set.public CosmosDbConnectionMode connectionMode()
public CosmosDbLinkedServiceTypeProperties withConnectionMode(CosmosDbConnectionMode connectionMode)
connectionMode - the connectionMode value to set.public Object encryptedCredential()
public CosmosDbLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential)
encryptedCredential - the encryptedCredential value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.