CosmosDbService 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.
Caution
This class is deprecated. See https://aka.ms/bot-file-basics for more information.
Configuration properties for a connected Cosmos DB database.
[System.Obsolete("This class is deprecated. See https://aka.ms/bot-file-basics for more information.", false)]
public class CosmosDbService : Microsoft.Bot.Configuration.AzureService
[<System.Obsolete("This class is deprecated. See https://aka.ms/bot-file-basics for more information.", false)>]
type CosmosDbService = class
inherit AzureService
Public Class CosmosDbService
Inherits AzureService
- Inheritance
- Attributes
Constructors
CosmosDbService() |
Initializes a new instance of the CosmosDbService class. |
Properties
Collection |
Gets or sets collection. |
Database |
Gets or sets database. |
Endpoint |
Gets or sets endpoint for CosmosDB. |
Id |
Gets or sets unique id for the service. (Inherited from ConnectedService) |
Key |
Gets or sets key for accessing CosmosDB. |
Name |
Gets or sets user friendly name of the service. (Inherited from ConnectedService) |
Properties |
Gets or sets properties that are not otherwise defined. (Inherited from ConnectedService) |
ResourceGroup |
Gets or sets the resource group. (Inherited from AzureService) |
ServiceName |
Gets or sets the service name. (Inherited from AzureService) |
SubscriptionId |
Gets or sets subscription ID. (Inherited from AzureService) |
TenantId |
Gets or sets tenant ID for the service, for example "contoso.onmicrosoft.com". (Inherited from AzureService) |
Type |
Gets or sets type of the service. (Inherited from ConnectedService) |
Methods
Decrypt(String) |
Decrypt properties on this service. |
Encrypt(String) |
Encrypt properties on this service. |