@azure/arm-batch 9.2.1-alpha.20240924.1 → 10.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/CHANGELOG.md +63 -7
  2. package/dist/index.js +1215 -315
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/applicationCreateSample.js +1 -1
  7. package/dist-esm/samples-dev/applicationDeleteSample.js +1 -1
  8. package/dist-esm/samples-dev/applicationGetSample.js +1 -1
  9. package/dist-esm/samples-dev/applicationListSample.js +1 -1
  10. package/dist-esm/samples-dev/applicationPackageActivateSample.js +1 -1
  11. package/dist-esm/samples-dev/applicationPackageCreateSample.js +1 -1
  12. package/dist-esm/samples-dev/applicationPackageDeleteSample.js +1 -1
  13. package/dist-esm/samples-dev/applicationPackageGetSample.js +1 -1
  14. package/dist-esm/samples-dev/applicationPackageListSample.js +1 -1
  15. package/dist-esm/samples-dev/applicationUpdateSample.js +1 -1
  16. package/dist-esm/samples-dev/batchAccountCreateSample.js +5 -5
  17. package/dist-esm/samples-dev/batchAccountDeleteSample.js +1 -1
  18. package/dist-esm/samples-dev/batchAccountGetDetectorSample.js +1 -1
  19. package/dist-esm/samples-dev/batchAccountGetKeysSample.js +1 -1
  20. package/dist-esm/samples-dev/batchAccountGetSample.js +2 -2
  21. package/dist-esm/samples-dev/batchAccountListByResourceGroupSample.js +1 -1
  22. package/dist-esm/samples-dev/batchAccountListDetectorsSample.js +1 -1
  23. package/dist-esm/samples-dev/batchAccountListOutboundNetworkDependenciesEndpointsSample.js +3 -3
  24. package/dist-esm/samples-dev/batchAccountListSample.js +1 -1
  25. package/dist-esm/samples-dev/batchAccountRegenerateKeySample.js +1 -1
  26. package/dist-esm/samples-dev/batchAccountSynchronizeAutoStorageKeysSample.js +1 -1
  27. package/dist-esm/samples-dev/batchAccountUpdateSample.js +1 -1
  28. package/dist-esm/samples-dev/certificateCancelDeletionSample.js +1 -1
  29. package/dist-esm/samples-dev/certificateCreateSample.js +3 -3
  30. package/dist-esm/samples-dev/certificateDeleteSample.js +1 -1
  31. package/dist-esm/samples-dev/certificateGetSample.js +2 -2
  32. package/dist-esm/samples-dev/certificateListByBatchAccountSample.js +2 -2
  33. package/dist-esm/samples-dev/certificateUpdateSample.js +1 -1
  34. package/dist-esm/samples-dev/locationCheckNameAvailabilitySample.js +2 -2
  35. package/dist-esm/samples-dev/locationGetQuotasSample.js +1 -1
  36. package/dist-esm/samples-dev/locationListSupportedVirtualMachineSkusSample.js +1 -1
  37. package/dist-esm/samples-dev/networkSecurityPerimeterGetConfigurationSample.d.ts +2 -0
  38. package/dist-esm/samples-dev/networkSecurityPerimeterGetConfigurationSample.d.ts.map +1 -0
  39. package/dist-esm/samples-dev/networkSecurityPerimeterGetConfigurationSample.js +39 -0
  40. package/dist-esm/samples-dev/networkSecurityPerimeterGetConfigurationSample.js.map +1 -0
  41. package/dist-esm/samples-dev/networkSecurityPerimeterListConfigurationsSample.d.ts +2 -0
  42. package/dist-esm/samples-dev/networkSecurityPerimeterListConfigurationsSample.d.ts.map +1 -0
  43. package/dist-esm/samples-dev/{locationListSupportedCloudServiceSkusSample.js → networkSecurityPerimeterListConfigurationsSample.js} +9 -8
  44. package/dist-esm/samples-dev/networkSecurityPerimeterListConfigurationsSample.js.map +1 -0
  45. package/dist-esm/samples-dev/networkSecurityPerimeterReconcileConfigurationSample.d.ts +2 -0
  46. package/dist-esm/samples-dev/networkSecurityPerimeterReconcileConfigurationSample.d.ts.map +1 -0
  47. package/dist-esm/samples-dev/networkSecurityPerimeterReconcileConfigurationSample.js +39 -0
  48. package/dist-esm/samples-dev/networkSecurityPerimeterReconcileConfigurationSample.js.map +1 -0
  49. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  50. package/dist-esm/samples-dev/poolCreateSample.js +50 -132
  51. package/dist-esm/samples-dev/poolCreateSample.js.map +1 -1
  52. package/dist-esm/samples-dev/poolDeleteSample.js +1 -1
  53. package/dist-esm/samples-dev/poolDisableAutoScaleSample.js +1 -1
  54. package/dist-esm/samples-dev/poolGetSample.js +7 -7
  55. package/dist-esm/samples-dev/poolListByBatchAccountSample.js +2 -2
  56. package/dist-esm/samples-dev/poolStopResizeSample.js +1 -1
  57. package/dist-esm/samples-dev/poolUpdateSample.js +4 -4
  58. package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js +1 -1
  59. package/dist-esm/samples-dev/privateEndpointConnectionGetSample.js +1 -1
  60. package/dist-esm/samples-dev/privateEndpointConnectionListByBatchAccountSample.js +1 -1
  61. package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js +1 -1
  62. package/dist-esm/samples-dev/privateLinkResourceGetSample.js +1 -1
  63. package/dist-esm/samples-dev/privateLinkResourceListByBatchAccountSample.js +1 -1
  64. package/dist-esm/src/batchManagementClient.d.ts +2 -1
  65. package/dist-esm/src/batchManagementClient.d.ts.map +1 -1
  66. package/dist-esm/src/batchManagementClient.js +5 -3
  67. package/dist-esm/src/batchManagementClient.js.map +1 -1
  68. package/dist-esm/src/models/index.d.ts +467 -46
  69. package/dist-esm/src/models/index.d.ts.map +1 -1
  70. package/dist-esm/src/models/index.js +92 -0
  71. package/dist-esm/src/models/index.js.map +1 -1
  72. package/dist-esm/src/models/mappers.d.ts +22 -3
  73. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  74. package/dist-esm/src/models/mappers.js +739 -120
  75. package/dist-esm/src/models/mappers.js.map +1 -1
  76. package/dist-esm/src/models/parameters.d.ts +1 -0
  77. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  78. package/dist-esm/src/models/parameters.js +14 -1
  79. package/dist-esm/src/models/parameters.js.map +1 -1
  80. package/dist-esm/src/operations/batchAccountOperations.d.ts +2 -2
  81. package/dist-esm/src/operations/batchAccountOperations.js +2 -2
  82. package/dist-esm/src/operations/batchAccountOperations.js.map +1 -1
  83. package/dist-esm/src/operations/index.d.ts +1 -0
  84. package/dist-esm/src/operations/index.d.ts.map +1 -1
  85. package/dist-esm/src/operations/index.js +1 -0
  86. package/dist-esm/src/operations/index.js.map +1 -1
  87. package/dist-esm/src/operations/location.d.ts +1 -23
  88. package/dist-esm/src/operations/location.d.ts.map +1 -1
  89. package/dist-esm/src/operations/location.js +0 -124
  90. package/dist-esm/src/operations/location.js.map +1 -1
  91. package/dist-esm/src/operations/networkSecurityPerimeterOperations.d.ts +66 -0
  92. package/dist-esm/src/operations/networkSecurityPerimeterOperations.d.ts.map +1 -0
  93. package/dist-esm/src/operations/networkSecurityPerimeterOperations.js +286 -0
  94. package/dist-esm/src/operations/networkSecurityPerimeterOperations.js.map +1 -0
  95. package/dist-esm/src/operationsInterfaces/batchAccountOperations.d.ts +1 -1
  96. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  97. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  98. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  99. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  100. package/dist-esm/src/operationsInterfaces/location.d.ts +1 -7
  101. package/dist-esm/src/operationsInterfaces/location.d.ts.map +1 -1
  102. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterOperations.d.ts +41 -0
  103. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterOperations.d.ts.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterOperations.js +9 -0
  105. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterOperations.js.map +1 -0
  106. package/dist-esm/test/batch_examples.js +23 -45
  107. package/dist-esm/test/batch_examples.js.map +1 -1
  108. package/package.json +6 -5
  109. package/review/arm-batch.api.md +294 -44
  110. package/src/batchManagementClient.ts +7 -2
  111. package/src/models/index.ts +517 -53
  112. package/src/models/mappers.ts +781 -133
  113. package/src/models/parameters.ts +16 -1
  114. package/src/operations/batchAccountOperations.ts +42 -42
  115. package/src/operations/index.ts +1 -0
  116. package/src/operations/location.ts +0 -154
  117. package/src/operations/networkSecurityPerimeterOperations.ts +397 -0
  118. package/src/operationsInterfaces/batchAccountOperations.ts +1 -1
  119. package/src/operationsInterfaces/index.ts +1 -0
  120. package/src/operationsInterfaces/location.ts +0 -10
  121. package/src/operationsInterfaces/networkSecurityPerimeterOperations.ts +81 -0
  122. package/types/arm-batch.d.ts +575 -81
  123. package/dist-esm/samples-dev/locationListSupportedCloudServiceSkusSample.d.ts +0 -2
  124. package/dist-esm/samples-dev/locationListSupportedCloudServiceSkusSample.d.ts.map +0 -1
  125. package/dist-esm/samples-dev/locationListSupportedCloudServiceSkusSample.js.map +0 -1
