@azure/arm-communication 2.0.0 → 3.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 +70 -70
- package/dist/index.js +1489 -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/communicationServiceManagementClient.d.ts +19 -0
- package/dist-esm/src/communicationServiceManagementClient.d.ts.map +1 -0
- package/dist-esm/src/communicationServiceManagementClient.js +52 -0
- package/dist-esm/src/communicationServiceManagementClient.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 +422 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +41 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +22 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +201 -379
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +14 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +122 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/communicationService.d.ts +124 -0
- package/dist-esm/src/operations/communicationService.d.ts.map +1 -0
- package/dist-esm/src/operations/communicationService.js +570 -0
- package/dist-esm/src/operations/communicationService.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +3 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -3
- 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/communicationService.d.ts +88 -0
- package/dist-esm/src/operationsInterfaces/communicationService.d.ts.map +1 -0
- package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/communicationService.js} +2 -9
- package/dist-esm/src/operationsInterfaces/communicationService.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/dist-esm/src/operationsInterfaces/index.js +10 -0
- 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/{esm/models/index.js → dist-esm/src/operationsInterfaces/operations.js} +2 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/test/communication_examples.d.ts +4 -0
- package/dist-esm/test/communication_examples.d.ts.map +1 -0
- package/dist-esm/test/communication_examples.js +106 -0
- package/dist-esm/test/communication_examples.js.map +1 -0
- package/package.json +65 -31
- package/review/arm-communication.api.md +363 -0
- package/rollup.config.js +181 -30
- package/src/communicationServiceManagementClient.ts +62 -30
- package/{esm/models/operationStatusesMappers.js → src/index.ts} +5 -2
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +338 -738
- package/src/models/mappers.ts +207 -387
- package/src/models/parameters.ts +81 -45
- package/src/operations/communicationService.ts +517 -506
- package/src/operations/index.ts +1 -3
- package/src/operations/operations.ts +85 -75
- package/src/operationsInterfaces/communicationService.ts +166 -0
- package/src/{models/operationStatusesMappers.ts → operationsInterfaces/index.ts} +2 -6
- package/src/operationsInterfaces/operations.ts +22 -0
- package/tsconfig.json +3 -3
- package/types/arm-communication.d.ts +594 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-communication.js +0 -1663
- package/dist/arm-communication.js.map +0 -1
- package/dist/arm-communication.min.js +0 -1
- package/dist/arm-communication.min.js.map +0 -1
- package/esm/communicationServiceManagementClient.d.ts +0 -20
- package/esm/communicationServiceManagementClient.d.ts.map +0 -1
- package/esm/communicationServiceManagementClient.js +0 -34
- package/esm/communicationServiceManagementClient.js.map +0 -1
- package/esm/communicationServiceManagementClientContext.d.ts +0 -16
- package/esm/communicationServiceManagementClientContext.d.ts.map +0 -1
- package/esm/communicationServiceManagementClientContext.js +0 -55
- package/esm/communicationServiceManagementClientContext.js.map +0 -1
- package/esm/models/communicationServiceMappers.d.ts +0 -2
- package/esm/models/communicationServiceMappers.d.ts.map +0 -1
- package/esm/models/communicationServiceMappers.js +0 -9
- package/esm/models/communicationServiceMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -823
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -28
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationStatusesMappers.d.ts +0 -2
- package/esm/models/operationStatusesMappers.d.ts.map +0 -1
- package/esm/models/operationStatusesMappers.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 +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -10
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -106
- package/esm/models/parameters.js.map +0 -1
- package/esm/operations/communicationService.d.ts +0 -253
- package/esm/operations/communicationService.d.ts.map +0 -1
- package/esm/operations/communicationService.js +0 -471
- package/esm/operations/communicationService.js.map +0 -1
- package/esm/operations/index.d.ts +0 -4
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operationStatuses.d.ts +0 -35
- package/esm/operations/operationStatuses.d.ts.map +0 -1
- package/esm/operations/operationStatuses.js +0 -56
- package/esm/operations/operationStatuses.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -48
- 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/communicationServiceManagementClientContext.ts +0 -61
- package/src/models/communicationServiceMappers.ts +0 -24
- package/src/operations/operationStatuses.ts +0 -86
package/src/models/mappers.ts
CHANGED
|
@@ -6,28 +6,29 @@
|
|
|
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
|
-
export const
|
|
13
|
-
export const BaseResource = BaseResourceMapper;
|
|
14
|
-
|
|
15
|
-
export const NameAvailabilityParameters: msRest.CompositeMapper = {
|
|
16
|
-
serializedName: "NameAvailabilityParameters",
|
|
11
|
+
export const OperationListResult: coreClient.CompositeMapper = {
|
|
17
12
|
type: {
|
|
18
13
|
name: "Composite",
|
|
19
|
-
className: "
|
|
14
|
+
className: "OperationListResult",
|
|
20
15
|
modelProperties: {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
16
|
+
value: {
|
|
17
|
+
serializedName: "value",
|
|
18
|
+
readOnly: true,
|
|
24
19
|
type: {
|
|
25
|
-
name: "
|
|
20
|
+
name: "Sequence",
|
|
21
|
+
element: {
|
|
22
|
+
type: {
|
|
23
|
+
name: "Composite",
|
|
24
|
+
className: "Operation"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
26
27
|
}
|
|
27
28
|
},
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
nextLink: {
|
|
30
|
+
serializedName: "nextLink",
|
|
31
|
+
readOnly: true,
|
|
31
32
|
type: {
|
|
32
33
|
name: "String"
|
|
33
34
|
}
|
|
@@ -36,26 +37,42 @@ export const NameAvailabilityParameters: msRest.CompositeMapper = {
|
|
|
36
37
|
}
|
|
37
38
|
};
|
|
38
39
|
|
|
39
|
-
export const
|
|
40
|
-
serializedName: "NameAvailability",
|
|
40
|
+
export const Operation: coreClient.CompositeMapper = {
|
|
41
41
|
type: {
|
|
42
42
|
name: "Composite",
|
|
43
|
-
className: "
|
|
43
|
+
className: "Operation",
|
|
44
44
|
modelProperties: {
|
|
45
|
-
|
|
46
|
-
serializedName: "
|
|
45
|
+
name: {
|
|
46
|
+
serializedName: "name",
|
|
47
|
+
readOnly: true,
|
|
48
|
+
type: {
|
|
49
|
+
name: "String"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
isDataAction: {
|
|
53
|
+
serializedName: "isDataAction",
|
|
54
|
+
readOnly: true,
|
|
47
55
|
type: {
|
|
48
56
|
name: "Boolean"
|
|
49
57
|
}
|
|
50
58
|
},
|
|
51
|
-
|
|
52
|
-
serializedName: "
|
|
59
|
+
display: {
|
|
60
|
+
serializedName: "display",
|
|
61
|
+
type: {
|
|
62
|
+
name: "Composite",
|
|
63
|
+
className: "OperationDisplay"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
origin: {
|
|
67
|
+
serializedName: "origin",
|
|
68
|
+
readOnly: true,
|
|
53
69
|
type: {
|
|
54
70
|
name: "String"
|
|
55
71
|
}
|
|
56
72
|
},
|
|
57
|
-
|
|
58
|
-
serializedName: "
|
|
73
|
+
actionType: {
|
|
74
|
+
serializedName: "actionType",
|
|
75
|
+
readOnly: true,
|
|
59
76
|
type: {
|
|
60
77
|
name: "String"
|
|
61
78
|
}
|
|
@@ -64,38 +81,35 @@ export const NameAvailability: msRest.CompositeMapper = {
|
|
|
64
81
|
}
|
|
65
82
|
};
|
|
66
83
|
|
|
67
|
-
export const
|
|
68
|
-
serializedName: "LinkNotificationHubParameters",
|
|
84
|
+
export const OperationDisplay: coreClient.CompositeMapper = {
|
|
69
85
|
type: {
|
|
70
86
|
name: "Composite",
|
|
71
|
-
className: "
|
|
87
|
+
className: "OperationDisplay",
|
|
72
88
|
modelProperties: {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
89
|
+
provider: {
|
|
90
|
+
serializedName: "provider",
|
|
91
|
+
readOnly: true,
|
|
76
92
|
type: {
|
|
77
93
|
name: "String"
|
|
78
94
|
}
|
|
79
95
|
},
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
96
|
+
resource: {
|
|
97
|
+
serializedName: "resource",
|
|
98
|
+
readOnly: true,
|
|
83
99
|
type: {
|
|
84
100
|
name: "String"
|
|
85
101
|
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
resourceId: {
|
|
98
|
-
serializedName: "resourceId",
|
|
102
|
+
},
|
|
103
|
+
operation: {
|
|
104
|
+
serializedName: "operation",
|
|
105
|
+
readOnly: true,
|
|
106
|
+
type: {
|
|
107
|
+
name: "String"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
description: {
|
|
111
|
+
serializedName: "description",
|
|
112
|
+
readOnly: true,
|
|
99
113
|
type: {
|
|
100
114
|
name: "String"
|
|
101
115
|
}
|
|
@@ -104,60 +118,51 @@ export const LinkedNotificationHub: msRest.CompositeMapper = {
|
|
|
104
118
|
}
|
|
105
119
|
};
|
|
106
120
|
|
|
107
|
-
export const
|
|
108
|
-
serializedName: "ErrorAdditionalInfo",
|
|
121
|
+
export const ErrorResponse: coreClient.CompositeMapper = {
|
|
109
122
|
type: {
|
|
110
123
|
name: "Composite",
|
|
111
|
-
className: "
|
|
124
|
+
className: "ErrorResponse",
|
|
112
125
|
modelProperties: {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
serializedName: "type",
|
|
116
|
-
type: {
|
|
117
|
-
name: "String"
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
info: {
|
|
121
|
-
readOnly: true,
|
|
122
|
-
serializedName: "info",
|
|
126
|
+
error: {
|
|
127
|
+
serializedName: "error",
|
|
123
128
|
type: {
|
|
124
|
-
name: "
|
|
129
|
+
name: "Composite",
|
|
130
|
+
className: "ErrorDetail"
|
|
125
131
|
}
|
|
126
132
|
}
|
|
127
133
|
}
|
|
128
134
|
}
|
|
129
135
|
};
|
|
130
136
|
|
|
131
|
-
export const ErrorDetail:
|
|
132
|
-
serializedName: "ErrorDetail",
|
|
137
|
+
export const ErrorDetail: coreClient.CompositeMapper = {
|
|
133
138
|
type: {
|
|
134
139
|
name: "Composite",
|
|
135
140
|
className: "ErrorDetail",
|
|
136
141
|
modelProperties: {
|
|
137
142
|
code: {
|
|
138
|
-
readOnly: true,
|
|
139
143
|
serializedName: "code",
|
|
144
|
+
readOnly: true,
|
|
140
145
|
type: {
|
|
141
146
|
name: "String"
|
|
142
147
|
}
|
|
143
148
|
},
|
|
144
149
|
message: {
|
|
145
|
-
readOnly: true,
|
|
146
150
|
serializedName: "message",
|
|
151
|
+
readOnly: true,
|
|
147
152
|
type: {
|
|
148
153
|
name: "String"
|
|
149
154
|
}
|
|
150
155
|
},
|
|
151
156
|
target: {
|
|
152
|
-
readOnly: true,
|
|
153
157
|
serializedName: "target",
|
|
158
|
+
readOnly: true,
|
|
154
159
|
type: {
|
|
155
160
|
name: "String"
|
|
156
161
|
}
|
|
157
162
|
},
|
|
158
163
|
details: {
|
|
159
|
-
readOnly: true,
|
|
160
164
|
serializedName: "details",
|
|
165
|
+
readOnly: true,
|
|
161
166
|
type: {
|
|
162
167
|
name: "Sequence",
|
|
163
168
|
element: {
|
|
@@ -169,8 +174,8 @@ export const ErrorDetail: msRest.CompositeMapper = {
|
|
|
169
174
|
}
|
|
170
175
|
},
|
|
171
176
|
additionalInfo: {
|
|
172
|
-
readOnly: true,
|
|
173
177
|
serializedName: "additionalInfo",
|
|
178
|
+
readOnly: true,
|
|
174
179
|
type: {
|
|
175
180
|
name: "Sequence",
|
|
176
181
|
element: {
|
|
@@ -185,81 +190,146 @@ export const ErrorDetail: msRest.CompositeMapper = {
|
|
|
185
190
|
}
|
|
186
191
|
};
|
|
187
192
|
|
|
188
|
-
export const
|
|
189
|
-
serializedName: "ErrorResponse",
|
|
193
|
+
export const ErrorAdditionalInfo: coreClient.CompositeMapper = {
|
|
190
194
|
type: {
|
|
191
195
|
name: "Composite",
|
|
192
|
-
className: "
|
|
196
|
+
className: "ErrorAdditionalInfo",
|
|
193
197
|
modelProperties: {
|
|
194
|
-
|
|
195
|
-
serializedName: "
|
|
198
|
+
type: {
|
|
199
|
+
serializedName: "type",
|
|
200
|
+
readOnly: true,
|
|
196
201
|
type: {
|
|
197
|
-
name: "
|
|
198
|
-
|
|
202
|
+
name: "String"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
info: {
|
|
206
|
+
serializedName: "info",
|
|
207
|
+
readOnly: true,
|
|
208
|
+
type: {
|
|
209
|
+
name: "Dictionary",
|
|
210
|
+
value: { type: { name: "any" } }
|
|
199
211
|
}
|
|
200
212
|
}
|
|
201
213
|
}
|
|
202
214
|
}
|
|
203
215
|
};
|
|
204
216
|
|
|
205
|
-
export const
|
|
206
|
-
serializedName: "OperationStatus",
|
|
217
|
+
export const NameAvailabilityParameters: coreClient.CompositeMapper = {
|
|
207
218
|
type: {
|
|
208
219
|
name: "Composite",
|
|
209
|
-
className: "
|
|
220
|
+
className: "NameAvailabilityParameters",
|
|
210
221
|
modelProperties: {
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
222
|
+
type: {
|
|
223
|
+
serializedName: "type",
|
|
224
|
+
required: true,
|
|
214
225
|
type: {
|
|
215
226
|
name: "String"
|
|
216
227
|
}
|
|
217
228
|
},
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
229
|
+
name: {
|
|
230
|
+
serializedName: "name",
|
|
231
|
+
required: true,
|
|
221
232
|
type: {
|
|
222
233
|
name: "String"
|
|
223
234
|
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
export const NameAvailability: coreClient.CompositeMapper = {
|
|
241
|
+
type: {
|
|
242
|
+
name: "Composite",
|
|
243
|
+
className: "NameAvailability",
|
|
244
|
+
modelProperties: {
|
|
245
|
+
nameAvailable: {
|
|
246
|
+
serializedName: "nameAvailable",
|
|
247
|
+
type: {
|
|
248
|
+
name: "Boolean"
|
|
249
|
+
}
|
|
224
250
|
},
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
serializedName: "startTime",
|
|
251
|
+
reason: {
|
|
252
|
+
serializedName: "reason",
|
|
228
253
|
type: {
|
|
229
|
-
name: "
|
|
254
|
+
name: "String"
|
|
230
255
|
}
|
|
231
256
|
},
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
serializedName: "endTime",
|
|
257
|
+
message: {
|
|
258
|
+
serializedName: "message",
|
|
235
259
|
type: {
|
|
236
|
-
name: "
|
|
260
|
+
name: "String"
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
};
|
|
266
|
+
|
|
267
|
+
export const LinkNotificationHubParameters: coreClient.CompositeMapper = {
|
|
268
|
+
type: {
|
|
269
|
+
name: "Composite",
|
|
270
|
+
className: "LinkNotificationHubParameters",
|
|
271
|
+
modelProperties: {
|
|
272
|
+
resourceId: {
|
|
273
|
+
serializedName: "resourceId",
|
|
274
|
+
required: true,
|
|
275
|
+
type: {
|
|
276
|
+
name: "String"
|
|
237
277
|
}
|
|
238
278
|
},
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
279
|
+
connectionString: {
|
|
280
|
+
serializedName: "connectionString",
|
|
281
|
+
required: true,
|
|
282
|
+
type: {
|
|
283
|
+
name: "String"
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
};
|
|
289
|
+
|
|
290
|
+
export const LinkedNotificationHub: coreClient.CompositeMapper = {
|
|
291
|
+
type: {
|
|
292
|
+
name: "Composite",
|
|
293
|
+
className: "LinkedNotificationHub",
|
|
294
|
+
modelProperties: {
|
|
295
|
+
resourceId: {
|
|
296
|
+
serializedName: "resourceId",
|
|
297
|
+
type: {
|
|
298
|
+
name: "String"
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
};
|
|
304
|
+
|
|
305
|
+
export const CommunicationServiceResourceList: coreClient.CompositeMapper = {
|
|
306
|
+
type: {
|
|
307
|
+
name: "Composite",
|
|
308
|
+
className: "CommunicationServiceResourceList",
|
|
309
|
+
modelProperties: {
|
|
310
|
+
value: {
|
|
311
|
+
serializedName: "value",
|
|
246
312
|
type: {
|
|
247
|
-
name: "
|
|
313
|
+
name: "Sequence",
|
|
314
|
+
element: {
|
|
315
|
+
type: {
|
|
316
|
+
name: "Composite",
|
|
317
|
+
className: "CommunicationServiceResource"
|
|
318
|
+
}
|
|
319
|
+
}
|
|
248
320
|
}
|
|
249
321
|
},
|
|
250
|
-
|
|
251
|
-
serializedName: "
|
|
322
|
+
nextLink: {
|
|
323
|
+
serializedName: "nextLink",
|
|
252
324
|
type: {
|
|
253
|
-
name: "
|
|
254
|
-
className: "ErrorDetail"
|
|
325
|
+
name: "String"
|
|
255
326
|
}
|
|
256
327
|
}
|
|
257
328
|
}
|
|
258
329
|
}
|
|
259
330
|
};
|
|
260
331
|
|
|
261
|
-
export const SystemData:
|
|
262
|
-
serializedName: "systemData",
|
|
332
|
+
export const SystemData: coreClient.CompositeMapper = {
|
|
263
333
|
type: {
|
|
264
334
|
name: "Composite",
|
|
265
335
|
className: "SystemData",
|
|
@@ -304,105 +374,37 @@ export const SystemData: msRest.CompositeMapper = {
|
|
|
304
374
|
}
|
|
305
375
|
};
|
|
306
376
|
|
|
307
|
-
export const
|
|
308
|
-
serializedName: "CommunicationServiceResource",
|
|
377
|
+
export const Resource: coreClient.CompositeMapper = {
|
|
309
378
|
type: {
|
|
310
379
|
name: "Composite",
|
|
311
|
-
className: "
|
|
380
|
+
className: "Resource",
|
|
312
381
|
modelProperties: {
|
|
313
382
|
id: {
|
|
314
|
-
readOnly: true,
|
|
315
383
|
serializedName: "id",
|
|
384
|
+
readOnly: true,
|
|
316
385
|
type: {
|
|
317
386
|
name: "String"
|
|
318
387
|
}
|
|
319
388
|
},
|
|
320
389
|
name: {
|
|
321
|
-
readOnly: true,
|
|
322
390
|
serializedName: "name",
|
|
391
|
+
readOnly: true,
|
|
323
392
|
type: {
|
|
324
393
|
name: "String"
|
|
325
394
|
}
|
|
326
395
|
},
|
|
327
396
|
type: {
|
|
328
|
-
readOnly: true,
|
|
329
397
|
serializedName: "type",
|
|
330
|
-
type: {
|
|
331
|
-
name: "String"
|
|
332
|
-
}
|
|
333
|
-
},
|
|
334
|
-
location: {
|
|
335
|
-
serializedName: "location",
|
|
336
|
-
type: {
|
|
337
|
-
name: "String"
|
|
338
|
-
}
|
|
339
|
-
},
|
|
340
|
-
tags: {
|
|
341
|
-
serializedName: "tags",
|
|
342
|
-
type: {
|
|
343
|
-
name: "Dictionary",
|
|
344
|
-
value: {
|
|
345
|
-
type: {
|
|
346
|
-
name: "String"
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
},
|
|
351
|
-
provisioningState: {
|
|
352
|
-
readOnly: true,
|
|
353
|
-
serializedName: "properties.provisioningState",
|
|
354
|
-
type: {
|
|
355
|
-
name: "String"
|
|
356
|
-
}
|
|
357
|
-
},
|
|
358
|
-
hostName: {
|
|
359
|
-
readOnly: true,
|
|
360
|
-
serializedName: "properties.hostName",
|
|
361
|
-
type: {
|
|
362
|
-
name: "String"
|
|
363
|
-
}
|
|
364
|
-
},
|
|
365
|
-
dataLocation: {
|
|
366
|
-
required: true,
|
|
367
|
-
serializedName: "properties.dataLocation",
|
|
368
|
-
type: {
|
|
369
|
-
name: "String"
|
|
370
|
-
}
|
|
371
|
-
},
|
|
372
|
-
notificationHubId: {
|
|
373
|
-
readOnly: true,
|
|
374
|
-
serializedName: "properties.notificationHubId",
|
|
375
|
-
type: {
|
|
376
|
-
name: "String"
|
|
377
|
-
}
|
|
378
|
-
},
|
|
379
|
-
version: {
|
|
380
|
-
readOnly: true,
|
|
381
|
-
serializedName: "properties.version",
|
|
382
|
-
type: {
|
|
383
|
-
name: "String"
|
|
384
|
-
}
|
|
385
|
-
},
|
|
386
|
-
immutableResourceId: {
|
|
387
398
|
readOnly: true,
|
|
388
|
-
serializedName: "properties.immutableResourceId",
|
|
389
399
|
type: {
|
|
390
400
|
name: "String"
|
|
391
401
|
}
|
|
392
|
-
},
|
|
393
|
-
systemData: {
|
|
394
|
-
serializedName: "systemData",
|
|
395
|
-
type: {
|
|
396
|
-
name: "Composite",
|
|
397
|
-
className: "SystemData"
|
|
398
|
-
}
|
|
399
402
|
}
|
|
400
403
|
}
|
|
401
404
|
}
|
|
402
405
|
};
|
|
403
406
|
|
|
404
|
-
export const LocationResource:
|
|
405
|
-
serializedName: "LocationResource",
|
|
407
|
+
export const LocationResource: coreClient.CompositeMapper = {
|
|
406
408
|
type: {
|
|
407
409
|
name: "Composite",
|
|
408
410
|
className: "LocationResource",
|
|
@@ -417,8 +419,7 @@ export const LocationResource: msRest.CompositeMapper = {
|
|
|
417
419
|
}
|
|
418
420
|
};
|
|
419
421
|
|
|
420
|
-
export const TaggedResource:
|
|
421
|
-
serializedName: "TaggedResource",
|
|
422
|
+
export const TaggedResource: coreClient.CompositeMapper = {
|
|
422
423
|
type: {
|
|
423
424
|
name: "Composite",
|
|
424
425
|
className: "TaggedResource",
|
|
@@ -427,19 +428,14 @@ export const TaggedResource: msRest.CompositeMapper = {
|
|
|
427
428
|
serializedName: "tags",
|
|
428
429
|
type: {
|
|
429
430
|
name: "Dictionary",
|
|
430
|
-
value: {
|
|
431
|
-
type: {
|
|
432
|
-
name: "String"
|
|
433
|
-
}
|
|
434
|
-
}
|
|
431
|
+
value: { type: { name: "String" } }
|
|
435
432
|
}
|
|
436
433
|
}
|
|
437
434
|
}
|
|
438
435
|
}
|
|
439
436
|
};
|
|
440
437
|
|
|
441
|
-
export const CommunicationServiceKeys:
|
|
442
|
-
serializedName: "CommunicationServiceKeys",
|
|
438
|
+
export const CommunicationServiceKeys: coreClient.CompositeMapper = {
|
|
443
439
|
type: {
|
|
444
440
|
name: "Composite",
|
|
445
441
|
className: "CommunicationServiceKeys",
|
|
@@ -472,8 +468,7 @@ export const CommunicationServiceKeys: msRest.CompositeMapper = {
|
|
|
472
468
|
}
|
|
473
469
|
};
|
|
474
470
|
|
|
475
|
-
export const RegenerateKeyParameters:
|
|
476
|
-
serializedName: "RegenerateKeyParameters",
|
|
471
|
+
export const RegenerateKeyParameters: coreClient.CompositeMapper = {
|
|
477
472
|
type: {
|
|
478
473
|
name: "Composite",
|
|
479
474
|
className: "RegenerateKeyParameters",
|
|
@@ -482,180 +477,65 @@ export const RegenerateKeyParameters: msRest.CompositeMapper = {
|
|
|
482
477
|
serializedName: "keyType",
|
|
483
478
|
type: {
|
|
484
479
|
name: "Enum",
|
|
485
|
-
allowedValues: [
|
|
486
|
-
"Primary",
|
|
487
|
-
"Secondary"
|
|
488
|
-
]
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
};
|
|
494
|
-
|
|
495
|
-
export const Resource: msRest.CompositeMapper = {
|
|
496
|
-
serializedName: "Resource",
|
|
497
|
-
type: {
|
|
498
|
-
name: "Composite",
|
|
499
|
-
className: "Resource",
|
|
500
|
-
modelProperties: {
|
|
501
|
-
id: {
|
|
502
|
-
readOnly: true,
|
|
503
|
-
serializedName: "id",
|
|
504
|
-
type: {
|
|
505
|
-
name: "String"
|
|
506
|
-
}
|
|
507
|
-
},
|
|
508
|
-
name: {
|
|
509
|
-
readOnly: true,
|
|
510
|
-
serializedName: "name",
|
|
511
|
-
type: {
|
|
512
|
-
name: "String"
|
|
513
|
-
}
|
|
514
|
-
},
|
|
515
|
-
type: {
|
|
516
|
-
readOnly: true,
|
|
517
|
-
serializedName: "type",
|
|
518
|
-
type: {
|
|
519
|
-
name: "String"
|
|
480
|
+
allowedValues: ["Primary", "Secondary"]
|
|
520
481
|
}
|
|
521
482
|
}
|
|
522
483
|
}
|
|
523
484
|
}
|
|
524
485
|
};
|
|
525
486
|
|
|
526
|
-
export const
|
|
527
|
-
serializedName: "ProxyResource",
|
|
528
|
-
type: {
|
|
529
|
-
name: "Composite",
|
|
530
|
-
className: "ProxyResource",
|
|
531
|
-
modelProperties: {
|
|
532
|
-
...Resource.type.modelProperties
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
};
|
|
536
|
-
|
|
537
|
-
export const TrackedResource: msRest.CompositeMapper = {
|
|
538
|
-
serializedName: "TrackedResource",
|
|
487
|
+
export const CommunicationServiceResource: coreClient.CompositeMapper = {
|
|
539
488
|
type: {
|
|
540
489
|
name: "Composite",
|
|
541
|
-
className: "
|
|
490
|
+
className: "CommunicationServiceResource",
|
|
542
491
|
modelProperties: {
|
|
543
492
|
...Resource.type.modelProperties,
|
|
544
|
-
|
|
545
|
-
|
|
493
|
+
...LocationResource.type.modelProperties,
|
|
494
|
+
...TaggedResource.type.modelProperties,
|
|
495
|
+
systemData: {
|
|
496
|
+
serializedName: "systemData",
|
|
546
497
|
type: {
|
|
547
|
-
name: "
|
|
548
|
-
|
|
549
|
-
type: {
|
|
550
|
-
name: "String"
|
|
551
|
-
}
|
|
552
|
-
}
|
|
498
|
+
name: "Composite",
|
|
499
|
+
className: "SystemData"
|
|
553
500
|
}
|
|
554
501
|
},
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
serializedName: "location",
|
|
558
|
-
type: {
|
|
559
|
-
name: "String"
|
|
560
|
-
}
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
}
|
|
564
|
-
};
|
|
565
|
-
|
|
566
|
-
export const AzureEntityResource: msRest.CompositeMapper = {
|
|
567
|
-
serializedName: "AzureEntityResource",
|
|
568
|
-
type: {
|
|
569
|
-
name: "Composite",
|
|
570
|
-
className: "AzureEntityResource",
|
|
571
|
-
modelProperties: {
|
|
572
|
-
...Resource.type.modelProperties,
|
|
573
|
-
etag: {
|
|
574
|
-
readOnly: true,
|
|
575
|
-
serializedName: "etag",
|
|
576
|
-
type: {
|
|
577
|
-
name: "String"
|
|
578
|
-
}
|
|
579
|
-
}
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
|
-
};
|
|
583
|
-
|
|
584
|
-
export const OperationDisplay: msRest.CompositeMapper = {
|
|
585
|
-
serializedName: "Operation_display",
|
|
586
|
-
type: {
|
|
587
|
-
name: "Composite",
|
|
588
|
-
className: "OperationDisplay",
|
|
589
|
-
modelProperties: {
|
|
590
|
-
provider: {
|
|
502
|
+
provisioningState: {
|
|
503
|
+
serializedName: "properties.provisioningState",
|
|
591
504
|
readOnly: true,
|
|
592
|
-
serializedName: "provider",
|
|
593
505
|
type: {
|
|
594
506
|
name: "String"
|
|
595
507
|
}
|
|
596
508
|
},
|
|
597
|
-
|
|
509
|
+
hostName: {
|
|
510
|
+
serializedName: "properties.hostName",
|
|
598
511
|
readOnly: true,
|
|
599
|
-
serializedName: "resource",
|
|
600
512
|
type: {
|
|
601
513
|
name: "String"
|
|
602
514
|
}
|
|
603
515
|
},
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
serializedName: "operation",
|
|
516
|
+
dataLocation: {
|
|
517
|
+
serializedName: "properties.dataLocation",
|
|
607
518
|
type: {
|
|
608
519
|
name: "String"
|
|
609
520
|
}
|
|
610
521
|
},
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
serializedName: "description",
|
|
614
|
-
type: {
|
|
615
|
-
name: "String"
|
|
616
|
-
}
|
|
617
|
-
}
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
};
|
|
621
|
-
|
|
622
|
-
export const Operation: msRest.CompositeMapper = {
|
|
623
|
-
serializedName: "Operation",
|
|
624
|
-
type: {
|
|
625
|
-
name: "Composite",
|
|
626
|
-
className: "Operation",
|
|
627
|
-
modelProperties: {
|
|
628
|
-
name: {
|
|
522
|
+
notificationHubId: {
|
|
523
|
+
serializedName: "properties.notificationHubId",
|
|
629
524
|
readOnly: true,
|
|
630
|
-
serializedName: "name",
|
|
631
525
|
type: {
|
|
632
526
|
name: "String"
|
|
633
527
|
}
|
|
634
528
|
},
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
serializedName: "isDataAction",
|
|
638
|
-
type: {
|
|
639
|
-
name: "Boolean"
|
|
640
|
-
}
|
|
641
|
-
},
|
|
642
|
-
display: {
|
|
643
|
-
serializedName: "display",
|
|
644
|
-
type: {
|
|
645
|
-
name: "Composite",
|
|
646
|
-
className: "OperationDisplay"
|
|
647
|
-
}
|
|
648
|
-
},
|
|
649
|
-
origin: {
|
|
529
|
+
version: {
|
|
530
|
+
serializedName: "properties.version",
|
|
650
531
|
readOnly: true,
|
|
651
|
-
serializedName: "origin",
|
|
652
532
|
type: {
|
|
653
533
|
name: "String"
|
|
654
534
|
}
|
|
655
535
|
},
|
|
656
|
-
|
|
536
|
+
immutableResourceId: {
|
|
537
|
+
serializedName: "properties.immutableResourceId",
|
|
657
538
|
readOnly: true,
|
|
658
|
-
serializedName: "actionType",
|
|
659
539
|
type: {
|
|
660
540
|
name: "String"
|
|
661
541
|
}
|
|
@@ -664,8 +544,7 @@ export const Operation: msRest.CompositeMapper = {
|
|
|
664
544
|
}
|
|
665
545
|
};
|
|
666
546
|
|
|
667
|
-
export const CommunicationServiceCreateOrUpdateHeaders:
|
|
668
|
-
serializedName: "communicationservice-createorupdate-headers",
|
|
547
|
+
export const CommunicationServiceCreateOrUpdateHeaders: coreClient.CompositeMapper = {
|
|
669
548
|
type: {
|
|
670
549
|
name: "Composite",
|
|
671
550
|
className: "CommunicationServiceCreateOrUpdateHeaders",
|
|
@@ -680,8 +559,7 @@ export const CommunicationServiceCreateOrUpdateHeaders: msRest.CompositeMapper =
|
|
|
680
559
|
}
|
|
681
560
|
};
|
|
682
561
|
|
|
683
|
-
export const CommunicationServiceDeleteHeaders:
|
|
684
|
-
serializedName: "communicationservice-delete-headers",
|
|
562
|
+
export const CommunicationServiceDeleteHeaders: coreClient.CompositeMapper = {
|
|
685
563
|
type: {
|
|
686
564
|
name: "Composite",
|
|
687
565
|
className: "CommunicationServiceDeleteHeaders",
|
|
@@ -695,61 +573,3 @@ export const CommunicationServiceDeleteHeaders: msRest.CompositeMapper = {
|
|
|
695
573
|
}
|
|
696
574
|
}
|
|
697
575
|
};
|
|
698
|
-
|
|
699
|
-
export const OperationListResult: msRest.CompositeMapper = {
|
|
700
|
-
serializedName: "OperationListResult",
|
|
701
|
-
type: {
|
|
702
|
-
name: "Composite",
|
|
703
|
-
className: "OperationListResult",
|
|
704
|
-
modelProperties: {
|
|
705
|
-
value: {
|
|
706
|
-
readOnly: true,
|
|
707
|
-
serializedName: "",
|
|
708
|
-
type: {
|
|
709
|
-
name: "Sequence",
|
|
710
|
-
element: {
|
|
711
|
-
type: {
|
|
712
|
-
name: "Composite",
|
|
713
|
-
className: "Operation"
|
|
714
|
-
}
|
|
715
|
-
}
|
|
716
|
-
}
|
|
717
|
-
},
|
|
718
|
-
nextLink: {
|
|
719
|
-
readOnly: true,
|
|
720
|
-
serializedName: "nextLink",
|
|
721
|
-
type: {
|
|
722
|
-
name: "String"
|
|
723
|
-
}
|
|
724
|
-
}
|
|
725
|
-
}
|
|
726
|
-
}
|
|
727
|
-
};
|
|
728
|
-
|
|
729
|
-
export const CommunicationServiceResourceList: msRest.CompositeMapper = {
|
|
730
|
-
serializedName: "CommunicationServiceResourceList",
|
|
731
|
-
type: {
|
|
732
|
-
name: "Composite",
|
|
733
|
-
className: "CommunicationServiceResourceList",
|
|
734
|
-
modelProperties: {
|
|
735
|
-
value: {
|
|
736
|
-
serializedName: "",
|
|
737
|
-
type: {
|
|
738
|
-
name: "Sequence",
|
|
739
|
-
element: {
|
|
740
|
-
type: {
|
|
741
|
-
name: "Composite",
|
|
742
|
-
className: "CommunicationServiceResource"
|
|
743
|
-
}
|
|
744
|
-
}
|
|
745
|
-
}
|
|
746
|
-
},
|
|
747
|
-
nextLink: {
|
|
748
|
-
serializedName: "nextLink",
|
|
749
|
-
type: {
|
|
750
|
-
name: "String"
|
|
751
|
-
}
|
|
752
|
-
}
|
|
753
|
-
}
|
|
754
|
-
}
|
|
755
|
-
};
|