@azure/arm-healthbot 1.1.1 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +69 -83
- package/dist/index.js +1301 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/healthbotClient.d.ts +19 -0
- package/dist-esm/src/healthbotClient.d.ts.map +1 -0
- package/dist-esm/src/healthbotClient.js +52 -0
- package/dist-esm/src/healthbotClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +309 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +16 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +19 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +252 -199
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +12 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +112 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/bots.d.ts +99 -0
- package/dist-esm/src/operations/bots.d.ts.map +1 -0
- package/dist-esm/src/operations/bots.js +454 -0
- package/dist-esm/src/operations/bots.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/bots.d.ts +63 -0
- package/dist-esm/src/operationsInterfaces/bots.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/bots.js} +2 -1
- package/dist-esm/src/operationsInterfaces/bots.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/index.js} +3 -2
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +65 -32
- package/review/arm-healthbot.api.md +271 -0
- package/rollup.config.js +181 -30
- package/src/healthbotClient.ts +62 -34
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +239 -394
- package/src/models/mappers.ts +260 -204
- package/src/models/parameters.ts +81 -33
- package/src/operations/bots.ts +424 -322
- package/src/operations/index.ts +1 -2
- package/src/operations/operations.ts +87 -75
- package/src/operationsInterfaces/bots.ts +116 -0
- package/src/{models/operationsMappers.ts → operationsInterfaces/index.ts} +2 -8
- package/src/operationsInterfaces/operations.ts +22 -0
- package/tsconfig.json +3 -3
- package/types/arm-healthbot.d.ts +439 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-healthbot.js +0 -1143
- package/dist/arm-healthbot.js.map +0 -1
- package/dist/arm-healthbot.min.js +0 -1
- package/dist/arm-healthbot.min.js.map +0 -1
- package/esm/healthbotClient.d.ts +0 -25
- package/esm/healthbotClient.d.ts.map +0 -1
- package/esm/healthbotClient.js +0 -38
- package/esm/healthbotClient.js.map +0 -1
- package/esm/healthbotClientContext.d.ts +0 -22
- package/esm/healthbotClientContext.d.ts.map +0 -1
- package/esm/healthbotClientContext.js +0 -60
- package/esm/healthbotClientContext.js.map +0 -1
- package/esm/models/botsMappers.d.ts +0 -2
- package/esm/models/botsMappers.d.ts.map +0 -1
- package/esm/models/botsMappers.js +0 -9
- package/esm/models/botsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -464
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -19
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -8
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -80
- package/esm/models/parameters.js.map +0 -1
- package/esm/operations/bots.d.ts +0 -162
- package/esm/operations/bots.d.ts.map +0 -1
- package/esm/operations/bots.js +0 -319
- package/esm/operations/bots.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -79
- package/esm/operations/operations.js.map +0 -1
- package/src/healthbotClientContext.ts +0 -67
- package/src/models/botsMappers.ts +0 -22
package/esm/operations/bots.d.ts
DELETED
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
3
|
-
import * as Models from "../models";
|
|
4
|
-
import { HealthbotClientContext } from "../healthbotClientContext";
|
|
5
|
-
/** Class representing a Bots. */
|
|
6
|
-
export declare class Bots {
|
|
7
|
-
private readonly client;
|
|
8
|
-
/**
|
|
9
|
-
* Create a Bots.
|
|
10
|
-
* @param {HealthbotClientContext} client Reference to the service client.
|
|
11
|
-
*/
|
|
12
|
-
constructor(client: HealthbotClientContext);
|
|
13
|
-
/**
|
|
14
|
-
* Create a new HealthBot.
|
|
15
|
-
* @param resourceGroupName The name of the Bot resource group in the user subscription.
|
|
16
|
-
* @param botName The name of the Bot resource.
|
|
17
|
-
* @param parameters The parameters to provide for the created bot.
|
|
18
|
-
* @param [options] The optional parameters
|
|
19
|
-
* @returns Promise<Models.BotsCreateResponse>
|
|
20
|
-
*/
|
|
21
|
-
create(resourceGroupName: string, botName: string, parameters: Models.HealthBot, options?: msRest.RequestOptionsBase): Promise<Models.BotsCreateResponse>;
|
|
22
|
-
/**
|
|
23
|
-
* Get a HealthBot.
|
|
24
|
-
* @param resourceGroupName The name of the Bot resource group in the user subscription.
|
|
25
|
-
* @param botName The name of the Bot resource.
|
|
26
|
-
* @param [options] The optional parameters
|
|
27
|
-
* @returns Promise<Models.BotsGetResponse>
|
|
28
|
-
*/
|
|
29
|
-
get(resourceGroupName: string, botName: string, options?: msRest.RequestOptionsBase): Promise<Models.BotsGetResponse>;
|
|
30
|
-
/**
|
|
31
|
-
* @param resourceGroupName The name of the Bot resource group in the user subscription.
|
|
32
|
-
* @param botName The name of the Bot resource.
|
|
33
|
-
* @param callback The callback
|
|
34
|
-
*/
|
|
35
|
-
get(resourceGroupName: string, botName: string, callback: msRest.ServiceCallback<Models.HealthBot>): void;
|
|
36
|
-
/**
|
|
37
|
-
* @param resourceGroupName The name of the Bot resource group in the user subscription.
|
|
38
|
-
* @param botName The name of the Bot resource.
|
|
39
|
-
* @param options The optional parameters
|
|
40
|
-
* @param callback The callback
|
|
41
|
-
*/
|
|
42
|
-
get(resourceGroupName: string, botName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.HealthBot>): void;
|
|
43
|
-
/**
|
|
44
|
-
* Patch a HealthBot.
|
|
45
|
-
* @param resourceGroupName The name of the Bot resource group in the user subscription.
|
|
46
|
-
* @param botName The name of the Bot resource.
|
|
47
|
-
* @param parameters The parameters to provide for the required bot.
|
|
48
|
-
* @param [options] The optional parameters
|
|
49
|
-
* @returns Promise<Models.BotsUpdateResponse>
|
|
50
|
-
*/
|
|
51
|
-
update(resourceGroupName: string, botName: string, parameters: Models.HealthBotUpdateParameters, options?: msRest.RequestOptionsBase): Promise<Models.BotsUpdateResponse>;
|
|
52
|
-
/**
|
|
53
|
-
* @param resourceGroupName The name of the Bot resource group in the user subscription.
|
|
54
|
-
* @param botName The name of the Bot resource.
|
|
55
|
-
* @param parameters The parameters to provide for the required bot.
|
|
56
|
-
* @param callback The callback
|
|
57
|
-
*/
|
|
58
|
-
update(resourceGroupName: string, botName: string, parameters: Models.HealthBotUpdateParameters, callback: msRest.ServiceCallback<Models.HealthBot>): void;
|
|
59
|
-
/**
|
|
60
|
-
* @param resourceGroupName The name of the Bot resource group in the user subscription.
|
|
61
|
-
* @param botName The name of the Bot resource.
|
|
62
|
-
* @param parameters The parameters to provide for the required bot.
|
|
63
|
-
* @param options The optional parameters
|
|
64
|
-
* @param callback The callback
|
|
65
|
-
*/
|
|
66
|
-
update(resourceGroupName: string, botName: string, parameters: Models.HealthBotUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.HealthBot>): void;
|
|
67
|
-
/**
|
|
68
|
-
* Delete a HealthBot.
|
|
69
|
-
* @param resourceGroupName The name of the Bot resource group in the user subscription.
|
|
70
|
-
* @param botName The name of the Bot resource.
|
|
71
|
-
* @param [options] The optional parameters
|
|
72
|
-
* @returns Promise<msRest.RestResponse>
|
|
73
|
-
*/
|
|
74
|
-
deleteMethod(resourceGroupName: string, botName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
75
|
-
/**
|
|
76
|
-
* Returns all the resources of a particular type belonging to a resource group
|
|
77
|
-
* @param resourceGroupName The name of the Bot resource group in the user subscription.
|
|
78
|
-
* @param [options] The optional parameters
|
|
79
|
-
* @returns Promise<Models.BotsListByResourceGroupResponse>
|
|
80
|
-
*/
|
|
81
|
-
listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.BotsListByResourceGroupResponse>;
|
|
82
|
-
/**
|
|
83
|
-
* @param resourceGroupName The name of the Bot resource group in the user subscription.
|
|
84
|
-
* @param callback The callback
|
|
85
|
-
*/
|
|
86
|
-
listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.BotResponseList>): void;
|
|
87
|
-
/**
|
|
88
|
-
* @param resourceGroupName The name of the Bot resource group in the user subscription.
|
|
89
|
-
* @param options The optional parameters
|
|
90
|
-
* @param callback The callback
|
|
91
|
-
*/
|
|
92
|
-
listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.BotResponseList>): void;
|
|
93
|
-
/**
|
|
94
|
-
* Returns all the resources of a particular type belonging to a subscription.
|
|
95
|
-
* @param [options] The optional parameters
|
|
96
|
-
* @returns Promise<Models.BotsListResponse>
|
|
97
|
-
*/
|
|
98
|
-
list(options?: msRest.RequestOptionsBase): Promise<Models.BotsListResponse>;
|
|
99
|
-
/**
|
|
100
|
-
* @param callback The callback
|
|
101
|
-
*/
|
|
102
|
-
list(callback: msRest.ServiceCallback<Models.BotResponseList>): void;
|
|
103
|
-
/**
|
|
104
|
-
* @param options The optional parameters
|
|
105
|
-
* @param callback The callback
|
|
106
|
-
*/
|
|
107
|
-
list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.BotResponseList>): void;
|
|
108
|
-
/**
|
|
109
|
-
* Create a new HealthBot.
|
|
110
|
-
* @param resourceGroupName The name of the Bot resource group in the user subscription.
|
|
111
|
-
* @param botName The name of the Bot resource.
|
|
112
|
-
* @param parameters The parameters to provide for the created bot.
|
|
113
|
-
* @param [options] The optional parameters
|
|
114
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
115
|
-
*/
|
|
116
|
-
beginCreate(resourceGroupName: string, botName: string, parameters: Models.HealthBot, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
|
|
117
|
-
/**
|
|
118
|
-
* Delete a HealthBot.
|
|
119
|
-
* @param resourceGroupName The name of the Bot resource group in the user subscription.
|
|
120
|
-
* @param botName The name of the Bot resource.
|
|
121
|
-
* @param [options] The optional parameters
|
|
122
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
123
|
-
*/
|
|
124
|
-
beginDeleteMethod(resourceGroupName: string, botName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
|
|
125
|
-
/**
|
|
126
|
-
* Returns all the resources of a particular type belonging to a resource group
|
|
127
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
128
|
-
* @param [options] The optional parameters
|
|
129
|
-
* @returns Promise<Models.BotsListByResourceGroupNextResponse>
|
|
130
|
-
*/
|
|
131
|
-
listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.BotsListByResourceGroupNextResponse>;
|
|
132
|
-
/**
|
|
133
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
134
|
-
* @param callback The callback
|
|
135
|
-
*/
|
|
136
|
-
listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.BotResponseList>): void;
|
|
137
|
-
/**
|
|
138
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
139
|
-
* @param options The optional parameters
|
|
140
|
-
* @param callback The callback
|
|
141
|
-
*/
|
|
142
|
-
listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.BotResponseList>): void;
|
|
143
|
-
/**
|
|
144
|
-
* Returns all the resources of a particular type belonging to a subscription.
|
|
145
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
146
|
-
* @param [options] The optional parameters
|
|
147
|
-
* @returns Promise<Models.BotsListNextResponse>
|
|
148
|
-
*/
|
|
149
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.BotsListNextResponse>;
|
|
150
|
-
/**
|
|
151
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
152
|
-
* @param callback The callback
|
|
153
|
-
*/
|
|
154
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.BotResponseList>): void;
|
|
155
|
-
/**
|
|
156
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
157
|
-
* @param options The optional parameters
|
|
158
|
-
* @param callback The callback
|
|
159
|
-
*/
|
|
160
|
-
listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.BotResponseList>): void;
|
|
161
|
-
}
|
|
162
|
-
//# sourceMappingURL=bots.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bots.d.ts","sourceRoot":"","sources":["../../src/operations/bots.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAEnE,iCAAiC;AACjC,qBAAa,IAAI;IACf,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;;;;OAOG;IACH,MAAM,CAAC,iBAAiB,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,kBAAkB,CAAC;IAKzJ;;;;;;OAMG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GAAG,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC;IAWlI;;;;;OAKG;IACH,uBAAuB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,mCAAmC,CAAC;IACvI;;;OAGG;IACH,uBAAuB,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,eAAe,CAAC,GAAG,IAAI;IAC7G;;;;OAIG;IACH,uBAAuB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,eAAe,CAAC,GAAG,IAAI;IAWjJ;;;;;OAKG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,oBAAoB,CAAC;IACzG;;;OAGG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,eAAe,CAAC,GAAG,IAAI;IAC9F;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,eAAe,CAAC,GAAG,IAAI;CAUnI"}
|
package/esm/operations/bots.js
DELETED
|
@@ -1,319 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
-
* regenerated.
|
|
8
|
-
*/
|
|
9
|
-
import { __assign } from "tslib";
|
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
11
|
-
import * as Mappers from "../models/botsMappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
13
|
-
/** Class representing a Bots. */
|
|
14
|
-
var Bots = /** @class */ (function () {
|
|
15
|
-
/**
|
|
16
|
-
* Create a Bots.
|
|
17
|
-
* @param {HealthbotClientContext} client Reference to the service client.
|
|
18
|
-
*/
|
|
19
|
-
function Bots(client) {
|
|
20
|
-
this.client = client;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Create a new HealthBot.
|
|
24
|
-
* @param resourceGroupName The name of the Bot resource group in the user subscription.
|
|
25
|
-
* @param botName The name of the Bot resource.
|
|
26
|
-
* @param parameters The parameters to provide for the created bot.
|
|
27
|
-
* @param [options] The optional parameters
|
|
28
|
-
* @returns Promise<Models.BotsCreateResponse>
|
|
29
|
-
*/
|
|
30
|
-
Bots.prototype.create = function (resourceGroupName, botName, parameters, options) {
|
|
31
|
-
return this.beginCreate(resourceGroupName, botName, parameters, options)
|
|
32
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
33
|
-
};
|
|
34
|
-
Bots.prototype.get = function (resourceGroupName, botName, options, callback) {
|
|
35
|
-
return this.client.sendOperationRequest({
|
|
36
|
-
resourceGroupName: resourceGroupName,
|
|
37
|
-
botName: botName,
|
|
38
|
-
options: options
|
|
39
|
-
}, getOperationSpec, callback);
|
|
40
|
-
};
|
|
41
|
-
Bots.prototype.update = function (resourceGroupName, botName, parameters, options, callback) {
|
|
42
|
-
return this.client.sendOperationRequest({
|
|
43
|
-
resourceGroupName: resourceGroupName,
|
|
44
|
-
botName: botName,
|
|
45
|
-
parameters: parameters,
|
|
46
|
-
options: options
|
|
47
|
-
}, updateOperationSpec, callback);
|
|
48
|
-
};
|
|
49
|
-
/**
|
|
50
|
-
* Delete a HealthBot.
|
|
51
|
-
* @param resourceGroupName The name of the Bot resource group in the user subscription.
|
|
52
|
-
* @param botName The name of the Bot resource.
|
|
53
|
-
* @param [options] The optional parameters
|
|
54
|
-
* @returns Promise<msRest.RestResponse>
|
|
55
|
-
*/
|
|
56
|
-
Bots.prototype.deleteMethod = function (resourceGroupName, botName, options) {
|
|
57
|
-
return this.beginDeleteMethod(resourceGroupName, botName, options)
|
|
58
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
59
|
-
};
|
|
60
|
-
Bots.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
|
|
61
|
-
return this.client.sendOperationRequest({
|
|
62
|
-
resourceGroupName: resourceGroupName,
|
|
63
|
-
options: options
|
|
64
|
-
}, listByResourceGroupOperationSpec, callback);
|
|
65
|
-
};
|
|
66
|
-
Bots.prototype.list = function (options, callback) {
|
|
67
|
-
return this.client.sendOperationRequest({
|
|
68
|
-
options: options
|
|
69
|
-
}, listOperationSpec, callback);
|
|
70
|
-
};
|
|
71
|
-
/**
|
|
72
|
-
* Create a new HealthBot.
|
|
73
|
-
* @param resourceGroupName The name of the Bot resource group in the user subscription.
|
|
74
|
-
* @param botName The name of the Bot resource.
|
|
75
|
-
* @param parameters The parameters to provide for the created bot.
|
|
76
|
-
* @param [options] The optional parameters
|
|
77
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
78
|
-
*/
|
|
79
|
-
Bots.prototype.beginCreate = function (resourceGroupName, botName, parameters, options) {
|
|
80
|
-
return this.client.sendLRORequest({
|
|
81
|
-
resourceGroupName: resourceGroupName,
|
|
82
|
-
botName: botName,
|
|
83
|
-
parameters: parameters,
|
|
84
|
-
options: options
|
|
85
|
-
}, beginCreateOperationSpec, options);
|
|
86
|
-
};
|
|
87
|
-
/**
|
|
88
|
-
* Delete a HealthBot.
|
|
89
|
-
* @param resourceGroupName The name of the Bot resource group in the user subscription.
|
|
90
|
-
* @param botName The name of the Bot resource.
|
|
91
|
-
* @param [options] The optional parameters
|
|
92
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
93
|
-
*/
|
|
94
|
-
Bots.prototype.beginDeleteMethod = function (resourceGroupName, botName, options) {
|
|
95
|
-
return this.client.sendLRORequest({
|
|
96
|
-
resourceGroupName: resourceGroupName,
|
|
97
|
-
botName: botName,
|
|
98
|
-
options: options
|
|
99
|
-
}, beginDeleteMethodOperationSpec, options);
|
|
100
|
-
};
|
|
101
|
-
Bots.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
|
|
102
|
-
return this.client.sendOperationRequest({
|
|
103
|
-
nextPageLink: nextPageLink,
|
|
104
|
-
options: options
|
|
105
|
-
}, listByResourceGroupNextOperationSpec, callback);
|
|
106
|
-
};
|
|
107
|
-
Bots.prototype.listNext = function (nextPageLink, options, callback) {
|
|
108
|
-
return this.client.sendOperationRequest({
|
|
109
|
-
nextPageLink: nextPageLink,
|
|
110
|
-
options: options
|
|
111
|
-
}, listNextOperationSpec, callback);
|
|
112
|
-
};
|
|
113
|
-
return Bots;
|
|
114
|
-
}());
|
|
115
|
-
export { Bots };
|
|
116
|
-
// Operation Specifications
|
|
117
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
118
|
-
var getOperationSpec = {
|
|
119
|
-
httpMethod: "GET",
|
|
120
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthBot/healthBots/{botName}",
|
|
121
|
-
urlParameters: [
|
|
122
|
-
Parameters.subscriptionId,
|
|
123
|
-
Parameters.resourceGroupName,
|
|
124
|
-
Parameters.botName
|
|
125
|
-
],
|
|
126
|
-
queryParameters: [
|
|
127
|
-
Parameters.apiVersion
|
|
128
|
-
],
|
|
129
|
-
headerParameters: [
|
|
130
|
-
Parameters.acceptLanguage
|
|
131
|
-
],
|
|
132
|
-
responses: {
|
|
133
|
-
200: {
|
|
134
|
-
bodyMapper: Mappers.HealthBot
|
|
135
|
-
},
|
|
136
|
-
default: {
|
|
137
|
-
bodyMapper: Mappers.ErrorModel
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
serializer: serializer
|
|
141
|
-
};
|
|
142
|
-
var updateOperationSpec = {
|
|
143
|
-
httpMethod: "PATCH",
|
|
144
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthBot/healthBots/{botName}",
|
|
145
|
-
urlParameters: [
|
|
146
|
-
Parameters.subscriptionId,
|
|
147
|
-
Parameters.resourceGroupName,
|
|
148
|
-
Parameters.botName
|
|
149
|
-
],
|
|
150
|
-
queryParameters: [
|
|
151
|
-
Parameters.apiVersion
|
|
152
|
-
],
|
|
153
|
-
headerParameters: [
|
|
154
|
-
Parameters.acceptLanguage
|
|
155
|
-
],
|
|
156
|
-
requestBody: {
|
|
157
|
-
parameterPath: "parameters",
|
|
158
|
-
mapper: __assign(__assign({}, Mappers.HealthBotUpdateParameters), { required: true })
|
|
159
|
-
},
|
|
160
|
-
responses: {
|
|
161
|
-
200: {
|
|
162
|
-
bodyMapper: Mappers.HealthBot
|
|
163
|
-
},
|
|
164
|
-
201: {
|
|
165
|
-
bodyMapper: Mappers.HealthBot
|
|
166
|
-
},
|
|
167
|
-
default: {
|
|
168
|
-
bodyMapper: Mappers.ErrorModel
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
serializer: serializer
|
|
172
|
-
};
|
|
173
|
-
var listByResourceGroupOperationSpec = {
|
|
174
|
-
httpMethod: "GET",
|
|
175
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthBot/healthBots",
|
|
176
|
-
urlParameters: [
|
|
177
|
-
Parameters.resourceGroupName,
|
|
178
|
-
Parameters.subscriptionId
|
|
179
|
-
],
|
|
180
|
-
queryParameters: [
|
|
181
|
-
Parameters.apiVersion
|
|
182
|
-
],
|
|
183
|
-
headerParameters: [
|
|
184
|
-
Parameters.acceptLanguage
|
|
185
|
-
],
|
|
186
|
-
responses: {
|
|
187
|
-
200: {
|
|
188
|
-
bodyMapper: Mappers.BotResponseList
|
|
189
|
-
},
|
|
190
|
-
default: {
|
|
191
|
-
bodyMapper: Mappers.ErrorModel
|
|
192
|
-
}
|
|
193
|
-
},
|
|
194
|
-
serializer: serializer
|
|
195
|
-
};
|
|
196
|
-
var listOperationSpec = {
|
|
197
|
-
httpMethod: "GET",
|
|
198
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.HealthBot/healthBots",
|
|
199
|
-
urlParameters: [
|
|
200
|
-
Parameters.subscriptionId
|
|
201
|
-
],
|
|
202
|
-
queryParameters: [
|
|
203
|
-
Parameters.apiVersion
|
|
204
|
-
],
|
|
205
|
-
headerParameters: [
|
|
206
|
-
Parameters.acceptLanguage
|
|
207
|
-
],
|
|
208
|
-
responses: {
|
|
209
|
-
200: {
|
|
210
|
-
bodyMapper: Mappers.BotResponseList
|
|
211
|
-
},
|
|
212
|
-
default: {
|
|
213
|
-
bodyMapper: Mappers.ErrorModel
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
serializer: serializer
|
|
217
|
-
};
|
|
218
|
-
var beginCreateOperationSpec = {
|
|
219
|
-
httpMethod: "PUT",
|
|
220
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthBot/healthBots/{botName}",
|
|
221
|
-
urlParameters: [
|
|
222
|
-
Parameters.subscriptionId,
|
|
223
|
-
Parameters.resourceGroupName,
|
|
224
|
-
Parameters.botName
|
|
225
|
-
],
|
|
226
|
-
queryParameters: [
|
|
227
|
-
Parameters.apiVersion
|
|
228
|
-
],
|
|
229
|
-
headerParameters: [
|
|
230
|
-
Parameters.acceptLanguage
|
|
231
|
-
],
|
|
232
|
-
requestBody: {
|
|
233
|
-
parameterPath: "parameters",
|
|
234
|
-
mapper: __assign(__assign({}, Mappers.HealthBot), { required: true })
|
|
235
|
-
},
|
|
236
|
-
responses: {
|
|
237
|
-
200: {
|
|
238
|
-
bodyMapper: Mappers.HealthBot
|
|
239
|
-
},
|
|
240
|
-
201: {
|
|
241
|
-
bodyMapper: Mappers.HealthBot
|
|
242
|
-
},
|
|
243
|
-
default: {
|
|
244
|
-
bodyMapper: Mappers.ErrorModel
|
|
245
|
-
}
|
|
246
|
-
},
|
|
247
|
-
serializer: serializer
|
|
248
|
-
};
|
|
249
|
-
var beginDeleteMethodOperationSpec = {
|
|
250
|
-
httpMethod: "DELETE",
|
|
251
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthBot/healthBots/{botName}",
|
|
252
|
-
urlParameters: [
|
|
253
|
-
Parameters.subscriptionId,
|
|
254
|
-
Parameters.resourceGroupName,
|
|
255
|
-
Parameters.botName
|
|
256
|
-
],
|
|
257
|
-
queryParameters: [
|
|
258
|
-
Parameters.apiVersion
|
|
259
|
-
],
|
|
260
|
-
headerParameters: [
|
|
261
|
-
Parameters.acceptLanguage
|
|
262
|
-
],
|
|
263
|
-
responses: {
|
|
264
|
-
200: {},
|
|
265
|
-
202: {},
|
|
266
|
-
204: {},
|
|
267
|
-
default: {
|
|
268
|
-
bodyMapper: Mappers.ErrorModel
|
|
269
|
-
}
|
|
270
|
-
},
|
|
271
|
-
serializer: serializer
|
|
272
|
-
};
|
|
273
|
-
var listByResourceGroupNextOperationSpec = {
|
|
274
|
-
httpMethod: "GET",
|
|
275
|
-
baseUrl: "https://management.azure.com",
|
|
276
|
-
path: "{nextLink}",
|
|
277
|
-
urlParameters: [
|
|
278
|
-
Parameters.nextPageLink
|
|
279
|
-
],
|
|
280
|
-
queryParameters: [
|
|
281
|
-
Parameters.apiVersion
|
|
282
|
-
],
|
|
283
|
-
headerParameters: [
|
|
284
|
-
Parameters.acceptLanguage
|
|
285
|
-
],
|
|
286
|
-
responses: {
|
|
287
|
-
200: {
|
|
288
|
-
bodyMapper: Mappers.BotResponseList
|
|
289
|
-
},
|
|
290
|
-
default: {
|
|
291
|
-
bodyMapper: Mappers.ErrorModel
|
|
292
|
-
}
|
|
293
|
-
},
|
|
294
|
-
serializer: serializer
|
|
295
|
-
};
|
|
296
|
-
var listNextOperationSpec = {
|
|
297
|
-
httpMethod: "GET",
|
|
298
|
-
baseUrl: "https://management.azure.com",
|
|
299
|
-
path: "{nextLink}",
|
|
300
|
-
urlParameters: [
|
|
301
|
-
Parameters.nextPageLink
|
|
302
|
-
],
|
|
303
|
-
queryParameters: [
|
|
304
|
-
Parameters.apiVersion
|
|
305
|
-
],
|
|
306
|
-
headerParameters: [
|
|
307
|
-
Parameters.acceptLanguage
|
|
308
|
-
],
|
|
309
|
-
responses: {
|
|
310
|
-
200: {
|
|
311
|
-
bodyMapper: Mappers.BotResponseList
|
|
312
|
-
},
|
|
313
|
-
default: {
|
|
314
|
-
bodyMapper: Mappers.ErrorModel
|
|
315
|
-
}
|
|
316
|
-
},
|
|
317
|
-
serializer: serializer
|
|
318
|
-
};
|
|
319
|
-
//# sourceMappingURL=bots.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bots.js","sourceRoot":"","sources":["../../src/operations/bots.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AACjD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,iCAAiC;AACjC;IAGE;;;OAGG;IACH,cAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACH,qBAAM,GAAN,UAAO,iBAAyB,EAAE,OAAe,EAAE,UAA4B,EAAE,OAAmC;QAClH,OAAO,IAAI,CAAC,WAAW,CAAC,iBAAiB,EAAC,OAAO,EAAC,UAAU,EAAC,OAAO,CAAC;aAClE,IAAI,CAAC,UAAA,SAAS,IAAI,OAAA,SAAS,CAAC,iBAAiB,EAAE,EAA7B,CAA6B,CAAuC,CAAC;IAC5F,CAAC;IAuBD,kBAAG,GAAH,UAAI,iBAAyB,EAAE,OAAe,EAAE,OAA8E,EAAE,QAAmD;QACjL,OAAO,I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,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,oCAAoC,GAAyB;IACjE,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,qBAAqB,GAAyB;IAClD,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AASA,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as Models from "../models";
|
|
3
|
-
import { HealthbotClientContext } from "../healthbotClientContext";
|
|
4
|
-
/** Class representing a Operations. */
|
|
5
|
-
export declare class Operations {
|
|
6
|
-
private readonly client;
|
|
7
|
-
/**
|
|
8
|
-
* Create a Operations.
|
|
9
|
-
* @param {HealthbotClientContext} client Reference to the service client.
|
|
10
|
-
*/
|
|
11
|
-
constructor(client: HealthbotClientContext);
|
|
12
|
-
/**
|
|
13
|
-
* Lists all the available HealthBot operations.
|
|
14
|
-
* @param [options] The optional parameters
|
|
15
|
-
* @returns Promise<Models.OperationsListResponse>
|
|
16
|
-
*/
|
|
17
|
-
list(options?: msRest.RequestOptionsBase): Promise<Models.OperationsListResponse>;
|
|
18
|
-
/**
|
|
19
|
-
* @param callback The callback
|
|
20
|
-
*/
|
|
21
|
-
list(callback: msRest.ServiceCallback<Models.AvailableOperations>): void;
|
|
22
|
-
/**
|
|
23
|
-
* @param options The optional parameters
|
|
24
|
-
* @param callback The callback
|
|
25
|
-
*/
|
|
26
|
-
list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AvailableOperations>): void;
|
|
27
|
-
/**
|
|
28
|
-
* Lists all the available HealthBot operations.
|
|
29
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
30
|
-
* @param [options] The optional parameters
|
|
31
|
-
* @returns Promise<Models.OperationsListNextResponse>
|
|
32
|
-
*/
|
|
33
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.OperationsListNextResponse>;
|
|
34
|
-
/**
|
|
35
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
36
|
-
* @param callback The callback
|
|
37
|
-
*/
|
|
38
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.AvailableOperations>): void;
|
|
39
|
-
/**
|
|
40
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
41
|
-
* @param options The optional parameters
|
|
42
|
-
* @param callback The callback
|
|
43
|
-
*/
|
|
44
|
-
listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AvailableOperations>): void;
|
|
45
|
-
}
|
|
46
|
-
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../src/operations/operations.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAEnE,uCAAuC;AACvC,qBAAa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,sBAAsB,CAAC;IACjF;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IACxE;;;OAGG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IAU5G;;;;;OAKG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,0BAA0B,CAAC;IAC/G;;;OAGG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IAClG;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;CAUvI"}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
-
* regenerated.
|
|
8
|
-
*/
|
|
9
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
10
|
-
import * as Mappers from "../models/operationsMappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
12
|
-
/** Class representing a Operations. */
|
|
13
|
-
var Operations = /** @class */ (function () {
|
|
14
|
-
/**
|
|
15
|
-
* Create a Operations.
|
|
16
|
-
* @param {HealthbotClientContext} client Reference to the service client.
|
|
17
|
-
*/
|
|
18
|
-
function Operations(client) {
|
|
19
|
-
this.client = client;
|
|
20
|
-
}
|
|
21
|
-
Operations.prototype.list = function (options, callback) {
|
|
22
|
-
return this.client.sendOperationRequest({
|
|
23
|
-
options: options
|
|
24
|
-
}, listOperationSpec, callback);
|
|
25
|
-
};
|
|
26
|
-
Operations.prototype.listNext = function (nextPageLink, options, callback) {
|
|
27
|
-
return this.client.sendOperationRequest({
|
|
28
|
-
nextPageLink: nextPageLink,
|
|
29
|
-
options: options
|
|
30
|
-
}, listNextOperationSpec, callback);
|
|
31
|
-
};
|
|
32
|
-
return Operations;
|
|
33
|
-
}());
|
|
34
|
-
export { Operations };
|
|
35
|
-
// Operation Specifications
|
|
36
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
37
|
-
var listOperationSpec = {
|
|
38
|
-
httpMethod: "GET",
|
|
39
|
-
path: "providers/Microsoft.HealthBot/operations",
|
|
40
|
-
queryParameters: [
|
|
41
|
-
Parameters.apiVersion
|
|
42
|
-
],
|
|
43
|
-
headerParameters: [
|
|
44
|
-
Parameters.acceptLanguage
|
|
45
|
-
],
|
|
46
|
-
responses: {
|
|
47
|
-
200: {
|
|
48
|
-
bodyMapper: Mappers.AvailableOperations
|
|
49
|
-
},
|
|
50
|
-
default: {
|
|
51
|
-
bodyMapper: Mappers.ErrorModel
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
serializer: serializer
|
|
55
|
-
};
|
|
56
|
-
var listNextOperationSpec = {
|
|
57
|
-
httpMethod: "GET",
|
|
58
|
-
baseUrl: "https://management.azure.com",
|
|
59
|
-
path: "{nextLink}",
|
|
60
|
-
urlParameters: [
|
|
61
|
-
Parameters.nextPageLink
|
|
62
|
-
],
|
|
63
|
-
queryParameters: [
|
|
64
|
-
Parameters.apiVersion
|
|
65
|
-
],
|
|
66
|
-
headerParameters: [
|
|
67
|
-
Parameters.acceptLanguage
|
|
68
|
-
],
|
|
69
|
-
responses: {
|
|
70
|
-
200: {
|
|
71
|
-
bodyMapper: Mappers.AvailableOperations
|
|
72
|
-
},
|
|
73
|
-
default: {
|
|
74
|
-
bodyMapper: Mappers.ErrorModel
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
serializer: serializer
|
|
78
|
-
};
|
|
79
|
-
//# sourceMappingURL=operations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,uCAAuC;AACvC;IAGE;;;OAGG;IACH,oBAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IA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