@@ -60,7 +60,7 @@ export const BatchAccountCreateParameters: coreClient.CompositeMapper = {
60
60
  serializedName: "properties.publicNetworkAccess",
61
61
  type: {
62
62
  name: "Enum",
63
- allowedValues: ["Enabled", "Disabled"],
63
+ allowedValues: ["Enabled", "Disabled", "SecuredByPerimeter"],
64
64
  },
65
65
  },
66
66
  networkProfile: {
@@ -386,10 +386,10 @@ export const PrivateLinkServiceConnectionState: coreClient.CompositeMapper = {
386
386
  },
387
387
  };
388
388
 
389
- export const ProxyResource: coreClient.CompositeMapper = {
389
+ export const AzureProxyResource: coreClient.CompositeMapper = {
390
390
  type: {
391
391
  name: "Composite",
392
- className: "ProxyResource",
392
+ className: "AzureProxyResource",
393
393
  modelProperties: {
394
394
  id: {
395
395
  serializedName: "id",
@@ -419,6 +419,13 @@ export const ProxyResource: coreClient.CompositeMapper = {
419
419
  name: "String",
420
420
  },
421
421
  },
422
+ tags: {
423
+ serializedName: "tags",
424
+ type: {
425
+ name: "Dictionary",
426
+ value: { type: { name: "String" } },
427
+ },
428
+ },
422
429
  },
423
430
  },
424
431
  };
@@ -446,10 +453,10 @@ export const VirtualMachineFamilyCoreQuota: coreClient.CompositeMapper = {
446
453
  },
447
454
  };
448
455
 
