@azure/arm-batch 10.0.1-alpha.20250102.1 → 10.0.1-alpha.20250106.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-esm/src → dist/browser}/batchManagementClient.d.ts +2 -2
- package/dist/browser/batchManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/batchManagementClient.js +15 -18
- package/dist/browser/batchManagementClient.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/applicationOperations.d.ts +3 -3
- package/dist/browser/operations/applicationOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/applicationOperations.js +3 -3
- package/dist/browser/operations/applicationOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/applicationPackageOperations.d.ts +3 -3
- package/dist/browser/operations/applicationPackageOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/applicationPackageOperations.js +3 -3
- package/dist/browser/operations/applicationPackageOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/batchAccountOperations.d.ts +3 -3
- package/dist/browser/operations/batchAccountOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/batchAccountOperations.js +79 -87
- package/dist/browser/operations/batchAccountOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/certificateOperations.d.ts +3 -3
- package/dist/browser/operations/certificateOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/certificateOperations.js +42 -46
- package/dist/browser/operations/certificateOperations.js.map +1 -0
- package/dist/browser/operations/index.d.ts +11 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +18 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/location.d.ts +3 -3
- package/dist/browser/operations/location.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/location.js +3 -3
- package/dist/browser/operations/location.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/networkSecurityPerimeterOperations.d.ts +3 -3
- package/dist/browser/operations/networkSecurityPerimeterOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/networkSecurityPerimeterOperations.js +46 -50
- package/dist/browser/operations/networkSecurityPerimeterOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/poolOperations.d.ts +3 -3
- package/dist/browser/operations/poolOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/poolOperations.js +42 -46
- package/dist/browser/operations/poolOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateEndpointConnectionOperations.d.ts +3 -3
- package/dist/browser/operations/privateEndpointConnectionOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateEndpointConnectionOperations.js +88 -96
- package/dist/browser/operations/privateEndpointConnectionOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateLinkResourceOperations.d.ts +3 -3
- package/dist/browser/operations/privateLinkResourceOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateLinkResourceOperations.js +3 -3
- package/dist/browser/operations/privateLinkResourceOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/applicationOperations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/applicationOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/applicationOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/applicationPackageOperations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/applicationPackageOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/applicationPackageOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/batchAccountOperations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/batchAccountOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/batchAccountOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/certificateOperations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/certificateOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/certificateOperations.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +11 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +18 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/location.d.ts +1 -1
- package/dist/browser/operationsInterfaces/location.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/location.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/networkSecurityPerimeterOperations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/networkSecurityPerimeterOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/networkSecurityPerimeterOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/poolOperations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/poolOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/poolOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnectionOperations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/privateEndpointConnectionOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResourceOperations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/privateLinkResourceOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/privateLinkResourceOperations.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/batchManagementClient.d.ts +30 -0
- package/dist/commonjs/batchManagementClient.d.ts.map +1 -0
- package/dist/commonjs/batchManagementClient.js +114 -0
- package/dist/commonjs/batchManagementClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +11 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +24 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-batch.d.ts → dist/commonjs/models/index.d.ts} +2366 -3263
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +111 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +144 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +4564 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +36 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +329 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/applicationOperations.d.ts +71 -0
- package/dist/commonjs/operations/applicationOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/applicationOperations.js +286 -0
- package/dist/commonjs/operations/applicationOperations.js.map +1 -0
- package/dist/commonjs/operations/applicationPackageOperations.d.ts +83 -0
- package/dist/commonjs/operations/applicationPackageOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/applicationPackageOperations.js +311 -0
- package/dist/commonjs/operations/applicationPackageOperations.js.map +1 -0
- package/dist/commonjs/operations/batchAccountOperations.d.ts +203 -0
- package/dist/commonjs/operations/batchAccountOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/batchAccountOperations.js +882 -0
- package/dist/commonjs/operations/batchAccountOperations.js.map +1 -0
- package/dist/commonjs/operations/certificateOperations.d.ts +124 -0
- package/dist/commonjs/operations/certificateOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/certificateOperations.js +420 -0
- package/dist/commonjs/operations/certificateOperations.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +11 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +21 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/location.d.ts +49 -0
- package/dist/commonjs/operations/location.d.ts.map +1 -0
- package/dist/commonjs/operations/location.js +213 -0
- package/dist/commonjs/operations/location.js.map +1 -0
- package/dist/commonjs/operations/networkSecurityPerimeterOperations.d.ts +66 -0
- package/dist/commonjs/operations/networkSecurityPerimeterOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/networkSecurityPerimeterOperations.js +286 -0
- package/dist/commonjs/operations/networkSecurityPerimeterOperations.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +32 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +137 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/poolOperations.d.ts +103 -0
- package/dist/commonjs/operations/poolOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/poolOperations.js +424 -0
- package/dist/commonjs/operations/poolOperations.js.map +1 -0
- package/dist/commonjs/operations/privateEndpointConnectionOperations.d.ts +88 -0
- package/dist/commonjs/operations/privateEndpointConnectionOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/privateEndpointConnectionOperations.js +389 -0
- package/dist/commonjs/operations/privateEndpointConnectionOperations.js.map +1 -0
- package/dist/commonjs/operations/privateLinkResourceOperations.d.ts +47 -0
- package/dist/commonjs/operations/privateLinkResourceOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/privateLinkResourceOperations.js +187 -0
- package/dist/commonjs/operations/privateLinkResourceOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/applicationOperations.d.ts +46 -0
- package/dist/commonjs/operationsInterfaces/applicationOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/applicationOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/applicationOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/applicationPackageOperations.d.ts +56 -0
- package/dist/commonjs/operationsInterfaces/applicationPackageOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/applicationPackageOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/applicationPackageOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/batchAccountOperations.d.ts +127 -0
- package/dist/commonjs/operationsInterfaces/batchAccountOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/batchAccountOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/batchAccountOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/certificateOperations.d.ts +97 -0
- package/dist/commonjs/operationsInterfaces/certificateOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/certificateOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/certificateOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +21 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/location.d.ts +25 -0
- package/dist/commonjs/operationsInterfaces/location.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/location.js +10 -0
- package/dist/commonjs/operationsInterfaces/location.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterOperations.d.ts +41 -0
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/poolOperations.d.ts +78 -0
- package/dist/commonjs/operationsInterfaces/poolOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/poolOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/poolOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnectionOperations.d.ts +63 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnectionOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnectionOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResourceOperations.d.ts +22 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResourceOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResourceOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResourceOperations.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/esm/batchManagementClient.d.ts +30 -0
- package/dist/esm/batchManagementClient.d.ts.map +1 -0
- package/dist/esm/batchManagementClient.js +109 -0
- package/dist/esm/batchManagementClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +11 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +21 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +2366 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +108 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +144 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +4559 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +36 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +326 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/applicationOperations.d.ts +71 -0
- package/dist/esm/operations/applicationOperations.d.ts.map +1 -0
- package/dist/esm/operations/applicationOperations.js +282 -0
- package/dist/esm/operations/applicationOperations.js.map +1 -0
- package/dist/esm/operations/applicationPackageOperations.d.ts +83 -0
- package/dist/esm/operations/applicationPackageOperations.d.ts.map +1 -0
- package/dist/esm/operations/applicationPackageOperations.js +307 -0
- package/dist/esm/operations/applicationPackageOperations.js.map +1 -0
- package/dist/esm/operations/batchAccountOperations.d.ts +203 -0
- package/dist/esm/operations/batchAccountOperations.d.ts.map +1 -0
- package/dist/esm/operations/batchAccountOperations.js +878 -0
- package/dist/esm/operations/batchAccountOperations.js.map +1 -0
- package/dist/esm/operations/certificateOperations.d.ts +124 -0
- package/dist/esm/operations/certificateOperations.d.ts.map +1 -0
- package/dist/esm/operations/certificateOperations.js +416 -0
- package/dist/esm/operations/certificateOperations.js.map +1 -0
- package/dist/esm/operations/index.d.ts +11 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +18 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/location.d.ts +49 -0
- package/dist/esm/operations/location.d.ts.map +1 -0
- package/dist/esm/operations/location.js +209 -0
- package/dist/esm/operations/location.js.map +1 -0
- package/dist/esm/operations/networkSecurityPerimeterOperations.d.ts +66 -0
- package/dist/esm/operations/networkSecurityPerimeterOperations.d.ts.map +1 -0
- package/dist/esm/operations/networkSecurityPerimeterOperations.js +282 -0
- package/dist/esm/operations/networkSecurityPerimeterOperations.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +133 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/poolOperations.d.ts +103 -0
- package/dist/esm/operations/poolOperations.d.ts.map +1 -0
- package/dist/esm/operations/poolOperations.js +420 -0
- package/dist/esm/operations/poolOperations.js.map +1 -0
- package/dist/esm/operations/privateEndpointConnectionOperations.d.ts +88 -0
- package/dist/esm/operations/privateEndpointConnectionOperations.d.ts.map +1 -0
- package/dist/esm/operations/privateEndpointConnectionOperations.js +385 -0
- package/dist/esm/operations/privateEndpointConnectionOperations.js.map +1 -0
- package/dist/esm/operations/privateLinkResourceOperations.d.ts +47 -0
- package/dist/esm/operations/privateLinkResourceOperations.d.ts.map +1 -0
- package/dist/esm/operations/privateLinkResourceOperations.js +183 -0
- package/dist/esm/operations/privateLinkResourceOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/applicationOperations.d.ts +46 -0
- package/dist/esm/operationsInterfaces/applicationOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/applicationOperations.js +9 -0
- package/dist/esm/operationsInterfaces/applicationOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/applicationPackageOperations.d.ts +56 -0
- package/dist/esm/operationsInterfaces/applicationPackageOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/applicationPackageOperations.js +9 -0
- package/dist/esm/operationsInterfaces/applicationPackageOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/batchAccountOperations.d.ts +127 -0
- package/dist/esm/operationsInterfaces/batchAccountOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/batchAccountOperations.js +9 -0
- package/dist/esm/operationsInterfaces/batchAccountOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/certificateOperations.d.ts +97 -0
- package/dist/esm/operationsInterfaces/certificateOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/certificateOperations.js +9 -0
- package/dist/esm/operationsInterfaces/certificateOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +11 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +18 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/location.d.ts +25 -0
- package/dist/esm/operationsInterfaces/location.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/location.js +9 -0
- package/dist/esm/operationsInterfaces/location.js.map +1 -0
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterOperations.d.ts +41 -0
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterOperations.js +9 -0
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/poolOperations.d.ts +78 -0
- package/dist/esm/operationsInterfaces/poolOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/poolOperations.js +9 -0
- package/dist/esm/operationsInterfaces/poolOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnectionOperations.d.ts +63 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnectionOperations.js +9 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnectionOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/privateLinkResourceOperations.d.ts +22 -0
- package/dist/esm/operationsInterfaces/privateLinkResourceOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/privateLinkResourceOperations.js +9 -0
- package/dist/esm/operationsInterfaces/privateLinkResourceOperations.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/batchManagementClient.d.ts +30 -0
- package/dist/react-native/batchManagementClient.d.ts.map +1 -0
- package/dist/react-native/batchManagementClient.js +109 -0
- package/dist/react-native/batchManagementClient.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +11 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +21 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +2366 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +108 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +144 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +4559 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +36 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +326 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/applicationOperations.d.ts +71 -0
- package/dist/react-native/operations/applicationOperations.d.ts.map +1 -0
- package/dist/react-native/operations/applicationOperations.js +282 -0
- package/dist/react-native/operations/applicationOperations.js.map +1 -0
- package/dist/react-native/operations/applicationPackageOperations.d.ts +83 -0
- package/dist/react-native/operations/applicationPackageOperations.d.ts.map +1 -0
- package/dist/react-native/operations/applicationPackageOperations.js +307 -0
- package/dist/react-native/operations/applicationPackageOperations.js.map +1 -0
- package/dist/react-native/operations/batchAccountOperations.d.ts +203 -0
- package/dist/react-native/operations/batchAccountOperations.d.ts.map +1 -0
- package/dist/react-native/operations/batchAccountOperations.js +878 -0
- package/dist/react-native/operations/batchAccountOperations.js.map +1 -0
- package/dist/react-native/operations/certificateOperations.d.ts +124 -0
- package/dist/react-native/operations/certificateOperations.d.ts.map +1 -0
- package/dist/react-native/operations/certificateOperations.js +416 -0
- package/dist/react-native/operations/certificateOperations.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +11 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +18 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/location.d.ts +49 -0
- package/dist/react-native/operations/location.d.ts.map +1 -0
- package/dist/react-native/operations/location.js +209 -0
- package/dist/react-native/operations/location.js.map +1 -0
- package/dist/react-native/operations/networkSecurityPerimeterOperations.d.ts +66 -0
- package/dist/react-native/operations/networkSecurityPerimeterOperations.d.ts.map +1 -0
- package/dist/react-native/operations/networkSecurityPerimeterOperations.js +282 -0
- package/dist/react-native/operations/networkSecurityPerimeterOperations.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +32 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +133 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/poolOperations.d.ts +103 -0
- package/dist/react-native/operations/poolOperations.d.ts.map +1 -0
- package/dist/react-native/operations/poolOperations.js +420 -0
- package/dist/react-native/operations/poolOperations.js.map +1 -0
- package/dist/react-native/operations/privateEndpointConnectionOperations.d.ts +88 -0
- package/dist/react-native/operations/privateEndpointConnectionOperations.d.ts.map +1 -0
- package/dist/react-native/operations/privateEndpointConnectionOperations.js +385 -0
- package/dist/react-native/operations/privateEndpointConnectionOperations.js.map +1 -0
- package/dist/react-native/operations/privateLinkResourceOperations.d.ts +47 -0
- package/dist/react-native/operations/privateLinkResourceOperations.d.ts.map +1 -0
- package/dist/react-native/operations/privateLinkResourceOperations.js +183 -0
- package/dist/react-native/operations/privateLinkResourceOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/applicationOperations.d.ts +46 -0
- package/dist/react-native/operationsInterfaces/applicationOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/applicationOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/applicationOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/applicationPackageOperations.d.ts +56 -0
- package/dist/react-native/operationsInterfaces/applicationPackageOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/applicationPackageOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/applicationPackageOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/batchAccountOperations.d.ts +127 -0
- package/dist/react-native/operationsInterfaces/batchAccountOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/batchAccountOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/batchAccountOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/certificateOperations.d.ts +97 -0
- package/dist/react-native/operationsInterfaces/certificateOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/certificateOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/certificateOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +18 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/location.d.ts +25 -0
- package/dist/react-native/operationsInterfaces/location.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/location.js +9 -0
- package/dist/react-native/operationsInterfaces/location.js.map +1 -0
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterOperations.d.ts +41 -0
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/poolOperations.d.ts +78 -0
- package/dist/react-native/operationsInterfaces/poolOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/poolOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/poolOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnectionOperations.d.ts +63 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnectionOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnectionOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/privateLinkResourceOperations.d.ts +22 -0
- package/dist/react-native/operationsInterfaces/privateLinkResourceOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/privateLinkResourceOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/privateLinkResourceOperations.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +58 -28
- package/dist/index.js +0 -8793
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/applicationCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationCreateSample.js +0 -44
- package/dist-esm/samples-dev/applicationCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationDeleteSample.js +0 -39
- package/dist-esm/samples-dev/applicationDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationGetSample.js +0 -39
- package/dist-esm/samples-dev/applicationGetSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationListSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationListSample.js +0 -54
- package/dist-esm/samples-dev/applicationListSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationPackageActivateSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationPackageActivateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationPackageActivateSample.js +0 -41
- package/dist-esm/samples-dev/applicationPackageActivateSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationPackageCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationPackageCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationPackageCreateSample.js +0 -40
- package/dist-esm/samples-dev/applicationPackageCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationPackageDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationPackageDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationPackageDeleteSample.js +0 -40
- package/dist-esm/samples-dev/applicationPackageDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationPackageGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationPackageGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationPackageGetSample.js +0 -40
- package/dist-esm/samples-dev/applicationPackageGetSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationPackageListSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationPackageListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationPackageListSample.js +0 -55
- package/dist-esm/samples-dev/applicationPackageListSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationUpdateSample.js +0 -44
- package/dist-esm/samples-dev/applicationUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/batchAccountCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/batchAccountCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/batchAccountCreateSample.js +0 -157
- package/dist-esm/samples-dev/batchAccountCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/batchAccountDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/batchAccountDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/batchAccountDeleteSample.js +0 -38
- package/dist-esm/samples-dev/batchAccountDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/batchAccountGetDetectorSample.d.ts +0 -2
- package/dist-esm/samples-dev/batchAccountGetDetectorSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/batchAccountGetDetectorSample.js +0 -39
- package/dist-esm/samples-dev/batchAccountGetDetectorSample.js.map +0 -1
- package/dist-esm/samples-dev/batchAccountGetKeysSample.d.ts +0 -2
- package/dist-esm/samples-dev/batchAccountGetKeysSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/batchAccountGetKeysSample.js +0 -38
- package/dist-esm/samples-dev/batchAccountGetKeysSample.js.map +0 -1
- package/dist-esm/samples-dev/batchAccountGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/batchAccountGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/batchAccountGetSample.js +0 -56
- package/dist-esm/samples-dev/batchAccountGetSample.js.map +0 -1
- package/dist-esm/samples-dev/batchAccountListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/batchAccountListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/batchAccountListByResourceGroupSample.js +0 -53
- package/dist-esm/samples-dev/batchAccountListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/batchAccountListDetectorsSample.d.ts +0 -2
- package/dist-esm/samples-dev/batchAccountListDetectorsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/batchAccountListDetectorsSample.js +0 -54
- package/dist-esm/samples-dev/batchAccountListDetectorsSample.js.map +0 -1
- package/dist-esm/samples-dev/batchAccountListOutboundNetworkDependenciesEndpointsSample.d.ts +0 -2
- package/dist-esm/samples-dev/batchAccountListOutboundNetworkDependenciesEndpointsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/batchAccountListOutboundNetworkDependenciesEndpointsSample.js +0 -54
- package/dist-esm/samples-dev/batchAccountListOutboundNetworkDependenciesEndpointsSample.js.map +0 -1
- package/dist-esm/samples-dev/batchAccountListSample.d.ts +0 -2
- package/dist-esm/samples-dev/batchAccountListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/batchAccountListSample.js +0 -52
- package/dist-esm/samples-dev/batchAccountListSample.js.map +0 -1
- package/dist-esm/samples-dev/batchAccountRegenerateKeySample.d.ts +0 -2
- package/dist-esm/samples-dev/batchAccountRegenerateKeySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/batchAccountRegenerateKeySample.js +0 -41
- package/dist-esm/samples-dev/batchAccountRegenerateKeySample.js.map +0 -1
- package/dist-esm/samples-dev/batchAccountSynchronizeAutoStorageKeysSample.d.ts +0 -2
- package/dist-esm/samples-dev/batchAccountSynchronizeAutoStorageKeysSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/batchAccountSynchronizeAutoStorageKeysSample.js +0 -38
- package/dist-esm/samples-dev/batchAccountSynchronizeAutoStorageKeysSample.js.map +0 -1
- package/dist-esm/samples-dev/batchAccountUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/batchAccountUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/batchAccountUpdateSample.js +0 -43
- package/dist-esm/samples-dev/batchAccountUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/certificateCancelDeletionSample.d.ts +0 -2
- package/dist-esm/samples-dev/certificateCancelDeletionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/certificateCancelDeletionSample.js +0 -43
- package/dist-esm/samples-dev/certificateCancelDeletionSample.js.map +0 -1
- package/dist-esm/samples-dev/certificateCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/certificateCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/certificateCreateSample.js +0 -92
- package/dist-esm/samples-dev/certificateCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/certificateDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/certificateDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/certificateDeleteSample.js +0 -39
- package/dist-esm/samples-dev/certificateDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/certificateGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/certificateGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/certificateGetSample.js +0 -58
- package/dist-esm/samples-dev/certificateGetSample.js.map +0 -1
- package/dist-esm/samples-dev/certificateListByBatchAccountSample.d.ts +0 -2
- package/dist-esm/samples-dev/certificateListByBatchAccountSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/certificateListByBatchAccountSample.js +0 -94
- package/dist-esm/samples-dev/certificateListByBatchAccountSample.js.map +0 -1
- package/dist-esm/samples-dev/certificateUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/certificateUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/certificateUpdateSample.js +0 -43
- package/dist-esm/samples-dev/certificateUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/locationCheckNameAvailabilitySample.d.ts +0 -2
- package/dist-esm/samples-dev/locationCheckNameAvailabilitySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/locationCheckNameAvailabilitySample.js +0 -62
- package/dist-esm/samples-dev/locationCheckNameAvailabilitySample.js.map +0 -1
- package/dist-esm/samples-dev/locationGetQuotasSample.d.ts +0 -2
- package/dist-esm/samples-dev/locationGetQuotasSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/locationGetQuotasSample.js +0 -37
- package/dist-esm/samples-dev/locationGetQuotasSample.js.map +0 -1
- package/dist-esm/samples-dev/locationListSupportedVirtualMachineSkusSample.d.ts +0 -2
- package/dist-esm/samples-dev/locationListSupportedVirtualMachineSkusSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/locationListSupportedVirtualMachineSkusSample.js +0 -53
- package/dist-esm/samples-dev/locationListSupportedVirtualMachineSkusSample.js.map +0 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterGetConfigurationSample.d.ts +0 -2
- package/dist-esm/samples-dev/networkSecurityPerimeterGetConfigurationSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterGetConfigurationSample.js +0 -39
- package/dist-esm/samples-dev/networkSecurityPerimeterGetConfigurationSample.js.map +0 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterListConfigurationsSample.d.ts +0 -2
- package/dist-esm/samples-dev/networkSecurityPerimeterListConfigurationsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterListConfigurationsSample.js +0 -54
- package/dist-esm/samples-dev/networkSecurityPerimeterListConfigurationsSample.js.map +0 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterReconcileConfigurationSample.d.ts +0 -2
- package/dist-esm/samples-dev/networkSecurityPerimeterReconcileConfigurationSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterReconcileConfigurationSample.js +0 -39
- package/dist-esm/samples-dev/networkSecurityPerimeterReconcileConfigurationSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -53
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/poolCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/poolCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/poolCreateSample.js +0 -642
- package/dist-esm/samples-dev/poolCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/poolDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/poolDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/poolDeleteSample.js +0 -39
- package/dist-esm/samples-dev/poolDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/poolDisableAutoScaleSample.d.ts +0 -2
- package/dist-esm/samples-dev/poolDisableAutoScaleSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/poolDisableAutoScaleSample.js +0 -39
- package/dist-esm/samples-dev/poolDisableAutoScaleSample.js.map +0 -1
- package/dist-esm/samples-dev/poolGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/poolGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/poolGetSample.js +0 -153
- package/dist-esm/samples-dev/poolGetSample.js.map +0 -1
- package/dist-esm/samples-dev/poolListByBatchAccountSample.d.ts +0 -2
- package/dist-esm/samples-dev/poolListByBatchAccountSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/poolListByBatchAccountSample.js +0 -91
- package/dist-esm/samples-dev/poolListByBatchAccountSample.js.map +0 -1
- package/dist-esm/samples-dev/poolStopResizeSample.d.ts +0 -2
- package/dist-esm/samples-dev/poolStopResizeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/poolStopResizeSample.js +0 -39
- package/dist-esm/samples-dev/poolStopResizeSample.js.map +0 -1
- package/dist-esm/samples-dev/poolUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/poolUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/poolUpdateSample.js +0 -130
- package/dist-esm/samples-dev/poolUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js +0 -39
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionGetSample.js +0 -39
- package/dist-esm/samples-dev/privateEndpointConnectionGetSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionListByBatchAccountSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionListByBatchAccountSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionListByBatchAccountSample.js +0 -54
- package/dist-esm/samples-dev/privateEndpointConnectionListByBatchAccountSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js +0 -45
- package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourceGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateLinkResourceGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourceGetSample.js +0 -39
- package/dist-esm/samples-dev/privateLinkResourceGetSample.js.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourceListByBatchAccountSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateLinkResourceListByBatchAccountSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourceListByBatchAccountSample.js +0 -54
- package/dist-esm/samples-dev/privateLinkResourceListByBatchAccountSample.js.map +0 -1
- package/dist-esm/src/batchManagementClient.d.ts.map +0 -1
- package/dist-esm/src/batchManagementClient.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/applicationOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/applicationOperations.js.map +0 -1
- package/dist-esm/src/operations/applicationPackageOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/applicationPackageOperations.js.map +0 -1
- package/dist-esm/src/operations/batchAccountOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/batchAccountOperations.js.map +0 -1
- package/dist-esm/src/operations/certificateOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/certificateOperations.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -11
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -18
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/location.d.ts.map +0 -1
- package/dist-esm/src/operations/location.js.map +0 -1
- package/dist-esm/src/operations/networkSecurityPerimeterOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/networkSecurityPerimeterOperations.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/poolOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/poolOperations.js.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnectionOperations.js.map +0 -1
- package/dist-esm/src/operations/privateLinkResourceOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/privateLinkResourceOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/applicationOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/applicationOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/applicationPackageOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/applicationPackageOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/batchAccountOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/batchAccountOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/certificateOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/certificateOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -11
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -18
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/location.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/location.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/poolOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/poolOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateLinkResourceOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateLinkResourceOperations.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/batch_examples.d.ts +0 -4
- package/dist-esm/test/batch_examples.d.ts.map +0 -1
- package/dist-esm/test/batch_examples.js +0 -503
- package/dist-esm/test/batch_examples.js.map +0 -1
- package/dist-esm/test/fakeTestSecrets.d.ts +0 -3
- package/dist-esm/test/fakeTestSecrets.d.ts.map +0 -1
- package/dist-esm/test/fakeTestSecrets.js +0 -7
- package/dist-esm/test/fakeTestSecrets.js.map +0 -1
- package/src/batchManagementClient.ts +0 -188
- package/src/lroImpl.ts +0 -42
- package/src/models/index.ts +0 -2705
- package/src/models/mappers.ts +0 -4828
- package/src/models/parameters.ts +0 -377
- package/src/operations/applicationOperations.ts +0 -369
- package/src/operations/applicationPackageOperations.ts +0 -419
- package/src/operations/batchAccountOperations.ts +0 -1151
- package/src/operations/certificateOperations.ts +0 -552
- package/src/operations/index.ts +0 -18
- package/src/operations/location.ts +0 -271
- package/src/operations/networkSecurityPerimeterOperations.ts +0 -397
- package/src/operations/operations.ts +0 -149
- package/src/operations/poolOperations.ts +0 -566
- package/src/operations/privateEndpointConnectionOperations.ts +0 -542
- package/src/operations/privateLinkResourceOperations.ts +0 -247
- package/src/operationsInterfaces/applicationOperations.ts +0 -90
- package/src/operationsInterfaces/applicationPackageOperations.ts +0 -106
- package/src/operationsInterfaces/batchAccountOperations.ts +0 -224
- package/src/operationsInterfaces/certificateOperations.ts +0 -155
- package/src/operationsInterfaces/index.ts +0 -18
- package/src/operationsInterfaces/location.ts +0 -52
- package/src/operationsInterfaces/networkSecurityPerimeterOperations.ts +0 -81
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/poolOperations.ts +0 -142
- package/src/operationsInterfaces/privateEndpointConnectionOperations.ts +0 -122
- package/src/operationsInterfaces/privateLinkResourceOperations.ts +0 -45
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/applicationOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/applicationPackageOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/batchAccountOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/certificateOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/location.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/networkSecurityPerimeterOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/poolOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnectionOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResourceOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
13
|
import { createHttpPoller, } from "@azure/core-lro";
|
|
14
|
-
import { createLroSpec } from "../lroImpl";
|
|
14
|
+
import { createLroSpec } from "../lroImpl.js";
|
|
15
15
|
/// <reference lib="esnext.asynciterable" />
|
|
16
16
|
/** Class containing CertificateOperations operations. */
|
|
17
17
|
export class CertificateOperationsImpl {
|
|
@@ -139,43 +139,41 @@ export class CertificateOperationsImpl {
|
|
|
139
139
|
* SHA1-a3d1c5.
|
|
140
140
|
* @param options The options parameters.
|
|
141
141
|
*/
|
|
142
|
-
beginDelete(resourceGroupName, accountName, certificateName, options) {
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
spec: deleteOperationSpec,
|
|
170
|
-
});
|
|
171
|
-
const poller = yield createHttpPoller(lro, {
|
|
172
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
173
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
174
|
-
resourceLocationConfig: "location",
|
|
175
|
-
});
|
|
176
|
-
yield poller.poll();
|
|
177
|
-
return poller;
|
|
142
|
+
async beginDelete(resourceGroupName, accountName, certificateName, options) {
|
|
143
|
+
const directSendOperation = async (args, spec) => {
|
|
144
|
+
return this.client.sendOperationRequest(args, spec);
|
|
145
|
+
};
|
|
146
|
+
const sendOperationFn = async (args, spec) => {
|
|
147
|
+
var _a;
|
|
148
|
+
let currentRawResponse = undefined;
|
|
149
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
150
|
+
const callback = (rawResponse, flatResponse) => {
|
|
151
|
+
currentRawResponse = rawResponse;
|
|
152
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
153
|
+
};
|
|
154
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
155
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
156
|
+
return {
|
|
157
|
+
flatResponse,
|
|
158
|
+
rawResponse: {
|
|
159
|
+
statusCode: currentRawResponse.status,
|
|
160
|
+
body: currentRawResponse.parsedBody,
|
|
161
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
162
|
+
},
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
const lro = createLroSpec({
|
|
166
|
+
sendOperationFn,
|
|
167
|
+
args: { resourceGroupName, accountName, certificateName, options },
|
|
168
|
+
spec: deleteOperationSpec,
|
|
178
169
|
});
|
|
170
|
+
const poller = await createHttpPoller(lro, {
|
|
171
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
172
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
173
|
+
resourceLocationConfig: "location",
|
|
174
|
+
});
|
|
175
|
+
await poller.poll();
|
|
176
|
+
return poller;
|
|
179
177
|
}
|
|
180
178
|
/**
|
|
181
179
|
* Warning: This operation is deprecated and will be removed after February, 2024. Please use the
|
|
@@ -188,11 +186,9 @@ export class CertificateOperationsImpl {
|
|
|
188
186
|
* SHA1-a3d1c5.
|
|
189
187
|
* @param options The options parameters.
|
|
190
188
|
*/
|
|
191
|
-
beginDeleteAndWait(resourceGroupName, accountName, certificateName, options) {
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
return poller.pollUntilDone();
|
|
195
|
-
});
|
|
189
|
+
async beginDeleteAndWait(resourceGroupName, accountName, certificateName, options) {
|
|
190
|
+
const poller = await this.beginDelete(resourceGroupName, accountName, certificateName, options);
|
|
191
|
+
return poller.pollUntilDone();
|
|
196
192
|
}
|
|
197
193
|
/**
|
|
198
194
|
* Warning: This operation is deprecated and will be removed after February, 2024. Please use the
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"certificateOperations.js","sourceRoot":"","sources":["../../../src/operations/certificateOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAmB9C,4CAA4C;AAC5C,yDAAyD;AACzD,MAAM,OAAO,yBAAyB;IAGpC;;;OAGG;IACH,YAAY,MAA6B;QACvC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,kBAAkB,CACvB,iBAAyB,EACzB,WAAmB,EACnB,OAAqD;QAErD,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAC3C,iBAAiB,EACjB,WAAW,EACX,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB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UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { CertificateOperations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { BatchManagementClient } from \"../batchManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n Certificate,\n CertificateListByBatchAccountNextOptionalParams,\n CertificateListByBatchAccountOptionalParams,\n CertificateListByBatchAccountResponse,\n CertificateCreateOrUpdateParameters,\n CertificateCreateOptionalParams,\n CertificateCreateResponse,\n CertificateUpdateOptionalParams,\n CertificateUpdateResponse,\n CertificateDeleteOptionalParams,\n CertificateGetOptionalParams,\n CertificateGetResponse,\n CertificateCancelDeletionOptionalParams,\n CertificateCancelDeletionResponse,\n CertificateListByBatchAccountNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing CertificateOperations operations. */\nexport class CertificateOperationsImpl implements CertificateOperations {\n private readonly client: BatchManagementClient;\n\n /**\n * Initialize a new instance of the class CertificateOperations class.\n * @param client Reference to the service client\n */\n constructor(client: BatchManagementClient) {\n this.client = client;\n }\n\n /**\n * Warning: This operation is deprecated and will be removed after February, 2024. Please use the\n * [Azure KeyVault\n * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n public listByBatchAccount(\n resourceGroupName: string,\n accountName: string,\n options?: CertificateListByBatchAccountOptionalParams,\n ): PagedAsyncIterableIterator<Certificate> {\n const iter = this.listByBatchAccountPagingAll(\n resourceGroupName,\n accountName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByBatchAccountPagingPage(\n resourceGroupName,\n accountName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByBatchAccountPagingPage(\n resourceGroupName: string,\n accountName: string,\n options?: CertificateListByBatchAccountOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Certificate[]> {\n let result: CertificateListByBatchAccountResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByBatchAccount(\n resourceGroupName,\n accountName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByBatchAccountNext(\n resourceGroupName,\n accountName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByBatchAccountPagingAll(\n resourceGroupName: string,\n accountName: string,\n options?: CertificateListByBatchAccountOptionalParams,\n ): AsyncIterableIterator<Certificate> {\n for await (const page of this.listByBatchAccountPagingPage(\n resourceGroupName,\n accountName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Warning: This operation is deprecated and will be removed after February, 2024. Please use the\n * [Azure KeyVault\n * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n private _listByBatchAccount(\n resourceGroupName: string,\n accountName: string,\n options?: CertificateListByBatchAccountOptionalParams,\n ): Promise<CertificateListByBatchAccountResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listByBatchAccountOperationSpec,\n );\n }\n\n /**\n * Warning: This operation is deprecated and will be removed after February, 2024. Please use the\n * [Azure KeyVault\n * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param certificateName The identifier for the certificate. This must be made up of algorithm and\n * thumbprint separated by a dash, and must match the certificate data in the request. For example\n * SHA1-a3d1c5.\n * @param parameters Additional parameters for certificate creation.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n accountName: string,\n certificateName: string,\n parameters: CertificateCreateOrUpdateParameters,\n options?: CertificateCreateOptionalParams,\n ): Promise<CertificateCreateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, certificateName, parameters, options },\n createOperationSpec,\n );\n }\n\n /**\n * Warning: This operation is deprecated and will be removed after February, 2024. Please use the\n * [Azure KeyVault\n * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param certificateName The identifier for the certificate. This must be made up of algorithm and\n * thumbprint separated by a dash, and must match the certificate data in the request. For example\n * SHA1-a3d1c5.\n * @param parameters Certificate entity to update.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n accountName: string,\n certificateName: string,\n parameters: CertificateCreateOrUpdateParameters,\n options?: CertificateUpdateOptionalParams,\n ): Promise<CertificateUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, certificateName, parameters, options },\n updateOperationSpec,\n );\n }\n\n /**\n * Warning: This operation is deprecated and will be removed after February, 2024. Please use the\n * [Azure KeyVault\n * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param certificateName The identifier for the certificate. This must be made up of algorithm and\n * thumbprint separated by a dash, and must match the certificate data in the request. For example\n * SHA1-a3d1c5.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n accountName: string,\n certificateName: string,\n options?: CertificateDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, accountName, certificateName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Warning: This operation is deprecated and will be removed after February, 2024. Please use the\n * [Azure KeyVault\n * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param certificateName The identifier for the certificate. This must be made up of algorithm and\n * thumbprint separated by a dash, and must match the certificate data in the request. For example\n * SHA1-a3d1c5.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n accountName: string,\n certificateName: string,\n options?: CertificateDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n accountName,\n certificateName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Warning: This operation is deprecated and will be removed after February, 2024. Please use the\n * [Azure KeyVault\n * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param certificateName The identifier for the certificate. This must be made up of algorithm and\n * thumbprint separated by a dash, and must match the certificate data in the request. For example\n * SHA1-a3d1c5.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n certificateName: string,\n options?: CertificateGetOptionalParams,\n ): Promise<CertificateGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, certificateName, options },\n getOperationSpec,\n );\n }\n\n /**\n * If you try to delete a certificate that is being used by a pool or compute node, the status of the\n * certificate changes to deleteFailed. If you decide that you want to continue using the certificate,\n * you can use this operation to set the status of the certificate back to active. If you intend to\n * delete the certificate, you do not need to run this operation after the deletion failed. You must\n * make sure that the certificate is not being used by any resources, and then you can try again to\n * delete the certificate.\n *\n * Warning: This operation is deprecated and will be removed after February, 2024. Please use the\n * [Azure KeyVault\n * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param certificateName The identifier for the certificate. This must be made up of algorithm and\n * thumbprint separated by a dash, and must match the certificate data in the request. For example\n * SHA1-a3d1c5.\n * @param options The options parameters.\n */\n cancelDeletion(\n resourceGroupName: string,\n accountName: string,\n certificateName: string,\n options?: CertificateCancelDeletionOptionalParams,\n ): Promise<CertificateCancelDeletionResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, certificateName, options },\n cancelDeletionOperationSpec,\n );\n }\n\n /**\n * ListByBatchAccountNext\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param nextLink The nextLink from the previous successful call to the ListByBatchAccount method.\n * @param options The options parameters.\n */\n private _listByBatchAccountNext(\n resourceGroupName: string,\n accountName: string,\n nextLink: string,\n options?: CertificateListByBatchAccountNextOptionalParams,\n ): Promise<CertificateListByBatchAccountNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, nextLink, options },\n listByBatchAccountNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByBatchAccountOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListCertificatesResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.maxresults,\n Parameters.filter,\n Parameters.select,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n headersMapper: Mappers.CertificateCreateHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters8,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.certificateName,\n ],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n headersMapper: Mappers.CertificateUpdateHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters8,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.certificateName,\n ],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.ifMatch,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.certificateName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n headersMapper: Mappers.CertificateGetHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.certificateName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst cancelDeletionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}/cancelDelete\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n headersMapper: Mappers.CertificateCancelDeletionHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.certificateName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByBatchAccountNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListCertificatesResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "./batchAccountOperations.js";
|
|
2
|
+
export * from "./applicationPackageOperations.js";
|
|
3
|
+
export * from "./applicationOperations.js";
|
|
4
|
+
export * from "./location.js";
|
|
5
|
+
export * from "./operations.js";
|
|
6
|
+
export * from "./certificateOperations.js";
|
|
7
|
+
export * from "./privateLinkResourceOperations.js";
|
|
8
|
+
export * from "./privateEndpointConnectionOperations.js";
|
|
9
|
+
export * from "./poolOperations.js";
|
|
10
|
+
export * from "./networkSecurityPerimeterOperations.js";
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC;AAClD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oCAAoC,CAAC;AACnD,cAAc,0CAA0C,CAAC;AACzD,cAAc,qBAAqB,CAAC;AACpC,cAAc,yCAAyC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export * from "./batchAccountOperations.js";
|
|
9
|
+
export * from "./applicationPackageOperations.js";
|
|
10
|
+
export * from "./applicationOperations.js";
|
|
11
|
+
export * from "./location.js";
|
|
12
|
+
export * from "./operations.js";
|
|
13
|
+
export * from "./certificateOperations.js";
|
|
14
|
+
export * from "./privateLinkResourceOperations.js";
|
|
15
|
+
export * from "./privateEndpointConnectionOperations.js";
|
|
16
|
+
export * from "./poolOperations.js";
|
|
17
|
+
export * from "./networkSecurityPerimeterOperations.js";
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC;AAClD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oCAAoC,CAAC;AACnD,cAAc,0CAA0C,CAAC;AACzD,cAAc,qBAAqB,CAAC;AACpC,cAAc,yCAAyC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./batchAccountOperations.js\";\nexport * from \"./applicationPackageOperations.js\";\nexport * from \"./applicationOperations.js\";\nexport * from \"./location.js\";\nexport * from \"./operations.js\";\nexport * from \"./certificateOperations.js\";\nexport * from \"./privateLinkResourceOperations.js\";\nexport * from \"./privateEndpointConnectionOperations.js\";\nexport * from \"./poolOperations.js\";\nexport * from \"./networkSecurityPerimeterOperations.js\";\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Location } from "../operationsInterfaces";
|
|
3
|
-
import { BatchManagementClient } from "../batchManagementClient";
|
|
4
|
-
import { SupportedSku, LocationListSupportedVirtualMachineSkusOptionalParams, LocationGetQuotasOptionalParams, LocationGetQuotasResponse, CheckNameAvailabilityParameters, LocationCheckNameAvailabilityOptionalParams, LocationCheckNameAvailabilityResponse } from "../models";
|
|
2
|
+
import { Location } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { BatchManagementClient } from "../batchManagementClient.js";
|
|
4
|
+
import { SupportedSku, LocationListSupportedVirtualMachineSkusOptionalParams, LocationGetQuotasOptionalParams, LocationGetQuotasResponse, CheckNameAvailabilityParameters, LocationCheckNameAvailabilityOptionalParams, LocationCheckNameAvailabilityResponse } from "../models/index.js";
|
|
5
5
|
/** Class containing Location operations. */
|
|
6
6
|
export declare class LocationImpl implements Location {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"location.d.ts","sourceRoot":"","sources":["../../../src/operations/location.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAI5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EACL,YAAY,EAEZ,qDAAqD,EAErD,+BAA+B,EAC/B,yBAAyB,EACzB,+BAA+B,EAC/B,2CAA2C,EAC3C,qCAAqC,EAEtC,MAAM,oBAAoB,CAAC;AAG5B,4CAA4C;AAC5C,qBAAa,YAAa,YAAW,QAAQ;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwB;IAE/C;;;OAGG;gBACS,MAAM,EAAE,qBAAqB;IAIzC;;;;OAIG;IACI,+BAA+B,CACpC,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,qDAAqD,GAC9D,0BAA0B,CAAC,YAAY,CAAC;YAyB5B,yCAAyC;YA8BzC,wCAAwC;IAYvD;;;;OAIG;IACH,SAAS,CACP,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC;IAOrC;;;;OAIG;IACH,OAAO,CAAC,gCAAgC;IAUxC;;;;;OAKG;IACH,qBAAqB,CACnB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,+BAA+B,EAC3C,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;IAOjD;;;;;;OAMG;IACH,OAAO,CAAC,oCAAoC;CAU7C"}
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
13
|
/// <reference lib="esnext.asynciterable" />
|
|
14
14
|
/** Class containing Location operations. */
|
|
15
15
|
export class LocationImpl {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"location.js","sourceRoot":"","sources":["../../../src/operations/location.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAetD,4CAA4C;AAC5C,4CAA4C;AAC5C,MAAM,OAAO,YAAY;IAGvB;;;OAGG;IACH,YAAY,MAA6B;QACvC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,+BAA+B,CACpC,YAAoB,EACpB,OAA+D;QAE/D,MAAM,IAAI,GAAG,IAAI,CAAC,wCAAwC,CACxD,YAAY,EACZ,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,yCAAyC,CACnD,YAAY,EACZ,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,yCAAyC,CACtD,YAAoB,EACpB,OAA+D,EAC/D,QAAuB;;YAEvB,IAAI,MAAuD,CAAC;YAC5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;QACnB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Location } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { BatchManagementClient } from \"../batchManagementClient.js\";\nimport {\n SupportedSku,\n LocationListSupportedVirtualMachineSkusNextOptionalParams,\n LocationListSupportedVirtualMachineSkusOptionalParams,\n LocationListSupportedVirtualMachineSkusResponse,\n LocationGetQuotasOptionalParams,\n LocationGetQuotasResponse,\n CheckNameAvailabilityParameters,\n LocationCheckNameAvailabilityOptionalParams,\n LocationCheckNameAvailabilityResponse,\n LocationListSupportedVirtualMachineSkusNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Location operations. */\nexport class LocationImpl implements Location {\n private readonly client: BatchManagementClient;\n\n /**\n * Initialize a new instance of the class Location class.\n * @param client Reference to the service client\n */\n constructor(client: BatchManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the list of Batch supported Virtual Machine VM sizes available at the given location.\n * @param locationName The region for which to retrieve Batch service supported SKUs.\n * @param options The options parameters.\n */\n public listSupportedVirtualMachineSkus(\n locationName: string,\n options?: LocationListSupportedVirtualMachineSkusOptionalParams,\n ): PagedAsyncIterableIterator<SupportedSku> {\n const iter = this.listSupportedVirtualMachineSkusPagingAll(\n locationName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listSupportedVirtualMachineSkusPagingPage(\n locationName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listSupportedVirtualMachineSkusPagingPage(\n locationName: string,\n options?: LocationListSupportedVirtualMachineSkusOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SupportedSku[]> {\n let result: LocationListSupportedVirtualMachineSkusResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listSupportedVirtualMachineSkus(\n locationName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listSupportedVirtualMachineSkusNext(\n locationName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listSupportedVirtualMachineSkusPagingAll(\n locationName: string,\n options?: LocationListSupportedVirtualMachineSkusOptionalParams,\n ): AsyncIterableIterator<SupportedSku> {\n for await (const page of this.listSupportedVirtualMachineSkusPagingPage(\n locationName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets the Batch service quotas for the specified subscription at the given location.\n * @param locationName The region for which to retrieve Batch service quotas.\n * @param options The options parameters.\n */\n getQuotas(\n locationName: string,\n options?: LocationGetQuotasOptionalParams,\n ): Promise<LocationGetQuotasResponse> {\n return this.client.sendOperationRequest(\n { locationName, options },\n getQuotasOperationSpec,\n );\n }\n\n /**\n * Gets the list of Batch supported Virtual Machine VM sizes available at the given location.\n * @param locationName The region for which to retrieve Batch service supported SKUs.\n * @param options The options parameters.\n */\n private _listSupportedVirtualMachineSkus(\n locationName: string,\n options?: LocationListSupportedVirtualMachineSkusOptionalParams,\n ): Promise<LocationListSupportedVirtualMachineSkusResponse> {\n return this.client.sendOperationRequest(\n { locationName, options },\n listSupportedVirtualMachineSkusOperationSpec,\n );\n }\n\n /**\n * Checks whether the Batch account name is available in the specified region.\n * @param locationName The desired region for the name check.\n * @param parameters Properties needed to check the availability of a name.\n * @param options The options parameters.\n */\n checkNameAvailability(\n locationName: string,\n parameters: CheckNameAvailabilityParameters,\n options?: LocationCheckNameAvailabilityOptionalParams,\n ): Promise<LocationCheckNameAvailabilityResponse> {\n return this.client.sendOperationRequest(\n { locationName, parameters, options },\n checkNameAvailabilityOperationSpec,\n );\n }\n\n /**\n * ListSupportedVirtualMachineSkusNext\n * @param locationName The region for which to retrieve Batch service supported SKUs.\n * @param nextLink The nextLink from the previous successful call to the\n * ListSupportedVirtualMachineSkus method.\n * @param options The options parameters.\n */\n private _listSupportedVirtualMachineSkusNext(\n locationName: string,\n nextLink: string,\n options?: LocationListSupportedVirtualMachineSkusNextOptionalParams,\n ): Promise<LocationListSupportedVirtualMachineSkusNextResponse> {\n return this.client.sendOperationRequest(\n { locationName, nextLink, options },\n listSupportedVirtualMachineSkusNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getQuotasOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/quotas\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BatchLocationQuota,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.locationName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listSupportedVirtualMachineSkusOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/virtualMachineSkus\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SupportedSkusResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.maxresults,\n Parameters.filter,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.locationName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckNameAvailabilityResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters7,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.locationName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst listSupportedVirtualMachineSkusNextOperationSpec: coreClient.OperationSpec =\n {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SupportedSkusResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.locationName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n };\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { NetworkSecurityPerimeterOperations } from "../operationsInterfaces";
|
|
3
|
-
import { BatchManagementClient } from "../batchManagementClient";
|
|
2
|
+
import { NetworkSecurityPerimeterOperations } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { BatchManagementClient } from "../batchManagementClient.js";
|
|
4
4
|
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
-
import { NetworkSecurityPerimeterConfiguration, NetworkSecurityPerimeterListConfigurationsOptionalParams, NetworkSecurityPerimeterGetConfigurationOptionalParams, NetworkSecurityPerimeterGetConfigurationResponse, NetworkSecurityPerimeterReconcileConfigurationOptionalParams, NetworkSecurityPerimeterReconcileConfigurationResponse } from "../models";
|
|
5
|
+
import { NetworkSecurityPerimeterConfiguration, NetworkSecurityPerimeterListConfigurationsOptionalParams, NetworkSecurityPerimeterGetConfigurationOptionalParams, NetworkSecurityPerimeterGetConfigurationResponse, NetworkSecurityPerimeterReconcileConfigurationOptionalParams, NetworkSecurityPerimeterReconcileConfigurationResponse } from "../models/index.js";
|
|
6
6
|
/** Class containing NetworkSecurityPerimeterOperations operations. */
|
|
7
7
|
export declare class NetworkSecurityPerimeterOperationsImpl implements NetworkSecurityPerimeterOperations {
|
|
8
8
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"networkSecurityPerimeterOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/networkSecurityPerimeterOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,kCAAkC,EAAE,MAAM,kCAAkC,CAAC;AAItF,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,qCAAqC,EAErC,wDAAwD,EAExD,sDAAsD,EACtD,gDAAgD,EAChD,4DAA4D,EAC5D,sDAAsD,EAEvD,MAAM,oBAAoB,CAAC;AAG5B,sEAAsE;AACtE,qBAAa,sCACX,YAAW,kCAAkC;IAE7C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwB;IAE/C;;;OAGG;gBACS,MAAM,EAAE,qBAAqB;IAIzC;;;;;OAKG;IACI,kBAAkB,CACvB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,wDAAwD,GACjE,0BAA0B,CAAC,qCAAqC,CAAC;YA2BrD,4BAA4B;YAiC5B,2BAA2B;IAc1C;;;;;OAKG;IACH,OAAO,CAAC,mBAAmB;IAW3B;;;;;;;OAOG;IACH,gBAAgB,CACd,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,yCAAyC,EAAE,MAAM,EACjD,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CAAC,gDAAgD,CAAC;IAY5D;;;;;;;OAOG;IACG,2BAA2B,CAC/B,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,yCAAyC,EAAE,MAAM,EACjD,OAAO,CAAC,EAAE,4DAA4D,GACrE,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,sDAAsD,CAAC,EACtE,sDAAsD,CACvD,CACF;IA6DD;;;;;;;OAOG;IACG,kCAAkC,CACtC,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,yCAAyC,EAAE,MAAM,EACjD,OAAO,CAAC,EAAE,4DAA4D,GACrE,OAAO,CAAC,sDAAsD,CAAC;IAUlE;;;;;;OAMG;IACH,OAAO,CAAC,uBAAuB;CAWhC"}
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
13
|
import { createHttpPoller, } from "@azure/core-lro";
|
|
14
|
-
import { createLroSpec } from "../lroImpl";
|
|
14
|
+
import { createLroSpec } from "../lroImpl.js";
|
|
15
15
|
/// <reference lib="esnext.asynciterable" />
|
|
16
16
|
/** Class containing NetworkSecurityPerimeterOperations operations. */
|
|
17
17
|
export class NetworkSecurityPerimeterOperationsImpl {
|
|
@@ -118,48 +118,46 @@ export class NetworkSecurityPerimeterOperationsImpl {
|
|
|
118
118
|
* configuration
|
|
119
119
|
* @param options The options parameters.
|
|
120
120
|
*/
|
|
121
|
-
beginReconcileConfiguration(resourceGroupName, accountName, networkSecurityPerimeterConfigurationName, options) {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
142
|
-
},
|
|
143
|
-
};
|
|
144
|
-
});
|
|
145
|
-
const lro = createLroSpec({
|
|
146
|
-
sendOperationFn,
|
|
147
|
-
args: {
|
|
148
|
-
resourceGroupName,
|
|
149
|
-
accountName,
|
|
150
|
-
networkSecurityPerimeterConfigurationName,
|
|
151
|
-
options,
|
|
121
|
+
async beginReconcileConfiguration(resourceGroupName, accountName, networkSecurityPerimeterConfigurationName, options) {
|
|
122
|
+
const directSendOperation = async (args, spec) => {
|
|
123
|
+
return this.client.sendOperationRequest(args, spec);
|
|
124
|
+
};
|
|
125
|
+
const sendOperationFn = async (args, spec) => {
|
|
126
|
+
var _a;
|
|
127
|
+
let currentRawResponse = undefined;
|
|
128
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
129
|
+
const callback = (rawResponse, flatResponse) => {
|
|
130
|
+
currentRawResponse = rawResponse;
|
|
131
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
132
|
+
};
|
|
133
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
134
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
135
|
+
return {
|
|
136
|
+
flatResponse,
|
|
137
|
+
rawResponse: {
|
|
138
|
+
statusCode: currentRawResponse.status,
|
|
139
|
+
body: currentRawResponse.parsedBody,
|
|
140
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
152
141
|
},
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
const lro = createLroSpec({
|
|
145
|
+
sendOperationFn,
|
|
146
|
+
args: {
|
|
147
|
+
resourceGroupName,
|
|
148
|
+
accountName,
|
|
149
|
+
networkSecurityPerimeterConfigurationName,
|
|
150
|
+
options,
|
|
151
|
+
},
|
|
152
|
+
spec: reconcileConfigurationOperationSpec,
|
|
162
153
|
});
|
|
154
|
+
const poller = await createHttpPoller(lro, {
|
|
155
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
156
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
157
|
+
resourceLocationConfig: "location",
|
|
158
|
+
});
|
|
159
|
+
await poller.poll();
|
|
160
|
+
return poller;
|
|
163
161
|
}
|
|
164
162
|
/**
|
|
165
163
|
* Reconciles the specified NSP configuration.
|
|
@@ -169,11 +167,9 @@ export class NetworkSecurityPerimeterOperationsImpl {
|
|
|
169
167
|
* configuration
|
|
170
168
|
* @param options The options parameters.
|
|
171
169
|
*/
|
|
172
|
-
beginReconcileConfigurationAndWait(resourceGroupName, accountName, networkSecurityPerimeterConfigurationName, options) {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
return poller.pollUntilDone();
|
|
176
|
-
});
|
|
170
|
+
async beginReconcileConfigurationAndWait(resourceGroupName, accountName, networkSecurityPerimeterConfigurationName, options) {
|
|
171
|
+
const poller = await this.beginReconcileConfiguration(resourceGroupName, accountName, networkSecurityPerimeterConfigurationName, options);
|
|
172
|
+
return poller.pollUntilDone();
|
|
177
173
|
}
|
|
178
174
|
/**
|
|
179
175
|
* ListConfigurationsNext
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"networkSecurityPerimeterOperations.js","sourceRoot":"","sources":["../../../src/operations/networkSecurityPerimeterOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAa9C,4CAA4C;AAC5C,sEAAsE;AACtE,MAAM,OAAO,sCAAsC;IAKjD;;;OAGG;IACH,YAAY,MAA6B;QACvC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,kBAAkB,CACvB,iBAAyB,EACzB,WAAmB,EACnB,OAAkE;QAElE,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAC3C,iBAAiB,EACjB,WAAW,EACX,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IA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AuN;IAC7N,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,aAAa,EACX,OAAO,CAAC,qDAAqD;SAChE;QACD,GAAG,EAAE;YACH,aAAa,EACX,OAAO,CAAC,qDAAqD;SAChE;QACD,GAAG,EAAE;YACH,aAAa,EACX,OAAO,CAAC,qDAAqD;SAChE;QACD,GAAG,EAAE;YACH,aAAa,EACX,OAAO,CAAC,qDAAqD;SAChE;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,yCAAyC;KACrD;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,+CAA+C;SACpE;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { NetworkSecurityPerimeterOperations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { BatchManagementClient } from \"../batchManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n NetworkSecurityPerimeterConfiguration,\n NetworkSecurityPerimeterListConfigurationsNextOptionalParams,\n NetworkSecurityPerimeterListConfigurationsOptionalParams,\n NetworkSecurityPerimeterListConfigurationsResponse,\n NetworkSecurityPerimeterGetConfigurationOptionalParams,\n NetworkSecurityPerimeterGetConfigurationResponse,\n NetworkSecurityPerimeterReconcileConfigurationOptionalParams,\n NetworkSecurityPerimeterReconcileConfigurationResponse,\n NetworkSecurityPerimeterListConfigurationsNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing NetworkSecurityPerimeterOperations operations. */\nexport class NetworkSecurityPerimeterOperationsImpl\n implements NetworkSecurityPerimeterOperations\n{\n private readonly client: BatchManagementClient;\n\n /**\n * Initialize a new instance of the class NetworkSecurityPerimeterOperations class.\n * @param client Reference to the service client\n */\n constructor(client: BatchManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the NSP configurations in the specified account.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n public listConfigurations(\n resourceGroupName: string,\n accountName: string,\n options?: NetworkSecurityPerimeterListConfigurationsOptionalParams,\n ): PagedAsyncIterableIterator<NetworkSecurityPerimeterConfiguration> {\n const iter = this.listConfigurationsPagingAll(\n resourceGroupName,\n accountName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listConfigurationsPagingPage(\n resourceGroupName,\n accountName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listConfigurationsPagingPage(\n resourceGroupName: string,\n accountName: string,\n options?: NetworkSecurityPerimeterListConfigurationsOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<NetworkSecurityPerimeterConfiguration[]> {\n let result: NetworkSecurityPerimeterListConfigurationsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listConfigurations(\n resourceGroupName,\n accountName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listConfigurationsNext(\n resourceGroupName,\n accountName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listConfigurationsPagingAll(\n resourceGroupName: string,\n accountName: string,\n options?: NetworkSecurityPerimeterListConfigurationsOptionalParams,\n ): AsyncIterableIterator<NetworkSecurityPerimeterConfiguration> {\n for await (const page of this.listConfigurationsPagingPage(\n resourceGroupName,\n accountName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the NSP configurations in the specified account.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n private _listConfigurations(\n resourceGroupName: string,\n accountName: string,\n options?: NetworkSecurityPerimeterListConfigurationsOptionalParams,\n ): Promise<NetworkSecurityPerimeterListConfigurationsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listConfigurationsOperationSpec,\n );\n }\n\n /**\n * Gets information about the specified NSP configuration.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param networkSecurityPerimeterConfigurationName The name for Network Security Perimeter\n * configuration\n * @param options The options parameters.\n */\n getConfiguration(\n resourceGroupName: string,\n accountName: string,\n networkSecurityPerimeterConfigurationName: string,\n options?: NetworkSecurityPerimeterGetConfigurationOptionalParams,\n ): Promise<NetworkSecurityPerimeterGetConfigurationResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n accountName,\n networkSecurityPerimeterConfigurationName,\n options,\n },\n getConfigurationOperationSpec,\n );\n }\n\n /**\n * Reconciles the specified NSP configuration.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param networkSecurityPerimeterConfigurationName The name for Network Security Perimeter\n * configuration\n * @param options The options parameters.\n */\n async beginReconcileConfiguration(\n resourceGroupName: string,\n accountName: string,\n networkSecurityPerimeterConfigurationName: string,\n options?: NetworkSecurityPerimeterReconcileConfigurationOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<NetworkSecurityPerimeterReconcileConfigurationResponse>,\n NetworkSecurityPerimeterReconcileConfigurationResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<NetworkSecurityPerimeterReconcileConfigurationResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n accountName,\n networkSecurityPerimeterConfigurationName,\n options,\n },\n spec: reconcileConfigurationOperationSpec,\n });\n const poller = await createHttpPoller<\n NetworkSecurityPerimeterReconcileConfigurationResponse,\n OperationState<NetworkSecurityPerimeterReconcileConfigurationResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Reconciles the specified NSP configuration.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param networkSecurityPerimeterConfigurationName The name for Network Security Perimeter\n * configuration\n * @param options The options parameters.\n */\n async beginReconcileConfigurationAndWait(\n resourceGroupName: string,\n accountName: string,\n networkSecurityPerimeterConfigurationName: string,\n options?: NetworkSecurityPerimeterReconcileConfigurationOptionalParams,\n ): Promise<NetworkSecurityPerimeterReconcileConfigurationResponse> {\n const poller = await this.beginReconcileConfiguration(\n resourceGroupName,\n accountName,\n networkSecurityPerimeterConfigurationName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListConfigurationsNext\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param nextLink The nextLink from the previous successful call to the ListConfigurations method.\n * @param options The options parameters.\n */\n private _listConfigurationsNext(\n resourceGroupName: string,\n accountName: string,\n nextLink: string,\n options?: NetworkSecurityPerimeterListConfigurationsNextOptionalParams,\n ): Promise<NetworkSecurityPerimeterListConfigurationsNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, nextLink, options },\n listConfigurationsNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listConfigurationsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/networkSecurityPerimeterConfigurations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NetworkSecurityPerimeterConfigurationListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getConfigurationOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NetworkSecurityPerimeterConfiguration,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.networkSecurityPerimeterConfigurationName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst reconcileConfigurationOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}/reconcile\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper:\n Mappers.NetworkSecurityPerimeterReconcileConfigurationHeaders,\n },\n 201: {\n headersMapper:\n Mappers.NetworkSecurityPerimeterReconcileConfigurationHeaders,\n },\n 202: {\n headersMapper:\n Mappers.NetworkSecurityPerimeterReconcileConfigurationHeaders,\n },\n 204: {\n headersMapper:\n Mappers.NetworkSecurityPerimeterReconcileConfigurationHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.networkSecurityPerimeterConfigurationName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listConfigurationsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NetworkSecurityPerimeterConfigurationListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Operations } from "../operationsInterfaces";
|
|
3
|
-
import { BatchManagementClient } from "../batchManagementClient";
|
|
4
|
-
import { Operation, OperationsListOptionalParams } from "../models";
|
|
2
|
+
import { Operations } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { BatchManagementClient } from "../batchManagementClient.js";
|
|
4
|
+
import { Operation, OperationsListOptionalParams } from "../models/index.js";
|
|
5
5
|
/** Class containing Operations operations. */
|
|
6
6
|
export declare class OperationsImpl implements Operations {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EACL,SAAS,EAET,4BAA4B,EAG7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwB;IAE/C;;;OAGG;gBACS,MAAM,EAAE,qBAAqB;IAIzC;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAkBzB,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
13
|
/// <reference lib="esnext.asynciterable" />
|
|
14
14
|
/** Class containing Operations operations. */
|
|
15
15
|
export class OperationsImpl {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAA6B;QACvC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CA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BAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { BatchManagementClient } from \"../batchManagementClient.js\";\nimport {\n Operation,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: BatchManagementClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: BatchManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists available operations for the Microsoft.Batch provider\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams,\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams,\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists available operations for the Microsoft.Batch provider\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams,\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: OperationsListNextOptionalParams,\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Batch/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { PoolOperations } from "../operationsInterfaces";
|
|
3
|
-
import { BatchManagementClient } from "../batchManagementClient";
|
|
2
|
+
import { PoolOperations } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { BatchManagementClient } from "../batchManagementClient.js";
|
|
4
4
|
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
-
import { Pool, PoolListByBatchAccountOptionalParams, PoolCreateOptionalParams, PoolCreateResponse, PoolUpdateOptionalParams, PoolUpdateResponse, PoolDeleteOptionalParams, PoolGetOptionalParams, PoolGetResponse, PoolDisableAutoScaleOptionalParams, PoolDisableAutoScaleResponse, PoolStopResizeOptionalParams, PoolStopResizeResponse } from "../models";
|
|
5
|
+
import { Pool, PoolListByBatchAccountOptionalParams, PoolCreateOptionalParams, PoolCreateResponse, PoolUpdateOptionalParams, PoolUpdateResponse, PoolDeleteOptionalParams, PoolGetOptionalParams, PoolGetResponse, PoolDisableAutoScaleOptionalParams, PoolDisableAutoScaleResponse, PoolStopResizeOptionalParams, PoolStopResizeResponse } from "../models/index.js";
|
|
6
6
|
/** Class containing PoolOperations operations. */
|
|
7
7
|
export declare class PoolOperationsImpl implements PoolOperations {
|
|
8
8
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"poolOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/poolOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIlE,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,IAAI,EAEJ,oCAAoC,EAEpC,wBAAwB,EACxB,kBAAkB,EAClB,wBAAwB,EACxB,kBAAkB,EAClB,wBAAwB,EACxB,qBAAqB,EACrB,eAAe,EACf,kCAA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