@azure/arm-healthbot 1.0.0 → 2.0.1-alpha.20220113.4
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 +21 -0
- package/LICENSE +21 -0
- package/README.md +70 -74
- 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 -21
- package/review/arm-healthbot.api.md +271 -0
- package/rollup.config.js +181 -30
- package/src/healthbotClient.ts +62 -28
- 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 -1133
- 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 -19
- package/esm/healthbotClient.d.ts.map +0 -1
- package/esm/healthbotClient.js +0 -33
- package/esm/healthbotClient.js.map +0 -1
- package/esm/healthbotClientContext.d.ts +0 -16
- package/esm/healthbotClientContext.d.ts.map +0 -1
- package/esm/healthbotClientContext.js +0 -55
- 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 -61
- package/src/models/botsMappers.ts +0 -22
package/src/models/index.ts
CHANGED
|
@@ -6,501 +6,346 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import
|
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* The resource model definition representing SKU
|
|
16
|
-
*/
|
|
11
|
+
/** The resource model definition representing SKU */
|
|
17
12
|
export interface Sku {
|
|
18
|
-
/**
|
|
19
|
-
* The name of the HealthBot SKU. Possible values include: 'F0', 'S1', 'C0'
|
|
20
|
-
*/
|
|
13
|
+
/** The name of the Azure Health Bot SKU */
|
|
21
14
|
name: SkuName;
|
|
22
15
|
}
|
|
23
16
|
|
|
24
|
-
/**
|
|
25
|
-
|
|
26
|
-
*/
|
|
27
|
-
export interface SystemData {
|
|
17
|
+
/** Identity for the resource. */
|
|
18
|
+
export interface Identity {
|
|
28
19
|
/**
|
|
29
|
-
* The identity
|
|
20
|
+
* The principal ID of resource identity. This property will only be provided for a system assigned identity.
|
|
21
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
30
22
|
*/
|
|
31
|
-
|
|
23
|
+
readonly principalId?: string;
|
|
32
24
|
/**
|
|
33
|
-
* The
|
|
34
|
-
*
|
|
25
|
+
* The tenant ID of resource. This property will only be provided for a system assigned identity.
|
|
26
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
35
27
|
*/
|
|
36
|
-
|
|
28
|
+
readonly tenantId?: string;
|
|
29
|
+
/** The identity type. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the Azure Health Bot */
|
|
30
|
+
type?: ResourceIdentityType;
|
|
37
31
|
/**
|
|
38
|
-
* The
|
|
32
|
+
* The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form:
|
|
33
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
|
|
34
|
+
*
|
|
39
35
|
*/
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* The identity that last modified the resource.
|
|
43
|
-
*/
|
|
44
|
-
lastModifiedBy?: string;
|
|
45
|
-
/**
|
|
46
|
-
* The type of identity that last modified the resource. Possible values include: 'User',
|
|
47
|
-
* 'Application', 'ManagedIdentity', 'Key'
|
|
48
|
-
*/
|
|
49
|
-
lastModifiedByType?: IdentityType;
|
|
50
|
-
/**
|
|
51
|
-
* The timestamp of resource last modification (UTC)
|
|
52
|
-
*/
|
|
53
|
-
lastModifiedAt?: Date;
|
|
36
|
+
userAssignedIdentities?: { [propertyName: string]: UserAssignedIdentity };
|
|
54
37
|
}
|
|
55
38
|
|
|
56
|
-
/**
|
|
57
|
-
|
|
58
|
-
*/
|
|
59
|
-
export interface Resource extends BaseResource {
|
|
39
|
+
/** The details of the user assigned managed identity used by the Video Analyzer resource. */
|
|
40
|
+
export interface UserAssignedIdentity {
|
|
60
41
|
/**
|
|
61
|
-
*
|
|
62
|
-
*
|
|
42
|
+
* The principal ID of user assigned identity.
|
|
43
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
63
44
|
*/
|
|
64
|
-
readonly
|
|
45
|
+
readonly principalId?: string;
|
|
65
46
|
/**
|
|
66
|
-
* The
|
|
67
|
-
*
|
|
68
|
-
*/
|
|
69
|
-
readonly name?: string;
|
|
70
|
-
/**
|
|
71
|
-
* The type of the resource.
|
|
72
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
47
|
+
* The client ID of user assigned identity.
|
|
48
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
73
49
|
*/
|
|
74
|
-
readonly
|
|
75
|
-
/**
|
|
76
|
-
* Metadata pertaining to creation and last modification of the resource
|
|
77
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
78
|
-
*/
|
|
79
|
-
readonly systemData?: SystemData;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* The resource model definition for a ARM tracked top level resource
|
|
84
|
-
*/
|
|
85
|
-
export interface TrackedResource extends Resource {
|
|
86
|
-
/**
|
|
87
|
-
* Resource tags.
|
|
88
|
-
*/
|
|
89
|
-
tags?: { [propertyName: string]: string };
|
|
90
|
-
/**
|
|
91
|
-
* The geo-location where the resource lives
|
|
92
|
-
*/
|
|
93
|
-
location: string;
|
|
50
|
+
readonly clientId?: string;
|
|
94
51
|
}
|
|
95
52
|
|
|
96
|
-
/**
|
|
97
|
-
* The properties of a HealthBot. The Health Bot Service is a cloud platform that empowers
|
|
98
|
-
* developers in Healthcare organizations to build and deploy their compliant, AI-powered virtual
|
|
99
|
-
* health assistants and health bots, that help them improve processes and reduce costs.
|
|
100
|
-
* @summary HealthBotProperties
|
|
101
|
-
*/
|
|
53
|
+
/** The properties of a Azure Health Bot. The Health Bot Service is a cloud platform that empowers developers in Healthcare organizations to build and deploy their compliant, AI-powered virtual health assistants and health bots, that help them improve processes and reduce costs. */
|
|
102
54
|
export interface HealthBotProperties {
|
|
103
55
|
/**
|
|
104
|
-
* The provisioning state of the
|
|
105
|
-
*
|
|
56
|
+
* The provisioning state of the Azure Health Bot resource.
|
|
57
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
106
58
|
*/
|
|
107
59
|
readonly provisioningState?: string;
|
|
108
60
|
/**
|
|
109
61
|
* The link.
|
|
110
|
-
*
|
|
62
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
111
63
|
*/
|
|
112
64
|
readonly botManagementPortalLink?: string;
|
|
113
65
|
}
|
|
114
66
|
|
|
115
|
-
/**
|
|
116
|
-
|
|
117
|
-
*/
|
|
118
|
-
export interface HealthBot extends TrackedResource {
|
|
67
|
+
/** The resource model definition for a ARM tracked top level resource */
|
|
68
|
+
export interface Resource {
|
|
119
69
|
/**
|
|
120
|
-
*
|
|
70
|
+
* Fully qualified resource Id for the resource.
|
|
71
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
121
72
|
*/
|
|
122
|
-
|
|
73
|
+
readonly id?: string;
|
|
123
74
|
/**
|
|
124
|
-
* The
|
|
75
|
+
* The name of the resource
|
|
76
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
125
77
|
*/
|
|
126
|
-
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* Parameters for updating a HealthBot.
|
|
131
|
-
*/
|
|
132
|
-
export interface HealthBotUpdateParameters {
|
|
78
|
+
readonly name?: string;
|
|
133
79
|
/**
|
|
134
|
-
*
|
|
80
|
+
* The type of the resource.
|
|
81
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
135
82
|
*/
|
|
136
|
-
|
|
83
|
+
readonly type?: string;
|
|
137
84
|
/**
|
|
138
|
-
*
|
|
85
|
+
* Metadata pertaining to creation and last modification of the resource
|
|
86
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
139
87
|
*/
|
|
140
|
-
|
|
88
|
+
readonly systemData?: SystemData;
|
|
141
89
|
}
|
|
142
90
|
|
|
143
|
-
/**
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
91
|
+
/** Read only system data */
|
|
92
|
+
export interface SystemData {
|
|
93
|
+
/** The identity that created the resource. */
|
|
94
|
+
createdBy?: string;
|
|
95
|
+
/** The type of identity that created the resource */
|
|
96
|
+
createdByType?: IdentityType;
|
|
97
|
+
/** The timestamp of resource creation (UTC) */
|
|
98
|
+
createdAt?: Date;
|
|
99
|
+
/** The identity that last modified the resource. */
|
|
100
|
+
lastModifiedBy?: string;
|
|
101
|
+
/** The type of identity that last modified the resource */
|
|
102
|
+
lastModifiedByType?: IdentityType;
|
|
103
|
+
/** The timestamp of resource last modification (UTC) */
|
|
104
|
+
lastModifiedAt?: Date;
|
|
152
105
|
}
|
|
153
106
|
|
|
154
|
-
/**
|
|
155
|
-
|
|
156
|
-
*/
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* The additional info type.
|
|
160
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
161
|
-
*/
|
|
162
|
-
readonly type?: string;
|
|
163
|
-
/**
|
|
164
|
-
* The additional info.
|
|
165
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
166
|
-
*/
|
|
167
|
-
readonly info?: any;
|
|
107
|
+
/** The resource management error response. */
|
|
108
|
+
export interface ErrorModel {
|
|
109
|
+
/** The error object. */
|
|
110
|
+
error?: ErrorError;
|
|
168
111
|
}
|
|
169
112
|
|
|
170
|
-
/**
|
|
171
|
-
* The error object.
|
|
172
|
-
*/
|
|
113
|
+
/** The error object. */
|
|
173
114
|
export interface ErrorError {
|
|
174
115
|
/**
|
|
175
116
|
* The error code.
|
|
176
|
-
*
|
|
117
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
177
118
|
*/
|
|
178
119
|
readonly code?: string;
|
|
179
120
|
/**
|
|
180
121
|
* The error message.
|
|
181
|
-
*
|
|
122
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
182
123
|
*/
|
|
183
124
|
readonly message?: string;
|
|
184
125
|
/**
|
|
185
126
|
* The error target.
|
|
186
|
-
*
|
|
127
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
187
128
|
*/
|
|
188
129
|
readonly target?: string;
|
|
189
130
|
/**
|
|
190
131
|
* The error details.
|
|
191
|
-
*
|
|
132
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
192
133
|
*/
|
|
193
134
|
readonly details?: ErrorModel[];
|
|
194
135
|
/**
|
|
195
136
|
* The error additional info.
|
|
196
|
-
*
|
|
137
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
197
138
|
*/
|
|
198
139
|
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
199
140
|
}
|
|
200
141
|
|
|
201
|
-
/**
|
|
202
|
-
|
|
203
|
-
*/
|
|
204
|
-
export interface ErrorModel {
|
|
142
|
+
/** The resource management error additional info. */
|
|
143
|
+
export interface ErrorAdditionalInfo {
|
|
205
144
|
/**
|
|
206
|
-
* The
|
|
145
|
+
* The additional info type.
|
|
146
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
207
147
|
*/
|
|
208
|
-
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* Operation display payload
|
|
213
|
-
*/
|
|
214
|
-
export interface OperationDisplay {
|
|
148
|
+
readonly type?: string;
|
|
215
149
|
/**
|
|
216
|
-
*
|
|
150
|
+
* The additional info.
|
|
151
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
217
152
|
*/
|
|
218
|
-
|
|
153
|
+
readonly info?: Record<string, unknown>;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/** Parameters for updating a Azure Health Bot. */
|
|
157
|
+
export interface HealthBotUpdateParameters {
|
|
158
|
+
/** Tags for a Azure Health Bot. */
|
|
159
|
+
tags?: { [propertyName: string]: string };
|
|
160
|
+
/** SKU of the Azure Health Bot. */
|
|
161
|
+
sku?: Sku;
|
|
162
|
+
/** The identity of the Azure Health Bot. */
|
|
163
|
+
identity?: Identity;
|
|
164
|
+
location?: string;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/** The list of Azure Health Bot operation response. */
|
|
168
|
+
export interface BotResponseList {
|
|
219
169
|
/**
|
|
220
|
-
*
|
|
170
|
+
* The link used to get the next page of bot service resources.
|
|
171
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
221
172
|
*/
|
|
222
|
-
|
|
173
|
+
readonly nextLink?: string;
|
|
223
174
|
/**
|
|
224
|
-
*
|
|
175
|
+
* Gets the list of Azure Health Bot results and their properties.
|
|
176
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
225
177
|
*/
|
|
226
|
-
|
|
178
|
+
readonly value?: HealthBot[];
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/** Available operations of the service */
|
|
182
|
+
export interface AvailableOperations {
|
|
183
|
+
/** Collection of available operation details */
|
|
184
|
+
value?: OperationDetail[];
|
|
227
185
|
/**
|
|
228
|
-
*
|
|
186
|
+
* URL client should use to fetch the next page (per server side paging).
|
|
187
|
+
* It's null for now, added for future use.
|
|
229
188
|
*/
|
|
230
|
-
|
|
189
|
+
nextLink?: string;
|
|
231
190
|
}
|
|
232
191
|
|
|
233
|
-
/**
|
|
234
|
-
* Operation detail payload
|
|
235
|
-
*/
|
|
192
|
+
/** Operation detail payload */
|
|
236
193
|
export interface OperationDetail {
|
|
237
|
-
/**
|
|
238
|
-
* Name of the operation
|
|
239
|
-
*/
|
|
194
|
+
/** Name of the operation */
|
|
240
195
|
name?: string;
|
|
241
|
-
/**
|
|
242
|
-
* Indicates whether the operation is a data action
|
|
243
|
-
*/
|
|
196
|
+
/** Indicates whether the operation is a data action */
|
|
244
197
|
isDataAction?: boolean;
|
|
245
|
-
/**
|
|
246
|
-
* Display of the operation
|
|
247
|
-
*/
|
|
198
|
+
/** Display of the operation */
|
|
248
199
|
display?: OperationDisplay;
|
|
249
|
-
/**
|
|
250
|
-
* Origin of the operation
|
|
251
|
-
*/
|
|
200
|
+
/** Origin of the operation */
|
|
252
201
|
origin?: string;
|
|
253
|
-
/**
|
|
254
|
-
|
|
255
|
-
*/
|
|
256
|
-
properties?: any;
|
|
202
|
+
/** Additional properties. */
|
|
203
|
+
properties?: Record<string, unknown>;
|
|
257
204
|
}
|
|
258
205
|
|
|
259
|
-
/**
|
|
260
|
-
|
|
261
|
-
*/
|
|
262
|
-
|
|
263
|
-
|
|
206
|
+
/** Operation display payload */
|
|
207
|
+
export interface OperationDisplay {
|
|
208
|
+
/** Resource provider of the operation */
|
|
209
|
+
provider?: string;
|
|
210
|
+
/** Resource of the operation */
|
|
211
|
+
resource?: string;
|
|
212
|
+
/** Localized friendly name for the operation */
|
|
213
|
+
operation?: string;
|
|
214
|
+
/** Localized friendly description for the operation */
|
|
215
|
+
description?: string;
|
|
264
216
|
}
|
|
265
217
|
|
|
266
|
-
/**
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
*/
|
|
271
|
-
export interface BotResponseList extends Array<HealthBot> {
|
|
272
|
-
/**
|
|
273
|
-
* The link used to get the next page of bot service resources.
|
|
274
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
275
|
-
*/
|
|
276
|
-
readonly nextLink?: string;
|
|
218
|
+
/** The response returned from validation process */
|
|
219
|
+
export interface ValidationResult {
|
|
220
|
+
/** The status code of the response validation. */
|
|
221
|
+
status?: string;
|
|
277
222
|
}
|
|
278
223
|
|
|
279
|
-
/**
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
*/
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
224
|
+
/** The resource model definition for a ARM tracked top level resource */
|
|
225
|
+
export type TrackedResource = Resource & {
|
|
226
|
+
/** Resource tags. */
|
|
227
|
+
tags?: { [propertyName: string]: string };
|
|
228
|
+
/** The geo-location where the resource lives */
|
|
229
|
+
location: string;
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
/** Azure Health Bot resource definition */
|
|
233
|
+
export type HealthBot = TrackedResource & {
|
|
234
|
+
/** SKU of the Azure Health Bot. */
|
|
235
|
+
sku: Sku;
|
|
236
|
+
/** The identity of the Azure Health Bot. */
|
|
237
|
+
identity?: Identity;
|
|
238
|
+
/** The set of properties specific to Azure Health Bot resource. */
|
|
239
|
+
properties?: HealthBotProperties;
|
|
240
|
+
};
|
|
241
|
+
|
|
242
|
+
/** Known values of {@link IdentityType} that the service accepts. */
|
|
243
|
+
export enum KnownIdentityType {
|
|
244
|
+
User = "User",
|
|
245
|
+
Application = "Application",
|
|
246
|
+
ManagedIdentity = "ManagedIdentity",
|
|
247
|
+
Key = "Key"
|
|
290
248
|
}
|
|
291
249
|
|
|
292
250
|
/**
|
|
293
|
-
* Defines values for
|
|
294
|
-
*
|
|
295
|
-
*
|
|
296
|
-
*
|
|
251
|
+
* Defines values for IdentityType. \
|
|
252
|
+
* {@link KnownIdentityType} can be used interchangeably with IdentityType,
|
|
253
|
+
* this enum contains the known values that the service supports.
|
|
254
|
+
* ### Known values supported by the service
|
|
255
|
+
* **User** \
|
|
256
|
+
* **Application** \
|
|
257
|
+
* **ManagedIdentity** \
|
|
258
|
+
* **Key**
|
|
297
259
|
*/
|
|
298
|
-
export type
|
|
260
|
+
export type IdentityType = string;
|
|
261
|
+
/** Defines values for SkuName. */
|
|
262
|
+
export type SkuName = "F0" | "S1" | "C0";
|
|
263
|
+
/** Defines values for ResourceIdentityType. */
|
|
264
|
+
export type ResourceIdentityType =
|
|
265
|
+
| "SystemAssigned"
|
|
266
|
+
| "UserAssigned"
|
|
267
|
+
| "SystemAssigned, UserAssigned"
|
|
268
|
+
| "None";
|
|
269
|
+
|
|
270
|
+
/** Optional parameters. */
|
|
271
|
+
export interface BotsCreateOptionalParams extends coreClient.OperationOptions {
|
|
272
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
273
|
+
updateIntervalInMs?: number;
|
|
274
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
275
|
+
resumeFrom?: string;
|
|
276
|
+
}
|
|
299
277
|
|
|
300
|
-
/**
|
|
301
|
-
|
|
302
|
-
* Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'
|
|
303
|
-
* @readonly
|
|
304
|
-
* @enum {string}
|
|
305
|
-
*/
|
|
306
|
-
export type IdentityType = 'User' | 'Application' | 'ManagedIdentity' | 'Key';
|
|
278
|
+
/** Contains response data for the create operation. */
|
|
279
|
+
export type BotsCreateResponse = HealthBot;
|
|
307
280
|
|
|
308
|
-
/**
|
|
309
|
-
|
|
310
|
-
*/
|
|
311
|
-
export type BotsCreateResponse = HealthBot & {
|
|
312
|
-
/**
|
|
313
|
-
* The underlying HTTP response.
|
|
314
|
-
*/
|
|
315
|
-
_response: msRest.HttpResponse & {
|
|
316
|
-
/**
|
|
317
|
-
* The response body as text (string format)
|
|
318
|
-
*/
|
|
319
|
-
bodyAsText: string;
|
|
320
|
-
|
|
321
|
-
/**
|
|
322
|
-
* The response body as parsed JSON or XML
|
|
323
|
-
*/
|
|
324
|
-
parsedBody: HealthBot;
|
|
325
|
-
};
|
|
326
|
-
};
|
|
281
|
+
/** Optional parameters. */
|
|
282
|
+
export interface BotsGetOptionalParams extends coreClient.OperationOptions {}
|
|
327
283
|
|
|
328
|
-
/**
|
|
329
|
-
|
|
330
|
-
*/
|
|
331
|
-
export type BotsGetResponse = HealthBot & {
|
|
332
|
-
/**
|
|
333
|
-
* The underlying HTTP response.
|
|
334
|
-
*/
|
|
335
|
-
_response: msRest.HttpResponse & {
|
|
336
|
-
/**
|
|
337
|
-
* The response body as text (string format)
|
|
338
|
-
*/
|
|
339
|
-
bodyAsText: string;
|
|
340
|
-
|
|
341
|
-
/**
|
|
342
|
-
* The response body as parsed JSON or XML
|
|
343
|
-
*/
|
|
344
|
-
parsedBody: HealthBot;
|
|
345
|
-
};
|
|
346
|
-
};
|
|
284
|
+
/** Contains response data for the get operation. */
|
|
285
|
+
export type BotsGetResponse = HealthBot;
|
|
347
286
|
|
|
348
|
-
/**
|
|
349
|
-
|
|
350
|
-
*/
|
|
351
|
-
export type BotsUpdateResponse = HealthBot & {
|
|
352
|
-
/**
|
|
353
|
-
* The underlying HTTP response.
|
|
354
|
-
*/
|
|
355
|
-
_response: msRest.HttpResponse & {
|
|
356
|
-
/**
|
|
357
|
-
* The response body as text (string format)
|
|
358
|
-
*/
|
|
359
|
-
bodyAsText: string;
|
|
360
|
-
|
|
361
|
-
/**
|
|
362
|
-
* The response body as parsed JSON or XML
|
|
363
|
-
*/
|
|
364
|
-
parsedBody: HealthBot;
|
|
365
|
-
};
|
|
366
|
-
};
|
|
287
|
+
/** Optional parameters. */
|
|
288
|
+
export interface BotsUpdateOptionalParams extends coreClient.OperationOptions {}
|
|
367
289
|
|
|
368
|
-
/**
|
|
369
|
-
|
|
370
|
-
*/
|
|
371
|
-
export type BotsListByResourceGroupResponse = BotResponseList & {
|
|
372
|
-
/**
|
|
373
|
-
* The underlying HTTP response.
|
|
374
|
-
*/
|
|
375
|
-
_response: msRest.HttpResponse & {
|
|
376
|
-
/**
|
|
377
|
-
* The response body as text (string format)
|
|
378
|
-
*/
|
|
379
|
-
bodyAsText: string;
|
|
380
|
-
|
|
381
|
-
/**
|
|
382
|
-
* The response body as parsed JSON or XML
|
|
383
|
-
*/
|
|
384
|
-
parsedBody: BotResponseList;
|
|
385
|
-
};
|
|
386
|
-
};
|
|
290
|
+
/** Contains response data for the update operation. */
|
|
291
|
+
export type BotsUpdateResponse = HealthBot;
|
|
387
292
|
|
|
388
|
-
/**
|
|
389
|
-
|
|
390
|
-
*/
|
|
391
|
-
|
|
392
|
-
/**
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
_response: msRest.HttpResponse & {
|
|
396
|
-
/**
|
|
397
|
-
* The response body as text (string format)
|
|
398
|
-
*/
|
|
399
|
-
bodyAsText: string;
|
|
400
|
-
|
|
401
|
-
/**
|
|
402
|
-
* The response body as parsed JSON or XML
|
|
403
|
-
*/
|
|
404
|
-
parsedBody: BotResponseList;
|
|
405
|
-
};
|
|
406
|
-
};
|
|
293
|
+
/** Optional parameters. */
|
|
294
|
+
export interface BotsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
295
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
296
|
+
updateIntervalInMs?: number;
|
|
297
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
298
|
+
resumeFrom?: string;
|
|
299
|
+
}
|
|
407
300
|
|
|
408
|
-
/**
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
export type BotsBeginCreateResponse = HealthBot & {
|
|
412
|
-
/**
|
|
413
|
-
* The underlying HTTP response.
|
|
414
|
-
*/
|
|
415
|
-
_response: msRest.HttpResponse & {
|
|
416
|
-
/**
|
|
417
|
-
* The response body as text (string format)
|
|
418
|
-
*/
|
|
419
|
-
bodyAsText: string;
|
|
420
|
-
|
|
421
|
-
/**
|
|
422
|
-
* The response body as parsed JSON or XML
|
|
423
|
-
*/
|
|
424
|
-
parsedBody: HealthBot;
|
|
425
|
-
};
|
|
426
|
-
};
|
|
301
|
+
/** Optional parameters. */
|
|
302
|
+
export interface BotsListByResourceGroupOptionalParams
|
|
303
|
+
extends coreClient.OperationOptions {}
|
|
427
304
|
|
|
428
|
-
/**
|
|
429
|
-
|
|
430
|
-
*/
|
|
431
|
-
export type BotsListByResourceGroupNextResponse = BotResponseList & {
|
|
432
|
-
/**
|
|
433
|
-
* The underlying HTTP response.
|
|
434
|
-
*/
|
|
435
|
-
_response: msRest.HttpResponse & {
|
|
436
|
-
/**
|
|
437
|
-
* The response body as text (string format)
|
|
438
|
-
*/
|
|
439
|
-
bodyAsText: string;
|
|
440
|
-
|
|
441
|
-
/**
|
|
442
|
-
* The response body as parsed JSON or XML
|
|
443
|
-
*/
|
|
444
|
-
parsedBody: BotResponseList;
|
|
445
|
-
};
|
|
446
|
-
};
|
|
305
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
306
|
+
export type BotsListByResourceGroupResponse = BotResponseList;
|
|
447
307
|
|
|
448
|
-
/**
|
|
449
|
-
|
|
450
|
-
*/
|
|
451
|
-
export type BotsListNextResponse = BotResponseList & {
|
|
452
|
-
/**
|
|
453
|
-
* The underlying HTTP response.
|
|
454
|
-
*/
|
|
455
|
-
_response: msRest.HttpResponse & {
|
|
456
|
-
/**
|
|
457
|
-
* The response body as text (string format)
|
|
458
|
-
*/
|
|
459
|
-
bodyAsText: string;
|
|
460
|
-
|
|
461
|
-
/**
|
|
462
|
-
* The response body as parsed JSON or XML
|
|
463
|
-
*/
|
|
464
|
-
parsedBody: BotResponseList;
|
|
465
|
-
};
|
|
466
|
-
};
|
|
308
|
+
/** Optional parameters. */
|
|
309
|
+
export interface BotsListOptionalParams extends coreClient.OperationOptions {}
|
|
467
310
|
|
|
468
|
-
/**
|
|
469
|
-
|
|
470
|
-
*/
|
|
471
|
-
export type OperationsListResponse = AvailableOperations & {
|
|
472
|
-
/**
|
|
473
|
-
* The underlying HTTP response.
|
|
474
|
-
*/
|
|
475
|
-
_response: msRest.HttpResponse & {
|
|
476
|
-
/**
|
|
477
|
-
* The response body as text (string format)
|
|
478
|
-
*/
|
|
479
|
-
bodyAsText: string;
|
|
480
|
-
|
|
481
|
-
/**
|
|
482
|
-
* The response body as parsed JSON or XML
|
|
483
|
-
*/
|
|
484
|
-
parsedBody: AvailableOperations;
|
|
485
|
-
};
|
|
486
|
-
};
|
|
311
|
+
/** Contains response data for the list operation. */
|
|
312
|
+
export type BotsListResponse = BotResponseList;
|
|
487
313
|
|
|
488
|
-
/**
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
314
|
+
/** Optional parameters. */
|
|
315
|
+
export interface BotsListByResourceGroupNextOptionalParams
|
|
316
|
+
extends coreClient.OperationOptions {}
|
|
317
|
+
|
|
318
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
319
|
+
export type BotsListByResourceGroupNextResponse = BotResponseList;
|
|
320
|
+
|
|
321
|
+
/** Optional parameters. */
|
|
322
|
+
export interface BotsListNextOptionalParams
|
|
323
|
+
extends coreClient.OperationOptions {}
|
|
324
|
+
|
|
325
|
+
/** Contains response data for the listNext operation. */
|
|
326
|
+
export type BotsListNextResponse = BotResponseList;
|
|
327
|
+
|
|
328
|
+
/** Optional parameters. */
|
|
329
|
+
export interface OperationsListOptionalParams
|
|
330
|
+
extends coreClient.OperationOptions {}
|
|
331
|
+
|
|
332
|
+
/** Contains response data for the list operation. */
|
|
333
|
+
export type OperationsListResponse = AvailableOperations;
|
|
334
|
+
|
|
335
|
+
/** Optional parameters. */
|
|
336
|
+
export interface OperationsListNextOptionalParams
|
|
337
|
+
extends coreClient.OperationOptions {}
|
|
338
|
+
|
|
339
|
+
/** Contains response data for the listNext operation. */
|
|
340
|
+
export type OperationsListNextResponse = AvailableOperations;
|
|
341
|
+
|
|
342
|
+
/** Optional parameters. */
|
|
343
|
+
export interface HealthbotClientOptionalParams
|
|
344
|
+
extends coreClient.ServiceClientOptions {
|
|
345
|
+
/** server parameter */
|
|
346
|
+
$host?: string;
|
|
347
|
+
/** Api Version */
|
|
348
|
+
apiVersion?: string;
|
|
349
|
+
/** Overrides client endpoint. */
|
|
350
|
+
endpoint?: string;
|
|
351
|
+
}
|