449
- export const Resource: coreClient.CompositeMapper = {
456
+ export const AzureResource: coreClient.CompositeMapper = {
450
457
  type: {
451
458
  name: "Composite",
452
- className: "Resource",
459
+ className: "AzureResource",
453
460
  modelProperties: {
454
461
  id: {
455
462
  serializedName: "id",
@@ -597,7 +604,7 @@ export const BatchAccountUpdateParameters: coreClient.CompositeMapper = {
597
604
  serializedName: "properties.publicNetworkAccess",
598
605
  type: {
599
606
  name: "Enum",
600
- allowedValues: ["Enabled", "Disabled"],
607
+ allowedValues: ["Enabled", "Disabled", "SecuredByPerimeter"],
601
608
  },
602
609
  },
603
610
  networkProfile: {
@@ -1233,13 +1240,6 @@ export const DeploymentConfiguration: coreClient.CompositeMapper = {
1233
1240
  name: "Composite",
1234
1241
  className: "DeploymentConfiguration",
1235
1242
  modelProperties: {
1236
- cloudServiceConfiguration: {
1237
- serializedName: "cloudServiceConfiguration",
1238
- type: {
1239
- name: "Composite",
1240
- className: "CloudServiceConfiguration",
1241
- },
1242
- },
1243
1243
  virtualMachineConfiguration: {
1244
1244
  serializedName: "virtualMachineConfiguration",
1245
1245
  type: {
@@ -1251,28 +1251,6 @@ export const DeploymentConfiguration: coreClient.CompositeMapper = {
1251
1251
  },
1252
1252
  };
1253
1253
 
1254
- export const CloudServiceConfiguration: coreClient.CompositeMapper = {
1255
- type: {
1256
- name: "Composite",
1257
- className: "CloudServiceConfiguration",
1258
- modelProperties: {
1259
- osFamily: {
1260
- serializedName: "osFamily",
1261
- required: true,
1262
- type: {
1263
- name: "String",
1264
- },
1265
- },
1266
- osVersion: {
1267
- serializedName: "osVersion",
1268
- type: {
1269
- name: "String",
1270
- },
1271
- },
1272
- },
1273
- },
1274
- };
1275
-
1276
1254
  export const VirtualMachineConfiguration: coreClient.CompositeMapper = {
1277
1255
  type: {
1278
1256
  name: "Composite",
@@ -1410,6 +1388,18 @@ export const ImageReference: coreClient.CompositeMapper = {
1410
1388
  name: "String",
1411
1389
  },
1412
1390
  },
1391
+ sharedGalleryImageId: {
1392
+ serializedName: "sharedGalleryImageId",
1393
+ type: {
1394
+ name: "String",
1395
+ },
1396
+ },
1397
+ communityGalleryImageId: {
1398
+ serializedName: "communityGalleryImageId",
1399
+ type: {
1400
+ name: "String",
1401
+ },
1402
+ },
1413
1403
  },
1414
1404
  },
1415
1405
  };
@@ -1720,6 +1710,28 @@ export const ManagedDisk: coreClient.CompositeMapper = {
1720
1710
  allowedValues: ["Standard_LRS", "Premium_LRS", "StandardSSD_LRS"],
1721
1711
  },
1722
1712
  },
1713
+ securityProfile: {
1714
+ serializedName: "securityProfile",
1715
+ type: {
1716
+ name: "Composite",
1717
+ className: "VMDiskSecurityProfile",
1718
+ },
1719
+ },
1720
+ },
1721
+ },
1722
+ };
1723
+
1724
+ export const VMDiskSecurityProfile: coreClient.CompositeMapper = {
1725
+ type: {
1726
+ name: "Composite",
1727
+ className: "VMDiskSecurityProfile",
1728
+ modelProperties: {
1729
+ securityEncryptionType: {
1730
+ serializedName: "securityEncryptionType",
1731
+ type: {
1732
+ name: "String",
1733
+ },
1734
+ },
1723
1735
  },
1724
1736
  },
1725
1737
  };
@@ -1730,11 +1742,10 @@ export const SecurityProfile: coreClient.CompositeMapper = {
1730
1742
  className: "SecurityProfile",
1731
1743
  modelProperties: {
1732
1744
  securityType: {
1733
- defaultValue: "trustedLaunch",
1734
- isConstant: true,
1735
1745
  serializedName: "securityType",
1736
1746
  type: {
1737
- name: "String",
1747
+ name: "Enum",
1748
+ allowedValues: ["trustedLaunch", "confidentialVM"],
1738
1749
  },
1739
1750
  },
1740
1751
  encryptionAtHost: {
@@ -2476,6 +2487,39 @@ export const TaskContainerSettings: coreClient.CompositeMapper = {
2476
2487
  allowedValues: ["TaskWorkingDirectory", "ContainerImageDefault"],
2477
2488
  },
2478
2489
  },
2490
+ containerHostBatchBindMounts: {
2491
+ serializedName: "containerHostBatchBindMounts",
2492
+ type: {
2493
+ name: "Sequence",
2494
+ element: {
2495
+ type: {
2496
+ name: "Composite",
2497
+ className: "ContainerHostBatchBindMountEntry",
2498
+ },
2499
+ },
2500
+ },
2501
+ },
2502
+ },
2503
+ },
2504
+ };
2505
+
2506
+ export const ContainerHostBatchBindMountEntry: coreClient.CompositeMapper = {
2507
+ type: {
2508
+ name: "Composite",
2509
+ className: "ContainerHostBatchBindMountEntry",
2510
+ modelProperties: {
2511
+ source: {
2512
+ serializedName: "source",
2513
+ type: {
2514
+ name: "String",
2515
+ },
2516
+ },
2517
+ isReadOnly: {
2518
+ serializedName: "isReadOnly",
2519
+ type: {
2520
+ name: "Boolean",
2521
+ },
2522
+ },
2479
2523
  },
2480
2524
  },
2481
2525
  };
@@ -3105,167 +3149,721 @@ export const EndpointDetail: coreClient.CompositeMapper = {
3105
3149
  },
3106
3150
  };
3107
3151
 
3108
- export const AutoStorageProperties: coreClient.CompositeMapper = {
3109
- type: {
3110
- name: "Composite",
3111
- className: "AutoStorageProperties",
3112
- modelProperties: {
3113
- ...AutoStorageBaseProperties.type.modelProperties,
3114
- lastKeySync: {
3115
- serializedName: "lastKeySync",
3116
- required: true,
3117
- type: {
3118
- name: "DateTime",
3152
+ export const NetworkSecurityPerimeterConfigurationListResult: coreClient.CompositeMapper =
3153
+ {
3154
+ type: {
3155
+ name: "Composite",
3156
+ className: "NetworkSecurityPerimeterConfigurationListResult",
3157
+ modelProperties: {
3158
+ value: {
3159
+ serializedName: "value",
3160
+ type: {
3161
+ name: "Sequence",
3162
+ element: {
3163
+ type: {
3164
+ name: "Composite",
3165
+ className: "NetworkSecurityPerimeterConfiguration",
3166
+ },
3167
+ },
3168
+ },
3169
+ },
3170
+ nextLink: {
3171
+ serializedName: "nextLink",
3172
+ type: {
3173
+ name: "String",
3174
+ },
3119
3175
  },
3120
3176
  },
3121
3177
  },
3122
- },
3123
- };
3178
+ };
3124
3179
 
3125
- export const PrivateEndpointConnection: coreClient.CompositeMapper = {
3126
- type: {
3127
- name: "Composite",
3128
- className: "PrivateEndpointConnection",
3129
- modelProperties: {
3130
- ...ProxyResource.type.modelProperties,
3131
- provisioningState: {
3132
- serializedName: "properties.provisioningState",
3133
- readOnly: true,
3134
- type: {
3135
- name: "Enum",
3136
- allowedValues: [
3137
- "Creating",
3138
- "Updating",
3139
- "Deleting",
3140
- "Succeeded",
3141
- "Failed",
3142
- "Cancelled",
3143
- ],
3180
+ export const NetworkSecurityPerimeterConfigurationProperties: coreClient.CompositeMapper =
3181
+ {
3182
+ type: {
3183
+ name: "Composite",
3184
+ className: "NetworkSecurityPerimeterConfigurationProperties",
3185
+ modelProperties: {
3186
+ provisioningState: {
3187
+ serializedName: "provisioningState",
3188
+ readOnly: true,
3189
+ type: {
3190
+ name: "String",
3191
+ },
3144
3192
  },
3145
- },
3146
- privateEndpoint: {
3147
- serializedName: "properties.privateEndpoint",
3148
- type: {
3149
- name: "Composite",
3150
- className: "PrivateEndpoint",
3193
+ provisioningIssues: {
3194
+ serializedName: "provisioningIssues",
3195
+ readOnly: true,
3196
+ type: {
3197
+ name: "Sequence",
3198
+ element: {
3199
+ type: {
3200
+ name: "Composite",
3201
+ className: "ProvisioningIssue",
3202
+ },
3203
+ },
3204
+ },
3205
+ },
3206
+ networkSecurityPerimeter: {
3207
+ serializedName: "networkSecurityPerimeter",
3208
+ type: {
3209
+ name: "Composite",
3210
+ className: "NetworkSecurityPerimeter",
3211
+ },
3212
+ },
3213
+ resourceAssociation: {
3214
+ serializedName: "resourceAssociation",
3215
+ type: {
3216
+ name: "Composite",
3217
+ className: "ResourceAssociation",
3218
+ },
3219
+ },
3220
+ profile: {
3221
+ serializedName: "profile",
3222
+ type: {
3223
+ name: "Composite",
3224
+ className: "NetworkSecurityProfile",
3225
+ },
3151
3226
  },
3152
3227
  },
3153
- groupIds: {
3154
- serializedName: "properties.groupIds",
3228
+ },
3229
+ };
3230
+
3231
+ export const ProvisioningIssue: coreClient.CompositeMapper = {
3232
+ type: {
3233
+ name: "Composite",
3234
+ className: "ProvisioningIssue",
3235
+ modelProperties: {
3236
+ name: {
3237
+ serializedName: "name",
3155
3238
  readOnly: true,
3156
3239
  type: {
3157
- name: "Sequence",
3158
- element: {
3159
- type: {
3160
- name: "String",
3161
- },
3162
- },
3240
+ name: "String",
3163
3241
  },
3164
3242
  },
3165
- privateLinkServiceConnectionState: {
3166
- serializedName: "properties.privateLinkServiceConnectionState",
3243
+ properties: {
3244
+ serializedName: "properties",
3167
3245
  type: {
3168
3246
  name: "Composite",
3169
- className: "PrivateLinkServiceConnectionState",
3247
+ className: "ProvisioningIssueProperties",
3170
3248
  },
3171
3249
  },
3172
3250
  },
3173
3251
  },
3174
3252
  };
3175
3253
 
3176
- export const ApplicationPackage: coreClient.CompositeMapper = {
3254
+ export const ProvisioningIssueProperties: coreClient.CompositeMapper = {
3177
3255
  type: {
3178
3256
  name: "Composite",
3179
- className: "ApplicationPackage",
3257
+ className: "ProvisioningIssueProperties",
3180
3258
  modelProperties: {
3181
- ...ProxyResource.type.modelProperties,
3182
- state: {
3183
- serializedName: "properties.state",
3259
+ issueType: {
3260
+ serializedName: "issueType",
3184
3261
  readOnly: true,
3185
3262
  type: {
3186
- name: "Enum",
3187
- allowedValues: ["Pending", "Active"],
3263
+ name: "String",
3188
3264
  },
3189
3265
  },
3190
- format: {
3191
- serializedName: "properties.format",
3266
+ severity: {
3267
+ serializedName: "severity",
3192
3268
  readOnly: true,
3193
3269
  type: {
3194
3270
  name: "String",
3195
3271
  },
3196
3272
  },
3197
- storageUrl: {
3198
- serializedName: "properties.storageUrl",
3273
+ description: {
3274
+ serializedName: "description",
3199
3275
  readOnly: true,
3200
3276
  type: {
3201
3277
  name: "String",
3202
3278
  },
3203
3279
  },
3204
- storageUrlExpiry: {
3205
- serializedName: "properties.storageUrlExpiry",
3280
+ suggestedResourceIds: {
3281
+ serializedName: "suggestedResourceIds",
3206
3282
  readOnly: true,
3207
3283
  type: {
3208
- name: "DateTime",
3284
+ name: "Sequence",
3285
+ element: {
3286
+ type: {
3287
+ name: "String",
3288
+ },
3289
+ },
3209
3290
  },
3210
3291
  },
3211
- lastActivationTime: {
3212
- serializedName: "properties.lastActivationTime",
3292
+ suggestedAccessRules: {
3293
+ serializedName: "suggestedAccessRules",
3213
3294
  readOnly: true,
3214
3295
  type: {
3215
- name: "DateTime",
3296
+ name: "Sequence",
3297
+ element: {
3298
+ type: {
3299
+ name: "Composite",
3300
+ className: "AccessRule",
3301
+ },
3302
+ },
3216
3303
  },
3217
3304
  },
3218
3305
  },
3219
3306
  },
3220
3307
  };
3221
3308
 
3222
- export const Application: coreClient.CompositeMapper = {
3309
+ export const AccessRule: coreClient.CompositeMapper = {
3223
3310
  type: {
3224
3311
  name: "Composite",
3225
- className: "Application",
3312
+ className: "AccessRule",
3226
3313
  modelProperties: {
3227
- ...ProxyResource.type.modelProperties,
3228
- displayName: {
3229
- serializedName: "properties.displayName",
3314
+ name: {
3315
+ serializedName: "name",
3230
3316
  type: {
3231
3317
  name: "String",
3232
3318
  },
3233
3319
  },
3234
- allowUpdates: {
3235
- serializedName: "properties.allowUpdates",
3236
- type: {
3237
- name: "Boolean",
3238
- },
3239
- },
3240
- defaultVersion: {
3241
- serializedName: "properties.defaultVersion",
3320
+ properties: {
3321
+ serializedName: "properties",
3242
3322
  type: {
3243
- name: "String",
3323
+ name: "Composite",
3324
+ className: "AccessRuleProperties",
3244
3325
  },
3245
3326
  },
3246
3327
  },
3247
3328
  },
3248
3329
  };
3249
3330
 
3250
- export const Certificate: coreClient.CompositeMapper = {
3331
+ export const AccessRuleProperties: coreClient.CompositeMapper = {
3251
3332
  type: {
3252
3333
  name: "Composite",
3253
- className: "Certificate",
3334
+ className: "AccessRuleProperties",
3254
3335
  modelProperties: {
3255
- ...ProxyResource.type.modelProperties,
3256
- thumbprintAlgorithm: {
3257
- serializedName: "properties.thumbprintAlgorithm",
3336
+ direction: {
3337
+ serializedName: "direction",
3258
3338
  type: {
3259
3339
  name: "String",
3260
3340
  },
3261
3341
  },
3262
- thumbprint: {
3263
- serializedName: "properties.thumbprint",
3342
+ addressPrefixes: {
3343
+ serializedName: "addressPrefixes",
3264
3344
  type: {
3265
- name: "String",
3345
+ name: "Sequence",
3346
+ element: {
3347
+ type: {
3348
+ name: "String",
3349
+ },
3350
+ },
3266
3351
  },
3267
3352
  },
3268
- format: {
3353
+ subscriptions: {
3354
+ serializedName: "subscriptions",
3355
+ type: {
3356
+ name: "Sequence",
3357
+ element: {
3358
+ type: {
3359
+ name: "Composite",
3360
+ className: "AccessRulePropertiesSubscriptionsItem",
3361
+ },
3362
+ },
3363
+ },
3364
+ },
3365
+ networkSecurityPerimeters: {
3366
+ serializedName: "networkSecurityPerimeters",
3367
+ type: {
3368
+ name: "Sequence",
3369
+ element: {
3370
+ type: {
3371
+ name: "Composite",
3372
+ className: "NetworkSecurityPerimeter",
3373
+ },
3374
+ },
3375
+ },
3376
+ },
3377
+ fullyQualifiedDomainNames: {
3378
+ serializedName: "fullyQualifiedDomainNames",
3379
+ type: {
3380
+ name: "Sequence",
3381
+ element: {
3382
+ type: {
3383
+ name: "String",
3384
+ },
3385
+ },
3386
+ },
3387
+ },
3388
+ emailAddresses: {
3389
+ serializedName: "emailAddresses",
3390
+ type: {
3391
+ name: "Sequence",
3392
+ element: {
3393
+ type: {
3394
+ name: "String",
3395
+ },
3396
+ },
3397
+ },
3398
+ },
3399
+ phoneNumbers: {
3400
+ serializedName: "phoneNumbers",
3401
+ type: {
3402
+ name: "Sequence",
3403
+ element: {
3404
+ type: {
3405
+ name: "String",
3406
+ },
3407
+ },
3408
+ },
3409
+ },
3410
+ },
3411
+ },
3412
+ };
3413
+
3414
+ export const AccessRulePropertiesSubscriptionsItem: coreClient.CompositeMapper =
3415
+ {
3416
+ type: {
3417
+ name: "Composite",
3418
+ className: "AccessRulePropertiesSubscriptionsItem",
3419
+ modelProperties: {
3420
+ id: {
3421
+ serializedName: "id",
3422
+ type: {
3423
+ name: "String",
3424
+ },
3425
+ },
3426
+ },
3427
+ },
3428
+ };
3429
+
3430
+ export const NetworkSecurityPerimeter: coreClient.CompositeMapper = {
3431
+ type: {
3432
+ name: "Composite",
3433
+ className: "NetworkSecurityPerimeter",
3434
+ modelProperties: {
3435
+ id: {
3436
+ serializedName: "id",
3437
+ type: {
3438
+ name: "String",
3439
+ },
3440
+ },
3441
+ perimeterGuid: {
3442
+ serializedName: "perimeterGuid",
3443
+ type: {
3444
+ name: "Uuid",
3445
+ },
3446
+ },
3447
+ location: {
3448
+ serializedName: "location",
3449
+ type: {
3450
+ name: "String",
3451
+ },
3452
+ },
3453
+ },
3454
+ },
3455
+ };
3456
+
3457
+ export const ResourceAssociation: coreClient.CompositeMapper = {
3458
+ type: {
3459
+ name: "Composite",
3460
+ className: "ResourceAssociation",
3461
+ modelProperties: {
3462
+ name: {
3463
+ serializedName: "name",
3464
+ type: {
3465
+ name: "String",
3466
+ },
3467
+ },
3468
+ accessMode: {
3469
+ serializedName: "accessMode",
3470
+ type: {
3471
+ name: "String",
3472
+ },
3473
+ },
3474
+ },
3475
+ },
3476
+ };
3477
+
3478
+ export const NetworkSecurityProfile: coreClient.CompositeMapper = {
3479
+ type: {
3480
+ name: "Composite",
3481
+ className: "NetworkSecurityProfile",
3482
+ modelProperties: {
3483
+ name: {
3484
+ serializedName: "name",
3485
+ type: {
3486
+ name: "String",
3487
+ },
3488
+ },
3489
+ accessRulesVersion: {
3490
+ serializedName: "accessRulesVersion",
3491
+ type: {
3492
+ name: "Number",
3493
+ },
3494
+ },
3495
+ accessRules: {
3496
+ serializedName: "accessRules",
3497
+ type: {
3498
+ name: "Sequence",
3499
+ element: {
3500
+ type: {
3501
+ name: "Composite",
3502
+ className: "AccessRule",
3503
+ },
3504
+ },
3505
+ },
3506
+ },
3507
+ diagnosticSettingsVersion: {
3508
+ serializedName: "diagnosticSettingsVersion",
3509
+ type: {
3510
+ name: "Number",
3511
+ },
3512
+ },
3513
+ enabledLogCategories: {
3514
+ serializedName: "enabledLogCategories",
3515
+ type: {
3516
+ name: "Sequence",
3517
+ element: {
3518
+ type: {
3519
+ name: "String",
3520
+ },
3521
+ },
3522
+ },
3523
+ },
3524
+ },
3525
+ },
3526
+ };
3527
+
3528
+ export const Resource: coreClient.CompositeMapper = {
3529
+ type: {
3530
+ name: "Composite",
3531
+ className: "Resource",
3532
+ modelProperties: {
3533
+ id: {
3534
+ serializedName: "id",
3535
+ readOnly: true,
3536
+ type: {
3537
+ name: "String",
3538
+ },
3539
+ },
3540
+ name: {
3541
+ serializedName: "name",
3542
+ readOnly: true,
3543
+ type: {
3544
+ name: "String",
3545
+ },
3546
+ },
3547
+ type: {
3548
+ serializedName: "type",
3549
+ readOnly: true,
3550
+ type: {
3551
+ name: "String",
3552
+ },
3553
+ },
3554
+ systemData: {
3555
+ serializedName: "systemData",
3556
+ type: {
3557
+ name: "Composite",
3558
+ className: "SystemData",
3559
+ },
3560
+ },
3561
+ },
3562
+ },
3563
+ };
3564
+
3565
+ export const SystemData: coreClient.CompositeMapper = {
3566
+ type: {
3567
+ name: "Composite",
3568
+ className: "SystemData",
3569
+ modelProperties: {
3570
+ createdBy: {
3571
+ serializedName: "createdBy",
3572
+ type: {
3573
+ name: "String",
3574
+ },
3575
+ },
3576
+ createdByType: {
3577
+ serializedName: "createdByType",
3578
+ type: {
3579
+ name: "String",
3580
+ },
3581
+ },
3582
+ createdAt: {
3583
+ serializedName: "createdAt",
3584
+ type: {
3585
+ name: "DateTime",
3586
+ },
3587
+ },
3588
+ lastModifiedBy: {
3589
+ serializedName: "lastModifiedBy",
3590
+ type: {
3591
+ name: "String",
3592
+ },
3593
+ },
3594
+ lastModifiedByType: {
3595
+ serializedName: "lastModifiedByType",
3596
+ type: {
3597
+ name: "String",
3598
+ },
3599
+ },
3600
+ lastModifiedAt: {
3601
+ serializedName: "lastModifiedAt",
3602
+ type: {
3603
+ name: "DateTime",
3604
+ },
3605
+ },
3606
+ },
3607
+ },
3608
+ };
3609
+
3610
+ export const ErrorResponse: coreClient.CompositeMapper = {
3611
+ type: {
3612
+ name: "Composite",
3613
+ className: "ErrorResponse",
3614
+ modelProperties: {
3615
+ error: {
3616
+ serializedName: "error",
3617
+ type: {
3618
+ name: "Composite",
3619
+ className: "ErrorDetail",
3620
+ },
3621
+ },
3622
+ },
3623
+ },
3624
+ };
3625
+
3626
+ export const ErrorDetail: coreClient.CompositeMapper = {
3627
+ type: {
3628
+ name: "Composite",
3629
+ className: "ErrorDetail",
3630
+ modelProperties: {
3631
+ code: {
3632
+ serializedName: "code",
3633
+ readOnly: true,
3634
+ type: {
3635
+ name: "String",
3636
+ },
3637
+ },
3638
+ message: {
3639
+ serializedName: "message",
3640
+ readOnly: true,
3641
+ type: {
3642
+ name: "String",
3643
+ },
3644
+ },
3645
+ target: {
3646
+ serializedName: "target",
3647
+ readOnly: true,
3648
+ type: {
3649
+ name: "String",
3650
+ },
3651
+ },
3652
+ details: {
3653
+ serializedName: "details",
3654
+ readOnly: true,
3655
+ type: {
3656
+ name: "Sequence",
3657
+ element: {
3658
+ type: {
3659
+ name: "Composite",
3660
+ className: "ErrorDetail",
3661
+ },
3662
+ },
3663
+ },
3664
+ },
3665
+ additionalInfo: {
3666
+ serializedName: "additionalInfo",
3667
+ readOnly: true,
3668
+ type: {
3669
+ name: "Sequence",
3670
+ element: {
3671
+ type: {
3672
+ name: "Composite",
3673
+ className: "ErrorAdditionalInfo",
3674
+ },
3675
+ },
3676
+ },
3677
+ },
3678
+ },
3679
+ },
3680
+ };
3681
+
3682
+ export const ErrorAdditionalInfo: coreClient.CompositeMapper = {
3683
+ type: {
3684
+ name: "Composite",
3685
+ className: "ErrorAdditionalInfo",
3686
+ modelProperties: {
3687
+ type: {
3688
+ serializedName: "type",
3689
+ readOnly: true,
3690
+ type: {
3691
+ name: "String",
3692
+ },
3693
+ },
3694
+ info: {
3695
+ serializedName: "info",
3696
+ readOnly: true,
3697
+ type: {
3698
+ name: "Dictionary",
3699
+ value: { type: { name: "any" } },
3700
+ },
3701
+ },
3702
+ },
3703
+ },
3704
+ };
3705
+
3706
+ export const AutoStorageProperties: coreClient.CompositeMapper = {
3707
+ type: {
3708
+ name: "Composite",
3709
+ className: "AutoStorageProperties",
3710
+ modelProperties: {
3711
+ ...AutoStorageBaseProperties.type.modelProperties,
3712
+ lastKeySync: {
3713
+ serializedName: "lastKeySync",
3714
+ required: true,
3715
+ type: {
3716
+ name: "DateTime",
3717
+ },
3718
+ },
3719
+ },
3720
+ },
3721
+ };
3722
+
3723
+ export const PrivateEndpointConnection: coreClient.CompositeMapper = {
3724
+ type: {
3725
+ name: "Composite",
3726
+ className: "PrivateEndpointConnection",
3727
+ modelProperties: {
3728
+ ...AzureProxyResource.type.modelProperties,
3729
+ provisioningState: {
3730
+ serializedName: "properties.provisioningState",
3731
+ readOnly: true,
3732
+ type: {
3733
+ name: "Enum",
3734
+ allowedValues: [
3735
+ "Creating",
3736
+ "Updating",
3737
+ "Deleting",
3738
+ "Succeeded",
3739
+ "Failed",
3740
+ "Cancelled",
3741
+ ],
3742
+ },
3743
+ },
3744
+ privateEndpoint: {
3745
+ serializedName: "properties.privateEndpoint",
3746
+ type: {
3747
+ name: "Composite",
3748
+ className: "PrivateEndpoint",
3749
+ },
3750
+ },
3751
+ groupIds: {
3752
+ serializedName: "properties.groupIds",
3753
+ readOnly: true,
3754
+ type: {
3755
+ name: "Sequence",
3756
+ element: {
3757
+ type: {
3758
+ name: "String",
3759
+ },
3760
+ },
3761
+ },
3762
+ },
3763
+ privateLinkServiceConnectionState: {
3764
+ serializedName: "properties.privateLinkServiceConnectionState",
3765
+ type: {
3766
+ name: "Composite",
3767
+ className: "PrivateLinkServiceConnectionState",
3768
+ },
3769
+ },
3770
+ },
3771
+ },
3772
+ };
3773
+
3774
+ export const ApplicationPackage: coreClient.CompositeMapper = {
3775
+ type: {
3776
+ name: "Composite",
3777
+ className: "ApplicationPackage",
3778
+ modelProperties: {
3779
+ ...AzureProxyResource.type.modelProperties,
3780
+ state: {
3781
+ serializedName: "properties.state",
3782
+ readOnly: true,
3783
+ type: {
3784
+ name: "Enum",
3785
+ allowedValues: ["Pending", "Active"],
3786
+ },
3787
+ },
3788
+ format: {
3789
+ serializedName: "properties.format",
3790
+ readOnly: true,
3791
+ type: {
3792
+ name: "String",
3793
+ },
3794
+ },
3795
+ storageUrl: {
3796
+ serializedName: "properties.storageUrl",
3797
+ readOnly: true,
3798
+ type: {
3799
+ name: "String",
3800
+ },
3801
+ },
3802
+ storageUrlExpiry: {
3803
+ serializedName: "properties.storageUrlExpiry",
3804
+ readOnly: true,
3805
+ type: {
3806
+ name: "DateTime",
3807
+ },
3808
+ },
3809
+ lastActivationTime: {
3810
+ serializedName: "properties.lastActivationTime",
3811
+ readOnly: true,
3812
+ type: {
3813
+ name: "DateTime",
3814
+ },
3815
+ },
3816
+ },
3817
+ },
3818
+ };
3819
+
3820
+ export const Application: coreClient.CompositeMapper = {
3821
+ type: {
3822
+ name: "Composite",
3823
+ className: "Application",
3824
+ modelProperties: {
3825
+ ...AzureProxyResource.type.modelProperties,
3826
+ displayName: {
3827
+ serializedName: "properties.displayName",
3828
+ type: {
3829
+ name: "String",
3830
+ },
3831
+ },
3832
+ allowUpdates: {
3833
+ serializedName: "properties.allowUpdates",
3834
+ type: {
3835
+ name: "Boolean",
3836
+ },
3837
+ },
3838
+ defaultVersion: {
3839
+ serializedName: "properties.defaultVersion",
3840
+ type: {
3841
+ name: "String",
3842
+ },
3843
+ },
3844
+ },
3845
+ },
3846
+ };
3847
+
3848
+ export const Certificate: coreClient.CompositeMapper = {
3849
+ type: {
3850
+ name: "Composite",
3851
+ className: "Certificate",
3852
+ modelProperties: {
3853
+ ...AzureProxyResource.type.modelProperties,
3854
+ thumbprintAlgorithm: {
3855
+ serializedName: "properties.thumbprintAlgorithm",
3856
+ type: {
3857
+ name: "String",
3858
+ },
3859
+ },
3860
+ thumbprint: {
3861
+ serializedName: "properties.thumbprint",
3862
+ type: {
3863
+ name: "String",
3864
+ },
3865
+ },
3866
+ format: {
3269
3867
  serializedName: "properties.format",
3270
3868
  type: {
3271
3869
  name: "Enum",
@@ -3325,7 +3923,7 @@ export const CertificateCreateOrUpdateParameters: coreClient.CompositeMapper = {
3325
3923
  name: "Composite",
3326
3924
  className: "CertificateCreateOrUpdateParameters",
3327
3925
  modelProperties: {
3328
- ...ProxyResource.type.modelProperties,
3926
+ ...AzureProxyResource.type.modelProperties,
3329
3927
  thumbprintAlgorithm: {
3330
3928
  serializedName: "properties.thumbprintAlgorithm",
3331
3929
  type: {
@@ -3366,7 +3964,7 @@ export const DetectorResponse: coreClient.CompositeMapper = {
3366
3964
  name: "Composite",
3367
3965
  className: "DetectorResponse",
3368
3966
  modelProperties: {
3369
- ...ProxyResource.type.modelProperties,
3967
+ ...AzureProxyResource.type.modelProperties,
3370
3968
  value: {
3371
3969
  serializedName: "properties.value",
3372
3970
  type: {
@@ -3382,7 +3980,7 @@ export const PrivateLinkResource: coreClient.CompositeMapper = {
3382
3980
  name: "Composite",
3383
3981
  className: "PrivateLinkResource",
3384
3982
  modelProperties: {
3385
- ...ProxyResource.type.modelProperties,
3983
+ ...AzureProxyResource.type.modelProperties,
3386
3984
  groupId: {
3387
3985
  serializedName: "properties.groupId",
3388
3986
  readOnly: true,
@@ -3423,7 +4021,7 @@ export const Pool: coreClient.CompositeMapper = {
3423
4021
  name: "Composite",
3424
4022
  className: "Pool",
3425
4023
  modelProperties: {
3426
- ...ProxyResource.type.modelProperties,
4024
+ ...AzureProxyResource.type.modelProperties,
3427
4025
  identity: {
3428
4026
  serializedName: "identity",
3429
4027
  type: {
@@ -3674,7 +4272,7 @@ export const BatchAccount: coreClient.CompositeMapper = {
3674
4272
  name: "Composite",
3675
4273
  className: "BatchAccount",
3676
4274
  modelProperties: {
3677
- ...Resource.type.modelProperties,
4275
+ ...AzureResource.type.modelProperties,
3678
4276
  identity: {
3679
4277
  serializedName: "identity",
3680
4278
  type: {
@@ -3732,7 +4330,7 @@ export const BatchAccount: coreClient.CompositeMapper = {
3732
4330
  nullable: true,
3733
4331
  type: {
3734
4332
  name: "Enum",
3735
- allowedValues: ["Enabled", "Disabled"],
4333
+ allowedValues: ["Enabled", "Disabled", "SecuredByPerimeter"],
3736
4334
  },
3737
4335
  },
3738
4336
  networkProfile: {
@@ -3916,6 +4514,34 @@ export const CertificateCreateOrUpdateProperties: coreClient.CompositeMapper = {
3916
4514
  },
3917
4515
  };
3918
4516
 
4517
+ export const ProxyResource: coreClient.CompositeMapper = {
4518
+ type: {
4519
+ name: "Composite",
4520
+ className: "ProxyResource",
4521
+ modelProperties: {
4522
+ ...Resource.type.modelProperties,
4523
+ },
4524
+ },
4525
+ };
4526
+
4527
+ export const NetworkSecurityPerimeterConfiguration: coreClient.CompositeMapper =
4528
+ {
4529
+ type: {
4530
+ name: "Composite",
4531
+ className: "NetworkSecurityPerimeterConfiguration",
4532
+ modelProperties: {
4533
+ ...ProxyResource.type.modelProperties,
4534
+ properties: {
4535
+ serializedName: "properties",
4536
+ type: {
4537
+ name: "Composite",
4538
+ className: "NetworkSecurityPerimeterConfigurationProperties",
4539
+ },
4540
+ },
4541
+ },
4542
+ },
4543
+ };
4544
+
3919
4545
  export const BatchAccountCreateHeaders: coreClient.CompositeMapper = {
3920
4546
  type: {
3921
4547
  name: "Composite",
@@ -4178,3 +4804,25 @@ export const PoolStopResizeHeaders: coreClient.CompositeMapper = {
4178
4804
  },
4179
4805
  },
4180
4806
  };
4807
+
4808
+ export const NetworkSecurityPerimeterReconcileConfigurationHeaders: coreClient.CompositeMapper =
4809
+ {
4810
+ type: {
4811
+ name: "Composite",
4812
+ className: "NetworkSecurityPerimeterReconcileConfigurationHeaders",
4813
+ modelProperties: {
4814
+ location: {
4815
+ serializedName: "location",
4816
+ type: {
4817
+ name: "String",
4818
+ },
4819
+ },
4820
+ retryAfter: {
4821
+ serializedName: "retry-after",
4822
+ type: {
4823
+ name: "Number",
4824
+ },
4825
+ },
4826
+ },
4827
+ },
4828
+ };