@azure/eventgrid 5.1.0-beta.1 → 5.1.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/dist/index.js +1937 -1082
- package/dist/index.js.map +1 -1
- package/dist-esm/src/consumer.js.map +1 -1
- package/dist-esm/src/cryptoHelpers.browser.js.map +1 -1
- package/dist-esm/src/eventGridAuthenticationPolicy.js.map +1 -1
- package/dist-esm/src/eventGridClient.js.map +1 -1
- package/dist-esm/src/generateSharedAccessSignature.js.map +1 -1
- package/dist-esm/src/generated/generatedClientContext.js +1 -1
- package/dist-esm/src/generated/generatedClientContext.js.map +1 -1
- package/dist-esm/src/generated/models/index.js.map +1 -1
- package/dist-esm/src/generated/models/mappers.js +1881 -515
- package/dist-esm/src/generated/models/mappers.js.map +1 -1
- package/dist-esm/src/index.js +0 -1
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models.js.map +1 -1
- package/dist-esm/src/predicates.js.map +1 -1
- package/dist-esm/src/tracing.js +1 -1
- package/dist-esm/src/tracing.js.map +1 -1
- package/dist-esm/src/util.js.map +1 -1
- package/package.json +11 -15
- package/types/eventgrid.d.ts +741 -203
- package/dist-esm/src/cadl-generated/EventGridClient.js +0 -41
- package/dist-esm/src/cadl-generated/EventGridClient.js.map +0 -1
- package/dist-esm/src/cadl-generated/api/EventGridContext.js +0 -10
- package/dist-esm/src/cadl-generated/api/EventGridContext.js.map +0 -1
- package/dist-esm/src/cadl-generated/api/index.js +0 -5
- package/dist-esm/src/cadl-generated/api/index.js.map +0 -1
- package/dist-esm/src/cadl-generated/api/operations.js +0 -198
- package/dist-esm/src/cadl-generated/api/operations.js.map +0 -1
- package/dist-esm/src/cadl-generated/index.js +0 -4
- package/dist-esm/src/cadl-generated/index.js.map +0 -1
- package/dist-esm/src/cadl-generated/logger.js +0 -5
- package/dist-esm/src/cadl-generated/logger.js.map +0 -1
- package/dist-esm/src/cadl-generated/models/index.js +0 -4
- package/dist-esm/src/cadl-generated/models/index.js.map +0 -1
- package/dist-esm/src/cadl-generated/models/models.js +0 -4
- package/dist-esm/src/cadl-generated/models/models.js.map +0 -1
- package/dist-esm/src/cadl-generated/models/options.js +0 -4
- package/dist-esm/src/cadl-generated/models/options.js.map +0 -1
- package/dist-esm/src/cadl-generated/rest/clientDefinitions.js +0 -4
- package/dist-esm/src/cadl-generated/rest/clientDefinitions.js.map +0 -1
- package/dist-esm/src/cadl-generated/rest/eventGridClient.js +0 -38
- package/dist-esm/src/cadl-generated/rest/eventGridClient.js.map +0 -1
- package/dist-esm/src/cadl-generated/rest/index.js +0 -12
- package/dist-esm/src/cadl-generated/rest/index.js.map +0 -1
- package/dist-esm/src/cadl-generated/rest/isUnexpected.js +0 -75
- package/dist-esm/src/cadl-generated/rest/isUnexpected.js.map +0 -1
- package/dist-esm/src/cadl-generated/rest/models.js +0 -4
- package/dist-esm/src/cadl-generated/rest/models.js.map +0 -1
- package/dist-esm/src/cadl-generated/rest/outputModels.js +0 -4
- package/dist-esm/src/cadl-generated/rest/outputModels.js.map +0 -1
- package/dist-esm/src/cadl-generated/rest/parameters.js +0 -4
- package/dist-esm/src/cadl-generated/rest/parameters.js.map +0 -1
- package/dist-esm/src/cadl-generated/rest/responses.js +0 -4
- package/dist-esm/src/cadl-generated/rest/responses.js.map +0 -1
- package/dist-esm/src/eventGridClientV2.js +0 -147
- package/dist-esm/src/eventGridClientV2.js.map +0 -1
- package/dist-esm/src/eventGridV2PublishBinaryMode.js +0 -63
- package/dist-esm/src/eventGridV2PublishBinaryMode.js.map +0 -1
package/dist/index.js
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
3
5
|
var coreAuth = require('@azure/core-auth');
|
4
6
|
var tslib = require('tslib');
|
5
7
|
var coreClient = require('@azure/core-client');
|
@@ -7,10 +9,6 @@ var coreTracing = require('@azure/core-tracing');
|
|
7
9
|
var uuid = require('uuid');
|
8
10
|
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
9
11
|
var crypto = require('crypto');
|
10
|
-
var coreClient$1 = require('@azure-rest/core-client');
|
11
|
-
var logger$1 = require('@azure/logger');
|
12
|
-
var coreUtil = require('@azure/core-util');
|
13
|
-
var buffer = require('buffer');
|
14
12
|
|
15
13
|
function _interopNamespaceDefault(e) {
|
16
14
|
var n = Object.create(null);
|
@@ -1208,6 +1206,71 @@ const StorageTaskCompletedEventData = {
|
|
1208
1206
|
}
|
1209
1207
|
}
|
1210
1208
|
};
|
1209
|
+
const StorageTaskAssignmentQueuedEventData = {
|
1210
|
+
type: {
|
1211
|
+
name: "Composite",
|
1212
|
+
className: "StorageTaskAssignmentQueuedEventData",
|
1213
|
+
modelProperties: {
|
1214
|
+
queuedDateTime: {
|
1215
|
+
serializedName: "queuedDateTime",
|
1216
|
+
required: true,
|
1217
|
+
type: {
|
1218
|
+
name: "String"
|
1219
|
+
}
|
1220
|
+
},
|
1221
|
+
taskExecutionId: {
|
1222
|
+
serializedName: "taskExecutionId",
|
1223
|
+
required: true,
|
1224
|
+
type: {
|
1225
|
+
name: "String"
|
1226
|
+
}
|
1227
|
+
}
|
1228
|
+
}
|
1229
|
+
}
|
1230
|
+
};
|
1231
|
+
const StorageTaskAssignmentCompletedEventData = {
|
1232
|
+
type: {
|
1233
|
+
name: "Composite",
|
1234
|
+
className: "StorageTaskAssignmentCompletedEventData",
|
1235
|
+
modelProperties: {
|
1236
|
+
status: {
|
1237
|
+
serializedName: "status",
|
1238
|
+
required: true,
|
1239
|
+
type: {
|
1240
|
+
name: "String"
|
1241
|
+
}
|
1242
|
+
},
|
1243
|
+
completedDateTime: {
|
1244
|
+
serializedName: "completedDateTime",
|
1245
|
+
required: true,
|
1246
|
+
type: {
|
1247
|
+
name: "String"
|
1248
|
+
}
|
1249
|
+
},
|
1250
|
+
taskExecutionId: {
|
1251
|
+
serializedName: "taskExecutionId",
|
1252
|
+
required: true,
|
1253
|
+
type: {
|
1254
|
+
name: "String"
|
1255
|
+
}
|
1256
|
+
},
|
1257
|
+
taskName: {
|
1258
|
+
serializedName: "taskName",
|
1259
|
+
required: true,
|
1260
|
+
type: {
|
1261
|
+
name: "String"
|
1262
|
+
}
|
1263
|
+
},
|
1264
|
+
summaryReportBlobUrl: {
|
1265
|
+
serializedName: "summaryReportBlobUrl",
|
1266
|
+
required: true,
|
1267
|
+
type: {
|
1268
|
+
name: "String"
|
1269
|
+
}
|
1270
|
+
}
|
1271
|
+
}
|
1272
|
+
}
|
1273
|
+
};
|
1211
1274
|
const EventHubCaptureFileCreatedEventData = {
|
1212
1275
|
type: {
|
1213
1276
|
name: "Composite",
|
@@ -2174,6 +2237,35 @@ const SubscriptionDeletedEventData = {
|
|
2174
2237
|
}
|
2175
2238
|
}
|
2176
2239
|
};
|
2240
|
+
const EventGridMqttClientEventData = {
|
2241
|
+
type: {
|
2242
|
+
name: "Composite",
|
2243
|
+
className: "EventGridMqttClientEventData",
|
2244
|
+
modelProperties: {
|
2245
|
+
clientAuthenticationName: {
|
2246
|
+
serializedName: "clientAuthenticationName",
|
2247
|
+
required: true,
|
2248
|
+
type: {
|
2249
|
+
name: "String"
|
2250
|
+
}
|
2251
|
+
},
|
2252
|
+
clientName: {
|
2253
|
+
serializedName: "clientName",
|
2254
|
+
required: true,
|
2255
|
+
type: {
|
2256
|
+
name: "String"
|
2257
|
+
}
|
2258
|
+
},
|
2259
|
+
namespaceName: {
|
2260
|
+
serializedName: "namespaceName",
|
2261
|
+
required: true,
|
2262
|
+
type: {
|
2263
|
+
name: "String"
|
2264
|
+
}
|
2265
|
+
}
|
2266
|
+
}
|
2267
|
+
}
|
2268
|
+
};
|
2177
2269
|
const DataBoxCopyStartedEventData = {
|
2178
2270
|
type: {
|
2179
2271
|
name: "Composite",
|
@@ -4116,6 +4208,35 @@ const AppConfigurationKeyValueDeletedEventData = {
|
|
4116
4208
|
}
|
4117
4209
|
}
|
4118
4210
|
};
|
4211
|
+
const AppConfigurationSnapshotEventData = {
|
4212
|
+
type: {
|
4213
|
+
name: "Composite",
|
4214
|
+
className: "AppConfigurationSnapshotEventData",
|
4215
|
+
modelProperties: {
|
4216
|
+
name: {
|
4217
|
+
serializedName: "name",
|
4218
|
+
required: true,
|
4219
|
+
type: {
|
4220
|
+
name: "String"
|
4221
|
+
}
|
4222
|
+
},
|
4223
|
+
etag: {
|
4224
|
+
serializedName: "etag",
|
4225
|
+
required: true,
|
4226
|
+
type: {
|
4227
|
+
name: "String"
|
4228
|
+
}
|
4229
|
+
},
|
4230
|
+
syncToken: {
|
4231
|
+
serializedName: "syncToken",
|
4232
|
+
required: true,
|
4233
|
+
type: {
|
4234
|
+
name: "String"
|
4235
|
+
}
|
4236
|
+
}
|
4237
|
+
}
|
4238
|
+
}
|
4239
|
+
};
|
4119
4240
|
const SignalRServiceClientConnectionConnectedEventData = {
|
4120
4241
|
type: {
|
4121
4242
|
name: "Composite",
|
@@ -6150,27 +6271,27 @@ const AcsUserDisconnectedEventData = {
|
|
6150
6271
|
}
|
6151
6272
|
}
|
6152
6273
|
};
|
6153
|
-
const
|
6274
|
+
const AcsRouterEventData = {
|
6154
6275
|
type: {
|
6155
6276
|
name: "Composite",
|
6156
|
-
className: "
|
6277
|
+
className: "AcsRouterEventData",
|
6157
6278
|
modelProperties: {
|
6158
|
-
|
6159
|
-
serializedName: "
|
6279
|
+
jobId: {
|
6280
|
+
serializedName: "jobId",
|
6281
|
+
required: true,
|
6160
6282
|
type: {
|
6161
|
-
name: "
|
6162
|
-
className: "CommunicationIdentifierModel"
|
6283
|
+
name: "String"
|
6163
6284
|
}
|
6164
6285
|
},
|
6165
|
-
|
6166
|
-
serializedName: "
|
6286
|
+
channelReference: {
|
6287
|
+
serializedName: "channelReference",
|
6167
6288
|
required: true,
|
6168
6289
|
type: {
|
6169
6290
|
name: "String"
|
6170
6291
|
}
|
6171
6292
|
},
|
6172
|
-
|
6173
|
-
serializedName: "
|
6293
|
+
channelId: {
|
6294
|
+
serializedName: "channelId",
|
6174
6295
|
required: true,
|
6175
6296
|
type: {
|
6176
6297
|
name: "String"
|
@@ -6179,157 +6300,127 @@ const AcsChatEventBase = {
|
|
6179
6300
|
}
|
6180
6301
|
}
|
6181
6302
|
};
|
6182
|
-
const
|
6303
|
+
const AcsRouterCommunicationError = {
|
6183
6304
|
type: {
|
6184
6305
|
name: "Composite",
|
6185
|
-
className: "
|
6306
|
+
className: "AcsRouterCommunicationError",
|
6186
6307
|
modelProperties: {
|
6187
|
-
|
6188
|
-
serializedName: "
|
6308
|
+
code: {
|
6309
|
+
serializedName: "code",
|
6189
6310
|
required: true,
|
6190
6311
|
type: {
|
6191
6312
|
name: "String"
|
6192
6313
|
}
|
6193
6314
|
},
|
6194
|
-
|
6195
|
-
serializedName: "
|
6196
|
-
required: true,
|
6197
|
-
type: {
|
6198
|
-
name: "String"
|
6199
|
-
}
|
6200
|
-
}
|
6201
|
-
}
|
6202
|
-
}
|
6203
|
-
};
|
6204
|
-
const AcsChatThreadParticipant = {
|
6205
|
-
type: {
|
6206
|
-
name: "Composite",
|
6207
|
-
className: "AcsChatThreadParticipant",
|
6208
|
-
modelProperties: {
|
6209
|
-
displayName: {
|
6210
|
-
serializedName: "displayName",
|
6315
|
+
message: {
|
6316
|
+
serializedName: "message",
|
6211
6317
|
required: true,
|
6212
6318
|
type: {
|
6213
6319
|
name: "String"
|
6214
6320
|
}
|
6215
6321
|
},
|
6216
|
-
|
6217
|
-
serializedName: "
|
6218
|
-
type: {
|
6219
|
-
name: "Composite",
|
6220
|
-
className: "CommunicationIdentifierModel"
|
6221
|
-
}
|
6222
|
-
}
|
6223
|
-
}
|
6224
|
-
}
|
6225
|
-
};
|
6226
|
-
const AcsSmsDeliveryAttempt = {
|
6227
|
-
type: {
|
6228
|
-
name: "Composite",
|
6229
|
-
className: "AcsSmsDeliveryAttempt",
|
6230
|
-
modelProperties: {
|
6231
|
-
timestamp: {
|
6232
|
-
serializedName: "timestamp",
|
6322
|
+
target: {
|
6323
|
+
serializedName: "target",
|
6233
6324
|
required: true,
|
6234
6325
|
type: {
|
6235
6326
|
name: "String"
|
6236
6327
|
}
|
6237
6328
|
},
|
6238
|
-
|
6239
|
-
serializedName: "
|
6240
|
-
required: true,
|
6329
|
+
innererror: {
|
6330
|
+
serializedName: "innererror",
|
6241
6331
|
type: {
|
6242
|
-
name: "
|
6332
|
+
name: "Composite",
|
6333
|
+
className: "AcsRouterCommunicationError"
|
6243
6334
|
}
|
6244
6335
|
},
|
6245
|
-
|
6246
|
-
serializedName: "
|
6336
|
+
details: {
|
6337
|
+
serializedName: "details",
|
6247
6338
|
required: true,
|
6248
6339
|
type: {
|
6249
|
-
name: "
|
6340
|
+
name: "Sequence",
|
6341
|
+
element: {
|
6342
|
+
type: {
|
6343
|
+
name: "Composite",
|
6344
|
+
className: "AcsRouterCommunicationError"
|
6345
|
+
}
|
6346
|
+
}
|
6250
6347
|
}
|
6251
6348
|
}
|
6252
6349
|
}
|
6253
6350
|
}
|
6254
6351
|
};
|
6255
|
-
const
|
6352
|
+
const AcsRouterQueueDetails = {
|
6256
6353
|
type: {
|
6257
6354
|
name: "Composite",
|
6258
|
-
className: "
|
6355
|
+
className: "AcsRouterQueueDetails",
|
6259
6356
|
modelProperties: {
|
6260
|
-
|
6261
|
-
serializedName: "
|
6357
|
+
id: {
|
6358
|
+
serializedName: "id",
|
6262
6359
|
required: true,
|
6263
6360
|
type: {
|
6264
6361
|
name: "String"
|
6265
6362
|
}
|
6266
6363
|
},
|
6267
|
-
|
6268
|
-
serializedName: "
|
6364
|
+
name: {
|
6365
|
+
serializedName: "name",
|
6269
6366
|
required: true,
|
6270
6367
|
type: {
|
6271
6368
|
name: "String"
|
6272
6369
|
}
|
6273
6370
|
},
|
6274
|
-
|
6275
|
-
serializedName: "
|
6371
|
+
labels: {
|
6372
|
+
serializedName: "labels",
|
6276
6373
|
required: true,
|
6277
6374
|
type: {
|
6278
|
-
name: "
|
6375
|
+
name: "Dictionary",
|
6376
|
+
value: { type: { name: "String" } }
|
6279
6377
|
}
|
6280
6378
|
}
|
6281
6379
|
}
|
6282
6380
|
}
|
6283
6381
|
};
|
6284
|
-
const
|
6382
|
+
const AcsRouterWorkerSelector = {
|
6285
6383
|
type: {
|
6286
6384
|
name: "Composite",
|
6287
|
-
className: "
|
6385
|
+
className: "AcsRouterWorkerSelector",
|
6288
6386
|
modelProperties: {
|
6289
|
-
|
6290
|
-
serializedName: "
|
6291
|
-
type: {
|
6292
|
-
name: "Composite",
|
6293
|
-
className: "AcsRecordingStorageInfo"
|
6294
|
-
}
|
6295
|
-
},
|
6296
|
-
recordingStartTime: {
|
6297
|
-
serializedName: "recordingStartTime",
|
6387
|
+
key: {
|
6388
|
+
serializedName: "key",
|
6298
6389
|
required: true,
|
6299
6390
|
type: {
|
6300
6391
|
name: "String"
|
6301
6392
|
}
|
6302
6393
|
},
|
6303
|
-
|
6304
|
-
serializedName: "
|
6394
|
+
labelOperator: {
|
6395
|
+
serializedName: "labelOperator",
|
6305
6396
|
required: true,
|
6306
6397
|
type: {
|
6307
|
-
name: "
|
6398
|
+
name: "String"
|
6308
6399
|
}
|
6309
6400
|
},
|
6310
|
-
|
6311
|
-
serializedName: "
|
6401
|
+
labelValue: {
|
6402
|
+
serializedName: "labelValue",
|
6312
6403
|
required: true,
|
6313
6404
|
type: {
|
6314
|
-
name: "
|
6405
|
+
name: "any"
|
6315
6406
|
}
|
6316
6407
|
},
|
6317
|
-
|
6318
|
-
serializedName: "
|
6408
|
+
ttlSeconds: {
|
6409
|
+
serializedName: "ttlSeconds",
|
6319
6410
|
required: true,
|
6320
6411
|
type: {
|
6321
|
-
name: "
|
6412
|
+
name: "Number"
|
6322
6413
|
}
|
6323
6414
|
},
|
6324
|
-
|
6325
|
-
serializedName: "
|
6415
|
+
state: {
|
6416
|
+
serializedName: "state",
|
6326
6417
|
required: true,
|
6327
6418
|
type: {
|
6328
6419
|
name: "String"
|
6329
6420
|
}
|
6330
6421
|
},
|
6331
|
-
|
6332
|
-
serializedName: "
|
6422
|
+
expirationTime: {
|
6423
|
+
serializedName: "expirationTime",
|
6333
6424
|
required: true,
|
6334
6425
|
type: {
|
6335
6426
|
name: "String"
|
@@ -6338,119 +6429,157 @@ const AcsRecordingFileStatusUpdatedEventData = {
|
|
6338
6429
|
}
|
6339
6430
|
}
|
6340
6431
|
};
|
6341
|
-
const
|
6432
|
+
const AcsRouterWorkerDeregisteredEventData = {
|
6342
6433
|
type: {
|
6343
6434
|
name: "Composite",
|
6344
|
-
className: "
|
6435
|
+
className: "AcsRouterWorkerDeregisteredEventData",
|
6345
6436
|
modelProperties: {
|
6346
|
-
|
6347
|
-
serializedName: "
|
6437
|
+
workerId: {
|
6438
|
+
serializedName: "workerId",
|
6348
6439
|
required: true,
|
6349
6440
|
type: {
|
6350
|
-
name: "
|
6351
|
-
element: {
|
6352
|
-
type: {
|
6353
|
-
name: "Composite",
|
6354
|
-
className: "AcsRecordingChunkInfo"
|
6355
|
-
}
|
6356
|
-
}
|
6441
|
+
name: "String"
|
6357
6442
|
}
|
6358
6443
|
}
|
6359
6444
|
}
|
6360
6445
|
}
|
6361
6446
|
};
|
6362
|
-
const
|
6447
|
+
const AcsRouterWorkerRegisteredEventData = {
|
6363
6448
|
type: {
|
6364
6449
|
name: "Composite",
|
6365
|
-
className: "
|
6450
|
+
className: "AcsRouterWorkerRegisteredEventData",
|
6366
6451
|
modelProperties: {
|
6367
|
-
|
6368
|
-
serializedName: "
|
6452
|
+
workerId: {
|
6453
|
+
serializedName: "workerId",
|
6369
6454
|
required: true,
|
6370
6455
|
type: {
|
6371
6456
|
name: "String"
|
6372
6457
|
}
|
6373
6458
|
},
|
6374
|
-
|
6375
|
-
serializedName: "
|
6459
|
+
queueAssignments: {
|
6460
|
+
serializedName: "queueAssignments",
|
6376
6461
|
required: true,
|
6377
6462
|
type: {
|
6378
|
-
name: "
|
6463
|
+
name: "Sequence",
|
6464
|
+
element: {
|
6465
|
+
type: {
|
6466
|
+
name: "Composite",
|
6467
|
+
className: "AcsRouterQueueDetails"
|
6468
|
+
}
|
6469
|
+
}
|
6379
6470
|
}
|
6380
6471
|
},
|
6381
|
-
|
6382
|
-
serializedName: "
|
6472
|
+
channelConfigurations: {
|
6473
|
+
serializedName: "channelConfigurations",
|
6383
6474
|
required: true,
|
6384
6475
|
type: {
|
6385
|
-
name: "
|
6476
|
+
name: "Sequence",
|
6477
|
+
element: {
|
6478
|
+
type: {
|
6479
|
+
name: "Composite",
|
6480
|
+
className: "AcsRouterChannelConfiguration"
|
6481
|
+
}
|
6482
|
+
}
|
6386
6483
|
}
|
6387
6484
|
},
|
6388
|
-
|
6389
|
-
serializedName: "
|
6485
|
+
totalCapacity: {
|
6486
|
+
serializedName: "totalCapacity",
|
6390
6487
|
required: true,
|
6391
6488
|
type: {
|
6392
|
-
name: "
|
6489
|
+
name: "Number"
|
6393
6490
|
}
|
6394
6491
|
},
|
6395
|
-
|
6396
|
-
serializedName: "
|
6492
|
+
labels: {
|
6493
|
+
serializedName: "labels",
|
6397
6494
|
required: true,
|
6398
6495
|
type: {
|
6399
|
-
name: "
|
6496
|
+
name: "Dictionary",
|
6497
|
+
value: { type: { name: "String" } }
|
6400
6498
|
}
|
6401
6499
|
},
|
6402
|
-
|
6403
|
-
serializedName: "
|
6500
|
+
tags: {
|
6501
|
+
serializedName: "tags",
|
6404
6502
|
required: true,
|
6405
6503
|
type: {
|
6406
|
-
name: "
|
6504
|
+
name: "Dictionary",
|
6505
|
+
value: { type: { name: "String" } }
|
6407
6506
|
}
|
6408
6507
|
}
|
6409
6508
|
}
|
6410
6509
|
}
|
6411
6510
|
};
|
6412
|
-
const
|
6511
|
+
const AcsRouterChannelConfiguration = {
|
6413
6512
|
type: {
|
6414
6513
|
name: "Composite",
|
6415
|
-
className: "
|
6514
|
+
className: "AcsRouterChannelConfiguration",
|
6416
6515
|
modelProperties: {
|
6417
|
-
|
6418
|
-
serializedName: "
|
6516
|
+
channelId: {
|
6517
|
+
serializedName: "channelId",
|
6419
6518
|
required: true,
|
6420
6519
|
type: {
|
6421
6520
|
name: "String"
|
6422
6521
|
}
|
6423
6522
|
},
|
6424
|
-
|
6425
|
-
serializedName: "
|
6523
|
+
capacityCostPerJob: {
|
6524
|
+
serializedName: "capacityCostPerJob",
|
6426
6525
|
required: true,
|
6427
6526
|
type: {
|
6428
|
-
name: "
|
6527
|
+
name: "Number"
|
6429
6528
|
}
|
6430
6529
|
},
|
6431
|
-
|
6432
|
-
serializedName: "
|
6530
|
+
maxNumberOfJobs: {
|
6531
|
+
serializedName: "maxNumberOfJobs",
|
6433
6532
|
required: true,
|
6434
6533
|
type: {
|
6435
|
-
name: "
|
6534
|
+
name: "Number"
|
6535
|
+
}
|
6536
|
+
}
|
6537
|
+
}
|
6538
|
+
}
|
6539
|
+
};
|
6540
|
+
const AcsChatEventBase = {
|
6541
|
+
type: {
|
6542
|
+
name: "Composite",
|
6543
|
+
className: "AcsChatEventBase",
|
6544
|
+
modelProperties: {
|
6545
|
+
recipientCommunicationIdentifier: {
|
6546
|
+
serializedName: "recipientCommunicationIdentifier",
|
6547
|
+
type: {
|
6548
|
+
name: "Composite",
|
6549
|
+
className: "CommunicationIdentifierModel"
|
6436
6550
|
}
|
6437
6551
|
},
|
6438
|
-
|
6439
|
-
serializedName: "
|
6552
|
+
transactionId: {
|
6553
|
+
serializedName: "transactionId",
|
6440
6554
|
required: true,
|
6441
6555
|
type: {
|
6442
6556
|
name: "String"
|
6443
6557
|
}
|
6444
6558
|
},
|
6445
|
-
|
6446
|
-
serializedName: "
|
6559
|
+
threadId: {
|
6560
|
+
serializedName: "threadId",
|
6561
|
+
required: true,
|
6447
6562
|
type: {
|
6448
|
-
name: "
|
6449
|
-
|
6563
|
+
name: "String"
|
6564
|
+
}
|
6565
|
+
}
|
6566
|
+
}
|
6567
|
+
}
|
6568
|
+
};
|
6569
|
+
const AcsChatEventInThreadBase = {
|
6570
|
+
type: {
|
6571
|
+
name: "Composite",
|
6572
|
+
className: "AcsChatEventInThreadBase",
|
6573
|
+
modelProperties: {
|
6574
|
+
transactionId: {
|
6575
|
+
serializedName: "transactionId",
|
6576
|
+
required: true,
|
6577
|
+
type: {
|
6578
|
+
name: "String"
|
6450
6579
|
}
|
6451
6580
|
},
|
6452
|
-
|
6453
|
-
serializedName: "
|
6581
|
+
threadId: {
|
6582
|
+
serializedName: "threadId",
|
6454
6583
|
required: true,
|
6455
6584
|
type: {
|
6456
6585
|
name: "String"
|
@@ -6459,63 +6588,86 @@ const AcsEmailDeliveryReportReceivedEventData = {
|
|
6459
6588
|
}
|
6460
6589
|
}
|
6461
6590
|
};
|
6462
|
-
const
|
6591
|
+
const AcsChatThreadParticipant = {
|
6463
6592
|
type: {
|
6464
6593
|
name: "Composite",
|
6465
|
-
className: "
|
6594
|
+
className: "AcsChatThreadParticipant",
|
6466
6595
|
modelProperties: {
|
6467
|
-
|
6468
|
-
serializedName: "
|
6596
|
+
displayName: {
|
6597
|
+
serializedName: "displayName",
|
6469
6598
|
required: true,
|
6470
6599
|
type: {
|
6471
6600
|
name: "String"
|
6472
6601
|
}
|
6602
|
+
},
|
6603
|
+
participantCommunicationIdentifier: {
|
6604
|
+
serializedName: "participantCommunicationIdentifier",
|
6605
|
+
type: {
|
6606
|
+
name: "Composite",
|
6607
|
+
className: "CommunicationIdentifierModel"
|
6608
|
+
}
|
6609
|
+
},
|
6610
|
+
metadata: {
|
6611
|
+
serializedName: "metadata",
|
6612
|
+
required: true,
|
6613
|
+
type: {
|
6614
|
+
name: "Dictionary",
|
6615
|
+
value: { type: { name: "String" } }
|
6616
|
+
}
|
6473
6617
|
}
|
6474
6618
|
}
|
6475
6619
|
}
|
6476
6620
|
};
|
6477
|
-
const
|
6621
|
+
const AcsSmsDeliveryAttempt = {
|
6478
6622
|
type: {
|
6479
6623
|
name: "Composite",
|
6480
|
-
className: "
|
6624
|
+
className: "AcsSmsDeliveryAttempt",
|
6481
6625
|
modelProperties: {
|
6482
|
-
|
6483
|
-
serializedName: "
|
6626
|
+
timestamp: {
|
6627
|
+
serializedName: "timestamp",
|
6484
6628
|
required: true,
|
6485
6629
|
type: {
|
6486
6630
|
name: "String"
|
6487
6631
|
}
|
6488
6632
|
},
|
6489
|
-
|
6490
|
-
serializedName: "
|
6633
|
+
segmentsSucceeded: {
|
6634
|
+
serializedName: "segmentsSucceeded",
|
6491
6635
|
required: true,
|
6492
6636
|
type: {
|
6493
|
-
name: "
|
6637
|
+
name: "Number"
|
6494
6638
|
}
|
6495
6639
|
},
|
6496
|
-
|
6497
|
-
serializedName: "
|
6640
|
+
segmentsFailed: {
|
6641
|
+
serializedName: "segmentsFailed",
|
6498
6642
|
required: true,
|
6499
6643
|
type: {
|
6500
|
-
name: "
|
6644
|
+
name: "Number"
|
6501
6645
|
}
|
6502
|
-
}
|
6503
|
-
|
6504
|
-
|
6646
|
+
}
|
6647
|
+
}
|
6648
|
+
}
|
6649
|
+
};
|
6650
|
+
const AcsSmsEventBase = {
|
6651
|
+
type: {
|
6652
|
+
name: "Composite",
|
6653
|
+
className: "AcsSmsEventBase",
|
6654
|
+
modelProperties: {
|
6655
|
+
messageId: {
|
6656
|
+
serializedName: "messageId",
|
6505
6657
|
required: true,
|
6506
6658
|
type: {
|
6507
6659
|
name: "String"
|
6508
6660
|
}
|
6509
6661
|
},
|
6510
|
-
|
6511
|
-
serializedName: "
|
6662
|
+
from: {
|
6663
|
+
serializedName: "from",
|
6512
6664
|
required: true,
|
6513
6665
|
type: {
|
6514
6666
|
name: "String"
|
6515
6667
|
}
|
6516
6668
|
},
|
6517
|
-
|
6518
|
-
serializedName: "
|
6669
|
+
to: {
|
6670
|
+
serializedName: "to",
|
6519
6671
|
required: true,
|
6520
6672
|
type: {
|
6521
6673
|
name: "String"
|
@@ -6524,55 +6676,55 @@ const AcsEmailEngagementTrackingReportReceivedEventData = {
|
|
6524
6676
|
}
|
6525
6677
|
}
|
6526
6678
|
};
|
6527
|
-
const
|
6679
|
+
const AcsRecordingFileStatusUpdatedEventData = {
|
6528
6680
|
type: {
|
6529
6681
|
name: "Composite",
|
6530
|
-
className: "
|
6682
|
+
className: "AcsRecordingFileStatusUpdatedEventData",
|
6531
6683
|
modelProperties: {
|
6532
|
-
|
6533
|
-
serializedName: "
|
6534
|
-
required: true,
|
6684
|
+
recordingStorageInfo: {
|
6685
|
+
serializedName: "recordingStorageInfo",
|
6535
6686
|
type: {
|
6536
|
-
name: "
|
6687
|
+
name: "Composite",
|
6688
|
+
className: "AcsRecordingStorageInfo"
|
6537
6689
|
}
|
6538
6690
|
},
|
6539
|
-
|
6540
|
-
serializedName: "
|
6691
|
+
recordingStartTime: {
|
6692
|
+
serializedName: "recordingStartTime",
|
6541
6693
|
required: true,
|
6542
6694
|
type: {
|
6543
6695
|
name: "String"
|
6544
6696
|
}
|
6545
6697
|
},
|
6546
|
-
|
6547
|
-
serializedName: "
|
6698
|
+
recordingDurationMs: {
|
6699
|
+
serializedName: "recordingDurationMs",
|
6548
6700
|
required: true,
|
6549
6701
|
type: {
|
6550
|
-
name: "
|
6702
|
+
name: "Number"
|
6551
6703
|
}
|
6552
6704
|
},
|
6553
|
-
|
6554
|
-
serializedName: "
|
6705
|
+
recordingContentType: {
|
6706
|
+
serializedName: "recordingContentType",
|
6555
6707
|
required: true,
|
6556
6708
|
type: {
|
6557
6709
|
name: "String"
|
6558
6710
|
}
|
6559
6711
|
},
|
6560
|
-
|
6561
|
-
serializedName: "
|
6712
|
+
recordingChannelType: {
|
6713
|
+
serializedName: "recordingChannelType",
|
6562
6714
|
required: true,
|
6563
6715
|
type: {
|
6564
6716
|
name: "String"
|
6565
6717
|
}
|
6566
6718
|
},
|
6567
|
-
|
6568
|
-
serializedName: "
|
6719
|
+
recordingFormatType: {
|
6720
|
+
serializedName: "recordingFormatType",
|
6569
6721
|
required: true,
|
6570
6722
|
type: {
|
6571
6723
|
name: "String"
|
6572
6724
|
}
|
6573
6725
|
},
|
6574
|
-
|
6575
|
-
serializedName: "
|
6726
|
+
sessionEndReason: {
|
6727
|
+
serializedName: "sessionEndReason",
|
6576
6728
|
required: true,
|
6577
6729
|
type: {
|
6578
6730
|
name: "String"
|
@@ -6581,55 +6733,69 @@ const PolicyInsightsPolicyStateCreatedEventData = {
|
|
6581
6733
|
}
|
6582
6734
|
}
|
6583
6735
|
};
|
6584
|
-
const
|
6736
|
+
const AcsRecordingStorageInfo = {
|
6585
6737
|
type: {
|
6586
6738
|
name: "Composite",
|
6587
|
-
className: "
|
6739
|
+
className: "AcsRecordingStorageInfo",
|
6588
6740
|
modelProperties: {
|
6589
|
-
|
6590
|
-
serializedName: "
|
6741
|
+
recordingChunks: {
|
6742
|
+
serializedName: "recordingChunks",
|
6591
6743
|
required: true,
|
6592
6744
|
type: {
|
6593
|
-
name: "
|
6745
|
+
name: "Sequence",
|
6746
|
+
element: {
|
6747
|
+
type: {
|
6748
|
+
name: "Composite",
|
6749
|
+
className: "AcsRecordingChunkInfo"
|
6750
|
+
}
|
6751
|
+
}
|
6594
6752
|
}
|
6595
|
-
}
|
6596
|
-
|
6597
|
-
|
6753
|
+
}
|
6754
|
+
}
|
6755
|
+
}
|
6756
|
+
};
|
6757
|
+
const AcsRecordingChunkInfo = {
|
6758
|
+
type: {
|
6759
|
+
name: "Composite",
|
6760
|
+
className: "AcsRecordingChunkInfo",
|
6761
|
+
modelProperties: {
|
6762
|
+
documentId: {
|
6763
|
+
serializedName: "documentId",
|
6598
6764
|
required: true,
|
6599
6765
|
type: {
|
6600
6766
|
name: "String"
|
6601
6767
|
}
|
6602
6768
|
},
|
6603
|
-
|
6604
|
-
serializedName: "
|
6769
|
+
index: {
|
6770
|
+
serializedName: "index",
|
6605
6771
|
required: true,
|
6606
6772
|
type: {
|
6607
|
-
name: "
|
6773
|
+
name: "Number"
|
6608
6774
|
}
|
6609
6775
|
},
|
6610
|
-
|
6611
|
-
serializedName: "
|
6776
|
+
endReason: {
|
6777
|
+
serializedName: "endReason",
|
6612
6778
|
required: true,
|
6613
6779
|
type: {
|
6614
6780
|
name: "String"
|
6615
6781
|
}
|
6616
6782
|
},
|
6617
|
-
|
6618
|
-
serializedName: "
|
6783
|
+
metadataLocation: {
|
6784
|
+
serializedName: "metadataLocation",
|
6619
6785
|
required: true,
|
6620
6786
|
type: {
|
6621
6787
|
name: "String"
|
6622
6788
|
}
|
6623
6789
|
},
|
6624
|
-
|
6625
|
-
serializedName: "
|
6790
|
+
contentLocation: {
|
6791
|
+
serializedName: "contentLocation",
|
6626
6792
|
required: true,
|
6627
6793
|
type: {
|
6628
6794
|
name: "String"
|
6629
6795
|
}
|
6630
6796
|
},
|
6631
|
-
|
6632
|
-
serializedName: "
|
6797
|
+
deleteLocation: {
|
6798
|
+
serializedName: "deleteLocation",
|
6633
6799
|
required: true,
|
6634
6800
|
type: {
|
6635
6801
|
name: "String"
|
@@ -6638,55 +6804,63 @@ const PolicyInsightsPolicyStateChangedEventData = {
|
|
6638
6804
|
}
|
6639
6805
|
}
|
6640
6806
|
};
|
6641
|
-
const
|
6807
|
+
const AcsEmailDeliveryReportReceivedEventData = {
|
6642
6808
|
type: {
|
6643
6809
|
name: "Composite",
|
6644
|
-
className: "
|
6810
|
+
className: "AcsEmailDeliveryReportReceivedEventData",
|
6645
6811
|
modelProperties: {
|
6646
|
-
|
6647
|
-
serializedName: "
|
6812
|
+
sender: {
|
6813
|
+
serializedName: "sender",
|
6648
6814
|
required: true,
|
6649
6815
|
type: {
|
6650
6816
|
name: "String"
|
6651
6817
|
}
|
6652
6818
|
},
|
6653
|
-
|
6654
|
-
serializedName: "
|
6819
|
+
recipient: {
|
6820
|
+
serializedName: "recipient",
|
6655
6821
|
required: true,
|
6656
6822
|
type: {
|
6657
6823
|
name: "String"
|
6658
6824
|
}
|
6659
6825
|
},
|
6660
|
-
|
6661
|
-
serializedName: "
|
6826
|
+
messageId: {
|
6827
|
+
serializedName: "messageId",
|
6662
6828
|
required: true,
|
6663
6829
|
type: {
|
6664
6830
|
name: "String"
|
6665
6831
|
}
|
6666
6832
|
},
|
6667
|
-
|
6668
|
-
serializedName: "
|
6833
|
+
status: {
|
6834
|
+
serializedName: "status",
|
6669
6835
|
required: true,
|
6670
6836
|
type: {
|
6671
6837
|
name: "String"
|
6672
6838
|
}
|
6673
6839
|
},
|
6674
|
-
|
6675
|
-
serializedName: "
|
6676
|
-
required: true,
|
6840
|
+
deliveryStatusDetails: {
|
6841
|
+
serializedName: "deliveryStatusDetails",
|
6677
6842
|
type: {
|
6678
|
-
name: "
|
6843
|
+
name: "Composite",
|
6844
|
+
className: "AcsEmailDeliveryReportStatusDetails"
|
6679
6845
|
}
|
6680
6846
|
},
|
6681
|
-
|
6682
|
-
serializedName: "
|
6847
|
+
deliveryAttemptTimestamp: {
|
6848
|
+
serializedName: "deliveryAttemptTimeStamp",
|
6683
6849
|
required: true,
|
6684
6850
|
type: {
|
6685
6851
|
name: "String"
|
6686
6852
|
}
|
6687
|
-
}
|
6688
|
-
|
6689
|
-
|
6853
|
+
}
|
6854
|
+
}
|
6855
|
+
}
|
6856
|
+
};
|
6857
|
+
const AcsEmailDeliveryReportStatusDetails = {
|
6858
|
+
type: {
|
6859
|
+
name: "Composite",
|
6860
|
+
className: "AcsEmailDeliveryReportStatusDetails",
|
6861
|
+
modelProperties: {
|
6862
|
+
statusMessage: {
|
6863
|
+
serializedName: "statusMessage",
|
6690
6864
|
required: true,
|
6691
6865
|
type: {
|
6692
6866
|
name: "String"
|
@@ -6695,79 +6869,55 @@ const PolicyInsightsPolicyStateDeletedEventData = {
|
|
6695
6869
|
}
|
6696
6870
|
}
|
6697
6871
|
};
|
6698
|
-
const
|
6872
|
+
const AcsEmailEngagementTrackingReportReceivedEventData = {
|
6699
6873
|
type: {
|
6700
6874
|
name: "Composite",
|
6701
|
-
className: "
|
6875
|
+
className: "AcsEmailEngagementTrackingReportReceivedEventData",
|
6702
6876
|
modelProperties: {
|
6703
|
-
|
6704
|
-
serializedName: "
|
6877
|
+
sender: {
|
6878
|
+
serializedName: "sender",
|
6705
6879
|
required: true,
|
6706
6880
|
type: {
|
6707
6881
|
name: "String"
|
6708
6882
|
}
|
6709
6883
|
},
|
6710
|
-
|
6711
|
-
serializedName: "
|
6884
|
+
recipient: {
|
6885
|
+
serializedName: "recipient",
|
6712
6886
|
required: true,
|
6713
6887
|
type: {
|
6714
6888
|
name: "String"
|
6715
6889
|
}
|
6716
6890
|
},
|
6717
|
-
|
6718
|
-
serializedName: "
|
6891
|
+
messageId: {
|
6892
|
+
serializedName: "messageId",
|
6719
6893
|
required: true,
|
6720
6894
|
type: {
|
6721
6895
|
name: "String"
|
6722
6896
|
}
|
6723
6897
|
},
|
6724
|
-
|
6725
|
-
serializedName: "
|
6898
|
+
userActionTimestamp: {
|
6899
|
+
serializedName: "userActionTimeStamp",
|
6726
6900
|
required: true,
|
6727
6901
|
type: {
|
6728
6902
|
name: "String"
|
6729
6903
|
}
|
6730
|
-
}
|
6731
|
-
|
6732
|
-
|
6733
|
-
};
|
6734
|
-
const ApiManagementUserCreatedEventData = {
|
6735
|
-
type: {
|
6736
|
-
name: "Composite",
|
6737
|
-
className: "ApiManagementUserCreatedEventData",
|
6738
|
-
modelProperties: {
|
6739
|
-
resourceUri: {
|
6740
|
-
serializedName: "resourceUri",
|
6904
|
+
},
|
6905
|
+
engagementContext: {
|
6906
|
+
serializedName: "engagementContext",
|
6741
6907
|
required: true,
|
6742
6908
|
type: {
|
6743
6909
|
name: "String"
|
6744
6910
|
}
|
6745
|
-
}
|
6746
|
-
|
6747
|
-
|
6748
|
-
};
|
6749
|
-
const ApiManagementUserUpdatedEventData = {
|
6750
|
-
type: {
|
6751
|
-
name: "Composite",
|
6752
|
-
className: "ApiManagementUserUpdatedEventData",
|
6753
|
-
modelProperties: {
|
6754
|
-
resourceUri: {
|
6755
|
-
serializedName: "resourceUri",
|
6911
|
+
},
|
6912
|
+
userAgent: {
|
6913
|
+
serializedName: "userAgent",
|
6756
6914
|
required: true,
|
6757
6915
|
type: {
|
6758
6916
|
name: "String"
|
6759
6917
|
}
|
6760
|
-
}
|
6761
|
-
|
6762
|
-
|
6763
|
-
};
|
6764
|
-
const ApiManagementUserDeletedEventData = {
|
6765
|
-
type: {
|
6766
|
-
name: "Composite",
|
6767
|
-
className: "ApiManagementUserDeletedEventData",
|
6768
|
-
modelProperties: {
|
6769
|
-
resourceUri: {
|
6770
|
-
serializedName: "resourceUri",
|
6918
|
+
},
|
6919
|
+
engagement: {
|
6920
|
+
serializedName: "engagementType",
|
6771
6921
|
required: true,
|
6772
6922
|
type: {
|
6773
6923
|
name: "String"
|
@@ -6776,103 +6926,55 @@ const ApiManagementUserDeletedEventData = {
|
|
6776
6926
|
}
|
6777
6927
|
}
|
6778
6928
|
};
|
6779
|
-
const
|
6929
|
+
const PolicyInsightsPolicyStateCreatedEventData = {
|
6780
6930
|
type: {
|
6781
6931
|
name: "Composite",
|
6782
|
-
className: "
|
6932
|
+
className: "PolicyInsightsPolicyStateCreatedEventData",
|
6783
6933
|
modelProperties: {
|
6784
|
-
|
6785
|
-
serializedName: "
|
6934
|
+
timestamp: {
|
6935
|
+
serializedName: "timestamp",
|
6786
6936
|
required: true,
|
6787
6937
|
type: {
|
6788
6938
|
name: "String"
|
6789
6939
|
}
|
6790
|
-
}
|
6791
|
-
|
6792
|
-
|
6793
|
-
};
|
6794
|
-
const ApiManagementSubscriptionUpdatedEventData = {
|
6795
|
-
type: {
|
6796
|
-
name: "Composite",
|
6797
|
-
className: "ApiManagementSubscriptionUpdatedEventData",
|
6798
|
-
modelProperties: {
|
6799
|
-
resourceUri: {
|
6800
|
-
serializedName: "resourceUri",
|
6940
|
+
},
|
6941
|
+
policyAssignmentId: {
|
6942
|
+
serializedName: "policyAssignmentId",
|
6801
6943
|
required: true,
|
6802
6944
|
type: {
|
6803
6945
|
name: "String"
|
6804
6946
|
}
|
6805
|
-
}
|
6806
|
-
|
6807
|
-
|
6808
|
-
};
|
6809
|
-
const ApiManagementSubscriptionDeletedEventData = {
|
6810
|
-
type: {
|
6811
|
-
name: "Composite",
|
6812
|
-
className: "ApiManagementSubscriptionDeletedEventData",
|
6813
|
-
modelProperties: {
|
6814
|
-
resourceUri: {
|
6815
|
-
serializedName: "resourceUri",
|
6947
|
+
},
|
6948
|
+
policyDefinitionId: {
|
6949
|
+
serializedName: "policyDefinitionId",
|
6816
6950
|
required: true,
|
6817
6951
|
type: {
|
6818
6952
|
name: "String"
|
6819
6953
|
}
|
6820
|
-
}
|
6821
|
-
|
6822
|
-
|
6823
|
-
};
|
6824
|
-
const ApiManagementProductCreatedEventData = {
|
6825
|
-
type: {
|
6826
|
-
name: "Composite",
|
6827
|
-
className: "ApiManagementProductCreatedEventData",
|
6828
|
-
modelProperties: {
|
6829
|
-
resourceUri: {
|
6830
|
-
serializedName: "resourceUri",
|
6954
|
+
},
|
6955
|
+
policyDefinitionReferenceId: {
|
6956
|
+
serializedName: "policyDefinitionReferenceId",
|
6831
6957
|
required: true,
|
6832
6958
|
type: {
|
6833
6959
|
name: "String"
|
6834
6960
|
}
|
6835
|
-
}
|
6836
|
-
|
6837
|
-
|
6838
|
-
};
|
6839
|
-
const ApiManagementProductUpdatedEventData = {
|
6840
|
-
type: {
|
6841
|
-
name: "Composite",
|
6842
|
-
className: "ApiManagementProductUpdatedEventData",
|
6843
|
-
modelProperties: {
|
6844
|
-
resourceUri: {
|
6845
|
-
serializedName: "resourceUri",
|
6961
|
+
},
|
6962
|
+
complianceState: {
|
6963
|
+
serializedName: "complianceState",
|
6846
6964
|
required: true,
|
6847
6965
|
type: {
|
6848
6966
|
name: "String"
|
6849
6967
|
}
|
6850
|
-
}
|
6851
|
-
|
6852
|
-
|
6853
|
-
};
|
6854
|
-
const ApiManagementProductDeletedEventData = {
|
6855
|
-
type: {
|
6856
|
-
name: "Composite",
|
6857
|
-
className: "ApiManagementProductDeletedEventData",
|
6858
|
-
modelProperties: {
|
6859
|
-
resourceUri: {
|
6860
|
-
serializedName: "resourceUri",
|
6968
|
+
},
|
6969
|
+
subscriptionId: {
|
6970
|
+
serializedName: "subscriptionId",
|
6861
6971
|
required: true,
|
6862
6972
|
type: {
|
6863
6973
|
name: "String"
|
6864
6974
|
}
|
6865
|
-
}
|
6866
|
-
|
6867
|
-
|
6868
|
-
};
|
6869
|
-
const ApiManagementApiCreatedEventData = {
|
6870
|
-
type: {
|
6871
|
-
name: "Composite",
|
6872
|
-
className: "ApiManagementApiCreatedEventData",
|
6873
|
-
modelProperties: {
|
6874
|
-
resourceUri: {
|
6875
|
-
serializedName: "resourceUri",
|
6975
|
+
},
|
6976
|
+
complianceReasonCode: {
|
6977
|
+
serializedName: "complianceReasonCode",
|
6876
6978
|
required: true,
|
6877
6979
|
type: {
|
6878
6980
|
name: "String"
|
@@ -6881,58 +6983,55 @@ const ApiManagementApiCreatedEventData = {
|
|
6881
6983
|
}
|
6882
6984
|
}
|
6883
6985
|
};
|
6884
|
-
const
|
6986
|
+
const PolicyInsightsPolicyStateChangedEventData = {
|
6885
6987
|
type: {
|
6886
6988
|
name: "Composite",
|
6887
|
-
className: "
|
6989
|
+
className: "PolicyInsightsPolicyStateChangedEventData",
|
6888
6990
|
modelProperties: {
|
6889
|
-
|
6890
|
-
serializedName: "
|
6991
|
+
timestamp: {
|
6992
|
+
serializedName: "timestamp",
|
6891
6993
|
required: true,
|
6892
6994
|
type: {
|
6893
6995
|
name: "String"
|
6894
6996
|
}
|
6895
|
-
}
|
6896
|
-
|
6897
|
-
|
6898
|
-
};
|
6899
|
-
const ApiManagementApiDeletedEventData = {
|
6900
|
-
type: {
|
6901
|
-
name: "Composite",
|
6902
|
-
className: "ApiManagementApiDeletedEventData",
|
6903
|
-
modelProperties: {
|
6904
|
-
resourceUri: {
|
6905
|
-
serializedName: "resourceUri",
|
6997
|
+
},
|
6998
|
+
policyAssignmentId: {
|
6999
|
+
serializedName: "policyAssignmentId",
|
6906
7000
|
required: true,
|
6907
7001
|
type: {
|
6908
7002
|
name: "String"
|
6909
7003
|
}
|
6910
|
-
}
|
6911
|
-
|
6912
|
-
|
6913
|
-
};
|
6914
|
-
const ApiManagementApiReleaseCreatedEventData = {
|
6915
|
-
type: {
|
6916
|
-
name: "Composite",
|
6917
|
-
className: "ApiManagementApiReleaseCreatedEventData",
|
6918
|
-
modelProperties: {
|
6919
|
-
resourceUri: {
|
6920
|
-
serializedName: "resourceUri",
|
7004
|
+
},
|
7005
|
+
policyDefinitionId: {
|
7006
|
+
serializedName: "policyDefinitionId",
|
6921
7007
|
required: true,
|
6922
7008
|
type: {
|
6923
7009
|
name: "String"
|
6924
7010
|
}
|
6925
|
-
}
|
6926
|
-
|
6927
|
-
|
6928
|
-
|
6929
|
-
|
6930
|
-
|
6931
|
-
|
6932
|
-
|
6933
|
-
|
6934
|
-
|
6935
|
-
|
7011
|
+
},
|
7012
|
+
policyDefinitionReferenceId: {
|
7013
|
+
serializedName: "policyDefinitionReferenceId",
|
7014
|
+
required: true,
|
7015
|
+
type: {
|
7016
|
+
name: "String"
|
7017
|
+
}
|
7018
|
+
},
|
7019
|
+
complianceState: {
|
7020
|
+
serializedName: "complianceState",
|
7021
|
+
required: true,
|
7022
|
+
type: {
|
7023
|
+
name: "String"
|
7024
|
+
}
|
7025
|
+
},
|
7026
|
+
subscriptionId: {
|
7027
|
+
serializedName: "subscriptionId",
|
7028
|
+
required: true,
|
7029
|
+
type: {
|
7030
|
+
name: "String"
|
7031
|
+
}
|
7032
|
+
},
|
7033
|
+
complianceReasonCode: {
|
7034
|
+
serializedName: "complianceReasonCode",
|
6936
7035
|
required: true,
|
6937
7036
|
type: {
|
6938
7037
|
name: "String"
|
@@ -6941,13 +7040,55 @@ const ApiManagementApiReleaseUpdatedEventData = {
|
|
6941
7040
|
}
|
6942
7041
|
}
|
6943
7042
|
};
|
6944
|
-
const
|
7043
|
+
const PolicyInsightsPolicyStateDeletedEventData = {
|
6945
7044
|
type: {
|
6946
7045
|
name: "Composite",
|
6947
|
-
className: "
|
7046
|
+
className: "PolicyInsightsPolicyStateDeletedEventData",
|
6948
7047
|
modelProperties: {
|
6949
|
-
|
6950
|
-
serializedName: "
|
7048
|
+
timestamp: {
|
7049
|
+
serializedName: "timestamp",
|
7050
|
+
required: true,
|
7051
|
+
type: {
|
7052
|
+
name: "String"
|
7053
|
+
}
|
7054
|
+
},
|
7055
|
+
policyAssignmentId: {
|
7056
|
+
serializedName: "policyAssignmentId",
|
7057
|
+
required: true,
|
7058
|
+
type: {
|
7059
|
+
name: "String"
|
7060
|
+
}
|
7061
|
+
},
|
7062
|
+
policyDefinitionId: {
|
7063
|
+
serializedName: "policyDefinitionId",
|
7064
|
+
required: true,
|
7065
|
+
type: {
|
7066
|
+
name: "String"
|
7067
|
+
}
|
7068
|
+
},
|
7069
|
+
policyDefinitionReferenceId: {
|
7070
|
+
serializedName: "policyDefinitionReferenceId",
|
7071
|
+
required: true,
|
7072
|
+
type: {
|
7073
|
+
name: "String"
|
7074
|
+
}
|
7075
|
+
},
|
7076
|
+
complianceState: {
|
7077
|
+
serializedName: "complianceState",
|
7078
|
+
required: true,
|
7079
|
+
type: {
|
7080
|
+
name: "String"
|
7081
|
+
}
|
7082
|
+
},
|
7083
|
+
subscriptionId: {
|
7084
|
+
serializedName: "subscriptionId",
|
7085
|
+
required: true,
|
7086
|
+
type: {
|
7087
|
+
name: "String"
|
7088
|
+
}
|
7089
|
+
},
|
7090
|
+
complianceReasonCode: {
|
7091
|
+
serializedName: "complianceReasonCode",
|
6951
7092
|
required: true,
|
6952
7093
|
type: {
|
6953
7094
|
name: "String"
|
@@ -6956,13 +7097,34 @@ const ApiManagementApiReleaseDeletedEventData = {
|
|
6956
7097
|
}
|
6957
7098
|
}
|
6958
7099
|
};
|
6959
|
-
const
|
7100
|
+
const ContainerServiceNewKubernetesVersionAvailableEventData = {
|
6960
7101
|
type: {
|
6961
7102
|
name: "Composite",
|
6962
|
-
className: "
|
7103
|
+
className: "ContainerServiceNewKubernetesVersionAvailableEventData",
|
6963
7104
|
modelProperties: {
|
6964
|
-
|
6965
|
-
serializedName: "
|
7105
|
+
latestSupportedKubernetesVersion: {
|
7106
|
+
serializedName: "latestSupportedKubernetesVersion",
|
7107
|
+
required: true,
|
7108
|
+
type: {
|
7109
|
+
name: "String"
|
7110
|
+
}
|
7111
|
+
},
|
7112
|
+
latestStableKubernetesVersion: {
|
7113
|
+
serializedName: "latestStableKubernetesVersion",
|
7114
|
+
required: true,
|
7115
|
+
type: {
|
7116
|
+
name: "String"
|
7117
|
+
}
|
7118
|
+
},
|
7119
|
+
lowestMinorKubernetesVersion: {
|
7120
|
+
serializedName: "lowestMinorKubernetesVersion",
|
7121
|
+
required: true,
|
7122
|
+
type: {
|
7123
|
+
name: "String"
|
7124
|
+
}
|
7125
|
+
},
|
7126
|
+
latestPreviewKubernetesVersion: {
|
7127
|
+
serializedName: "latestPreviewKubernetesVersion",
|
6966
7128
|
required: true,
|
6967
7129
|
type: {
|
6968
7130
|
name: "String"
|
@@ -6971,13 +7133,13 @@ const ApiManagementGatewayCreatedEventData = {
|
|
6971
7133
|
}
|
6972
7134
|
}
|
6973
7135
|
};
|
6974
|
-
const
|
7136
|
+
const ContainerServiceClusterSupportEventData = {
|
6975
7137
|
type: {
|
6976
7138
|
name: "Composite",
|
6977
|
-
className: "
|
7139
|
+
className: "ContainerServiceClusterSupportEventData",
|
6978
7140
|
modelProperties: {
|
6979
|
-
|
6980
|
-
serializedName: "
|
7141
|
+
kubernetesVersion: {
|
7142
|
+
serializedName: "kubernetesVersion",
|
6981
7143
|
required: true,
|
6982
7144
|
type: {
|
6983
7145
|
name: "String"
|
@@ -6986,13 +7148,13 @@ const ApiManagementGatewayUpdatedEventData = {
|
|
6986
7148
|
}
|
6987
7149
|
}
|
6988
7150
|
};
|
6989
|
-
const
|
7151
|
+
const ContainerServiceNodePoolRollingEventData = {
|
6990
7152
|
type: {
|
6991
7153
|
name: "Composite",
|
6992
|
-
className: "
|
7154
|
+
className: "ContainerServiceNodePoolRollingEventData",
|
6993
7155
|
modelProperties: {
|
6994
|
-
|
6995
|
-
serializedName: "
|
7156
|
+
nodePoolName: {
|
7157
|
+
serializedName: "nodePoolName",
|
6996
7158
|
required: true,
|
6997
7159
|
type: {
|
6998
7160
|
name: "String"
|
@@ -7001,10 +7163,10 @@ const ApiManagementGatewayDeletedEventData = {
|
|
7001
7163
|
}
|
7002
7164
|
}
|
7003
7165
|
};
|
7004
|
-
const
|
7166
|
+
const ApiManagementUserCreatedEventData = {
|
7005
7167
|
type: {
|
7006
7168
|
name: "Composite",
|
7007
|
-
className: "
|
7169
|
+
className: "ApiManagementUserCreatedEventData",
|
7008
7170
|
modelProperties: {
|
7009
7171
|
resourceUri: {
|
7010
7172
|
serializedName: "resourceUri",
|
@@ -7016,10 +7178,10 @@ const ApiManagementGatewayHostnameConfigurationCreatedEventData = {
|
|
7016
7178
|
}
|
7017
7179
|
}
|
7018
7180
|
};
|
7019
|
-
const
|
7181
|
+
const ApiManagementUserUpdatedEventData = {
|
7020
7182
|
type: {
|
7021
7183
|
name: "Composite",
|
7022
|
-
className: "
|
7184
|
+
className: "ApiManagementUserUpdatedEventData",
|
7023
7185
|
modelProperties: {
|
7024
7186
|
resourceUri: {
|
7025
7187
|
serializedName: "resourceUri",
|
@@ -7031,10 +7193,10 @@ const ApiManagementGatewayHostnameConfigurationUpdatedEventData = {
|
|
7031
7193
|
}
|
7032
7194
|
}
|
7033
7195
|
};
|
7034
|
-
const
|
7196
|
+
const ApiManagementUserDeletedEventData = {
|
7035
7197
|
type: {
|
7036
7198
|
name: "Composite",
|
7037
|
-
className: "
|
7199
|
+
className: "ApiManagementUserDeletedEventData",
|
7038
7200
|
modelProperties: {
|
7039
7201
|
resourceUri: {
|
7040
7202
|
serializedName: "resourceUri",
|
@@ -7046,10 +7208,10 @@ const ApiManagementGatewayHostnameConfigurationDeletedEventData = {
|
|
7046
7208
|
}
|
7047
7209
|
}
|
7048
7210
|
};
|
7049
|
-
const
|
7211
|
+
const ApiManagementSubscriptionCreatedEventData = {
|
7050
7212
|
type: {
|
7051
7213
|
name: "Composite",
|
7052
|
-
className: "
|
7214
|
+
className: "ApiManagementSubscriptionCreatedEventData",
|
7053
7215
|
modelProperties: {
|
7054
7216
|
resourceUri: {
|
7055
7217
|
serializedName: "resourceUri",
|
@@ -7061,10 +7223,10 @@ const ApiManagementGatewayCertificateAuthorityCreatedEventData = {
|
|
7061
7223
|
}
|
7062
7224
|
}
|
7063
7225
|
};
|
7064
|
-
const
|
7226
|
+
const ApiManagementSubscriptionUpdatedEventData = {
|
7065
7227
|
type: {
|
7066
7228
|
name: "Composite",
|
7067
|
-
className: "
|
7229
|
+
className: "ApiManagementSubscriptionUpdatedEventData",
|
7068
7230
|
modelProperties: {
|
7069
7231
|
resourceUri: {
|
7070
7232
|
serializedName: "resourceUri",
|
@@ -7076,10 +7238,10 @@ const ApiManagementGatewayCertificateAuthorityUpdatedEventData = {
|
|
7076
7238
|
}
|
7077
7239
|
}
|
7078
7240
|
};
|
7079
|
-
const
|
7241
|
+
const ApiManagementSubscriptionDeletedEventData = {
|
7080
7242
|
type: {
|
7081
7243
|
name: "Composite",
|
7082
|
-
className: "
|
7244
|
+
className: "ApiManagementSubscriptionDeletedEventData",
|
7083
7245
|
modelProperties: {
|
7084
7246
|
resourceUri: {
|
7085
7247
|
serializedName: "resourceUri",
|
@@ -7091,10 +7253,10 @@ const ApiManagementGatewayCertificateAuthorityDeletedEventData = {
|
|
7091
7253
|
}
|
7092
7254
|
}
|
7093
7255
|
};
|
7094
|
-
const
|
7256
|
+
const ApiManagementProductCreatedEventData = {
|
7095
7257
|
type: {
|
7096
7258
|
name: "Composite",
|
7097
|
-
className: "
|
7259
|
+
className: "ApiManagementProductCreatedEventData",
|
7098
7260
|
modelProperties: {
|
7099
7261
|
resourceUri: {
|
7100
7262
|
serializedName: "resourceUri",
|
@@ -7106,10 +7268,10 @@ const ApiManagementGatewayApiAddedEventData = {
|
|
7106
7268
|
}
|
7107
7269
|
}
|
7108
7270
|
};
|
7109
|
-
const
|
7271
|
+
const ApiManagementProductUpdatedEventData = {
|
7110
7272
|
type: {
|
7111
7273
|
name: "Composite",
|
7112
|
-
className: "
|
7274
|
+
className: "ApiManagementProductUpdatedEventData",
|
7113
7275
|
modelProperties: {
|
7114
7276
|
resourceUri: {
|
7115
7277
|
serializedName: "resourceUri",
|
@@ -7121,131 +7283,401 @@ const ApiManagementGatewayApiRemovedEventData = {
|
|
7121
7283
|
}
|
7122
7284
|
}
|
7123
7285
|
};
|
7124
|
-
const
|
7286
|
+
const ApiManagementProductDeletedEventData = {
|
7125
7287
|
type: {
|
7126
7288
|
name: "Composite",
|
7127
|
-
className: "
|
7289
|
+
className: "ApiManagementProductDeletedEventData",
|
7128
7290
|
modelProperties: {
|
7129
|
-
|
7130
|
-
serializedName: "
|
7291
|
+
resourceUri: {
|
7292
|
+
serializedName: "resourceUri",
|
7131
7293
|
required: true,
|
7132
7294
|
type: {
|
7133
7295
|
name: "String"
|
7134
7296
|
}
|
7135
|
-
}
|
7136
|
-
|
7137
|
-
|
7297
|
+
}
|
7298
|
+
}
|
7299
|
+
}
|
7300
|
+
};
|
7301
|
+
const ApiManagementApiCreatedEventData = {
|
7302
|
+
type: {
|
7303
|
+
name: "Composite",
|
7304
|
+
className: "ApiManagementApiCreatedEventData",
|
7305
|
+
modelProperties: {
|
7306
|
+
resourceUri: {
|
7307
|
+
serializedName: "resourceUri",
|
7138
7308
|
required: true,
|
7139
7309
|
type: {
|
7140
7310
|
name: "String"
|
7141
7311
|
}
|
7142
|
-
}
|
7143
|
-
|
7144
|
-
|
7312
|
+
}
|
7313
|
+
}
|
7314
|
+
}
|
7315
|
+
};
|
7316
|
+
const ApiManagementApiUpdatedEventData = {
|
7317
|
+
type: {
|
7318
|
+
name: "Composite",
|
7319
|
+
className: "ApiManagementApiUpdatedEventData",
|
7320
|
+
modelProperties: {
|
7321
|
+
resourceUri: {
|
7322
|
+
serializedName: "resourceUri",
|
7145
7323
|
required: true,
|
7146
7324
|
type: {
|
7147
7325
|
name: "String"
|
7148
7326
|
}
|
7149
|
-
},
|
7150
|
-
resourceVersionId: {
|
7151
|
-
serializedName: "resourceVersionId",
|
7152
|
-
required: true,
|
7153
|
-
type: {
|
7154
|
-
name: "Number"
|
7155
|
-
}
|
7156
7327
|
}
|
7157
7328
|
}
|
7158
7329
|
}
|
7159
7330
|
};
|
7160
|
-
const
|
7331
|
+
const ApiManagementApiDeletedEventData = {
|
7161
7332
|
type: {
|
7162
7333
|
name: "Composite",
|
7163
|
-
className: "
|
7334
|
+
className: "ApiManagementApiDeletedEventData",
|
7164
7335
|
modelProperties: {
|
7165
|
-
|
7166
|
-
serializedName: "
|
7336
|
+
resourceUri: {
|
7337
|
+
serializedName: "resourceUri",
|
7167
7338
|
required: true,
|
7168
7339
|
type: {
|
7169
7340
|
name: "String"
|
7170
7341
|
}
|
7171
|
-
}
|
7172
|
-
|
7173
|
-
|
7342
|
+
}
|
7343
|
+
}
|
7344
|
+
}
|
7345
|
+
};
|
7346
|
+
const ApiManagementApiReleaseCreatedEventData = {
|
7347
|
+
type: {
|
7348
|
+
name: "Composite",
|
7349
|
+
className: "ApiManagementApiReleaseCreatedEventData",
|
7350
|
+
modelProperties: {
|
7351
|
+
resourceUri: {
|
7352
|
+
serializedName: "resourceUri",
|
7174
7353
|
required: true,
|
7175
7354
|
type: {
|
7176
7355
|
name: "String"
|
7177
7356
|
}
|
7178
|
-
}
|
7179
|
-
|
7180
|
-
|
7357
|
+
}
|
7358
|
+
}
|
7359
|
+
}
|
7360
|
+
};
|
7361
|
+
const ApiManagementApiReleaseUpdatedEventData = {
|
7362
|
+
type: {
|
7363
|
+
name: "Composite",
|
7364
|
+
className: "ApiManagementApiReleaseUpdatedEventData",
|
7365
|
+
modelProperties: {
|
7366
|
+
resourceUri: {
|
7367
|
+
serializedName: "resourceUri",
|
7181
7368
|
required: true,
|
7182
7369
|
type: {
|
7183
7370
|
name: "String"
|
7184
7371
|
}
|
7185
|
-
},
|
7186
|
-
resourceVersionId: {
|
7187
|
-
serializedName: "resourceVersionId",
|
7188
|
-
required: true,
|
7189
|
-
type: {
|
7190
|
-
name: "Number"
|
7191
|
-
}
|
7192
7372
|
}
|
7193
7373
|
}
|
7194
7374
|
}
|
7195
7375
|
};
|
7196
|
-
const
|
7376
|
+
const ApiManagementApiReleaseDeletedEventData = {
|
7197
7377
|
type: {
|
7198
7378
|
name: "Composite",
|
7199
|
-
className: "
|
7379
|
+
className: "ApiManagementApiReleaseDeletedEventData",
|
7200
7380
|
modelProperties: {
|
7201
|
-
|
7202
|
-
serializedName: "
|
7381
|
+
resourceUri: {
|
7382
|
+
serializedName: "resourceUri",
|
7203
7383
|
required: true,
|
7204
7384
|
type: {
|
7205
7385
|
name: "String"
|
7206
7386
|
}
|
7207
|
-
}
|
7208
|
-
|
7209
|
-
|
7387
|
+
}
|
7388
|
+
}
|
7389
|
+
}
|
7390
|
+
};
|
7391
|
+
const ApiManagementGatewayCreatedEventData = {
|
7392
|
+
type: {
|
7393
|
+
name: "Composite",
|
7394
|
+
className: "ApiManagementGatewayCreatedEventData",
|
7395
|
+
modelProperties: {
|
7396
|
+
resourceUri: {
|
7397
|
+
serializedName: "resourceUri",
|
7210
7398
|
required: true,
|
7211
7399
|
type: {
|
7212
7400
|
name: "String"
|
7213
7401
|
}
|
7214
|
-
}
|
7215
|
-
|
7216
|
-
|
7402
|
+
}
|
7403
|
+
}
|
7404
|
+
}
|
7405
|
+
};
|
7406
|
+
const ApiManagementGatewayUpdatedEventData = {
|
7407
|
+
type: {
|
7408
|
+
name: "Composite",
|
7409
|
+
className: "ApiManagementGatewayUpdatedEventData",
|
7410
|
+
modelProperties: {
|
7411
|
+
resourceUri: {
|
7412
|
+
serializedName: "resourceUri",
|
7217
7413
|
required: true,
|
7218
7414
|
type: {
|
7219
7415
|
name: "String"
|
7220
7416
|
}
|
7221
|
-
},
|
7222
|
-
resourceVersionId: {
|
7223
|
-
serializedName: "resourceVersionId",
|
7224
|
-
required: true,
|
7225
|
-
type: {
|
7226
|
-
name: "Number"
|
7227
|
-
}
|
7228
7417
|
}
|
7229
7418
|
}
|
7230
7419
|
}
|
7231
7420
|
};
|
7232
|
-
const
|
7421
|
+
const ApiManagementGatewayDeletedEventData = {
|
7233
7422
|
type: {
|
7234
7423
|
name: "Composite",
|
7235
|
-
className: "
|
7424
|
+
className: "ApiManagementGatewayDeletedEventData",
|
7236
7425
|
modelProperties: {
|
7237
|
-
|
7238
|
-
serializedName: "
|
7426
|
+
resourceUri: {
|
7427
|
+
serializedName: "resourceUri",
|
7239
7428
|
required: true,
|
7240
7429
|
type: {
|
7241
7430
|
name: "String"
|
7242
7431
|
}
|
7243
|
-
}
|
7244
|
-
|
7245
|
-
|
7246
|
-
|
7247
|
-
|
7248
|
-
|
7432
|
+
}
|
7433
|
+
}
|
7434
|
+
}
|
7435
|
+
};
|
7436
|
+
const ApiManagementGatewayHostnameConfigurationCreatedEventData = {
|
7437
|
+
type: {
|
7438
|
+
name: "Composite",
|
7439
|
+
className: "ApiManagementGatewayHostnameConfigurationCreatedEventData",
|
7440
|
+
modelProperties: {
|
7441
|
+
resourceUri: {
|
7442
|
+
serializedName: "resourceUri",
|
7443
|
+
required: true,
|
7444
|
+
type: {
|
7445
|
+
name: "String"
|
7446
|
+
}
|
7447
|
+
}
|
7448
|
+
}
|
7449
|
+
}
|
7450
|
+
};
|
7451
|
+
const ApiManagementGatewayHostnameConfigurationUpdatedEventData = {
|
7452
|
+
type: {
|
7453
|
+
name: "Composite",
|
7454
|
+
className: "ApiManagementGatewayHostnameConfigurationUpdatedEventData",
|
7455
|
+
modelProperties: {
|
7456
|
+
resourceUri: {
|
7457
|
+
serializedName: "resourceUri",
|
7458
|
+
required: true,
|
7459
|
+
type: {
|
7460
|
+
name: "String"
|
7461
|
+
}
|
7462
|
+
}
|
7463
|
+
}
|
7464
|
+
}
|
7465
|
+
};
|
7466
|
+
const ApiManagementGatewayHostnameConfigurationDeletedEventData = {
|
7467
|
+
type: {
|
7468
|
+
name: "Composite",
|
7469
|
+
className: "ApiManagementGatewayHostnameConfigurationDeletedEventData",
|
7470
|
+
modelProperties: {
|
7471
|
+
resourceUri: {
|
7472
|
+
serializedName: "resourceUri",
|
7473
|
+
required: true,
|
7474
|
+
type: {
|
7475
|
+
name: "String"
|
7476
|
+
}
|
7477
|
+
}
|
7478
|
+
}
|
7479
|
+
}
|
7480
|
+
};
|
7481
|
+
const ApiManagementGatewayCertificateAuthorityCreatedEventData = {
|
7482
|
+
type: {
|
7483
|
+
name: "Composite",
|
7484
|
+
className: "ApiManagementGatewayCertificateAuthorityCreatedEventData",
|
7485
|
+
modelProperties: {
|
7486
|
+
resourceUri: {
|
7487
|
+
serializedName: "resourceUri",
|
7488
|
+
required: true,
|
7489
|
+
type: {
|
7490
|
+
name: "String"
|
7491
|
+
}
|
7492
|
+
}
|
7493
|
+
}
|
7494
|
+
}
|
7495
|
+
};
|
7496
|
+
const ApiManagementGatewayCertificateAuthorityUpdatedEventData = {
|
7497
|
+
type: {
|
7498
|
+
name: "Composite",
|
7499
|
+
className: "ApiManagementGatewayCertificateAuthorityUpdatedEventData",
|
7500
|
+
modelProperties: {
|
7501
|
+
resourceUri: {
|
7502
|
+
serializedName: "resourceUri",
|
7503
|
+
required: true,
|
7504
|
+
type: {
|
7505
|
+
name: "String"
|
7506
|
+
}
|
7507
|
+
}
|
7508
|
+
}
|
7509
|
+
}
|
7510
|
+
};
|
7511
|
+
const ApiManagementGatewayCertificateAuthorityDeletedEventData = {
|
7512
|
+
type: {
|
7513
|
+
name: "Composite",
|
7514
|
+
className: "ApiManagementGatewayCertificateAuthorityDeletedEventData",
|
7515
|
+
modelProperties: {
|
7516
|
+
resourceUri: {
|
7517
|
+
serializedName: "resourceUri",
|
7518
|
+
required: true,
|
7519
|
+
type: {
|
7520
|
+
name: "String"
|
7521
|
+
}
|
7522
|
+
}
|
7523
|
+
}
|
7524
|
+
}
|
7525
|
+
};
|
7526
|
+
const ApiManagementGatewayApiAddedEventData = {
|
7527
|
+
type: {
|
7528
|
+
name: "Composite",
|
7529
|
+
className: "ApiManagementGatewayApiAddedEventData",
|
7530
|
+
modelProperties: {
|
7531
|
+
resourceUri: {
|
7532
|
+
serializedName: "resourceUri",
|
7533
|
+
required: true,
|
7534
|
+
type: {
|
7535
|
+
name: "String"
|
7536
|
+
}
|
7537
|
+
}
|
7538
|
+
}
|
7539
|
+
}
|
7540
|
+
};
|
7541
|
+
const ApiManagementGatewayApiRemovedEventData = {
|
7542
|
+
type: {
|
7543
|
+
name: "Composite",
|
7544
|
+
className: "ApiManagementGatewayApiRemovedEventData",
|
7545
|
+
modelProperties: {
|
7546
|
+
resourceUri: {
|
7547
|
+
serializedName: "resourceUri",
|
7548
|
+
required: true,
|
7549
|
+
type: {
|
7550
|
+
name: "String"
|
7551
|
+
}
|
7552
|
+
}
|
7553
|
+
}
|
7554
|
+
}
|
7555
|
+
};
|
7556
|
+
const HealthcareFhirResourceCreatedEventData = {
|
7557
|
+
type: {
|
7558
|
+
name: "Composite",
|
7559
|
+
className: "HealthcareFhirResourceCreatedEventData",
|
7560
|
+
modelProperties: {
|
7561
|
+
resourceType: {
|
7562
|
+
serializedName: "resourceType",
|
7563
|
+
required: true,
|
7564
|
+
type: {
|
7565
|
+
name: "String"
|
7566
|
+
}
|
7567
|
+
},
|
7568
|
+
resourceFhirAccount: {
|
7569
|
+
serializedName: "resourceFhirAccount",
|
7570
|
+
required: true,
|
7571
|
+
type: {
|
7572
|
+
name: "String"
|
7573
|
+
}
|
7574
|
+
},
|
7575
|
+
resourceFhirId: {
|
7576
|
+
serializedName: "resourceFhirId",
|
7577
|
+
required: true,
|
7578
|
+
type: {
|
7579
|
+
name: "String"
|
7580
|
+
}
|
7581
|
+
},
|
7582
|
+
resourceVersionId: {
|
7583
|
+
serializedName: "resourceVersionId",
|
7584
|
+
required: true,
|
7585
|
+
type: {
|
7586
|
+
name: "Number"
|
7587
|
+
}
|
7588
|
+
}
|
7589
|
+
}
|
7590
|
+
}
|
7591
|
+
};
|
7592
|
+
const HealthcareFhirResourceUpdatedEventData = {
|
7593
|
+
type: {
|
7594
|
+
name: "Composite",
|
7595
|
+
className: "HealthcareFhirResourceUpdatedEventData",
|
7596
|
+
modelProperties: {
|
7597
|
+
resourceType: {
|
7598
|
+
serializedName: "resourceType",
|
7599
|
+
required: true,
|
7600
|
+
type: {
|
7601
|
+
name: "String"
|
7602
|
+
}
|
7603
|
+
},
|
7604
|
+
resourceFhirAccount: {
|
7605
|
+
serializedName: "resourceFhirAccount",
|
7606
|
+
required: true,
|
7607
|
+
type: {
|
7608
|
+
name: "String"
|
7609
|
+
}
|
7610
|
+
},
|
7611
|
+
resourceFhirId: {
|
7612
|
+
serializedName: "resourceFhirId",
|
7613
|
+
required: true,
|
7614
|
+
type: {
|
7615
|
+
name: "String"
|
7616
|
+
}
|
7617
|
+
},
|
7618
|
+
resourceVersionId: {
|
7619
|
+
serializedName: "resourceVersionId",
|
7620
|
+
required: true,
|
7621
|
+
type: {
|
7622
|
+
name: "Number"
|
7623
|
+
}
|
7624
|
+
}
|
7625
|
+
}
|
7626
|
+
}
|
7627
|
+
};
|
7628
|
+
const HealthcareFhirResourceDeletedEventData = {
|
7629
|
+
type: {
|
7630
|
+
name: "Composite",
|
7631
|
+
className: "HealthcareFhirResourceDeletedEventData",
|
7632
|
+
modelProperties: {
|
7633
|
+
resourceType: {
|
7634
|
+
serializedName: "resourceType",
|
7635
|
+
required: true,
|
7636
|
+
type: {
|
7637
|
+
name: "String"
|
7638
|
+
}
|
7639
|
+
},
|
7640
|
+
resourceFhirAccount: {
|
7641
|
+
serializedName: "resourceFhirAccount",
|
7642
|
+
required: true,
|
7643
|
+
type: {
|
7644
|
+
name: "String"
|
7645
|
+
}
|
7646
|
+
},
|
7647
|
+
resourceFhirId: {
|
7648
|
+
serializedName: "resourceFhirId",
|
7649
|
+
required: true,
|
7650
|
+
type: {
|
7651
|
+
name: "String"
|
7652
|
+
}
|
7653
|
+
},
|
7654
|
+
resourceVersionId: {
|
7655
|
+
serializedName: "resourceVersionId",
|
7656
|
+
required: true,
|
7657
|
+
type: {
|
7658
|
+
name: "Number"
|
7659
|
+
}
|
7660
|
+
}
|
7661
|
+
}
|
7662
|
+
}
|
7663
|
+
};
|
7664
|
+
const HealthcareDicomImageCreatedEventData = {
|
7665
|
+
type: {
|
7666
|
+
name: "Composite",
|
7667
|
+
className: "HealthcareDicomImageCreatedEventData",
|
7668
|
+
modelProperties: {
|
7669
|
+
partitionName: {
|
7670
|
+
serializedName: "partitionName",
|
7671
|
+
required: true,
|
7672
|
+
type: {
|
7673
|
+
name: "String"
|
7674
|
+
}
|
7675
|
+
},
|
7676
|
+
imageStudyInstanceUid: {
|
7677
|
+
serializedName: "imageStudyInstanceUid",
|
7678
|
+
required: true,
|
7679
|
+
type: {
|
7680
|
+
name: "String"
|
7249
7681
|
}
|
7250
7682
|
},
|
7251
7683
|
imageSeriesInstanceUid: {
|
@@ -7379,15 +7811,245 @@ const HealthcareDicomImageDeletedEventData = {
|
|
7379
7811
|
}
|
7380
7812
|
}
|
7381
7813
|
};
|
7382
|
-
const
|
7814
|
+
const ResourceNotificationsResourceUpdatedDetails = {
|
7383
7815
|
type: {
|
7384
7816
|
name: "Composite",
|
7385
|
-
className: "
|
7386
|
-
modelProperties:
|
7387
|
-
|
7388
|
-
|
7389
|
-
|
7390
|
-
|
7817
|
+
className: "ResourceNotificationsResourceUpdatedDetails",
|
7818
|
+
modelProperties: {
|
7819
|
+
id: {
|
7820
|
+
serializedName: "id",
|
7821
|
+
required: true,
|
7822
|
+
type: {
|
7823
|
+
name: "String"
|
7824
|
+
}
|
7825
|
+
},
|
7826
|
+
name: {
|
7827
|
+
serializedName: "name",
|
7828
|
+
required: true,
|
7829
|
+
type: {
|
7830
|
+
name: "String"
|
7831
|
+
}
|
7832
|
+
},
|
7833
|
+
type: {
|
7834
|
+
serializedName: "type",
|
7835
|
+
required: true,
|
7836
|
+
type: {
|
7837
|
+
name: "String"
|
7838
|
+
}
|
7839
|
+
},
|
7840
|
+
location: {
|
7841
|
+
serializedName: "location",
|
7842
|
+
required: true,
|
7843
|
+
type: {
|
7844
|
+
name: "String"
|
7845
|
+
}
|
7846
|
+
},
|
7847
|
+
tags: {
|
7848
|
+
serializedName: "tags",
|
7849
|
+
required: true,
|
7850
|
+
type: {
|
7851
|
+
name: "Dictionary",
|
7852
|
+
value: { type: { name: "String" } }
|
7853
|
+
}
|
7854
|
+
},
|
7855
|
+
properties: {
|
7856
|
+
serializedName: "properties",
|
7857
|
+
required: true,
|
7858
|
+
type: {
|
7859
|
+
name: "Dictionary",
|
7860
|
+
value: { type: { name: "any" } }
|
7861
|
+
}
|
7862
|
+
}
|
7863
|
+
}
|
7864
|
+
}
|
7865
|
+
};
|
7866
|
+
const ResourceNotificationsOperationalDetails = {
|
7867
|
+
type: {
|
7868
|
+
name: "Composite",
|
7869
|
+
className: "ResourceNotificationsOperationalDetails",
|
7870
|
+
modelProperties: {
|
7871
|
+
resourceEventTime: {
|
7872
|
+
serializedName: "resourceEventTime",
|
7873
|
+
required: true,
|
7874
|
+
type: {
|
7875
|
+
name: "String"
|
7876
|
+
}
|
7877
|
+
}
|
7878
|
+
}
|
7879
|
+
}
|
7880
|
+
};
|
7881
|
+
const ResourceNotificationsResourceUpdatedEventData = {
|
7882
|
+
type: {
|
7883
|
+
name: "Composite",
|
7884
|
+
className: "ResourceNotificationsResourceUpdatedEventData",
|
7885
|
+
modelProperties: {
|
7886
|
+
resourceDetails: {
|
7887
|
+
serializedName: "resourceInfo",
|
7888
|
+
type: {
|
7889
|
+
name: "Composite",
|
7890
|
+
className: "ResourceNotificationsResourceUpdatedDetails"
|
7891
|
+
}
|
7892
|
+
},
|
7893
|
+
operationalDetails: {
|
7894
|
+
serializedName: "operationalInfo",
|
7895
|
+
type: {
|
7896
|
+
name: "Composite",
|
7897
|
+
className: "ResourceNotificationsOperationalDetails"
|
7898
|
+
}
|
7899
|
+
},
|
7900
|
+
apiVersion: {
|
7901
|
+
serializedName: "apiVersion",
|
7902
|
+
required: true,
|
7903
|
+
type: {
|
7904
|
+
name: "String"
|
7905
|
+
}
|
7906
|
+
}
|
7907
|
+
}
|
7908
|
+
}
|
7909
|
+
};
|
7910
|
+
const ResourceNotificationsResourceDeletedDetails = {
|
7911
|
+
type: {
|
7912
|
+
name: "Composite",
|
7913
|
+
className: "ResourceNotificationsResourceDeletedDetails",
|
7914
|
+
modelProperties: {
|
7915
|
+
id: {
|
7916
|
+
serializedName: "id",
|
7917
|
+
required: true,
|
7918
|
+
type: {
|
7919
|
+
name: "String"
|
7920
|
+
}
|
7921
|
+
},
|
7922
|
+
name: {
|
7923
|
+
serializedName: "name",
|
7924
|
+
required: true,
|
7925
|
+
type: {
|
7926
|
+
name: "String"
|
7927
|
+
}
|
7928
|
+
},
|
7929
|
+
type: {
|
7930
|
+
serializedName: "type",
|
7931
|
+
required: true,
|
7932
|
+
type: {
|
7933
|
+
name: "String"
|
7934
|
+
}
|
7935
|
+
}
|
7936
|
+
}
|
7937
|
+
}
|
7938
|
+
};
|
7939
|
+
const ResourceNotificationsResourceDeletedEventData = {
|
7940
|
+
type: {
|
7941
|
+
name: "Composite",
|
7942
|
+
className: "ResourceNotificationsResourceDeletedEventData",
|
7943
|
+
modelProperties: {
|
7944
|
+
resourceDetails: {
|
7945
|
+
serializedName: "resourceInfo",
|
7946
|
+
type: {
|
7947
|
+
name: "Composite",
|
7948
|
+
className: "ResourceNotificationsResourceDeletedDetails"
|
7949
|
+
}
|
7950
|
+
},
|
7951
|
+
operationalDetails: {
|
7952
|
+
serializedName: "operationalInfo",
|
7953
|
+
type: {
|
7954
|
+
name: "Composite",
|
7955
|
+
className: "ResourceNotificationsOperationalDetails"
|
7956
|
+
}
|
7957
|
+
}
|
7958
|
+
}
|
7959
|
+
}
|
7960
|
+
};
|
7961
|
+
const EventGridMqttClientCreatedOrUpdatedEventData = {
|
7962
|
+
type: {
|
7963
|
+
name: "Composite",
|
7964
|
+
className: "EventGridMqttClientCreatedOrUpdatedEventData",
|
7965
|
+
modelProperties: Object.assign(Object.assign({}, EventGridMqttClientEventData.type.modelProperties), { state: {
|
7966
|
+
serializedName: "state",
|
7967
|
+
required: true,
|
7968
|
+
type: {
|
7969
|
+
name: "String"
|
7970
|
+
}
|
7971
|
+
}, createdOn: {
|
7972
|
+
serializedName: "createdOn",
|
7973
|
+
required: true,
|
7974
|
+
type: {
|
7975
|
+
name: "String"
|
7976
|
+
}
|
7977
|
+
}, updatedOn: {
|
7978
|
+
serializedName: "updatedOn",
|
7979
|
+
required: true,
|
7980
|
+
type: {
|
7981
|
+
name: "String"
|
7982
|
+
}
|
7983
|
+
}, attributes: {
|
7984
|
+
serializedName: "attributes",
|
7985
|
+
required: true,
|
7986
|
+
type: {
|
7987
|
+
name: "Dictionary",
|
7988
|
+
value: { type: { name: "String" } }
|
7989
|
+
}
|
7990
|
+
} })
|
7991
|
+
}
|
7992
|
+
};
|
7993
|
+
const EventGridMqttClientDeletedEventData = {
|
7994
|
+
type: {
|
7995
|
+
name: "Composite",
|
7996
|
+
className: "EventGridMqttClientDeletedEventData",
|
7997
|
+
modelProperties: Object.assign({}, EventGridMqttClientEventData.type.modelProperties)
|
7998
|
+
}
|
7999
|
+
};
|
8000
|
+
const EventGridMqttClientSessionConnectedEventData = {
|
8001
|
+
type: {
|
8002
|
+
name: "Composite",
|
8003
|
+
className: "EventGridMqttClientSessionConnectedEventData",
|
8004
|
+
modelProperties: Object.assign(Object.assign({}, EventGridMqttClientEventData.type.modelProperties), { clientSessionName: {
|
8005
|
+
serializedName: "clientSessionName",
|
8006
|
+
required: true,
|
8007
|
+
type: {
|
8008
|
+
name: "String"
|
8009
|
+
}
|
8010
|
+
}, sequenceNumber: {
|
8011
|
+
serializedName: "sequenceNumber",
|
8012
|
+
required: true,
|
8013
|
+
type: {
|
8014
|
+
name: "Number"
|
8015
|
+
}
|
8016
|
+
} })
|
8017
|
+
}
|
8018
|
+
};
|
8019
|
+
const EventGridMqttClientSessionDisconnectedEventData = {
|
8020
|
+
type: {
|
8021
|
+
name: "Composite",
|
8022
|
+
className: "EventGridMqttClientSessionDisconnectedEventData",
|
8023
|
+
modelProperties: Object.assign(Object.assign({}, EventGridMqttClientEventData.type.modelProperties), { clientSessionName: {
|
8024
|
+
serializedName: "clientSessionName",
|
8025
|
+
required: true,
|
8026
|
+
type: {
|
8027
|
+
name: "String"
|
8028
|
+
}
|
8029
|
+
}, sequenceNumber: {
|
8030
|
+
serializedName: "sequenceNumber",
|
8031
|
+
required: true,
|
8032
|
+
type: {
|
8033
|
+
name: "Number"
|
8034
|
+
}
|
8035
|
+
}, disconnectionReason: {
|
8036
|
+
serializedName: "disconnectionReason",
|
8037
|
+
required: true,
|
8038
|
+
type: {
|
8039
|
+
name: "String"
|
8040
|
+
}
|
8041
|
+
} })
|
8042
|
+
}
|
8043
|
+
};
|
8044
|
+
const IotHubDeviceCreatedEventData = {
|
8045
|
+
type: {
|
8046
|
+
name: "Composite",
|
8047
|
+
className: "IotHubDeviceCreatedEventData",
|
8048
|
+
modelProperties: Object.assign({}, DeviceLifeCycleEvent.type.modelProperties)
|
8049
|
+
}
|
8050
|
+
};
|
8051
|
+
const IotHubDeviceDeletedEventData = {
|
8052
|
+
type: {
|
7391
8053
|
name: "Composite",
|
7392
8054
|
className: "IotHubDeviceDeletedEventData",
|
7393
8055
|
modelProperties: Object.assign({}, DeviceLifeCycleEvent.type.modelProperties)
|
@@ -7611,6 +8273,60 @@ const MapsGeofenceResultEventData = {
|
|
7611
8273
|
modelProperties: Object.assign({}, MapsGeofenceEvent.type.modelProperties)
|
7612
8274
|
}
|
7613
8275
|
};
|
8276
|
+
const AppConfigurationSnapshotCreatedEventData = {
|
8277
|
+
type: {
|
8278
|
+
name: "Composite",
|
8279
|
+
className: "AppConfigurationSnapshotCreatedEventData",
|
8280
|
+
modelProperties: Object.assign({}, AppConfigurationSnapshotEventData.type.modelProperties)
|
8281
|
+
}
|
8282
|
+
};
|
8283
|
+
const AppConfigurationSnapshotModifiedEventData = {
|
8284
|
+
type: {
|
8285
|
+
name: "Composite",
|
8286
|
+
className: "AppConfigurationSnapshotModifiedEventData",
|
8287
|
+
modelProperties: Object.assign({}, AppConfigurationSnapshotEventData.type.modelProperties)
|
8288
|
+
}
|
8289
|
+
};
|
8290
|
+
const AcsRouterJobEventData = {
|
8291
|
+
type: {
|
8292
|
+
name: "Composite",
|
8293
|
+
className: "AcsRouterJobEventData",
|
8294
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterEventData.type.modelProperties), { queueId: {
|
8295
|
+
serializedName: "queueId",
|
8296
|
+
required: true,
|
8297
|
+
type: {
|
8298
|
+
name: "String"
|
8299
|
+
}
|
8300
|
+
}, labels: {
|
8301
|
+
serializedName: "labels",
|
8302
|
+
required: true,
|
8303
|
+
type: {
|
8304
|
+
name: "Dictionary",
|
8305
|
+
value: { type: { name: "String" } }
|
8306
|
+
}
|
8307
|
+
}, tags: {
|
8308
|
+
serializedName: "tags",
|
8309
|
+
required: true,
|
8310
|
+
type: {
|
8311
|
+
name: "Dictionary",
|
8312
|
+
value: { type: { name: "String" } }
|
8313
|
+
}
|
8314
|
+
} })
|
8315
|
+
}
|
8316
|
+
};
|
8317
|
+
const AcsRouterWorkerEventData = {
|
8318
|
+
type: {
|
8319
|
+
name: "Composite",
|
8320
|
+
className: "AcsRouterWorkerEventData",
|
8321
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterEventData.type.modelProperties), { workerId: {
|
8322
|
+
serializedName: "workerId",
|
8323
|
+
required: true,
|
8324
|
+
type: {
|
8325
|
+
name: "String"
|
8326
|
+
}
|
8327
|
+
} })
|
8328
|
+
}
|
8329
|
+
};
|
7614
8330
|
const AcsChatMessageEventBase = {
|
7615
8331
|
type: {
|
7616
8332
|
name: "Composite",
|
@@ -7761,97 +8477,724 @@ const AcsChatParticipantAddedToThreadEventData = {
|
|
7761
8477
|
serializedName: "version",
|
7762
8478
|
required: true,
|
7763
8479
|
type: {
|
7764
|
-
name: "Number"
|
8480
|
+
name: "Number"
|
8481
|
+
}
|
8482
|
+
} })
|
8483
|
+
}
|
8484
|
+
};
|
8485
|
+
const AcsChatParticipantRemovedFromThreadEventData = {
|
8486
|
+
type: {
|
8487
|
+
name: "Composite",
|
8488
|
+
className: "AcsChatParticipantRemovedFromThreadEventData",
|
8489
|
+
modelProperties: Object.assign(Object.assign({}, AcsChatEventInThreadBase.type.modelProperties), { time: {
|
8490
|
+
serializedName: "time",
|
8491
|
+
required: true,
|
8492
|
+
type: {
|
8493
|
+
name: "String"
|
8494
|
+
}
|
8495
|
+
}, removedByCommunicationIdentifier: {
|
8496
|
+
serializedName: "removedByCommunicationIdentifier",
|
8497
|
+
type: {
|
8498
|
+
name: "Composite",
|
8499
|
+
className: "CommunicationIdentifierModel"
|
8500
|
+
}
|
8501
|
+
}, participantRemoved: {
|
8502
|
+
serializedName: "participantRemoved",
|
8503
|
+
type: {
|
8504
|
+
name: "Composite",
|
8505
|
+
className: "AcsChatThreadParticipant"
|
8506
|
+
}
|
8507
|
+
}, version: {
|
8508
|
+
serializedName: "version",
|
8509
|
+
required: true,
|
8510
|
+
type: {
|
8511
|
+
name: "Number"
|
8512
|
+
}
|
8513
|
+
} })
|
8514
|
+
}
|
8515
|
+
};
|
8516
|
+
const AcsSmsDeliveryReportReceivedEventData = {
|
8517
|
+
type: {
|
8518
|
+
name: "Composite",
|
8519
|
+
className: "AcsSmsDeliveryReportReceivedEventData",
|
8520
|
+
modelProperties: Object.assign(Object.assign({}, AcsSmsEventBase.type.modelProperties), { deliveryStatus: {
|
8521
|
+
serializedName: "deliveryStatus",
|
8522
|
+
required: true,
|
8523
|
+
type: {
|
8524
|
+
name: "String"
|
8525
|
+
}
|
8526
|
+
}, deliveryStatusDetails: {
|
8527
|
+
serializedName: "deliveryStatusDetails",
|
8528
|
+
required: true,
|
8529
|
+
type: {
|
8530
|
+
name: "String"
|
8531
|
+
}
|
8532
|
+
}, deliveryAttempts: {
|
8533
|
+
serializedName: "deliveryAttempts",
|
8534
|
+
required: true,
|
8535
|
+
type: {
|
8536
|
+
name: "Sequence",
|
8537
|
+
element: {
|
8538
|
+
type: {
|
8539
|
+
name: "Composite",
|
8540
|
+
className: "AcsSmsDeliveryAttempt"
|
8541
|
+
}
|
8542
|
+
}
|
8543
|
+
}
|
8544
|
+
}, receivedTimestamp: {
|
8545
|
+
serializedName: "receivedTimestamp",
|
8546
|
+
required: true,
|
8547
|
+
type: {
|
8548
|
+
name: "String"
|
8549
|
+
}
|
8550
|
+
}, tag: {
|
8551
|
+
serializedName: "tag",
|
8552
|
+
required: true,
|
8553
|
+
type: {
|
8554
|
+
name: "String"
|
8555
|
+
}
|
8556
|
+
} })
|
8557
|
+
}
|
8558
|
+
};
|
8559
|
+
const AcsSmsReceivedEventData = {
|
8560
|
+
type: {
|
8561
|
+
name: "Composite",
|
8562
|
+
className: "AcsSmsReceivedEventData",
|
8563
|
+
modelProperties: Object.assign(Object.assign({}, AcsSmsEventBase.type.modelProperties), { message: {
|
8564
|
+
serializedName: "message",
|
8565
|
+
required: true,
|
8566
|
+
type: {
|
8567
|
+
name: "String"
|
8568
|
+
}
|
8569
|
+
}, receivedTimestamp: {
|
8570
|
+
serializedName: "receivedTimestamp",
|
8571
|
+
required: true,
|
8572
|
+
type: {
|
8573
|
+
name: "String"
|
8574
|
+
}
|
8575
|
+
} })
|
8576
|
+
}
|
8577
|
+
};
|
8578
|
+
const ContainerServiceClusterSupportEndedEventData = {
|
8579
|
+
type: {
|
8580
|
+
name: "Composite",
|
8581
|
+
className: "ContainerServiceClusterSupportEndedEventData",
|
8582
|
+
modelProperties: Object.assign({}, ContainerServiceClusterSupportEventData.type.modelProperties)
|
8583
|
+
}
|
8584
|
+
};
|
8585
|
+
const ContainerServiceClusterSupportEndingEventData = {
|
8586
|
+
type: {
|
8587
|
+
name: "Composite",
|
8588
|
+
className: "ContainerServiceClusterSupportEndingEventData",
|
8589
|
+
modelProperties: Object.assign({}, ContainerServiceClusterSupportEventData.type.modelProperties)
|
8590
|
+
}
|
8591
|
+
};
|
8592
|
+
const ContainerServiceNodePoolRollingStartedEventData = {
|
8593
|
+
type: {
|
8594
|
+
name: "Composite",
|
8595
|
+
className: "ContainerServiceNodePoolRollingStartedEventData",
|
8596
|
+
modelProperties: Object.assign({}, ContainerServiceNodePoolRollingEventData.type.modelProperties)
|
8597
|
+
}
|
8598
|
+
};
|
8599
|
+
const ContainerServiceNodePoolRollingSucceededEventData = {
|
8600
|
+
type: {
|
8601
|
+
name: "Composite",
|
8602
|
+
className: "ContainerServiceNodePoolRollingSucceededEventData",
|
8603
|
+
modelProperties: Object.assign({}, ContainerServiceNodePoolRollingEventData.type.modelProperties)
|
8604
|
+
}
|
8605
|
+
};
|
8606
|
+
const ContainerServiceNodePoolRollingFailedEventData = {
|
8607
|
+
type: {
|
8608
|
+
name: "Composite",
|
8609
|
+
className: "ContainerServiceNodePoolRollingFailedEventData",
|
8610
|
+
modelProperties: Object.assign({}, ContainerServiceNodePoolRollingEventData.type.modelProperties)
|
8611
|
+
}
|
8612
|
+
};
|
8613
|
+
const ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData = {
|
8614
|
+
type: {
|
8615
|
+
name: "Composite",
|
8616
|
+
className: "ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData",
|
8617
|
+
modelProperties: Object.assign({}, ResourceNotificationsResourceUpdatedEventData.type.modelProperties)
|
8618
|
+
}
|
8619
|
+
};
|
8620
|
+
const ResourceNotificationsHealthResourcesAnnotatedEventData = {
|
8621
|
+
type: {
|
8622
|
+
name: "Composite",
|
8623
|
+
className: "ResourceNotificationsHealthResourcesAnnotatedEventData",
|
8624
|
+
modelProperties: Object.assign({}, ResourceNotificationsResourceUpdatedEventData.type.modelProperties)
|
8625
|
+
}
|
8626
|
+
};
|
8627
|
+
const ResourceNotificationsResourceManagementCreatedOrUpdatedEventData = {
|
8628
|
+
type: {
|
8629
|
+
name: "Composite",
|
8630
|
+
className: "ResourceNotificationsResourceManagementCreatedOrUpdatedEventData",
|
8631
|
+
modelProperties: Object.assign({}, ResourceNotificationsResourceUpdatedEventData.type.modelProperties)
|
8632
|
+
}
|
8633
|
+
};
|
8634
|
+
const ResourceNotificationsResourceManagementDeletedEventData = {
|
8635
|
+
type: {
|
8636
|
+
name: "Composite",
|
8637
|
+
className: "ResourceNotificationsResourceManagementDeletedEventData",
|
8638
|
+
modelProperties: Object.assign({}, ResourceNotificationsResourceDeletedEventData.type.modelProperties)
|
8639
|
+
}
|
8640
|
+
};
|
8641
|
+
const AcsRouterJobCancelledEventData = {
|
8642
|
+
type: {
|
8643
|
+
name: "Composite",
|
8644
|
+
className: "AcsRouterJobCancelledEventData",
|
8645
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { note: {
|
8646
|
+
serializedName: "note",
|
8647
|
+
required: true,
|
8648
|
+
type: {
|
8649
|
+
name: "String"
|
8650
|
+
}
|
8651
|
+
}, dispositionCode: {
|
8652
|
+
serializedName: "dispositionCode",
|
8653
|
+
required: true,
|
8654
|
+
type: {
|
8655
|
+
name: "String"
|
8656
|
+
}
|
8657
|
+
} })
|
8658
|
+
}
|
8659
|
+
};
|
8660
|
+
const AcsRouterJobClassificationFailedEventData = {
|
8661
|
+
type: {
|
8662
|
+
name: "Composite",
|
8663
|
+
className: "AcsRouterJobClassificationFailedEventData",
|
8664
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { classificationPolicyId: {
|
8665
|
+
serializedName: "classificationPolicyId",
|
8666
|
+
required: true,
|
8667
|
+
type: {
|
8668
|
+
name: "String"
|
8669
|
+
}
|
8670
|
+
}, errors: {
|
8671
|
+
serializedName: "errors",
|
8672
|
+
required: true,
|
8673
|
+
type: {
|
8674
|
+
name: "Sequence",
|
8675
|
+
element: {
|
8676
|
+
type: {
|
8677
|
+
name: "Composite",
|
8678
|
+
className: "AcsRouterCommunicationError"
|
8679
|
+
}
|
8680
|
+
}
|
8681
|
+
}
|
8682
|
+
} })
|
8683
|
+
}
|
8684
|
+
};
|
8685
|
+
const AcsRouterJobClassifiedEventData = {
|
8686
|
+
type: {
|
8687
|
+
name: "Composite",
|
8688
|
+
className: "AcsRouterJobClassifiedEventData",
|
8689
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { queueDetails: {
|
8690
|
+
serializedName: "queueDetails",
|
8691
|
+
type: {
|
8692
|
+
name: "Composite",
|
8693
|
+
className: "AcsRouterQueueDetails"
|
8694
|
+
}
|
8695
|
+
}, classificationPolicyId: {
|
8696
|
+
serializedName: "classificationPolicyId",
|
8697
|
+
required: true,
|
8698
|
+
type: {
|
8699
|
+
name: "String"
|
8700
|
+
}
|
8701
|
+
}, priority: {
|
8702
|
+
serializedName: "priority",
|
8703
|
+
required: true,
|
8704
|
+
type: {
|
8705
|
+
name: "Number"
|
8706
|
+
}
|
8707
|
+
}, attachedWorkerSelectors: {
|
8708
|
+
serializedName: "attachedWorkerSelectors",
|
8709
|
+
required: true,
|
8710
|
+
type: {
|
8711
|
+
name: "Sequence",
|
8712
|
+
element: {
|
8713
|
+
type: {
|
8714
|
+
name: "Composite",
|
8715
|
+
className: "AcsRouterWorkerSelector"
|
8716
|
+
}
|
8717
|
+
}
|
8718
|
+
}
|
8719
|
+
} })
|
8720
|
+
}
|
8721
|
+
};
|
8722
|
+
const AcsRouterJobClosedEventData = {
|
8723
|
+
type: {
|
8724
|
+
name: "Composite",
|
8725
|
+
className: "AcsRouterJobClosedEventData",
|
8726
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { assignmentId: {
|
8727
|
+
serializedName: "assignmentId",
|
8728
|
+
required: true,
|
8729
|
+
type: {
|
8730
|
+
name: "String"
|
8731
|
+
}
|
8732
|
+
}, workerId: {
|
8733
|
+
serializedName: "workerId",
|
8734
|
+
required: true,
|
8735
|
+
type: {
|
8736
|
+
name: "String"
|
8737
|
+
}
|
8738
|
+
}, dispositionCode: {
|
8739
|
+
serializedName: "dispositionCode",
|
8740
|
+
required: true,
|
8741
|
+
type: {
|
8742
|
+
name: "String"
|
8743
|
+
}
|
8744
|
+
} })
|
8745
|
+
}
|
8746
|
+
};
|
8747
|
+
const AcsRouterJobCompletedEventData = {
|
8748
|
+
type: {
|
8749
|
+
name: "Composite",
|
8750
|
+
className: "AcsRouterJobCompletedEventData",
|
8751
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { assignmentId: {
|
8752
|
+
serializedName: "assignmentId",
|
8753
|
+
required: true,
|
8754
|
+
type: {
|
8755
|
+
name: "String"
|
8756
|
+
}
|
8757
|
+
}, workerId: {
|
8758
|
+
serializedName: "workerId",
|
8759
|
+
required: true,
|
8760
|
+
type: {
|
8761
|
+
name: "String"
|
8762
|
+
}
|
8763
|
+
} })
|
8764
|
+
}
|
8765
|
+
};
|
8766
|
+
const AcsRouterJobDeletedEventData = {
|
8767
|
+
type: {
|
8768
|
+
name: "Composite",
|
8769
|
+
className: "AcsRouterJobDeletedEventData",
|
8770
|
+
modelProperties: Object.assign({}, AcsRouterJobEventData.type.modelProperties)
|
8771
|
+
}
|
8772
|
+
};
|
8773
|
+
const AcsRouterJobExceptionTriggeredEventData = {
|
8774
|
+
type: {
|
8775
|
+
name: "Composite",
|
8776
|
+
className: "AcsRouterJobExceptionTriggeredEventData",
|
8777
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { ruleKey: {
|
8778
|
+
serializedName: "ruleKey",
|
8779
|
+
required: true,
|
8780
|
+
type: {
|
8781
|
+
name: "String"
|
8782
|
+
}
|
8783
|
+
}, exceptionRuleId: {
|
8784
|
+
serializedName: "exceptionRuleId",
|
8785
|
+
required: true,
|
8786
|
+
type: {
|
8787
|
+
name: "String"
|
8788
|
+
}
|
8789
|
+
} })
|
8790
|
+
}
|
8791
|
+
};
|
8792
|
+
const AcsRouterJobQueuedEventData = {
|
8793
|
+
type: {
|
8794
|
+
name: "Composite",
|
8795
|
+
className: "AcsRouterJobQueuedEventData",
|
8796
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { priority: {
|
8797
|
+
serializedName: "priority",
|
8798
|
+
required: true,
|
8799
|
+
type: {
|
8800
|
+
name: "Number"
|
8801
|
+
}
|
8802
|
+
}, attachedWorkerSelectors: {
|
8803
|
+
serializedName: "attachedWorkerSelectors",
|
8804
|
+
required: true,
|
8805
|
+
type: {
|
8806
|
+
name: "Sequence",
|
8807
|
+
element: {
|
8808
|
+
type: {
|
8809
|
+
name: "Composite",
|
8810
|
+
className: "AcsRouterWorkerSelector"
|
8811
|
+
}
|
8812
|
+
}
|
8813
|
+
}
|
8814
|
+
}, requestedWorkerSelectors: {
|
8815
|
+
serializedName: "requestedWorkerSelectors",
|
8816
|
+
required: true,
|
8817
|
+
type: {
|
8818
|
+
name: "Sequence",
|
8819
|
+
element: {
|
8820
|
+
type: {
|
8821
|
+
name: "Composite",
|
8822
|
+
className: "AcsRouterWorkerSelector"
|
8823
|
+
}
|
8824
|
+
}
|
8825
|
+
}
|
8826
|
+
} })
|
8827
|
+
}
|
8828
|
+
};
|
8829
|
+
const AcsRouterJobReceivedEventData = {
|
8830
|
+
type: {
|
8831
|
+
name: "Composite",
|
8832
|
+
className: "AcsRouterJobReceivedEventData",
|
8833
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { jobStatus: {
|
8834
|
+
serializedName: "jobStatus",
|
8835
|
+
type: {
|
8836
|
+
name: "String"
|
8837
|
+
}
|
8838
|
+
}, classificationPolicyId: {
|
8839
|
+
serializedName: "classificationPolicyId",
|
8840
|
+
type: {
|
8841
|
+
name: "String"
|
8842
|
+
}
|
8843
|
+
}, priority: {
|
8844
|
+
serializedName: "priority",
|
8845
|
+
type: {
|
8846
|
+
name: "Number"
|
8847
|
+
}
|
8848
|
+
}, requestedWorkerSelectors: {
|
8849
|
+
serializedName: "requestedWorkerSelectors",
|
8850
|
+
type: {
|
8851
|
+
name: "Sequence",
|
8852
|
+
element: {
|
8853
|
+
type: {
|
8854
|
+
name: "Composite",
|
8855
|
+
className: "AcsRouterWorkerSelector"
|
8856
|
+
}
|
8857
|
+
}
|
8858
|
+
}
|
8859
|
+
}, scheduledOn: {
|
8860
|
+
serializedName: "scheduledOn",
|
8861
|
+
type: {
|
8862
|
+
name: "String"
|
8863
|
+
}
|
8864
|
+
}, unavailableForMatching: {
|
8865
|
+
serializedName: "unavailableForMatching",
|
8866
|
+
required: true,
|
8867
|
+
type: {
|
8868
|
+
name: "Boolean"
|
8869
|
+
}
|
8870
|
+
} })
|
8871
|
+
}
|
8872
|
+
};
|
8873
|
+
const AcsRouterJobSchedulingFailedEventData = {
|
8874
|
+
type: {
|
8875
|
+
name: "Composite",
|
8876
|
+
className: "AcsRouterJobSchedulingFailedEventData",
|
8877
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { priority: {
|
8878
|
+
serializedName: "priority",
|
8879
|
+
required: true,
|
8880
|
+
type: {
|
8881
|
+
name: "Number"
|
8882
|
+
}
|
8883
|
+
}, expiredAttachedWorkerSelectors: {
|
8884
|
+
serializedName: "expiredAttachedWorkerSelectors",
|
8885
|
+
required: true,
|
8886
|
+
type: {
|
8887
|
+
name: "Sequence",
|
8888
|
+
element: {
|
8889
|
+
type: {
|
8890
|
+
name: "Composite",
|
8891
|
+
className: "AcsRouterWorkerSelector"
|
8892
|
+
}
|
8893
|
+
}
|
8894
|
+
}
|
8895
|
+
}, expiredRequestedWorkerSelectors: {
|
8896
|
+
serializedName: "expiredRequestedWorkerSelectors",
|
8897
|
+
required: true,
|
8898
|
+
type: {
|
8899
|
+
name: "Sequence",
|
8900
|
+
element: {
|
8901
|
+
type: {
|
8902
|
+
name: "Composite",
|
8903
|
+
className: "AcsRouterWorkerSelector"
|
8904
|
+
}
|
8905
|
+
}
|
8906
|
+
}
|
8907
|
+
}, scheduledOn: {
|
8908
|
+
serializedName: "scheduledOn",
|
8909
|
+
required: true,
|
8910
|
+
type: {
|
8911
|
+
name: "String"
|
8912
|
+
}
|
8913
|
+
}, failureReason: {
|
8914
|
+
serializedName: "failureReason",
|
8915
|
+
required: true,
|
8916
|
+
type: {
|
8917
|
+
name: "String"
|
8918
|
+
}
|
8919
|
+
} })
|
8920
|
+
}
|
8921
|
+
};
|
8922
|
+
const AcsRouterJobUnassignedEventData = {
|
8923
|
+
type: {
|
8924
|
+
name: "Composite",
|
8925
|
+
className: "AcsRouterJobUnassignedEventData",
|
8926
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { assignmentId: {
|
8927
|
+
serializedName: "assignmentId",
|
8928
|
+
required: true,
|
8929
|
+
type: {
|
8930
|
+
name: "String"
|
8931
|
+
}
|
8932
|
+
}, workerId: {
|
8933
|
+
serializedName: "workerId",
|
8934
|
+
required: true,
|
8935
|
+
type: {
|
8936
|
+
name: "String"
|
8937
|
+
}
|
8938
|
+
} })
|
8939
|
+
}
|
8940
|
+
};
|
8941
|
+
const AcsRouterJobWaitingForActivationEventData = {
|
8942
|
+
type: {
|
8943
|
+
name: "Composite",
|
8944
|
+
className: "AcsRouterJobWaitingForActivationEventData",
|
8945
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { priority: {
|
8946
|
+
serializedName: "priority",
|
8947
|
+
type: {
|
8948
|
+
name: "Number"
|
8949
|
+
}
|
8950
|
+
}, expiredAttachedWorkerSelectors: {
|
8951
|
+
serializedName: "expiredAttachedWorkerSelectors",
|
8952
|
+
type: {
|
8953
|
+
name: "Sequence",
|
8954
|
+
element: {
|
8955
|
+
type: {
|
8956
|
+
name: "Composite",
|
8957
|
+
className: "AcsRouterWorkerSelector"
|
8958
|
+
}
|
8959
|
+
}
|
8960
|
+
}
|
8961
|
+
}, expiredRequestedWorkerSelectors: {
|
8962
|
+
serializedName: "expiredRequestedWorkerSelectors",
|
8963
|
+
type: {
|
8964
|
+
name: "Sequence",
|
8965
|
+
element: {
|
8966
|
+
type: {
|
8967
|
+
name: "Composite",
|
8968
|
+
className: "AcsRouterWorkerSelector"
|
8969
|
+
}
|
8970
|
+
}
|
8971
|
+
}
|
8972
|
+
}, scheduledOn: {
|
8973
|
+
serializedName: "scheduledOn",
|
8974
|
+
type: {
|
8975
|
+
name: "String"
|
8976
|
+
}
|
8977
|
+
}, unavailableForMatching: {
|
8978
|
+
serializedName: "unavailableForMatching",
|
8979
|
+
required: true,
|
8980
|
+
type: {
|
8981
|
+
name: "Boolean"
|
8982
|
+
}
|
8983
|
+
} })
|
8984
|
+
}
|
8985
|
+
};
|
8986
|
+
const AcsRouterJobWorkerSelectorsExpiredEventData = {
|
8987
|
+
type: {
|
8988
|
+
name: "Composite",
|
8989
|
+
className: "AcsRouterJobWorkerSelectorsExpiredEventData",
|
8990
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { expiredRequestedWorkerSelectors: {
|
8991
|
+
serializedName: "expiredRequestedWorkerSelectors",
|
8992
|
+
required: true,
|
8993
|
+
type: {
|
8994
|
+
name: "Sequence",
|
8995
|
+
element: {
|
8996
|
+
type: {
|
8997
|
+
name: "Composite",
|
8998
|
+
className: "AcsRouterWorkerSelector"
|
8999
|
+
}
|
9000
|
+
}
|
9001
|
+
}
|
9002
|
+
}, expiredAttachedWorkerSelectors: {
|
9003
|
+
serializedName: "expiredAttachedWorkerSelectors",
|
9004
|
+
required: true,
|
9005
|
+
type: {
|
9006
|
+
name: "Sequence",
|
9007
|
+
element: {
|
9008
|
+
type: {
|
9009
|
+
name: "Composite",
|
9010
|
+
className: "AcsRouterWorkerSelector"
|
9011
|
+
}
|
9012
|
+
}
|
9013
|
+
}
|
9014
|
+
} })
|
9015
|
+
}
|
9016
|
+
};
|
9017
|
+
const AcsRouterWorkerDeletedEventData = {
|
9018
|
+
type: {
|
9019
|
+
name: "Composite",
|
9020
|
+
className: "AcsRouterWorkerDeletedEventData",
|
9021
|
+
modelProperties: Object.assign({}, AcsRouterWorkerEventData.type.modelProperties)
|
9022
|
+
}
|
9023
|
+
};
|
9024
|
+
const AcsRouterWorkerOfferAcceptedEventData = {
|
9025
|
+
type: {
|
9026
|
+
name: "Composite",
|
9027
|
+
className: "AcsRouterWorkerOfferAcceptedEventData",
|
9028
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterWorkerEventData.type.modelProperties), { queueId: {
|
9029
|
+
serializedName: "queueId",
|
9030
|
+
required: true,
|
9031
|
+
type: {
|
9032
|
+
name: "String"
|
9033
|
+
}
|
9034
|
+
}, offerId: {
|
9035
|
+
serializedName: "offerId",
|
9036
|
+
required: true,
|
9037
|
+
type: {
|
9038
|
+
name: "String"
|
9039
|
+
}
|
9040
|
+
}, assignmentId: {
|
9041
|
+
serializedName: "assignmentId",
|
9042
|
+
required: true,
|
9043
|
+
type: {
|
9044
|
+
name: "String"
|
9045
|
+
}
|
9046
|
+
}, jobPriority: {
|
9047
|
+
serializedName: "jobPriority",
|
9048
|
+
required: true,
|
9049
|
+
type: {
|
9050
|
+
name: "Number"
|
9051
|
+
}
|
9052
|
+
}, workerLabels: {
|
9053
|
+
serializedName: "workerLabels",
|
9054
|
+
required: true,
|
9055
|
+
type: {
|
9056
|
+
name: "Dictionary",
|
9057
|
+
value: { type: { name: "String" } }
|
9058
|
+
}
|
9059
|
+
}, workerTags: {
|
9060
|
+
serializedName: "workerTags",
|
9061
|
+
required: true,
|
9062
|
+
type: {
|
9063
|
+
name: "Dictionary",
|
9064
|
+
value: { type: { name: "String" } }
|
9065
|
+
}
|
9066
|
+
}, jobLabels: {
|
9067
|
+
serializedName: "jobLabels",
|
9068
|
+
required: true,
|
9069
|
+
type: {
|
9070
|
+
name: "Dictionary",
|
9071
|
+
value: { type: { name: "String" } }
|
9072
|
+
}
|
9073
|
+
}, jobTags: {
|
9074
|
+
serializedName: "jobTags",
|
9075
|
+
required: true,
|
9076
|
+
type: {
|
9077
|
+
name: "Dictionary",
|
9078
|
+
value: { type: { name: "String" } }
|
9079
|
+
}
|
9080
|
+
} })
|
9081
|
+
}
|
9082
|
+
};
|
9083
|
+
const AcsRouterWorkerOfferDeclinedEventData = {
|
9084
|
+
type: {
|
9085
|
+
name: "Composite",
|
9086
|
+
className: "AcsRouterWorkerOfferDeclinedEventData",
|
9087
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterWorkerEventData.type.modelProperties), { queueId: {
|
9088
|
+
serializedName: "queueId",
|
9089
|
+
required: true,
|
9090
|
+
type: {
|
9091
|
+
name: "String"
|
9092
|
+
}
|
9093
|
+
}, offerId: {
|
9094
|
+
serializedName: "offerId",
|
9095
|
+
required: true,
|
9096
|
+
type: {
|
9097
|
+
name: "String"
|
7765
9098
|
}
|
7766
9099
|
} })
|
7767
9100
|
}
|
7768
9101
|
};
|
7769
|
-
const
|
9102
|
+
const AcsRouterWorkerOfferExpiredEventData = {
|
7770
9103
|
type: {
|
7771
9104
|
name: "Composite",
|
7772
|
-
className: "
|
7773
|
-
modelProperties: Object.assign(Object.assign({},
|
7774
|
-
serializedName: "
|
9105
|
+
className: "AcsRouterWorkerOfferExpiredEventData",
|
9106
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterWorkerEventData.type.modelProperties), { queueId: {
|
9107
|
+
serializedName: "queueId",
|
7775
9108
|
required: true,
|
7776
9109
|
type: {
|
7777
9110
|
name: "String"
|
7778
9111
|
}
|
7779
|
-
},
|
7780
|
-
serializedName: "
|
7781
|
-
type: {
|
7782
|
-
name: "Composite",
|
7783
|
-
className: "CommunicationIdentifierModel"
|
7784
|
-
}
|
7785
|
-
}, participantRemoved: {
|
7786
|
-
serializedName: "participantRemoved",
|
7787
|
-
type: {
|
7788
|
-
name: "Composite",
|
7789
|
-
className: "AcsChatThreadParticipant"
|
7790
|
-
}
|
7791
|
-
}, version: {
|
7792
|
-
serializedName: "version",
|
9112
|
+
}, offerId: {
|
9113
|
+
serializedName: "offerId",
|
7793
9114
|
required: true,
|
7794
9115
|
type: {
|
7795
|
-
name: "
|
9116
|
+
name: "String"
|
7796
9117
|
}
|
7797
9118
|
} })
|
7798
9119
|
}
|
7799
9120
|
};
|
7800
|
-
const
|
9121
|
+
const AcsRouterWorkerOfferIssuedEventData = {
|
7801
9122
|
type: {
|
7802
9123
|
name: "Composite",
|
7803
|
-
className: "
|
7804
|
-
modelProperties: Object.assign(Object.assign({},
|
7805
|
-
serializedName: "
|
9124
|
+
className: "AcsRouterWorkerOfferIssuedEventData",
|
9125
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterWorkerEventData.type.modelProperties), { queueId: {
|
9126
|
+
serializedName: "queueId",
|
7806
9127
|
required: true,
|
7807
9128
|
type: {
|
7808
9129
|
name: "String"
|
7809
9130
|
}
|
7810
|
-
},
|
7811
|
-
serializedName: "
|
9131
|
+
}, offerId: {
|
9132
|
+
serializedName: "offerId",
|
7812
9133
|
required: true,
|
7813
9134
|
type: {
|
7814
9135
|
name: "String"
|
7815
9136
|
}
|
7816
|
-
},
|
7817
|
-
serializedName: "
|
9137
|
+
}, jobPriority: {
|
9138
|
+
serializedName: "jobPriority",
|
7818
9139
|
required: true,
|
7819
9140
|
type: {
|
7820
|
-
name: "
|
7821
|
-
element: {
|
7822
|
-
type: {
|
7823
|
-
name: "Composite",
|
7824
|
-
className: "AcsSmsDeliveryAttempt"
|
7825
|
-
}
|
7826
|
-
}
|
9141
|
+
name: "Number"
|
7827
9142
|
}
|
7828
|
-
},
|
7829
|
-
serializedName: "
|
9143
|
+
}, workerLabels: {
|
9144
|
+
serializedName: "workerLabels",
|
9145
|
+
required: true,
|
9146
|
+
type: {
|
9147
|
+
name: "Dictionary",
|
9148
|
+
value: { type: { name: "String" } }
|
9149
|
+
}
|
9150
|
+
}, offeredOn: {
|
9151
|
+
serializedName: "offeredOn",
|
7830
9152
|
required: true,
|
7831
9153
|
type: {
|
7832
9154
|
name: "String"
|
7833
9155
|
}
|
7834
|
-
},
|
7835
|
-
serializedName: "
|
9156
|
+
}, expiresOn: {
|
9157
|
+
serializedName: "expiresOn",
|
7836
9158
|
required: true,
|
7837
9159
|
type: {
|
7838
9160
|
name: "String"
|
7839
9161
|
}
|
9162
|
+
}, workerTags: {
|
9163
|
+
serializedName: "workerTags",
|
9164
|
+
required: true,
|
9165
|
+
type: {
|
9166
|
+
name: "Dictionary",
|
9167
|
+
value: { type: { name: "String" } }
|
9168
|
+
}
|
9169
|
+
}, jobLabels: {
|
9170
|
+
serializedName: "jobLabels",
|
9171
|
+
required: true,
|
9172
|
+
type: {
|
9173
|
+
name: "Dictionary",
|
9174
|
+
value: { type: { name: "String" } }
|
9175
|
+
}
|
9176
|
+
}, jobTags: {
|
9177
|
+
serializedName: "jobTags",
|
9178
|
+
required: true,
|
9179
|
+
type: {
|
9180
|
+
name: "Dictionary",
|
9181
|
+
value: { type: { name: "String" } }
|
9182
|
+
}
|
7840
9183
|
} })
|
7841
9184
|
}
|
7842
9185
|
};
|
7843
|
-
const
|
9186
|
+
const AcsRouterWorkerOfferRevokedEventData = {
|
7844
9187
|
type: {
|
7845
9188
|
name: "Composite",
|
7846
|
-
className: "
|
7847
|
-
modelProperties: Object.assign(Object.assign({},
|
7848
|
-
serializedName: "
|
9189
|
+
className: "AcsRouterWorkerOfferRevokedEventData",
|
9190
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterWorkerEventData.type.modelProperties), { queueId: {
|
9191
|
+
serializedName: "queueId",
|
7849
9192
|
required: true,
|
7850
9193
|
type: {
|
7851
9194
|
name: "String"
|
7852
9195
|
}
|
7853
|
-
},
|
7854
|
-
serializedName: "
|
9196
|
+
}, offerId: {
|
9197
|
+
serializedName: "offerId",
|
7855
9198
|
required: true,
|
7856
9199
|
type: {
|
7857
9200
|
name: "String"
|
@@ -7935,6 +9278,13 @@ const AcsChatThreadCreatedWithUserEventData = {
|
|
7935
9278
|
name: "Dictionary",
|
7936
9279
|
value: { type: { name: "any" } }
|
7937
9280
|
}
|
9281
|
+
}, metadata: {
|
9282
|
+
serializedName: "metadata",
|
9283
|
+
required: true,
|
9284
|
+
type: {
|
9285
|
+
name: "Dictionary",
|
9286
|
+
value: { type: { name: "String" } }
|
9287
|
+
}
|
7938
9288
|
}, participants: {
|
7939
9289
|
serializedName: "participants",
|
7940
9290
|
required: true,
|
@@ -7985,6 +9335,13 @@ const AcsChatThreadPropertiesUpdatedPerUserEventData = {
|
|
7985
9335
|
type: {
|
7986
9336
|
name: "String"
|
7987
9337
|
}
|
9338
|
+
}, metadata: {
|
9339
|
+
serializedName: "metadata",
|
9340
|
+
required: true,
|
9341
|
+
type: {
|
9342
|
+
name: "Dictionary",
|
9343
|
+
value: { type: { name: "String" } }
|
9344
|
+
}
|
7988
9345
|
}, properties: {
|
7989
9346
|
serializedName: "properties",
|
7990
9347
|
required: true,
|
@@ -8178,6 +9535,13 @@ const AcsChatThreadPropertiesUpdatedEventData = {
|
|
8178
9535
|
name: "Dictionary",
|
8179
9536
|
value: { type: { name: "any" } }
|
8180
9537
|
}
|
9538
|
+
}, metadata: {
|
9539
|
+
serializedName: "metadata",
|
9540
|
+
required: true,
|
9541
|
+
type: {
|
9542
|
+
name: "Dictionary",
|
9543
|
+
value: { type: { name: "String" } }
|
9544
|
+
}
|
8181
9545
|
} })
|
8182
9546
|
}
|
8183
9547
|
};
|
@@ -8219,6 +9583,34 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
8219
9583
|
AcsRecordingChunkInfo: AcsRecordingChunkInfo,
|
8220
9584
|
AcsRecordingFileStatusUpdatedEventData: AcsRecordingFileStatusUpdatedEventData,
|
8221
9585
|
AcsRecordingStorageInfo: AcsRecordingStorageInfo,
|
9586
|
+
AcsRouterChannelConfiguration: AcsRouterChannelConfiguration,
|
9587
|
+
AcsRouterCommunicationError: AcsRouterCommunicationError,
|
9588
|
+
AcsRouterEventData: AcsRouterEventData,
|
9589
|
+
AcsRouterJobCancelledEventData: AcsRouterJobCancelledEventData,
|
9590
|
+
AcsRouterJobClassificationFailedEventData: AcsRouterJobClassificationFailedEventData,
|
9591
|
+
AcsRouterJobClassifiedEventData: AcsRouterJobClassifiedEventData,
|
9592
|
+
AcsRouterJobClosedEventData: AcsRouterJobClosedEventData,
|
9593
|
+
AcsRouterJobCompletedEventData: AcsRouterJobCompletedEventData,
|
9594
|
+
AcsRouterJobDeletedEventData: AcsRouterJobDeletedEventData,
|
9595
|
+
AcsRouterJobEventData: AcsRouterJobEventData,
|
9596
|
+
AcsRouterJobExceptionTriggeredEventData: AcsRouterJobExceptionTriggeredEventData,
|
9597
|
+
AcsRouterJobQueuedEventData: AcsRouterJobQueuedEventData,
|
9598
|
+
AcsRouterJobReceivedEventData: AcsRouterJobReceivedEventData,
|
9599
|
+
AcsRouterJobSchedulingFailedEventData: AcsRouterJobSchedulingFailedEventData,
|
9600
|
+
AcsRouterJobUnassignedEventData: AcsRouterJobUnassignedEventData,
|
9601
|
+
AcsRouterJobWaitingForActivationEventData: AcsRouterJobWaitingForActivationEventData,
|
9602
|
+
AcsRouterJobWorkerSelectorsExpiredEventData: AcsRouterJobWorkerSelectorsExpiredEventData,
|
9603
|
+
AcsRouterQueueDetails: AcsRouterQueueDetails,
|
9604
|
+
AcsRouterWorkerDeletedEventData: AcsRouterWorkerDeletedEventData,
|
9605
|
+
AcsRouterWorkerDeregisteredEventData: AcsRouterWorkerDeregisteredEventData,
|
9606
|
+
AcsRouterWorkerEventData: AcsRouterWorkerEventData,
|
9607
|
+
AcsRouterWorkerOfferAcceptedEventData: AcsRouterWorkerOfferAcceptedEventData,
|
9608
|
+
AcsRouterWorkerOfferDeclinedEventData: AcsRouterWorkerOfferDeclinedEventData,
|
9609
|
+
AcsRouterWorkerOfferExpiredEventData: AcsRouterWorkerOfferExpiredEventData,
|
9610
|
+
AcsRouterWorkerOfferIssuedEventData: AcsRouterWorkerOfferIssuedEventData,
|
9611
|
+
AcsRouterWorkerOfferRevokedEventData: AcsRouterWorkerOfferRevokedEventData,
|
9612
|
+
AcsRouterWorkerRegisteredEventData: AcsRouterWorkerRegisteredEventData,
|
9613
|
+
AcsRouterWorkerSelector: AcsRouterWorkerSelector,
|
8222
9614
|
AcsSmsDeliveryAttempt: AcsSmsDeliveryAttempt,
|
8223
9615
|
AcsSmsDeliveryReportReceivedEventData: AcsSmsDeliveryReportReceivedEventData,
|
8224
9616
|
AcsSmsEventBase: AcsSmsEventBase,
|
@@ -8252,6 +9644,9 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
8252
9644
|
ApiManagementUserUpdatedEventData: ApiManagementUserUpdatedEventData,
|
8253
9645
|
AppConfigurationKeyValueDeletedEventData: AppConfigurationKeyValueDeletedEventData,
|
8254
9646
|
AppConfigurationKeyValueModifiedEventData: AppConfigurationKeyValueModifiedEventData,
|
9647
|
+
AppConfigurationSnapshotCreatedEventData: AppConfigurationSnapshotCreatedEventData,
|
9648
|
+
AppConfigurationSnapshotEventData: AppConfigurationSnapshotEventData,
|
9649
|
+
AppConfigurationSnapshotModifiedEventData: AppConfigurationSnapshotModifiedEventData,
|
8255
9650
|
AppEventTypeDetail: AppEventTypeDetail,
|
8256
9651
|
AppServicePlanEventTypeDetail: AppServicePlanEventTypeDetail,
|
8257
9652
|
CloudEvent: CloudEvent,
|
@@ -8269,7 +9664,14 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
8269
9664
|
ContainerRegistryEventTarget: ContainerRegistryEventTarget,
|
8270
9665
|
ContainerRegistryImageDeletedEventData: ContainerRegistryImageDeletedEventData,
|
8271
9666
|
ContainerRegistryImagePushedEventData: ContainerRegistryImagePushedEventData,
|
9667
|
+
ContainerServiceClusterSupportEndedEventData: ContainerServiceClusterSupportEndedEventData,
|
9668
|
+
ContainerServiceClusterSupportEndingEventData: ContainerServiceClusterSupportEndingEventData,
|
9669
|
+
ContainerServiceClusterSupportEventData: ContainerServiceClusterSupportEventData,
|
8272
9670
|
ContainerServiceNewKubernetesVersionAvailableEventData: ContainerServiceNewKubernetesVersionAvailableEventData,
|
9671
|
+
ContainerServiceNodePoolRollingEventData: ContainerServiceNodePoolRollingEventData,
|
9672
|
+
ContainerServiceNodePoolRollingFailedEventData: ContainerServiceNodePoolRollingFailedEventData,
|
9673
|
+
ContainerServiceNodePoolRollingStartedEventData: ContainerServiceNodePoolRollingStartedEventData,
|
9674
|
+
ContainerServiceNodePoolRollingSucceededEventData: ContainerServiceNodePoolRollingSucceededEventData,
|
8273
9675
|
DataBoxCopyCompletedEventData: DataBoxCopyCompletedEventData,
|
8274
9676
|
DataBoxCopyStartedEventData: DataBoxCopyStartedEventData,
|
8275
9677
|
DataBoxOrderCompletedEventData: DataBoxOrderCompletedEventData,
|
@@ -8283,6 +9685,11 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
8283
9685
|
DeviceTwinInfoX509Thumbprint: DeviceTwinInfoX509Thumbprint,
|
8284
9686
|
DeviceTwinMetadata: DeviceTwinMetadata,
|
8285
9687
|
EventGridEvent: EventGridEvent,
|
9688
|
+
EventGridMqttClientCreatedOrUpdatedEventData: EventGridMqttClientCreatedOrUpdatedEventData,
|
9689
|
+
EventGridMqttClientDeletedEventData: EventGridMqttClientDeletedEventData,
|
9690
|
+
EventGridMqttClientEventData: EventGridMqttClientEventData,
|
9691
|
+
EventGridMqttClientSessionConnectedEventData: EventGridMqttClientSessionConnectedEventData,
|
9692
|
+
EventGridMqttClientSessionDisconnectedEventData: EventGridMqttClientSessionDisconnectedEventData,
|
8286
9693
|
EventHubCaptureFileCreatedEventData: EventHubCaptureFileCreatedEventData,
|
8287
9694
|
HealthcareDicomImageCreatedEventData: HealthcareDicomImageCreatedEventData,
|
8288
9695
|
HealthcareDicomImageDeletedEventData: HealthcareDicomImageDeletedEventData,
|
@@ -8361,6 +9768,15 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
8361
9768
|
ResourceDeleteFailureEventData: ResourceDeleteFailureEventData,
|
8362
9769
|
ResourceDeleteSuccessEventData: ResourceDeleteSuccessEventData,
|
8363
9770
|
ResourceHttpRequest: ResourceHttpRequest,
|
9771
|
+
ResourceNotificationsHealthResourcesAnnotatedEventData: ResourceNotificationsHealthResourcesAnnotatedEventData,
|
9772
|
+
ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData: ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData,
|
9773
|
+
ResourceNotificationsOperationalDetails: ResourceNotificationsOperationalDetails,
|
9774
|
+
ResourceNotificationsResourceDeletedDetails: ResourceNotificationsResourceDeletedDetails,
|
9775
|
+
ResourceNotificationsResourceDeletedEventData: ResourceNotificationsResourceDeletedEventData,
|
9776
|
+
ResourceNotificationsResourceManagementCreatedOrUpdatedEventData: ResourceNotificationsResourceManagementCreatedOrUpdatedEventData,
|
9777
|
+
ResourceNotificationsResourceManagementDeletedEventData: ResourceNotificationsResourceManagementDeletedEventData,
|
9778
|
+
ResourceNotificationsResourceUpdatedDetails: ResourceNotificationsResourceUpdatedDetails,
|
9779
|
+
ResourceNotificationsResourceUpdatedEventData: ResourceNotificationsResourceUpdatedEventData,
|
8364
9780
|
ResourceWriteCancelEventData: ResourceWriteCancelEventData,
|
8365
9781
|
ResourceWriteFailureEventData: ResourceWriteFailureEventData,
|
8366
9782
|
ResourceWriteSuccessEventData: ResourceWriteSuccessEventData,
|
@@ -8381,6 +9797,8 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
8381
9797
|
StorageDirectoryRenamedEventData: StorageDirectoryRenamedEventData,
|
8382
9798
|
StorageLifecyclePolicyActionSummaryDetail: StorageLifecyclePolicyActionSummaryDetail,
|
8383
9799
|
StorageLifecyclePolicyCompletedEventData: StorageLifecyclePolicyCompletedEventData,
|
9800
|
+
StorageTaskAssignmentCompletedEventData: StorageTaskAssignmentCompletedEventData,
|
9801
|
+
StorageTaskAssignmentQueuedEventData: StorageTaskAssignmentQueuedEventData,
|
8384
9802
|
StorageTaskCompletedEventData: StorageTaskCompletedEventData,
|
8385
9803
|
StorageTaskQueuedEventData: StorageTaskQueuedEventData,
|
8386
9804
|
SubscriptionDeletedEventData: SubscriptionDeletedEventData,
|
@@ -8424,7 +9842,7 @@ class GeneratedClientContext extends coreClient__namespace.ServiceClient {
|
|
8424
9842
|
const defaults = {
|
8425
9843
|
requestContentType: "application/json; charset=utf-8"
|
8426
9844
|
};
|
8427
|
-
const packageDetails = `azsdk-js-eventgrid/5.1.0
|
9845
|
+
const packageDetails = `azsdk-js-eventgrid/5.1.0`;
|
8428
9846
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
8429
9847
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
8430
9848
|
: `${packageDetails}`;
|
@@ -8579,7 +9997,7 @@ function cloudEventDistributedTracingEnricherPolicy() {
|
|
8579
9997
|
const tracingClient = coreTracing.createTracingClient({
|
8580
9998
|
namespace: "Microsoft.Messaging.EventGrid",
|
8581
9999
|
packageName: "@azure/event-grid",
|
8582
|
-
packageVersion: "5.1.0
|
10000
|
+
packageVersion: "5.1.0",
|
8583
10001
|
});
|
8584
10002
|
|
8585
10003
|
// Copyright (c) Microsoft Corporation.
|
@@ -8640,7 +10058,7 @@ class EventGridPublisherClient {
|
|
8640
10058
|
if (channelName) {
|
8641
10059
|
sendOptions.aegChannelName = channelName;
|
8642
10060
|
}
|
8643
|
-
return this.client.publishCloudEventEvents(this.endpointUrl, events.map(convertCloudEventToModelType
|
10061
|
+
return this.client.publishCloudEventEvents(this.endpointUrl, events.map(convertCloudEventToModelType), sendOptions);
|
8644
10062
|
}
|
8645
10063
|
case "Custom": {
|
8646
10064
|
return this.client.publishCustomEventEvents(this.endpointUrl, events, updatedOptions);
|
@@ -8670,7 +10088,7 @@ function convertEventGridEventToModelType(event) {
|
|
8670
10088
|
/**
|
8671
10089
|
* @internal
|
8672
10090
|
*/
|
8673
|
-
function convertCloudEventToModelType
|
10091
|
+
function convertCloudEventToModelType(event) {
|
8674
10092
|
var _a, _b, _c, _d;
|
8675
10093
|
if (event.extensionAttributes) {
|
8676
10094
|
for (const propName in event.extensionAttributes) {
|
@@ -8823,577 +10241,14 @@ function isSystemEvent(eventType, event) {
|
|
8823
10241
|
}
|
8824
10242
|
}
|
8825
10243
|
|
8826
|
-
|
8827
|
-
// Licensed under the MIT license.
|
8828
|
-
const logger = logger$1.createClientLogger("eventgrid");
|
8829
|
-
|
8830
|
-
// Copyright (c) Microsoft Corporation.
|
8831
|
-
// Licensed under the MIT license.
|
8832
|
-
/**
|
8833
|
-
* Initialize a new instance of `EventGridContext`
|
8834
|
-
* @param endpoint - The host name of the namespace, e.g. namespaceName1.westus-1.eventgrid.azure.net
|
8835
|
-
* @param credentials - uniquely identify client credential
|
8836
|
-
* @param options - the parameter for all optional parameters
|
8837
|
-
*/
|
8838
|
-
function createClient(endpoint, credentials, options = {}) {
|
8839
|
-
var _a, _b, _c, _d, _e, _f;
|
8840
|
-
const baseUrl = (_a = options.baseUrl) !== null && _a !== void 0 ? _a : `${endpoint}`;
|
8841
|
-
options.apiVersion = (_b = options.apiVersion) !== null && _b !== void 0 ? _b : "2023-10-01-preview";
|
8842
|
-
options = Object.assign(Object.assign({}, options), { credentials: {
|
8843
|
-
scopes: (_d = (_c = options.credentials) === null || _c === void 0 ? void 0 : _c.scopes) !== null && _d !== void 0 ? _d : ["https://eventgrid.azure.net/.default"],
|
8844
|
-
apiKeyHeaderName: "Authorization",
|
8845
|
-
} });
|
8846
|
-
const userAgentInfo = `azsdk-js-eventgrid-rest/5.1.0-beta.1`;
|
8847
|
-
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
8848
|
-
? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}`
|
8849
|
-
: `${userAgentInfo}`;
|
8850
|
-
options = Object.assign(Object.assign({}, options), { userAgentOptions: {
|
8851
|
-
userAgentPrefix,
|
8852
|
-
}, loggingOptions: {
|
8853
|
-
logger: (_f = (_e = options.loggingOptions) === null || _e === void 0 ? void 0 : _e.logger) !== null && _f !== void 0 ? _f : logger.info,
|
8854
|
-
} });
|
8855
|
-
const client = coreClient$1.getClient(baseUrl, credentials, options);
|
8856
|
-
client.pipeline.addPolicy({
|
8857
|
-
name: "customKeyCredentialPolicy",
|
8858
|
-
async sendRequest(request, next) {
|
8859
|
-
request.headers.set("Authorization", "SharedAccessKey " + credentials.key);
|
8860
|
-
return next(request);
|
8861
|
-
},
|
8862
|
-
});
|
8863
|
-
return client;
|
8864
|
-
}
|
8865
|
-
|
8866
|
-
// Copyright (c) Microsoft Corporation.
|
8867
|
-
// Licensed under the MIT license.
|
8868
|
-
const responseMap = {
|
8869
|
-
"POST /topics/{topicName}:publish": ["200"],
|
8870
|
-
"POST /topics/{topicName}/eventsubscriptions/{eventSubscriptionName}:receive": ["200"],
|
8871
|
-
"POST /topics/{topicName}/eventsubscriptions/{eventSubscriptionName}:acknowledge": ["200"],
|
8872
|
-
"POST /topics/{topicName}/eventsubscriptions/{eventSubscriptionName}:release": ["200"],
|
8873
|
-
"POST /topics/{topicName}/eventsubscriptions/{eventSubscriptionName}:reject": ["200"],
|
8874
|
-
"POST /topics/{topicName}/eventsubscriptions/{eventSubscriptionName}:renewLock": ["200"],
|
8875
|
-
};
|
8876
|
-
function isUnexpected(response) {
|
8877
|
-
const lroOriginal = response.headers["x-ms-original-url"];
|
8878
|
-
const url = new URL(lroOriginal !== null && lroOriginal !== void 0 ? lroOriginal : response.request.url);
|
8879
|
-
const method = response.request.method;
|
8880
|
-
let pathDetails = responseMap[`${method} ${url.pathname}`];
|
8881
|
-
if (!pathDetails) {
|
8882
|
-
pathDetails = getParametrizedPathSuccess(method, url.pathname);
|
8883
|
-
}
|
8884
|
-
return !pathDetails.includes(response.status);
|
8885
|
-
}
|
8886
|
-
function getParametrizedPathSuccess(method, path) {
|
8887
|
-
var _a, _b, _c, _d;
|
8888
|
-
const pathParts = path.split("/");
|
8889
|
-
// Traverse list to match the longest candidate
|
8890
|
-
// matchedLen: the length of candidate path
|
8891
|
-
// matchedValue: the matched status code array
|
8892
|
-
let matchedLen = -1, matchedValue = [];
|
8893
|
-
// Iterate the responseMap to find a match
|
8894
|
-
for (const [key, value] of Object.entries(responseMap)) {
|
8895
|
-
// Extracting the path from the map key which is in format
|
8896
|
-
// GET /path/foo
|
8897
|
-
if (!key.startsWith(method)) {
|
8898
|
-
continue;
|
8899
|
-
}
|
8900
|
-
const candidatePath = getPathFromMapKey(key);
|
8901
|
-
// Get each part of the url path
|
8902
|
-
const candidateParts = candidatePath.split("/");
|
8903
|
-
// track if we have found a match to return the values found.
|
8904
|
-
let found = true;
|
8905
|
-
for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) {
|
8906
|
-
if (((_a = candidateParts[i]) === null || _a === void 0 ? void 0 : _a.startsWith("{")) && ((_b = candidateParts[i]) === null || _b === void 0 ? void 0 : _b.indexOf("}")) !== -1) {
|
8907
|
-
const start = candidateParts[i].indexOf("}") + 1, end = (_c = candidateParts[i]) === null || _c === void 0 ? void 0 : _c.length;
|
8908
|
-
// If the current part of the candidate is a "template" part
|
8909
|
-
// Try to use the suffix of pattern to match the path
|
8910
|
-
// {guid} ==> $
|
8911
|
-
// {guid}:export ==> :export$
|
8912
|
-
const isMatched = new RegExp(`${(_d = candidateParts[i]) === null || _d === void 0 ? void 0 : _d.slice(start, end)}`).test(pathParts[j] || "");
|
8913
|
-
if (!isMatched) {
|
8914
|
-
found = false;
|
8915
|
-
break;
|
8916
|
-
}
|
8917
|
-
continue;
|
8918
|
-
}
|
8919
|
-
// If the candidate part is not a template and
|
8920
|
-
// the parts don't match mark the candidate as not found
|
8921
|
-
// to move on with the next candidate path.
|
8922
|
-
if (candidateParts[i] !== pathParts[j]) {
|
8923
|
-
found = false;
|
8924
|
-
break;
|
8925
|
-
}
|
8926
|
-
}
|
8927
|
-
// We finished evaluating the current candidate parts
|
8928
|
-
// Update the matched value if and only if we found the longer pattern
|
8929
|
-
if (found && candidatePath.length > matchedLen) {
|
8930
|
-
matchedLen = candidatePath.length;
|
8931
|
-
matchedValue = value;
|
8932
|
-
}
|
8933
|
-
}
|
8934
|
-
return matchedValue;
|
8935
|
-
}
|
8936
|
-
function getPathFromMapKey(mapKey) {
|
8937
|
-
const pathStart = mapKey.indexOf("/");
|
8938
|
-
return mapKey.slice(pathStart);
|
8939
|
-
}
|
8940
|
-
|
8941
|
-
// Copyright (c) Microsoft Corporation.
|
8942
|
-
// Licensed under the MIT license.
|
8943
|
-
/** Azure Messaging EventGrid Client */
|
8944
|
-
function createEventGrid(endpoint, credential, options = {}) {
|
8945
|
-
const baseUrl = endpoint;
|
8946
|
-
const clientContext = createClient(baseUrl, credential, options);
|
8947
|
-
return clientContext;
|
8948
|
-
}
|
8949
|
-
|
8950
|
-
// Copyright (c) Microsoft Corporation.
|
8951
|
-
// Licensed under the MIT license.
|
8952
|
-
function _publishCloudEventSend(context, id, source, type, specversion, topicName, options = { requestOptions: {} }) {
|
8953
|
-
var _a, _b;
|
8954
|
-
return context.path("/topics/{topicName}:publish", topicName).post(Object.assign(Object.assign({}, coreClient$1.operationOptionsToRequestParameters(options)), { contentType: (_a = options.contentType) !== null && _a !== void 0 ? _a : "application/cloudevents+json; charset=utf-8", body: {
|
8955
|
-
id: id,
|
8956
|
-
source: source,
|
8957
|
-
data: options === null || options === void 0 ? void 0 : options.data,
|
8958
|
-
data_base64: (options === null || options === void 0 ? void 0 : options.dataBase64) !== undefined
|
8959
|
-
? coreUtil.uint8ArrayToString(options === null || options === void 0 ? void 0 : options.dataBase64, "base64")
|
8960
|
-
: undefined,
|
8961
|
-
type: type,
|
8962
|
-
time: (_b = options === null || options === void 0 ? void 0 : options.time) === null || _b === void 0 ? void 0 : _b.toISOString(),
|
8963
|
-
specversion: specversion,
|
8964
|
-
dataschema: options === null || options === void 0 ? void 0 : options.dataschema,
|
8965
|
-
datacontenttype: options === null || options === void 0 ? void 0 : options.datacontenttype,
|
8966
|
-
subject: options === null || options === void 0 ? void 0 : options.subject,
|
8967
|
-
} }));
|
8968
|
-
}
|
8969
|
-
async function _publishCloudEventDeserialize$1(result) {
|
8970
|
-
if (isUnexpected(result)) {
|
8971
|
-
throw result.body;
|
8972
|
-
}
|
8973
|
-
return result.body;
|
8974
|
-
}
|
8975
|
-
/** Publish Single Cloud Event to namespace topic. In case of success, the server responds with an HTTP 200 status code with an empty JSON object in response. Otherwise, the server can return various error codes. For example, 401: which indicates authorization failure, 403: which indicates quota exceeded or message is too large, 410: which indicates that specific topic is not found, 400: for bad request, and 500: for internal server error. */
|
8976
|
-
async function publishCloudEvent(context, id, source, type, specversion, topicName, options = { requestOptions: {} }) {
|
8977
|
-
const result = await _publishCloudEventSend(context, id, source, type, specversion, topicName, options);
|
8978
|
-
return _publishCloudEventDeserialize$1(result);
|
8979
|
-
}
|
8980
|
-
function _publishCloudEventsSend(context, events, topicName, options = { requestOptions: {} }) {
|
8981
|
-
var _a;
|
8982
|
-
return context.path("/topics/{topicName}:publish", topicName).post(Object.assign(Object.assign({}, coreClient$1.operationOptionsToRequestParameters(options)), { contentType: (_a = options.contentType) !== null && _a !== void 0 ? _a : "application/cloudevents-batch+json; charset=utf-8", body: (events !== null && events !== void 0 ? events : []).map((p) => {
|
8983
|
-
var _a;
|
8984
|
-
return {
|
8985
|
-
id: p["id"],
|
8986
|
-
source: p["source"],
|
8987
|
-
data: p["data"],
|
8988
|
-
data_base64: p["dataBase64"] !== undefined ? coreUtil.uint8ArrayToString(p["dataBase64"], "base64") : undefined,
|
8989
|
-
type: p["type"],
|
8990
|
-
time: (_a = p["time"]) === null || _a === void 0 ? void 0 : _a.toISOString(),
|
8991
|
-
specversion: p["specversion"],
|
8992
|
-
dataschema: p["dataschema"],
|
8993
|
-
datacontenttype: p["datacontenttype"],
|
8994
|
-
subject: p["subject"],
|
8995
|
-
};
|
8996
|
-
}) }));
|
8997
|
-
}
|
8998
|
-
async function _publishCloudEventsDeserialize(result) {
|
8999
|
-
if (isUnexpected(result)) {
|
9000
|
-
throw result.body;
|
9001
|
-
}
|
9002
|
-
return result.body;
|
9003
|
-
}
|
9004
|
-
/** Publish Batch Cloud Event to namespace topic. In case of success, the server responds with an HTTP 200 status code with an empty JSON object in response. Otherwise, the server can return various error codes. For example, 401: which indicates authorization failure, 403: which indicates quota exceeded or message is too large, 410: which indicates that specific topic is not found, 400: for bad request, and 500: for internal server error. */
|
9005
|
-
async function publishCloudEvents(context, events, topicName, options = { requestOptions: {} }) {
|
9006
|
-
const result = await _publishCloudEventsSend(context, events, topicName, options);
|
9007
|
-
return _publishCloudEventsDeserialize(result);
|
9008
|
-
}
|
9009
|
-
function _receiveCloudEventsSend(context, topicName, eventSubscriptionName, options = { requestOptions: {} }) {
|
9010
|
-
return context
|
9011
|
-
.path("/topics/{topicName}/eventsubscriptions/{eventSubscriptionName}:receive", topicName, eventSubscriptionName)
|
9012
|
-
.post(Object.assign(Object.assign({}, coreClient$1.operationOptionsToRequestParameters(options)), { queryParameters: {
|
9013
|
-
maxEvents: options === null || options === void 0 ? void 0 : options.maxEvents,
|
9014
|
-
maxWaitTime: options === null || options === void 0 ? void 0 : options.maxWaitTime,
|
9015
|
-
} }));
|
9016
|
-
}
|
9017
|
-
async function _receiveCloudEventsDeserialize(result) {
|
9018
|
-
var _a;
|
9019
|
-
if (isUnexpected(result)) {
|
9020
|
-
throw result.body;
|
9021
|
-
}
|
9022
|
-
return {
|
9023
|
-
value: ((_a = result.body["value"]) !== null && _a !== void 0 ? _a : []).map((p) => ({
|
9024
|
-
brokerProperties: {
|
9025
|
-
lockToken: p.brokerProperties["lockToken"],
|
9026
|
-
deliveryCount: p.brokerProperties["deliveryCount"],
|
9027
|
-
},
|
9028
|
-
event: {
|
9029
|
-
id: p.event["id"],
|
9030
|
-
source: p.event["source"],
|
9031
|
-
data: p.event["data"],
|
9032
|
-
dataBase64: typeof p.event["data_base64"] === "string"
|
9033
|
-
? coreUtil.stringToUint8Array(p.event["data_base64"], "base64")
|
9034
|
-
: p.event["data_base64"],
|
9035
|
-
type: p.event["type"],
|
9036
|
-
time: p.event["time"] !== undefined ? new Date(p.event["time"]) : undefined,
|
9037
|
-
specversion: p.event["specversion"],
|
9038
|
-
dataschema: p.event["dataschema"],
|
9039
|
-
datacontenttype: p.event["datacontenttype"],
|
9040
|
-
subject: p.event["subject"],
|
9041
|
-
},
|
9042
|
-
})),
|
9043
|
-
};
|
9044
|
-
}
|
9045
|
-
/** Receive Batch of Cloud Events from the Event Subscription. */
|
9046
|
-
async function receiveCloudEvents(context, topicName, eventSubscriptionName, options = { requestOptions: {} }) {
|
9047
|
-
const result = await _receiveCloudEventsSend(context, topicName, eventSubscriptionName, options);
|
9048
|
-
return _receiveCloudEventsDeserialize(result);
|
9049
|
-
}
|
9050
|
-
function _acknowledgeCloudEventsSend(context, lockTokens, topicName, eventSubscriptionName, options = { requestOptions: {} }) {
|
9051
|
-
return context
|
9052
|
-
.path("/topics/{topicName}/eventsubscriptions/{eventSubscriptionName}:acknowledge", topicName, eventSubscriptionName)
|
9053
|
-
.post(Object.assign(Object.assign({}, coreClient$1.operationOptionsToRequestParameters(options)), { body: { lockTokens: lockTokens } }));
|
9054
|
-
}
|
9055
|
-
async function _acknowledgeCloudEventsDeserialize(result) {
|
9056
|
-
var _a;
|
9057
|
-
if (isUnexpected(result)) {
|
9058
|
-
throw result.body;
|
9059
|
-
}
|
9060
|
-
return {
|
9061
|
-
failedLockTokens: ((_a = result.body["failedLockTokens"]) !== null && _a !== void 0 ? _a : []).map((p) => ({
|
9062
|
-
lockToken: p["lockToken"],
|
9063
|
-
error: p.error,
|
9064
|
-
})),
|
9065
|
-
succeededLockTokens: result.body["succeededLockTokens"],
|
9066
|
-
};
|
9067
|
-
}
|
9068
|
-
/** Acknowledge batch of Cloud Events. The server responds with an HTTP 200 status code if the request is successfully accepted. The response body will include the set of successfully acknowledged lockTokens, along with other failed lockTokens with their corresponding error information. Successfully acknowledged events will no longer be available to any consumer. */
|
9069
|
-
async function acknowledgeCloudEvents(context, lockTokens, topicName, eventSubscriptionName, options = { requestOptions: {} }) {
|
9070
|
-
const result = await _acknowledgeCloudEventsSend(context, lockTokens, topicName, eventSubscriptionName, options);
|
9071
|
-
return _acknowledgeCloudEventsDeserialize(result);
|
9072
|
-
}
|
9073
|
-
function _releaseCloudEventsSend(context, lockTokens, topicName, eventSubscriptionName, options = { requestOptions: {} }) {
|
9074
|
-
return context
|
9075
|
-
.path("/topics/{topicName}/eventsubscriptions/{eventSubscriptionName}:release", topicName, eventSubscriptionName)
|
9076
|
-
.post(Object.assign(Object.assign({}, coreClient$1.operationOptionsToRequestParameters(options)), { queryParameters: {
|
9077
|
-
releaseDelayInSeconds: options === null || options === void 0 ? void 0 : options.releaseDelayInSeconds,
|
9078
|
-
}, body: { lockTokens: lockTokens } }));
|
9079
|
-
}
|
9080
|
-
async function _releaseCloudEventsDeserialize(result) {
|
9081
|
-
var _a;
|
9082
|
-
if (isUnexpected(result)) {
|
9083
|
-
throw result.body;
|
9084
|
-
}
|
9085
|
-
return {
|
9086
|
-
failedLockTokens: ((_a = result.body["failedLockTokens"]) !== null && _a !== void 0 ? _a : []).map((p) => ({
|
9087
|
-
lockToken: p["lockToken"],
|
9088
|
-
error: p.error,
|
9089
|
-
})),
|
9090
|
-
succeededLockTokens: result.body["succeededLockTokens"],
|
9091
|
-
};
|
9092
|
-
}
|
9093
|
-
/** Release batch of Cloud Events. The server responds with an HTTP 200 status code if the request is successfully accepted. The response body will include the set of successfully released lockTokens, along with other failed lockTokens with their corresponding error information. */
|
9094
|
-
async function releaseCloudEvents(context, lockTokens, topicName, eventSubscriptionName, options = { requestOptions: {} }) {
|
9095
|
-
const result = await _releaseCloudEventsSend(context, lockTokens, topicName, eventSubscriptionName, options);
|
9096
|
-
return _releaseCloudEventsDeserialize(result);
|
9097
|
-
}
|
9098
|
-
function _rejectCloudEventsSend(context, lockTokens, topicName, eventSubscriptionName, options = { requestOptions: {} }) {
|
9099
|
-
return context
|
9100
|
-
.path("/topics/{topicName}/eventsubscriptions/{eventSubscriptionName}:reject", topicName, eventSubscriptionName)
|
9101
|
-
.post(Object.assign(Object.assign({}, coreClient$1.operationOptionsToRequestParameters(options)), { body: { lockTokens: lockTokens } }));
|
9102
|
-
}
|
9103
|
-
async function _rejectCloudEventsDeserialize(result) {
|
9104
|
-
var _a;
|
9105
|
-
if (isUnexpected(result)) {
|
9106
|
-
throw result.body;
|
9107
|
-
}
|
9108
|
-
return {
|
9109
|
-
failedLockTokens: ((_a = result.body["failedLockTokens"]) !== null && _a !== void 0 ? _a : []).map((p) => ({
|
9110
|
-
lockToken: p["lockToken"],
|
9111
|
-
error: p.error,
|
9112
|
-
})),
|
9113
|
-
succeededLockTokens: result.body["succeededLockTokens"],
|
9114
|
-
};
|
9115
|
-
}
|
9116
|
-
/** Reject batch of Cloud Events. The server responds with an HTTP 200 status code if the request is successfully accepted. The response body will include the set of successfully rejected lockTokens, along with other failed lockTokens with their corresponding error information. */
|
9117
|
-
async function rejectCloudEvents(context, lockTokens, topicName, eventSubscriptionName, options = { requestOptions: {} }) {
|
9118
|
-
const result = await _rejectCloudEventsSend(context, lockTokens, topicName, eventSubscriptionName, options);
|
9119
|
-
return _rejectCloudEventsDeserialize(result);
|
9120
|
-
}
|
9121
|
-
function _renewCloudEventLocksSend(context, lockTokens, topicName, eventSubscriptionName, options = { requestOptions: {} }) {
|
9122
|
-
return context
|
9123
|
-
.path("/topics/{topicName}/eventsubscriptions/{eventSubscriptionName}:renewLock", topicName, eventSubscriptionName)
|
9124
|
-
.post(Object.assign(Object.assign({}, coreClient$1.operationOptionsToRequestParameters(options)), { body: { lockTokens: lockTokens } }));
|
9125
|
-
}
|
9126
|
-
async function _renewCloudEventLocksDeserialize(result) {
|
9127
|
-
var _a;
|
9128
|
-
if (isUnexpected(result)) {
|
9129
|
-
throw result.body;
|
9130
|
-
}
|
9131
|
-
return {
|
9132
|
-
failedLockTokens: ((_a = result.body["failedLockTokens"]) !== null && _a !== void 0 ? _a : []).map((p) => ({
|
9133
|
-
lockToken: p["lockToken"],
|
9134
|
-
error: p.error,
|
9135
|
-
})),
|
9136
|
-
succeededLockTokens: result.body["succeededLockTokens"],
|
9137
|
-
};
|
9138
|
-
}
|
9139
|
-
/** Renew lock for batch of Cloud Events. The server responds with an HTTP 200 status code if the request is successfully accepted. The response body will include the set of successfully renewed lockTokens, along with other failed lockTokens with their corresponding error information. */
|
9140
|
-
async function renewCloudEventLocks(context, lockTokens, topicName, eventSubscriptionName, options = { requestOptions: {} }) {
|
9141
|
-
const result = await _renewCloudEventLocksSend(context, lockTokens, topicName, eventSubscriptionName, options);
|
9142
|
-
return _renewCloudEventLocksDeserialize(result);
|
9143
|
-
}
|
9144
|
-
|
9145
|
-
// Copyright (c) Microsoft Corporation.
|
9146
|
-
// Licensed under the MIT license.
|
9147
|
-
let EventGridClient$1 = class EventGridClient {
|
9148
|
-
getClient() {
|
9149
|
-
return this._client;
|
9150
|
-
}
|
9151
|
-
/** Azure Messaging EventGrid Client */
|
9152
|
-
constructor(endpoint, credential, options = {}) {
|
9153
|
-
this._client = createEventGrid(endpoint, credential, options);
|
9154
|
-
}
|
9155
|
-
/** Publish Single Cloud Event to namespace topic. In case of success, the server responds with an HTTP 200 status code with an empty JSON object in response. Otherwise, the server can return various error codes. For example, 401: which indicates authorization failure, 403: which indicates quota exceeded or message is too large, 410: which indicates that specific topic is not found, 400: for bad request, and 500: for internal server error. */
|
9156
|
-
publishCloudEvent(id, source, type, specversion, topicName, options = { requestOptions: {} }) {
|
9157
|
-
return publishCloudEvent(this._client, id, source, type, specversion, topicName, options);
|
9158
|
-
}
|
9159
|
-
/** Publish Batch Cloud Event to namespace topic. In case of success, the server responds with an HTTP 200 status code with an empty JSON object in response. Otherwise, the server can return various error codes. For example, 401: which indicates authorization failure, 403: which indicates quota exceeded or message is too large, 410: which indicates that specific topic is not found, 400: for bad request, and 500: for internal server error. */
|
9160
|
-
publishCloudEvents(events, topicName, options = { requestOptions: {} }) {
|
9161
|
-
return publishCloudEvents(this._client, events, topicName, options);
|
9162
|
-
}
|
9163
|
-
/** Receive Batch of Cloud Events from the Event Subscription. */
|
9164
|
-
receiveCloudEvents(topicName, eventSubscriptionName, options = { requestOptions: {} }) {
|
9165
|
-
return receiveCloudEvents(this._client, topicName, eventSubscriptionName, options);
|
9166
|
-
}
|
9167
|
-
/** Acknowledge batch of Cloud Events. The server responds with an HTTP 200 status code if the request is successfully accepted. The response body will include the set of successfully acknowledged lockTokens, along with other failed lockTokens with their corresponding error information. Successfully acknowledged events will no longer be available to any consumer. */
|
9168
|
-
acknowledgeCloudEvents(lockTokens, topicName, eventSubscriptionName, options = { requestOptions: {} }) {
|
9169
|
-
return acknowledgeCloudEvents(this._client, lockTokens, topicName, eventSubscriptionName, options);
|
9170
|
-
}
|
9171
|
-
/** Release batch of Cloud Events. The server responds with an HTTP 200 status code if the request is successfully accepted. The response body will include the set of successfully released lockTokens, along with other failed lockTokens with their corresponding error information. */
|
9172
|
-
releaseCloudEvents(lockTokens, topicName, eventSubscriptionName, options = { requestOptions: {} }) {
|
9173
|
-
return releaseCloudEvents(this._client, lockTokens, topicName, eventSubscriptionName, options);
|
9174
|
-
}
|
9175
|
-
/** Reject batch of Cloud Events. The server responds with an HTTP 200 status code if the request is successfully accepted. The response body will include the set of successfully rejected lockTokens, along with other failed lockTokens with their corresponding error information. */
|
9176
|
-
rejectCloudEvents(lockTokens, topicName, eventSubscriptionName, options = { requestOptions: {} }) {
|
9177
|
-
return rejectCloudEvents(this._client, lockTokens, topicName, eventSubscriptionName, options);
|
9178
|
-
}
|
9179
|
-
/** Renew lock for batch of Cloud Events. The server responds with an HTTP 200 status code if the request is successfully accepted. The response body will include the set of successfully renewed lockTokens, along with other failed lockTokens with their corresponding error information. */
|
9180
|
-
renewCloudEventLocks(lockTokens, topicName, eventSubscriptionName, options = { requestOptions: {} }) {
|
9181
|
-
return renewCloudEventLocks(this._client, lockTokens, topicName, eventSubscriptionName, options);
|
9182
|
-
}
|
9183
|
-
};
|
9184
|
-
|
9185
|
-
// Copyright (c) Microsoft Corporation.
|
9186
|
-
// Licensed under the MIT license.
|
9187
|
-
async function publishCloudEventBinaryMode(context, id, source, type, specversion, topicName, options = { requestOptions: {} }) {
|
9188
|
-
const result = await _publishCloudEventSendBinaryMode(context, id, source, type, specversion, topicName, options);
|
9189
|
-
return _publishCloudEventDeserialize(result);
|
9190
|
-
}
|
9191
|
-
async function _publishCloudEventDeserialize(result) {
|
9192
|
-
if (isUnexpected(result)) {
|
9193
|
-
throw result.body;
|
9194
|
-
}
|
9195
|
-
return result.body;
|
9196
|
-
}
|
9197
|
-
function _publishCloudEventSendBinaryMode(context, id, source, type, specversion, topicName, options = { requestOptions: {} }) {
|
9198
|
-
var _a, _b;
|
9199
|
-
const headers = {
|
9200
|
-
"ce-id": id,
|
9201
|
-
"ce-source": source,
|
9202
|
-
"ce-type": type,
|
9203
|
-
"ce-specversion": specversion,
|
9204
|
-
};
|
9205
|
-
if (options === null || options === void 0 ? void 0 : options.time) {
|
9206
|
-
headers["ce-time"] = options.time.toISOString();
|
9207
|
-
}
|
9208
|
-
if (options === null || options === void 0 ? void 0 : options.dataschema) {
|
9209
|
-
headers["ce-dataschema"] = options.dataschema;
|
9210
|
-
}
|
9211
|
-
if (options === null || options === void 0 ? void 0 : options.datacontenttype) {
|
9212
|
-
headers["ce-datacontenttype"] = options.datacontenttype;
|
9213
|
-
}
|
9214
|
-
if (options === null || options === void 0 ? void 0 : options.subject) {
|
9215
|
-
headers["ce-subject"] = options.subject;
|
9216
|
-
}
|
9217
|
-
let data;
|
9218
|
-
if (options === null || options === void 0 ? void 0 : options.data) {
|
9219
|
-
// If data is already encoded
|
9220
|
-
if (buffer.Buffer.isBuffer(options.data)) {
|
9221
|
-
data = options.data;
|
9222
|
-
}
|
9223
|
-
else {
|
9224
|
-
throw new Error(`CloudEvent data must be binary when in binary mode.`);
|
9225
|
-
}
|
9226
|
-
}
|
9227
|
-
else {
|
9228
|
-
if (options === null || options === void 0 ? void 0 : options.dataBase64) {
|
9229
|
-
data = options.dataBase64;
|
9230
|
-
}
|
9231
|
-
}
|
9232
|
-
return context.path("/topics/{topicName}:publish", topicName).post(Object.assign(Object.assign({}, coreClient$1.operationOptionsToRequestParameters(options)), { contentType: (_a = options.contentType) !== null && _a !== void 0 ? _a : "application/cloudevents+json; charset=utf-8", headers, body: {
|
9233
|
-
id: id,
|
9234
|
-
source: source,
|
9235
|
-
data,
|
9236
|
-
type: type,
|
9237
|
-
time: (_b = options === null || options === void 0 ? void 0 : options.time) === null || _b === void 0 ? void 0 : _b.toISOString(),
|
9238
|
-
specversion: specversion,
|
9239
|
-
dataschema: options === null || options === void 0 ? void 0 : options.dataschema,
|
9240
|
-
datacontenttype: options === null || options === void 0 ? void 0 : options.datacontenttype,
|
9241
|
-
subject: options === null || options === void 0 ? void 0 : options.subject,
|
9242
|
-
} }));
|
9243
|
-
}
|
9244
|
-
|
9245
|
-
// Copyright (c) Microsoft Corporation.
|
9246
|
-
// Licensed under the MIT license.
|
9247
|
-
/**
|
9248
|
-
* Event Grid Client
|
9249
|
-
*/
|
9250
|
-
class EventGridClient {
|
9251
|
-
/** Azure Messaging EventGrid Client */
|
9252
|
-
constructor(endpoint, credential, options = {}) {
|
9253
|
-
// credential.update(`SharedAccessKey ${credential.key}`);
|
9254
|
-
this._client = new EventGridClient$1(endpoint, credential, options);
|
9255
|
-
}
|
9256
|
-
/**
|
9257
|
-
* Publish Single Cloud Event to namespace topic. In case of success, the server responds with an HTTP 200
|
9258
|
-
* status code with an empty JSON object in response. Otherwise, the server can return various error codes.
|
9259
|
-
* For example, 401: which indicates authorization failure, 403: which indicates quota exceeded or message
|
9260
|
-
* is too large, 410: which indicates that specific topic is not found, 400: for bad request, and 500: for
|
9261
|
-
* internal server error.
|
9262
|
-
*
|
9263
|
-
* @param event - Event to publish
|
9264
|
-
* @param topicName - Topic to publish the event
|
9265
|
-
* @param options - Options to publish
|
9266
|
-
*
|
9267
|
-
*/
|
9268
|
-
publishCloudEvent(event, topicName, options = { requestOptions: {} }) {
|
9269
|
-
const cloudEventWireModel = convertCloudEventToModelType(event);
|
9270
|
-
if (!options.binaryMode) {
|
9271
|
-
return this._client.publishCloudEvent(cloudEventWireModel.id, cloudEventWireModel.source, cloudEventWireModel.type, cloudEventWireModel.specversion, topicName, Object.assign({ time: cloudEventWireModel.time, dataschema: cloudEventWireModel.dataschema, datacontenttype: cloudEventWireModel.datacontenttype, subject: cloudEventWireModel.subject, contentType: options.contentType, data: cloudEventWireModel.data, dataBase64: cloudEventWireModel.dataBase64 }, options));
|
9272
|
-
}
|
9273
|
-
else {
|
9274
|
-
return publishCloudEventBinaryMode(this._client.getClient(), cloudEventWireModel.id, cloudEventWireModel.source, cloudEventWireModel.type, cloudEventWireModel.specversion, topicName, Object.assign({ time: cloudEventWireModel.time, dataschema: cloudEventWireModel.dataschema, datacontenttype: cloudEventWireModel.datacontenttype, subject: cloudEventWireModel.subject, contentType: options.contentType, data: cloudEventWireModel.data, dataBase64: cloudEventWireModel.dataBase64 }, options));
|
9275
|
-
}
|
9276
|
-
}
|
9277
|
-
/**
|
9278
|
-
* Publish Batch Cloud Event to namespace topic. In case of success, the server responds with an HTTP 200
|
9279
|
-
* status code with an empty JSON object in response. Otherwise, the server can return various error codes.
|
9280
|
-
* For example, 401: which indicates authorization failure, 403: which indicates quota exceeded or message
|
9281
|
-
* is too large, 410: which indicates that specific topic is not found, 400: for bad request, and 500: for
|
9282
|
-
* internal server error.
|
9283
|
-
*
|
9284
|
-
* @param events - Events to publish
|
9285
|
-
* @param topicName - Topic to publish the event
|
9286
|
-
* @param options - Options to publish
|
9287
|
-
*
|
9288
|
-
*/
|
9289
|
-
publishCloudEvents(events, topicName, options = { requestOptions: {} }) {
|
9290
|
-
const eventsWireModel = [];
|
9291
|
-
for (const individualevent of events) {
|
9292
|
-
eventsWireModel.push(convertCloudEventToModelType(individualevent));
|
9293
|
-
}
|
9294
|
-
return this._client.publishCloudEvents(eventsWireModel, topicName, options);
|
9295
|
-
}
|
9296
|
-
/**
|
9297
|
-
* Receive Batch of Cloud Events from the Event Subscription.
|
9298
|
-
*
|
9299
|
-
* @param topicName - Topic to receive
|
9300
|
-
* @param eventSubscriptionName - Name of the Event Subscription
|
9301
|
-
* @param options - Options to receive
|
9302
|
-
*
|
9303
|
-
*/
|
9304
|
-
receiveCloudEvents(topicName, eventSubscriptionName, options = { requestOptions: {} }) {
|
9305
|
-
return this._client.receiveCloudEvents(topicName, eventSubscriptionName, options);
|
9306
|
-
}
|
9307
|
-
/**
|
9308
|
-
* Acknowledge batch of Cloud Events. The server responds with an HTTP 200 status code if at least one
|
9309
|
-
* event is successfully acknowledged. The response body will include the set of successfully acknowledged
|
9310
|
-
* lockTokens, along with other failed lockTokens with their corresponding error information. Successfully
|
9311
|
-
* acknowledged events will no longer be available to any consumer.
|
9312
|
-
*
|
9313
|
-
* @param lockTokens - Lock Tokens
|
9314
|
-
* @param topicName - Topic Name
|
9315
|
-
* @param eventSubscriptionName - Name of the Event Subscription
|
9316
|
-
* @param options - Options to Acknowledge
|
9317
|
-
*
|
9318
|
-
*/
|
9319
|
-
acknowledgeCloudEvents(lockTokens, topicName, eventSubscriptionName, options = { requestOptions: {} }) {
|
9320
|
-
return this._client.acknowledgeCloudEvents(lockTokens, topicName, eventSubscriptionName, options);
|
9321
|
-
}
|
9322
|
-
/**
|
9323
|
-
* Release batch of Cloud Events. The server responds with an HTTP 200 status code if at least one event is
|
9324
|
-
* successfully released. The response body will include the set of successfully released lockTokens, along
|
9325
|
-
* with other failed lockTokens with their corresponding error information.
|
9326
|
-
*
|
9327
|
-
* @param lockTokens - Lock Tokens
|
9328
|
-
* @param topicName - Topic Name
|
9329
|
-
* @param eventSubscriptionName - Name of the Event Subscription
|
9330
|
-
* @param options - Options to release
|
9331
|
-
*
|
9332
|
-
*/
|
9333
|
-
releaseCloudEvents(lockTokens, topicName, eventSubscriptionName, options = { requestOptions: {} }) {
|
9334
|
-
return this._client.releaseCloudEvents(lockTokens, topicName, eventSubscriptionName, options);
|
9335
|
-
}
|
9336
|
-
/**
|
9337
|
-
* Reject batch of Cloud Events.
|
9338
|
-
*
|
9339
|
-
* @param lockTokens - Lock Tokens
|
9340
|
-
* @param topicName - Topic Name
|
9341
|
-
* @param eventSubscriptionName - Name of the Event Subscription
|
9342
|
-
* @param options - Options to reject
|
9343
|
-
*
|
9344
|
-
*/
|
9345
|
-
rejectCloudEvents(lockTokens, topicName, eventSubscriptionName, options = { requestOptions: {} }) {
|
9346
|
-
return this._client.rejectCloudEvents(lockTokens, topicName, eventSubscriptionName, options);
|
9347
|
-
}
|
9348
|
-
/**
|
9349
|
-
* Renew lock for batch of Cloud Events.
|
9350
|
-
*
|
9351
|
-
* @param lockTokens - Lock Tokens
|
9352
|
-
* @param topicName - Topic Name
|
9353
|
-
* @param eventSubscriptionName - Name of the Event Subscription
|
9354
|
-
* @param options - Options to renew
|
9355
|
-
*/
|
9356
|
-
renewCloudEventLocks(lockTokens, topicName, eventSubscriptionName, options = { requestOptions: {} }) {
|
9357
|
-
return this._client.renewCloudEventLocks(lockTokens, topicName, eventSubscriptionName, options);
|
9358
|
-
}
|
9359
|
-
}
|
9360
|
-
function convertCloudEventToModelType(event) {
|
9361
|
-
var _a, _b, _c, _d, _e;
|
9362
|
-
if (event.extensionAttributes) {
|
9363
|
-
for (const propName in event.extensionAttributes) {
|
9364
|
-
// Per the cloud events spec: "CloudEvents attribute names MUST consist of lower-case letters ('a' to 'z') or digits ('0' to '9') from the ASCII character set"
|
9365
|
-
// they also can not match an existing defined property name.
|
9366
|
-
if (!/^[a-z0-9]*$/.test(propName) ||
|
9367
|
-
cloudEventReservedPropertyNames.indexOf(propName) !== -1) {
|
9368
|
-
throw new Error(`invalid extension attribute name: ${propName}`);
|
9369
|
-
}
|
9370
|
-
}
|
9371
|
-
}
|
9372
|
-
const converted = Object.assign({ specversion: (_a = event.specversion) !== null && _a !== void 0 ? _a : "1.0", type: event.type, source: event.source, id: (_b = event.id) !== null && _b !== void 0 ? _b : uuid.v4(), time: (_c = event.time) !== null && _c !== void 0 ? _c : new Date(), subject: event.subject, dataschema: event.dataschema }, ((_d = event.extensionAttributes) !== null && _d !== void 0 ? _d : []));
|
9373
|
-
if (event.data instanceof Uint8Array) {
|
9374
|
-
if (!event.datacontenttype) {
|
9375
|
-
throw new Error("a data content type must be provided when sending an event with binary data");
|
9376
|
-
}
|
9377
|
-
converted.datacontenttype = event.datacontenttype;
|
9378
|
-
converted.dataBase64 = event.data;
|
9379
|
-
}
|
9380
|
-
else {
|
9381
|
-
converted.datacontenttype =
|
9382
|
-
(_e = event.datacontenttype) !== null && _e !== void 0 ? _e : "application/cloudevents+json; charset=utf-8";
|
9383
|
-
converted.data = event.data;
|
9384
|
-
}
|
9385
|
-
return converted;
|
9386
|
-
}
|
9387
|
-
|
9388
|
-
Object.defineProperty(exports, 'AzureKeyCredential', {
|
10244
|
+
Object.defineProperty(exports, "AzureKeyCredential", {
|
9389
10245
|
enumerable: true,
|
9390
10246
|
get: function () { return coreAuth.AzureKeyCredential; }
|
9391
10247
|
});
|
9392
|
-
Object.defineProperty(exports,
|
10248
|
+
Object.defineProperty(exports, "AzureSASCredential", {
|
9393
10249
|
enumerable: true,
|
9394
10250
|
get: function () { return coreAuth.AzureSASCredential; }
|
9395
10251
|
});
|
9396
|
-
exports.EventGridClient = EventGridClient;
|
9397
10252
|
exports.EventGridDeserializer = EventGridDeserializer;
|
9398
10253
|
exports.EventGridPublisherClient = EventGridPublisherClient;
|
9399
10254
|
exports.generateSharedAccessSignature = generateSharedAccessSignature;
|