Options
All
  • Public
  • Public/Protected
  • All
Menu

Deployer for Microsoft cloud.

Hierarchy

  • AzureDeployerService

Implements

  • IGBInstallationDeployer

Index

Constructors

constructor

Properties

accessToken

accessToken: string

apiVersion

apiVersion: string = "2017-12-01"

cognitiveClient

cognitiveClient: CognitiveServicesManagementClient

defaultEndPoint

defaultEndPoint: string = "http://localhost:4242"

deployer

deployer: IGBDeployer

farmName

farmName: any

instance

instance: IGBInstance

location

location: string

provider

provider: string = "Microsoft.BotService"

resourceClient

resourceClient: ResourceManagementClient

searchClient

searchClient: SearchManagementClient

storageClient

storageClient: SqlManagementClient

subscriptionClient

subscriptionClient: SubscriptionClient

subscriptionId

subscriptionId: string

webSiteClient

webSiteClient: WebSiteManagementClient

Methods

botExists

  • botExists(botId: any): Promise<boolean>

createApplication

  • createApplication(token: string, name: string): Promise<string>

createApplicationSecret

  • createApplicationSecret(token: string, appId: string): Promise<string>

Private createCognitiveServices

  • createCognitiveServices(group: any, name: any, location: any, kind: any): Promise<CognitiveServicesAccount>

Private createDeployGroup

  • createDeployGroup(name: any, location: any): Promise<ResourceGroup>

Private createHostingPlan

  • createHostingPlan(group: any, name: any, location: any): Promise<AppServicePlan>

Private createNLP

  • createNLP(group: any, name: any, location: any): Promise<CognitiveServicesAccount>

Private createNLPService

  • createNLPService(name: string, description: string, location: string, culture: string, authoringKey: string): Promise<string>

Private createSearch

  • createSearch(group: any, name: any, location: any): Promise<SearchService>

Private createServer

  • createServer(farmId: any, group: any, name: any, location: any): Promise<Site>

Private createSpeech

  • createSpeech(group: any, name: any, location: any): Promise<CognitiveServicesAccount>

Private createSpellChecker

  • createSpellChecker(group: any, name: any): Promise<CognitiveServicesAccount>

Private createStorage

  • createStorage(group: any, serverName: any, name: any, location: any): Promise<Database>

Private createStorageServer

  • createStorageServer(group: any, name: any, administratorLogin: any, administratorPassword: any, serverName: any, location: any): Promise<Server>

Private createTextAnalytics

  • createTextAnalytics(group: any, name: any, location: any): Promise<CognitiveServicesAccount>

deleteBot

  • deleteBot(botId: string, group: any): Promise<void>

deployFarm

  • deployFarm(proxyAddress: string, instance: IGBInstance, credentials: any, subscriptionId: string): Promise<IGBInstance>

deployToCloud

  • deployToCloud(title: string, username: string, password: string, cloudLocation: string, authoringKey: string, appId: string, appPassword: string, subscriptionId: string): Promise<void>

getKBSearchSchema

  • getKBSearchSchema(indexName: any): { corsOptions: undefined; defaultScoringProfile: undefined; fields: { facetable: boolean; filterable: boolean; key: boolean; name: string; retrievable: boolean; searchable: boolean; sortable: boolean; type: string }[]; name: any; scoringProfiles: undefined[] }
  • Parameters

    • indexName: any

    Returns { corsOptions: undefined; defaultScoringProfile: undefined; fields: { facetable: boolean; filterable: boolean; key: boolean; name: string; retrievable: boolean; searchable: boolean; sortable: boolean; type: string }[]; name: any; scoringProfiles: undefined[] }

    • corsOptions: undefined
    • defaultScoringProfile: undefined
    • fields: { facetable: boolean; filterable: boolean; key: boolean; name: string; retrievable: boolean; searchable: boolean; sortable: boolean; type: string }[]
    • name: any
    • scoringProfiles: undefined[]

getSubscriptions

  • getSubscriptions(credentials: any): Promise<SubscriptionListResult>

initServices

  • initServices(credentials: any, subscriptionId: string): void

internalDeployBot

  • internalDeployBot(instance: any, accessToken: any, botId: any, name: any, group: any, description: any, endpoint: any, location: any, nlpAppId: any, nlpKey: any, appId: any, appPassword: any, subscriptionId: any): Promise<IGBInstance>

Private makeNlpRequest

  • makeNlpRequest(location: string, authoringKey: string, body: string, method: HttpMethods, resource: string): Promise<HttpOperationResponse>

openStorageFirewall

  • openStorageFirewall(groupName: any, serverName: any): Promise<void>

publishNLP

  • publishNLP(location: string, nlpAppId: string, nlpAuthoringKey: string): Promise<HttpOperationResponse>

refreshEntityList

  • refreshEntityList(location: string, nlpAppId: string, clEntityId: string, nlpKey: string, data: any): Promise<HttpOperationResponse>

Private registerProviders

  • registerProviders(subscriptionId: any, baseUrl: any, accessToken: any): Promise<void>

syncBotServerRepository

  • syncBotServerRepository(group: any, name: any): Promise<void>

trainNLP

  • trainNLP(location: string, nlpAppId: string, nlpAuthoringKey: string): Promise<HttpOperationResponse>

updateBot

  • updateBot(botId: string, group: string, name: string, description: string, endpoint: string): Promise<void>

updateBotProxy

  • updateBotProxy(botId: any, group: any, endpoint: any): Promise<void>

Private updateWebisteConfig

  • updateWebisteConfig(group: any, name: any, serverFarmId: any, instance: IGBInstance): Promise<Site>

Static createInstance

Static Private createRequestObject

  • createRequestObject(url: string, accessToken: string, verb: HttpMethods, body: string): WebResource

Generated using TypeDoc