BlobStorageService class

Warning

This API is now obsolete.

See https://aka.ms/bot-file-basics for more information.

Defines an blob storage service connection.

Extends

Constructors

BlobStorageService(IBlobStorageService)

Creates a new BlobStorageService instance.

Properties

connectionString

Connection string for blob storage.

container

(Optional) container name.

id

Unique Id for the service.

name

Friendly name for the service.

resourceGroup

Resource group for azure.

serviceName

Name of the service.

subscriptionId

Subscription ID for azure.

tenantId

Tenant ID for azure.

type

Methods

decrypt(string, (value: string, secret: string) => string)

Decrypt properties on this service.

encrypt(string, (value: string, secret: string) => string)

Encrypt properties on this service.

toJSON()

Returns a JSON based version of the model for saving to disk.

Constructor Details

BlobStorageService(IBlobStorageService)

Creates a new BlobStorageService instance.

new BlobStorageService(source?: IBlobStorageService)

Parameters

source
IBlobStorageService

(Optional) JSON based service definition.

Property Details

connectionString

Connection string for blob storage.

connectionString: string

Property Value

string

container

(Optional) container name.

container: string

Property Value

string

id

Unique Id for the service.

id: string

Property Value

string

name

Friendly name for the service.

name: string

Property Value

string

resourceGroup

Resource group for azure.

resourceGroup: string

Property Value

string

serviceName

Name of the service.

serviceName: string

Property Value

string

subscriptionId

Subscription ID for azure.

subscriptionId: string

Property Value

string

tenantId

Tenant ID for azure.

tenantId: string

Property Value

string

type

type?: ServiceTypes

Property Value

Method Details

decrypt(string, (value: string, secret: string) => string)

Decrypt properties on this service.

function decrypt(secret: string, decryptString: (value: string, secret: string) => string)

Parameters

secret

string

Secret to use to decrypt.

decryptString

(value: string, secret: string) => string

Function called to decrypt an individual value.

encrypt(string, (value: string, secret: string) => string)

Encrypt properties on this service.

function encrypt(secret: string, encryptString: (value: string, secret: string) => string)

Parameters

secret

string

Secret to use to encrypt.

encryptString

(value: string, secret: string) => string

Function called to encrypt an individual value.

toJSON()

Returns a JSON based version of the model for saving to disk.

function toJSON()

Returns