@azure/eventgrid 5.1.0-beta.1 → 5.1.1
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 +1730 -942
- 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 +1742 -441
- 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 +705 -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);
|
@@ -2174,6 +2172,35 @@ const SubscriptionDeletedEventData = {
|
|
2174
2172
|
}
|
2175
2173
|
}
|
2176
2174
|
};
|
2175
|
+
const EventGridMqttClientEventData = {
|
2176
|
+
type: {
|
2177
|
+
name: "Composite",
|
2178
|
+
className: "EventGridMqttClientEventData",
|
2179
|
+
modelProperties: {
|
2180
|
+
clientAuthenticationName: {
|
2181
|
+
serializedName: "clientAuthenticationName",
|
2182
|
+
required: true,
|
2183
|
+
type: {
|
2184
|
+
name: "String"
|
2185
|
+
}
|
2186
|
+
},
|
2187
|
+
clientName: {
|
2188
|
+
serializedName: "clientName",
|
2189
|
+
required: true,
|
2190
|
+
type: {
|
2191
|
+
name: "String"
|
2192
|
+
}
|
2193
|
+
},
|
2194
|
+
namespaceName: {
|
2195
|
+
serializedName: "namespaceName",
|
2196
|
+
required: true,
|
2197
|
+
type: {
|
2198
|
+
name: "String"
|
2199
|
+
}
|
2200
|
+
}
|
2201
|
+
}
|
2202
|
+
}
|
2203
|
+
};
|
2177
2204
|
const DataBoxCopyStartedEventData = {
|
2178
2205
|
type: {
|
2179
2206
|
name: "Composite",
|
@@ -4116,6 +4143,35 @@ const AppConfigurationKeyValueDeletedEventData = {
|
|
4116
4143
|
}
|
4117
4144
|
}
|
4118
4145
|
};
|
4146
|
+
const AppConfigurationSnapshotEventData = {
|
4147
|
+
type: {
|
4148
|
+
name: "Composite",
|
4149
|
+
className: "AppConfigurationSnapshotEventData",
|
4150
|
+
modelProperties: {
|
4151
|
+
name: {
|
4152
|
+
serializedName: "name",
|
4153
|
+
required: true,
|
4154
|
+
type: {
|
4155
|
+
name: "String"
|
4156
|
+
}
|
4157
|
+
},
|
4158
|
+
etag: {
|
4159
|
+
serializedName: "etag",
|
4160
|
+
required: true,
|
4161
|
+
type: {
|
4162
|
+
name: "String"
|
4163
|
+
}
|
4164
|
+
},
|
4165
|
+
syncToken: {
|
4166
|
+
serializedName: "syncToken",
|
4167
|
+
required: true,
|
4168
|
+
type: {
|
4169
|
+
name: "String"
|
4170
|
+
}
|
4171
|
+
}
|
4172
|
+
}
|
4173
|
+
}
|
4174
|
+
};
|
4119
4175
|
const SignalRServiceClientConnectionConnectedEventData = {
|
4120
4176
|
type: {
|
4121
4177
|
name: "Composite",
|
@@ -6150,27 +6206,27 @@ const AcsUserDisconnectedEventData = {
|
|
6150
6206
|
}
|
6151
6207
|
}
|
6152
6208
|
};
|
6153
|
-
const
|
6209
|
+
const AcsRouterEventData = {
|
6154
6210
|
type: {
|
6155
6211
|
name: "Composite",
|
6156
|
-
className: "
|
6212
|
+
className: "AcsRouterEventData",
|
6157
6213
|
modelProperties: {
|
6158
|
-
|
6159
|
-
serializedName: "
|
6214
|
+
jobId: {
|
6215
|
+
serializedName: "jobId",
|
6216
|
+
required: true,
|
6160
6217
|
type: {
|
6161
|
-
name: "
|
6162
|
-
className: "CommunicationIdentifierModel"
|
6218
|
+
name: "String"
|
6163
6219
|
}
|
6164
6220
|
},
|
6165
|
-
|
6166
|
-
serializedName: "
|
6221
|
+
channelReference: {
|
6222
|
+
serializedName: "channelReference",
|
6167
6223
|
required: true,
|
6168
6224
|
type: {
|
6169
6225
|
name: "String"
|
6170
6226
|
}
|
6171
6227
|
},
|
6172
|
-
|
6173
|
-
serializedName: "
|
6228
|
+
channelId: {
|
6229
|
+
serializedName: "channelId",
|
6174
6230
|
required: true,
|
6175
6231
|
type: {
|
6176
6232
|
name: "String"
|
@@ -6179,157 +6235,127 @@ const AcsChatEventBase = {
|
|
6179
6235
|
}
|
6180
6236
|
}
|
6181
6237
|
};
|
6182
|
-
const
|
6238
|
+
const AcsRouterCommunicationError = {
|
6183
6239
|
type: {
|
6184
6240
|
name: "Composite",
|
6185
|
-
className: "
|
6241
|
+
className: "AcsRouterCommunicationError",
|
6186
6242
|
modelProperties: {
|
6187
|
-
|
6188
|
-
serializedName: "
|
6243
|
+
code: {
|
6244
|
+
serializedName: "code",
|
6189
6245
|
required: true,
|
6190
6246
|
type: {
|
6191
6247
|
name: "String"
|
6192
6248
|
}
|
6193
6249
|
},
|
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",
|
6250
|
+
message: {
|
6251
|
+
serializedName: "message",
|
6211
6252
|
required: true,
|
6212
6253
|
type: {
|
6213
6254
|
name: "String"
|
6214
6255
|
}
|
6215
6256
|
},
|
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",
|
6257
|
+
target: {
|
6258
|
+
serializedName: "target",
|
6233
6259
|
required: true,
|
6234
6260
|
type: {
|
6235
6261
|
name: "String"
|
6236
6262
|
}
|
6237
6263
|
},
|
6238
|
-
|
6239
|
-
serializedName: "
|
6240
|
-
required: true,
|
6264
|
+
innererror: {
|
6265
|
+
serializedName: "innererror",
|
6241
6266
|
type: {
|
6242
|
-
name: "
|
6267
|
+
name: "Composite",
|
6268
|
+
className: "AcsRouterCommunicationError"
|
6243
6269
|
}
|
6244
6270
|
},
|
6245
|
-
|
6246
|
-
serializedName: "
|
6271
|
+
details: {
|
6272
|
+
serializedName: "details",
|
6247
6273
|
required: true,
|
6248
6274
|
type: {
|
6249
|
-
name: "
|
6275
|
+
name: "Sequence",
|
6276
|
+
element: {
|
6277
|
+
type: {
|
6278
|
+
name: "Composite",
|
6279
|
+
className: "AcsRouterCommunicationError"
|
6280
|
+
}
|
6281
|
+
}
|
6250
6282
|
}
|
6251
6283
|
}
|
6252
6284
|
}
|
6253
6285
|
}
|
6254
6286
|
};
|
6255
|
-
const
|
6287
|
+
const AcsRouterQueueDetails = {
|
6256
6288
|
type: {
|
6257
6289
|
name: "Composite",
|
6258
|
-
className: "
|
6290
|
+
className: "AcsRouterQueueDetails",
|
6259
6291
|
modelProperties: {
|
6260
|
-
|
6261
|
-
serializedName: "
|
6292
|
+
id: {
|
6293
|
+
serializedName: "id",
|
6262
6294
|
required: true,
|
6263
6295
|
type: {
|
6264
6296
|
name: "String"
|
6265
6297
|
}
|
6266
6298
|
},
|
6267
|
-
|
6268
|
-
serializedName: "
|
6299
|
+
name: {
|
6300
|
+
serializedName: "name",
|
6269
6301
|
required: true,
|
6270
6302
|
type: {
|
6271
6303
|
name: "String"
|
6272
6304
|
}
|
6273
6305
|
},
|
6274
|
-
|
6275
|
-
serializedName: "
|
6306
|
+
labels: {
|
6307
|
+
serializedName: "labels",
|
6276
6308
|
required: true,
|
6277
6309
|
type: {
|
6278
|
-
name: "
|
6310
|
+
name: "Dictionary",
|
6311
|
+
value: { type: { name: "String" } }
|
6279
6312
|
}
|
6280
6313
|
}
|
6281
6314
|
}
|
6282
6315
|
}
|
6283
6316
|
};
|
6284
|
-
const
|
6317
|
+
const AcsRouterWorkerSelector = {
|
6285
6318
|
type: {
|
6286
6319
|
name: "Composite",
|
6287
|
-
className: "
|
6320
|
+
className: "AcsRouterWorkerSelector",
|
6288
6321
|
modelProperties: {
|
6289
|
-
|
6290
|
-
serializedName: "
|
6291
|
-
type: {
|
6292
|
-
name: "Composite",
|
6293
|
-
className: "AcsRecordingStorageInfo"
|
6294
|
-
}
|
6295
|
-
},
|
6296
|
-
recordingStartTime: {
|
6297
|
-
serializedName: "recordingStartTime",
|
6322
|
+
key: {
|
6323
|
+
serializedName: "key",
|
6298
6324
|
required: true,
|
6299
6325
|
type: {
|
6300
6326
|
name: "String"
|
6301
6327
|
}
|
6302
6328
|
},
|
6303
|
-
|
6304
|
-
serializedName: "
|
6329
|
+
labelOperator: {
|
6330
|
+
serializedName: "labelOperator",
|
6305
6331
|
required: true,
|
6306
6332
|
type: {
|
6307
|
-
name: "
|
6333
|
+
name: "String"
|
6308
6334
|
}
|
6309
6335
|
},
|
6310
|
-
|
6311
|
-
serializedName: "
|
6336
|
+
labelValue: {
|
6337
|
+
serializedName: "labelValue",
|
6312
6338
|
required: true,
|
6313
6339
|
type: {
|
6314
|
-
name: "
|
6340
|
+
name: "any"
|
6315
6341
|
}
|
6316
6342
|
},
|
6317
|
-
|
6318
|
-
serializedName: "
|
6343
|
+
ttlSeconds: {
|
6344
|
+
serializedName: "ttlSeconds",
|
6319
6345
|
required: true,
|
6320
6346
|
type: {
|
6321
|
-
name: "
|
6347
|
+
name: "Number"
|
6322
6348
|
}
|
6323
6349
|
},
|
6324
|
-
|
6325
|
-
serializedName: "
|
6350
|
+
state: {
|
6351
|
+
serializedName: "state",
|
6326
6352
|
required: true,
|
6327
6353
|
type: {
|
6328
6354
|
name: "String"
|
6329
6355
|
}
|
6330
6356
|
},
|
6331
|
-
|
6332
|
-
serializedName: "
|
6357
|
+
expirationTime: {
|
6358
|
+
serializedName: "expirationTime",
|
6333
6359
|
required: true,
|
6334
6360
|
type: {
|
6335
6361
|
name: "String"
|
@@ -6338,134 +6364,135 @@ const AcsRecordingFileStatusUpdatedEventData = {
|
|
6338
6364
|
}
|
6339
6365
|
}
|
6340
6366
|
};
|
6341
|
-
const
|
6367
|
+
const AcsRouterWorkerDeregisteredEventData = {
|
6342
6368
|
type: {
|
6343
6369
|
name: "Composite",
|
6344
|
-
className: "
|
6370
|
+
className: "AcsRouterWorkerDeregisteredEventData",
|
6345
6371
|
modelProperties: {
|
6346
|
-
|
6347
|
-
serializedName: "
|
6372
|
+
workerId: {
|
6373
|
+
serializedName: "workerId",
|
6348
6374
|
required: true,
|
6349
6375
|
type: {
|
6350
|
-
name: "
|
6351
|
-
element: {
|
6352
|
-
type: {
|
6353
|
-
name: "Composite",
|
6354
|
-
className: "AcsRecordingChunkInfo"
|
6355
|
-
}
|
6356
|
-
}
|
6376
|
+
name: "String"
|
6357
6377
|
}
|
6358
6378
|
}
|
6359
6379
|
}
|
6360
6380
|
}
|
6361
6381
|
};
|
6362
|
-
const
|
6382
|
+
const AcsRouterWorkerRegisteredEventData = {
|
6363
6383
|
type: {
|
6364
6384
|
name: "Composite",
|
6365
|
-
className: "
|
6385
|
+
className: "AcsRouterWorkerRegisteredEventData",
|
6366
6386
|
modelProperties: {
|
6367
|
-
|
6368
|
-
serializedName: "
|
6387
|
+
workerId: {
|
6388
|
+
serializedName: "workerId",
|
6369
6389
|
required: true,
|
6370
6390
|
type: {
|
6371
6391
|
name: "String"
|
6372
6392
|
}
|
6373
6393
|
},
|
6374
|
-
|
6375
|
-
serializedName: "
|
6394
|
+
queueAssignments: {
|
6395
|
+
serializedName: "queueAssignments",
|
6376
6396
|
required: true,
|
6377
6397
|
type: {
|
6378
|
-
name: "
|
6398
|
+
name: "Sequence",
|
6399
|
+
element: {
|
6400
|
+
type: {
|
6401
|
+
name: "Composite",
|
6402
|
+
className: "AcsRouterQueueDetails"
|
6403
|
+
}
|
6404
|
+
}
|
6379
6405
|
}
|
6380
6406
|
},
|
6381
|
-
|
6382
|
-
serializedName: "
|
6407
|
+
channelConfigurations: {
|
6408
|
+
serializedName: "channelConfigurations",
|
6383
6409
|
required: true,
|
6384
6410
|
type: {
|
6385
|
-
name: "
|
6411
|
+
name: "Sequence",
|
6412
|
+
element: {
|
6413
|
+
type: {
|
6414
|
+
name: "Composite",
|
6415
|
+
className: "AcsRouterChannelConfiguration"
|
6416
|
+
}
|
6417
|
+
}
|
6386
6418
|
}
|
6387
6419
|
},
|
6388
|
-
|
6389
|
-
serializedName: "
|
6420
|
+
totalCapacity: {
|
6421
|
+
serializedName: "totalCapacity",
|
6390
6422
|
required: true,
|
6391
6423
|
type: {
|
6392
|
-
name: "
|
6424
|
+
name: "Number"
|
6393
6425
|
}
|
6394
6426
|
},
|
6395
|
-
|
6396
|
-
serializedName: "
|
6427
|
+
labels: {
|
6428
|
+
serializedName: "labels",
|
6397
6429
|
required: true,
|
6398
6430
|
type: {
|
6399
|
-
name: "
|
6431
|
+
name: "Dictionary",
|
6432
|
+
value: { type: { name: "String" } }
|
6400
6433
|
}
|
6401
6434
|
},
|
6402
|
-
|
6403
|
-
serializedName: "
|
6435
|
+
tags: {
|
6436
|
+
serializedName: "tags",
|
6404
6437
|
required: true,
|
6405
6438
|
type: {
|
6406
|
-
name: "
|
6439
|
+
name: "Dictionary",
|
6440
|
+
value: { type: { name: "String" } }
|
6407
6441
|
}
|
6408
6442
|
}
|
6409
6443
|
}
|
6410
6444
|
}
|
6411
6445
|
};
|
6412
|
-
const
|
6446
|
+
const AcsRouterChannelConfiguration = {
|
6413
6447
|
type: {
|
6414
6448
|
name: "Composite",
|
6415
|
-
className: "
|
6449
|
+
className: "AcsRouterChannelConfiguration",
|
6416
6450
|
modelProperties: {
|
6417
|
-
|
6418
|
-
serializedName: "
|
6419
|
-
required: true,
|
6420
|
-
type: {
|
6421
|
-
name: "String"
|
6422
|
-
}
|
6423
|
-
},
|
6424
|
-
recipient: {
|
6425
|
-
serializedName: "recipient",
|
6451
|
+
channelId: {
|
6452
|
+
serializedName: "channelId",
|
6426
6453
|
required: true,
|
6427
6454
|
type: {
|
6428
6455
|
name: "String"
|
6429
6456
|
}
|
6430
6457
|
},
|
6431
|
-
|
6432
|
-
serializedName: "
|
6458
|
+
capacityCostPerJob: {
|
6459
|
+
serializedName: "capacityCostPerJob",
|
6433
6460
|
required: true,
|
6434
6461
|
type: {
|
6435
|
-
name: "
|
6462
|
+
name: "Number"
|
6436
6463
|
}
|
6437
6464
|
},
|
6438
|
-
|
6439
|
-
serializedName: "
|
6465
|
+
maxNumberOfJobs: {
|
6466
|
+
serializedName: "maxNumberOfJobs",
|
6440
6467
|
required: true,
|
6441
6468
|
type: {
|
6442
|
-
name: "
|
6469
|
+
name: "Number"
|
6443
6470
|
}
|
6444
|
-
}
|
6445
|
-
|
6446
|
-
|
6471
|
+
}
|
6472
|
+
}
|
6473
|
+
}
|
6474
|
+
};
|
6475
|
+
const AcsChatEventBase = {
|
6476
|
+
type: {
|
6477
|
+
name: "Composite",
|
6478
|
+
className: "AcsChatEventBase",
|
6479
|
+
modelProperties: {
|
6480
|
+
recipientCommunicationIdentifier: {
|
6481
|
+
serializedName: "recipientCommunicationIdentifier",
|
6447
6482
|
type: {
|
6448
6483
|
name: "Composite",
|
6449
|
-
className: "
|
6484
|
+
className: "CommunicationIdentifierModel"
|
6450
6485
|
}
|
6451
6486
|
},
|
6452
|
-
|
6453
|
-
serializedName: "
|
6487
|
+
transactionId: {
|
6488
|
+
serializedName: "transactionId",
|
6454
6489
|
required: true,
|
6455
6490
|
type: {
|
6456
6491
|
name: "String"
|
6457
6492
|
}
|
6458
|
-
}
|
6459
|
-
|
6460
|
-
|
6461
|
-
};
|
6462
|
-
const AcsEmailDeliveryReportStatusDetails = {
|
6463
|
-
type: {
|
6464
|
-
name: "Composite",
|
6465
|
-
className: "AcsEmailDeliveryReportStatusDetails",
|
6466
|
-
modelProperties: {
|
6467
|
-
statusMessage: {
|
6468
|
-
serializedName: "statusMessage",
|
6493
|
+
},
|
6494
|
+
threadId: {
|
6495
|
+
serializedName: "threadId",
|
6469
6496
|
required: true,
|
6470
6497
|
type: {
|
6471
6498
|
name: "String"
|
@@ -6474,60 +6501,62 @@ const AcsEmailDeliveryReportStatusDetails = {
|
|
6474
6501
|
}
|
6475
6502
|
}
|
6476
6503
|
};
|
6477
|
-
const
|
6504
|
+
const AcsChatEventInThreadBase = {
|
6478
6505
|
type: {
|
6479
6506
|
name: "Composite",
|
6480
|
-
className: "
|
6507
|
+
className: "AcsChatEventInThreadBase",
|
6481
6508
|
modelProperties: {
|
6482
|
-
|
6483
|
-
serializedName: "
|
6484
|
-
required: true,
|
6485
|
-
type: {
|
6486
|
-
name: "String"
|
6487
|
-
}
|
6488
|
-
},
|
6489
|
-
messageId: {
|
6490
|
-
serializedName: "messageId",
|
6509
|
+
transactionId: {
|
6510
|
+
serializedName: "transactionId",
|
6491
6511
|
required: true,
|
6492
6512
|
type: {
|
6493
6513
|
name: "String"
|
6494
6514
|
}
|
6495
6515
|
},
|
6496
|
-
|
6497
|
-
serializedName: "
|
6516
|
+
threadId: {
|
6517
|
+
serializedName: "threadId",
|
6498
6518
|
required: true,
|
6499
6519
|
type: {
|
6500
6520
|
name: "String"
|
6501
6521
|
}
|
6502
|
-
}
|
6503
|
-
|
6504
|
-
|
6522
|
+
}
|
6523
|
+
}
|
6524
|
+
}
|
6525
|
+
};
|
6526
|
+
const AcsChatThreadParticipant = {
|
6527
|
+
type: {
|
6528
|
+
name: "Composite",
|
6529
|
+
className: "AcsChatThreadParticipant",
|
6530
|
+
modelProperties: {
|
6531
|
+
displayName: {
|
6532
|
+
serializedName: "displayName",
|
6505
6533
|
required: true,
|
6506
6534
|
type: {
|
6507
6535
|
name: "String"
|
6508
6536
|
}
|
6509
6537
|
},
|
6510
|
-
|
6511
|
-
serializedName: "
|
6512
|
-
required: true,
|
6538
|
+
participantCommunicationIdentifier: {
|
6539
|
+
serializedName: "participantCommunicationIdentifier",
|
6513
6540
|
type: {
|
6514
|
-
name: "
|
6541
|
+
name: "Composite",
|
6542
|
+
className: "CommunicationIdentifierModel"
|
6515
6543
|
}
|
6516
6544
|
},
|
6517
|
-
|
6518
|
-
serializedName: "
|
6545
|
+
metadata: {
|
6546
|
+
serializedName: "metadata",
|
6519
6547
|
required: true,
|
6520
6548
|
type: {
|
6521
|
-
name: "
|
6549
|
+
name: "Dictionary",
|
6550
|
+
value: { type: { name: "String" } }
|
6522
6551
|
}
|
6523
6552
|
}
|
6524
6553
|
}
|
6525
6554
|
}
|
6526
6555
|
};
|
6527
|
-
const
|
6556
|
+
const AcsSmsDeliveryAttempt = {
|
6528
6557
|
type: {
|
6529
6558
|
name: "Composite",
|
6530
|
-
className: "
|
6559
|
+
className: "AcsSmsDeliveryAttempt",
|
6531
6560
|
modelProperties: {
|
6532
6561
|
timestamp: {
|
6533
6562
|
serializedName: "timestamp",
|
@@ -6536,43 +6565,44 @@ const PolicyInsightsPolicyStateCreatedEventData = {
|
|
6536
6565
|
name: "String"
|
6537
6566
|
}
|
6538
6567
|
},
|
6539
|
-
|
6540
|
-
serializedName: "
|
6541
|
-
required: true,
|
6542
|
-
type: {
|
6543
|
-
name: "String"
|
6544
|
-
}
|
6545
|
-
},
|
6546
|
-
policyDefinitionId: {
|
6547
|
-
serializedName: "policyDefinitionId",
|
6568
|
+
segmentsSucceeded: {
|
6569
|
+
serializedName: "segmentsSucceeded",
|
6548
6570
|
required: true,
|
6549
6571
|
type: {
|
6550
|
-
name: "
|
6572
|
+
name: "Number"
|
6551
6573
|
}
|
6552
6574
|
},
|
6553
|
-
|
6554
|
-
serializedName: "
|
6575
|
+
segmentsFailed: {
|
6576
|
+
serializedName: "segmentsFailed",
|
6555
6577
|
required: true,
|
6556
6578
|
type: {
|
6557
|
-
name: "
|
6579
|
+
name: "Number"
|
6558
6580
|
}
|
6559
|
-
}
|
6560
|
-
|
6561
|
-
|
6581
|
+
}
|
6582
|
+
}
|
6583
|
+
}
|
6584
|
+
};
|
6585
|
+
const AcsSmsEventBase = {
|
6586
|
+
type: {
|
6587
|
+
name: "Composite",
|
6588
|
+
className: "AcsSmsEventBase",
|
6589
|
+
modelProperties: {
|
6590
|
+
messageId: {
|
6591
|
+
serializedName: "messageId",
|
6562
6592
|
required: true,
|
6563
6593
|
type: {
|
6564
6594
|
name: "String"
|
6565
6595
|
}
|
6566
6596
|
},
|
6567
|
-
|
6568
|
-
serializedName: "
|
6597
|
+
from: {
|
6598
|
+
serializedName: "from",
|
6569
6599
|
required: true,
|
6570
6600
|
type: {
|
6571
6601
|
name: "String"
|
6572
6602
|
}
|
6573
6603
|
},
|
6574
|
-
|
6575
|
-
serializedName: "
|
6604
|
+
to: {
|
6605
|
+
serializedName: "to",
|
6576
6606
|
required: true,
|
6577
6607
|
type: {
|
6578
6608
|
name: "String"
|
@@ -6581,55 +6611,55 @@ const PolicyInsightsPolicyStateCreatedEventData = {
|
|
6581
6611
|
}
|
6582
6612
|
}
|
6583
6613
|
};
|
6584
|
-
const
|
6614
|
+
const AcsRecordingFileStatusUpdatedEventData = {
|
6585
6615
|
type: {
|
6586
6616
|
name: "Composite",
|
6587
|
-
className: "
|
6617
|
+
className: "AcsRecordingFileStatusUpdatedEventData",
|
6588
6618
|
modelProperties: {
|
6589
|
-
|
6590
|
-
serializedName: "
|
6591
|
-
required: true,
|
6619
|
+
recordingStorageInfo: {
|
6620
|
+
serializedName: "recordingStorageInfo",
|
6592
6621
|
type: {
|
6593
|
-
name: "
|
6622
|
+
name: "Composite",
|
6623
|
+
className: "AcsRecordingStorageInfo"
|
6594
6624
|
}
|
6595
6625
|
},
|
6596
|
-
|
6597
|
-
serializedName: "
|
6626
|
+
recordingStartTime: {
|
6627
|
+
serializedName: "recordingStartTime",
|
6598
6628
|
required: true,
|
6599
6629
|
type: {
|
6600
6630
|
name: "String"
|
6601
6631
|
}
|
6602
6632
|
},
|
6603
|
-
|
6604
|
-
serializedName: "
|
6633
|
+
recordingDurationMs: {
|
6634
|
+
serializedName: "recordingDurationMs",
|
6605
6635
|
required: true,
|
6606
6636
|
type: {
|
6607
|
-
name: "
|
6637
|
+
name: "Number"
|
6608
6638
|
}
|
6609
6639
|
},
|
6610
|
-
|
6611
|
-
serializedName: "
|
6640
|
+
recordingContentType: {
|
6641
|
+
serializedName: "recordingContentType",
|
6612
6642
|
required: true,
|
6613
6643
|
type: {
|
6614
6644
|
name: "String"
|
6615
6645
|
}
|
6616
6646
|
},
|
6617
|
-
|
6618
|
-
serializedName: "
|
6647
|
+
recordingChannelType: {
|
6648
|
+
serializedName: "recordingChannelType",
|
6619
6649
|
required: true,
|
6620
6650
|
type: {
|
6621
6651
|
name: "String"
|
6622
6652
|
}
|
6623
6653
|
},
|
6624
|
-
|
6625
|
-
serializedName: "
|
6654
|
+
recordingFormatType: {
|
6655
|
+
serializedName: "recordingFormatType",
|
6626
6656
|
required: true,
|
6627
6657
|
type: {
|
6628
6658
|
name: "String"
|
6629
6659
|
}
|
6630
6660
|
},
|
6631
|
-
|
6632
|
-
serializedName: "
|
6661
|
+
sessionEndReason: {
|
6662
|
+
serializedName: "sessionEndReason",
|
6633
6663
|
required: true,
|
6634
6664
|
type: {
|
6635
6665
|
name: "String"
|
@@ -6638,55 +6668,69 @@ const PolicyInsightsPolicyStateChangedEventData = {
|
|
6638
6668
|
}
|
6639
6669
|
}
|
6640
6670
|
};
|
6641
|
-
const
|
6671
|
+
const AcsRecordingStorageInfo = {
|
6642
6672
|
type: {
|
6643
6673
|
name: "Composite",
|
6644
|
-
className: "
|
6674
|
+
className: "AcsRecordingStorageInfo",
|
6645
6675
|
modelProperties: {
|
6646
|
-
|
6647
|
-
serializedName: "
|
6676
|
+
recordingChunks: {
|
6677
|
+
serializedName: "recordingChunks",
|
6648
6678
|
required: true,
|
6649
6679
|
type: {
|
6650
|
-
name: "
|
6680
|
+
name: "Sequence",
|
6681
|
+
element: {
|
6682
|
+
type: {
|
6683
|
+
name: "Composite",
|
6684
|
+
className: "AcsRecordingChunkInfo"
|
6685
|
+
}
|
6686
|
+
}
|
6651
6687
|
}
|
6652
|
-
}
|
6653
|
-
|
6654
|
-
|
6688
|
+
}
|
6689
|
+
}
|
6690
|
+
}
|
6691
|
+
};
|
6692
|
+
const AcsRecordingChunkInfo = {
|
6693
|
+
type: {
|
6694
|
+
name: "Composite",
|
6695
|
+
className: "AcsRecordingChunkInfo",
|
6696
|
+
modelProperties: {
|
6697
|
+
documentId: {
|
6698
|
+
serializedName: "documentId",
|
6655
6699
|
required: true,
|
6656
6700
|
type: {
|
6657
6701
|
name: "String"
|
6658
6702
|
}
|
6659
6703
|
},
|
6660
|
-
|
6661
|
-
serializedName: "
|
6704
|
+
index: {
|
6705
|
+
serializedName: "index",
|
6662
6706
|
required: true,
|
6663
6707
|
type: {
|
6664
|
-
name: "
|
6708
|
+
name: "Number"
|
6665
6709
|
}
|
6666
6710
|
},
|
6667
|
-
|
6668
|
-
serializedName: "
|
6711
|
+
endReason: {
|
6712
|
+
serializedName: "endReason",
|
6669
6713
|
required: true,
|
6670
6714
|
type: {
|
6671
6715
|
name: "String"
|
6672
6716
|
}
|
6673
6717
|
},
|
6674
|
-
|
6675
|
-
serializedName: "
|
6718
|
+
metadataLocation: {
|
6719
|
+
serializedName: "metadataLocation",
|
6676
6720
|
required: true,
|
6677
6721
|
type: {
|
6678
6722
|
name: "String"
|
6679
6723
|
}
|
6680
6724
|
},
|
6681
|
-
|
6682
|
-
serializedName: "
|
6725
|
+
contentLocation: {
|
6726
|
+
serializedName: "contentLocation",
|
6683
6727
|
required: true,
|
6684
6728
|
type: {
|
6685
6729
|
name: "String"
|
6686
6730
|
}
|
6687
6731
|
},
|
6688
|
-
|
6689
|
-
serializedName: "
|
6732
|
+
deleteLocation: {
|
6733
|
+
serializedName: "deleteLocation",
|
6690
6734
|
required: true,
|
6691
6735
|
type: {
|
6692
6736
|
name: "String"
|
@@ -6695,49 +6739,48 @@ const PolicyInsightsPolicyStateDeletedEventData = {
|
|
6695
6739
|
}
|
6696
6740
|
}
|
6697
6741
|
};
|
6698
|
-
const
|
6742
|
+
const AcsEmailDeliveryReportReceivedEventData = {
|
6699
6743
|
type: {
|
6700
6744
|
name: "Composite",
|
6701
|
-
className: "
|
6745
|
+
className: "AcsEmailDeliveryReportReceivedEventData",
|
6702
6746
|
modelProperties: {
|
6703
|
-
|
6704
|
-
serializedName: "
|
6747
|
+
sender: {
|
6748
|
+
serializedName: "sender",
|
6705
6749
|
required: true,
|
6706
6750
|
type: {
|
6707
6751
|
name: "String"
|
6708
6752
|
}
|
6709
6753
|
},
|
6710
|
-
|
6711
|
-
serializedName: "
|
6754
|
+
recipient: {
|
6755
|
+
serializedName: "recipient",
|
6712
6756
|
required: true,
|
6713
6757
|
type: {
|
6714
6758
|
name: "String"
|
6715
6759
|
}
|
6716
6760
|
},
|
6717
|
-
|
6718
|
-
serializedName: "
|
6761
|
+
messageId: {
|
6762
|
+
serializedName: "messageId",
|
6719
6763
|
required: true,
|
6720
6764
|
type: {
|
6721
6765
|
name: "String"
|
6722
6766
|
}
|
6723
6767
|
},
|
6724
|
-
|
6725
|
-
serializedName: "
|
6768
|
+
status: {
|
6769
|
+
serializedName: "status",
|
6726
6770
|
required: true,
|
6727
6771
|
type: {
|
6728
6772
|
name: "String"
|
6729
6773
|
}
|
6730
|
-
}
|
6731
|
-
|
6732
|
-
|
6733
|
-
|
6734
|
-
|
6735
|
-
|
6736
|
-
|
6737
|
-
|
6738
|
-
|
6739
|
-
|
6740
|
-
serializedName: "resourceUri",
|
6774
|
+
},
|
6775
|
+
deliveryStatusDetails: {
|
6776
|
+
serializedName: "deliveryStatusDetails",
|
6777
|
+
type: {
|
6778
|
+
name: "Composite",
|
6779
|
+
className: "AcsEmailDeliveryReportStatusDetails"
|
6780
|
+
}
|
6781
|
+
},
|
6782
|
+
deliveryAttemptTimestamp: {
|
6783
|
+
serializedName: "deliveryAttemptTimeStamp",
|
6741
6784
|
required: true,
|
6742
6785
|
type: {
|
6743
6786
|
name: "String"
|
@@ -6746,13 +6789,13 @@ const ApiManagementUserCreatedEventData = {
|
|
6746
6789
|
}
|
6747
6790
|
}
|
6748
6791
|
};
|
6749
|
-
const
|
6792
|
+
const AcsEmailDeliveryReportStatusDetails = {
|
6750
6793
|
type: {
|
6751
6794
|
name: "Composite",
|
6752
|
-
className: "
|
6795
|
+
className: "AcsEmailDeliveryReportStatusDetails",
|
6753
6796
|
modelProperties: {
|
6754
|
-
|
6755
|
-
serializedName: "
|
6797
|
+
statusMessage: {
|
6798
|
+
serializedName: "statusMessage",
|
6756
6799
|
required: true,
|
6757
6800
|
type: {
|
6758
6801
|
name: "String"
|
@@ -6761,28 +6804,112 @@ const ApiManagementUserUpdatedEventData = {
|
|
6761
6804
|
}
|
6762
6805
|
}
|
6763
6806
|
};
|
6764
|
-
const
|
6807
|
+
const AcsEmailEngagementTrackingReportReceivedEventData = {
|
6765
6808
|
type: {
|
6766
6809
|
name: "Composite",
|
6767
|
-
className: "
|
6810
|
+
className: "AcsEmailEngagementTrackingReportReceivedEventData",
|
6768
6811
|
modelProperties: {
|
6769
|
-
|
6770
|
-
serializedName: "
|
6812
|
+
sender: {
|
6813
|
+
serializedName: "sender",
|
6771
6814
|
required: true,
|
6772
6815
|
type: {
|
6773
6816
|
name: "String"
|
6774
6817
|
}
|
6775
|
-
}
|
6776
|
-
|
6818
|
+
},
|
6819
|
+
recipient: {
|
6820
|
+
serializedName: "recipient",
|
6821
|
+
required: true,
|
6822
|
+
type: {
|
6823
|
+
name: "String"
|
6824
|
+
}
|
6825
|
+
},
|
6826
|
+
messageId: {
|
6827
|
+
serializedName: "messageId",
|
6828
|
+
required: true,
|
6829
|
+
type: {
|
6830
|
+
name: "String"
|
6831
|
+
}
|
6832
|
+
},
|
6833
|
+
userActionTimestamp: {
|
6834
|
+
serializedName: "userActionTimeStamp",
|
6835
|
+
required: true,
|
6836
|
+
type: {
|
6837
|
+
name: "String"
|
6838
|
+
}
|
6839
|
+
},
|
6840
|
+
engagementContext: {
|
6841
|
+
serializedName: "engagementContext",
|
6842
|
+
required: true,
|
6843
|
+
type: {
|
6844
|
+
name: "String"
|
6845
|
+
}
|
6846
|
+
},
|
6847
|
+
userAgent: {
|
6848
|
+
serializedName: "userAgent",
|
6849
|
+
required: true,
|
6850
|
+
type: {
|
6851
|
+
name: "String"
|
6852
|
+
}
|
6853
|
+
},
|
6854
|
+
engagement: {
|
6855
|
+
serializedName: "engagementType",
|
6856
|
+
required: true,
|
6857
|
+
type: {
|
6858
|
+
name: "String"
|
6859
|
+
}
|
6860
|
+
}
|
6861
|
+
}
|
6777
6862
|
}
|
6778
6863
|
};
|
6779
|
-
const
|
6864
|
+
const PolicyInsightsPolicyStateCreatedEventData = {
|
6780
6865
|
type: {
|
6781
6866
|
name: "Composite",
|
6782
|
-
className: "
|
6867
|
+
className: "PolicyInsightsPolicyStateCreatedEventData",
|
6783
6868
|
modelProperties: {
|
6784
|
-
|
6785
|
-
serializedName: "
|
6869
|
+
timestamp: {
|
6870
|
+
serializedName: "timestamp",
|
6871
|
+
required: true,
|
6872
|
+
type: {
|
6873
|
+
name: "String"
|
6874
|
+
}
|
6875
|
+
},
|
6876
|
+
policyAssignmentId: {
|
6877
|
+
serializedName: "policyAssignmentId",
|
6878
|
+
required: true,
|
6879
|
+
type: {
|
6880
|
+
name: "String"
|
6881
|
+
}
|
6882
|
+
},
|
6883
|
+
policyDefinitionId: {
|
6884
|
+
serializedName: "policyDefinitionId",
|
6885
|
+
required: true,
|
6886
|
+
type: {
|
6887
|
+
name: "String"
|
6888
|
+
}
|
6889
|
+
},
|
6890
|
+
policyDefinitionReferenceId: {
|
6891
|
+
serializedName: "policyDefinitionReferenceId",
|
6892
|
+
required: true,
|
6893
|
+
type: {
|
6894
|
+
name: "String"
|
6895
|
+
}
|
6896
|
+
},
|
6897
|
+
complianceState: {
|
6898
|
+
serializedName: "complianceState",
|
6899
|
+
required: true,
|
6900
|
+
type: {
|
6901
|
+
name: "String"
|
6902
|
+
}
|
6903
|
+
},
|
6904
|
+
subscriptionId: {
|
6905
|
+
serializedName: "subscriptionId",
|
6906
|
+
required: true,
|
6907
|
+
type: {
|
6908
|
+
name: "String"
|
6909
|
+
}
|
6910
|
+
},
|
6911
|
+
complianceReasonCode: {
|
6912
|
+
serializedName: "complianceReasonCode",
|
6786
6913
|
required: true,
|
6787
6914
|
type: {
|
6788
6915
|
name: "String"
|
@@ -6791,13 +6918,55 @@ const ApiManagementSubscriptionCreatedEventData = {
|
|
6791
6918
|
}
|
6792
6919
|
}
|
6793
6920
|
};
|
6794
|
-
const
|
6921
|
+
const PolicyInsightsPolicyStateChangedEventData = {
|
6795
6922
|
type: {
|
6796
6923
|
name: "Composite",
|
6797
|
-
className: "
|
6924
|
+
className: "PolicyInsightsPolicyStateChangedEventData",
|
6798
6925
|
modelProperties: {
|
6799
|
-
|
6800
|
-
serializedName: "
|
6926
|
+
timestamp: {
|
6927
|
+
serializedName: "timestamp",
|
6928
|
+
required: true,
|
6929
|
+
type: {
|
6930
|
+
name: "String"
|
6931
|
+
}
|
6932
|
+
},
|
6933
|
+
policyAssignmentId: {
|
6934
|
+
serializedName: "policyAssignmentId",
|
6935
|
+
required: true,
|
6936
|
+
type: {
|
6937
|
+
name: "String"
|
6938
|
+
}
|
6939
|
+
},
|
6940
|
+
policyDefinitionId: {
|
6941
|
+
serializedName: "policyDefinitionId",
|
6942
|
+
required: true,
|
6943
|
+
type: {
|
6944
|
+
name: "String"
|
6945
|
+
}
|
6946
|
+
},
|
6947
|
+
policyDefinitionReferenceId: {
|
6948
|
+
serializedName: "policyDefinitionReferenceId",
|
6949
|
+
required: true,
|
6950
|
+
type: {
|
6951
|
+
name: "String"
|
6952
|
+
}
|
6953
|
+
},
|
6954
|
+
complianceState: {
|
6955
|
+
serializedName: "complianceState",
|
6956
|
+
required: true,
|
6957
|
+
type: {
|
6958
|
+
name: "String"
|
6959
|
+
}
|
6960
|
+
},
|
6961
|
+
subscriptionId: {
|
6962
|
+
serializedName: "subscriptionId",
|
6963
|
+
required: true,
|
6964
|
+
type: {
|
6965
|
+
name: "String"
|
6966
|
+
}
|
6967
|
+
},
|
6968
|
+
complianceReasonCode: {
|
6969
|
+
serializedName: "complianceReasonCode",
|
6801
6970
|
required: true,
|
6802
6971
|
type: {
|
6803
6972
|
name: "String"
|
@@ -6806,13 +6975,55 @@ const ApiManagementSubscriptionUpdatedEventData = {
|
|
6806
6975
|
}
|
6807
6976
|
}
|
6808
6977
|
};
|
6809
|
-
const
|
6978
|
+
const PolicyInsightsPolicyStateDeletedEventData = {
|
6810
6979
|
type: {
|
6811
6980
|
name: "Composite",
|
6812
|
-
className: "
|
6981
|
+
className: "PolicyInsightsPolicyStateDeletedEventData",
|
6813
6982
|
modelProperties: {
|
6814
|
-
|
6815
|
-
serializedName: "
|
6983
|
+
timestamp: {
|
6984
|
+
serializedName: "timestamp",
|
6985
|
+
required: true,
|
6986
|
+
type: {
|
6987
|
+
name: "String"
|
6988
|
+
}
|
6989
|
+
},
|
6990
|
+
policyAssignmentId: {
|
6991
|
+
serializedName: "policyAssignmentId",
|
6992
|
+
required: true,
|
6993
|
+
type: {
|
6994
|
+
name: "String"
|
6995
|
+
}
|
6996
|
+
},
|
6997
|
+
policyDefinitionId: {
|
6998
|
+
serializedName: "policyDefinitionId",
|
6999
|
+
required: true,
|
7000
|
+
type: {
|
7001
|
+
name: "String"
|
7002
|
+
}
|
7003
|
+
},
|
7004
|
+
policyDefinitionReferenceId: {
|
7005
|
+
serializedName: "policyDefinitionReferenceId",
|
7006
|
+
required: true,
|
7007
|
+
type: {
|
7008
|
+
name: "String"
|
7009
|
+
}
|
7010
|
+
},
|
7011
|
+
complianceState: {
|
7012
|
+
serializedName: "complianceState",
|
7013
|
+
required: true,
|
7014
|
+
type: {
|
7015
|
+
name: "String"
|
7016
|
+
}
|
7017
|
+
},
|
7018
|
+
subscriptionId: {
|
7019
|
+
serializedName: "subscriptionId",
|
7020
|
+
required: true,
|
7021
|
+
type: {
|
7022
|
+
name: "String"
|
7023
|
+
}
|
7024
|
+
},
|
7025
|
+
complianceReasonCode: {
|
7026
|
+
serializedName: "complianceReasonCode",
|
6816
7027
|
required: true,
|
6817
7028
|
type: {
|
6818
7029
|
name: "String"
|
@@ -6821,13 +7032,34 @@ const ApiManagementSubscriptionDeletedEventData = {
|
|
6821
7032
|
}
|
6822
7033
|
}
|
6823
7034
|
};
|
6824
|
-
const
|
7035
|
+
const ContainerServiceNewKubernetesVersionAvailableEventData = {
|
6825
7036
|
type: {
|
6826
7037
|
name: "Composite",
|
6827
|
-
className: "
|
7038
|
+
className: "ContainerServiceNewKubernetesVersionAvailableEventData",
|
6828
7039
|
modelProperties: {
|
6829
|
-
|
6830
|
-
serializedName: "
|
7040
|
+
latestSupportedKubernetesVersion: {
|
7041
|
+
serializedName: "latestSupportedKubernetesVersion",
|
7042
|
+
required: true,
|
7043
|
+
type: {
|
7044
|
+
name: "String"
|
7045
|
+
}
|
7046
|
+
},
|
7047
|
+
latestStableKubernetesVersion: {
|
7048
|
+
serializedName: "latestStableKubernetesVersion",
|
7049
|
+
required: true,
|
7050
|
+
type: {
|
7051
|
+
name: "String"
|
7052
|
+
}
|
7053
|
+
},
|
7054
|
+
lowestMinorKubernetesVersion: {
|
7055
|
+
serializedName: "lowestMinorKubernetesVersion",
|
7056
|
+
required: true,
|
7057
|
+
type: {
|
7058
|
+
name: "String"
|
7059
|
+
}
|
7060
|
+
},
|
7061
|
+
latestPreviewKubernetesVersion: {
|
7062
|
+
serializedName: "latestPreviewKubernetesVersion",
|
6831
7063
|
required: true,
|
6832
7064
|
type: {
|
6833
7065
|
name: "String"
|
@@ -6836,13 +7068,13 @@ const ApiManagementProductCreatedEventData = {
|
|
6836
7068
|
}
|
6837
7069
|
}
|
6838
7070
|
};
|
6839
|
-
const
|
7071
|
+
const ContainerServiceClusterSupportEventData = {
|
6840
7072
|
type: {
|
6841
7073
|
name: "Composite",
|
6842
|
-
className: "
|
7074
|
+
className: "ContainerServiceClusterSupportEventData",
|
6843
7075
|
modelProperties: {
|
6844
|
-
|
6845
|
-
serializedName: "
|
7076
|
+
kubernetesVersion: {
|
7077
|
+
serializedName: "kubernetesVersion",
|
6846
7078
|
required: true,
|
6847
7079
|
type: {
|
6848
7080
|
name: "String"
|
@@ -6851,13 +7083,13 @@ const ApiManagementProductUpdatedEventData = {
|
|
6851
7083
|
}
|
6852
7084
|
}
|
6853
7085
|
};
|
6854
|
-
const
|
7086
|
+
const ContainerServiceNodePoolRollingEventData = {
|
6855
7087
|
type: {
|
6856
7088
|
name: "Composite",
|
6857
|
-
className: "
|
7089
|
+
className: "ContainerServiceNodePoolRollingEventData",
|
6858
7090
|
modelProperties: {
|
6859
|
-
|
6860
|
-
serializedName: "
|
7091
|
+
nodePoolName: {
|
7092
|
+
serializedName: "nodePoolName",
|
6861
7093
|
required: true,
|
6862
7094
|
type: {
|
6863
7095
|
name: "String"
|
@@ -6866,10 +7098,10 @@ const ApiManagementProductDeletedEventData = {
|
|
6866
7098
|
}
|
6867
7099
|
}
|
6868
7100
|
};
|
6869
|
-
const
|
7101
|
+
const ApiManagementUserCreatedEventData = {
|
6870
7102
|
type: {
|
6871
7103
|
name: "Composite",
|
6872
|
-
className: "
|
7104
|
+
className: "ApiManagementUserCreatedEventData",
|
6873
7105
|
modelProperties: {
|
6874
7106
|
resourceUri: {
|
6875
7107
|
serializedName: "resourceUri",
|
@@ -6881,10 +7113,10 @@ const ApiManagementApiCreatedEventData = {
|
|
6881
7113
|
}
|
6882
7114
|
}
|
6883
7115
|
};
|
6884
|
-
const
|
7116
|
+
const ApiManagementUserUpdatedEventData = {
|
6885
7117
|
type: {
|
6886
7118
|
name: "Composite",
|
6887
|
-
className: "
|
7119
|
+
className: "ApiManagementUserUpdatedEventData",
|
6888
7120
|
modelProperties: {
|
6889
7121
|
resourceUri: {
|
6890
7122
|
serializedName: "resourceUri",
|
@@ -6896,10 +7128,10 @@ const ApiManagementApiUpdatedEventData = {
|
|
6896
7128
|
}
|
6897
7129
|
}
|
6898
7130
|
};
|
6899
|
-
const
|
7131
|
+
const ApiManagementUserDeletedEventData = {
|
6900
7132
|
type: {
|
6901
7133
|
name: "Composite",
|
6902
|
-
className: "
|
7134
|
+
className: "ApiManagementUserDeletedEventData",
|
6903
7135
|
modelProperties: {
|
6904
7136
|
resourceUri: {
|
6905
7137
|
serializedName: "resourceUri",
|
@@ -6911,10 +7143,10 @@ const ApiManagementApiDeletedEventData = {
|
|
6911
7143
|
}
|
6912
7144
|
}
|
6913
7145
|
};
|
6914
|
-
const
|
7146
|
+
const ApiManagementSubscriptionCreatedEventData = {
|
6915
7147
|
type: {
|
6916
7148
|
name: "Composite",
|
6917
|
-
className: "
|
7149
|
+
className: "ApiManagementSubscriptionCreatedEventData",
|
6918
7150
|
modelProperties: {
|
6919
7151
|
resourceUri: {
|
6920
7152
|
serializedName: "resourceUri",
|
@@ -6926,10 +7158,10 @@ const ApiManagementApiReleaseCreatedEventData = {
|
|
6926
7158
|
}
|
6927
7159
|
}
|
6928
7160
|
};
|
6929
|
-
const
|
7161
|
+
const ApiManagementSubscriptionUpdatedEventData = {
|
6930
7162
|
type: {
|
6931
7163
|
name: "Composite",
|
6932
|
-
className: "
|
7164
|
+
className: "ApiManagementSubscriptionUpdatedEventData",
|
6933
7165
|
modelProperties: {
|
6934
7166
|
resourceUri: {
|
6935
7167
|
serializedName: "resourceUri",
|
@@ -6941,10 +7173,10 @@ const ApiManagementApiReleaseUpdatedEventData = {
|
|
6941
7173
|
}
|
6942
7174
|
}
|
6943
7175
|
};
|
6944
|
-
const
|
7176
|
+
const ApiManagementSubscriptionDeletedEventData = {
|
6945
7177
|
type: {
|
6946
7178
|
name: "Composite",
|
6947
|
-
className: "
|
7179
|
+
className: "ApiManagementSubscriptionDeletedEventData",
|
6948
7180
|
modelProperties: {
|
6949
7181
|
resourceUri: {
|
6950
7182
|
serializedName: "resourceUri",
|
@@ -6956,7 +7188,142 @@ const ApiManagementApiReleaseDeletedEventData = {
|
|
6956
7188
|
}
|
6957
7189
|
}
|
6958
7190
|
};
|
6959
|
-
const
|
7191
|
+
const ApiManagementProductCreatedEventData = {
|
7192
|
+
type: {
|
7193
|
+
name: "Composite",
|
7194
|
+
className: "ApiManagementProductCreatedEventData",
|
7195
|
+
modelProperties: {
|
7196
|
+
resourceUri: {
|
7197
|
+
serializedName: "resourceUri",
|
7198
|
+
required: true,
|
7199
|
+
type: {
|
7200
|
+
name: "String"
|
7201
|
+
}
|
7202
|
+
}
|
7203
|
+
}
|
7204
|
+
}
|
7205
|
+
};
|
7206
|
+
const ApiManagementProductUpdatedEventData = {
|
7207
|
+
type: {
|
7208
|
+
name: "Composite",
|
7209
|
+
className: "ApiManagementProductUpdatedEventData",
|
7210
|
+
modelProperties: {
|
7211
|
+
resourceUri: {
|
7212
|
+
serializedName: "resourceUri",
|
7213
|
+
required: true,
|
7214
|
+
type: {
|
7215
|
+
name: "String"
|
7216
|
+
}
|
7217
|
+
}
|
7218
|
+
}
|
7219
|
+
}
|
7220
|
+
};
|
7221
|
+
const ApiManagementProductDeletedEventData = {
|
7222
|
+
type: {
|
7223
|
+
name: "Composite",
|
7224
|
+
className: "ApiManagementProductDeletedEventData",
|
7225
|
+
modelProperties: {
|
7226
|
+
resourceUri: {
|
7227
|
+
serializedName: "resourceUri",
|
7228
|
+
required: true,
|
7229
|
+
type: {
|
7230
|
+
name: "String"
|
7231
|
+
}
|
7232
|
+
}
|
7233
|
+
}
|
7234
|
+
}
|
7235
|
+
};
|
7236
|
+
const ApiManagementApiCreatedEventData = {
|
7237
|
+
type: {
|
7238
|
+
name: "Composite",
|
7239
|
+
className: "ApiManagementApiCreatedEventData",
|
7240
|
+
modelProperties: {
|
7241
|
+
resourceUri: {
|
7242
|
+
serializedName: "resourceUri",
|
7243
|
+
required: true,
|
7244
|
+
type: {
|
7245
|
+
name: "String"
|
7246
|
+
}
|
7247
|
+
}
|
7248
|
+
}
|
7249
|
+
}
|
7250
|
+
};
|
7251
|
+
const ApiManagementApiUpdatedEventData = {
|
7252
|
+
type: {
|
7253
|
+
name: "Composite",
|
7254
|
+
className: "ApiManagementApiUpdatedEventData",
|
7255
|
+
modelProperties: {
|
7256
|
+
resourceUri: {
|
7257
|
+
serializedName: "resourceUri",
|
7258
|
+
required: true,
|
7259
|
+
type: {
|
7260
|
+
name: "String"
|
7261
|
+
}
|
7262
|
+
}
|
7263
|
+
}
|
7264
|
+
}
|
7265
|
+
};
|
7266
|
+
const ApiManagementApiDeletedEventData = {
|
7267
|
+
type: {
|
7268
|
+
name: "Composite",
|
7269
|
+
className: "ApiManagementApiDeletedEventData",
|
7270
|
+
modelProperties: {
|
7271
|
+
resourceUri: {
|
7272
|
+
serializedName: "resourceUri",
|
7273
|
+
required: true,
|
7274
|
+
type: {
|
7275
|
+
name: "String"
|
7276
|
+
}
|
7277
|
+
}
|
7278
|
+
}
|
7279
|
+
}
|
7280
|
+
};
|
7281
|
+
const ApiManagementApiReleaseCreatedEventData = {
|
7282
|
+
type: {
|
7283
|
+
name: "Composite",
|
7284
|
+
className: "ApiManagementApiReleaseCreatedEventData",
|
7285
|
+
modelProperties: {
|
7286
|
+
resourceUri: {
|
7287
|
+
serializedName: "resourceUri",
|
7288
|
+
required: true,
|
7289
|
+
type: {
|
7290
|
+
name: "String"
|
7291
|
+
}
|
7292
|
+
}
|
7293
|
+
}
|
7294
|
+
}
|
7295
|
+
};
|
7296
|
+
const ApiManagementApiReleaseUpdatedEventData = {
|
7297
|
+
type: {
|
7298
|
+
name: "Composite",
|
7299
|
+
className: "ApiManagementApiReleaseUpdatedEventData",
|
7300
|
+
modelProperties: {
|
7301
|
+
resourceUri: {
|
7302
|
+
serializedName: "resourceUri",
|
7303
|
+
required: true,
|
7304
|
+
type: {
|
7305
|
+
name: "String"
|
7306
|
+
}
|
7307
|
+
}
|
7308
|
+
}
|
7309
|
+
}
|
7310
|
+
};
|
7311
|
+
const ApiManagementApiReleaseDeletedEventData = {
|
7312
|
+
type: {
|
7313
|
+
name: "Composite",
|
7314
|
+
className: "ApiManagementApiReleaseDeletedEventData",
|
7315
|
+
modelProperties: {
|
7316
|
+
resourceUri: {
|
7317
|
+
serializedName: "resourceUri",
|
7318
|
+
required: true,
|
7319
|
+
type: {
|
7320
|
+
name: "String"
|
7321
|
+
}
|
7322
|
+
}
|
7323
|
+
}
|
7324
|
+
}
|
7325
|
+
};
|
7326
|
+
const ApiManagementGatewayCreatedEventData = {
|
6960
7327
|
type: {
|
6961
7328
|
name: "Composite",
|
6962
7329
|
className: "ApiManagementGatewayCreatedEventData",
|
@@ -7379,49 +7746,279 @@ const HealthcareDicomImageDeletedEventData = {
|
|
7379
7746
|
}
|
7380
7747
|
}
|
7381
7748
|
};
|
7382
|
-
const
|
7749
|
+
const ResourceNotificationsResourceUpdatedDetails = {
|
7383
7750
|
type: {
|
7384
7751
|
name: "Composite",
|
7385
|
-
className: "
|
7386
|
-
modelProperties:
|
7752
|
+
className: "ResourceNotificationsResourceUpdatedDetails",
|
7753
|
+
modelProperties: {
|
7754
|
+
id: {
|
7755
|
+
serializedName: "id",
|
7756
|
+
required: true,
|
7757
|
+
type: {
|
7758
|
+
name: "String"
|
7759
|
+
}
|
7760
|
+
},
|
7761
|
+
name: {
|
7762
|
+
serializedName: "name",
|
7763
|
+
required: true,
|
7764
|
+
type: {
|
7765
|
+
name: "String"
|
7766
|
+
}
|
7767
|
+
},
|
7768
|
+
type: {
|
7769
|
+
serializedName: "type",
|
7770
|
+
required: true,
|
7771
|
+
type: {
|
7772
|
+
name: "String"
|
7773
|
+
}
|
7774
|
+
},
|
7775
|
+
location: {
|
7776
|
+
serializedName: "location",
|
7777
|
+
required: true,
|
7778
|
+
type: {
|
7779
|
+
name: "String"
|
7780
|
+
}
|
7781
|
+
},
|
7782
|
+
tags: {
|
7783
|
+
serializedName: "tags",
|
7784
|
+
required: true,
|
7785
|
+
type: {
|
7786
|
+
name: "Dictionary",
|
7787
|
+
value: { type: { name: "String" } }
|
7788
|
+
}
|
7789
|
+
},
|
7790
|
+
properties: {
|
7791
|
+
serializedName: "properties",
|
7792
|
+
required: true,
|
7793
|
+
type: {
|
7794
|
+
name: "Dictionary",
|
7795
|
+
value: { type: { name: "any" } }
|
7796
|
+
}
|
7797
|
+
}
|
7798
|
+
}
|
7387
7799
|
}
|
7388
7800
|
};
|
7389
|
-
const
|
7801
|
+
const ResourceNotificationsOperationalDetails = {
|
7390
7802
|
type: {
|
7391
7803
|
name: "Composite",
|
7392
|
-
className: "
|
7393
|
-
modelProperties:
|
7804
|
+
className: "ResourceNotificationsOperationalDetails",
|
7805
|
+
modelProperties: {
|
7806
|
+
resourceEventTime: {
|
7807
|
+
serializedName: "resourceEventTime",
|
7808
|
+
required: true,
|
7809
|
+
type: {
|
7810
|
+
name: "String"
|
7811
|
+
}
|
7812
|
+
}
|
7813
|
+
}
|
7394
7814
|
}
|
7395
7815
|
};
|
7396
|
-
const
|
7816
|
+
const ResourceNotificationsResourceUpdatedEventData = {
|
7397
7817
|
type: {
|
7398
7818
|
name: "Composite",
|
7399
|
-
className: "
|
7400
|
-
modelProperties:
|
7819
|
+
className: "ResourceNotificationsResourceUpdatedEventData",
|
7820
|
+
modelProperties: {
|
7821
|
+
resourceDetails: {
|
7822
|
+
serializedName: "resourceInfo",
|
7823
|
+
type: {
|
7824
|
+
name: "Composite",
|
7825
|
+
className: "ResourceNotificationsResourceUpdatedDetails"
|
7826
|
+
}
|
7827
|
+
},
|
7828
|
+
operationalDetails: {
|
7829
|
+
serializedName: "operationalInfo",
|
7830
|
+
type: {
|
7831
|
+
name: "Composite",
|
7832
|
+
className: "ResourceNotificationsOperationalDetails"
|
7833
|
+
}
|
7834
|
+
},
|
7835
|
+
apiVersion: {
|
7836
|
+
serializedName: "apiVersion",
|
7837
|
+
required: true,
|
7838
|
+
type: {
|
7839
|
+
name: "String"
|
7840
|
+
}
|
7841
|
+
}
|
7842
|
+
}
|
7401
7843
|
}
|
7402
7844
|
};
|
7403
|
-
const
|
7845
|
+
const ResourceNotificationsResourceDeletedDetails = {
|
7404
7846
|
type: {
|
7405
7847
|
name: "Composite",
|
7406
|
-
className: "
|
7407
|
-
modelProperties:
|
7848
|
+
className: "ResourceNotificationsResourceDeletedDetails",
|
7849
|
+
modelProperties: {
|
7850
|
+
id: {
|
7851
|
+
serializedName: "id",
|
7852
|
+
required: true,
|
7853
|
+
type: {
|
7854
|
+
name: "String"
|
7855
|
+
}
|
7856
|
+
},
|
7857
|
+
name: {
|
7858
|
+
serializedName: "name",
|
7859
|
+
required: true,
|
7860
|
+
type: {
|
7861
|
+
name: "String"
|
7862
|
+
}
|
7863
|
+
},
|
7864
|
+
type: {
|
7865
|
+
serializedName: "type",
|
7866
|
+
required: true,
|
7867
|
+
type: {
|
7868
|
+
name: "String"
|
7869
|
+
}
|
7870
|
+
}
|
7871
|
+
}
|
7408
7872
|
}
|
7409
7873
|
};
|
7410
|
-
const
|
7874
|
+
const ResourceNotificationsResourceDeletedEventData = {
|
7411
7875
|
type: {
|
7412
7876
|
name: "Composite",
|
7413
|
-
className: "
|
7414
|
-
modelProperties:
|
7877
|
+
className: "ResourceNotificationsResourceDeletedEventData",
|
7878
|
+
modelProperties: {
|
7879
|
+
resourceDetails: {
|
7880
|
+
serializedName: "resourceInfo",
|
7881
|
+
type: {
|
7882
|
+
name: "Composite",
|
7883
|
+
className: "ResourceNotificationsResourceDeletedDetails"
|
7884
|
+
}
|
7885
|
+
},
|
7886
|
+
operationalDetails: {
|
7887
|
+
serializedName: "operationalInfo",
|
7888
|
+
type: {
|
7889
|
+
name: "Composite",
|
7890
|
+
className: "ResourceNotificationsOperationalDetails"
|
7891
|
+
}
|
7892
|
+
}
|
7893
|
+
}
|
7415
7894
|
}
|
7416
7895
|
};
|
7417
|
-
const
|
7896
|
+
const EventGridMqttClientCreatedOrUpdatedEventData = {
|
7418
7897
|
type: {
|
7419
7898
|
name: "Composite",
|
7420
|
-
className: "
|
7421
|
-
modelProperties: Object.assign({},
|
7422
|
-
|
7423
|
-
|
7424
|
-
|
7899
|
+
className: "EventGridMqttClientCreatedOrUpdatedEventData",
|
7900
|
+
modelProperties: Object.assign(Object.assign({}, EventGridMqttClientEventData.type.modelProperties), { state: {
|
7901
|
+
serializedName: "state",
|
7902
|
+
required: true,
|
7903
|
+
type: {
|
7904
|
+
name: "String"
|
7905
|
+
}
|
7906
|
+
}, createdOn: {
|
7907
|
+
serializedName: "createdOn",
|
7908
|
+
required: true,
|
7909
|
+
type: {
|
7910
|
+
name: "String"
|
7911
|
+
}
|
7912
|
+
}, updatedOn: {
|
7913
|
+
serializedName: "updatedOn",
|
7914
|
+
required: true,
|
7915
|
+
type: {
|
7916
|
+
name: "String"
|
7917
|
+
}
|
7918
|
+
}, attributes: {
|
7919
|
+
serializedName: "attributes",
|
7920
|
+
required: true,
|
7921
|
+
type: {
|
7922
|
+
name: "Dictionary",
|
7923
|
+
value: { type: { name: "String" } }
|
7924
|
+
}
|
7925
|
+
} })
|
7926
|
+
}
|
7927
|
+
};
|
7928
|
+
const EventGridMqttClientDeletedEventData = {
|
7929
|
+
type: {
|
7930
|
+
name: "Composite",
|
7931
|
+
className: "EventGridMqttClientDeletedEventData",
|
7932
|
+
modelProperties: Object.assign({}, EventGridMqttClientEventData.type.modelProperties)
|
7933
|
+
}
|
7934
|
+
};
|
7935
|
+
const EventGridMqttClientSessionConnectedEventData = {
|
7936
|
+
type: {
|
7937
|
+
name: "Composite",
|
7938
|
+
className: "EventGridMqttClientSessionConnectedEventData",
|
7939
|
+
modelProperties: Object.assign(Object.assign({}, EventGridMqttClientEventData.type.modelProperties), { clientSessionName: {
|
7940
|
+
serializedName: "clientSessionName",
|
7941
|
+
required: true,
|
7942
|
+
type: {
|
7943
|
+
name: "String"
|
7944
|
+
}
|
7945
|
+
}, sequenceNumber: {
|
7946
|
+
serializedName: "sequenceNumber",
|
7947
|
+
required: true,
|
7948
|
+
type: {
|
7949
|
+
name: "Number"
|
7950
|
+
}
|
7951
|
+
} })
|
7952
|
+
}
|
7953
|
+
};
|
7954
|
+
const EventGridMqttClientSessionDisconnectedEventData = {
|
7955
|
+
type: {
|
7956
|
+
name: "Composite",
|
7957
|
+
className: "EventGridMqttClientSessionDisconnectedEventData",
|
7958
|
+
modelProperties: Object.assign(Object.assign({}, EventGridMqttClientEventData.type.modelProperties), { clientSessionName: {
|
7959
|
+
serializedName: "clientSessionName",
|
7960
|
+
required: true,
|
7961
|
+
type: {
|
7962
|
+
name: "String"
|
7963
|
+
}
|
7964
|
+
}, sequenceNumber: {
|
7965
|
+
serializedName: "sequenceNumber",
|
7966
|
+
required: true,
|
7967
|
+
type: {
|
7968
|
+
name: "Number"
|
7969
|
+
}
|
7970
|
+
}, disconnectionReason: {
|
7971
|
+
serializedName: "disconnectionReason",
|
7972
|
+
required: true,
|
7973
|
+
type: {
|
7974
|
+
name: "String"
|
7975
|
+
}
|
7976
|
+
} })
|
7977
|
+
}
|
7978
|
+
};
|
7979
|
+
const IotHubDeviceCreatedEventData = {
|
7980
|
+
type: {
|
7981
|
+
name: "Composite",
|
7982
|
+
className: "IotHubDeviceCreatedEventData",
|
7983
|
+
modelProperties: Object.assign({}, DeviceLifeCycleEvent.type.modelProperties)
|
7984
|
+
}
|
7985
|
+
};
|
7986
|
+
const IotHubDeviceDeletedEventData = {
|
7987
|
+
type: {
|
7988
|
+
name: "Composite",
|
7989
|
+
className: "IotHubDeviceDeletedEventData",
|
7990
|
+
modelProperties: Object.assign({}, DeviceLifeCycleEvent.type.modelProperties)
|
7991
|
+
}
|
7992
|
+
};
|
7993
|
+
const IotHubDeviceConnectedEventData = {
|
7994
|
+
type: {
|
7995
|
+
name: "Composite",
|
7996
|
+
className: "IotHubDeviceConnectedEventData",
|
7997
|
+
modelProperties: Object.assign({}, DeviceConnectionStateEvent.type.modelProperties)
|
7998
|
+
}
|
7999
|
+
};
|
8000
|
+
const IotHubDeviceDisconnectedEventData = {
|
8001
|
+
type: {
|
8002
|
+
name: "Composite",
|
8003
|
+
className: "IotHubDeviceDisconnectedEventData",
|
8004
|
+
modelProperties: Object.assign({}, DeviceConnectionStateEvent.type.modelProperties)
|
8005
|
+
}
|
8006
|
+
};
|
8007
|
+
const IotHubDeviceTelemetryEventData = {
|
8008
|
+
type: {
|
8009
|
+
name: "Composite",
|
8010
|
+
className: "IotHubDeviceTelemetryEventData",
|
8011
|
+
modelProperties: Object.assign({}, DeviceTelemetryEvent.type.modelProperties)
|
8012
|
+
}
|
8013
|
+
};
|
8014
|
+
const ContainerRegistryImagePushedEventData = {
|
8015
|
+
type: {
|
8016
|
+
name: "Composite",
|
8017
|
+
className: "ContainerRegistryImagePushedEventData",
|
8018
|
+
modelProperties: Object.assign({}, ContainerRegistryEventData.type.modelProperties)
|
8019
|
+
}
|
8020
|
+
};
|
8021
|
+
const ContainerRegistryImageDeletedEventData = {
|
7425
8022
|
type: {
|
7426
8023
|
name: "Composite",
|
7427
8024
|
className: "ContainerRegistryImageDeletedEventData",
|
@@ -7611,6 +8208,60 @@ const MapsGeofenceResultEventData = {
|
|
7611
8208
|
modelProperties: Object.assign({}, MapsGeofenceEvent.type.modelProperties)
|
7612
8209
|
}
|
7613
8210
|
};
|
8211
|
+
const AppConfigurationSnapshotCreatedEventData = {
|
8212
|
+
type: {
|
8213
|
+
name: "Composite",
|
8214
|
+
className: "AppConfigurationSnapshotCreatedEventData",
|
8215
|
+
modelProperties: Object.assign({}, AppConfigurationSnapshotEventData.type.modelProperties)
|
8216
|
+
}
|
8217
|
+
};
|
8218
|
+
const AppConfigurationSnapshotModifiedEventData = {
|
8219
|
+
type: {
|
8220
|
+
name: "Composite",
|
8221
|
+
className: "AppConfigurationSnapshotModifiedEventData",
|
8222
|
+
modelProperties: Object.assign({}, AppConfigurationSnapshotEventData.type.modelProperties)
|
8223
|
+
}
|
8224
|
+
};
|
8225
|
+
const AcsRouterJobEventData = {
|
8226
|
+
type: {
|
8227
|
+
name: "Composite",
|
8228
|
+
className: "AcsRouterJobEventData",
|
8229
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterEventData.type.modelProperties), { queueId: {
|
8230
|
+
serializedName: "queueId",
|
8231
|
+
required: true,
|
8232
|
+
type: {
|
8233
|
+
name: "String"
|
8234
|
+
}
|
8235
|
+
}, labels: {
|
8236
|
+
serializedName: "labels",
|
8237
|
+
required: true,
|
8238
|
+
type: {
|
8239
|
+
name: "Dictionary",
|
8240
|
+
value: { type: { name: "String" } }
|
8241
|
+
}
|
8242
|
+
}, tags: {
|
8243
|
+
serializedName: "tags",
|
8244
|
+
required: true,
|
8245
|
+
type: {
|
8246
|
+
name: "Dictionary",
|
8247
|
+
value: { type: { name: "String" } }
|
8248
|
+
}
|
8249
|
+
} })
|
8250
|
+
}
|
8251
|
+
};
|
8252
|
+
const AcsRouterWorkerEventData = {
|
8253
|
+
type: {
|
8254
|
+
name: "Composite",
|
8255
|
+
className: "AcsRouterWorkerEventData",
|
8256
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterEventData.type.modelProperties), { workerId: {
|
8257
|
+
serializedName: "workerId",
|
8258
|
+
required: true,
|
8259
|
+
type: {
|
8260
|
+
name: "String"
|
8261
|
+
}
|
8262
|
+
} })
|
8263
|
+
}
|
8264
|
+
};
|
7614
8265
|
const AcsChatMessageEventBase = {
|
7615
8266
|
type: {
|
7616
8267
|
name: "Composite",
|
@@ -7761,97 +8412,724 @@ const AcsChatParticipantAddedToThreadEventData = {
|
|
7761
8412
|
serializedName: "version",
|
7762
8413
|
required: true,
|
7763
8414
|
type: {
|
7764
|
-
name: "Number"
|
8415
|
+
name: "Number"
|
8416
|
+
}
|
8417
|
+
} })
|
8418
|
+
}
|
8419
|
+
};
|
8420
|
+
const AcsChatParticipantRemovedFromThreadEventData = {
|
8421
|
+
type: {
|
8422
|
+
name: "Composite",
|
8423
|
+
className: "AcsChatParticipantRemovedFromThreadEventData",
|
8424
|
+
modelProperties: Object.assign(Object.assign({}, AcsChatEventInThreadBase.type.modelProperties), { time: {
|
8425
|
+
serializedName: "time",
|
8426
|
+
required: true,
|
8427
|
+
type: {
|
8428
|
+
name: "String"
|
8429
|
+
}
|
8430
|
+
}, removedByCommunicationIdentifier: {
|
8431
|
+
serializedName: "removedByCommunicationIdentifier",
|
8432
|
+
type: {
|
8433
|
+
name: "Composite",
|
8434
|
+
className: "CommunicationIdentifierModel"
|
8435
|
+
}
|
8436
|
+
}, participantRemoved: {
|
8437
|
+
serializedName: "participantRemoved",
|
8438
|
+
type: {
|
8439
|
+
name: "Composite",
|
8440
|
+
className: "AcsChatThreadParticipant"
|
8441
|
+
}
|
8442
|
+
}, version: {
|
8443
|
+
serializedName: "version",
|
8444
|
+
required: true,
|
8445
|
+
type: {
|
8446
|
+
name: "Number"
|
8447
|
+
}
|
8448
|
+
} })
|
8449
|
+
}
|
8450
|
+
};
|
8451
|
+
const AcsSmsDeliveryReportReceivedEventData = {
|
8452
|
+
type: {
|
8453
|
+
name: "Composite",
|
8454
|
+
className: "AcsSmsDeliveryReportReceivedEventData",
|
8455
|
+
modelProperties: Object.assign(Object.assign({}, AcsSmsEventBase.type.modelProperties), { deliveryStatus: {
|
8456
|
+
serializedName: "deliveryStatus",
|
8457
|
+
required: true,
|
8458
|
+
type: {
|
8459
|
+
name: "String"
|
8460
|
+
}
|
8461
|
+
}, deliveryStatusDetails: {
|
8462
|
+
serializedName: "deliveryStatusDetails",
|
8463
|
+
required: true,
|
8464
|
+
type: {
|
8465
|
+
name: "String"
|
8466
|
+
}
|
8467
|
+
}, deliveryAttempts: {
|
8468
|
+
serializedName: "deliveryAttempts",
|
8469
|
+
required: true,
|
8470
|
+
type: {
|
8471
|
+
name: "Sequence",
|
8472
|
+
element: {
|
8473
|
+
type: {
|
8474
|
+
name: "Composite",
|
8475
|
+
className: "AcsSmsDeliveryAttempt"
|
8476
|
+
}
|
8477
|
+
}
|
8478
|
+
}
|
8479
|
+
}, receivedTimestamp: {
|
8480
|
+
serializedName: "receivedTimestamp",
|
8481
|
+
required: true,
|
8482
|
+
type: {
|
8483
|
+
name: "String"
|
8484
|
+
}
|
8485
|
+
}, tag: {
|
8486
|
+
serializedName: "tag",
|
8487
|
+
required: true,
|
8488
|
+
type: {
|
8489
|
+
name: "String"
|
8490
|
+
}
|
8491
|
+
} })
|
8492
|
+
}
|
8493
|
+
};
|
8494
|
+
const AcsSmsReceivedEventData = {
|
8495
|
+
type: {
|
8496
|
+
name: "Composite",
|
8497
|
+
className: "AcsSmsReceivedEventData",
|
8498
|
+
modelProperties: Object.assign(Object.assign({}, AcsSmsEventBase.type.modelProperties), { message: {
|
8499
|
+
serializedName: "message",
|
8500
|
+
required: true,
|
8501
|
+
type: {
|
8502
|
+
name: "String"
|
8503
|
+
}
|
8504
|
+
}, receivedTimestamp: {
|
8505
|
+
serializedName: "receivedTimestamp",
|
8506
|
+
required: true,
|
8507
|
+
type: {
|
8508
|
+
name: "String"
|
8509
|
+
}
|
8510
|
+
} })
|
8511
|
+
}
|
8512
|
+
};
|
8513
|
+
const ContainerServiceClusterSupportEndedEventData = {
|
8514
|
+
type: {
|
8515
|
+
name: "Composite",
|
8516
|
+
className: "ContainerServiceClusterSupportEndedEventData",
|
8517
|
+
modelProperties: Object.assign({}, ContainerServiceClusterSupportEventData.type.modelProperties)
|
8518
|
+
}
|
8519
|
+
};
|
8520
|
+
const ContainerServiceClusterSupportEndingEventData = {
|
8521
|
+
type: {
|
8522
|
+
name: "Composite",
|
8523
|
+
className: "ContainerServiceClusterSupportEndingEventData",
|
8524
|
+
modelProperties: Object.assign({}, ContainerServiceClusterSupportEventData.type.modelProperties)
|
8525
|
+
}
|
8526
|
+
};
|
8527
|
+
const ContainerServiceNodePoolRollingStartedEventData = {
|
8528
|
+
type: {
|
8529
|
+
name: "Composite",
|
8530
|
+
className: "ContainerServiceNodePoolRollingStartedEventData",
|
8531
|
+
modelProperties: Object.assign({}, ContainerServiceNodePoolRollingEventData.type.modelProperties)
|
8532
|
+
}
|
8533
|
+
};
|
8534
|
+
const ContainerServiceNodePoolRollingSucceededEventData = {
|
8535
|
+
type: {
|
8536
|
+
name: "Composite",
|
8537
|
+
className: "ContainerServiceNodePoolRollingSucceededEventData",
|
8538
|
+
modelProperties: Object.assign({}, ContainerServiceNodePoolRollingEventData.type.modelProperties)
|
8539
|
+
}
|
8540
|
+
};
|
8541
|
+
const ContainerServiceNodePoolRollingFailedEventData = {
|
8542
|
+
type: {
|
8543
|
+
name: "Composite",
|
8544
|
+
className: "ContainerServiceNodePoolRollingFailedEventData",
|
8545
|
+
modelProperties: Object.assign({}, ContainerServiceNodePoolRollingEventData.type.modelProperties)
|
8546
|
+
}
|
8547
|
+
};
|
8548
|
+
const ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData = {
|
8549
|
+
type: {
|
8550
|
+
name: "Composite",
|
8551
|
+
className: "ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData",
|
8552
|
+
modelProperties: Object.assign({}, ResourceNotificationsResourceUpdatedEventData.type.modelProperties)
|
8553
|
+
}
|
8554
|
+
};
|
8555
|
+
const ResourceNotificationsHealthResourcesAnnotatedEventData = {
|
8556
|
+
type: {
|
8557
|
+
name: "Composite",
|
8558
|
+
className: "ResourceNotificationsHealthResourcesAnnotatedEventData",
|
8559
|
+
modelProperties: Object.assign({}, ResourceNotificationsResourceUpdatedEventData.type.modelProperties)
|
8560
|
+
}
|
8561
|
+
};
|
8562
|
+
const ResourceNotificationsResourceManagementCreatedOrUpdatedEventData = {
|
8563
|
+
type: {
|
8564
|
+
name: "Composite",
|
8565
|
+
className: "ResourceNotificationsResourceManagementCreatedOrUpdatedEventData",
|
8566
|
+
modelProperties: Object.assign({}, ResourceNotificationsResourceUpdatedEventData.type.modelProperties)
|
8567
|
+
}
|
8568
|
+
};
|
8569
|
+
const ResourceNotificationsResourceManagementDeletedEventData = {
|
8570
|
+
type: {
|
8571
|
+
name: "Composite",
|
8572
|
+
className: "ResourceNotificationsResourceManagementDeletedEventData",
|
8573
|
+
modelProperties: Object.assign({}, ResourceNotificationsResourceDeletedEventData.type.modelProperties)
|
8574
|
+
}
|
8575
|
+
};
|
8576
|
+
const AcsRouterJobCancelledEventData = {
|
8577
|
+
type: {
|
8578
|
+
name: "Composite",
|
8579
|
+
className: "AcsRouterJobCancelledEventData",
|
8580
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { note: {
|
8581
|
+
serializedName: "note",
|
8582
|
+
required: true,
|
8583
|
+
type: {
|
8584
|
+
name: "String"
|
8585
|
+
}
|
8586
|
+
}, dispositionCode: {
|
8587
|
+
serializedName: "dispositionCode",
|
8588
|
+
required: true,
|
8589
|
+
type: {
|
8590
|
+
name: "String"
|
8591
|
+
}
|
8592
|
+
} })
|
8593
|
+
}
|
8594
|
+
};
|
8595
|
+
const AcsRouterJobClassificationFailedEventData = {
|
8596
|
+
type: {
|
8597
|
+
name: "Composite",
|
8598
|
+
className: "AcsRouterJobClassificationFailedEventData",
|
8599
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { classificationPolicyId: {
|
8600
|
+
serializedName: "classificationPolicyId",
|
8601
|
+
required: true,
|
8602
|
+
type: {
|
8603
|
+
name: "String"
|
8604
|
+
}
|
8605
|
+
}, errors: {
|
8606
|
+
serializedName: "errors",
|
8607
|
+
required: true,
|
8608
|
+
type: {
|
8609
|
+
name: "Sequence",
|
8610
|
+
element: {
|
8611
|
+
type: {
|
8612
|
+
name: "Composite",
|
8613
|
+
className: "AcsRouterCommunicationError"
|
8614
|
+
}
|
8615
|
+
}
|
8616
|
+
}
|
8617
|
+
} })
|
8618
|
+
}
|
8619
|
+
};
|
8620
|
+
const AcsRouterJobClassifiedEventData = {
|
8621
|
+
type: {
|
8622
|
+
name: "Composite",
|
8623
|
+
className: "AcsRouterJobClassifiedEventData",
|
8624
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { queueDetails: {
|
8625
|
+
serializedName: "queueDetails",
|
8626
|
+
type: {
|
8627
|
+
name: "Composite",
|
8628
|
+
className: "AcsRouterQueueDetails"
|
8629
|
+
}
|
8630
|
+
}, classificationPolicyId: {
|
8631
|
+
serializedName: "classificationPolicyId",
|
8632
|
+
required: true,
|
8633
|
+
type: {
|
8634
|
+
name: "String"
|
8635
|
+
}
|
8636
|
+
}, priority: {
|
8637
|
+
serializedName: "priority",
|
8638
|
+
required: true,
|
8639
|
+
type: {
|
8640
|
+
name: "Number"
|
8641
|
+
}
|
8642
|
+
}, attachedWorkerSelectors: {
|
8643
|
+
serializedName: "attachedWorkerSelectors",
|
8644
|
+
required: true,
|
8645
|
+
type: {
|
8646
|
+
name: "Sequence",
|
8647
|
+
element: {
|
8648
|
+
type: {
|
8649
|
+
name: "Composite",
|
8650
|
+
className: "AcsRouterWorkerSelector"
|
8651
|
+
}
|
8652
|
+
}
|
8653
|
+
}
|
8654
|
+
} })
|
8655
|
+
}
|
8656
|
+
};
|
8657
|
+
const AcsRouterJobClosedEventData = {
|
8658
|
+
type: {
|
8659
|
+
name: "Composite",
|
8660
|
+
className: "AcsRouterJobClosedEventData",
|
8661
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { assignmentId: {
|
8662
|
+
serializedName: "assignmentId",
|
8663
|
+
required: true,
|
8664
|
+
type: {
|
8665
|
+
name: "String"
|
8666
|
+
}
|
8667
|
+
}, workerId: {
|
8668
|
+
serializedName: "workerId",
|
8669
|
+
required: true,
|
8670
|
+
type: {
|
8671
|
+
name: "String"
|
8672
|
+
}
|
8673
|
+
}, dispositionCode: {
|
8674
|
+
serializedName: "dispositionCode",
|
8675
|
+
required: true,
|
8676
|
+
type: {
|
8677
|
+
name: "String"
|
8678
|
+
}
|
8679
|
+
} })
|
8680
|
+
}
|
8681
|
+
};
|
8682
|
+
const AcsRouterJobCompletedEventData = {
|
8683
|
+
type: {
|
8684
|
+
name: "Composite",
|
8685
|
+
className: "AcsRouterJobCompletedEventData",
|
8686
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { assignmentId: {
|
8687
|
+
serializedName: "assignmentId",
|
8688
|
+
required: true,
|
8689
|
+
type: {
|
8690
|
+
name: "String"
|
8691
|
+
}
|
8692
|
+
}, workerId: {
|
8693
|
+
serializedName: "workerId",
|
8694
|
+
required: true,
|
8695
|
+
type: {
|
8696
|
+
name: "String"
|
8697
|
+
}
|
8698
|
+
} })
|
8699
|
+
}
|
8700
|
+
};
|
8701
|
+
const AcsRouterJobDeletedEventData = {
|
8702
|
+
type: {
|
8703
|
+
name: "Composite",
|
8704
|
+
className: "AcsRouterJobDeletedEventData",
|
8705
|
+
modelProperties: Object.assign({}, AcsRouterJobEventData.type.modelProperties)
|
8706
|
+
}
|
8707
|
+
};
|
8708
|
+
const AcsRouterJobExceptionTriggeredEventData = {
|
8709
|
+
type: {
|
8710
|
+
name: "Composite",
|
8711
|
+
className: "AcsRouterJobExceptionTriggeredEventData",
|
8712
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { ruleKey: {
|
8713
|
+
serializedName: "ruleKey",
|
8714
|
+
required: true,
|
8715
|
+
type: {
|
8716
|
+
name: "String"
|
8717
|
+
}
|
8718
|
+
}, exceptionRuleId: {
|
8719
|
+
serializedName: "exceptionRuleId",
|
8720
|
+
required: true,
|
8721
|
+
type: {
|
8722
|
+
name: "String"
|
8723
|
+
}
|
8724
|
+
} })
|
8725
|
+
}
|
8726
|
+
};
|
8727
|
+
const AcsRouterJobQueuedEventData = {
|
8728
|
+
type: {
|
8729
|
+
name: "Composite",
|
8730
|
+
className: "AcsRouterJobQueuedEventData",
|
8731
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { priority: {
|
8732
|
+
serializedName: "priority",
|
8733
|
+
required: true,
|
8734
|
+
type: {
|
8735
|
+
name: "Number"
|
8736
|
+
}
|
8737
|
+
}, attachedWorkerSelectors: {
|
8738
|
+
serializedName: "attachedWorkerSelectors",
|
8739
|
+
required: true,
|
8740
|
+
type: {
|
8741
|
+
name: "Sequence",
|
8742
|
+
element: {
|
8743
|
+
type: {
|
8744
|
+
name: "Composite",
|
8745
|
+
className: "AcsRouterWorkerSelector"
|
8746
|
+
}
|
8747
|
+
}
|
8748
|
+
}
|
8749
|
+
}, requestedWorkerSelectors: {
|
8750
|
+
serializedName: "requestedWorkerSelectors",
|
8751
|
+
required: true,
|
8752
|
+
type: {
|
8753
|
+
name: "Sequence",
|
8754
|
+
element: {
|
8755
|
+
type: {
|
8756
|
+
name: "Composite",
|
8757
|
+
className: "AcsRouterWorkerSelector"
|
8758
|
+
}
|
8759
|
+
}
|
8760
|
+
}
|
8761
|
+
} })
|
8762
|
+
}
|
8763
|
+
};
|
8764
|
+
const AcsRouterJobReceivedEventData = {
|
8765
|
+
type: {
|
8766
|
+
name: "Composite",
|
8767
|
+
className: "AcsRouterJobReceivedEventData",
|
8768
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { jobStatus: {
|
8769
|
+
serializedName: "jobStatus",
|
8770
|
+
type: {
|
8771
|
+
name: "String"
|
8772
|
+
}
|
8773
|
+
}, classificationPolicyId: {
|
8774
|
+
serializedName: "classificationPolicyId",
|
8775
|
+
type: {
|
8776
|
+
name: "String"
|
8777
|
+
}
|
8778
|
+
}, priority: {
|
8779
|
+
serializedName: "priority",
|
8780
|
+
type: {
|
8781
|
+
name: "Number"
|
8782
|
+
}
|
8783
|
+
}, requestedWorkerSelectors: {
|
8784
|
+
serializedName: "requestedWorkerSelectors",
|
8785
|
+
type: {
|
8786
|
+
name: "Sequence",
|
8787
|
+
element: {
|
8788
|
+
type: {
|
8789
|
+
name: "Composite",
|
8790
|
+
className: "AcsRouterWorkerSelector"
|
8791
|
+
}
|
8792
|
+
}
|
8793
|
+
}
|
8794
|
+
}, scheduledOn: {
|
8795
|
+
serializedName: "scheduledOn",
|
8796
|
+
type: {
|
8797
|
+
name: "String"
|
8798
|
+
}
|
8799
|
+
}, unavailableForMatching: {
|
8800
|
+
serializedName: "unavailableForMatching",
|
8801
|
+
required: true,
|
8802
|
+
type: {
|
8803
|
+
name: "Boolean"
|
8804
|
+
}
|
8805
|
+
} })
|
8806
|
+
}
|
8807
|
+
};
|
8808
|
+
const AcsRouterJobSchedulingFailedEventData = {
|
8809
|
+
type: {
|
8810
|
+
name: "Composite",
|
8811
|
+
className: "AcsRouterJobSchedulingFailedEventData",
|
8812
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { priority: {
|
8813
|
+
serializedName: "priority",
|
8814
|
+
required: true,
|
8815
|
+
type: {
|
8816
|
+
name: "Number"
|
8817
|
+
}
|
8818
|
+
}, expiredAttachedWorkerSelectors: {
|
8819
|
+
serializedName: "expiredAttachedWorkerSelectors",
|
8820
|
+
required: true,
|
8821
|
+
type: {
|
8822
|
+
name: "Sequence",
|
8823
|
+
element: {
|
8824
|
+
type: {
|
8825
|
+
name: "Composite",
|
8826
|
+
className: "AcsRouterWorkerSelector"
|
8827
|
+
}
|
8828
|
+
}
|
8829
|
+
}
|
8830
|
+
}, expiredRequestedWorkerSelectors: {
|
8831
|
+
serializedName: "expiredRequestedWorkerSelectors",
|
8832
|
+
required: true,
|
8833
|
+
type: {
|
8834
|
+
name: "Sequence",
|
8835
|
+
element: {
|
8836
|
+
type: {
|
8837
|
+
name: "Composite",
|
8838
|
+
className: "AcsRouterWorkerSelector"
|
8839
|
+
}
|
8840
|
+
}
|
8841
|
+
}
|
8842
|
+
}, scheduledOn: {
|
8843
|
+
serializedName: "scheduledOn",
|
8844
|
+
required: true,
|
8845
|
+
type: {
|
8846
|
+
name: "String"
|
8847
|
+
}
|
8848
|
+
}, failureReason: {
|
8849
|
+
serializedName: "failureReason",
|
8850
|
+
required: true,
|
8851
|
+
type: {
|
8852
|
+
name: "String"
|
8853
|
+
}
|
8854
|
+
} })
|
8855
|
+
}
|
8856
|
+
};
|
8857
|
+
const AcsRouterJobUnassignedEventData = {
|
8858
|
+
type: {
|
8859
|
+
name: "Composite",
|
8860
|
+
className: "AcsRouterJobUnassignedEventData",
|
8861
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { assignmentId: {
|
8862
|
+
serializedName: "assignmentId",
|
8863
|
+
required: true,
|
8864
|
+
type: {
|
8865
|
+
name: "String"
|
8866
|
+
}
|
8867
|
+
}, workerId: {
|
8868
|
+
serializedName: "workerId",
|
8869
|
+
required: true,
|
8870
|
+
type: {
|
8871
|
+
name: "String"
|
8872
|
+
}
|
8873
|
+
} })
|
8874
|
+
}
|
8875
|
+
};
|
8876
|
+
const AcsRouterJobWaitingForActivationEventData = {
|
8877
|
+
type: {
|
8878
|
+
name: "Composite",
|
8879
|
+
className: "AcsRouterJobWaitingForActivationEventData",
|
8880
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { priority: {
|
8881
|
+
serializedName: "priority",
|
8882
|
+
type: {
|
8883
|
+
name: "Number"
|
8884
|
+
}
|
8885
|
+
}, expiredAttachedWorkerSelectors: {
|
8886
|
+
serializedName: "expiredAttachedWorkerSelectors",
|
8887
|
+
type: {
|
8888
|
+
name: "Sequence",
|
8889
|
+
element: {
|
8890
|
+
type: {
|
8891
|
+
name: "Composite",
|
8892
|
+
className: "AcsRouterWorkerSelector"
|
8893
|
+
}
|
8894
|
+
}
|
8895
|
+
}
|
8896
|
+
}, expiredRequestedWorkerSelectors: {
|
8897
|
+
serializedName: "expiredRequestedWorkerSelectors",
|
8898
|
+
type: {
|
8899
|
+
name: "Sequence",
|
8900
|
+
element: {
|
8901
|
+
type: {
|
8902
|
+
name: "Composite",
|
8903
|
+
className: "AcsRouterWorkerSelector"
|
8904
|
+
}
|
8905
|
+
}
|
8906
|
+
}
|
8907
|
+
}, scheduledOn: {
|
8908
|
+
serializedName: "scheduledOn",
|
8909
|
+
type: {
|
8910
|
+
name: "String"
|
8911
|
+
}
|
8912
|
+
}, unavailableForMatching: {
|
8913
|
+
serializedName: "unavailableForMatching",
|
8914
|
+
required: true,
|
8915
|
+
type: {
|
8916
|
+
name: "Boolean"
|
8917
|
+
}
|
8918
|
+
} })
|
8919
|
+
}
|
8920
|
+
};
|
8921
|
+
const AcsRouterJobWorkerSelectorsExpiredEventData = {
|
8922
|
+
type: {
|
8923
|
+
name: "Composite",
|
8924
|
+
className: "AcsRouterJobWorkerSelectorsExpiredEventData",
|
8925
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { expiredRequestedWorkerSelectors: {
|
8926
|
+
serializedName: "expiredRequestedWorkerSelectors",
|
8927
|
+
required: true,
|
8928
|
+
type: {
|
8929
|
+
name: "Sequence",
|
8930
|
+
element: {
|
8931
|
+
type: {
|
8932
|
+
name: "Composite",
|
8933
|
+
className: "AcsRouterWorkerSelector"
|
8934
|
+
}
|
8935
|
+
}
|
8936
|
+
}
|
8937
|
+
}, expiredAttachedWorkerSelectors: {
|
8938
|
+
serializedName: "expiredAttachedWorkerSelectors",
|
8939
|
+
required: true,
|
8940
|
+
type: {
|
8941
|
+
name: "Sequence",
|
8942
|
+
element: {
|
8943
|
+
type: {
|
8944
|
+
name: "Composite",
|
8945
|
+
className: "AcsRouterWorkerSelector"
|
8946
|
+
}
|
8947
|
+
}
|
8948
|
+
}
|
8949
|
+
} })
|
8950
|
+
}
|
8951
|
+
};
|
8952
|
+
const AcsRouterWorkerDeletedEventData = {
|
8953
|
+
type: {
|
8954
|
+
name: "Composite",
|
8955
|
+
className: "AcsRouterWorkerDeletedEventData",
|
8956
|
+
modelProperties: Object.assign({}, AcsRouterWorkerEventData.type.modelProperties)
|
8957
|
+
}
|
8958
|
+
};
|
8959
|
+
const AcsRouterWorkerOfferAcceptedEventData = {
|
8960
|
+
type: {
|
8961
|
+
name: "Composite",
|
8962
|
+
className: "AcsRouterWorkerOfferAcceptedEventData",
|
8963
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterWorkerEventData.type.modelProperties), { queueId: {
|
8964
|
+
serializedName: "queueId",
|
8965
|
+
required: true,
|
8966
|
+
type: {
|
8967
|
+
name: "String"
|
8968
|
+
}
|
8969
|
+
}, offerId: {
|
8970
|
+
serializedName: "offerId",
|
8971
|
+
required: true,
|
8972
|
+
type: {
|
8973
|
+
name: "String"
|
8974
|
+
}
|
8975
|
+
}, assignmentId: {
|
8976
|
+
serializedName: "assignmentId",
|
8977
|
+
required: true,
|
8978
|
+
type: {
|
8979
|
+
name: "String"
|
8980
|
+
}
|
8981
|
+
}, jobPriority: {
|
8982
|
+
serializedName: "jobPriority",
|
8983
|
+
required: true,
|
8984
|
+
type: {
|
8985
|
+
name: "Number"
|
8986
|
+
}
|
8987
|
+
}, workerLabels: {
|
8988
|
+
serializedName: "workerLabels",
|
8989
|
+
required: true,
|
8990
|
+
type: {
|
8991
|
+
name: "Dictionary",
|
8992
|
+
value: { type: { name: "String" } }
|
8993
|
+
}
|
8994
|
+
}, workerTags: {
|
8995
|
+
serializedName: "workerTags",
|
8996
|
+
required: true,
|
8997
|
+
type: {
|
8998
|
+
name: "Dictionary",
|
8999
|
+
value: { type: { name: "String" } }
|
9000
|
+
}
|
9001
|
+
}, jobLabels: {
|
9002
|
+
serializedName: "jobLabels",
|
9003
|
+
required: true,
|
9004
|
+
type: {
|
9005
|
+
name: "Dictionary",
|
9006
|
+
value: { type: { name: "String" } }
|
9007
|
+
}
|
9008
|
+
}, jobTags: {
|
9009
|
+
serializedName: "jobTags",
|
9010
|
+
required: true,
|
9011
|
+
type: {
|
9012
|
+
name: "Dictionary",
|
9013
|
+
value: { type: { name: "String" } }
|
9014
|
+
}
|
9015
|
+
} })
|
9016
|
+
}
|
9017
|
+
};
|
9018
|
+
const AcsRouterWorkerOfferDeclinedEventData = {
|
9019
|
+
type: {
|
9020
|
+
name: "Composite",
|
9021
|
+
className: "AcsRouterWorkerOfferDeclinedEventData",
|
9022
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterWorkerEventData.type.modelProperties), { queueId: {
|
9023
|
+
serializedName: "queueId",
|
9024
|
+
required: true,
|
9025
|
+
type: {
|
9026
|
+
name: "String"
|
9027
|
+
}
|
9028
|
+
}, offerId: {
|
9029
|
+
serializedName: "offerId",
|
9030
|
+
required: true,
|
9031
|
+
type: {
|
9032
|
+
name: "String"
|
7765
9033
|
}
|
7766
9034
|
} })
|
7767
9035
|
}
|
7768
9036
|
};
|
7769
|
-
const
|
9037
|
+
const AcsRouterWorkerOfferExpiredEventData = {
|
7770
9038
|
type: {
|
7771
9039
|
name: "Composite",
|
7772
|
-
className: "
|
7773
|
-
modelProperties: Object.assign(Object.assign({},
|
7774
|
-
serializedName: "
|
9040
|
+
className: "AcsRouterWorkerOfferExpiredEventData",
|
9041
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterWorkerEventData.type.modelProperties), { queueId: {
|
9042
|
+
serializedName: "queueId",
|
7775
9043
|
required: true,
|
7776
9044
|
type: {
|
7777
9045
|
name: "String"
|
7778
9046
|
}
|
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",
|
9047
|
+
}, offerId: {
|
9048
|
+
serializedName: "offerId",
|
7793
9049
|
required: true,
|
7794
9050
|
type: {
|
7795
|
-
name: "
|
9051
|
+
name: "String"
|
7796
9052
|
}
|
7797
9053
|
} })
|
7798
9054
|
}
|
7799
9055
|
};
|
7800
|
-
const
|
9056
|
+
const AcsRouterWorkerOfferIssuedEventData = {
|
7801
9057
|
type: {
|
7802
9058
|
name: "Composite",
|
7803
|
-
className: "
|
7804
|
-
modelProperties: Object.assign(Object.assign({},
|
7805
|
-
serializedName: "
|
9059
|
+
className: "AcsRouterWorkerOfferIssuedEventData",
|
9060
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterWorkerEventData.type.modelProperties), { queueId: {
|
9061
|
+
serializedName: "queueId",
|
7806
9062
|
required: true,
|
7807
9063
|
type: {
|
7808
9064
|
name: "String"
|
7809
9065
|
}
|
7810
|
-
},
|
7811
|
-
serializedName: "
|
9066
|
+
}, offerId: {
|
9067
|
+
serializedName: "offerId",
|
7812
9068
|
required: true,
|
7813
9069
|
type: {
|
7814
9070
|
name: "String"
|
7815
9071
|
}
|
7816
|
-
},
|
7817
|
-
serializedName: "
|
9072
|
+
}, jobPriority: {
|
9073
|
+
serializedName: "jobPriority",
|
7818
9074
|
required: true,
|
7819
9075
|
type: {
|
7820
|
-
name: "
|
7821
|
-
element: {
|
7822
|
-
type: {
|
7823
|
-
name: "Composite",
|
7824
|
-
className: "AcsSmsDeliveryAttempt"
|
7825
|
-
}
|
7826
|
-
}
|
9076
|
+
name: "Number"
|
7827
9077
|
}
|
7828
|
-
},
|
7829
|
-
serializedName: "
|
9078
|
+
}, workerLabels: {
|
9079
|
+
serializedName: "workerLabels",
|
9080
|
+
required: true,
|
9081
|
+
type: {
|
9082
|
+
name: "Dictionary",
|
9083
|
+
value: { type: { name: "String" } }
|
9084
|
+
}
|
9085
|
+
}, offeredOn: {
|
9086
|
+
serializedName: "offeredOn",
|
7830
9087
|
required: true,
|
7831
9088
|
type: {
|
7832
9089
|
name: "String"
|
7833
9090
|
}
|
7834
|
-
},
|
7835
|
-
serializedName: "
|
9091
|
+
}, expiresOn: {
|
9092
|
+
serializedName: "expiresOn",
|
7836
9093
|
required: true,
|
7837
9094
|
type: {
|
7838
9095
|
name: "String"
|
7839
9096
|
}
|
9097
|
+
}, workerTags: {
|
9098
|
+
serializedName: "workerTags",
|
9099
|
+
required: true,
|
9100
|
+
type: {
|
9101
|
+
name: "Dictionary",
|
9102
|
+
value: { type: { name: "String" } }
|
9103
|
+
}
|
9104
|
+
}, jobLabels: {
|
9105
|
+
serializedName: "jobLabels",
|
9106
|
+
required: true,
|
9107
|
+
type: {
|
9108
|
+
name: "Dictionary",
|
9109
|
+
value: { type: { name: "String" } }
|
9110
|
+
}
|
9111
|
+
}, jobTags: {
|
9112
|
+
serializedName: "jobTags",
|
9113
|
+
required: true,
|
9114
|
+
type: {
|
9115
|
+
name: "Dictionary",
|
9116
|
+
value: { type: { name: "String" } }
|
9117
|
+
}
|
7840
9118
|
} })
|
7841
9119
|
}
|
7842
9120
|
};
|
7843
|
-
const
|
9121
|
+
const AcsRouterWorkerOfferRevokedEventData = {
|
7844
9122
|
type: {
|
7845
9123
|
name: "Composite",
|
7846
|
-
className: "
|
7847
|
-
modelProperties: Object.assign(Object.assign({},
|
7848
|
-
serializedName: "
|
9124
|
+
className: "AcsRouterWorkerOfferRevokedEventData",
|
9125
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterWorkerEventData.type.modelProperties), { queueId: {
|
9126
|
+
serializedName: "queueId",
|
7849
9127
|
required: true,
|
7850
9128
|
type: {
|
7851
9129
|
name: "String"
|
7852
9130
|
}
|
7853
|
-
},
|
7854
|
-
serializedName: "
|
9131
|
+
}, offerId: {
|
9132
|
+
serializedName: "offerId",
|
7855
9133
|
required: true,
|
7856
9134
|
type: {
|
7857
9135
|
name: "String"
|
@@ -7935,6 +9213,13 @@ const AcsChatThreadCreatedWithUserEventData = {
|
|
7935
9213
|
name: "Dictionary",
|
7936
9214
|
value: { type: { name: "any" } }
|
7937
9215
|
}
|
9216
|
+
}, metadata: {
|
9217
|
+
serializedName: "metadata",
|
9218
|
+
required: true,
|
9219
|
+
type: {
|
9220
|
+
name: "Dictionary",
|
9221
|
+
value: { type: { name: "String" } }
|
9222
|
+
}
|
7938
9223
|
}, participants: {
|
7939
9224
|
serializedName: "participants",
|
7940
9225
|
required: true,
|
@@ -7985,6 +9270,13 @@ const AcsChatThreadPropertiesUpdatedPerUserEventData = {
|
|
7985
9270
|
type: {
|
7986
9271
|
name: "String"
|
7987
9272
|
}
|
9273
|
+
}, metadata: {
|
9274
|
+
serializedName: "metadata",
|
9275
|
+
required: true,
|
9276
|
+
type: {
|
9277
|
+
name: "Dictionary",
|
9278
|
+
value: { type: { name: "String" } }
|
9279
|
+
}
|
7988
9280
|
}, properties: {
|
7989
9281
|
serializedName: "properties",
|
7990
9282
|
required: true,
|
@@ -8178,6 +9470,13 @@ const AcsChatThreadPropertiesUpdatedEventData = {
|
|
8178
9470
|
name: "Dictionary",
|
8179
9471
|
value: { type: { name: "any" } }
|
8180
9472
|
}
|
9473
|
+
}, metadata: {
|
9474
|
+
serializedName: "metadata",
|
9475
|
+
required: true,
|
9476
|
+
type: {
|
9477
|
+
name: "Dictionary",
|
9478
|
+
value: { type: { name: "String" } }
|
9479
|
+
}
|
8181
9480
|
} })
|
8182
9481
|
}
|
8183
9482
|
};
|
@@ -8219,6 +9518,34 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
8219
9518
|
AcsRecordingChunkInfo: AcsRecordingChunkInfo,
|
8220
9519
|
AcsRecordingFileStatusUpdatedEventData: AcsRecordingFileStatusUpdatedEventData,
|
8221
9520
|
AcsRecordingStorageInfo: AcsRecordingStorageInfo,
|
9521
|
+
AcsRouterChannelConfiguration: AcsRouterChannelConfiguration,
|
9522
|
+
AcsRouterCommunicationError: AcsRouterCommunicationError,
|
9523
|
+
AcsRouterEventData: AcsRouterEventData,
|
9524
|
+
AcsRouterJobCancelledEventData: AcsRouterJobCancelledEventData,
|
9525
|
+
AcsRouterJobClassificationFailedEventData: AcsRouterJobClassificationFailedEventData,
|
9526
|
+
AcsRouterJobClassifiedEventData: AcsRouterJobClassifiedEventData,
|
9527
|
+
AcsRouterJobClosedEventData: AcsRouterJobClosedEventData,
|
9528
|
+
AcsRouterJobCompletedEventData: AcsRouterJobCompletedEventData,
|
9529
|
+
AcsRouterJobDeletedEventData: AcsRouterJobDeletedEventData,
|
9530
|
+
AcsRouterJobEventData: AcsRouterJobEventData,
|
9531
|
+
AcsRouterJobExceptionTriggeredEventData: AcsRouterJobExceptionTriggeredEventData,
|
9532
|
+
AcsRouterJobQueuedEventData: AcsRouterJobQueuedEventData,
|
9533
|
+
AcsRouterJobReceivedEventData: AcsRouterJobReceivedEventData,
|
9534
|
+
AcsRouterJobSchedulingFailedEventData: AcsRouterJobSchedulingFailedEventData,
|
9535
|
+
AcsRouterJobUnassignedEventData: AcsRouterJobUnassignedEventData,
|
9536
|
+
AcsRouterJobWaitingForActivationEventData: AcsRouterJobWaitingForActivationEventData,
|
9537
|
+
AcsRouterJobWorkerSelectorsExpiredEventData: AcsRouterJobWorkerSelectorsExpiredEventData,
|
9538
|
+
AcsRouterQueueDetails: AcsRouterQueueDetails,
|
9539
|
+
AcsRouterWorkerDeletedEventData: AcsRouterWorkerDeletedEventData,
|
9540
|
+
AcsRouterWorkerDeregisteredEventData: AcsRouterWorkerDeregisteredEventData,
|
9541
|
+
AcsRouterWorkerEventData: AcsRouterWorkerEventData,
|
9542
|
+
AcsRouterWorkerOfferAcceptedEventData: AcsRouterWorkerOfferAcceptedEventData,
|
9543
|
+
AcsRouterWorkerOfferDeclinedEventData: AcsRouterWorkerOfferDeclinedEventData,
|
9544
|
+
AcsRouterWorkerOfferExpiredEventData: AcsRouterWorkerOfferExpiredEventData,
|
9545
|
+
AcsRouterWorkerOfferIssuedEventData: AcsRouterWorkerOfferIssuedEventData,
|
9546
|
+
AcsRouterWorkerOfferRevokedEventData: AcsRouterWorkerOfferRevokedEventData,
|
9547
|
+
AcsRouterWorkerRegisteredEventData: AcsRouterWorkerRegisteredEventData,
|
9548
|
+
AcsRouterWorkerSelector: AcsRouterWorkerSelector,
|
8222
9549
|
AcsSmsDeliveryAttempt: AcsSmsDeliveryAttempt,
|
8223
9550
|
AcsSmsDeliveryReportReceivedEventData: AcsSmsDeliveryReportReceivedEventData,
|
8224
9551
|
AcsSmsEventBase: AcsSmsEventBase,
|
@@ -8252,6 +9579,9 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
8252
9579
|
ApiManagementUserUpdatedEventData: ApiManagementUserUpdatedEventData,
|
8253
9580
|
AppConfigurationKeyValueDeletedEventData: AppConfigurationKeyValueDeletedEventData,
|
8254
9581
|
AppConfigurationKeyValueModifiedEventData: AppConfigurationKeyValueModifiedEventData,
|
9582
|
+
AppConfigurationSnapshotCreatedEventData: AppConfigurationSnapshotCreatedEventData,
|
9583
|
+
AppConfigurationSnapshotEventData: AppConfigurationSnapshotEventData,
|
9584
|
+
AppConfigurationSnapshotModifiedEventData: AppConfigurationSnapshotModifiedEventData,
|
8255
9585
|
AppEventTypeDetail: AppEventTypeDetail,
|
8256
9586
|
AppServicePlanEventTypeDetail: AppServicePlanEventTypeDetail,
|
8257
9587
|
CloudEvent: CloudEvent,
|
@@ -8269,7 +9599,14 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
8269
9599
|
ContainerRegistryEventTarget: ContainerRegistryEventTarget,
|
8270
9600
|
ContainerRegistryImageDeletedEventData: ContainerRegistryImageDeletedEventData,
|
8271
9601
|
ContainerRegistryImagePushedEventData: ContainerRegistryImagePushedEventData,
|
9602
|
+
ContainerServiceClusterSupportEndedEventData: ContainerServiceClusterSupportEndedEventData,
|
9603
|
+
ContainerServiceClusterSupportEndingEventData: ContainerServiceClusterSupportEndingEventData,
|
9604
|
+
ContainerServiceClusterSupportEventData: ContainerServiceClusterSupportEventData,
|
8272
9605
|
ContainerServiceNewKubernetesVersionAvailableEventData: ContainerServiceNewKubernetesVersionAvailableEventData,
|
9606
|
+
ContainerServiceNodePoolRollingEventData: ContainerServiceNodePoolRollingEventData,
|
9607
|
+
ContainerServiceNodePoolRollingFailedEventData: ContainerServiceNodePoolRollingFailedEventData,
|
9608
|
+
ContainerServiceNodePoolRollingStartedEventData: ContainerServiceNodePoolRollingStartedEventData,
|
9609
|
+
ContainerServiceNodePoolRollingSucceededEventData: ContainerServiceNodePoolRollingSucceededEventData,
|
8273
9610
|
DataBoxCopyCompletedEventData: DataBoxCopyCompletedEventData,
|
8274
9611
|
DataBoxCopyStartedEventData: DataBoxCopyStartedEventData,
|
8275
9612
|
DataBoxOrderCompletedEventData: DataBoxOrderCompletedEventData,
|
@@ -8283,6 +9620,11 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
8283
9620
|
DeviceTwinInfoX509Thumbprint: DeviceTwinInfoX509Thumbprint,
|
8284
9621
|
DeviceTwinMetadata: DeviceTwinMetadata,
|
8285
9622
|
EventGridEvent: EventGridEvent,
|
9623
|
+
EventGridMqttClientCreatedOrUpdatedEventData: EventGridMqttClientCreatedOrUpdatedEventData,
|
9624
|
+
EventGridMqttClientDeletedEventData: EventGridMqttClientDeletedEventData,
|
9625
|
+
EventGridMqttClientEventData: EventGridMqttClientEventData,
|
9626
|
+
EventGridMqttClientSessionConnectedEventData: EventGridMqttClientSessionConnectedEventData,
|
9627
|
+
EventGridMqttClientSessionDisconnectedEventData: EventGridMqttClientSessionDisconnectedEventData,
|
8286
9628
|
EventHubCaptureFileCreatedEventData: EventHubCaptureFileCreatedEventData,
|
8287
9629
|
HealthcareDicomImageCreatedEventData: HealthcareDicomImageCreatedEventData,
|
8288
9630
|
HealthcareDicomImageDeletedEventData: HealthcareDicomImageDeletedEventData,
|
@@ -8361,6 +9703,15 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
8361
9703
|
ResourceDeleteFailureEventData: ResourceDeleteFailureEventData,
|
8362
9704
|
ResourceDeleteSuccessEventData: ResourceDeleteSuccessEventData,
|
8363
9705
|
ResourceHttpRequest: ResourceHttpRequest,
|
9706
|
+
ResourceNotificationsHealthResourcesAnnotatedEventData: ResourceNotificationsHealthResourcesAnnotatedEventData,
|
9707
|
+
ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData: ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData,
|
9708
|
+
ResourceNotificationsOperationalDetails: ResourceNotificationsOperationalDetails,
|
9709
|
+
ResourceNotificationsResourceDeletedDetails: ResourceNotificationsResourceDeletedDetails,
|
9710
|
+
ResourceNotificationsResourceDeletedEventData: ResourceNotificationsResourceDeletedEventData,
|
9711
|
+
ResourceNotificationsResourceManagementCreatedOrUpdatedEventData: ResourceNotificationsResourceManagementCreatedOrUpdatedEventData,
|
9712
|
+
ResourceNotificationsResourceManagementDeletedEventData: ResourceNotificationsResourceManagementDeletedEventData,
|
9713
|
+
ResourceNotificationsResourceUpdatedDetails: ResourceNotificationsResourceUpdatedDetails,
|
9714
|
+
ResourceNotificationsResourceUpdatedEventData: ResourceNotificationsResourceUpdatedEventData,
|
8364
9715
|
ResourceWriteCancelEventData: ResourceWriteCancelEventData,
|
8365
9716
|
ResourceWriteFailureEventData: ResourceWriteFailureEventData,
|
8366
9717
|
ResourceWriteSuccessEventData: ResourceWriteSuccessEventData,
|
@@ -8424,7 +9775,7 @@ class GeneratedClientContext extends coreClient__namespace.ServiceClient {
|
|
8424
9775
|
const defaults = {
|
8425
9776
|
requestContentType: "application/json; charset=utf-8"
|
8426
9777
|
};
|
8427
|
-
const packageDetails = `azsdk-js-eventgrid/5.1.
|
9778
|
+
const packageDetails = `azsdk-js-eventgrid/5.1.1`;
|
8428
9779
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
8429
9780
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
8430
9781
|
: `${packageDetails}`;
|
@@ -8579,7 +9930,7 @@ function cloudEventDistributedTracingEnricherPolicy() {
|
|
8579
9930
|
const tracingClient = coreTracing.createTracingClient({
|
8580
9931
|
namespace: "Microsoft.Messaging.EventGrid",
|
8581
9932
|
packageName: "@azure/event-grid",
|
8582
|
-
packageVersion: "5.1.
|
9933
|
+
packageVersion: "5.1.1",
|
8583
9934
|
});
|
8584
9935
|
|
8585
9936
|
// Copyright (c) Microsoft Corporation.
|
@@ -8640,7 +9991,7 @@ class EventGridPublisherClient {
|
|
8640
9991
|
if (channelName) {
|
8641
9992
|
sendOptions.aegChannelName = channelName;
|
8642
9993
|
}
|
8643
|
-
return this.client.publishCloudEventEvents(this.endpointUrl, events.map(convertCloudEventToModelType
|
9994
|
+
return this.client.publishCloudEventEvents(this.endpointUrl, events.map(convertCloudEventToModelType), sendOptions);
|
8644
9995
|
}
|
8645
9996
|
case "Custom": {
|
8646
9997
|
return this.client.publishCustomEventEvents(this.endpointUrl, events, updatedOptions);
|
@@ -8670,7 +10021,7 @@ function convertEventGridEventToModelType(event) {
|
|
8670
10021
|
/**
|
8671
10022
|
* @internal
|
8672
10023
|
*/
|
8673
|
-
function convertCloudEventToModelType
|
10024
|
+
function convertCloudEventToModelType(event) {
|
8674
10025
|
var _a, _b, _c, _d;
|
8675
10026
|
if (event.extensionAttributes) {
|
8676
10027
|
for (const propName in event.extensionAttributes) {
|
@@ -8823,577 +10174,14 @@ function isSystemEvent(eventType, event) {
|
|
8823
10174
|
}
|
8824
10175
|
}
|
8825
10176
|
|
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', {
|
10177
|
+
Object.defineProperty(exports, "AzureKeyCredential", {
|
9389
10178
|
enumerable: true,
|
9390
10179
|
get: function () { return coreAuth.AzureKeyCredential; }
|
9391
10180
|
});
|
9392
|
-
Object.defineProperty(exports,
|
10181
|
+
Object.defineProperty(exports, "AzureSASCredential", {
|
9393
10182
|
enumerable: true,
|
9394
10183
|
get: function () { return coreAuth.AzureSASCredential; }
|
9395
10184
|
});
|
9396
|
-
exports.EventGridClient = EventGridClient;
|
9397
10185
|
exports.EventGridDeserializer = EventGridDeserializer;
|
9398
10186
|
exports.EventGridPublisherClient = EventGridPublisherClient;
|
9399
10187
|
exports.generateSharedAccessSignature = generateSharedAccessSignature;
|