From 51630099caf39109968b1b1b03bb35f110e41d6b Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 23 Oct 2024 03:41:12 +0000 Subject: [PATCH] CodeGen from PR 3536 in test-repo-billy/azure-rest-api-specs Merge f568df0c21e46453a553de14124dd0918d28533c into 6c6e1713f03acaf37e5c89652b023dd2c9eae16e --- common/config/rush/pnpm-lock.yaml | 836 +++++----- .../arm-mongocluster/.eslintrc.json | 14 - .../arm-mongocluster/CHANGELOG.md | 13 - sdk/mongocluster/arm-mongocluster/README.md | 20 +- sdk/mongocluster/arm-mongocluster/_meta.json | 8 + .../arm-mongocluster/api-extractor.json | 27 +- sdk/mongocluster/arm-mongocluster/assets.json | 6 - .../arm-mongocluster/package.json | 232 +-- .../review/arm-mongocluster-api.api.md | 88 - .../review/arm-mongocluster-models.api.md | 416 ----- .../review/arm-mongocluster.api.md | 557 +++++-- sdk/mongocluster/arm-mongocluster/sample.env | 4 + .../src/api/firewallRules/index.ts | 370 ----- .../arm-mongocluster/src/api/index.ts | 32 - .../src/api/mongoClusterManagementContext.ts | 30 - .../src/api/mongoClusters/index.ts | 1015 ------------ .../src/api/operations/index.ts | 68 - .../arm-mongocluster/src/api/pagingHelpers.ts | 171 -- .../src/api/pollingHelpers.ts | 128 -- .../api/privateEndpointConnections/index.ts | 410 ----- .../src/api/privateLinks/index.ts | 106 -- .../src/classic/firewallRules/index.ts | 121 -- .../arm-mongocluster/src/classic/index.ts | 8 - .../src/classic/mongoClusters/index.ts | 157 -- .../src/classic/operations/index.ts | 26 - .../privateEndpointConnections/index.ts | 124 -- .../src/classic/privateLinks/index.ts | 44 - .../src/helpers/serializerHelpers.ts | 36 - .../arm-mongocluster/src/index.ts | 101 +- .../arm-mongocluster/src/logger.ts | 5 - .../arm-mongocluster/src/lroImpl.ts | 42 + .../arm-mongocluster/src/models/index.ts | 1272 ++++++++++++++- .../arm-mongocluster/src/models/mappers.ts | 1434 +++++++++++++++++ .../arm-mongocluster/src/models/models.ts | 721 --------- .../arm-mongocluster/src/models/options.ts | 80 - .../src/models/pagingTypes.ts | 79 - .../arm-mongocluster/src/models/parameters.ts | 194 +++ .../src/mongoClusterManagementClient.ts | 69 - .../src/mongoClusterManagementClientTest.ts | 165 ++ .../src/operations/firewallRules.ts | 519 ++++++ .../arm-mongocluster/src/operations/index.ts | 14 + .../src/operations/mongoClusters.ts | 942 +++++++++++ .../src/operations/operations.ts | 149 ++ .../operations/privateEndpointConnections.ts | 536 ++++++ .../src/operations/privateLinks.ts | 201 +++ .../src/operations/replicas.ts | 201 +++ .../src/operationsInterfaces/firewallRules.ts | 115 ++ .../src/operationsInterfaces/index.ts | 14 + .../src/operationsInterfaces/mongoClusters.ts | 211 +++ .../src/operationsInterfaces/operations.ts | 22 + .../privateEndpointConnections.ts | 120 ++ .../src/operationsInterfaces/privateLinks.ts | 29 + .../src/operationsInterfaces/replicas.ts | 26 + .../arm-mongocluster/src/pagingHelper.ts | 39 + .../src/rest/clientDefinitions.ts | 300 ---- .../src/rest/documentDBClient.ts | 61 - .../arm-mongocluster/src/rest/index.ts | 16 - .../arm-mongocluster/src/rest/isUnexpected.ts | 339 ---- .../arm-mongocluster/src/rest/models.ts | 287 ---- .../arm-mongocluster/src/rest/outputModels.ts | 417 ----- .../src/rest/paginateHelper.ts | 131 -- .../arm-mongocluster/src/rest/parameters.ts | 64 - .../src/rest/pollingHelper.ts | 306 ---- .../arm-mongocluster/src/rest/responses.ts | 354 ---- .../src/restorePollerHelpers.ts | 168 -- .../public/mongoclusterOperations.spec.ts | 155 -- .../node/privateEndpointConnections.spec.ts | 240 --- .../test/public/utils/recordedClient.ts | 27 - .../arm-mongocluster/test/sampleTest.ts | 43 + .../tsconfig.browser.config.json | 10 - .../arm-mongocluster/tsconfig.json | 30 +- .../arm-mongocluster/tsp-location.yaml | 4 - .../arm-mongocluster/vitest.browser.config.ts | 37 - .../arm-mongocluster/vitest.config.ts | 33 - 74 files changed, 7233 insertions(+), 8156 deletions(-) delete mode 100644 sdk/mongocluster/arm-mongocluster/.eslintrc.json delete mode 100644 sdk/mongocluster/arm-mongocluster/CHANGELOG.md create mode 100644 sdk/mongocluster/arm-mongocluster/_meta.json delete mode 100644 sdk/mongocluster/arm-mongocluster/assets.json delete mode 100644 sdk/mongocluster/arm-mongocluster/review/arm-mongocluster-api.api.md delete mode 100644 sdk/mongocluster/arm-mongocluster/review/arm-mongocluster-models.api.md create mode 100644 sdk/mongocluster/arm-mongocluster/sample.env delete mode 100644 sdk/mongocluster/arm-mongocluster/src/api/firewallRules/index.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/api/index.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/api/mongoClusterManagementContext.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/api/mongoClusters/index.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/api/operations/index.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/api/pagingHelpers.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/api/pollingHelpers.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/api/privateEndpointConnections/index.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/api/privateLinks/index.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/classic/firewallRules/index.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/classic/index.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/classic/mongoClusters/index.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/classic/operations/index.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/classic/privateEndpointConnections/index.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/classic/privateLinks/index.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/helpers/serializerHelpers.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/logger.ts create mode 100644 sdk/mongocluster/arm-mongocluster/src/lroImpl.ts create mode 100644 sdk/mongocluster/arm-mongocluster/src/models/mappers.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/models/models.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/models/options.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/models/pagingTypes.ts create mode 100644 sdk/mongocluster/arm-mongocluster/src/models/parameters.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/mongoClusterManagementClient.ts create mode 100644 sdk/mongocluster/arm-mongocluster/src/mongoClusterManagementClientTest.ts create mode 100644 sdk/mongocluster/arm-mongocluster/src/operations/firewallRules.ts create mode 100644 sdk/mongocluster/arm-mongocluster/src/operations/index.ts create mode 100644 sdk/mongocluster/arm-mongocluster/src/operations/mongoClusters.ts create mode 100644 sdk/mongocluster/arm-mongocluster/src/operations/operations.ts create mode 100644 sdk/mongocluster/arm-mongocluster/src/operations/privateEndpointConnections.ts create mode 100644 sdk/mongocluster/arm-mongocluster/src/operations/privateLinks.ts create mode 100644 sdk/mongocluster/arm-mongocluster/src/operations/replicas.ts create mode 100644 sdk/mongocluster/arm-mongocluster/src/operationsInterfaces/firewallRules.ts create mode 100644 sdk/mongocluster/arm-mongocluster/src/operationsInterfaces/index.ts create mode 100644 sdk/mongocluster/arm-mongocluster/src/operationsInterfaces/mongoClusters.ts create mode 100644 sdk/mongocluster/arm-mongocluster/src/operationsInterfaces/operations.ts create mode 100644 sdk/mongocluster/arm-mongocluster/src/operationsInterfaces/privateEndpointConnections.ts create mode 100644 sdk/mongocluster/arm-mongocluster/src/operationsInterfaces/privateLinks.ts create mode 100644 sdk/mongocluster/arm-mongocluster/src/operationsInterfaces/replicas.ts create mode 100644 sdk/mongocluster/arm-mongocluster/src/pagingHelper.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/rest/clientDefinitions.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/rest/documentDBClient.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/rest/index.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/rest/isUnexpected.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/rest/models.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/rest/outputModels.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/rest/paginateHelper.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/rest/parameters.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/rest/pollingHelper.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/rest/responses.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/src/restorePollerHelpers.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/test/public/mongoclusterOperations.spec.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/test/public/node/privateEndpointConnections.spec.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/test/public/utils/recordedClient.ts create mode 100644 sdk/mongocluster/arm-mongocluster/test/sampleTest.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/tsconfig.browser.config.json delete mode 100644 sdk/mongocluster/arm-mongocluster/tsp-location.yaml delete mode 100644 sdk/mongocluster/arm-mongocluster/vitest.browser.config.ts delete mode 100644 sdk/mongocluster/arm-mongocluster/vitest.config.ts diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 002b3c1a4f27..b2baa5248090 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -11009,6 +11009,12 @@ packages: hasBin: true dev: false + /typescript@5.6.3: + resolution: {integrity: sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==} + engines: {node: '>=14.17'} + hasBin: true + dev: false + /ua-parser-js@0.7.38: resolution: {integrity: sha512-fYmIy7fKTSFAhG3fuPlubeGaMoAd6r0rSnfEsO5nEY55i26KSLt9EH7PLQiiqPUhNqYIJvSkTy1oArIcXAbPbA==} dev: false @@ -11715,7 +11721,7 @@ packages: dev: false file:projects/abort-controller.tgz: - resolution: {integrity: sha512-5SQ2VOSLdJ9YuZeYoc+9HlTupWC4dM9Hqqp+DneLOvgeS/3N6dbEyHrlvcVKcsOdlw5+VdFiSMR+nrI9uifilQ==, tarball: file:projects/abort-controller.tgz} + resolution: {integrity: sha512-t2N03m2Q5O1f2XqDWqIw/LdOg1+7nT3PpBIXgT3U268H2kCSKbjSjIqK4ucEMMFe7Bml9snewVFmxPckUkq58w==, tarball: file:projects/abort-controller.tgz} name: '@rush-temp/abort-controller' version: 0.0.0 dependencies: @@ -11750,7 +11756,7 @@ packages: dev: false file:projects/agrifood-farming.tgz: - resolution: {integrity: sha512-2Tw2vVl4liajcKpa0jnb3FJYV4Zgf87HWBTGkLGEqPHxJ7/M2TbK9guKm6/cIKdUwi3vdOsdxGDnZ9o4JWdtSg==, tarball: file:projects/agrifood-farming.tgz} + resolution: {integrity: sha512-qsbgUXp/2RcQCa+sDOQ6/J2CKlvsxRR6R2XGX3gjxSRNOSTf3TaBr3T6AEL9ZINSaPPLzVLJr2L3sqdWgt6dRw==, tarball: file:projects/agrifood-farming.tgz} name: '@rush-temp/agrifood-farming' version: 0.0.0 dependencies: @@ -11797,7 +11803,7 @@ packages: dev: false file:projects/ai-anomaly-detector.tgz: - resolution: {integrity: sha512-70Gk1gY+TS+T4iZDM79vBBDkmnk3TWh/KVzui4HVVDaRmLoS3TiJeWgCQDErAZ4Nkhwil8Z96vrOfjNmLRfH2w==, tarball: file:projects/ai-anomaly-detector.tgz} + resolution: {integrity: sha512-rzByqDmaaneWm0SE34/dARzxW8OHa7PXg6TwMalLADA5iauKvhp0O86igHMyCrDbTvLLH4iGXxt6B7J8Mg9IRQ==, tarball: file:projects/ai-anomaly-detector.tgz} name: '@rush-temp/ai-anomaly-detector' version: 0.0.0 dependencies: @@ -11844,7 +11850,7 @@ packages: dev: false file:projects/ai-content-safety.tgz: - resolution: {integrity: sha512-+ZubJgUKJpj5LvlUyz52Ds5rbw5OIvPPpMChF9bjVYft6qcY69C81UtUV7tlNx5lvWzbXly4El1zeJgN6TWn0A==, tarball: file:projects/ai-content-safety.tgz} + resolution: {integrity: sha512-b3ksHaPHKhw7AND4BCk1aRpiC47MZoEhbk223qDOFkmu0PDnEpPqOPWlSA89meXc5/89H9dBoJl06bquFmFagg==, tarball: file:projects/ai-content-safety.tgz} name: '@rush-temp/ai-content-safety' version: 0.0.0 dependencies: @@ -11889,7 +11895,7 @@ packages: dev: false file:projects/ai-document-intelligence.tgz: - resolution: {integrity: sha512-vz9jPN1VeITQ9J8Z5W4FaW4TpWHGyOH4BrudrSX3clGLVdFDY9tzUVyAC5a4EQA5mJluMpVCtLzLNHhBe8Ki4w==, tarball: file:projects/ai-document-intelligence.tgz} + resolution: {integrity: sha512-cbX3F12y9Yq0fCDXKAntgROx1E6zWDA+WXSnTf5B3FVNckm1x9OCFz1FBaYIuFPr6zR3r5jz0jbAAnJ9KHFxGw==, tarball: file:projects/ai-document-intelligence.tgz} name: '@rush-temp/ai-document-intelligence' version: 0.0.0 dependencies: @@ -11952,7 +11958,7 @@ packages: dev: false file:projects/ai-document-translator.tgz: - resolution: {integrity: sha512-GB4F37Agq20zlNVQttSMq9f7/22kWm0ut8v4AiAiCMRLFm+7EKYQiQcY2dPUd+paygunKor168mJM7l49HLf4Q==, tarball: file:projects/ai-document-translator.tgz} + resolution: {integrity: sha512-bgqrkta2DzAJ15+YteEQCibw05OMI2TzbLlDE6SpGUg1gXAdCymm4dxpduNKiesFmC51WcP+ohZkuNGryFgBmg==, tarball: file:projects/ai-document-translator.tgz} name: '@rush-temp/ai-document-translator' version: 0.0.0 dependencies: @@ -11997,7 +12003,7 @@ packages: dev: false file:projects/ai-form-recognizer.tgz: - resolution: {integrity: sha512-izUpXM5lDqrG/FkQWd8JMRh85pd61fDefl5mYiTYQu57bLlc9Tnp29eTBNlNg1x63Il3oM1gsvLxD75TtoCwag==, tarball: file:projects/ai-form-recognizer.tgz} + resolution: {integrity: sha512-uUPHW/g4qfJv9xoilcgVHKr1QNvf/rW/ARCXsd1axpRlATZSs+dDu0mS7/MH0yZZjd6a00C/caY+P6B6Ac2s/A==, tarball: file:projects/ai-form-recognizer.tgz} name: '@rush-temp/ai-form-recognizer' version: 0.0.0 dependencies: @@ -12045,7 +12051,7 @@ packages: dev: false file:projects/ai-inference.tgz: - resolution: {integrity: sha512-C4EqlGgeIbJY0+yopCkm83HlIOoW0a7IcD3AJfssZ3VwavSBnXJ1kKlhL6fDi65PloumqNWONTRdqIrw6bKwAw==, tarball: file:projects/ai-inference.tgz} + resolution: {integrity: sha512-7KzF0Ua3Veeky0DNJ5LpW2FHqcnF6zp4W+zHNIPHVUS3UPsShfQYp+zeyubWAntZB5bTWN60lSqaNe89eJzctA==, tarball: file:projects/ai-inference.tgz} name: '@rush-temp/ai-inference' version: 0.0.0 dependencies: @@ -12087,7 +12093,7 @@ packages: dev: false file:projects/ai-language-conversations.tgz: - resolution: {integrity: sha512-U4hFRyz3RnKK09u8g05r3LSXfLSbU/nOnNAQl/euAN2FTXB5uV/i/KBzoDNmuiL4QgJqG1DKJR5tmxkqGRwrnA==, tarball: file:projects/ai-language-conversations.tgz} + resolution: {integrity: sha512-1MHjPdQAJiC79NNOmcp0ik0PMHTEUa5S1cnf3c7H8V0X61WP8FZfv0Z55pLf7yzXZlCjsRcBL9hQCyZnreua7Q==, tarball: file:projects/ai-language-conversations.tgz} name: '@rush-temp/ai-language-conversations' version: 0.0.0 dependencies: @@ -12136,7 +12142,7 @@ packages: dev: false file:projects/ai-language-text.tgz: - resolution: {integrity: sha512-q3dXSmrguMJ2s7uEFSTlzGgHWZGetXkjKAjDxMuADz02eLOLOIvSRBGEZmLunr88dLK6T5VT2Oi0zJd3vCb0tA==, tarball: file:projects/ai-language-text.tgz} + resolution: {integrity: sha512-A0kTkhDM8gDmqPLqPMNvEZAJIlr0S0plbLaTrTFPgOqV7tQ5+bvXJ4Z0ivvy3KqrHEdtSfo/mzu2PoY2FgKIzA==, tarball: file:projects/ai-language-text.tgz} name: '@rush-temp/ai-language-text' version: 0.0.0 dependencies: @@ -12186,7 +12192,7 @@ packages: dev: false file:projects/ai-language-textauthoring.tgz: - resolution: {integrity: sha512-wXY0hmfLnoX/QUm7162liqVwLbbK+5Wz5HKkQ13kFx0VD46+RulZvEzCGpLJzuZwZMcVe5Fmx5/cc99apBZHjA==, tarball: file:projects/ai-language-textauthoring.tgz} + resolution: {integrity: sha512-7aAZaIE6ahWWMxXrKlZM93wDSgZZOKX4LslsHX/sraizWXyR22lMKTdKijRHuVBA5xjBRVYOZluYrJx8A6zMRg==, tarball: file:projects/ai-language-textauthoring.tgz} name: '@rush-temp/ai-language-textauthoring' version: 0.0.0 dependencies: @@ -12213,7 +12219,7 @@ packages: dev: false file:projects/ai-metrics-advisor.tgz: - resolution: {integrity: sha512-qAI5xIRUS+Ty+eY9S+gLEkotKTSab8Q6+dOGlKaPg72hfPCITvmMUp55CT/ymb9lII1e5TJucB68eoIK7KUOOA==, tarball: file:projects/ai-metrics-advisor.tgz} + resolution: {integrity: sha512-Tj+0tIDSDdm2LdIuXTejBPxBgy0gsPU8mBBVBbHKeIb+FasY6yYhc0od5JqAC3l9u5zHXynQydpiYr20Zndb6w==, tarball: file:projects/ai-metrics-advisor.tgz} name: '@rush-temp/ai-metrics-advisor' version: 0.0.0 dependencies: @@ -12258,7 +12264,7 @@ packages: dev: false file:projects/ai-text-analytics.tgz: - resolution: {integrity: sha512-9AE3KXidyFXViHMYmRWM7WJEg53GZT/h6s+HW5ZEBT566w3KqBU+p+F73H2prhtB7a2qliFImje5qZtaIXAGrA==, tarball: file:projects/ai-text-analytics.tgz} + resolution: {integrity: sha512-pktlY1MIP1+oLYzxroYsIAe/W9oxBZ0XziTtxGTWI1AXowXMsF0wtPGp5g+m7SXEtd3p1kGQjF+ZnZSbLUUwYw==, tarball: file:projects/ai-text-analytics.tgz} name: '@rush-temp/ai-text-analytics' version: 0.0.0 dependencies: @@ -12305,7 +12311,7 @@ packages: dev: false file:projects/ai-translation-document.tgz: - resolution: {integrity: sha512-EEwkqS2wW2H4NIdi1wihLIaybaUGQ/8F7v0CQAHycmxJ4xLrE4rRL0Wa455Qvn6Af67mzg9iULbzjsSXDodnMA==, tarball: file:projects/ai-translation-document.tgz} + resolution: {integrity: sha512-Tw+2Hq6vZWvExcnQQePXdpahwrWGNqiuMH4Yz6JA88hZ0xuDGmibDAZggsm01JgJ3T1FD558AHhoOJETxtzUvA==, tarball: file:projects/ai-translation-document.tgz} name: '@rush-temp/ai-translation-document' version: 0.0.0 dependencies: @@ -12352,7 +12358,7 @@ packages: dev: false file:projects/ai-translation-text.tgz: - resolution: {integrity: sha512-p3TGmnsHnU7VgkCFrN0Z1ZvV6Wi8RaNMXC7dVMl6pdBsmQfhXvTvU6v5MJB6wG2VosDPuObYl0xZBmA8+/dzyg==, tarball: file:projects/ai-translation-text.tgz} + resolution: {integrity: sha512-qP0fJHmK6pvXHkr/+8VRiaEnMSIDLKA6e/BLWa4191Rs7sY7JHN65mpnaJr6f5AGarsM9DioGCR4vVNVlOZN2A==, tarball: file:projects/ai-translation-text.tgz} name: '@rush-temp/ai-translation-text' version: 0.0.0 dependencies: @@ -12397,7 +12403,7 @@ packages: dev: false file:projects/ai-vision-face.tgz: - resolution: {integrity: sha512-WVW75pbkZJ6N4c9sdY+fn24vbWueRiLYWUcktvHvJuDjET9JmoOc4/h8TRIJwc/3lxTMFoDqVbvpxB1t+Ut1yQ==, tarball: file:projects/ai-vision-face.tgz} + resolution: {integrity: sha512-QJ30PW51/kj1Qy8M+vju6MQkiLfwVwDKUlvLieElC5vd8qPq5kZ7b1CVnLpH5hosCHC+RqZxRus5DVw+nrqVKg==, tarball: file:projects/ai-vision-face.tgz} name: '@rush-temp/ai-vision-face' version: 0.0.0 dependencies: @@ -12437,7 +12443,7 @@ packages: dev: false file:projects/ai-vision-image-analysis.tgz: - resolution: {integrity: sha512-quBse7zWSrsGm/dUbG82gOGODp1xzhRmtleMYICuiH0NRa42ieWERLSQoGboWZcnt1AvnPDJEGPB1r18CGC0lQ==, tarball: file:projects/ai-vision-image-analysis.tgz} + resolution: {integrity: sha512-QfHG2jBEfs0+PK0aTSGABk2KzFAsXxMeIhh2holZ5g8odJR316/mei4xFHXTIY01L69SZPb9aSiWu+gMAv8LDw==, tarball: file:projects/ai-vision-image-analysis.tgz} name: '@rush-temp/ai-vision-image-analysis' version: 0.0.0 dependencies: @@ -12482,7 +12488,7 @@ packages: dev: false file:projects/api-management-custom-widgets-scaffolder.tgz: - resolution: {integrity: sha512-bk111O/cjShY+qA1axkdLiP5O8JNvYQlOF9fRplp95Ehh3JLkgJ2GZXT/1fCpoQEtdVngLReigaz+bLc2aJ9yg==, tarball: file:projects/api-management-custom-widgets-scaffolder.tgz} + resolution: {integrity: sha512-XMdrub7S8KrXg9Z7DTZwGBli7ZxXKttvMcZWNoUC5j4/ps0vNpy0aS41oTdzwmi4FjGwhSxF6vGKT85cd5oh+g==, tarball: file:projects/api-management-custom-widgets-scaffolder.tgz} name: '@rush-temp/api-management-custom-widgets-scaffolder' version: 0.0.0 dependencies: @@ -12525,7 +12531,7 @@ packages: dev: false file:projects/api-management-custom-widgets-tools.tgz: - resolution: {integrity: sha512-+XCmKtOCgvIai0ldV0vKlQ08n4Wtx708j/iqDS2SSzZ87yN/BfigjIZoiOmcpCXkirPR6H9oJ5Pq12nwGnvQGQ==, tarball: file:projects/api-management-custom-widgets-tools.tgz} + resolution: {integrity: sha512-z6bwbpMyzlg0tw5yOv5PpArO+pLxBuTlrmg4mfF6BkY6QRtculBzRbRqynUn+a5ad9Wp3nP+78f3VB9ivP6Rrw==, tarball: file:projects/api-management-custom-widgets-tools.tgz} name: '@rush-temp/api-management-custom-widgets-tools' version: 0.0.0 dependencies: @@ -12564,7 +12570,7 @@ packages: dev: false file:projects/app-configuration.tgz: - resolution: {integrity: sha512-GNm9EJlFjXy76j3naUD3x3E8b6cSxGH/Zv+6E3n+uh8X9cKfLrlPEFE90PctShfjVtU1zzfczWRjY1pner6jqw==, tarball: file:projects/app-configuration.tgz} + resolution: {integrity: sha512-ZS2tVcfCyGSzFxeEx10vvJ2M0aeau+oBI7RxIu+96q/F+G/CifNNQ08WJGLxqqWJ0A2QqYoL7smGLOVGzUJFXQ==, tarball: file:projects/app-configuration.tgz} name: '@rush-temp/app-configuration' version: 0.0.0 dependencies: @@ -12605,7 +12611,7 @@ packages: dev: false file:projects/arm-advisor.tgz: - resolution: {integrity: sha512-ONDZvrOim69rDzQBWt543U5MKPMRStHQEzC16TH/oI8ZygTY84QYTcIWz3FDRwS4lBSZ0Z72TqugbDODzM3++w==, tarball: file:projects/arm-advisor.tgz} + resolution: {integrity: sha512-7uVXn38MP0I7Z+N8ZhIfrCABbTGDyGUx32sDJnBKYUPjlVqNrYWpVg60fHO+ctJiyYCKkVMK2j7ylLFXwa6nLg==, tarball: file:projects/arm-advisor.tgz} name: '@rush-temp/arm-advisor' version: 0.0.0 dependencies: @@ -12633,7 +12639,7 @@ packages: dev: false file:projects/arm-agrifood.tgz: - resolution: {integrity: sha512-i1ek0oxoPQwE8tPgFTLIuXwiZKWiasqgMRQr+/dRqKSgGy/hhzs+Gn/jGaotoSZUy0x2RRPZbj9py37h6hlUEg==, tarball: file:projects/arm-agrifood.tgz} + resolution: {integrity: sha512-jsPaiebyJktur3n88Qm3T2GQXvUADvxtcUeJ4SrQ6dMJ/kG2RkXv0DZLKTqmN24+yutdmTtRMjDDTcMU2YcPow==, tarball: file:projects/arm-agrifood.tgz} name: '@rush-temp/arm-agrifood' version: 0.0.0 dependencies: @@ -12662,7 +12668,7 @@ packages: dev: false file:projects/arm-analysisservices.tgz: - resolution: {integrity: sha512-qsgQGqt6ljAq0Hmtzp7XWSxvjd9MCE7+q/kjfndlJYx8J6TDMY1smP/aWemHcF7Xmd/bwVjTnPCuTmxWggIpXQ==, tarball: file:projects/arm-analysisservices.tgz} + resolution: {integrity: sha512-a0Ja/CJHta1gcIVwDv6n+U42KnLIqrw1IBqfl1D+bsVN5wpkDOAvt++qpxh1Ky+8aWkjWgg21U59YsfOnhOzAg==, tarball: file:projects/arm-analysisservices.tgz} name: '@rush-temp/arm-analysisservices' version: 0.0.0 dependencies: @@ -12691,7 +12697,7 @@ packages: dev: false file:projects/arm-apicenter.tgz: - resolution: {integrity: sha512-Qh+lHGerbgZWF7GP5VhTWJSQxHXOMs/54f5LUl2Kf4S+vX+Fw4unC2sJYHwF+/o76PuOo1ZDhsSeEhQk+3PiQQ==, tarball: file:projects/arm-apicenter.tgz} + resolution: {integrity: sha512-uNfhigCN7B1SkHgHM3lhp4R2TdkSf9m4wLxwAgXifm7rnOl0hyQfGw8ygjkOMxuFCPwgX9rM/eXlGw7kQzfcKA==, tarball: file:projects/arm-apicenter.tgz} name: '@rush-temp/arm-apicenter' version: 0.0.0 dependencies: @@ -12721,7 +12727,7 @@ packages: dev: false file:projects/arm-apimanagement.tgz: - resolution: {integrity: sha512-ZqZou4qud1Z3UFDwOTQW7s3qhGgOB2KzueMtCmx5r21gUDQg/y/hMGXbcfeEaGEbpHe8Gxqtw17gcJWfl6trVQ==, tarball: file:projects/arm-apimanagement.tgz} + resolution: {integrity: sha512-xef6Zjq6D7heDmdMuBaHpNBGbiD1pb5i1Moz4aF+t3BGK0ucDsGBYXME4DwbmgUb2uhsyR9yhS88MPq4X6Y/Nw==, tarball: file:projects/arm-apimanagement.tgz} name: '@rush-temp/arm-apimanagement' version: 0.0.0 dependencies: @@ -12751,7 +12757,7 @@ packages: dev: false file:projects/arm-appcomplianceautomation.tgz: - resolution: {integrity: sha512-Pd/JqBu05RGe4wqjJVLLa90k+z/AqUhtcGVxmQ9dRJwh8zxDVNHclr7pFXofuO4bQFsy9aQABOYF38wVric9uw==, tarball: file:projects/arm-appcomplianceautomation.tgz} + resolution: {integrity: sha512-5mpGjNpV24Yt2Y7vOFW3X84kN5Bvlm+XzAStkgpeNxDBcGyhwYW7ksiU1HgBIHEp87aeQbrukd3v3o6AfyHl7Q==, tarball: file:projects/arm-appcomplianceautomation.tgz} name: '@rush-temp/arm-appcomplianceautomation' version: 0.0.0 dependencies: @@ -12782,7 +12788,7 @@ packages: dev: false file:projects/arm-appconfiguration.tgz: - resolution: {integrity: sha512-LmhRDolg8axc1KaQr6KvRBgfNM1lC3o6SviyAAreWU0wnh7C1gTGLqjhgjhUk724hG22qykhI8nZWkybJwvrTA==, tarball: file:projects/arm-appconfiguration.tgz} + resolution: {integrity: sha512-lCQNAsbeCwjO9ysZRusChuTJJqx3ZnJxNsrW2iwgJojrw7fU618rnfEL7oWAqO4U/XjNdSIHgR1Njt0emKrnLQ==, tarball: file:projects/arm-appconfiguration.tgz} name: '@rush-temp/arm-appconfiguration' version: 0.0.0 dependencies: @@ -12812,7 +12818,7 @@ packages: dev: false file:projects/arm-appcontainers.tgz: - resolution: {integrity: sha512-SMgeN7K2D/LNYdTE9QSMvv0neVWexFww3XY7QWQDfJBXcaBca1Ja1rrFuAp3io9wG/bsb4TJ9tjF4jYc7TugPA==, tarball: file:projects/arm-appcontainers.tgz} + resolution: {integrity: sha512-OLDQ9cIJXarZUMBqrsu4Yxni7ctTNO+xJHgapzZ42fI1r0sX+6GCHxn2KeTeLImDs2i+unsZMtiPGybNhlFnUw==, tarball: file:projects/arm-appcontainers.tgz} name: '@rush-temp/arm-appcontainers' version: 0.0.0 dependencies: @@ -12843,7 +12849,7 @@ packages: dev: false file:projects/arm-appinsights.tgz: - resolution: {integrity: sha512-PqNCW0YBSbm10wfJ7Ekze7VWgyYrLRLOhgvyFKEitS+E8RZzsgwmCuBexSv6hJlmtpZ6gHuFTFm/OfXDm09ktA==, tarball: file:projects/arm-appinsights.tgz} + resolution: {integrity: sha512-cnk29PDE3tFVEYSD/sPzYfBzjIL5KOnIxycYJlvMs2sBSfbeN/THEe34sNLOOVQTDyyZQwNyy0M2cwBm0PLbkg==, tarball: file:projects/arm-appinsights.tgz} name: '@rush-temp/arm-appinsights' version: 0.0.0 dependencies: @@ -12870,7 +12876,7 @@ packages: dev: false file:projects/arm-appplatform.tgz: - resolution: {integrity: sha512-qT22GdfjSRZcMFcDK0cD5ymkHstpHYz4RkfETJZd+oluUFldDlTQoyeP//uOTAAvVPfjIikFl3B1Ko9eZOXZ0w==, tarball: file:projects/arm-appplatform.tgz} + resolution: {integrity: sha512-s6Dm7EaIZ0EpvEBmjvWfdxordEua5TIcwc/Cp8y6dvHN4lEZ1tBRd2YG5zNyd+XNWsjFXCWqVi0mbKHhiF3F7g==, tarball: file:projects/arm-appplatform.tgz} name: '@rush-temp/arm-appplatform' version: 0.0.0 dependencies: @@ -12900,7 +12906,7 @@ packages: dev: false file:projects/arm-appservice-1.tgz: - resolution: {integrity: sha512-kQe3MOm7L8EPmfEZEjXBAkXwCCET+Yq9p/LLYKUykS42Nr95zB3QvUQhAnZ83lgSz2OXCbEq/gmEZk6hKZNcYw==, tarball: file:projects/arm-appservice-1.tgz} + resolution: {integrity: sha512-XXXsV4q4EQNoLKXSx1noyz448MgLXaTTAcXKm9dlvOVQM0XABZTCM48ivwIPq2vXvSVnFifK+3FX4Irs3ykUtQ==, tarball: file:projects/arm-appservice-1.tgz} name: '@rush-temp/arm-appservice-1' version: 0.0.0 dependencies: @@ -12931,7 +12937,7 @@ packages: dev: false file:projects/arm-appservice-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-DVWWsXM84QXXu1e/Xc6M2QSwtF3uACo44vxXY+f8eaI5lmQb0K65YnGn/SltOvCavdUi/ci828R6/1WbxAEHWA==, tarball: file:projects/arm-appservice-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-ECcJDZNgAm39MjQX5+HTa8lpZRO9c+MdOiR8XBGrDv13jWy//2KVpk7S+nPIH4mGqVs904/zfFmVQOrD7Wr2gQ==, tarball: file:projects/arm-appservice-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-appservice-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -12961,7 +12967,7 @@ packages: dev: false file:projects/arm-appservice.tgz: - resolution: {integrity: sha512-yjfMdED/EYOLCEz+8gc00WPVFsvPTLWOhUQDXnqfWOSib2atSvSbvWxNeCT5jyVM9RF82bCiLQ7fAtAsrmZWEA==, tarball: file:projects/arm-appservice.tgz} + resolution: {integrity: sha512-2akMZ2GrgqZ4b59N6IMfJYG3jD6p4bHujN0dsqpEkvwPpTfZQYcc9gGW6xeZJzdJjOXhcubKO7sM4WFZPCwMjQ==, tarball: file:projects/arm-appservice.tgz} name: '@rush-temp/arm-appservice' version: 0.0.0 dependencies: @@ -13007,7 +13013,7 @@ packages: dev: false file:projects/arm-astro.tgz: - resolution: {integrity: sha512-BkU280DnWj0UmhHVAVaoIwi7NfOWsuyp+nV49cWTcyuTK75RfVqsy1o5ctw0ASyFqZ7w8R42W8IK0OFwwGEMHA==, tarball: file:projects/arm-astro.tgz} + resolution: {integrity: sha512-nF21ZZdOGg9T+tyQwgFYHgn8VNsymT+aMOcH3LgU10a2NmYGOayAh6RD6WNCjYwaMHDgFbhyWx3lO8QEnlmoUQ==, tarball: file:projects/arm-astro.tgz} name: '@rush-temp/arm-astro' version: 0.0.0 dependencies: @@ -13037,7 +13043,7 @@ packages: dev: false file:projects/arm-attestation.tgz: - resolution: {integrity: sha512-7/MEkicR8Ch4QFzgEvj4q+2HCLnBGFlICmcQsb7wPKkRTL65nBT5zOmMr3hIr7qPhXsYlVTq8+KCZ90XNflxDQ==, tarball: file:projects/arm-attestation.tgz} + resolution: {integrity: sha512-gqtK+R5NlVQ6UmRdJQljN2z/DUtY+eMpjDaf5TVgMqqNMe9rEfxQCsglTK5Ri2iBbyjwDjNaZXprI4SRNeQ9dg==, tarball: file:projects/arm-attestation.tgz} name: '@rush-temp/arm-attestation' version: 0.0.0 dependencies: @@ -13064,7 +13070,7 @@ packages: dev: false file:projects/arm-authorization-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-7TLK9EBIt/ZuDkyTnYVES3qLrFyhUVr6D6FTKf7PV59FuzWvva3mfsZAJMdZ16O3nv/RWvnSp+UUhGHpIzQj8w==, tarball: file:projects/arm-authorization-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-Edd07Pv1abh7Q/emiojC6/bTKFP34XgWhxXvuAqwaMm7p1QlEtuQ8cLPbQCrvIugJij8aHcRB3acYNwLWUvC2g==, tarball: file:projects/arm-authorization-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-authorization-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -13092,7 +13098,7 @@ packages: dev: false file:projects/arm-authorization.tgz: - resolution: {integrity: sha512-tfepyJDCO5hqCTLdhg68cVHYdJt4YQxgBc9d5YwOgYTJT43/YqjraQnX/22NgU4pKpTAzZfEpi2dVZV+PDPTLA==, tarball: file:projects/arm-authorization.tgz} + resolution: {integrity: sha512-QUXBw75W/xuESE7mouVPCVoBTu6aCXpVXnn2PujkrFGm2n5aDXUkzrklJOagfFDHxffGZHNJR9bKUZwkWZ9zCA==, tarball: file:projects/arm-authorization.tgz} name: '@rush-temp/arm-authorization' version: 0.0.0 dependencies: @@ -13122,7 +13128,7 @@ packages: dev: false file:projects/arm-automanage.tgz: - resolution: {integrity: sha512-KJzz8fCv09Iyh78FSK11aVd4Xc0bItlDEb0N9pBdoa94N4bPCyZgJQCPgf2oQWJNygUzfhrEfnqRQ5M7NDgMww==, tarball: file:projects/arm-automanage.tgz} + resolution: {integrity: sha512-RqF7sWkucg+paJB9mIO6cN2ULzL9TJDZkipdMnDby3US53GQFoIeMJ5PvYu5V9WsajHwWJgkvchAMT9Ep16iZA==, tarball: file:projects/arm-automanage.tgz} name: '@rush-temp/arm-automanage' version: 0.0.0 dependencies: @@ -13150,7 +13156,7 @@ packages: dev: false file:projects/arm-automation.tgz: - resolution: {integrity: sha512-mXhiPEWjDJqAGw6oFlns7O+Gh5Wr5nGeXjHEMTAeVOA2Ve38pNy/I+1Zk4VtyG1nFltJ/QrWJxmEC0VmkBYFeA==, tarball: file:projects/arm-automation.tgz} + resolution: {integrity: sha512-CTauQD4cEtFdQm0QpTfYI0DXAw/aE9w8ZYwcxY8fkPKaVtCJ2mmc5ghSogk5dSjeJQBjBBTfiPVIho14t+uNwQ==, tarball: file:projects/arm-automation.tgz} name: '@rush-temp/arm-automation' version: 0.0.0 dependencies: @@ -13180,7 +13186,7 @@ packages: dev: false file:projects/arm-avs.tgz: - resolution: {integrity: sha512-+IFz0D29ExLZpKlyxsw0lApXJb7w9Z4vXIsp4VclJOVYjA3ki/xHvIVYgNUgj1FM4t3jUgZHzBzmVa4LEw5xHQ==, tarball: file:projects/arm-avs.tgz} + resolution: {integrity: sha512-aVbAeRY+1Nji7SMcF1eh7H94NNAJLm9mnAckJklxyCjycvNkD8zddSRc9XoIyT0BXy8x/e+vrJYpUkwAttUPPA==, tarball: file:projects/arm-avs.tgz} name: '@rush-temp/arm-avs' version: 0.0.0 dependencies: @@ -13211,7 +13217,7 @@ packages: dev: false file:projects/arm-azureadexternalidentities.tgz: - resolution: {integrity: sha512-i+fwANat6eviAY700xtVUslIYRG/EBechZcHIRl2r91Yip2clTlGSpB3koHx57zMDOR5ithqYuuiwgWtcRzRyw==, tarball: file:projects/arm-azureadexternalidentities.tgz} + resolution: {integrity: sha512-LboCP/Yr2jO/MKTuLVFTrf43Y9fU6NDTCEsgx1ogNNfZ29g5Wqgb4JkidpaBC9vv0pjtdbh5tD3zMg35sFe3WA==, tarball: file:projects/arm-azureadexternalidentities.tgz} name: '@rush-temp/arm-azureadexternalidentities' version: 0.0.0 dependencies: @@ -13240,7 +13246,7 @@ packages: dev: false file:projects/arm-azurestack.tgz: - resolution: {integrity: sha512-N5cccsxzqlInPk7M1kMdiGZPPG91peL4FGuoL42vwXtLJc/C11JMBSipNbPPl2Hc28aYeBKcOSJVERwvUXIjHw==, tarball: file:projects/arm-azurestack.tgz} + resolution: {integrity: sha512-0mbOPd9c/AT7c2t8J8IDoUe6Zm0YmZpcwwApqq2zERVyD9n+WOgvGaCNa6G2PxN3gTpFEPvLokDZNjfSRCbBzg==, tarball: file:projects/arm-azurestack.tgz} name: '@rush-temp/arm-azurestack' version: 0.0.0 dependencies: @@ -13267,7 +13273,7 @@ packages: dev: false file:projects/arm-azurestackhci.tgz: - resolution: {integrity: sha512-k838V47XP/HxDMeD4fiNtdEwsPE/JTgLyob01bMYrPNxUTy/O/SXde0Wr3RsgcALPe3VUqsEin0Mq/RAv7TD7A==, tarball: file:projects/arm-azurestackhci.tgz} + resolution: {integrity: sha512-bsJRg4MkRLuhqXBY+qFlolaUjmWrJ21C+NJY9LY7WuMjhgoTgbcCxlBiBC1B0WqpJzqWIulQD06tpAeiXiBo3w==, tarball: file:projects/arm-azurestackhci.tgz} name: '@rush-temp/arm-azurestackhci' version: 0.0.0 dependencies: @@ -13297,7 +13303,7 @@ packages: dev: false file:projects/arm-baremetalinfrastructure.tgz: - resolution: {integrity: sha512-jdMMUOeUEWhlQ/aXd5+7i8i49BK8ha4M+AgDepfREAWn1saCpUE8RVKijvEZqikfh4BS5L32sI4JXiI1sKaaGQ==, tarball: file:projects/arm-baremetalinfrastructure.tgz} + resolution: {integrity: sha512-O0WjisLnirZaKLl1bfQ6VhweynhDE3pXOgMMhsGwy7wjAzKpkW4APklwMKdNQ2i8UpwQEl9j5vGJFOwLk5NDvA==, tarball: file:projects/arm-baremetalinfrastructure.tgz} name: '@rush-temp/arm-baremetalinfrastructure' version: 0.0.0 dependencies: @@ -13327,7 +13333,7 @@ packages: dev: false file:projects/arm-batch.tgz: - resolution: {integrity: sha512-3aUIlwYUbSPurjG9yccsqEZNXcvrq5jiPHjchk7qIeNyNozjqZJeDdi6uVKCCbnuXfxpH/Yw7B5cPQsiLvZkrw==, tarball: file:projects/arm-batch.tgz} + resolution: {integrity: sha512-3F4c2h2nkA1K1Cm7LPyjdhyz2Rs2p3JH6xhxN6jGAWaNlgqE1nxVzF/xS4lJyJKCc6VXcx1svN7zbiGbbs89Ag==, tarball: file:projects/arm-batch.tgz} name: '@rush-temp/arm-batch' version: 0.0.0 dependencies: @@ -13357,7 +13363,7 @@ packages: dev: false file:projects/arm-billing.tgz: - resolution: {integrity: sha512-XqVfHJQp30vLd/KaGRST9KZcwTOziUBxt+R6TCq5ul7xeY8fKnJD51WVoS7nfX4EA+r6b090AfWKsa+eBIcimA==, tarball: file:projects/arm-billing.tgz} + resolution: {integrity: sha512-FARPUh7FdBujg4dHXxguxHOlHOiRabQvrjuPUVXw5eabf7QhTy2FhjqOgYrnQRsIDpZh2a4pSiEfPiEbw0SQzA==, tarball: file:projects/arm-billing.tgz} name: '@rush-temp/arm-billing' version: 0.0.0 dependencies: @@ -13386,7 +13392,7 @@ packages: dev: false file:projects/arm-billingbenefits.tgz: - resolution: {integrity: sha512-zPOa9UDM7jV3n8ERiszjwDOoc1pZFh3v49EwXAMzIXCwVWMRyneZ2DhGRLWGoGTxuyNtMPXWiEeFt0NKOSbw3A==, tarball: file:projects/arm-billingbenefits.tgz} + resolution: {integrity: sha512-apIk0547dfQi4KBASblct0DzcWxZ1cXoeWOtmdRBR8zMQWQWhPXD5Gb8FEB21CgMnLp5EhD7GfsCmWapVheq8A==, tarball: file:projects/arm-billingbenefits.tgz} name: '@rush-temp/arm-billingbenefits' version: 0.0.0 dependencies: @@ -13415,7 +13421,7 @@ packages: dev: false file:projects/arm-botservice.tgz: - resolution: {integrity: sha512-hu3i3Ofv7/CKCncDACaI5l0u9H9/MHAIczAGozaQj+moBzBHQQExgrLi8O5mycR+Fjn+tRAioau37QaOCizr4g==, tarball: file:projects/arm-botservice.tgz} + resolution: {integrity: sha512-wMCVMuBEdhyh2pXUSDexEvjfqXjqNzr8Y8KnT9jMQ4knY8idnXDP0WNSVhs5Zq8l89rZN13XHzXWwoTf2zUJPQ==, tarball: file:projects/arm-botservice.tgz} name: '@rush-temp/arm-botservice' version: 0.0.0 dependencies: @@ -13445,7 +13451,7 @@ packages: dev: false file:projects/arm-cdn.tgz: - resolution: {integrity: sha512-3gYIjQuSTOLvxf3QjgF48JT+dEZbJYdk4jF098AkeSmYwrXvOLSGghpldwRpjVuVJlqiwNZRwR3o7R5FXHb/sQ==, tarball: file:projects/arm-cdn.tgz} + resolution: {integrity: sha512-qb9ts7b8hCxIcC+UoonLr7GJTyVE2w4JSzxUYD/cq+d5N7MrKw/MQ6X48jT1TQWX2IJFqyF+4rVUiovt75b3wA==, tarball: file:projects/arm-cdn.tgz} name: '@rush-temp/arm-cdn' version: 0.0.0 dependencies: @@ -13475,7 +13481,7 @@ packages: dev: false file:projects/arm-changeanalysis.tgz: - resolution: {integrity: sha512-fWlQBPipM3/lpPJEHMI8jsfQwft2ek7atdJLQ3lowOE4Z8uHKDG+ilJqiv1EE95NBrmuF+doeuefBAnZS+ZKCw==, tarball: file:projects/arm-changeanalysis.tgz} + resolution: {integrity: sha512-GFfbNDyWcUJbnJn194KZaCemMPGs9IAYlU0vFE4xOO5vuFduQRDSO4cc50fXst2rXPFqlAIE0rK8SOM0fKr3QA==, tarball: file:projects/arm-changeanalysis.tgz} name: '@rush-temp/arm-changeanalysis' version: 0.0.0 dependencies: @@ -13502,7 +13508,7 @@ packages: dev: false file:projects/arm-changes.tgz: - resolution: {integrity: sha512-RFhj9PYgucMkojmG/xWi+do0jmguJR5N6CVU/5dpEPMSNTFSOZpJmfhxlhbSCzKFHWC9WtEvecRQKNNNVowjwA==, tarball: file:projects/arm-changes.tgz} + resolution: {integrity: sha512-seCCegGmOhz6G5p3LB85+3cvpwfJt4vTDDj8dLjKKa0m9ptXuAH8q0z86iQ+TbKVxsO2UpTl+UXUZjyxtkOtNA==, tarball: file:projects/arm-changes.tgz} name: '@rush-temp/arm-changes' version: 0.0.0 dependencies: @@ -13529,7 +13535,7 @@ packages: dev: false file:projects/arm-chaos.tgz: - resolution: {integrity: sha512-3hM3+gdZSqsMiZrXetEK26zwL7KyXZp4THJw7SueBiHoD9zoZe+c8U11KMpN4IDJiFOq7/bDBLo0ag8PnzPZzA==, tarball: file:projects/arm-chaos.tgz} + resolution: {integrity: sha512-QXFVLF2dA2LGC5B+0uw8mlQcjJKpkJ8TpRff22N4pros7Dflf6GdxnbYA5dM9I2yPiCkHmQHnHkkDVIuEggqzQ==, tarball: file:projects/arm-chaos.tgz} name: '@rush-temp/arm-chaos' version: 0.0.0 dependencies: @@ -13560,7 +13566,7 @@ packages: dev: false file:projects/arm-cognitiveservices.tgz: - resolution: {integrity: sha512-y9yTVZHuFJI8dPwzEvercZND+2IfBtS4POhKWZt/y6kxrPTlZmxw+opxEDBzl8Yjlvef50gRtFFuIAv3UqAP7g==, tarball: file:projects/arm-cognitiveservices.tgz} + resolution: {integrity: sha512-dl27cjyX71D1d4m38cXejpA1O2i4DFb2MTAH/CND4bavP3LaQbIYkpqXSZUc7EoNXoI6jMZMRGcKgqMVUgNLQQ==, tarball: file:projects/arm-cognitiveservices.tgz} name: '@rush-temp/arm-cognitiveservices' version: 0.0.0 dependencies: @@ -13590,7 +13596,7 @@ packages: dev: false file:projects/arm-commerce-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-abUvhMDWA+f2jmsVFo3u2Uhgle7OPoyEn0Qm2itWEPLW6KcC3zWsUP87ASqlSOVAcXi+uqqaLYCasMXtNee0uQ==, tarball: file:projects/arm-commerce-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-bz+19yI1HQFlgrZQQZjZNOSHf+Hh4CrvP+nyOLusea0AWaJs1aChxIMmfs6VkRsc5Ewz/pGmFz0WJPmkMJSTeQ==, tarball: file:projects/arm-commerce-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-commerce-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -13618,7 +13624,7 @@ packages: dev: false file:projects/arm-commerce.tgz: - resolution: {integrity: sha512-C+jpx3gDx5Lyb8oXrbNqttOQnlPoGY97pYY0wyzyABCjLSzV8LGnxK0HbPP+Bs9/IS/KuWoiPrTEW00sgh8jBw==, tarball: file:projects/arm-commerce.tgz} + resolution: {integrity: sha512-LWkAeSCgEawOR2ndN6jJCHy3rg3Rx12DrpITnO8m0UrYoM/I+igLnAmtzFrWuaPPrYIboLBzxNMokfFcXSLS/w==, tarball: file:projects/arm-commerce.tgz} name: '@rush-temp/arm-commerce' version: 0.0.0 dependencies: @@ -13645,7 +13651,7 @@ packages: dev: false file:projects/arm-commitmentplans.tgz: - resolution: {integrity: sha512-/Ob9UPZ/v732DkVwUELb9Eymmbdi7h+W6hdYWvY6QkLlrrtywdchXNcVAH5mRafuBfyJayI/+LP5pKwFrsbRpw==, tarball: file:projects/arm-commitmentplans.tgz} + resolution: {integrity: sha512-whETLRCVXON1vxsXT38mJ5yqCEdwAE+vAlBJEaFbFbSQsZ6xgLvavVlB0mmOqUNZOjI+QHKha9Vu0a/CDw/yZA==, tarball: file:projects/arm-commitmentplans.tgz} name: '@rush-temp/arm-commitmentplans' version: 0.0.0 dependencies: @@ -13672,7 +13678,7 @@ packages: dev: false file:projects/arm-communication.tgz: - resolution: {integrity: sha512-2xEGkC1vwagWSicT0dw8cB8tpRwVYDXf4NbYWW53tgeyrW4TIdUiqGDIghLJPiN4cvLhttOYfCXxjEPgFbfOLA==, tarball: file:projects/arm-communication.tgz} + resolution: {integrity: sha512-Rq0A6A/jA9bGHTJ8xX8n5QCJb2zKiZQINXv/oF1LEiNsCpmULW38CHvpcCzYzFevY7ZX/RCAp78d7ybuqqg1yw==, tarball: file:projects/arm-communication.tgz} name: '@rush-temp/arm-communication' version: 0.0.0 dependencies: @@ -13702,7 +13708,7 @@ packages: dev: false file:projects/arm-compute-1.tgz: - resolution: {integrity: sha512-htTzU/qeMbztclayDaALb69likrxG5yfqsxktJ13IrT2EfCQT0inWi5E74C+k9nztbPUvj7111EL4w5Pxi9OaQ==, tarball: file:projects/arm-compute-1.tgz} + resolution: {integrity: sha512-AM0dsiMAJJ2gP64uWD5ysDFbFhSeYjtTasktK5CUVdqxAXZQuTkLgYw7a0tULebPWwF46L3mrmqQYzz/Gs/dTw==, tarball: file:projects/arm-compute-1.tgz} name: '@rush-temp/arm-compute-1' version: 0.0.0 dependencies: @@ -13734,7 +13740,7 @@ packages: dev: false file:projects/arm-compute-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-fNsQuQcpvlHm5zbEFeZydIMJO1FKgjveSOBvuzk4Z8Ls5lHDUys/i3lQdIg0h0RyVp55OrpOsqxGnkWf8uC6jA==, tarball: file:projects/arm-compute-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-BbmJHyqUYQSUU+BFZdrNijIZh4ffin6Yr6225Nm47Q79+rUflF0lhHz0y7/DZ98dvET8pMy2bayEVQaL3cyoRA==, tarball: file:projects/arm-compute-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-compute-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -13764,7 +13770,7 @@ packages: dev: false file:projects/arm-compute.tgz: - resolution: {integrity: sha512-7FI/MhP2kRDY0FUaisuP/hIpX62E1NL4eyyPhadmBb4gCYxrukQq7TeE098mPu6VXdp2vrmfaWBviCp27HSM/Q==, tarball: file:projects/arm-compute.tgz} + resolution: {integrity: sha512-VYWMdomJKQucZjeoj7vC5sLt+WfOvXijJPZAPSphCz4IYA2GMLSzOOI3plFcTyaIc/DQmoUe8yofCNLc2wb4kA==, tarball: file:projects/arm-compute.tgz} name: '@rush-temp/arm-compute' version: 0.0.0 dependencies: @@ -13811,7 +13817,7 @@ packages: dev: false file:projects/arm-computefleet.tgz: - resolution: {integrity: sha512-KGi5c4wRvovPp5nrSnxE0EOM0KODxoABZTkdsJc/BWIoSD5eaXqsMsg7s4m0eufwCUDQjOXl/S0h3pUiFQkbCw==, tarball: file:projects/arm-computefleet.tgz} + resolution: {integrity: sha512-0cpA+/toEHnG0G1/Q+ywSJT7So1FT5GnGdVFS0fUVtedU6fALGp2UMQUYZYZUATeSe29r7q458SQdqyB5JeAww==, tarball: file:projects/arm-computefleet.tgz} name: '@rush-temp/arm-computefleet' version: 0.0.0 dependencies: @@ -13850,7 +13856,7 @@ packages: dev: false file:projects/arm-confidentialledger.tgz: - resolution: {integrity: sha512-zxZU/JNsnSaYxiS4gMIh80c4JtSyr80YyLEMDCWMNlHq+C+be/nXEt6p5bpi7kn//tjrzt14eMZnTCi3pE3K2Q==, tarball: file:projects/arm-confidentialledger.tgz} + resolution: {integrity: sha512-/+COUhTsLVbHeC7HbjPJjUTImMuZwOLH+9XuTudUccVUTz53dY6opFZNtUM7GVaywFK1fGXY2N92bN7H7z3Ilw==, tarball: file:projects/arm-confidentialledger.tgz} name: '@rush-temp/arm-confidentialledger' version: 0.0.0 dependencies: @@ -13881,7 +13887,7 @@ packages: dev: false file:projects/arm-confluent.tgz: - resolution: {integrity: sha512-z/AubcnKHzpxf/9w781YbGNb53vuciy1f76Ar+Do5o5Berokb8x6ocuWrJs+kIDgy0igy7ju0Bt88Sf2avMikw==, tarball: file:projects/arm-confluent.tgz} + resolution: {integrity: sha512-2o273gtGPTC2K2/i46A21qYt2qP4tcRSqAfJJP4LqWdzkdt8+XBFjlExZzEmLmuZnnlszOwLurb5b944u+l7HA==, tarball: file:projects/arm-confluent.tgz} name: '@rush-temp/arm-confluent' version: 0.0.0 dependencies: @@ -13911,7 +13917,7 @@ packages: dev: false file:projects/arm-connectedvmware.tgz: - resolution: {integrity: sha512-PjgIWOJHPB3uSxF1IR1NtM5TfRZ7cGTOylTsjMaA5vvIgMfwcdtq2ADpnhfUPkqcjGJJwcA3vzieQUxb3AbNhg==, tarball: file:projects/arm-connectedvmware.tgz} + resolution: {integrity: sha512-w1T74Hc0+RFb5V3bH0jQuBBUCENQ3/MRlEIOYf3x0nZQ3OzHSAfA1Q6uMm82oZzJ+VF9VLUCBGfxo6wfwmFn0Q==, tarball: file:projects/arm-connectedvmware.tgz} name: '@rush-temp/arm-connectedvmware' version: 0.0.0 dependencies: @@ -13941,7 +13947,7 @@ packages: dev: false file:projects/arm-consumption.tgz: - resolution: {integrity: sha512-H3G/xqgawMywQnmbzgmiHgs3i0fO3Vji3LJHZxek4Ep4zkjyzif6svW5QQq0C8uF6fMGrGmyi9FisnIqImjhng==, tarball: file:projects/arm-consumption.tgz} + resolution: {integrity: sha512-Gcy5nXxsywa4b9F7LFIiS+QtQCf0L9YsdfqyYqLpY/2A/Ix0S34nyU1xhIH2dk2Qzyg93sbNFpOWzXMif2Vugw==, tarball: file:projects/arm-consumption.tgz} name: '@rush-temp/arm-consumption' version: 0.0.0 dependencies: @@ -13969,7 +13975,7 @@ packages: dev: false file:projects/arm-containerinstance.tgz: - resolution: {integrity: sha512-ki0IumWTAuuvtP5w6e5OEXc7U8NGGPUTJRfQrK74zPExsA60o71EM/2LNlp+Ac16fL6WJgHvueRFRhQyUvHuzg==, tarball: file:projects/arm-containerinstance.tgz} + resolution: {integrity: sha512-IeTmSosHKsNS/TA1NqQNs/nksO+D8+6b05enj5Tqe8JkVyyjWdgz0jCVap5GMOd9zmhSZgTlzBXzf7/8JlZAOg==, tarball: file:projects/arm-containerinstance.tgz} name: '@rush-temp/arm-containerinstance' version: 0.0.0 dependencies: @@ -13999,7 +14005,7 @@ packages: dev: false file:projects/arm-containerregistry.tgz: - resolution: {integrity: sha512-rnNxFSztZHA0UnR05hfe5N5CRQCEDCQsM9cWo+53EWcpc/OOos6gr8znKJoAMRF02hLQFKz7zXVHYyd5lPHiMw==, tarball: file:projects/arm-containerregistry.tgz} + resolution: {integrity: sha512-ou0H4p1Lf9vhdrNtJwDAs4apzn2PTEQ+i43Cjf+z3cYejA+mM69a9Ps0vjFniRH0xtYDzyMw+ILLORQKBx3MmQ==, tarball: file:projects/arm-containerregistry.tgz} name: '@rush-temp/arm-containerregistry' version: 0.0.0 dependencies: @@ -14029,7 +14035,7 @@ packages: dev: false file:projects/arm-containerservice-1.tgz: - resolution: {integrity: sha512-B9/qkrGTOKFMl1uKG6/YuYHwnQK58VyjOWRr6v5YqzdTXlMrxpc81HJTSnpRv6MloAEedISGePdfBULz1OMvuw==, tarball: file:projects/arm-containerservice-1.tgz} + resolution: {integrity: sha512-MSE9EQsFt80usJvYiYKfr8QgkOTk0uB7i+d1RvEgz0W1HSWx0r+5sI52jjaQo2s2l3Vb9f+p0N+Vn2Os9LhWPg==, tarball: file:projects/arm-containerservice-1.tgz} name: '@rush-temp/arm-containerservice-1' version: 0.0.0 dependencies: @@ -14060,7 +14066,7 @@ packages: dev: false file:projects/arm-containerservice.tgz: - resolution: {integrity: sha512-0JWrY8HNeTojCQQQuuqZ32zVkxL8Rnv2xlnIUMHLsE5ghlYs39pA6XEU0aeYxm+f1g50D4048djHAJ5lg0HAKA==, tarball: file:projects/arm-containerservice.tgz} + resolution: {integrity: sha512-7BoXb1vMgKl/PnaE7JZthEQMaxNxic7BttWWBLpU7ZMvCYhcM2Z7u0biB30PhTs142yT3G+JEp6R1JLpdPFu+Q==, tarball: file:projects/arm-containerservice.tgz} name: '@rush-temp/arm-containerservice' version: 0.0.0 dependencies: @@ -14106,7 +14112,7 @@ packages: dev: false file:projects/arm-containerservicefleet.tgz: - resolution: {integrity: sha512-Q0BxwTAQnv16ETxkfwg/n4NZAwSelH9Cv9XdsDcGrReeV1pXHlwg7dErxk6ey+ocHUVD7qA1wp21qzffwXSTyA==, tarball: file:projects/arm-containerservicefleet.tgz} + resolution: {integrity: sha512-Plqg8H1yVOsiNy5aqEAviSDO03X5onAnB2CYgd6U4qjY0ZvKJVyAcrgEdNqzU7WCqPCVgy605+iEX7xWxjpQUg==, tarball: file:projects/arm-containerservicefleet.tgz} name: '@rush-temp/arm-containerservicefleet' version: 0.0.0 dependencies: @@ -14137,7 +14143,7 @@ packages: dev: false file:projects/arm-cosmosdb.tgz: - resolution: {integrity: sha512-/Cb2yd9t9k3cmTg9QUJrli800W8j+28xZxoGfymYrZfHxm2geOtI4euBHu9lNCjNcI2TeZX8uuR3BIl9hIQOYg==, tarball: file:projects/arm-cosmosdb.tgz} + resolution: {integrity: sha512-EcEo0Mm8/H7VWVbwvb0BVt/nk3JFgPvVRp39nDyt9jY/pevKEPihUH1BfmhuOCQdNaZWhhI4QOzLsFGHweHYCA==, tarball: file:projects/arm-cosmosdb.tgz} name: '@rush-temp/arm-cosmosdb' version: 0.0.0 dependencies: @@ -14168,7 +14174,7 @@ packages: dev: false file:projects/arm-cosmosdbforpostgresql.tgz: - resolution: {integrity: sha512-lX1LJoAhDJjNaSE5A3yi4qJ8BSHkKkV20RZMigPUnz/1ThN0CVUWH2MN4HAZtmPer6xvUMczjJ+wyjekKpK2bA==, tarball: file:projects/arm-cosmosdbforpostgresql.tgz} + resolution: {integrity: sha512-qcPKWxfssW4deS2vRfGT1AixQhA2XK/BBSCxm1G7fo7A4Jqw0GBXRYbYtCVw6rzX5RHouZXYa7LAmJxPGpQ6wQ==, tarball: file:projects/arm-cosmosdbforpostgresql.tgz} name: '@rush-temp/arm-cosmosdbforpostgresql' version: 0.0.0 dependencies: @@ -14198,7 +14204,7 @@ packages: dev: false file:projects/arm-costmanagement.tgz: - resolution: {integrity: sha512-ICAyriWE/1Jebu5380CxWafhOlbO2j+8AmeLt3n70whmJb5UD2V51XYTO5xaqLwGrWmHieAu0g0EYuluewaDWg==, tarball: file:projects/arm-costmanagement.tgz} + resolution: {integrity: sha512-5lpA8pqyyAM2ac2mD8Etgdb6v9PzqcrM+DEp4w7lnQNVj9cNtExLPemZT+jQL+hxaJSQL5Xuvak60S7d1QbXAw==, tarball: file:projects/arm-costmanagement.tgz} name: '@rush-temp/arm-costmanagement' version: 0.0.0 dependencies: @@ -14228,7 +14234,7 @@ packages: dev: false file:projects/arm-customerinsights.tgz: - resolution: {integrity: sha512-LZLPHeTQuFJL3fPsooEXPQSe+KWznuY0q4Wiicxqa1CLHzL5NnUrpDi3juuOh5JUCctiVj4qPa2W04n23b2A8A==, tarball: file:projects/arm-customerinsights.tgz} + resolution: {integrity: sha512-rB62XQy8dvXMz4M/7aeeFyB23YakTjOxwE6FgpqoJCzE6ZjsoXmq+Ji0AoaanssRvJkETEg5z2IksAg2+vURlQ==, tarball: file:projects/arm-customerinsights.tgz} name: '@rush-temp/arm-customerinsights' version: 0.0.0 dependencies: @@ -14257,7 +14263,7 @@ packages: dev: false file:projects/arm-dashboard.tgz: - resolution: {integrity: sha512-s/5AttuZg8VGAqE5bB4lXAC2glSpE3Fem/i6oquOwA50duTuCdiMvuiXc/ctmfoT7F+YM1TD/+pwCXTxXyk2tA==, tarball: file:projects/arm-dashboard.tgz} + resolution: {integrity: sha512-ADCtf6wHVl4+mj0XkmgezMbzyz1dJbEZWEXokWIuAIUNeMfPomxXikfPVgIWxB5tPFSxHDS7+L2HrfII5sb21A==, tarball: file:projects/arm-dashboard.tgz} name: '@rush-temp/arm-dashboard' version: 0.0.0 dependencies: @@ -14287,7 +14293,7 @@ packages: dev: false file:projects/arm-databox.tgz: - resolution: {integrity: sha512-Nv3Ub6mRlmbPyFq7Em22lQGHv3iI5kJhTKChNIXhp5BCjGwektVQhjrZ2grjO1gwBv+BTDkfiOMsvwEqiZc8Bw==, tarball: file:projects/arm-databox.tgz} + resolution: {integrity: sha512-Jl0QbnBUPsstqrSz0FBnacdEPWP4pXxLGmCIqcEy5dOqQFh0jxUfQMKe1nFttPrQIsXvSPPZ1dq+Xzg3voJlUA==, tarball: file:projects/arm-databox.tgz} name: '@rush-temp/arm-databox' version: 0.0.0 dependencies: @@ -14317,7 +14323,7 @@ packages: dev: false file:projects/arm-databoxedge-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-iF38cTOLQCdEZFr1xo4K9+83MQJJWq00aF9+6syKOCB2AJMxZ4E9Z6QyP/sDCBFJdVdoxF8FX3SLvQdBlz1t3g==, tarball: file:projects/arm-databoxedge-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-3apwrQnikZL/C1EwsqxokVNwTTuxIgCBimntJkPzmTt6Sl1r3EnvkpCEq3nV9K2PFRLcwomKRGDo/4AFlpqG2g==, tarball: file:projects/arm-databoxedge-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-databoxedge-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -14347,7 +14353,7 @@ packages: dev: false file:projects/arm-databoxedge.tgz: - resolution: {integrity: sha512-lVHnZW1D9P6WuVY1yYsvXo3VNP4QB9BkVE/19PyFPQQ/HAB9YLDOsWrkVwJuhYSYGpImuA7PT+EKYYaRbHgwxg==, tarball: file:projects/arm-databoxedge.tgz} + resolution: {integrity: sha512-pd8wV626yBwXSHjpO3zbIUBBvayYezwyB2iFk3kckdVDaJC4sYdwlr1k+0cmUel5VEM2hzP9ZcrJ8BLzpHHWeQ==, tarball: file:projects/arm-databoxedge.tgz} name: '@rush-temp/arm-databoxedge' version: 0.0.0 dependencies: @@ -14376,7 +14382,7 @@ packages: dev: false file:projects/arm-databricks.tgz: - resolution: {integrity: sha512-tUasK3ua2kjINJZkPGzMcPP6I58AryQuPRH8TMQDznPh60vKKxLPA5QHx8nSSG0qugZkX/0ahb7KbrftgNxlyg==, tarball: file:projects/arm-databricks.tgz} + resolution: {integrity: sha512-ukffrFz9KXG84YZnYgyMVU2WxzeM+UafOjUKGXBQuPDRaRdr4fyH2WbE18S8KSzhgSM2uh9Bajon4PXnfYA5eA==, tarball: file:projects/arm-databricks.tgz} name: '@rush-temp/arm-databricks' version: 0.0.0 dependencies: @@ -14406,7 +14412,7 @@ packages: dev: false file:projects/arm-datacatalog.tgz: - resolution: {integrity: sha512-+W7Fi+B5qVpGDKk8dzHL5qkJGNnB/BkryLKfxxPDLzNOLjhlU/Xq90MVlDxYmj1HnAQRWZ/ZlgLILQQjj4PR/w==, tarball: file:projects/arm-datacatalog.tgz} + resolution: {integrity: sha512-6Xh58jdmq7AmyrpgyMtP2og8OJmKzGfI4A2o78o9ntzfKPgFg5GvVweJYinUFrHhgVy8wllq8m+DbNmwYJ/SeA==, tarball: file:projects/arm-datacatalog.tgz} name: '@rush-temp/arm-datacatalog' version: 0.0.0 dependencies: @@ -14435,7 +14441,7 @@ packages: dev: false file:projects/arm-datadog.tgz: - resolution: {integrity: sha512-tWQ6xPYw4sqDI7Dr1jEKm7amuwojB2LYeaFnClsQkm0GAoia87JGNlWTJTd+UltPWpLsNnBUsLBbeBIxBFNb0Q==, tarball: file:projects/arm-datadog.tgz} + resolution: {integrity: sha512-4vtDGxEr7bIHpf8wrPt8hOm4Iot3u7ATo7PcgFJ22B1QRo6+fjDt5B8aXBbvx6wUD4pdn8lyxpWNIKDaEwZ0JA==, tarball: file:projects/arm-datadog.tgz} name: '@rush-temp/arm-datadog' version: 0.0.0 dependencies: @@ -14465,7 +14471,7 @@ packages: dev: false file:projects/arm-datafactory.tgz: - resolution: {integrity: sha512-Jx47zRvgQVatq+t+0Sz4w2FGrkpnN+ZovYRIiaE6PXH01ZjvI3z8+eesGhylvYKWzLq15lmPmOoOZsG1Qf5Spw==, tarball: file:projects/arm-datafactory.tgz} + resolution: {integrity: sha512-Q/UgF/jHUhFWs4a2VHg5BPu4EacOjaoAJqlLqGFX3ZwG0GZDoRx8FtqHRw8p4jzKB5vuOrEV/3GzXjtsgu1WWg==, tarball: file:projects/arm-datafactory.tgz} name: '@rush-temp/arm-datafactory' version: 0.0.0 dependencies: @@ -14496,7 +14502,7 @@ packages: dev: false file:projects/arm-datalake-analytics.tgz: - resolution: {integrity: sha512-6pqdujvH7QAEVcGKtGa+Qvy3jc4Jvq6ROXRx52o8gU1qP1pffb/2QKTgDYIFVSWJOtvn7vKWsSv++K3JGYRp0w==, tarball: file:projects/arm-datalake-analytics.tgz} + resolution: {integrity: sha512-BwKg050DuWAe2bNSn0L7Y6/gxF5is/sUEyI6ey6pbro0hFwUYwrYuWbPvoEXJ0XQh4F3+KAfRuIaBXqwUG0NAw==, tarball: file:projects/arm-datalake-analytics.tgz} name: '@rush-temp/arm-datalake-analytics' version: 0.0.0 dependencies: @@ -14525,7 +14531,7 @@ packages: dev: false file:projects/arm-datamigration.tgz: - resolution: {integrity: sha512-TNCRVby5YXY0c2e7shxpP9fLOiMuAPzrad82L5d/PsWCiFxay/kHltRhC9yfEuJOLi9SPaHherVuIsUxFyKozA==, tarball: file:projects/arm-datamigration.tgz} + resolution: {integrity: sha512-IEsrSpKapYUOg8ZJtoftvyu8cucFaJYNhfA7aIcIVop729u4EGFXXhRvFhSU8TdU904tqTrdfKU+QQIsrqEeAQ==, tarball: file:projects/arm-datamigration.tgz} name: '@rush-temp/arm-datamigration' version: 0.0.0 dependencies: @@ -14554,7 +14560,7 @@ packages: dev: false file:projects/arm-dataprotection.tgz: - resolution: {integrity: sha512-LdVQlNk85WkLK9UFEnJJKKKUL2eAwL6Mqs6VgOGojOomnnQGZg/kNYOgdtbvJ/V0th5JLVzDSD55d+xfUO49vg==, tarball: file:projects/arm-dataprotection.tgz} + resolution: {integrity: sha512-mPMDI8V3PEYMWzKfjL/WqtwL2gZjPrAQNoT8PZOO4Du7TC4r9oVMjoPoPtPIqEYTMGuCh80/gto9RGc+jL0xxg==, tarball: file:projects/arm-dataprotection.tgz} name: '@rush-temp/arm-dataprotection' version: 0.0.0 dependencies: @@ -14585,7 +14591,7 @@ packages: dev: false file:projects/arm-defendereasm.tgz: - resolution: {integrity: sha512-98fr3fMGLC57z4fOkxQpGGkppirHPusHmoYQqJJ1FJxmacoAygaezvyR7QJ0P/2dYd9MQAVVshAItBnRCX55+w==, tarball: file:projects/arm-defendereasm.tgz} + resolution: {integrity: sha512-7ZapL0RxM8uEdo9Rw4fqFSSwB9+oVkAO1tBNtqmGgo4pQSJqAfEounweI8xswwkiraFYuc/BxStTTI6S2D5Z/A==, tarball: file:projects/arm-defendereasm.tgz} name: '@rush-temp/arm-defendereasm' version: 0.0.0 dependencies: @@ -14615,7 +14621,7 @@ packages: dev: false file:projects/arm-deploymentmanager.tgz: - resolution: {integrity: sha512-bnUVyGPtkPe8LNSyCy1yClVXU8St7RlUkXoNBlihb5TyJFsyPuXKgYXpcYh9iyHpiKqoLiS7Cj4gPM0C0nmkKA==, tarball: file:projects/arm-deploymentmanager.tgz} + resolution: {integrity: sha512-RxofYNGQ4TP+HYcb8QI86FIpjvnsmd6s1Lc9SpdDJ+v7xTfZa5lq6Qy/w3pDGeBRlPDm9dZm1K+q79p3JeAqYA==, tarball: file:projects/arm-deploymentmanager.tgz} name: '@rush-temp/arm-deploymentmanager' version: 0.0.0 dependencies: @@ -14644,7 +14650,7 @@ packages: dev: false file:projects/arm-desktopvirtualization.tgz: - resolution: {integrity: sha512-mGgbpMxIDwwPkf1n/Qpmb8nIWXxfBmYKxjaYcxWabnoNdL2keoT0+jqT1fsIU2ttLUMm5Zj4pI6+2pGCI02+DQ==, tarball: file:projects/arm-desktopvirtualization.tgz} + resolution: {integrity: sha512-KO7SOu5mwyQwRnZp5ptYmnZ6oHUIMHsxwKWASnilMZuqST0RRWg3B35U9fhFA/ELowa5fUc+LpnDczPD58r+LQ==, tarball: file:projects/arm-desktopvirtualization.tgz} name: '@rush-temp/arm-desktopvirtualization' version: 0.0.0 dependencies: @@ -14672,7 +14678,7 @@ packages: dev: false file:projects/arm-devcenter.tgz: - resolution: {integrity: sha512-WzOYyZ7sYCs47LFx+uqBrSXVF+Rkif62PG7vbbljUQSsBkrnhtXwMD76F6w2iYLF6nbRbsvkyhoXlBzT/M8tiw==, tarball: file:projects/arm-devcenter.tgz} + resolution: {integrity: sha512-JurFyM3b6qbeR5PO5zx2jDzOwiMPPUn/RAi0UeM62muO2TmoeBUKLkjbJhCTRillgWeJHVNFIplnyuY54mBLlw==, tarball: file:projects/arm-devcenter.tgz} name: '@rush-temp/arm-devcenter' version: 0.0.0 dependencies: @@ -14703,7 +14709,7 @@ packages: dev: false file:projects/arm-devhub.tgz: - resolution: {integrity: sha512-EdaLVv3eLxnjLGMlbdpAddyXwOZfPmne9ziabI5duyiaNj3LGB3XFzDFXxB5Q14PELzsp7pxO9j8dTOb63tWoQ==, tarball: file:projects/arm-devhub.tgz} + resolution: {integrity: sha512-uM9sv49gEdbbukbPXUkGwEr57/C8G4voHCZVwjayArvzQxpmw0vCRWgmdNtHFUMNF8qxAne7E9v5b0oge6KgsA==, tarball: file:projects/arm-devhub.tgz} name: '@rush-temp/arm-devhub' version: 0.0.0 dependencies: @@ -14731,7 +14737,7 @@ packages: dev: false file:projects/arm-deviceprovisioningservices.tgz: - resolution: {integrity: sha512-lQqDbv7g9n5GKZZ6XzHJ/1krYnpj7WD+L9eUGsDCYNIvfS820VCD2NWILorCZ1HM3aH60jS+1vE2yYq6rUriVQ==, tarball: file:projects/arm-deviceprovisioningservices.tgz} + resolution: {integrity: sha512-D1j7w251vbrba8H1bHgnWhFID6Nf0yN2d2IaXcyB4zNibyi0D8ZI8SvBidMrsGXOo+yAD/jCSp1Ta4n+xgy+Dg==, tarball: file:projects/arm-deviceprovisioningservices.tgz} name: '@rush-temp/arm-deviceprovisioningservices' version: 0.0.0 dependencies: @@ -14761,7 +14767,7 @@ packages: dev: false file:projects/arm-deviceregistry.tgz: - resolution: {integrity: sha512-k8vk0idHyonOoNArlqW4tLfeAxfW8FCbnXT0OzkiNQKp45c6YSsFT1htPCQEQmLDMoDWfuUsmAvrNMdKlEZD6g==, tarball: file:projects/arm-deviceregistry.tgz} + resolution: {integrity: sha512-uorbaXlwdBW4pHmu5isNUlJSOqG2W/3hDKtz+t+cmKhs+exRSXDtKUTjQVQliSIEKvVFnKlguoD85DXlOFi6Bw==, tarball: file:projects/arm-deviceregistry.tgz} name: '@rush-temp/arm-deviceregistry' version: 0.0.0 dependencies: @@ -14792,7 +14798,7 @@ packages: dev: false file:projects/arm-deviceupdate.tgz: - resolution: {integrity: sha512-z6sZ0yLyraPVZIG8aB/OCRUf1V1BKgZmZSmoM88wL1miK+yYSVvRJcNPDW72x4btKJXhfQTGrCjIjyBE9vCPmA==, tarball: file:projects/arm-deviceupdate.tgz} + resolution: {integrity: sha512-sxFBXsSKlNJMjF2Z/fHgJ74YDfmEOpvhJBJWng55rnryYJpx18+0tvuY4o7kDQKfo5fNk/dVYJKyBA6mz1Q8tw==, tarball: file:projects/arm-deviceupdate.tgz} name: '@rush-temp/arm-deviceupdate' version: 0.0.0 dependencies: @@ -14822,7 +14828,7 @@ packages: dev: false file:projects/arm-devopsinfrastructure.tgz: - resolution: {integrity: sha512-Xmke4vEWYHy+QQ+/iYtu7ywr+ynW+EXriwXzdXW2rQ8himsYCsyQRz2GXCwJBKYBl1mmtDwAUE4SGZ9NMKFwQA==, tarball: file:projects/arm-devopsinfrastructure.tgz} + resolution: {integrity: sha512-4zHK93tKjUT4Aksx+xEV/eCXF5V/jP0XNr6J0V4yt7oWNIh4OEgNpl0i5XG8MRVBVjpxRoWnixbZgnm+nZNogg==, tarball: file:projects/arm-devopsinfrastructure.tgz} name: '@rush-temp/arm-devopsinfrastructure' version: 0.0.0 dependencies: @@ -14853,7 +14859,7 @@ packages: dev: false file:projects/arm-devspaces.tgz: - resolution: {integrity: sha512-jlFWQo4HQ3JQyIXMlCCenE0wkocWFAkYr/CWnc0NQkX5AsiO/jnh9PMYvFqQuEdyS2jqYGYyu7C3nKUZNHEtzQ==, tarball: file:projects/arm-devspaces.tgz} + resolution: {integrity: sha512-mIcMSxyuO791Tup/qBtwba/rS/Pbz5qAWnZMacRfMAtRBGIc1/F7MnqNeJVNbMnOu9IuvAzbAN05dLOM2YkRqA==, tarball: file:projects/arm-devspaces.tgz} name: '@rush-temp/arm-devspaces' version: 0.0.0 dependencies: @@ -14882,7 +14888,7 @@ packages: dev: false file:projects/arm-devtestlabs.tgz: - resolution: {integrity: sha512-gTx80BQNVPreQoy/L1z1UA3lDxk8fXJkRPr9JeqSgoy5vwXN37+fsHcaied4c6lhQjHLj1n2JH3Rbd8iZk1zIw==, tarball: file:projects/arm-devtestlabs.tgz} + resolution: {integrity: sha512-c7ox4i6D023X+c7vBcY9EF4LP/lQiI9vpslVpCLzYIqY++5AmBtKrzxyumlOnMkQuFFYK9LuRR7T7Jtz8f4ReA==, tarball: file:projects/arm-devtestlabs.tgz} name: '@rush-temp/arm-devtestlabs' version: 0.0.0 dependencies: @@ -14911,7 +14917,7 @@ packages: dev: false file:projects/arm-digitaltwins.tgz: - resolution: {integrity: sha512-hACmyDTZT5Nue06GH53PNJ4TWpcKbpHpzB/e4J/ojnEFMlTW4oTLU6aWCEKsElp2BQ2xJ/p2l+3uktEQ+2cx/Q==, tarball: file:projects/arm-digitaltwins.tgz} + resolution: {integrity: sha512-eQT/IMro7HG/g0+aj5gAv1oiShbvUeRzPbGBgWDg4pgpDLBsSTFK//ARjCI7M/qM9Z3XvNjUSTznM8N6LbR6UQ==, tarball: file:projects/arm-digitaltwins.tgz} name: '@rush-temp/arm-digitaltwins' version: 0.0.0 dependencies: @@ -14941,7 +14947,7 @@ packages: dev: false file:projects/arm-dns-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-6jkA53NekdbstrWe3SvTUdK+CcIEJjdyuwKyqmZlOuVm04+0EZgCjmijZYN/3quQCrFnukBHwrP4d2VVbxwtgA==, tarball: file:projects/arm-dns-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-T0wRLScYsY4szLLWEDd+V9ap7cyXs8jRV93nyNtSV5I9LvyV7tTrFDkFmNvnFHoUYvdmK4TfWPkSv9Vv4COwCg==, tarball: file:projects/arm-dns-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-dns-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -14971,7 +14977,7 @@ packages: dev: false file:projects/arm-dns.tgz: - resolution: {integrity: sha512-HEM58a7DcKeutSbQVeZ3jdVaBeQbGn/4b8C58+XTVwaEljTCMbma2Nas20P3ehm2Wy9p3R9kz1ioUA9afWpjdg==, tarball: file:projects/arm-dns.tgz} + resolution: {integrity: sha512-TQido9uO82arRWzrTN0K1remElEhm2ouPkrvQEtOtQRIUl/84aLjasJjjsF2RDLRhwnm7PjDIo/oozZVAQXFyQ==, tarball: file:projects/arm-dns.tgz} name: '@rush-temp/arm-dns' version: 0.0.0 dependencies: @@ -15000,7 +15006,7 @@ packages: dev: false file:projects/arm-dnsresolver.tgz: - resolution: {integrity: sha512-DeLf7+7CkmmVIUt9YZSfoBhkxZNdk3QdqtlS8krdPjms6MZczMyc4xtFuXWbXrE8ejCrBvhAur1caIV576e+Gg==, tarball: file:projects/arm-dnsresolver.tgz} + resolution: {integrity: sha512-cXYXTCEm/jh3jlVQ8d7a1dCCqELzBsFshdreRd5Ly2NOx/IQ26C9fs20Txh16GN6b895cyziWsQd2zXefJajjg==, tarball: file:projects/arm-dnsresolver.tgz} name: '@rush-temp/arm-dnsresolver' version: 0.0.0 dependencies: @@ -15030,7 +15036,7 @@ packages: dev: false file:projects/arm-domainservices.tgz: - resolution: {integrity: sha512-7EqjjV4zyIaCTWxDU+h1f6asLud4RJF4fMBQ4uGizNy0Y4kxBWWa7zG9UJ3MsSkD6U3q+GSGx35QGYt2WaIYUA==, tarball: file:projects/arm-domainservices.tgz} + resolution: {integrity: sha512-56Z4MCVLd1HbrkYnH8JbLj7z1J9OPSPw/9kSyCNju0k5RB8LcJZt6gU8PNmfabcIhr98j9FeReHOIBbTxjzphw==, tarball: file:projects/arm-domainservices.tgz} name: '@rush-temp/arm-domainservices' version: 0.0.0 dependencies: @@ -15059,7 +15065,7 @@ packages: dev: false file:projects/arm-dynatrace.tgz: - resolution: {integrity: sha512-Uoemd4Ar2HBsOdh/+FqGAG1YW4h9Qk2GuV/QMlI9ahEvpQz1HeUAGM6azHHbNxDdBV5Lvd3p3JZvMO6QrQFTQQ==, tarball: file:projects/arm-dynatrace.tgz} + resolution: {integrity: sha512-7X2We+Y8snc3mGhkUhpBka7+vg42/KySiScTOBtj185VYJJ/LgCGCif+TXh6qY3w3Gh2MKA05FXhkpWeUgJx2g==, tarball: file:projects/arm-dynatrace.tgz} name: '@rush-temp/arm-dynatrace' version: 0.0.0 dependencies: @@ -15089,7 +15095,7 @@ packages: dev: false file:projects/arm-edgezones.tgz: - resolution: {integrity: sha512-a1ODenPYrH2Pc+Zf6INTAZNtAsti9ACPy8Vpz0cnZuLrDyUIm+eQJ3ynakAtYVqc3AEuBsBH3s+3G1CNZLqioA==, tarball: file:projects/arm-edgezones.tgz} + resolution: {integrity: sha512-lp8JhRQXr8dqHDjYDq3RUhpI2/vvzIxeQk655dFsc0Xw+QVvLlI/XrKdud+pD2CkBS81UYEg3VCJs4MC6HE3Bw==, tarball: file:projects/arm-edgezones.tgz} name: '@rush-temp/arm-edgezones' version: 0.0.0 dependencies: @@ -15128,7 +15134,7 @@ packages: dev: false file:projects/arm-education.tgz: - resolution: {integrity: sha512-x6BSagYZf8VqOMvVwS2MCGtyhVMapl42fkbhFnOZ3QWsD0wzV8erSQ8Yc+xkuZJ2YomexmEaWbimbNCHcyNGrA==, tarball: file:projects/arm-education.tgz} + resolution: {integrity: sha512-6s1hwNP3POhgx1UP1s5nCcMk9lCYjVLKaZq96w+AHz3a4CUSAMnrAWepnfqSHXOyzY8JGfUSsVIJ0QlnCbLHaA==, tarball: file:projects/arm-education.tgz} name: '@rush-temp/arm-education' version: 0.0.0 dependencies: @@ -15156,7 +15162,7 @@ packages: dev: false file:projects/arm-elastic.tgz: - resolution: {integrity: sha512-PSzS1KszY3iCaTiQ8PdeNs1dmiUfcvVfUYaOxivul9DmZGa7Fzn7N1w6PXjBcwmK9HhAPa4iFsrCJB/L58IsJQ==, tarball: file:projects/arm-elastic.tgz} + resolution: {integrity: sha512-2FKz7gVut3EymfgeZeq6x+sZtiOjZbQIv6ei1YmBfQ+8GObnZvyNY9l7i8DcrLlRUm/c3XpAbnfZWSXjMK4tJA==, tarball: file:projects/arm-elastic.tgz} name: '@rush-temp/arm-elastic' version: 0.0.0 dependencies: @@ -15186,7 +15192,7 @@ packages: dev: false file:projects/arm-elasticsan.tgz: - resolution: {integrity: sha512-4MMnTd/nW32J1g50ddHY5IdpRQf+v/I3sNjzV3Ba66iuJ0NGEnPp7bAxYU48fxowbaRUQxICJzV2bOSsfAVRmA==, tarball: file:projects/arm-elasticsan.tgz} + resolution: {integrity: sha512-Dq0oe3mUlmgcZODwRVKN6dmH57NPB2jSsbeoFVORgq7fUSpvOatHlJ6rlD7bARKiPY1z0sSKw4zT1FGP6XgsBA==, tarball: file:projects/arm-elasticsan.tgz} name: '@rush-temp/arm-elasticsan' version: 0.0.0 dependencies: @@ -15216,7 +15222,7 @@ packages: dev: false file:projects/arm-eventgrid.tgz: - resolution: {integrity: sha512-ffWmdtpwL+nEAZ2QP/XA8o3d6Aj4hV4mXQwBVcc+mmUTooGQaKDeRmtM22yHvgsue1adeRspsiEro1C72uxRfw==, tarball: file:projects/arm-eventgrid.tgz} + resolution: {integrity: sha512-4YK9IynwJXon9hJnbaeH4il+Yq2RjMdtBTxhzG52gkxmrNU8Lmyhf1gg2GYo+7sGjzweXu+bmoG7aYnQEDRuIg==, tarball: file:projects/arm-eventgrid.tgz} name: '@rush-temp/arm-eventgrid' version: 0.0.0 dependencies: @@ -15246,7 +15252,7 @@ packages: dev: false file:projects/arm-eventhub-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-gKfci7TRJeVa2haPo9T+5O0bCejD+6KISf9tm2zK73w9UdnQ5HjzNoeMK8pULQRRtW1DBIYdIGhpD0wQcq0i2A==, tarball: file:projects/arm-eventhub-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-q4eSlXelnKFJrtia8RshRPcr7JmE2I1M0l3XJS9CVDgHcq6c9xtMY+8naxW94MK2C4eT2gXc5ahteYeegSBUrA==, tarball: file:projects/arm-eventhub-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-eventhub-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -15276,7 +15282,7 @@ packages: dev: false file:projects/arm-eventhub.tgz: - resolution: {integrity: sha512-lfSe6nQ7fPzbc+L69MCp4abRS9+vrcP1wgn5rtTcwpOAPTk1LmK6+3WOalQcpLwkbXkU/XKce1h0nKfh0iJJBg==, tarball: file:projects/arm-eventhub.tgz} + resolution: {integrity: sha512-NK8mDnu6HDMOlxun9X23Jc7OciDr5lidWZb/j0XdcRVaOWKdj4KHU6Pm6oIHAHdRQkJ320EqyErR1zd3uWiElw==, tarball: file:projects/arm-eventhub.tgz} name: '@rush-temp/arm-eventhub' version: 0.0.0 dependencies: @@ -15307,7 +15313,7 @@ packages: dev: false file:projects/arm-extendedlocation.tgz: - resolution: {integrity: sha512-euvVbog11FaHgYwp9+Y1UGHlbQ+MCA/UWJF5rutfFaIGSvwXbinRDjCID22NBEbbLvgynb4M+P1tBMldTgaf/g==, tarball: file:projects/arm-extendedlocation.tgz} + resolution: {integrity: sha512-/1oB6Ijpuu0oWvGgxE1qz+FvBRcGQorcbD9w9rnBoph/sHRVSc/ri43q/dZrUHd/0UiyiEtg8r37cEPdld4/vQ==, tarball: file:projects/arm-extendedlocation.tgz} name: '@rush-temp/arm-extendedlocation' version: 0.0.0 dependencies: @@ -15337,7 +15343,7 @@ packages: dev: false file:projects/arm-features.tgz: - resolution: {integrity: sha512-JC146AMN2BHFjNnvPP9OFtoz6VpyauZ8Xy1HzlFBtKvRWBbzr2T/ZyQM6tZD6VQqyly61yboTKL+ii7NgHoHzQ==, tarball: file:projects/arm-features.tgz} + resolution: {integrity: sha512-MGfIHL8E9i2mEsSj2AttXklT/ZhCUZ19LiTlRCilTPfp+Nv+pTncUpKdKRjD+TpDDBKwtt8g1tNbCzqNdUkXMA==, tarball: file:projects/arm-features.tgz} name: '@rush-temp/arm-features' version: 0.0.0 dependencies: @@ -15364,7 +15370,7 @@ packages: dev: false file:projects/arm-fluidrelay.tgz: - resolution: {integrity: sha512-ZegVJMtbz7wanxAKu2VuPOtxsN/8mUauieYW4EdHg5MkbWM3p9XHjjYeXLfZoawMVq/oJmVJet/E31sYu8/L1A==, tarball: file:projects/arm-fluidrelay.tgz} + resolution: {integrity: sha512-rXvs39Ibzkg1ZtOgo2uT9dmUDbx6VsRvngh/R2T0+M3PsV7JAOlVcMFkcaoREHabuqVmhb6kPtByc/4PmLLz0g==, tarball: file:projects/arm-fluidrelay.tgz} name: '@rush-temp/arm-fluidrelay' version: 0.0.0 dependencies: @@ -15392,7 +15398,7 @@ packages: dev: false file:projects/arm-frontdoor.tgz: - resolution: {integrity: sha512-DaJ5QSS7iZIxm8z8+bbSnYZQ55JuGoxN+2AIN/g9WLZs1Za1qIb5CyR/VxtGws/dfl4QA+/CNPmDY+8rTdGjTg==, tarball: file:projects/arm-frontdoor.tgz} + resolution: {integrity: sha512-Q+PsEBRiSD+MP92WrQ+lPLwf/EJ7xN1+s4jDikUujkb7rBZhjKoK2fpmipU0itBTSsk0w9GoGUdI06ou99zriA==, tarball: file:projects/arm-frontdoor.tgz} name: '@rush-temp/arm-frontdoor' version: 0.0.0 dependencies: @@ -15422,7 +15428,7 @@ packages: dev: false file:projects/arm-graphservices.tgz: - resolution: {integrity: sha512-5L9ydnPtfb1lsXMfxOBtubcmoFn18vOY9nFiutgQtRAqCidqtu1TBgqwr4W7WyM5yVHfSoqFibGn0W6K5DtDeQ==, tarball: file:projects/arm-graphservices.tgz} + resolution: {integrity: sha512-x9vMJoX3X95EfiVgv4Md4UtITfKsSlGx8njAAXOK7jJG6H1LT8q3TGGU9yr+revgdbM+tOyd7LPHSpYHloUz7w==, tarball: file:projects/arm-graphservices.tgz} name: '@rush-temp/arm-graphservices' version: 0.0.0 dependencies: @@ -15452,7 +15458,7 @@ packages: dev: false file:projects/arm-guestconfiguration.tgz: - resolution: {integrity: sha512-pwV6vn0IbJGXQuS/Oo6m1DkcH71ClCzZQM47ZzhZxLWX3JPq5ex+gDjPV6/jvwB3JlP2qGn1DDC4tw+4b4ARLg==, tarball: file:projects/arm-guestconfiguration.tgz} + resolution: {integrity: sha512-KL9d6HUsLs9MzQ/PQjuhRgFRGH8rPhZOiFEZ5jZoTZpRU1rMtHN+NzOcc46B2NG9XY6eaCeeLrWk2g3Gh9F1sw==, tarball: file:projects/arm-guestconfiguration.tgz} name: '@rush-temp/arm-guestconfiguration' version: 0.0.0 dependencies: @@ -15481,7 +15487,7 @@ packages: dev: false file:projects/arm-hanaonazure.tgz: - resolution: {integrity: sha512-eLmdDQCUnf2uwgVHYszlH5lHQ78p/m7JuCHEoPPTJCjcfQzMiTLJeIbMxJ+ihO/snTeFSXM1rWqk6vit2XD1sg==, tarball: file:projects/arm-hanaonazure.tgz} + resolution: {integrity: sha512-wZxajkX2ZA29UZ0z8VWxJ1lRVXCQ7tU8EwPt9C65tzBGzTcPmynTYrOPxf9jvHhEZ3v/PsfFRRw3hMseznWArw==, tarball: file:projects/arm-hanaonazure.tgz} name: '@rush-temp/arm-hanaonazure' version: 0.0.0 dependencies: @@ -15510,7 +15516,7 @@ packages: dev: false file:projects/arm-hardwaresecuritymodules.tgz: - resolution: {integrity: sha512-SxVTbdWxK7Fucy/5J028MoteqC3gQcJBGV7NN16+BdhQeW3C67ESFXy7E3zapWfZq8qBqBjw+M4r4hDPA1sirw==, tarball: file:projects/arm-hardwaresecuritymodules.tgz} + resolution: {integrity: sha512-hBnfSYvy4U1rdxPIrXrbE3V/loLfiq0nz0D0cvuP9hDdCgwpm4uBE0z4Q4oAzPG/JIZlZGhpCBqbzZ6Qk1gMpg==, tarball: file:projects/arm-hardwaresecuritymodules.tgz} name: '@rush-temp/arm-hardwaresecuritymodules' version: 0.0.0 dependencies: @@ -15540,7 +15546,7 @@ packages: dev: false file:projects/arm-hdinsight.tgz: - resolution: {integrity: sha512-A4Q0/EIreGCf/t+J6DolGF8wsuBun8IeEpiWzRSKp8fE/okeb/F/Cq+6rJjZmAXopoSaXUAbn+Nqu/z+yOW+wg==, tarball: file:projects/arm-hdinsight.tgz} + resolution: {integrity: sha512-eiFm7PPic2gShSdrXChLKrHzziw3RjxQ+cs7C3VChzB3M8ug+f8VOLNrUpc9lb9/AMjMxi6PjDQXAxKuj6M29A==, tarball: file:projects/arm-hdinsight.tgz} name: '@rush-temp/arm-hdinsight' version: 0.0.0 dependencies: @@ -15570,7 +15576,7 @@ packages: dev: false file:projects/arm-hdinsightcontainers.tgz: - resolution: {integrity: sha512-bb9vJOVtfI7fzJLpOWd0mvmNqkYBZDF7S1JV5BG0BWGUOXg8KddZ/D3PMY9muhnfotX8Lwrk+LJyPiI5sjifwg==, tarball: file:projects/arm-hdinsightcontainers.tgz} + resolution: {integrity: sha512-hm1Tc36raFlmTzX7tpUJGZdiAn+FK1f0Nr7Vzoy2D8b+3lXIZ+6zEinSI8nXRq/GWlGNqSpIAN4FAyOVbG+qQA==, tarball: file:projects/arm-hdinsightcontainers.tgz} name: '@rush-temp/arm-hdinsightcontainers' version: 0.0.0 dependencies: @@ -15600,7 +15606,7 @@ packages: dev: false file:projects/arm-healthbot.tgz: - resolution: {integrity: sha512-djZlyZzHlBCFIYcJ3NySW3fo+BlVJg4cjZoEbaw2sdiikwOeYL2t2lVgeEmpvIN8zT7PKHgt/BAvvRYsV0KCyQ==, tarball: file:projects/arm-healthbot.tgz} + resolution: {integrity: sha512-Un9Xwt4cbaqeYJ8q7I2VjYPsPPpRDA+F4xd5buuLouAZ0ClO8Gaxbl4lurygVW7NjgUICSFyE92q5SDyFZ3AkA==, tarball: file:projects/arm-healthbot.tgz} name: '@rush-temp/arm-healthbot' version: 0.0.0 dependencies: @@ -15629,7 +15635,7 @@ packages: dev: false file:projects/arm-healthcareapis.tgz: - resolution: {integrity: sha512-H2TxLJcRhEfs+RFIQe+ffVdrxW6uDcjzfqz6F8avIlJlAhNTz5JuFowd7BLCnU99dJ+q+Aj8psZcINkIIPuYQA==, tarball: file:projects/arm-healthcareapis.tgz} + resolution: {integrity: sha512-6r25yGtz+tFpT29HNr2hsonsx/pZSyrbKyLa/QOuAf1PZwidLMkiKrJP5zDsbdlluRSe2tZMxgp7ZLb/9HwsDA==, tarball: file:projects/arm-healthcareapis.tgz} name: '@rush-temp/arm-healthcareapis' version: 0.0.0 dependencies: @@ -15659,7 +15665,7 @@ packages: dev: false file:projects/arm-healthdataaiservices.tgz: - resolution: {integrity: sha512-CF1NDRC0Si5iOWo1neCbCN6TlFoUDMIspbbEYrjZ5hIFY8CbPG8hwvDMy7rRBrvt396JGlJ4slwOobF728jMEQ==, tarball: file:projects/arm-healthdataaiservices.tgz} + resolution: {integrity: sha512-G1zldD0alfR8kMUj59ex3H7X+PSn16c7wcRzEYK2FRcMl+hIJslhcxym931WVCkecPCdMUD123PmFC1PuS7xRQ==, tarball: file:projects/arm-healthdataaiservices.tgz} name: '@rush-temp/arm-healthdataaiservices' version: 0.0.0 dependencies: @@ -15698,7 +15704,7 @@ packages: dev: false file:projects/arm-hybridcompute.tgz: - resolution: {integrity: sha512-wVSrm4aoTJmUA1s14d3er3Gl9qTN+62er6kypTMV4tOc8+diDsA98xMlu0/GJFes8efUbc6QiJkymgo10+gDag==, tarball: file:projects/arm-hybridcompute.tgz} + resolution: {integrity: sha512-piHmNUXYyLYB3zYcjPVPoB2JlkIrf60nv+aGdOG/Uo5lqXDa4vjd2MY2yFITHVKZGDudVNZQPEWgi+27vwKzLg==, tarball: file:projects/arm-hybridcompute.tgz} name: '@rush-temp/arm-hybridcompute' version: 0.0.0 dependencies: @@ -15729,7 +15735,7 @@ packages: dev: false file:projects/arm-hybridconnectivity.tgz: - resolution: {integrity: sha512-J0NmmLjlF9UyHtazlLl3+2q5ql9QKOe32CwTYW4KyPC3GcHWQV9I+A+epI80pWsP2ZRACngdcunGhXnR562pZg==, tarball: file:projects/arm-hybridconnectivity.tgz} + resolution: {integrity: sha512-1lBPG78GcJzp2UAt2MFD2eH614bbwxd5E+Mtrskcik1ud+X2afpPYCCEh+jpfY0RCQPlelzVeajjyIHVNYWBhg==, tarball: file:projects/arm-hybridconnectivity.tgz} name: '@rush-temp/arm-hybridconnectivity' version: 0.0.0 dependencies: @@ -15757,7 +15763,7 @@ packages: dev: false file:projects/arm-hybridcontainerservice.tgz: - resolution: {integrity: sha512-ht2gOs6v/de7bvKzQqGcn7F1QAL0Dc0kRWKXL21bamQkBZP3xK8mEoBIYab/bOJY2TfYD/GvrTamTsRnvow5Kg==, tarball: file:projects/arm-hybridcontainerservice.tgz} + resolution: {integrity: sha512-1W5YjPnicefzPEWvpWRyqwe+1D/ZhSH58N5GAFgvoBsjw81E04i/NJbVkLCKCOJ1w/ok6yrsj8Re53Sx/KXWHw==, tarball: file:projects/arm-hybridcontainerservice.tgz} name: '@rush-temp/arm-hybridcontainerservice' version: 0.0.0 dependencies: @@ -15787,7 +15793,7 @@ packages: dev: false file:projects/arm-hybridkubernetes.tgz: - resolution: {integrity: sha512-v7BI3tLh9LWioPyw1bi7cqIl6qtiFLnymo0AXZ5RP8UJoAK75tFBQv2SDUs8YMwzRnnfFMKeLrVGz9a2weQpgg==, tarball: file:projects/arm-hybridkubernetes.tgz} + resolution: {integrity: sha512-RvxwgLVmfXu54T/ctLrBUFnVTKi2bLIxsYyuXagrnsKwp46ftByNLhXFJ3cS5HD9Ks+wwoFhlVIxTxPFqtYQrQ==, tarball: file:projects/arm-hybridkubernetes.tgz} name: '@rush-temp/arm-hybridkubernetes' version: 0.0.0 dependencies: @@ -15816,7 +15822,7 @@ packages: dev: false file:projects/arm-hybridnetwork.tgz: - resolution: {integrity: sha512-si3XV4/fqNlcVL4/y6Vca84ATqwLbyKfyPmHTCErA9xCE/aH3bWXwFjsL8fuJgNgUQQy1QIjO8wJMgJIV+O+ZQ==, tarball: file:projects/arm-hybridnetwork.tgz} + resolution: {integrity: sha512-ITLTEI5ghuWfP13b+ABHsD1F4njTNICDQArXeslsT49uH+KEN83aHn7Comw6vL8/27yS6hpUUDX2sQVfUvUktA==, tarball: file:projects/arm-hybridnetwork.tgz} name: '@rush-temp/arm-hybridnetwork' version: 0.0.0 dependencies: @@ -15846,7 +15852,7 @@ packages: dev: false file:projects/arm-imagebuilder.tgz: - resolution: {integrity: sha512-islzKXCverh55F/8bwNWnF4ocA6k4XZlCbinA4+4XRneUPoac7nP5XKWj3pfRAPS1p0R9hJwTLHPsAIvwLTxbg==, tarball: file:projects/arm-imagebuilder.tgz} + resolution: {integrity: sha512-pQoZ4wc8j0MjhyKzsQLomLQ1Opl4DtzihWSX2ZdbvXJkS7KYRE6YH1Vh/M1tfYgOeS6XLQuiB0E+0BXhspx4ww==, tarball: file:projects/arm-imagebuilder.tgz} name: '@rush-temp/arm-imagebuilder' version: 0.0.0 dependencies: @@ -15878,7 +15884,7 @@ packages: dev: false file:projects/arm-informaticadatamanagement.tgz: - resolution: {integrity: sha512-0LiOfzmcuztZNeC0aPA8aSrLQwpWuI2m9mtRslQFvuXtIio4lo8KCmWmn52V8Dm4b+6iBV92WnyDpdv6F1Vuew==, tarball: file:projects/arm-informaticadatamanagement.tgz} + resolution: {integrity: sha512-4ZoBX8l7MMUojMK0UPDFYD+WekFgLiDDH1gXAxCxbiQK7DsI6slk4e1jA92nZVKhcOeKjQlvxUazv3npWw/7aA==, tarball: file:projects/arm-informaticadatamanagement.tgz} name: '@rush-temp/arm-informaticadatamanagement' version: 0.0.0 dependencies: @@ -15909,7 +15915,7 @@ packages: dev: false file:projects/arm-iotcentral.tgz: - resolution: {integrity: sha512-/Qvnnq9+sxa4zdmQN5Eo/wvtOQWMQ79sMuhcLAJYDUVRPqO/EXu+0y26GmEHIKA5WVwk8X2flk994h41h1gs3w==, tarball: file:projects/arm-iotcentral.tgz} + resolution: {integrity: sha512-fosSiBVeZQ5JB05Itdf3WvfnHR/TefNuVz8d6g5sDnKl7E7T6T82s+k0YD5G/kRenAIBY5kmt4ZlrQxEBaAgJg==, tarball: file:projects/arm-iotcentral.tgz} name: '@rush-temp/arm-iotcentral' version: 0.0.0 dependencies: @@ -15938,7 +15944,7 @@ packages: dev: false file:projects/arm-iotfirmwaredefense.tgz: - resolution: {integrity: sha512-doiYgE57iB0TicEeHoMrq630z4WKYXK/ukWmVEHor/WRimO35ibH9I+KyJxLTdcEifSNWnz2ZeUTnijWuZKmtA==, tarball: file:projects/arm-iotfirmwaredefense.tgz} + resolution: {integrity: sha512-TfKu8JeMfAq72ebbUwKck2nTo2SWtoOQWh7jq07Hj8y9wLPslALsgA0qcq8Glp6Sn5tHNNMylFM2hJzizsoZAA==, tarball: file:projects/arm-iotfirmwaredefense.tgz} name: '@rush-temp/arm-iotfirmwaredefense' version: 0.0.0 dependencies: @@ -15966,7 +15972,7 @@ packages: dev: false file:projects/arm-iothub-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-7qxWlLzN8YRbVTvvVQZlGC/Q6FKSvg159gIppOmZCEWSGcuUyYEltBMei5YMdMcMBjVUz8cGEgboxtxQRk0UKw==, tarball: file:projects/arm-iothub-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-FcawHki0FZv8yC0S8k6sXEGB3nsU+tQNeGgX7B+vYqd7f3P3VgZN38c6NrUoh+OhhMf7ltR2Aowh34nKqVcqgg==, tarball: file:projects/arm-iothub-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-iothub-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -15996,7 +16002,7 @@ packages: dev: false file:projects/arm-iothub.tgz: - resolution: {integrity: sha512-O/UxFqlG4xDI6fWlDg4tPSftTzbJyEQkiwzGOBxdA8CQRkJ3lRGc+AFnaP8h4J9tQYhjTmqQLnscuf/5x3HF6w==, tarball: file:projects/arm-iothub.tgz} + resolution: {integrity: sha512-6crX2NptM1qipMJXg/l8rBrmuQBmqWEtAaDPpZqJEeTkrlD5pLhku4lzWWqGTXWJHF+FxKhUwTnkA+t/IchOUw==, tarball: file:projects/arm-iothub.tgz} name: '@rush-temp/arm-iothub' version: 0.0.0 dependencies: @@ -16026,7 +16032,7 @@ packages: dev: false file:projects/arm-keyvault-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-bQrFhpP8CJJfhV/SLL2k9heS+qdcoJL1o8gBRCkLmsD0Gon6ydn9tlOADVmdCfjI5Yz54tZ7+6Abh2/ZedSsoA==, tarball: file:projects/arm-keyvault-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-OjdDNN+VYA9TfURM59pA9Obn9bnLeqPk/sEuOIx9w5J1McACr6yZ5yu9yi5bxUxLU0RHoHJ6Ni9SekY1RQmokg==, tarball: file:projects/arm-keyvault-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-keyvault-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -16056,7 +16062,7 @@ packages: dev: false file:projects/arm-keyvault.tgz: - resolution: {integrity: sha512-d4SHaoFUpJ8ih0zU9UoXoyYctaT5i3Loy3CZbIyQzCIXGzfwLFWzL1e5H5n90oqZHTtyuYeIICJajnoY6/3MaQ==, tarball: file:projects/arm-keyvault.tgz} + resolution: {integrity: sha512-mAsdypSGZnV860kD/SzwQDh1oRZta3XsBNoodgaaboXIsy/IWLU5eyq52IpW8TKAikgn8+zuSdw5WNtlWMjzag==, tarball: file:projects/arm-keyvault.tgz} name: '@rush-temp/arm-keyvault' version: 0.0.0 dependencies: @@ -16086,7 +16092,7 @@ packages: dev: false file:projects/arm-kubernetesconfiguration.tgz: - resolution: {integrity: sha512-PeJIHi0FLgfPhWTxibDl9ERZsC2ab3ODUpudD+QNJrrfdRNWdV/hI1tFOTbmkkeszC1KOZnTL/Lnf1XP1heUGg==, tarball: file:projects/arm-kubernetesconfiguration.tgz} + resolution: {integrity: sha512-y3uDo/SkP9RO1w5oC8d4fTIK6sYoN2R8bDfoP+8iYO/UtZMWWYFqTP4uey7TrzvN24Q4zTtj0K7yGnlm4tzQ8w==, tarball: file:projects/arm-kubernetesconfiguration.tgz} name: '@rush-temp/arm-kubernetesconfiguration' version: 0.0.0 dependencies: @@ -16116,7 +16122,7 @@ packages: dev: false file:projects/arm-kusto.tgz: - resolution: {integrity: sha512-gqmPjiPvhj7qkkKamq+Oc+rKuEgiEX0WOJU1EV7v8McQ29mN4+9ijv0Zg27ny6Ak5PRs1OJkuajlrOE/a+FQcA==, tarball: file:projects/arm-kusto.tgz} + resolution: {integrity: sha512-1iLqzDmxcFYUWXhy+/4h2fBFd2zcflAIWO+l0oyAOFAdQ483TZhYnj9lZ6Rd3Bju+VJoqnRPFEaY3nsDARfUFQ==, tarball: file:projects/arm-kusto.tgz} name: '@rush-temp/arm-kusto' version: 0.0.0 dependencies: @@ -16146,7 +16152,7 @@ packages: dev: false file:projects/arm-labservices.tgz: - resolution: {integrity: sha512-s06WQJqFbyrJo5/Yx/tCqeTwOf7TSkXmR4yiVDLK+JMNo+jkJ0HIeZGsbs0HNUAHvc7bS46QB0YXqjk/DzeLpg==, tarball: file:projects/arm-labservices.tgz} + resolution: {integrity: sha512-XftGsqcYoMhDToF9DoN5u2nRV3n4po2YuQnK6Clmh9GhogTMjlZVgSDpo9m5BJXwNEuQ5aKCZ4lyJ/CpC/P+wg==, tarball: file:projects/arm-labservices.tgz} name: '@rush-temp/arm-labservices' version: 0.0.0 dependencies: @@ -16176,7 +16182,7 @@ packages: dev: false file:projects/arm-largeinstance.tgz: - resolution: {integrity: sha512-nxw49eTw7jgUG3juKHFKgTdCOdu3gclWovPnKmR8FVOQVV2e1cbG0kiqayVRbaky5LGJQufkqDG9Fjy/uUaE1Q==, tarball: file:projects/arm-largeinstance.tgz} + resolution: {integrity: sha512-CeP557neBJiOaz9VTIRAxvkAJZ3JSqzn/V7CbBbSfTzIRuE/7XtalUUC+Y8WMJ1ezCaCAxpbcdpFqxCBl7iQPA==, tarball: file:projects/arm-largeinstance.tgz} name: '@rush-temp/arm-largeinstance' version: 0.0.0 dependencies: @@ -16206,7 +16212,7 @@ packages: dev: false file:projects/arm-links.tgz: - resolution: {integrity: sha512-77W4N/QEPk1aUeJ0c7ZuvuEZoa8I2z35s1nsr/AE+vIYShd5nvvzkKpLZu8D9/jMueOUqcfIRMmkw6h5rjWLbA==, tarball: file:projects/arm-links.tgz} + resolution: {integrity: sha512-Y+DsaW/LpnG+5Qmc8a0VBSAdq+1su29A6BMyBHj+wMXpeZJ7HImBNBygbhIEcK1bmLkurFNofPkQHsCtNbPUPA==, tarball: file:projects/arm-links.tgz} name: '@rush-temp/arm-links' version: 0.0.0 dependencies: @@ -16233,7 +16239,7 @@ packages: dev: false file:projects/arm-loadtesting.tgz: - resolution: {integrity: sha512-Uys9CZWTv4+u4g3aPfxf1aeMp82W/tb7U9GKNWY1rMN7gBU/X1Yt3ypbjidVdBg6x6htCpeXMyIRM495PY4o4A==, tarball: file:projects/arm-loadtesting.tgz} + resolution: {integrity: sha512-bZ3xgB1ce48ivsojJyX2Z/bDBrbE3MBrL3b25iT2rL99ch8KfMq+TEag9qmK9PI00d2Vt2OyuHUYF2Xgd+1AoQ==, tarball: file:projects/arm-loadtesting.tgz} name: '@rush-temp/arm-loadtesting' version: 0.0.0 dependencies: @@ -16262,7 +16268,7 @@ packages: dev: false file:projects/arm-locks-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-397ngzkRIA8R4IHxVGDc64H7JorWl0dxb3LmppqSzzZZnu1dHONNdMOQ1qZ+V0LTQ/JHc+ktEAWQw4ri+YsHOA==, tarball: file:projects/arm-locks-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-teHSP9EbN1mfRR/lCbVqY0oRrIe0TmQSjIsvIPPY5vWhKRLqPZG7w3L28dBGVGbVl5xym1aFNdNA3UUqqM8K2Q==, tarball: file:projects/arm-locks-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-locks-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -16290,7 +16296,7 @@ packages: dev: false file:projects/arm-locks.tgz: - resolution: {integrity: sha512-kCLLnPHTxyoHMXmAf3crhdzZU8fknOW6KzzhmY3pneYJeaYAaqEGe1G4O8fm0m3vvovZr0P0BRnnHXDkcKz90g==, tarball: file:projects/arm-locks.tgz} + resolution: {integrity: sha512-fjx7WwF1FZXvueJlmzW3YvUDLst/opNODcZ5Ynxg0yb6NdT5drCw/UqHI95meMkw3QSHSK9maPVpBNXlTJQ9LQ==, tarball: file:projects/arm-locks.tgz} name: '@rush-temp/arm-locks' version: 0.0.0 dependencies: @@ -16317,7 +16323,7 @@ packages: dev: false file:projects/arm-logic.tgz: - resolution: {integrity: sha512-ZtKW6fgn/4Pdgx8/Ja80iNjOAAw7KjsBSntt+z0AsPh48ZeKaYpsVUShezXGrtVKu+2ys0xWwtzfxvj8+yI6yQ==, tarball: file:projects/arm-logic.tgz} + resolution: {integrity: sha512-LIvScE9B4gqqPZNMMN3U31LaM0tx1pe5uNJQvMluH4GHsHwDcDas+Z9raikvHFwJN7KAyatyOSk3yaGSqeW40Q==, tarball: file:projects/arm-logic.tgz} name: '@rush-temp/arm-logic' version: 0.0.0 dependencies: @@ -16347,7 +16353,7 @@ packages: dev: false file:projects/arm-machinelearning.tgz: - resolution: {integrity: sha512-ivBIVTHfvuUmyylYEA5RXHcHqvRckkFNe9SE3elSZ4DT6E2r8k2tjjMTQgviOH/CCbgqKirUnXEJzsOmnHhLuA==, tarball: file:projects/arm-machinelearning.tgz} + resolution: {integrity: sha512-M5XIsO3iqa2ZE6Oz6L77iser+TQJsVUda306A42AVPTONARb8kZryDEuw1wIRW/UJ3O9nxEErWaZlj4KoT6EMA==, tarball: file:projects/arm-machinelearning.tgz} name: '@rush-temp/arm-machinelearning' version: 0.0.0 dependencies: @@ -16378,7 +16384,7 @@ packages: dev: false file:projects/arm-machinelearningcompute.tgz: - resolution: {integrity: sha512-Pzj6H7bmxBh5MVaE6b/ZC/8i6EfJm1ORXahqbbDa/McjzbfbktzRNRa9n5+TzomSou8EdoQRmjekG3+OPQbE9w==, tarball: file:projects/arm-machinelearningcompute.tgz} + resolution: {integrity: sha512-BYuhNPStN7SUpITR06rb8+1r1DaTJzxNDhrK/r+KM3RaIg7AUl0j80dgpFGS3cIXcLI05h+NSoK4cp/ap9vtqA==, tarball: file:projects/arm-machinelearningcompute.tgz} name: '@rush-temp/arm-machinelearningcompute' version: 0.0.0 dependencies: @@ -16407,7 +16413,7 @@ packages: dev: false file:projects/arm-machinelearningexperimentation.tgz: - resolution: {integrity: sha512-kAt9wUtbr/YDNSvhJXeFeMlRP/TQF6Rw3yXI+wIlQ9gbZMKUp4v9omKBK5wxjsMvM7HP5080HdKGjIst+OFNdA==, tarball: file:projects/arm-machinelearningexperimentation.tgz} + resolution: {integrity: sha512-SeKlFZD0c/o7e2wddKf9hrorOq6N6BnYj5AuDYUbJU1dXCKxm58yFK7GsSzaD6jgKiXHYJDs4YPSBErX6hGIfw==, tarball: file:projects/arm-machinelearningexperimentation.tgz} name: '@rush-temp/arm-machinelearningexperimentation' version: 0.0.0 dependencies: @@ -16435,7 +16441,7 @@ packages: dev: false file:projects/arm-maintenance.tgz: - resolution: {integrity: sha512-ORZ91RzlksgOwd86ITBlZPukgCaoHDS3mCy3GrhMlQBQedaM6gWxeb4jXKhuaBwB7FwZ37fXs0geZ0IfZdTiSA==, tarball: file:projects/arm-maintenance.tgz} + resolution: {integrity: sha512-P1/U3MpI2dKKpUJtvmJw6ooV3RbZO5E8HbaLBTWuX4dtfJn0SmXeQCUkNsjLh3F9bk/OzBzW4380xswaeexeHw==, tarball: file:projects/arm-maintenance.tgz} name: '@rush-temp/arm-maintenance' version: 0.0.0 dependencies: @@ -16464,7 +16470,7 @@ packages: dev: false file:projects/arm-managedapplications.tgz: - resolution: {integrity: sha512-Tgx2JI0Um66nz+Qvvf5IcIrFqK7m1UP2NrILFqiBnx2YzFdVlYqhkjnnpheYHSfWeFdwNEmmZkpgX9EiS62f1g==, tarball: file:projects/arm-managedapplications.tgz} + resolution: {integrity: sha512-CPa8cqojz6HZnY6P/sSYVlHzP91NNQe5BdDJ/CEqshUifWnZRdf/jEu4eZstZG+96v/2iTud0Ks0pibP1tC6lQ==, tarball: file:projects/arm-managedapplications.tgz} name: '@rush-temp/arm-managedapplications' version: 0.0.0 dependencies: @@ -16494,7 +16500,7 @@ packages: dev: false file:projects/arm-managednetworkfabric.tgz: - resolution: {integrity: sha512-Oa4tib1P3/Vl/5Zxcehhw/gZ8R9qHX5bqIX6AVlnMPBIE7dh4s1V3nARVhdvOoIW2T71qKkpS3sbrJprbeSIyw==, tarball: file:projects/arm-managednetworkfabric.tgz} + resolution: {integrity: sha512-HYuSPX8VhZnIx7CSh3UZrFjcf5gZ+BM/HSH3qyFXf1hltwAjsL9ybmVbVOQwkESVQNUiYQozkla9c1qUZYzcew==, tarball: file:projects/arm-managednetworkfabric.tgz} name: '@rush-temp/arm-managednetworkfabric' version: 0.0.0 dependencies: @@ -16524,7 +16530,7 @@ packages: dev: false file:projects/arm-managementgroups.tgz: - resolution: {integrity: sha512-KSBCI9eHOxUjjQmeQe1fPMySAX2Q3c1lzZQyOUGEYIMBOmG863BmvLzYjspeNU9wAH4Thg+067BmCrJlNVeELw==, tarball: file:projects/arm-managementgroups.tgz} + resolution: {integrity: sha512-9ZS5tvMtUp97EmDzp7I1P9HTS+UcRTomcebl8U1CZ9hsZFMmBs1K7x+CVStcqiDqBQPjUJlEbgXxxnR7UwdIqQ==, tarball: file:projects/arm-managementgroups.tgz} name: '@rush-temp/arm-managementgroups' version: 0.0.0 dependencies: @@ -16553,7 +16559,7 @@ packages: dev: false file:projects/arm-managementpartner.tgz: - resolution: {integrity: sha512-SYCt5jbdsnqn0cA06a3veCjG3KYMddxT8fxDxcNDXiul1FFW17hz3eowj9XU4nUgw6vaZsQLqKe2lr0C+1U0yw==, tarball: file:projects/arm-managementpartner.tgz} + resolution: {integrity: sha512-ekusxRpU6OgcziAqKtSlPiwAsUg6zvFBnT9e1LMPvhMffKamJVCPrRxL20cJsVBEjltmEJ4Hb63mVOYL38QImA==, tarball: file:projects/arm-managementpartner.tgz} name: '@rush-temp/arm-managementpartner' version: 0.0.0 dependencies: @@ -16581,7 +16587,7 @@ packages: dev: false file:projects/arm-maps.tgz: - resolution: {integrity: sha512-E8odHyxulJUFIBcJrZtdg0n31xTKBxIRMUb8NSWY1ltWfs7xK4Pe9jBLxjO3rcKNd/9ba6yg2ySlw/IPnaOxpQ==, tarball: file:projects/arm-maps.tgz} + resolution: {integrity: sha512-xOZK6H1/fQ4HTN1iBaKgnybbyMYAw1leEjvXZTlELyh7LGzI0aDLR2MUy5c9p+nFRRJ6JrHtF1H2VEaTYPbHYA==, tarball: file:projects/arm-maps.tgz} name: '@rush-temp/arm-maps' version: 0.0.0 dependencies: @@ -16609,7 +16615,7 @@ packages: dev: false file:projects/arm-mariadb.tgz: - resolution: {integrity: sha512-Ayr9QSTKJcl22+VC4z5L8sF3IZ3KWqdg4QfzTj9Jcw+9rkmeAljuhffChhFO0fHWZVCSKTc+vg0ukszMsM4LAA==, tarball: file:projects/arm-mariadb.tgz} + resolution: {integrity: sha512-lM0jUZoGL6lmrXuBaBqC32xrLXNNVhQK4rDSDrr5zCRiLcTOhx/Izq1UeH3MeZ6GktHpb44YxWsJ5Mwwy86yxw==, tarball: file:projects/arm-mariadb.tgz} name: '@rush-temp/arm-mariadb' version: 0.0.0 dependencies: @@ -16638,7 +16644,7 @@ packages: dev: false file:projects/arm-marketplaceordering.tgz: - resolution: {integrity: sha512-RCdmOBGZd+KCgKSzERWTS+o6ejsXkFrWgEDSn2+gLMKnhQAkEju8NW3HhJK3mRcL4+Fk71hBvARJZ3tERX9YKw==, tarball: file:projects/arm-marketplaceordering.tgz} + resolution: {integrity: sha512-llY6+RlVFzuBcEDYRJcepuvqt5pGbwgRO3miV++wjrOy7STHBqbNkpzpKt6YzmkD9OYQ6lOZSLGbuc5kpp/HSw==, tarball: file:projects/arm-marketplaceordering.tgz} name: '@rush-temp/arm-marketplaceordering' version: 0.0.0 dependencies: @@ -16666,7 +16672,7 @@ packages: dev: false file:projects/arm-mediaservices.tgz: - resolution: {integrity: sha512-JXngI++KGqABQ9KdSUTHDUofYRqFis84zld3zXaM0NhYOGzD/VQlt/nna37GeUxPCSzSwGu4wEQCZJmxSOFPcQ==, tarball: file:projects/arm-mediaservices.tgz} + resolution: {integrity: sha512-sbg58adT6WrntwJOrnTm/YB6Hw7uP7qFxoOYpRqTMNTj5Eju72OxjI8xTyLFXGGwmEbePB3Xfcx33nWfLo0wmw==, tarball: file:projects/arm-mediaservices.tgz} name: '@rush-temp/arm-mediaservices' version: 0.0.0 dependencies: @@ -16696,7 +16702,7 @@ packages: dev: false file:projects/arm-migrate.tgz: - resolution: {integrity: sha512-D2ziVjUauGJhs0mOugbCt0RaKbARoa/MzwaS3JMyUipuBjW8aP7NYTT5Xxv22L90cp8CS0/7lXeRTC+l0SHOtw==, tarball: file:projects/arm-migrate.tgz} + resolution: {integrity: sha512-kQsavrqMgvUmMmLVn1hB0k+Tv4JYGbtdu0StZP1G41cAavGEIPoN8gjo80Z+qlA5EoKZMTtsLa9pbYuSX5nG2w==, tarball: file:projects/arm-migrate.tgz} name: '@rush-temp/arm-migrate' version: 0.0.0 dependencies: @@ -16724,7 +16730,7 @@ packages: dev: false file:projects/arm-migrationdiscoverysap.tgz: - resolution: {integrity: sha512-/P6SYy2B34+g5i6qwjfh93l82yec2/Lggksin90VUk2Fk+XjOTI0bin66U5lGTK5NtKCFgMiK7qqfVwViXaDgQ==, tarball: file:projects/arm-migrationdiscoverysap.tgz} + resolution: {integrity: sha512-MFas9Xa5dhHjq09P9iuwEQJYJb1Fhad2QPY+C+o9ZmzrEeC0Npn//8gMvGWBFRS/3bKIM4IzDL8mqgQh9TieJA==, tarball: file:projects/arm-migrationdiscoverysap.tgz} name: '@rush-temp/arm-migrationdiscoverysap' version: 0.0.0 dependencies: @@ -16754,7 +16760,7 @@ packages: dev: false file:projects/arm-mixedreality.tgz: - resolution: {integrity: sha512-KIrpFbQr38stzzEaqXBeN2Oc/bn18FJ3FN/+dfyNTvA7uYfMbdjOBkEyNK3TuRV1N8HnECGkKtFEuXKMKAKJLw==, tarball: file:projects/arm-mixedreality.tgz} + resolution: {integrity: sha512-zJLTxA4/fqv6xj/LRPpeFgKxVT2qXYd3sKaDjziIxXaKZZFhxHfkVnda42B4Gs1NciT/vhfCMOW8m1+SCjqvdQ==, tarball: file:projects/arm-mixedreality.tgz} name: '@rush-temp/arm-mixedreality' version: 0.0.0 dependencies: @@ -16781,7 +16787,7 @@ packages: dev: false file:projects/arm-mobilenetwork.tgz: - resolution: {integrity: sha512-r5bB6QxOf0c+TNAEUyfVuu+lFYCsHmAIa4Jx9KyoUcJOFj07VzYzl3hn0WAA35iQznHwfvuEzQGCEXwlLiBxgg==, tarball: file:projects/arm-mobilenetwork.tgz} + resolution: {integrity: sha512-N41+/v5rZblZCQA7UILLXSZKe8Mf2H9zoCe8Lr+CoisBaD7CMqv+LXnt3HKAa4Gs//sLUD5jAl3D/7abg0TImw==, tarball: file:projects/arm-mobilenetwork.tgz} name: '@rush-temp/arm-mobilenetwork' version: 0.0.0 dependencies: @@ -16812,46 +16818,44 @@ packages: dev: false file:projects/arm-mongocluster.tgz: - resolution: {integrity: sha512-raFfgPs1Hu3wBb7VpV9CK2wHbzMDbwLT4QMo6MaQb+CjRWwNZKZPnRNYJn9apHdn2+cop3f3AZ2XtgcP6ACnGA==, tarball: file:projects/arm-mongocluster.tgz} + resolution: {integrity: sha512-GufdwSWdz6ZJtEuee0LZhAQfHtHJvaxxvu8lzdlEJTTv5DoHD24GfvvTcLaOkkHMdfi5hTaDFer6RqfHqEwZzw==, tarball: file:projects/arm-mongocluster.tgz} name: '@rush-temp/arm-mongocluster' version: 0.0.0 dependencies: + '@azure-tools/test-credential': 1.2.0 + '@azure-tools/test-recorder': 3.5.2 + '@azure/core-lro': 2.7.2 '@azure/identity': 4.4.1 '@microsoft/api-extractor': 7.47.6(@types/node@18.19.45) + '@types/chai': 4.3.17 + '@types/mocha': 10.0.7 '@types/node': 18.19.45 '@vitest/browser': 2.0.5(playwright@1.46.1)(typescript@5.5.4)(vitest@2.0.5) '@vitest/coverage-istanbul': 2.0.5(vitest@2.0.5) + chai: 4.3.10 + cross-env: 7.0.3 dotenv: 16.4.5 eslint: 8.57.0 mkdirp: 3.0.1 + mocha: 10.7.3 playwright: 1.46.1 prettier: 3.3.3 rimraf: 5.0.10 + ts-node: 10.9.2(@types/node@18.19.45)(typescript@5.5.4) tshy: 2.0.1 tslib: 2.6.3 + tsx: 4.17.0 typescript: 5.5.4 + uglify-js: 3.19.2 vitest: 2.0.5(@types/node@18.19.45)(@vitest/browser@2.0.5) transitivePeerDependencies: - - '@edge-runtime/vm' - - '@vitest/ui' - - bufferutil - - happy-dom - - jsdom - - less - - lightningcss - - safaridriver - - sass - - sass-embedded - - stylus - - sugarss + - '@swc/core' + - '@swc/wasm' - supports-color - - terser - - utf-8-validate - - webdriverio dev: false file:projects/arm-monitor-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-vqVU8FcJYyIkgypFpf97wUK6SVVl0LMYkmREj0Q7RuwXTSWxtowVzE2uT8Rd3IP0lxnlOcMsLDuVDFpOOYeo4g==, tarball: file:projects/arm-monitor-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-iIVKSMObhPtllgldBh5d9PvGgh+4/0POUj8UdtW1VsK6bUAx+UtzTjsv2FjIMZ/0nuKBA0NQ678rKS5dppppbw==, tarball: file:projects/arm-monitor-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-monitor-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -16879,7 +16883,7 @@ packages: dev: false file:projects/arm-monitor.tgz: - resolution: {integrity: sha512-iupFHZAXQ0A7LWOq0XZnS9HZiUXCm+vlkkmkv2q45NG9p0mC0VZKRjy/WUHw8b/M5S737+v43wNfFmCuSDb3pA==, tarball: file:projects/arm-monitor.tgz} + resolution: {integrity: sha512-K+9G34mEgOxgIoTZLVRz12Rde0+aAM0bJXmZV+Mz1rruwrsNjwMk6oh3vwtguLLhts+BN91pJ9YxkEk6GtcYyA==, tarball: file:projects/arm-monitor.tgz} name: '@rush-temp/arm-monitor' version: 0.0.0 dependencies: @@ -16909,7 +16913,7 @@ packages: dev: false file:projects/arm-msi.tgz: - resolution: {integrity: sha512-JEiQZ7JNjUaLblDWQ06Zj6R0sp1rzBJRL5nJLJzFi3TSeogLkGPWGKPH/kTQX1td8KR1xwTDlklW2VU0OjO0gw==, tarball: file:projects/arm-msi.tgz} + resolution: {integrity: sha512-Qvub62fkM9C9OM/EystDdNE7G7kcdCdW0omlH6KHr1ioCxeoHe7lQQT4ff2cqLFrOtQ6NYGRvZu6FkFWqolvDw==, tarball: file:projects/arm-msi.tgz} name: '@rush-temp/arm-msi' version: 0.0.0 dependencies: @@ -16937,7 +16941,7 @@ packages: dev: false file:projects/arm-mysql-flexible.tgz: - resolution: {integrity: sha512-gqfDjeftl6w5p10xBkccxb5JN3Z/GQKuwkMvK5lxSPLe7ItvCwV5lStvEN/k5SN0fF4qAxLZAdVgQy7l2MYHLg==, tarball: file:projects/arm-mysql-flexible.tgz} + resolution: {integrity: sha512-i2areQQUXO67Rc3EQUFcT7YS5oY8QqV1nh6mgUDbB4ELUwuacl3n419A2uW3gShCuEX6ZZoAzlC3CpGBicbvWw==, tarball: file:projects/arm-mysql-flexible.tgz} name: '@rush-temp/arm-mysql-flexible' version: 0.0.0 dependencies: @@ -16968,7 +16972,7 @@ packages: dev: false file:projects/arm-mysql.tgz: - resolution: {integrity: sha512-eWALfUMvA2FVHte+eYMBIa6JCB7Z7U97VO8/zz9Y8sP7okTCOloFsvMa4tTZTnHG/KuEFHq3zQpJ5jnSVmrE/Q==, tarball: file:projects/arm-mysql.tgz} + resolution: {integrity: sha512-BemZE1rhwi7g4Q7R+MV8HJdlq6uvPYmnFNGQiIZyOvMrlw+TB8sAcXWHzMDbTLU+hQ1doDG8XDjG9STHPr+yZg==, tarball: file:projects/arm-mysql.tgz} name: '@rush-temp/arm-mysql' version: 0.0.0 dependencies: @@ -16997,7 +17001,7 @@ packages: dev: false file:projects/arm-netapp.tgz: - resolution: {integrity: sha512-IEGA8a8gWKVvL693jv3yzXGR2X7G0nl+y1PfJ4jBEPtc9zdIiH1Pj0b7Bq19Z6xCOW/lJPPJ6G8fI9XKIneZJg==, tarball: file:projects/arm-netapp.tgz} + resolution: {integrity: sha512-JlcDJRWLklWlsRA6UjMRKuRVqhe/fZRGYsq0pZGbg/N8zMWI3BQH5q+2RmRKLbfuVXFlkbjsgIvKaY9fp05Kkg==, tarball: file:projects/arm-netapp.tgz} name: '@rush-temp/arm-netapp' version: 0.0.0 dependencies: @@ -17028,7 +17032,7 @@ packages: dev: false file:projects/arm-network-1.tgz: - resolution: {integrity: sha512-nGb7tSO54MnnBUXPNxfBIfWZUT/+wweKaCJaGDc9LocSoDT9hnmrAgFDQqcmOkzjwxWyvM8BsjB7zedacueRcg==, tarball: file:projects/arm-network-1.tgz} + resolution: {integrity: sha512-jzVX655DGAScA32dW/iYkMYwrm1AYinRpn1bkwNuX6gBHyPTH8Vp6GIu+68bsZeJDDgq2yySBfqUMmtWgYFl3Q==, tarball: file:projects/arm-network-1.tgz} name: '@rush-temp/arm-network-1' version: 0.0.0 dependencies: @@ -17059,7 +17063,7 @@ packages: dev: false file:projects/arm-network-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-bXcMkaPXXD1meUSCXIzVfGgmcsnMPTIdkPqmIRZ864UcMrF5lR2qk4xboSguyIIPeXTI6FjJlgcodFWfd1J/mA==, tarball: file:projects/arm-network-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-RxbOWeZwYYjUmH9aPP+pbuaNo6/wE3nAGR9A4IlAn12O8e/DEoL/GHD0QDQXCUXBxU3KpEwmqVxmyuCHUw+b3w==, tarball: file:projects/arm-network-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-network-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -17089,7 +17093,7 @@ packages: dev: false file:projects/arm-network.tgz: - resolution: {integrity: sha512-d7/m+q1Ww3mt/hvDZ5Pzgvp0kP3XhQAd2mQQOYH0BZTJHHkwWbTqUUiOJ493rg3xKRzRWpPPPgoZVLWl00s9gw==, tarball: file:projects/arm-network.tgz} + resolution: {integrity: sha512-BwWptmMb8fZVh/LtwjHxY6bdyrwEH3fAO1GXX1m2FLA+zgwtvV7Ubqcv4OYHnuDyNo+SmShXS7KUUPOTPeBgqQ==, tarball: file:projects/arm-network.tgz} name: '@rush-temp/arm-network' version: 0.0.0 dependencies: @@ -17135,7 +17139,7 @@ packages: dev: false file:projects/arm-networkanalytics.tgz: - resolution: {integrity: sha512-UPRUpiaEKXGW7S8eAmOKTKtPfYweSbDteJndujiMXe7Ykd9Q65OsbG5kRL5xVPLFW92nrdxCf98wskCfF7Ed0Q==, tarball: file:projects/arm-networkanalytics.tgz} + resolution: {integrity: sha512-P7nNtXsPtppz3cJnxym2/tzb37SIY9bIym1dwyvK70GwcouC9i1hxzyWDo9nAp1GfZRj7A8iclRmaFCBrYblSw==, tarball: file:projects/arm-networkanalytics.tgz} name: '@rush-temp/arm-networkanalytics' version: 0.0.0 dependencies: @@ -17165,7 +17169,7 @@ packages: dev: false file:projects/arm-networkcloud.tgz: - resolution: {integrity: sha512-clwwgWtcUWUoBVVD5fscpZaukSlOx77XujZBubCXSz94dzYMuwQ6uzbqaH714dmLGFtGX0fEh84xJPZSYILsuA==, tarball: file:projects/arm-networkcloud.tgz} + resolution: {integrity: sha512-rpw1rhaHH5DbjV9CZzVcdESwR4wOsFa1BTffRibsKh6z+hi6nlqeje+U/GjIXquycvdATjTc2koXh/31aZNl5A==, tarball: file:projects/arm-networkcloud.tgz} name: '@rush-temp/arm-networkcloud' version: 0.0.0 dependencies: @@ -17195,7 +17199,7 @@ packages: dev: false file:projects/arm-networkfunction.tgz: - resolution: {integrity: sha512-Xoyz+XtG3PJ/U0Csqxi2kzLdtsmTcCd3Ly3lvusCsH5Fh2phh4QV2CNAoR0haLNcquKoFA566HOihDqQJDwErA==, tarball: file:projects/arm-networkfunction.tgz} + resolution: {integrity: sha512-tMd2qODOuhXdsgNrYx35EaYybcVP5D/Du4pAhToqTuxDfeftUA8Ry3FhrLZKUxkZCuAl1qhATsS5Jw76HfU+pA==, tarball: file:projects/arm-networkfunction.tgz} name: '@rush-temp/arm-networkfunction' version: 0.0.0 dependencies: @@ -17224,7 +17228,7 @@ packages: dev: false file:projects/arm-newrelicobservability.tgz: - resolution: {integrity: sha512-W4f1IqaxlRivbzfb4TF6tijNCgj+KEBD379z0t0lku5K6Om52AiqTS+CcgwQmpg6pREOPokp4j5RUfaM51HApQ==, tarball: file:projects/arm-newrelicobservability.tgz} + resolution: {integrity: sha512-O4w3wJjlBG8lJxb00WGPRmvBl8pUVFvsUn7KMszAyY5q1LoqRD/P/adX7omQvj+RBYzzLPkG9t9Rd+7sIwnZyA==, tarball: file:projects/arm-newrelicobservability.tgz} name: '@rush-temp/arm-newrelicobservability' version: 0.0.0 dependencies: @@ -17254,7 +17258,7 @@ packages: dev: false file:projects/arm-nginx.tgz: - resolution: {integrity: sha512-qVAjIstMnCDeC16WVu+q386pI/S3bFtobFjuP6YxWFRWUiczGYGRZQiEXIPRctVEptDwLMJs7hRGznIevzwpVA==, tarball: file:projects/arm-nginx.tgz} + resolution: {integrity: sha512-pLOdDp54GOwZc31b8TW/PSTjfpxMHN7CSfB3xCblsTskC611sVWqFNIV/vRxK1mDsbyY2NNFMq5ZKyTvoF0fXA==, tarball: file:projects/arm-nginx.tgz} name: '@rush-temp/arm-nginx' version: 0.0.0 dependencies: @@ -17284,7 +17288,7 @@ packages: dev: false file:projects/arm-notificationhubs.tgz: - resolution: {integrity: sha512-C4j8aKYOdwinRyuGeIgttHBVS1A0FtKk+f1aAyUoPKU/lsHlwgES/0Qhkd98qYQCL61VWf24yGLNcfx89n/Cug==, tarball: file:projects/arm-notificationhubs.tgz} + resolution: {integrity: sha512-qASxCpPXOL33i5ZL4+D6RNXo7ml424XNUE0Enx1iQ5+txftWvYwtOpmM4huS9oXRUFCkgmkIZ/LVVCL+MQ77Tg==, tarball: file:projects/arm-notificationhubs.tgz} name: '@rush-temp/arm-notificationhubs' version: 0.0.0 dependencies: @@ -17314,7 +17318,7 @@ packages: dev: false file:projects/arm-oep.tgz: - resolution: {integrity: sha512-yN7in7bSWktptr21JAHRiSY7SCAP6PFn/wZJXguNbMJ1coYdan8qGxDZ+Y98BrWZn/VsvmGIhVPU8Ioi8j70tA==, tarball: file:projects/arm-oep.tgz} + resolution: {integrity: sha512-UpRIO2UTpVF3sohVgYkOsdT98JCVzyueEl8qFk6fmzYlet5bdxODjFFnnl5RCbLfT1PQ/bxvpyv6Gn5TBTyJXQ==, tarball: file:projects/arm-oep.tgz} name: '@rush-temp/arm-oep' version: 0.0.0 dependencies: @@ -17343,7 +17347,7 @@ packages: dev: false file:projects/arm-operationalinsights.tgz: - resolution: {integrity: sha512-os3cEC+iqOVSKMxv1TUP9ftjvGSPXb9eXqk3zKwFk4/+aRGKHVgtl429gM0WIh90QDLNOANuRqQ8mAD89BuQZQ==, tarball: file:projects/arm-operationalinsights.tgz} + resolution: {integrity: sha512-h1KiF0snFuqby40JLK4/G5OS0gczssxCRgexGAx24xoFdoGQ6RO8mAORBmP5AeZSHNirifK8uXczb9OT/+EbIQ==, tarball: file:projects/arm-operationalinsights.tgz} name: '@rush-temp/arm-operationalinsights' version: 0.0.0 dependencies: @@ -17373,7 +17377,7 @@ packages: dev: false file:projects/arm-operations.tgz: - resolution: {integrity: sha512-vT+bM8W2s938i0AV7k+gk1JmKbl3dPKm/yF721Ub4iXplRGNeo3zNEzzFkyat3KTvFmtXlp6SQUen32/FL+H8A==, tarball: file:projects/arm-operations.tgz} + resolution: {integrity: sha512-imqDBA7XLP7ZTWoH+vP1TuFO4tpWzSjK0KDnokN7Qcd9yjI6ck3T61pb+kV8TEOoBnh0ph8FlIGrat7kE6yncA==, tarball: file:projects/arm-operations.tgz} name: '@rush-temp/arm-operations' version: 0.0.0 dependencies: @@ -17402,7 +17406,7 @@ packages: dev: false file:projects/arm-oracledatabase.tgz: - resolution: {integrity: sha512-W/eeXVqPXArSHG38qrmkZ7m8nwFE9ZnjQGoSYvAQSlao0N1Qa1ngVvTh+lDmMxwB0I+uljPIXJxWlN8uQuMPTw==, tarball: file:projects/arm-oracledatabase.tgz} + resolution: {integrity: sha512-MJ2Ba/mM+PlAwFlbctLzh4rw5YD54fY1n0w1Bl5jyicpRfnstlsc/kU7Nj7ACxC5yek3jcU7/ZX/eu8+pbmCTA==, tarball: file:projects/arm-oracledatabase.tgz} name: '@rush-temp/arm-oracledatabase' version: 0.0.0 dependencies: @@ -17433,7 +17437,7 @@ packages: dev: false file:projects/arm-orbital.tgz: - resolution: {integrity: sha512-Lz0US9aVz2x4qZHFD2BCG6KIrXbqOszYJYc2FS49wXFRgY4MU2HRiR8YPP1sWc+4QDYd+QKaFS91FN5cEZubrA==, tarball: file:projects/arm-orbital.tgz} + resolution: {integrity: sha512-b4WJVmbSpiZ6SsWKh5Z4aechH0sM6IKmzz/ilzZFpNLIdsYUNjroAC3MNHPphVf0ZTIMYIXP/4dqtiB6LL4aKA==, tarball: file:projects/arm-orbital.tgz} name: '@rush-temp/arm-orbital' version: 0.0.0 dependencies: @@ -17463,7 +17467,7 @@ packages: dev: false file:projects/arm-paloaltonetworksngfw.tgz: - resolution: {integrity: sha512-JqJkEWDufbXCx9Uo9qxQAqKCZ6sca6DIa0rM8PiFr9CQNBOWHxHP/uZk2sABKoMvH6IKrXL7KRfJ5J4Dalut9g==, tarball: file:projects/arm-paloaltonetworksngfw.tgz} + resolution: {integrity: sha512-QC9PfRqSzyps9/+U0e9EV0dU+FZI9MTAILjqO5jnIvr65ityj0/USm4Zz7MHxiaZNegpW/+9Yz8w7xQy3ZkMuQ==, tarball: file:projects/arm-paloaltonetworksngfw.tgz} name: '@rush-temp/arm-paloaltonetworksngfw' version: 0.0.0 dependencies: @@ -17493,7 +17497,7 @@ packages: dev: false file:projects/arm-peering.tgz: - resolution: {integrity: sha512-Mj/ZXu/A89dBVOGx3nrbeNY8x5ylytw3iCFOypfVe7ADf0G5DGgCRc85+tXwLadYC9+A3Ff7JdRYoopSkamINA==, tarball: file:projects/arm-peering.tgz} + resolution: {integrity: sha512-ozcef6TToSOq7CqUvKiRsZBdcUp3pU6MSfx8w2MZXOo3MGzQ3AMnWukrPYoU9nBi35YySyXvF6rYb68WHzj+1w==, tarball: file:projects/arm-peering.tgz} name: '@rush-temp/arm-peering' version: 0.0.0 dependencies: @@ -17520,7 +17524,7 @@ packages: dev: false file:projects/arm-playwrighttesting.tgz: - resolution: {integrity: sha512-1Cu2srWIlqMw2Qphnt8E3hstcdasUVvDtbaXH1PPN54jhQUViw1AiUM10W0gxeMzLnvKdUVnxUsCIn/NUynQVw==, tarball: file:projects/arm-playwrighttesting.tgz} + resolution: {integrity: sha512-SfLw2iA6ejViaiilnys6IsWVuaPcxRdPu+pIscYCeijd0HwMZJorXtc1eTFZ7SIn8PuDmGXXzHliIqsJxl4UsQ==, tarball: file:projects/arm-playwrighttesting.tgz} name: '@rush-temp/arm-playwrighttesting' version: 0.0.0 dependencies: @@ -17550,7 +17554,7 @@ packages: dev: false file:projects/arm-policy-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-UnTNCfdqB3lXg9eXx7PnVR3/IGm6n/wnbbtuclbJx6awi/S07a7jlRbSeZ+jba4s01fN+Si78BJibDNT1fi0EQ==, tarball: file:projects/arm-policy-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-9wo1hsVBeEN338Y03EVO2mJsiYsZgTL/CoGjIvqbmfZMPFriFiQNIgGEwKfQvdnRXJM2nadEo/zBBp8XS8vguA==, tarball: file:projects/arm-policy-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-policy-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -17578,7 +17582,7 @@ packages: dev: false file:projects/arm-policy.tgz: - resolution: {integrity: sha512-/H2bvmE3EopNXHRnt3BLwbRHR5Y3CD+vQhEIMjaNUHE3QB56VhwFvXZIL2o7Q7oJLeK/PlF+e7u2JZHZtwA+7A==, tarball: file:projects/arm-policy.tgz} + resolution: {integrity: sha512-Z4HMl3VFgkEHROvE0FExAFkrcM3thPAtxzUFnr6zKCrjLviNH0tjFA715mJyqZKqn/xU0aRlANOogB09X8vZmA==, tarball: file:projects/arm-policy.tgz} name: '@rush-temp/arm-policy' version: 0.0.0 dependencies: @@ -17606,7 +17610,7 @@ packages: dev: false file:projects/arm-policyinsights.tgz: - resolution: {integrity: sha512-ggElmrDpSqiPAHhUemUGOrdTp0hFFP1ADpRpb8QC+8nsGb8EeT3iCZaBcVSRR2Dv87RILhVzOzjXRXmOg3ZeNg==, tarball: file:projects/arm-policyinsights.tgz} + resolution: {integrity: sha512-ExzAWoOvwWXObqNvQ6bLQ0Fs67HjZJn2femsEfZfxmGPTxfJVfsek98cuXklQEgLe96mllG5uM3QHUyjF1HKKg==, tarball: file:projects/arm-policyinsights.tgz} name: '@rush-temp/arm-policyinsights' version: 0.0.0 dependencies: @@ -17636,7 +17640,7 @@ packages: dev: false file:projects/arm-portal.tgz: - resolution: {integrity: sha512-1QapdGZkB+xlwdfxkZYIHcL/z+9X5LMq54Ysm+ckbsL66l4R7nKJUJ94EMtGK7dQYy71Zq54d7kAiKaKhIIw3Q==, tarball: file:projects/arm-portal.tgz} + resolution: {integrity: sha512-GJeR2EzzpTTKwedoXFiraBc/L6cdEMt3+BRAWSGWooPkis/csp7rvwKgrwUZ3yZ3ktB2pS/N03gQUinN1S+/3Q==, tarball: file:projects/arm-portal.tgz} name: '@rush-temp/arm-portal' version: 0.0.0 dependencies: @@ -17664,7 +17668,7 @@ packages: dev: false file:projects/arm-postgresql-flexible.tgz: - resolution: {integrity: sha512-NSIbK904401vTowcmbyrN6air9mB778Lw4dF+akIyx1RD15Ye2eEdXagrdzoxCeaf+pSrkAQK/ghRW8qmWT8Fw==, tarball: file:projects/arm-postgresql-flexible.tgz} + resolution: {integrity: sha512-42obwbCkSftt9nWFzb8iHFPqV7E/ArPOnAMS55z7qnfFfzSEO6cQ2dLtJ3n6t8F0yN7F16/pB7/P5CCBqfAxZA==, tarball: file:projects/arm-postgresql-flexible.tgz} name: '@rush-temp/arm-postgresql-flexible' version: 0.0.0 dependencies: @@ -17694,7 +17698,7 @@ packages: dev: false file:projects/arm-postgresql.tgz: - resolution: {integrity: sha512-Cd1CoTd5t3SnvR+KTZJCMP65q8drHeVKfSuRyMz0NntBn+xz2Ou/qwiV6T0+1AqEvlG2KCBNMcTTdcZEoECZ7Q==, tarball: file:projects/arm-postgresql.tgz} + resolution: {integrity: sha512-rUut4EsMqE0m7A6fpuDpjAX9uRIAgZFGuDP+yYyEcHB6ZST7xpmA97WXqJhECH4xyoyVVQ9/b6BetH/49cVHQA==, tarball: file:projects/arm-postgresql.tgz} name: '@rush-temp/arm-postgresql' version: 0.0.0 dependencies: @@ -17723,7 +17727,7 @@ packages: dev: false file:projects/arm-powerbidedicated.tgz: - resolution: {integrity: sha512-dlILYWypLv9jm+6xBYjloorL6ufiEikCv3PaPLz57X4eEVJcZigmOoLw8G1SEiIahsW/te6wrinHFIseMK75Lw==, tarball: file:projects/arm-powerbidedicated.tgz} + resolution: {integrity: sha512-g2Nz33tyJtj2dEp/wbmvlbxbcY8Yjw3+Cnry6VL/+s0AoIY7nkkYFdKT98rVlvXIN+KBN7Zs1T3MoXFlfHhFIQ==, tarball: file:projects/arm-powerbidedicated.tgz} name: '@rush-temp/arm-powerbidedicated' version: 0.0.0 dependencies: @@ -17753,7 +17757,7 @@ packages: dev: false file:projects/arm-powerbiembedded.tgz: - resolution: {integrity: sha512-lSscL3/6wrUi++hdQVBxR+VePqYFmpjzhZ/4pUtqm0W15XlXcXZccO7XMbhJtnwRTDGYUKpJ5rhR7uYu9337LA==, tarball: file:projects/arm-powerbiembedded.tgz} + resolution: {integrity: sha512-g5UQEJN6v86qTZkw2+VBwnJE1QJSD2ZbBZitwz01DigHRDbatVnmhEgjvM7lvDbFChomaWEPocWlZcbQBgMP6Q==, tarball: file:projects/arm-powerbiembedded.tgz} name: '@rush-temp/arm-powerbiembedded' version: 0.0.0 dependencies: @@ -17782,7 +17786,7 @@ packages: dev: false file:projects/arm-privatedns.tgz: - resolution: {integrity: sha512-DeLYIZhkysGVmRhymdQar8suXVHuSthEV2/909LcyshuvnT9reEA5pBUnpERwYILnE0v0Pe5cOiYM2zNu5K3jQ==, tarball: file:projects/arm-privatedns.tgz} + resolution: {integrity: sha512-te0zKXvLfbSL2nhRF7iu5i35dD8AnHcZkDr+aPyhTviHCpVna0zsrBUZ/McCYQZzNImcXICQy0vXG0Kv0oPHtA==, tarball: file:projects/arm-privatedns.tgz} name: '@rush-temp/arm-privatedns' version: 0.0.0 dependencies: @@ -17812,7 +17816,7 @@ packages: dev: false file:projects/arm-purview.tgz: - resolution: {integrity: sha512-B1h7MW0LspMCjkdtQLXgFe1+CHGq1y8+UGRm9OrWbC+qpQ33GoJX0RhONJJ61mT5JUSpsh0YZla/O8K61lZNfg==, tarball: file:projects/arm-purview.tgz} + resolution: {integrity: sha512-93WGpddENzgKRzQYsjYfSoTPOJAqSKrGkMcwLfOOEAI5FdXK3bW0wIqxSXGJGe6gimeouwHsebL8y/Ta6BbJ2A==, tarball: file:projects/arm-purview.tgz} name: '@rush-temp/arm-purview' version: 0.0.0 dependencies: @@ -17841,7 +17845,7 @@ packages: dev: false file:projects/arm-quantum.tgz: - resolution: {integrity: sha512-o7s/NDNGiGHq410Mkf/5TQDqgPd7LqdT99DoBGNIGEFiPnX3OLeGR/9ix5Yoamyc6V2vcpvz53wHba6CkMPtyQ==, tarball: file:projects/arm-quantum.tgz} + resolution: {integrity: sha512-bXlLybtVHrxeoeH7Autfo9oAeAgxtLiD4LifjhKJQFDMtKy7XwJeLEP8wjCLIUz4HjPqdATZOy91P+iipaXKWw==, tarball: file:projects/arm-quantum.tgz} name: '@rush-temp/arm-quantum' version: 0.0.0 dependencies: @@ -17871,7 +17875,7 @@ packages: dev: false file:projects/arm-qumulo.tgz: - resolution: {integrity: sha512-gYm9C1mxbgueCqF0iXFyNYlYxTSt3z+qziS108LyIOyQGplqBl37wIe2S5Nb0R87vWXYnYJHNhjVMMIvTrshPw==, tarball: file:projects/arm-qumulo.tgz} + resolution: {integrity: sha512-16kffyI39XON8XY0eZ8FV4msa7hdHziR5iXUAOOcVXnhrlyWeIeZ8BAWNRxdwfSRDIrnWzDx+aJTQnVRKL3E2Q==, tarball: file:projects/arm-qumulo.tgz} name: '@rush-temp/arm-qumulo' version: 0.0.0 dependencies: @@ -17902,7 +17906,7 @@ packages: dev: false file:projects/arm-quota.tgz: - resolution: {integrity: sha512-TcVpxc7YC3FWRwcUIO0Uto0RWVGgvHGZ+WvqOVtjLD93cgzO0gaognPjZ7dpaN+f3gyOGs0ksjiJl866jCimGg==, tarball: file:projects/arm-quota.tgz} + resolution: {integrity: sha512-xk059uR7eCCN3t024cWSE4S9muFzgPyN0kwgYPtQ9y/4+OQwdv8wvBqclcnw++X7ttxE5uPz9P6NgkNQS+HINA==, tarball: file:projects/arm-quota.tgz} name: '@rush-temp/arm-quota' version: 0.0.0 dependencies: @@ -17932,7 +17936,7 @@ packages: dev: false file:projects/arm-recoveryservices-siterecovery.tgz: - resolution: {integrity: sha512-Zy9s6Cc2SK2Y/qoQVc9ruyPwRaUbukYN4w7zELuTMsGOXAYzwW+GWqW53HVv9ATBkWcSPObZYIYfA9ahNq4Uhw==, tarball: file:projects/arm-recoveryservices-siterecovery.tgz} + resolution: {integrity: sha512-xcNv4RDnr33f5crsn2KZvyN0LDD1FGh2n8tcaQFLRAgZtK8y//XRiWtaFER7SKl3TaVrVjy2E9feEwAujZoW6g==, tarball: file:projects/arm-recoveryservices-siterecovery.tgz} name: '@rush-temp/arm-recoveryservices-siterecovery' version: 0.0.0 dependencies: @@ -17962,7 +17966,7 @@ packages: dev: false file:projects/arm-recoveryservices.tgz: - resolution: {integrity: sha512-hE9WTZh0MLaXAWCuHvQDjvzeQvxDn4t3x4Ws1o/sArO48yDG0+e9ZdCv/n3cX7NgxehtYb3142vlrosgojb3Ww==, tarball: file:projects/arm-recoveryservices.tgz} + resolution: {integrity: sha512-06A+DFamgjqnrd2zLMyYwoU48g7Bbwf/paXpGdKklU7SqcmCxUbtZUJTrZEtYngnXQSeAt58brXVBnGYE0evPA==, tarball: file:projects/arm-recoveryservices.tgz} name: '@rush-temp/arm-recoveryservices' version: 0.0.0 dependencies: @@ -17993,7 +17997,7 @@ packages: dev: false file:projects/arm-recoveryservicesbackup.tgz: - resolution: {integrity: sha512-aBxC2pHxknZk9hAvIHRmvw6o2Otg6NGB7/4HHdxTHdwd+5zthSZVMiNlN1lQr9rXZNpBhe9Ao/mm6C30S2/sgg==, tarball: file:projects/arm-recoveryservicesbackup.tgz} + resolution: {integrity: sha512-2noksR5ZT7zAwxoe62PnPvseK+9e3FTieCHLxCN6JOzEsLohvWLaKA3COBimtzZBsOeEkfNexOjKUXmyMKSvxA==, tarball: file:projects/arm-recoveryservicesbackup.tgz} name: '@rush-temp/arm-recoveryservicesbackup' version: 0.0.0 dependencies: @@ -18025,7 +18029,7 @@ packages: dev: false file:projects/arm-recoveryservicesdatareplication.tgz: - resolution: {integrity: sha512-s6rIHw/4pUPO7OWuP638NHaer/fWhpg0x+KLAxRHFtIC5d5i2+ipG/6YL9Tauhr0BozZWzWUMhFYE+ia9nEEKg==, tarball: file:projects/arm-recoveryservicesdatareplication.tgz} + resolution: {integrity: sha512-psblxki1Yi/bWothwmWqb+En3eL8BhAo7x1SuiHbKn600IaznqexgN/NB2KAB7qyRHUCa/IjiysgZ2dBZ1BqQQ==, tarball: file:projects/arm-recoveryservicesdatareplication.tgz} name: '@rush-temp/arm-recoveryservicesdatareplication' version: 0.0.0 dependencies: @@ -18055,7 +18059,7 @@ packages: dev: false file:projects/arm-redhatopenshift.tgz: - resolution: {integrity: sha512-G7cH1A3bimoSKhWgvtc1mrKbxDvfrT2DCAQK8MXGCP1bQr2BWhEWZe/kCOUIPRCte4R7aVB/ccqnIj7GgECWQw==, tarball: file:projects/arm-redhatopenshift.tgz} + resolution: {integrity: sha512-BwUzxC6iOJCCVzPqt2faC92BLQ74PN3hlhv1a1SsGdqWz8vXr7ONGB0YF7fiLtCvvn7RuileFsVfjXNrKy9qqA==, tarball: file:projects/arm-redhatopenshift.tgz} name: '@rush-temp/arm-redhatopenshift' version: 0.0.0 dependencies: @@ -18086,7 +18090,7 @@ packages: dev: false file:projects/arm-rediscache.tgz: - resolution: {integrity: sha512-iaPfdmOfF5ZnFRjtd6JqqvSlPn1JbSoqlEM7968JDg4kMbtRYJj/RSp2OaZ3HbFhcUhYRRC9T4GzDPGmfmqd3w==, tarball: file:projects/arm-rediscache.tgz} + resolution: {integrity: sha512-wjKgPDteXSNG7HsflXJ6v7ogpaDCk+Cbx5YNmOr2XQJ7STHcZKl8XlOXagYonaTB/ZXPFI2jDZxiv39SQZr0yA==, tarball: file:projects/arm-rediscache.tgz} name: '@rush-temp/arm-rediscache' version: 0.0.0 dependencies: @@ -18118,7 +18122,7 @@ packages: dev: false file:projects/arm-redisenterprisecache.tgz: - resolution: {integrity: sha512-aZLFBUEBCOzoZsTUJhc9cMShOYYGbV/6bEuR9NEAsP5N3CruGtH8LgZs3D0zsrPfjyGSaYZwqtIJMYbzzmUxdA==, tarball: file:projects/arm-redisenterprisecache.tgz} + resolution: {integrity: sha512-tn3eCGAuaZ5/WguvYXmmXZuRYRCie4bKR38XnA255/jD2njJ1qxuDCpH/nmT38r0R1L8jniBTlqP0+ylfgGbjg==, tarball: file:projects/arm-redisenterprisecache.tgz} name: '@rush-temp/arm-redisenterprisecache' version: 0.0.0 dependencies: @@ -18149,7 +18153,7 @@ packages: dev: false file:projects/arm-relay.tgz: - resolution: {integrity: sha512-Th9b0kM7MAcoZ612c8zz9auhr8Hqnb3yMr+KWdRnx9miUJaIjchsiHWANFuvfnHmx8P71p/TskXMbTj8OMWnPg==, tarball: file:projects/arm-relay.tgz} + resolution: {integrity: sha512-uwrO1rzLldkeACmDg6IrzkUcDhEPxYbT7Vd7uz6GJuleJo+U+rlKz4KngctChfIy+H5lXO8M1tG/8HFhO1BDhA==, tarball: file:projects/arm-relay.tgz} name: '@rush-temp/arm-relay' version: 0.0.0 dependencies: @@ -18179,7 +18183,7 @@ packages: dev: false file:projects/arm-reservations.tgz: - resolution: {integrity: sha512-xaeHLrGZsp6SoH1ojKtx/2HHnEN899g8w71qAZrAoaO3a+5eukKyC9Gfxb1iiKoxXvAqTXeN0TV3NEBGCIbOIg==, tarball: file:projects/arm-reservations.tgz} + resolution: {integrity: sha512-BqGc0TP5W8b1mEC2QK0JA/Mq+Qv8ITVZXexW4EHOKtDCDETYbwE+OIkAto3+411a6200kIUOzwyqViuUrRt6Bg==, tarball: file:projects/arm-reservations.tgz} name: '@rush-temp/arm-reservations' version: 0.0.0 dependencies: @@ -18209,7 +18213,7 @@ packages: dev: false file:projects/arm-resourceconnector.tgz: - resolution: {integrity: sha512-3/GLF0TEU0hxKhW0sP1uBMYfI5n5GSlQ26ls1EH5Jry2K+l9bQco4SvRGFNHHpqtqIjssgdxkhbDIDCpEDxRVg==, tarball: file:projects/arm-resourceconnector.tgz} + resolution: {integrity: sha512-AQ9gUwZYKgMz0em5ab5wekXZZ9aq1mYgME96Go11NxLDmt5CjLB+b0yqaJ1G+ij9sOCl4f0NwN70yyH9oJx7IQ==, tarball: file:projects/arm-resourceconnector.tgz} name: '@rush-temp/arm-resourceconnector' version: 0.0.0 dependencies: @@ -18239,7 +18243,7 @@ packages: dev: false file:projects/arm-resourcegraph.tgz: - resolution: {integrity: sha512-JdHzFd9wI6JJriyEvlkxEzkrAvHKS8sL1nqZ5F2w/0HctthIdjUM3WHTUPj7nf6NT/JsY11aB6rOUJrwJrrvCw==, tarball: file:projects/arm-resourcegraph.tgz} + resolution: {integrity: sha512-zmk1cZALrBRWYbPPc29vEhHTpdbh+K9cmQT+1xcYOVFAB8rz2U1ZGp+v+eZDCYKbokwkQxj6vO3VGwVmud6spA==, tarball: file:projects/arm-resourcegraph.tgz} name: '@rush-temp/arm-resourcegraph' version: 0.0.0 dependencies: @@ -18266,7 +18270,7 @@ packages: dev: false file:projects/arm-resourcehealth.tgz: - resolution: {integrity: sha512-y8trJZSTDn6b1D10IKVSmb4/+HMZEi5cHfjwJWA12pmEfy8vitnl+YPnab9LbG1tBZq/qKonXdUeGzJSQkZ4Gg==, tarball: file:projects/arm-resourcehealth.tgz} + resolution: {integrity: sha512-OmXdlZg6o/+pbuha9lGCccqxJKHHfvtRnKVEtd7ScUPrULI58nJvuiXOfMbSIMp95RED3alr8uoV1DH5X/2pJA==, tarball: file:projects/arm-resourcehealth.tgz} name: '@rush-temp/arm-resourcehealth' version: 0.0.0 dependencies: @@ -18294,7 +18298,7 @@ packages: dev: false file:projects/arm-resourcemover.tgz: - resolution: {integrity: sha512-x1C2jUcu6IrYMYwK0SjYkthOBecAhlf8/RKxawn4u+UmBJoTceamfVhg46RDC4Q2p4JqoWGa7rsHJvUVT16Aww==, tarball: file:projects/arm-resourcemover.tgz} + resolution: {integrity: sha512-1D4dAl0mmNVfUStY63phkh4tqdWFTWUTv2U+0ZgTHdE1JPtdfgl/0cuLsmI/CkkLJfPWcPY1lZuHnBkILy8bkA==, tarball: file:projects/arm-resourcemover.tgz} name: '@rush-temp/arm-resourcemover' version: 0.0.0 dependencies: @@ -18324,7 +18328,7 @@ packages: dev: false file:projects/arm-resources-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-3K2SKWxCM/vXM3wNJxxjfznuSvjK0mNAr3KTfkR8bLZsZw0IYSYcSVlI6V6cfjUi/6pgsfwviNlWmsPdJ+FdtA==, tarball: file:projects/arm-resources-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-kkwhL1lPRpgHIar/0p0nPu2s94ksLrvxuovYHcQmCI7+zwQuSnJBAoI/RN21uFBekdcbk5X9lVnZeZrsnBo8mw==, tarball: file:projects/arm-resources-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-resources-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -18354,7 +18358,7 @@ packages: dev: false file:projects/arm-resources-subscriptions.tgz: - resolution: {integrity: sha512-ESdS8paAhHR5HfMV7Hk+WSg9BILEmbBPdCJB0321w0xUPEZsIX5dI5JwylMIoxoqI29qJflOPDmP9f83L4+Z7w==, tarball: file:projects/arm-resources-subscriptions.tgz} + resolution: {integrity: sha512-1rJhKQecqIun9TBKIJuCjb1JJpIHwhP04pqs9P0i0HBuy3Q3xxkJtx8mSAOe8Rw9daDBvZw8SwIN9+nrwf4URg==, tarball: file:projects/arm-resources-subscriptions.tgz} name: '@rush-temp/arm-resources-subscriptions' version: 0.0.0 dependencies: @@ -18382,7 +18386,7 @@ packages: dev: false file:projects/arm-resources.tgz: - resolution: {integrity: sha512-8TMFe//8E67q5Nze7yLR6VgxTPgEb1BIBF9AeBVV+Tcu8ijDgV/6siMyoOXafgdQkk2bO0tVO+SGfXQgIol+3g==, tarball: file:projects/arm-resources.tgz} + resolution: {integrity: sha512-6a16xYknvpbK19/9j06QEyv4YsWcLEoR9neVni4DcRgPbMELOh/a/9xeOo1Lisn6Jq7LQ4tbaHQWd5xbpgvpow==, tarball: file:projects/arm-resources.tgz} name: '@rush-temp/arm-resources' version: 0.0.0 dependencies: @@ -18412,7 +18416,7 @@ packages: dev: false file:projects/arm-resourcesdeploymentstacks.tgz: - resolution: {integrity: sha512-CViGJPj+s3oFWu5qa59wIKJpNb2JiytehpwUomjfLwJQc7A3qXexcefkLo1ATe/x3xa/8VtGEGmHmcCQD2AbhQ==, tarball: file:projects/arm-resourcesdeploymentstacks.tgz} + resolution: {integrity: sha512-59nSruSUUf0DBQysuEcADPS0mcz4ct3vHU16Zz2kcmjzO7TFQXA2xsFjNjeJaD2+C5r4XodX72Jn3yD0U22qrQ==, tarball: file:projects/arm-resourcesdeploymentstacks.tgz} name: '@rush-temp/arm-resourcesdeploymentstacks' version: 0.0.0 dependencies: @@ -18443,7 +18447,7 @@ packages: dev: false file:projects/arm-scvmm.tgz: - resolution: {integrity: sha512-Fkayn1s6liEmHj04cYJ492qlZh4so3USiiYydFKDLXq+iK5CraI8Y37o9nbgfigc80nJZM57OD13M7BHMEBoSw==, tarball: file:projects/arm-scvmm.tgz} + resolution: {integrity: sha512-Ww4OxXaLiQyIXp5EZLfQSG+T/l/3cXm3KG8/T99zwwXdmwPII9/Wsv8SZmid0SMY6GDdb+8E9ZoHGVjC+/yrtA==, tarball: file:projects/arm-scvmm.tgz} name: '@rush-temp/arm-scvmm' version: 0.0.0 dependencies: @@ -18474,7 +18478,7 @@ packages: dev: false file:projects/arm-search.tgz: - resolution: {integrity: sha512-n9+MFthVi0kPRyKbesnuxpozFIAXlDtN3AUHhnifFNmk1ljV9L9Qlo6F4jwEUiVDxc3q4Tewg2Z20NXpsl7jcQ==, tarball: file:projects/arm-search.tgz} + resolution: {integrity: sha512-8uv5If4Z3qbT8dx9W89TzHJJ7AR4OC6k1IlD++vK1O7FZe0oNHYWwfd3cVjI7TbaccMC+Syzr+lAuMdt9FqJMA==, tarball: file:projects/arm-search.tgz} name: '@rush-temp/arm-search' version: 0.0.0 dependencies: @@ -18505,7 +18509,7 @@ packages: dev: false file:projects/arm-security.tgz: - resolution: {integrity: sha512-Px/+niYXJJSBaYURVZ7Sy0ZUBrh5mL5YTdHXKcumWBVaNY6IwcdEbtR3ZfjWS1J2fkZNUCBe28PjEy4+oQBzow==, tarball: file:projects/arm-security.tgz} + resolution: {integrity: sha512-B70NAL/cD6aCD6ZFWPaQ2fCRsoA4j8ZnFsGa/y9vDILw/37omK/X06fg1L3eItXDa85rnxAKEyVISb4/CmSlMQ==, tarball: file:projects/arm-security.tgz} name: '@rush-temp/arm-security' version: 0.0.0 dependencies: @@ -18536,7 +18540,7 @@ packages: dev: false file:projects/arm-securitydevops.tgz: - resolution: {integrity: sha512-S4pcnEbybi5nmSjXtXKhIsTRuw7imOZmTcOg3bAPgz3KqoLVKXzNIaQ45IelRQ8XXWzbt2FLMruvJXZWGZa/dw==, tarball: file:projects/arm-securitydevops.tgz} + resolution: {integrity: sha512-8LQ0CNpQRwNCKE5gn+oP3618AYNtvqNec3Mxu5PGrWUs3i1IiQAOqpnLAl+NLFjYgq/5cD3gm8FVlnmKaRRX+g==, tarball: file:projects/arm-securitydevops.tgz} name: '@rush-temp/arm-securitydevops' version: 0.0.0 dependencies: @@ -18566,7 +18570,7 @@ packages: dev: false file:projects/arm-securityinsight.tgz: - resolution: {integrity: sha512-z7/bwVywKxYb8/nzlnRHG0naVcEeSHTzxDEQ0c1QiRmlvtuuVReA0sH0eBKCSUWqe2Gad9W6zFjyLoqUxg2iyg==, tarball: file:projects/arm-securityinsight.tgz} + resolution: {integrity: sha512-ECeHKmdNfMrlWU+ALpyQjR6P1EmyqVmwq333v5RV6lVJmh8P0P/BxUNCXpyzFW1fbzQrNz5PkcxeWk8Dn1OXeg==, tarball: file:projects/arm-securityinsight.tgz} name: '@rush-temp/arm-securityinsight' version: 0.0.0 dependencies: @@ -18596,7 +18600,7 @@ packages: dev: false file:projects/arm-selfhelp.tgz: - resolution: {integrity: sha512-qKw7XYBLOZ8gMshNFDUxW6hhf4A60cbTwLA+s1Fh/OPUKopWJ6u8z0uw40ZaodIosbk/c6XPhWaYtUImIblFsA==, tarball: file:projects/arm-selfhelp.tgz} + resolution: {integrity: sha512-Du6qiL/0d6POf7L+oG/79kFrVo1aq/OqOT9GcaPwMgsATyPRJ30MBVglpAz2Y/ZQ2PhOUZlC06LzxW6er51qTA==, tarball: file:projects/arm-selfhelp.tgz} name: '@rush-temp/arm-selfhelp' version: 0.0.0 dependencies: @@ -18627,7 +18631,7 @@ packages: dev: false file:projects/arm-serialconsole.tgz: - resolution: {integrity: sha512-GMojm865n40ZBB+4kLDKzAoO6dOa4U+Vz7zEFXNcbIHiQUoS6+PwzuDSPvOLSeNxHV7samqCTkge2FnmlQqr2A==, tarball: file:projects/arm-serialconsole.tgz} + resolution: {integrity: sha512-IE4+e1/ccdTPu/DGZ319e0G9sO5zDhKOHYAJ3ys2d1TEgzfyZq701uDZYWj2jRPp+wTbWI1OKHNUchLOv2XFiw==, tarball: file:projects/arm-serialconsole.tgz} name: '@rush-temp/arm-serialconsole' version: 0.0.0 dependencies: @@ -18654,7 +18658,7 @@ packages: dev: false file:projects/arm-servicebus.tgz: - resolution: {integrity: sha512-mX0dwH8mu+GrYq+JsD3AhOjm/K62WRtCNHRwHpyrwCtgc+VUuD6T/mpD3t/oERQ5NcMj/KubhdOk6iQci39eNQ==, tarball: file:projects/arm-servicebus.tgz} + resolution: {integrity: sha512-iKMaq8Mpd8NWdBvKvDKFX8HME7Vmks7T44pkpV8l7Py3eFY9JQSE6DVvrY9yD6EJWWxUkoswtZM7/UcoNr8gzw==, tarball: file:projects/arm-servicebus.tgz} name: '@rush-temp/arm-servicebus' version: 0.0.0 dependencies: @@ -18684,7 +18688,7 @@ packages: dev: false file:projects/arm-servicefabric-1.tgz: - resolution: {integrity: sha512-mhjzYzaHr459X1YZqYfeMyMf0WE9tGDIS0NolkxvsJHVS4GzfXLk+Qwv94I0Oczd8icANrt5bvtewhMJMN55cA==, tarball: file:projects/arm-servicefabric-1.tgz} + resolution: {integrity: sha512-VpD1QplYj7Nk8D1EVFya3hgMbFMKel3IDJZb2DZtxuO2TMU6aDBAm8Fh1ObDEaqFtKS4zG08zC3+Sa6vq/3wFg==, tarball: file:projects/arm-servicefabric-1.tgz} name: '@rush-temp/arm-servicefabric-1' version: 0.0.0 dependencies: @@ -18714,7 +18718,7 @@ packages: dev: false file:projects/arm-servicefabric.tgz: - resolution: {integrity: sha512-nBD/gkz9t+npnHpQxhMqmYsiM7g2ORRS9ZTuXy8esCn2ErOSZeus7nndC7bVRSaWUFjw3RCtEaKOGC+k5FeBPQ==, tarball: file:projects/arm-servicefabric.tgz} + resolution: {integrity: sha512-PYs4dUaMHAw61YrQ+9Gtrcvos/F+ue1jMFIG4K2F49lVjEJ8X3HddH7ewaUHP1GTzevTGSQeeOqipJJ289ui+w==, tarball: file:projects/arm-servicefabric.tgz} name: '@rush-temp/arm-servicefabric' version: 0.0.0 dependencies: @@ -18760,7 +18764,7 @@ packages: dev: false file:projects/arm-servicefabricmanagedclusters.tgz: - resolution: {integrity: sha512-TCi0jp2pkdiaCDttYrLe2lOgb2BLNKzfqy8sCBizSGqbapwU1zr2k1dsdlVPFaBmoPG6T3+MqqBukQ55Qde9NQ==, tarball: file:projects/arm-servicefabricmanagedclusters.tgz} + resolution: {integrity: sha512-aXLhNHWEstwVsLKpmTC2k/xVystn9qlcSGaDg+o6B5saAiAICgXAynb+8X4YUUkH/N7xVIGwB06GhYPhmkDwMw==, tarball: file:projects/arm-servicefabricmanagedclusters.tgz} name: '@rush-temp/arm-servicefabricmanagedclusters' version: 0.0.0 dependencies: @@ -18791,7 +18795,7 @@ packages: dev: false file:projects/arm-servicefabricmesh.tgz: - resolution: {integrity: sha512-VUYEVVtWCIYNADs1mvJKm6x/q9zkLVxBvBgFeh9X0pn5A0I28A8LN8NikklaByhLopV4Yfoqf8iNj07TErM7oA==, tarball: file:projects/arm-servicefabricmesh.tgz} + resolution: {integrity: sha512-DAoHYCxEbPvnDOv46/WhvUT+yt66a6vKoaGJpQvqDpKmmpToXECdoprk6D4y0TvRfA1qRjpF8VoNFHjtgOUynA==, tarball: file:projects/arm-servicefabricmesh.tgz} name: '@rush-temp/arm-servicefabricmesh' version: 0.0.0 dependencies: @@ -18819,7 +18823,7 @@ packages: dev: false file:projects/arm-servicelinker.tgz: - resolution: {integrity: sha512-BI03Uf+B32eQ1/UJ5zwaebq+GqL3BZKvZRhYiHKNZIZ5XkSCj/+RbzWxkrUIYpjvYK1kK8ZdxriBEEge5x+yCQ==, tarball: file:projects/arm-servicelinker.tgz} + resolution: {integrity: sha512-b4I+nEFdfBdbxwWL83hH8Cx8u1tnApKwJ4woUu5sW1oeBY+b1EBHqB1oMRn537e0OKZfa5rYLBVSLSSjXHCgFA==, tarball: file:projects/arm-servicelinker.tgz} name: '@rush-temp/arm-servicelinker' version: 0.0.0 dependencies: @@ -18849,7 +18853,7 @@ packages: dev: false file:projects/arm-servicemap.tgz: - resolution: {integrity: sha512-gMlBuke+uVxkC+RHCKU/uqQF3DDItNnnSY8u3/6am2rhQKMmAyNE9cwf9LeOuTaK9Vwyp40/domzBBT3WXHi9g==, tarball: file:projects/arm-servicemap.tgz} + resolution: {integrity: sha512-TuOms7H4yauZtgxdgm7wHhfCAg1aGoXBxp+pH1DJYcq5Dv0Hl8OLiASVR76MquUU0hgGWCY8HEk1rnY2gOBmnw==, tarball: file:projects/arm-servicemap.tgz} name: '@rush-temp/arm-servicemap' version: 0.0.0 dependencies: @@ -18877,7 +18881,7 @@ packages: dev: false file:projects/arm-servicenetworking.tgz: - resolution: {integrity: sha512-jTqnBRCg8w5P4b+b1zRL8OcqS/V7ZmJdoyobiF3nlybl7r3Yrn8QYjqsNSoDyTfZCPUobdfJXiw02OjvHBKT7A==, tarball: file:projects/arm-servicenetworking.tgz} + resolution: {integrity: sha512-i8zywAj3ogUJQ8TsnlaNoWGcHF4DklFscEdWVm0GJEf5kYSb9S6nXg40mVHqKtLLa1EiawVcXaMiHta7qlOlxQ==, tarball: file:projects/arm-servicenetworking.tgz} name: '@rush-temp/arm-servicenetworking' version: 0.0.0 dependencies: @@ -18907,7 +18911,7 @@ packages: dev: false file:projects/arm-signalr.tgz: - resolution: {integrity: sha512-zOj+xr0QvdXrIlVyYKgwydI81agrOmG5t5IPn1LBtXKhHc6awL3+j5mBc4UKVb33U4vujVMSAIznx8U/STDDRw==, tarball: file:projects/arm-signalr.tgz} + resolution: {integrity: sha512-q3he14cTJvsZlGmkKan1jmInCxqH8L9Qjiph4Kk9rNqDNOjDzWjfI5rblwT2rwzrDhwn3LA28zbl8mkEeFUneg==, tarball: file:projects/arm-signalr.tgz} name: '@rush-temp/arm-signalr' version: 0.0.0 dependencies: @@ -18937,7 +18941,7 @@ packages: dev: false file:projects/arm-sphere.tgz: - resolution: {integrity: sha512-jQJaQ8K8/TuACKtMzMaljQ+2Lqpx08OCBYb/Hi+D2/5UGS9iW7GEu1nXdyT+vltrr4YYCINZn6n4L2+CHHTlQw==, tarball: file:projects/arm-sphere.tgz} + resolution: {integrity: sha512-zu2ViWjA8Q+zH59tu1TFghRMTpx/o59Njik5kxjhJimusHi2WdVA2tFXy+43JOGZn2y/EOKTx8ByPe3QXXPgJg==, tarball: file:projects/arm-sphere.tgz} name: '@rush-temp/arm-sphere' version: 0.0.0 dependencies: @@ -18967,7 +18971,7 @@ packages: dev: false file:projects/arm-springappdiscovery.tgz: - resolution: {integrity: sha512-Zb4tvHVkQFwSBEoyOwiCg+1MXyU0xYDpG6OqyCuWiQvcdHM4UwXcwJSfJznS7GTTmQdCqegVXYLxUYJTpxoobw==, tarball: file:projects/arm-springappdiscovery.tgz} + resolution: {integrity: sha512-8I6C+bVGH81wWi93y4yWThAN6Jg45vsdz0QJ0aNh8pURiwRSLfYjqpcWFGrrvMtfLPsDvsDmya/sPDTxYfI56w==, tarball: file:projects/arm-springappdiscovery.tgz} name: '@rush-temp/arm-springappdiscovery' version: 0.0.0 dependencies: @@ -18997,7 +19001,7 @@ packages: dev: false file:projects/arm-sql.tgz: - resolution: {integrity: sha512-73Oet2aISNMPTPVJjDN0whP3J23ZtcbObc8wUifIqF/x+sKGEEWDwH2jdwcy4d+MJ0D99rsnTsEfPNK617tPAQ==, tarball: file:projects/arm-sql.tgz} + resolution: {integrity: sha512-jAEmxePLAQYwQA1+pc90ne5yg9S17zaCEdxcWSs+mzffP6aaMgCyTRVsMUWgn8KSw9Yi6zC0xzzf11OOYq3lKg==, tarball: file:projects/arm-sql.tgz} name: '@rush-temp/arm-sql' version: 0.0.0 dependencies: @@ -19028,7 +19032,7 @@ packages: dev: false file:projects/arm-sqlvirtualmachine.tgz: - resolution: {integrity: sha512-pYNGuK8/84ZrBuewv7yQqhdCo/IVcD+mfYYPZty0OdFkx3SKB3gzBmTQ5m++xVN1ErX3wNPnX6G9OXKLSLX0Ag==, tarball: file:projects/arm-sqlvirtualmachine.tgz} + resolution: {integrity: sha512-fqfFdEwf0t8GAOh7qfR5g5YhSs8Km6/IaoafYyQVwV6e2jgygHl6zyARRDv8cP2m/KWR6sxj/uo9e6/a/aHLgA==, tarball: file:projects/arm-sqlvirtualmachine.tgz} name: '@rush-temp/arm-sqlvirtualmachine' version: 0.0.0 dependencies: @@ -19058,7 +19062,7 @@ packages: dev: false file:projects/arm-standbypool.tgz: - resolution: {integrity: sha512-8XK6tR34ybn9FddKq0+JQ1bZbzRoW715/OlEZGVKxIYwW7ZIZtuTnrhyfhgy2V4dKzfdja3bAe3ytl+WcusCFw==, tarball: file:projects/arm-standbypool.tgz} + resolution: {integrity: sha512-ad0vpTy1Jgcz8oulGhJAF35Pd2E8h+1IjDqexQoVe9PU4g7piDgfmXu2Enf6ACydU7dentGyCikqr3pZyGDFhw==, tarball: file:projects/arm-standbypool.tgz} name: '@rush-temp/arm-standbypool' version: 0.0.0 dependencies: @@ -19089,7 +19093,7 @@ packages: dev: false file:projects/arm-storage-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-pPMG69GBIGTkkAtuzfE0wMCehJB4H2uRdCJvfrFqWL5+4gdqlAzxzw+Dy+3zfzZz+vEOAtlll43csdDB++ixwg==, tarball: file:projects/arm-storage-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-UY/523bFXh4JW89AWbDbZjZl8dsPEytPd2OjzZ8uYdEcPXsb2JiPeS6741E7kE2Z99pBC9DgwfeqMjPVa6PLyg==, tarball: file:projects/arm-storage-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-storage-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -19118,7 +19122,7 @@ packages: dev: false file:projects/arm-storage.tgz: - resolution: {integrity: sha512-wu02t2M2e+U75bwlQZdo2YHXfAC4cbHGrhJO159LmJFet0/ICOxk5jUgduvhPS2WPOCHruqra4od6jcGxjJsmA==, tarball: file:projects/arm-storage.tgz} + resolution: {integrity: sha512-CrodZpd6ur66ptS0rc95Au7c0CwIRraHAuxmsgQdaqILR2zcprBEfsdnBWz8QSS6uzLDzZyJ5nl2HHgWZXYknQ==, tarball: file:projects/arm-storage.tgz} name: '@rush-temp/arm-storage' version: 0.0.0 dependencies: @@ -19148,7 +19152,7 @@ packages: dev: false file:projects/arm-storageactions.tgz: - resolution: {integrity: sha512-ftPPQPoyeEFHPiCjAqjV9TaxJpsoKPjcOWhFGIyyt7UjSnIsqtp4zm9G7SeGiOWTAuog7BoQ0IYWWseg9oi5vA==, tarball: file:projects/arm-storageactions.tgz} + resolution: {integrity: sha512-y9gBYrOwFnxR6w7ihJHFh+4Ua84IV71PG1QfYKpsYBaCl7Ye6YPSIdsU89rAkb46TKckwsOISqUqij+de8qkuA==, tarball: file:projects/arm-storageactions.tgz} name: '@rush-temp/arm-storageactions' version: 0.0.0 dependencies: @@ -19178,7 +19182,7 @@ packages: dev: false file:projects/arm-storagecache.tgz: - resolution: {integrity: sha512-RO0zn7zgnyBI+/G9/6GQWU/aaiXy4dW9Fqe13gNPaOWQL0Qx+9PFRWqy3Zd2uNoCxa3RjQnwrPuk8Rnsmg8EZg==, tarball: file:projects/arm-storagecache.tgz} + resolution: {integrity: sha512-1ZZEylMxUh/nPoxIKGSxpaVoHOcOOABS8qkwf4BlK/0y1/siwnBJSvqHgFcZ3D5YlbbIuj8rRVSNInaIuFUR5A==, tarball: file:projects/arm-storagecache.tgz} name: '@rush-temp/arm-storagecache' version: 0.0.0 dependencies: @@ -19209,7 +19213,7 @@ packages: dev: false file:projects/arm-storageimportexport.tgz: - resolution: {integrity: sha512-FrkH1kkYZWRTmhzUOuNymupxNYkUF/0zi9JWQyDQB3W65DcOZN0w9PxIMF1aTOKHe8s6UlDpbpr1zmvx2r5ZTw==, tarball: file:projects/arm-storageimportexport.tgz} + resolution: {integrity: sha512-yi5HpUSvqmLbhj5gcwqzn3k4pKGorFKZQN5VwuxnFsZos/hwSxe/UKLRE4xijisCJh8NytSx4CDP0SbFpvoXxA==, tarball: file:projects/arm-storageimportexport.tgz} name: '@rush-temp/arm-storageimportexport' version: 0.0.0 dependencies: @@ -19237,7 +19241,7 @@ packages: dev: false file:projects/arm-storagemover.tgz: - resolution: {integrity: sha512-eBTpDLGTC8bzTU5PxS+OILzHHcbDuRDDhLFgBmCUHKoY8wMKK4gLmz/u7l4IXfanLagxihCT395OAmknYxNEsQ==, tarball: file:projects/arm-storagemover.tgz} + resolution: {integrity: sha512-UsX6UCtWlnuZYFIzdOq/F7l72d4ku5XR/9dmaPqmgOz795hO3b5k3M69IBkdEeFMgHNmj5d+K/BIkRtVTA1+nQ==, tarball: file:projects/arm-storagemover.tgz} name: '@rush-temp/arm-storagemover' version: 0.0.0 dependencies: @@ -19268,7 +19272,7 @@ packages: dev: false file:projects/arm-storagesync.tgz: - resolution: {integrity: sha512-CVer+JDWP2v9lzFt+s/g9qVJs5OyMa0jtq6OIt0vEEY35B91/0ZX/6FaDZvOil6ogF/fn8HYsLUlpPqk+3GUAg==, tarball: file:projects/arm-storagesync.tgz} + resolution: {integrity: sha512-4U6POnxYGRyF5vQB9KeQGyWYW/adVrtQku+3xfe3Nj0QQ8VpmN5q5DVwbI+NDLIOvrXm0ReaQzFUtbhgIc9K9w==, tarball: file:projects/arm-storagesync.tgz} name: '@rush-temp/arm-storagesync' version: 0.0.0 dependencies: @@ -19297,7 +19301,7 @@ packages: dev: false file:projects/arm-storsimple1200series.tgz: - resolution: {integrity: sha512-HoMQdFdLZ9KsB/yvQRQeyCUeXSX2xtZKdqmy6WJgRsi3aMj8MUWduZC4LbbkDb7F/crUzsGJxhMYNm6zZn2G1g==, tarball: file:projects/arm-storsimple1200series.tgz} + resolution: {integrity: sha512-cTFxPvBEBJWkj19CYPT6zqIT9KLwgfdBW4g/w1Z2OEOme1eKMfI8UmpQo8WKk/6JCpXhQLcewHKkn9NJMpbs2A==, tarball: file:projects/arm-storsimple1200series.tgz} name: '@rush-temp/arm-storsimple1200series' version: 0.0.0 dependencies: @@ -19326,7 +19330,7 @@ packages: dev: false file:projects/arm-storsimple8000series.tgz: - resolution: {integrity: sha512-8Y3vrXijr+GNdjDTMU5lMX+lcplFw3T9h2j8XbvHqrzWwHAnN24GMJN1styPzvvTesGtXrsEDAbAIGTkMxswzg==, tarball: file:projects/arm-storsimple8000series.tgz} + resolution: {integrity: sha512-i1eh3ERKkdECOuc/BOb5exDZuL7aUTEKiXFpqLlKcfKgXz1pCEYPV8ekhK6U4QXuwNWPan3+y6TzeuoKxCjH3Q==, tarball: file:projects/arm-storsimple8000series.tgz} name: '@rush-temp/arm-storsimple8000series' version: 0.0.0 dependencies: @@ -19355,7 +19359,7 @@ packages: dev: false file:projects/arm-streamanalytics.tgz: - resolution: {integrity: sha512-mMgEakc8HukU0aZNHCjH4JtfdnAjluphyODqWpzS3haO6hwglmw9qTkRFD9OdeTQaNYX9G7tmlnj6KkL9+zJ6A==, tarball: file:projects/arm-streamanalytics.tgz} + resolution: {integrity: sha512-BftyU/D+V40GmtOKEIBcjM3NQvpPQGefxlOVErMEkTvkRf1Ha7KXL+gcwWfHIWmeDlBYlU9S38yR0veRGvaD3w==, tarball: file:projects/arm-streamanalytics.tgz} name: '@rush-temp/arm-streamanalytics' version: 0.0.0 dependencies: @@ -19385,7 +19389,7 @@ packages: dev: false file:projects/arm-subscriptions-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-j6JXR3XLuIHwKdUq+YL1sFmI1MfvzIjwFhykeFn0BxUiaEzus6dF9IKfiRYz/oK7lU0EpqbASLAWlWsFtpn3ZA==, tarball: file:projects/arm-subscriptions-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-FWSgHuhV2hoZPRYrBFbP0I8pIHfK0VWZ1ThRFMhUvBm5bePKJvDm9A8WxQ1UACBYQ+r4sSqccPYxLDAUXQHWjA==, tarball: file:projects/arm-subscriptions-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-subscriptions-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: @@ -19413,7 +19417,7 @@ packages: dev: false file:projects/arm-subscriptions.tgz: - resolution: {integrity: sha512-yxZ6qrSI1iPNoZNTfWjavZhpkUinY4iPqwMSZxL1gQFqGShQOEfgCpBT0DiJXyIYhevwNlQzg8BFFVCLJVDs+w==, tarball: file:projects/arm-subscriptions.tgz} + resolution: {integrity: sha512-N8BQ0j0ydmfNDRBK6+IVsrcf3+UkmfGNMubsDDoN3FvFRuHIDEN8YLB8NyhvhrMYFaoHGgCR56//I5qlOrllSA==, tarball: file:projects/arm-subscriptions.tgz} name: '@rush-temp/arm-subscriptions' version: 0.0.0 dependencies: @@ -19442,7 +19446,7 @@ packages: dev: false file:projects/arm-support.tgz: - resolution: {integrity: sha512-h0HUrgnfJMgkcahpjb48+yRT+pQ//arYnNprAp0WTqgXEeHaXA02keI0rqTvuXM10BQV5CKiaFXWLh1XmK8Nmw==, tarball: file:projects/arm-support.tgz} + resolution: {integrity: sha512-mTNhSWriRWm1/pnKKWqwpFL91hPzZxtT3mrVgRhpQyEh2Nu5asIalfe0anZlF41QjSekjraARGS2epcNTRXRLQ==, tarball: file:projects/arm-support.tgz} name: '@rush-temp/arm-support' version: 0.0.0 dependencies: @@ -19472,7 +19476,7 @@ packages: dev: false file:projects/arm-synapse.tgz: - resolution: {integrity: sha512-PKSs1gos0LMkEvlgcKjm0Rx3t7kt9LrHd2zcHjDQQlj68x2AZqRqixXrs9G7+9InBWFyXL9E/K8q25KKkCe66w==, tarball: file:projects/arm-synapse.tgz} + resolution: {integrity: sha512-gnS+AzWwj3uKCAVg064c9Wzgm7hKJq+db8tLe/XAJxXqPWGG9nKtc0q0sC/AGLuT24De6jZGBvNiHb9KYWTsMg==, tarball: file:projects/arm-synapse.tgz} name: '@rush-temp/arm-synapse' version: 0.0.0 dependencies: @@ -19502,7 +19506,7 @@ packages: dev: false file:projects/arm-templatespecs.tgz: - resolution: {integrity: sha512-i/Zf3P6eq0cqB3hLbsmW5JYGoCsPzTebE/9W3vkLLgPytl6TAXkyVGk705Ubd0uAMOMF9PsAToALULf5zx1xwQ==, tarball: file:projects/arm-templatespecs.tgz} + resolution: {integrity: sha512-fK0qpWYE/TPivDe2HG8za6k/rWYQcjsVgKrkwJvTT77G237Bcp9AxuTOSBTr8rhAG43YmzuetLFf2F0a4t/jCw==, tarball: file:projects/arm-templatespecs.tgz} name: '@rush-temp/arm-templatespecs' version: 0.0.0 dependencies: @@ -19529,7 +19533,7 @@ packages: dev: false file:projects/arm-timeseriesinsights.tgz: - resolution: {integrity: sha512-qcaxrXXHz9j1L7wsQtOSwRBjCtqn049mL7cp2cBleXhZaxwHPBWlEL1yHfc1XXuBH+SGpEw9PsmSV0E7/4Lkhg==, tarball: file:projects/arm-timeseriesinsights.tgz} + resolution: {integrity: sha512-ootvGtM+S6EIlwQFOVaOZFUVjCN3Za3fD3S0j3PDVR4gsJfwnFRGwf/SdNLG1uwJpaGnmalvMjLGph7+E4xO1w==, tarball: file:projects/arm-timeseriesinsights.tgz} name: '@rush-temp/arm-timeseriesinsights' version: 0.0.0 dependencies: @@ -19559,7 +19563,7 @@ packages: dev: false file:projects/arm-trafficmanager.tgz: - resolution: {integrity: sha512-PXGzoriUH8pOZxxsnbDoYkn7UhQWLC0bydW1uXW1aKQNnSZhEWiQ7ebW+kTvJks40b4beaQXfho8nmv2EUI/yQ==, tarball: file:projects/arm-trafficmanager.tgz} + resolution: {integrity: sha512-3w4+wkFe6S1S57009dFn+AWddYAy73EJhKrrFoZFtgKcY0c9WiqHxQrNqibyB7VMUsGOy3czFdp9+maYnNLuoQ==, tarball: file:projects/arm-trafficmanager.tgz} name: '@rush-temp/arm-trafficmanager' version: 0.0.0 dependencies: @@ -19587,7 +19591,7 @@ packages: dev: false file:projects/arm-visualstudio.tgz: - resolution: {integrity: sha512-ZTBQ5hiO3FmkzfGVnh7eWH2t1rK9fuYbfs4Jh7id9eIv8Uool03CuqDX3HVWR4ybdNtvrO4eW9hxoBulKf43Qw==, tarball: file:projects/arm-visualstudio.tgz} + resolution: {integrity: sha512-eT8xtQIsuBs4dl4SC+wYDSHgOLuwoyXDb4ponzU+ApjB6tW9nH4qZ2szxGA+u9I7Aur1bhTxE+OEAGArip4e3Q==, tarball: file:projects/arm-visualstudio.tgz} name: '@rush-temp/arm-visualstudio' version: 0.0.0 dependencies: @@ -19616,7 +19620,7 @@ packages: dev: false file:projects/arm-vmwarecloudsimple.tgz: - resolution: {integrity: sha512-iSBoVhQA4YidmDMKm5kXY8ySPBPBPBgbAevjzOoGc0G1am+dmDY2Nrg4rh3WMXPQvKQZzYGEdBi8c31RyBFNaA==, tarball: file:projects/arm-vmwarecloudsimple.tgz} + resolution: {integrity: sha512-GaQkqiFuejshJA9bJvTXwQ9sIP3aIOJbgGbgIfpoQDWkLn/2fRrsE5bZYqoDQ2+RTxzUFsQcPRBiQrd3UD8k7g==, tarball: file:projects/arm-vmwarecloudsimple.tgz} name: '@rush-temp/arm-vmwarecloudsimple' version: 0.0.0 dependencies: @@ -19646,7 +19650,7 @@ packages: dev: false file:projects/arm-voiceservices.tgz: - resolution: {integrity: sha512-wjwC1xcsilmM1swl1/rQGu9soDeSlOBUAAKyU682ZVRaqlmqAQf0+Vls59qjnWolQncabYq8pGESLpPq+RqcGg==, tarball: file:projects/arm-voiceservices.tgz} + resolution: {integrity: sha512-nQ4UThLd993Hrj5rgnzcn74jgMoj260kjTtnS2ZFoEs9ZUCLxWDEvVLvMAE7WSUQfJJhdkZYxnOjdvlpk9MNYA==, tarball: file:projects/arm-voiceservices.tgz} name: '@rush-temp/arm-voiceservices' version: 0.0.0 dependencies: @@ -19676,7 +19680,7 @@ packages: dev: false file:projects/arm-webpubsub.tgz: - resolution: {integrity: sha512-lDb8BncJGdS8FUQu/OSJfYYzkygPPqZ0P1BJqupO74IWVIAHz8qvMsb16bk0iaVt0S1S1sFUbwRHXYQGtypTrg==, tarball: file:projects/arm-webpubsub.tgz} + resolution: {integrity: sha512-M/la3E8Hmbf4jUjZuJHlcFwh8mj6IwL1DkUhsZPTI8PShkyt62ED0eqkYSjH7Rk3d9eqejzt5ml5kqOD83PVXg==, tarball: file:projects/arm-webpubsub.tgz} name: '@rush-temp/arm-webpubsub' version: 0.0.0 dependencies: @@ -19706,7 +19710,7 @@ packages: dev: false file:projects/arm-webservices.tgz: - resolution: {integrity: sha512-ZqhbL8SHzp/8DMRisACAogpghLDGbI2CfjuZ530M9uWKVR1/Ft6XdINfIpQuYCzz3gLSB2qhdLV7eOCRYM+Pyw==, tarball: file:projects/arm-webservices.tgz} + resolution: {integrity: sha512-ekHUB6FuRw8WckbapaHoIrOBNkM9pyMYpvh3eAoLdJuXtuB+sWhi5AkbqMAAOmG5eTIFVcdFerLM9mF5oe7BpA==, tarball: file:projects/arm-webservices.tgz} name: '@rush-temp/arm-webservices' version: 0.0.0 dependencies: @@ -19735,7 +19739,7 @@ packages: dev: false file:projects/arm-workloads.tgz: - resolution: {integrity: sha512-MUOiI1Y8zv4ZFDeN6QiFjsgEvJOOnrTbaPkqJfXZjVFmi9lPcjB4AZOEAkuGQGJ7i4foZ6XCuI3/hGXOzE6lwg==, tarball: file:projects/arm-workloads.tgz} + resolution: {integrity: sha512-Hq5iuKGfYthKhLV3MwJJnKMBmMp+VWLMrjWtyqL/Hl1oX0I3H8k3/4awBercHCF+UwBQdLZWaJLci3tc5OboxQ==, tarball: file:projects/arm-workloads.tgz} name: '@rush-temp/arm-workloads' version: 0.0.0 dependencies: @@ -19765,7 +19769,7 @@ packages: dev: false file:projects/arm-workloadssapvirtualinstance.tgz: - resolution: {integrity: sha512-di/H4LlEHmsyf1Te08GxWeR7n8ceyE8AP5CH9ZqwMUb0a/uNTRcDRbb+iY3rBV2iSJLJh4GoSF6i38BsXRLNfQ==, tarball: file:projects/arm-workloadssapvirtualinstance.tgz} + resolution: {integrity: sha512-J+ADBzOKzJs4zOtj19h6zmBJyHdkxMTLzNw6IaXcN7NXmW47p3RxNcmd/Q7Pibowv4MT4bdbbJilJk8rNsMSBw==, tarball: file:projects/arm-workloadssapvirtualinstance.tgz} name: '@rush-temp/arm-workloadssapvirtualinstance' version: 0.0.0 dependencies: @@ -19795,7 +19799,7 @@ packages: dev: false file:projects/arm-workspaces.tgz: - resolution: {integrity: sha512-XzL5da44qxz0ss5sVZ6p89qKs9IH1FTSLHgBh0JgyGZ8HPgM+qFqDtwgaOG+1weAw4GEcPqOH/sNcDBvieDTKg==, tarball: file:projects/arm-workspaces.tgz} + resolution: {integrity: sha512-x/+dVXfl8FOWCby3FJpwv+qJ73zZVXQArVInVWkY5yar6KmCrN9qxfkLqMESzwPj7cgM2xjBj5j9/lbWa9/Mwg==, tarball: file:projects/arm-workspaces.tgz} name: '@rush-temp/arm-workspaces' version: 0.0.0 dependencies: @@ -19822,7 +19826,7 @@ packages: dev: false file:projects/attestation.tgz: - resolution: {integrity: sha512-Cjg+kS2ubVU3V2eKpeOJd9s8k/Afy+Euf0UznscBQQ/p6OhDLcAP3YfVAUSVtoWZCMkeMdEFl2EVs7yeNJ3SDQ==, tarball: file:projects/attestation.tgz} + resolution: {integrity: sha512-l+kGTQVwItgb1fkO9koHefDga+zYn/Rs9d+m8yj02ZPSFOd0a2T9qhHFbXEj7t2uGU1+uiyOBpCrR/Z/45O9+g==, tarball: file:projects/attestation.tgz} name: '@rush-temp/attestation' version: 0.0.0 dependencies: @@ -19873,7 +19877,7 @@ packages: dev: false file:projects/batch.tgz: - resolution: {integrity: sha512-BKLlTLCm94mrfJCXuXETNYwuuTBCJnTuX/Dj3gOATn3tnbmTx3lx2jLXHpS5LuKInqgs8lPe8h2KMM20h9pDVQ==, tarball: file:projects/batch.tgz} + resolution: {integrity: sha512-KZMlKB87YwC08rhriPyTaxir6Cbo0eouFiObcxdM5rVR8TwkEz7r/utYP1C21WCJxPohdSeWK6CP2rRm/prR3g==, tarball: file:projects/batch.tgz} name: '@rush-temp/batch' version: 0.0.0 dependencies: @@ -19914,7 +19918,7 @@ packages: dev: false file:projects/communication-alpha-ids.tgz: - resolution: {integrity: sha512-Hst9jYwgYIXxOkDOJ3g/8fF2DUb9ufY/6eJf9Li8cszU6rUWkqF3UarbSNtqsENlgkMn8nc38eDR+I062XhlYQ==, tarball: file:projects/communication-alpha-ids.tgz} + resolution: {integrity: sha512-GxF9Mrz2Z52WGtnDFiI52dk1UfiaENxco2vJOMdk8rO6EBPSkNzXMpdRI4VNyxdYfTsU38l43fd2J0QVZ3E3dQ==, tarball: file:projects/communication-alpha-ids.tgz} name: '@rush-temp/communication-alpha-ids' version: 0.0.0 dependencies: @@ -19957,7 +19961,7 @@ packages: dev: false file:projects/communication-call-automation.tgz: - resolution: {integrity: sha512-nPI+6paf8bm+bAp+Nah+UysteBj9B5zhZMo/wPzxE+42lCm1PaIo7SlRFlpWg7xv3QpJ98Pz/Gwy+QshONxy8A==, tarball: file:projects/communication-call-automation.tgz} + resolution: {integrity: sha512-3WzCsKgqaPTjWBwgZqFPVk6LdO5xnS72jN89U8lgBhi59FFvRYEowDILAR1bTIMN4nGmVC7HB5rkt4Proj4KTg==, tarball: file:projects/communication-call-automation.tgz} name: '@rush-temp/communication-call-automation' version: 0.0.0 dependencies: @@ -20003,7 +20007,7 @@ packages: dev: false file:projects/communication-chat.tgz: - resolution: {integrity: sha512-sMoxDYWNcQKW8VwXQm9X3lc9YBPpuVYJys7lUiudV7lxDZNPbfsZ0x3v7u3S/W4IIJQku3EHzx1lCsi6E7pyUw==, tarball: file:projects/communication-chat.tgz} + resolution: {integrity: sha512-SW3kV3WMqR2jh2SEqertR+xUpkCSMuj8dhH4sBgSrSpkj2rL9bkr6mILw0YJ7+e63+Cgl0yqFTaIUfYi3fZycA==, tarball: file:projects/communication-chat.tgz} name: '@rush-temp/communication-chat' version: 0.0.0 dependencies: @@ -20052,7 +20056,7 @@ packages: dev: false file:projects/communication-common.tgz: - resolution: {integrity: sha512-dq2CHqJUj7/jCzwrfvlplosHFpgenNZlnuVtj7P34AjaLKYV3JvkeuAo1I6nRgxf08AnByPplCKgGZMcgvicpA==, tarball: file:projects/communication-common.tgz} + resolution: {integrity: sha512-gNfo/2cMkO+kKl5G7MFLUTNujIhJ0eZDWh9k4NTc/l41ajcIpGhFqkCeoqIx2U6QGkq0JqILeNpdmxp40T3RLg==, tarball: file:projects/communication-common.tgz} name: '@rush-temp/communication-common' version: 0.0.0 dependencies: @@ -20097,7 +20101,7 @@ packages: dev: false file:projects/communication-email.tgz: - resolution: {integrity: sha512-x//4ITCLpNDIhQGqn3kWrqEVNnHZqEvT9lj0TxPOQ60XAP1Ff0nsqBMXB9bWPnHRbN+DmHJwzQVyDJkczBKfuQ==, tarball: file:projects/communication-email.tgz} + resolution: {integrity: sha512-OuCJlT8sUnZ9SsPiqOGk37mDBzEMrl+te6kMREDsr0h8T+kxKGVoeol/fzBU1IBfVL7MpG/5pETgOX0pz1y64Q==, tarball: file:projects/communication-email.tgz} name: '@rush-temp/communication-email' version: 0.0.0 dependencies: @@ -20138,7 +20142,7 @@ packages: dev: false file:projects/communication-identity.tgz: - resolution: {integrity: sha512-CaqJYe9lUMXxkmwkscjMGHgfHrgSoexwfvwzG7VSKwHx77v8c+CtLjyC24ztLyjHXzflYWB6I8rL6uV4TvpYhg==, tarball: file:projects/communication-identity.tgz} + resolution: {integrity: sha512-4RZHTKD7N4AA8CrjL3Jn+gpIsZzhMqlENpsINrwJNTw9e7ZG6IFG5yOOl7a4PD0tKfscHslLQmkInvwge2hSoA==, tarball: file:projects/communication-identity.tgz} name: '@rush-temp/communication-identity' version: 0.0.0 dependencies: @@ -20185,7 +20189,7 @@ packages: dev: false file:projects/communication-job-router-1.tgz: - resolution: {integrity: sha512-l+/94wTOHY/DWKf+pdg4pCnjpyNX2CAAHzpvLYTDKSGwk3MDRejHyueAUOHmdogB5wM6Z+D4XUEwOpUV7VTWBQ==, tarball: file:projects/communication-job-router-1.tgz} + resolution: {integrity: sha512-Pf7ZICd8zVOyvR9ic3p3osOAwEa8SW++iZMvexgtDYUVj4LGM4+B8jwQT+5eyFQfLWAA9FkD/jtS/9BOFfTuvA==, tarball: file:projects/communication-job-router-1.tgz} name: '@rush-temp/communication-job-router-1' version: 0.0.0 dependencies: @@ -20232,7 +20236,7 @@ packages: dev: false file:projects/communication-job-router.tgz: - resolution: {integrity: sha512-xRuR+PV9qOmg7+H4nEn0dRLdBf2p8e9pBK/ERM+hKXV8bbchzukyM2MeGL+zy4jy1j4Ar+lz+OLpXY2FotlkCw==, tarball: file:projects/communication-job-router.tgz} + resolution: {integrity: sha512-dwGWuO/CWPbaFAQDrWofCCHKpNsrpclkRyRcr4Sy9J7UZ2n99Zhrr4E/pBqqahr0lH5fJdbhqRpt2GnPXC1hVg==, tarball: file:projects/communication-job-router.tgz} name: '@rush-temp/communication-job-router' version: 0.0.0 dependencies: @@ -20277,7 +20281,7 @@ packages: dev: false file:projects/communication-messages.tgz: - resolution: {integrity: sha512-eZvl3T5xmJk+A4A0UFqTpxYV4TQ5eVeOwAOHXMtnZuNFL3FDDET93Ha7Wn+7UaO3nRbAjVjIu+MhaWRXz9r+2w==, tarball: file:projects/communication-messages.tgz} + resolution: {integrity: sha512-cJ+fNIlvMa0D7PzceBoIW4vxkLKrEWB5KyuhwtLRIljU/B08vmrBV9VrsqNgQelE2bnZfeVWZyIDRxwNCsfMBA==, tarball: file:projects/communication-messages.tgz} name: '@rush-temp/communication-messages' version: 0.0.0 dependencies: @@ -20322,7 +20326,7 @@ packages: dev: false file:projects/communication-phone-numbers.tgz: - resolution: {integrity: sha512-39/ssP69pw/1OYF2BbJwDdWwEBHKaoGPaapMW5wP2y88dSbJi90RP5fYhTL5AhzErpIgF4jjmY43WsKLT2yJ0g==, tarball: file:projects/communication-phone-numbers.tgz} + resolution: {integrity: sha512-s+FoHrqA5LFGwD9PbAxmLoARPDZNroSaaGiZkwvLfOT6StsapePnnjLCxiGh1FHTmmuUZOO3+mPoZsoCMdn6rA==, tarball: file:projects/communication-phone-numbers.tgz} name: '@rush-temp/communication-phone-numbers' version: 0.0.0 dependencies: @@ -20367,7 +20371,7 @@ packages: dev: false file:projects/communication-recipient-verification.tgz: - resolution: {integrity: sha512-pc3kCkUSWUxzjslJkVNVN7jyvmolZPxasuILnp9T49K/ntrcPhLf9HJ/NXpGI30F8sSuBAElCksEiLFWqIYf/g==, tarball: file:projects/communication-recipient-verification.tgz} + resolution: {integrity: sha512-raToxpwaZhkvNijRM5KQQPeyFNNPHPB3xCvpGP8T3400EEbZK8/AXhExgGVfsiWPIh+0T0Qgc4Dc+ZR3ESVM0g==, tarball: file:projects/communication-recipient-verification.tgz} name: '@rush-temp/communication-recipient-verification' version: 0.0.0 dependencies: @@ -20413,7 +20417,7 @@ packages: dev: false file:projects/communication-rooms.tgz: - resolution: {integrity: sha512-9WzQ8V3bJICGPHvdYp3lr6jnILw7/c3reSRf3pRhpx/Zhq4mXZD19DDf2C+XgkDqYOd0zg0i0Bf6R+n+AdqvZA==, tarball: file:projects/communication-rooms.tgz} + resolution: {integrity: sha512-dJUJiVv/PWc8+Daf0d8MK849btRZ6mhKUe9fY8KzDw40szhLu+O4U8geDwVF8aVkMxOg3V0Ve00wVv1+IDMXjg==, tarball: file:projects/communication-rooms.tgz} name: '@rush-temp/communication-rooms' version: 0.0.0 dependencies: @@ -20448,7 +20452,7 @@ packages: dev: false file:projects/communication-short-codes.tgz: - resolution: {integrity: sha512-AvToJvBPGoASzpJvShcF77cxKbXU0SHM1pRrkfhp0SDirGjZcIsYmm6i/sw0URcKocMAONdvuFRKF2DZOhIovA==, tarball: file:projects/communication-short-codes.tgz} + resolution: {integrity: sha512-Z8LbaHRpitiRHE0hKhjCvlj+mod3lSVab/4sFMz+dINjKLgLK0EkBBKOV1vjSLrm73aB2B0DMrYiQwVM2jVgHg==, tarball: file:projects/communication-short-codes.tgz} name: '@rush-temp/communication-short-codes' version: 0.0.0 dependencies: @@ -20494,7 +20498,7 @@ packages: dev: false file:projects/communication-sms.tgz: - resolution: {integrity: sha512-Ant+j9sEeDP7tdIEXmLQUqBlxB6gMrBU3Z9yWqGqj20DFv3NHKvcpsucAo0Or9X3q7wnFetfSH7jw/vn0PMQTw==, tarball: file:projects/communication-sms.tgz} + resolution: {integrity: sha512-pTwpMsQDUm8RmgL7Q3aJEuUPnfWeW0GNREITnHUSmDCHCy0ccDzswE759KBr4o5K7VAQhcNVYC85ybVQI27b8w==, tarball: file:projects/communication-sms.tgz} name: '@rush-temp/communication-sms' version: 0.0.0 dependencies: @@ -20539,7 +20543,7 @@ packages: dev: false file:projects/communication-tiering.tgz: - resolution: {integrity: sha512-QuvJOfyK77/npH1OhEMm8tvqXruLnJRDOMML/vSbYxM3QBm83cQQfAM6HHzxNW/JfSNEm9Q+hO0ciKZ71wjVEQ==, tarball: file:projects/communication-tiering.tgz} + resolution: {integrity: sha512-+/lUuj5yujLBlGX7mWu9gPvK8EeeMos07LYd7d+ec+GE5CRWS8nqDFzdv/hMY6w/pi9pFYsMZfhD8wkwfppwRw==, tarball: file:projects/communication-tiering.tgz} name: '@rush-temp/communication-tiering' version: 0.0.0 dependencies: @@ -20585,7 +20589,7 @@ packages: dev: false file:projects/communication-toll-free-verification.tgz: - resolution: {integrity: sha512-KkLg37Pnd5NU5R4EZDOOYfZnWdcb0YwELa6T4DNuR/TE3umc8n6zh1xDbwEZw2RH2Vh/ng9R3Q+cc6NNTueQSQ==, tarball: file:projects/communication-toll-free-verification.tgz} + resolution: {integrity: sha512-QL4+IMRWHCSn7IL67HsgXcIcrKUHvvyfrRxh9ZGOrAg5R6UaDlwAcv7vhLq5/xPL8yoTk1jiJaPe9ItsjCHHkg==, tarball: file:projects/communication-toll-free-verification.tgz} name: '@rush-temp/communication-toll-free-verification' version: 0.0.0 dependencies: @@ -20628,7 +20632,7 @@ packages: dev: false file:projects/confidential-ledger.tgz: - resolution: {integrity: sha512-eFCaoAk2IGaA53SIsOtHu1yJHxoZ1tADhuuw2VY0iFlavHw2BpCiuYYpjE/eQOHIKZlDQDT+fIeLUlPsSoAxGg==, tarball: file:projects/confidential-ledger.tgz} + resolution: {integrity: sha512-IeHVnoNcL68++YYDWRh2Cbt2e0KQfdL2yhjpvPTNH9Cj9lzmSgrxdN2a/Tq7u5fYXYCqEb7wl2xV4IpIg0pf9w==, tarball: file:projects/confidential-ledger.tgz} name: '@rush-temp/confidential-ledger' version: 0.0.0 dependencies: @@ -20658,7 +20662,7 @@ packages: dev: false file:projects/container-registry.tgz: - resolution: {integrity: sha512-PoAp2X+TwZonURuPRPOkOu0N+ZIkLOQ1Ih0GnuWvKIgn+9MqQGy1hw91qpLOXMzPDifDnSIKIh/bqNX743igoQ==, tarball: file:projects/container-registry.tgz} + resolution: {integrity: sha512-eSjgV03PUYSzyFVQ0po8aFst87AwDjron9mIonwDGz3odxtGYM2KoDis+6jchKNDRRA4wi9r73RB3bqj72JDsw==, tarball: file:projects/container-registry.tgz} name: '@rush-temp/container-registry' version: 0.0.0 dependencies: @@ -20701,7 +20705,7 @@ packages: dev: false file:projects/core-amqp.tgz: - resolution: {integrity: sha512-g+B03LVXkJLQf44u3h27ja92FtHtSSKq/TGbTgMSm8YXB1bo6HoGBRhzCIzttMJ8s136NsWOBpv1ZgnABK7qig==, tarball: file:projects/core-amqp.tgz} + resolution: {integrity: sha512-t6C8ltd1Oc0pse9zMoKBE1eQzejgsFVZFkpnZBbasQKS7VCWg5YK6LjW8rr/YlIZiS2n9OOHhaCZHpBy0jlN9w==, tarball: file:projects/core-amqp.tgz} name: '@rush-temp/core-amqp' version: 0.0.0 dependencies: @@ -20747,7 +20751,7 @@ packages: dev: false file:projects/core-auth.tgz: - resolution: {integrity: sha512-vY42cq6R6TdfQb8LIs+0TCdinq8VRK1EFLFfQwaPIiNtZI/xkTv3MIoZAm3zkGrDrNVJQEukNXAmqlfgKJDSAg==, tarball: file:projects/core-auth.tgz} + resolution: {integrity: sha512-pcT95NqTlwz4nKRpaYqn75R0R/tLXQMMq1cKU/lR6ySN4Fngk3eST8uXudXAESNcXh8MIBiB7y5vmiPD77w4/A==, tarball: file:projects/core-auth.tgz} name: '@rush-temp/core-auth' version: 0.0.0 dependencies: @@ -20782,7 +20786,7 @@ packages: dev: false file:projects/core-client-1.tgz: - resolution: {integrity: sha512-r1MX0WreTXkb92PKYmpsANIjK6Ivm46uBrSadpLytScmEzMCpab6kA4qWKv2xRGgNPN9r3SBab9VRWmBgYhUyQ==, tarball: file:projects/core-client-1.tgz} + resolution: {integrity: sha512-6tGiv8BpGy8eTYorXLXYGoEoovqgJ5M8U7w3ccqBkl0YfrwGrDhPkvu3scHqUmdXgUst5PvqpNa8CMsRibNcew==, tarball: file:projects/core-client-1.tgz} name: '@rush-temp/core-client-1' version: 0.0.0 dependencies: @@ -20817,7 +20821,7 @@ packages: dev: false file:projects/core-client.tgz: - resolution: {integrity: sha512-l1rA+2W+9xLNs/CY/qYYUEe+0OVsUP4urW+DPuXQ6Ijqu6d77x1EugNsyu5m3C98RiS/56O9iX4grAAbE5L4yA==, tarball: file:projects/core-client.tgz} + resolution: {integrity: sha512-+IwFRR6/0hBILKGH+TtdT1dSTs+BzL1ohaN2xm3tem4VWCfyMai+gBlru12HrjNoE6dsIMkUJz4MNCpuf9NOfw==, tarball: file:projects/core-client.tgz} name: '@rush-temp/core-client' version: 0.0.0 dependencies: @@ -20852,7 +20856,7 @@ packages: dev: false file:projects/core-http-compat.tgz: - resolution: {integrity: sha512-hbJrSt3XopE7ZHKJGEl+TKFjXDfVhC5SShS0gMtcjGspzz4JJIp0vNRufWCp/QQl4Lrrk2DUL3FvFJjmzUm+yg==, tarball: file:projects/core-http-compat.tgz} + resolution: {integrity: sha512-K7ibMNnAEkccwhD2QMmnVJ6p+N9r+eztB/A4OlfOWyIypu+EpvHI1lE3m6xK6aDBpPXTOZXssFml5gayhOtRhQ==, tarball: file:projects/core-http-compat.tgz} name: '@rush-temp/core-http-compat' version: 0.0.0 dependencies: @@ -20886,7 +20890,7 @@ packages: dev: false file:projects/core-lro.tgz: - resolution: {integrity: sha512-yvw1a406p2ExpVDwIKMP1q0s9OaH5/55IrRIczUwApCnro0Gt8gJ2ttJP2wqQTssMUCv7AZEIOV/OPazBC/R/w==, tarball: file:projects/core-lro.tgz} + resolution: {integrity: sha512-KKQeY14iQ2AeHpCZ4en8rnkkU3cJj6X1i582gmqUa6FuChNikLfJ0ilwCvCiC+N+hnld4dCrHNaXRz7H4F/kjA==, tarball: file:projects/core-lro.tgz} name: '@rush-temp/core-lro' version: 0.0.0 dependencies: @@ -20921,7 +20925,7 @@ packages: dev: false file:projects/core-paging.tgz: - resolution: {integrity: sha512-oH9FpdaW8liSxolp4eS/BGk7Yf0Lqr9a/tU0FIAtQEWauOLZW5tPQcDjkFhVgS62iwOiLFytEQiXJ2rNl8KLug==, tarball: file:projects/core-paging.tgz} + resolution: {integrity: sha512-WAVql5zt+h9ibZYDLDE0SiHEfDPOhhB9b2oskVp0pstHTpFlrPEhHBU+Dv7HuqLL1Ll7EogLwTy81FlZcs44hw==, tarball: file:projects/core-paging.tgz} name: '@rush-temp/core-paging' version: 0.0.0 dependencies: @@ -20956,7 +20960,7 @@ packages: dev: false file:projects/core-rest-pipeline.tgz: - resolution: {integrity: sha512-DBScWFbVyqwjlirL7TqPl0+Af3MTV0A10wBU6JbwWuARhftgQkQJIkcKuGfdBUk17Nl+SmeDw8D4insaHCOK1w==, tarball: file:projects/core-rest-pipeline.tgz} + resolution: {integrity: sha512-b7alNTHtvyIB7LodYrM06A1F8ScsOlc4Qu77ug+YBzC8V7z9AJ4cCLUXfOzo2vJmoIHQa+lcClTzVnPv9OmolQ==, tarball: file:projects/core-rest-pipeline.tgz} name: '@rush-temp/core-rest-pipeline' version: 0.0.0 dependencies: @@ -20993,7 +20997,7 @@ packages: dev: false file:projects/core-sse.tgz: - resolution: {integrity: sha512-nACU82+/xu+3R+P+TUswIGnbpY16h5NJ9dACYinDpQP/VFtePh/TILV0K7wJUNnKuojDEGgX1/hHwoNByyn5lQ==, tarball: file:projects/core-sse.tgz} + resolution: {integrity: sha512-8Y3sGx1Vwi7VLyhYsuIikHKOqCNgLbTCNBoCX+1hOhsOPMvYM3pJ20WMmpp1IzxsxcEoPqfxQDYPjYuBDpzhqw==, tarball: file:projects/core-sse.tgz} name: '@rush-temp/core-sse' version: 0.0.0 dependencies: @@ -21032,7 +21036,7 @@ packages: dev: false file:projects/core-tracing.tgz: - resolution: {integrity: sha512-P9DjRTPs1GTatmP05c1n+5xGiX2CLJASDCIjKV3xcOcKVEBPGvdHtTE0xjRAZ5BNHBqi/Rlfw3Xz6WsJUNVu4w==, tarball: file:projects/core-tracing.tgz} + resolution: {integrity: sha512-JCu3kVTLdmvw/Gp0fWaaNJDayj38yplVojZdweIszXouM7OQyClHZlvXaGvQlZ/i11RZACcfMAj0m0IHX908AQ==, tarball: file:projects/core-tracing.tgz} name: '@rush-temp/core-tracing' version: 0.0.0 dependencies: @@ -21067,7 +21071,7 @@ packages: dev: false file:projects/core-util.tgz: - resolution: {integrity: sha512-B13gfVDXgrdZaroUn2k0tUXo7zMDnTrFRB36DFqILqoVnAYszEFBBNQnt9yNW7tl3DFDr8P6/hjnCPKjzggqqQ==, tarball: file:projects/core-util.tgz} + resolution: {integrity: sha512-hDmD6jAO3QSlkuv324M813c8pkkNDToiPIoJhia9dPCFT/qRhxAO9FYSJut+GWiGFhpP0thBACSlfIxU4istjw==, tarball: file:projects/core-util.tgz} name: '@rush-temp/core-util' version: 0.0.0 dependencies: @@ -21102,7 +21106,7 @@ packages: dev: false file:projects/core-xml.tgz: - resolution: {integrity: sha512-g90A38K7q3GLkVSO/GK38tljI4NZNr536bRaYqp7bSzL7+iMMnxHvC09tZOvrjgNMOpa1QU1rjDv5hgH0NGfYg==, tarball: file:projects/core-xml.tgz} + resolution: {integrity: sha512-8rnx0NlVLTPyXFZECO1XK55ppZN8jmnhd/Z+kWHCTa4KOcyGWA0uqdSYdj55ew3XmR1v2ARPK62D38z3sa/yhw==, tarball: file:projects/core-xml.tgz} name: '@rush-temp/core-xml' version: 0.0.0 dependencies: @@ -21139,7 +21143,7 @@ packages: dev: false file:projects/cosmos.tgz: - resolution: {integrity: sha512-6JYVV/edBloz/AlX/hsaHWjnJry75gDvuUiRWs5DGUE44RI7IYxH8qer4cOjqpwTie86waUEf8Bfo0zgNYCZsA==, tarball: file:projects/cosmos.tgz} + resolution: {integrity: sha512-4T6aUKuID/YUr6KlCqT6aE2OsbJGosLPxxt/OY3VyPSstF8HgIsXM1HfyWvCpJ1362PhTlX1WaBvVxlVyYZYPQ==, tarball: file:projects/cosmos.tgz} name: '@rush-temp/cosmos' version: 0.0.0 dependencies: @@ -21180,7 +21184,7 @@ packages: dev: false file:projects/data-tables.tgz: - resolution: {integrity: sha512-0k9NnYVxTlxr90N8QDS6wWZ3748dwnUv3xFk02PWpnt0Gq4pGyc6XoV0mUEmqJuT0udPnp604zLUssa1Fjdu3w==, tarball: file:projects/data-tables.tgz} + resolution: {integrity: sha512-uQSpb+axAGR2DiEFq3AMMNAKxHLjZkD8sE5X4K8XidvFweUv1dRdOayMaSDDNdJo4R3dffWw4+Jfs8438o5XKg==, tarball: file:projects/data-tables.tgz} name: '@rush-temp/data-tables' version: 0.0.0 dependencies: @@ -21224,7 +21228,7 @@ packages: dev: false file:projects/defender-easm.tgz: - resolution: {integrity: sha512-rvBnctSZ1zRdF13oUGU6cvV6Hw/xCuv7PZ/g+fSeupgkM+BYJOY7SJ8nEODkIwD7DMKYOPN1GSSRd6rQPf655g==, tarball: file:projects/defender-easm.tgz} + resolution: {integrity: sha512-JhUtBnCSyefgcaH4yHS9vFQBO64YTZuqRNH+KJEn034pE+9rZFg111XeCE7TTaocM0eCq4GBdmKo/j10+Kaq0Q==, tarball: file:projects/defender-easm.tgz} name: '@rush-temp/defender-easm' version: 0.0.0 dependencies: @@ -21271,11 +21275,11 @@ packages: dev: false file:projects/dev-tool.tgz: - resolution: {integrity: sha512-yl21SxCggTjpbZ/j550rndI5vZfImPECakVjqUFAOF184WAAcxBJL4DxEUQZzy1wxeJ7RNhhQny31qgWUGIksg==, tarball: file:projects/dev-tool.tgz} + resolution: {integrity: sha512-66IidRFwPa23K2J6Gdws3gd3uYJ1jWzv5dWcCW8gzjBAu7nonW/XibhqDhX7HX+ThJRgGBde96Cx2Hx5xQBVng==, tarball: file:projects/dev-tool.tgz} name: '@rush-temp/dev-tool' version: 0.0.0 dependencies: - '@_ts/max': /typescript@5.5.4 + '@_ts/max': /typescript@5.6.3 '@_ts/min': /typescript@4.2.4 '@azure/identity': 4.4.1 '@eslint/js': 9.2.0 @@ -21341,7 +21345,7 @@ packages: dev: false file:projects/developer-devcenter.tgz: - resolution: {integrity: sha512-n9J1fkU8qmrEvKcSx+a/o5ZJGJn3XCWlwqmnRnB/DijguwLzowP0Kw10wlXfRhquIDXqdE1hJRcEAiggZTuSIg==, tarball: file:projects/developer-devcenter.tgz} + resolution: {integrity: sha512-uoCOlXj+TaX0kIPgUtfpcD8NvDaUw6JrjVkNS61BTdHW3G1HbcBSMfPS80aDFasJbIzMMSHzb/LEmDSZ1eQhWg==, tarball: file:projects/developer-devcenter.tgz} name: '@rush-temp/developer-devcenter' version: 0.0.0 dependencies: @@ -21380,7 +21384,7 @@ packages: dev: false file:projects/digital-twins-core.tgz: - resolution: {integrity: sha512-znhU7vJ4nHimuS/O5H9dLFLSu9g1whygu89tf78A3GR3vdR/Tz4rHYQdtLS2oxrjBL31I+6QWi2gQaUAxKcVDw==, tarball: file:projects/digital-twins-core.tgz} + resolution: {integrity: sha512-4+pRlXZu4oNBk8Vp+vPMrfCS+BEA4qoLjs8eEAhjW4h97nrBUMtTqwviiDbKhx1jNzcg80sRoZPKBeaT47DYMw==, tarball: file:projects/digital-twins-core.tgz} name: '@rush-temp/digital-twins-core' version: 0.0.0 dependencies: @@ -21426,7 +21430,7 @@ packages: dev: false file:projects/eslint-plugin-azure-sdk-helper.tgz: - resolution: {integrity: sha512-27G4YMP9kFYRVqVV1FcB6pviLTdnLBTlpImmDs2ZkhZYygGbiCxw60TiWru2oZt3cKCzE9RakCB3YdZ8Po+lCg==, tarball: file:projects/eslint-plugin-azure-sdk-helper.tgz} + resolution: {integrity: sha512-BNAjKfF+QfoGeAHl3ED/z/aDIJTM5ylb7gO2V6q5bwvhJHnCFWTNm0lRd0jK9c3JVyIxD+LWPJO0P2i0hGXNiA==, tarball: file:projects/eslint-plugin-azure-sdk-helper.tgz} name: '@rush-temp/eslint-plugin-azure-sdk-helper' version: 0.0.0 dependencies: @@ -21455,7 +21459,7 @@ packages: dev: false file:projects/eslint-plugin-azure-sdk.tgz: - resolution: {integrity: sha512-muFv5+h1sNOv0yYYxjJdjSCouEQ9jEVZx9W/re7tT9lULsfV/u9JbV5vLFRAQJm6mHdOSorK8tEIzX4/VnTGvQ==, tarball: file:projects/eslint-plugin-azure-sdk.tgz} + resolution: {integrity: sha512-PmDtKMlzVHnqzw+ALXhDOvsHlS6tzEfC0NCMpeNeidFcxzG2PKpen3KYfea4aCIzqJuFMePAdg5fwf1wqdQ16w==, tarball: file:projects/eslint-plugin-azure-sdk.tgz} name: '@rush-temp/eslint-plugin-azure-sdk' version: 0.0.0 dependencies: @@ -21507,7 +21511,7 @@ packages: dev: false file:projects/event-hubs.tgz: - resolution: {integrity: sha512-y91y9ncES2zFoF1c8ruoEs2saKnE6hf7eZ3va7ky7rKcSnbwPYJ0cTX00kYGlI4sd/wDa5KT+HRzStJAuVuDZw==, tarball: file:projects/event-hubs.tgz} + resolution: {integrity: sha512-xLnyilBbbHQfmzOAAd5SjygGVv4ge2nrp4WzLc8ifOjRhBLsWdDXsg11j4nGj0/z5/qC1mM6tDtAdoKEF4moiA==, tarball: file:projects/event-hubs.tgz} name: '@rush-temp/event-hubs' version: 0.0.0 dependencies: @@ -21564,7 +21568,7 @@ packages: dev: false file:projects/eventgrid-namespaces.tgz: - resolution: {integrity: sha512-MSAg5HuRAKu7XbLpnnpG8gJKF0oe8x0IB7hcWXhwWftzHuthv64uCJ/pzelKlDFxlmMFC+mtSrXNbJJ53SsWjg==, tarball: file:projects/eventgrid-namespaces.tgz} + resolution: {integrity: sha512-9PoFq2uCsWu9t+azDxQiQacowRkaO7C99Vp9k5ZVA3otIOMGtaZyMcco04bbhoH5YQjQeLdut07saZkt0a1T6A==, tarball: file:projects/eventgrid-namespaces.tgz} name: '@rush-temp/eventgrid-namespaces' version: 0.0.0 dependencies: @@ -21612,7 +21616,7 @@ packages: dev: false file:projects/eventgrid-system-events.tgz: - resolution: {integrity: sha512-8WbGkXYl2meq4wlzgQHRvsUFiHOXS1XABhUJIOPb05FXEpHaDaf72phWQYUuaFUjPEMjJUPw3D70mgoDaDQQqA==, tarball: file:projects/eventgrid-system-events.tgz} + resolution: {integrity: sha512-+PlaZmzoItgLPloB0EJh3W+kkB0Sq/oYt4fBLJ/OGdhIEIQYJIY6d4sG0zvsAL3TmJbA0LnKTHyxVHRbdzJDfw==, tarball: file:projects/eventgrid-system-events.tgz} name: '@rush-temp/eventgrid-system-events' version: 0.0.0 dependencies: @@ -21660,7 +21664,7 @@ packages: dev: false file:projects/eventgrid.tgz: - resolution: {integrity: sha512-/aIxYWOUqFBmzyifimWB/SUZaSdEp8CoZTZD9/kw/el9YvVs9VcAr8BHvvwZTMy3MflejabDNLAnKnwyoKYkBg==, tarball: file:projects/eventgrid.tgz} + resolution: {integrity: sha512-d/axieyfjMweYvEOcRvhXbAG9YtIImODSEF8zPwZVBuh6jiy/eLS/jYJe+twQyd58TPx176KPTqSCiw1GncRjw==, tarball: file:projects/eventgrid.tgz} name: '@rush-temp/eventgrid' version: 0.0.0 dependencies: @@ -21704,7 +21708,7 @@ packages: dev: false file:projects/eventhubs-checkpointstore-blob.tgz(chai@4.3.10): - resolution: {integrity: sha512-mLZ4Kje5JcvS1tsSD/hOVYGlHisB1zhpvanaIXnA8W0wIRuoSk01aF0iZQsBCp4bmFTERX2JSvU9O1iTVHSLxw==, tarball: file:projects/eventhubs-checkpointstore-blob.tgz} + resolution: {integrity: sha512-5oCF4NJigpz0RnRKVAKJccgluWKa7ZLliD5B2s1bL6COrNJe/u4td0vWgy435S3Db51+VeEn9ICIT/tPz3RcRg==, tarball: file:projects/eventhubs-checkpointstore-blob.tgz} id: file:projects/eventhubs-checkpointstore-blob.tgz name: '@rush-temp/eventhubs-checkpointstore-blob' version: 0.0.0 @@ -21755,7 +21759,7 @@ packages: dev: false file:projects/eventhubs-checkpointstore-table.tgz(chai@4.3.10): - resolution: {integrity: sha512-3OofgMgoym1F48jfUCM3jHJkiOvrdFT+EQYeAAOlKGhiU57r252IlWb1OZduveLlJMaGqFzekFU778u9HaLxQQ==, tarball: file:projects/eventhubs-checkpointstore-table.tgz} + resolution: {integrity: sha512-rwWimWyJQ4ooozrWuSJGfH3M+p7DtY+Y9fqinWkGuPiwtbqJd5aqD17axilByXM4+UCGcWqrSlUI2MSVyVg39g==, tarball: file:projects/eventhubs-checkpointstore-table.tgz} id: file:projects/eventhubs-checkpointstore-table.tgz name: '@rush-temp/eventhubs-checkpointstore-table' version: 0.0.0 @@ -21805,7 +21809,7 @@ packages: dev: false file:projects/functions-authentication-events.tgz: - resolution: {integrity: sha512-aApTAGIYOhQDXKLIYOVHwMjF3f5Zvlr2g33Oizc4aQQ9oRDztcJDp5KHBEtV+pcMOBzE3uXMJhbpmBf8THjEpw==, tarball: file:projects/functions-authentication-events.tgz} + resolution: {integrity: sha512-HQOnyBSn4Dew4tzB4kwnmnm3hyfj1wb3fbdPE/SnYOzzn+9DK7/vK+gVsSwTVTUqOyr7RLxFYIThyyrRttTbzQ==, tarball: file:projects/functions-authentication-events.tgz} name: '@rush-temp/functions-authentication-events' version: 0.0.0 dependencies: @@ -21850,7 +21854,7 @@ packages: dev: false file:projects/health-deidentification.tgz: - resolution: {integrity: sha512-ViyKG5CrMCQrD+XtF9roPgzipnAayLDbLQtJC8XRYIqFnfkSvIoc+QMUH++JM5Dh9RwSG9yI3rL244bkqlojlA==, tarball: file:projects/health-deidentification.tgz} + resolution: {integrity: sha512-XIXPEX7GVWacOhCOfRcyg/Ignam8Gec8EeOIyWqmUdB+YoRtuGmSsPdDzATSgflVTrym+ZBKcKPDm9PZxG1gnw==, tarball: file:projects/health-deidentification.tgz} name: '@rush-temp/health-deidentification' version: 0.0.0 dependencies: @@ -21889,7 +21893,7 @@ packages: dev: false file:projects/health-insights-cancerprofiling.tgz: - resolution: {integrity: sha512-iaLOhJmMJm++SARTYyq0zF/HqQOt+X4cthNz+4HPsorM9Vl3l4CfKQGx7D54XNpJMxnXls+/W/ibLNrXluGHhw==, tarball: file:projects/health-insights-cancerprofiling.tgz} + resolution: {integrity: sha512-qZASX+wdO+x8kPONr0yOUPpZcNw0IKUZFINTfsCFzJqNibiod7Ap9FxZt0n3vOBbEHAf/BSiF+IzddBfO7iqkA==, tarball: file:projects/health-insights-cancerprofiling.tgz} name: '@rush-temp/health-insights-cancerprofiling' version: 0.0.0 dependencies: @@ -21936,7 +21940,7 @@ packages: dev: false file:projects/health-insights-clinicalmatching.tgz: - resolution: {integrity: sha512-G1r3XaWFx8dG1fjDTjL0baWEuJK4GyNTWgHIiwOrcwGqrtv6FvXh95VfrV8rtbvYHVRH8GL7uUaSY3B3ufJiow==, tarball: file:projects/health-insights-clinicalmatching.tgz} + resolution: {integrity: sha512-QNp0IcY46zw6+LB5UIh6MjD6gs/oXIiwjNtXDmWmYxhssBvu3GayP4K6Ut3SFvTd7xn579W/3WeQZDbDBIUlpQ==, tarball: file:projects/health-insights-clinicalmatching.tgz} name: '@rush-temp/health-insights-clinicalmatching' version: 0.0.0 dependencies: @@ -21983,7 +21987,7 @@ packages: dev: false file:projects/health-insights-radiologyinsights.tgz: - resolution: {integrity: sha512-4YeJpaqgwEWqufa1UWVwYiRpuYJqfjtl97249uisM3EMwqtcEL/VEGUCiJhI8E2v+FadetiAUAtueSGeIyCdbA==, tarball: file:projects/health-insights-radiologyinsights.tgz} + resolution: {integrity: sha512-44JXAxsojj6fQ7ct3Sb+gX0xZfDYHMWZhDHpp8jz16OI1LV+kOFcqKuoTcNCxdP0Yl5r69V7sCA4I4bwyun4bg==, tarball: file:projects/health-insights-radiologyinsights.tgz} name: '@rush-temp/health-insights-radiologyinsights' version: 0.0.0 dependencies: @@ -22030,7 +22034,7 @@ packages: dev: false file:projects/identity-broker.tgz: - resolution: {integrity: sha512-ss649R/5rBoPFVFHrNY7emScp1WTGFMkH5d/5yv3Ed8FM8cPXzumQksLmpVURrWetavMkpshUCRI0Cvh6vBHzg==, tarball: file:projects/identity-broker.tgz} + resolution: {integrity: sha512-PFAk0qtrV4+Sx0qif29ZbSuTOJQNNOzs0TdBNMSawfI59DE804G/1J1RylXQ3Hm6t0TLNseOODREAN1M9P8fnQ==, tarball: file:projects/identity-broker.tgz} name: '@rush-temp/identity-broker' version: 0.0.0 dependencies: @@ -22058,7 +22062,7 @@ packages: dev: false file:projects/identity-cache-persistence.tgz: - resolution: {integrity: sha512-PzQ8h2R6clNkNYJBIGwa7eQ0f5GVbjvBPCp3X5xVqiEciCZQ0hEVSoWXHgue9HQjecAL6z0UTEvt8Rrw9DXA8w==, tarball: file:projects/identity-cache-persistence.tgz} + resolution: {integrity: sha512-W+kRvM/Cfk27Ca3xQIBmp69UTaGKrua5pWVHQkVc4xB1pnAenZpDhioVTkfWiVzJxHIaTiEFDGYNIfet2BiL7Q==, tarball: file:projects/identity-cache-persistence.tgz} name: '@rush-temp/identity-cache-persistence' version: 0.0.0 dependencies: @@ -22094,7 +22098,7 @@ packages: dev: false file:projects/identity-vscode.tgz: - resolution: {integrity: sha512-wFd6ItZFl4HOb8m8ZPfGSmm9HOJCMRE5xl3jD6x2AIayHZLnt2Lhssy12iHhgJRmeIM5OAIeCGy5aXfu0frp5A==, tarball: file:projects/identity-vscode.tgz} + resolution: {integrity: sha512-HNDxqfPbOgYboSoUcjAOtUZueIvtxWEfZT6r2YjOfo2GEBWzhWHz9qgBF337CYJkFGSHecaecyzu3bR4TutbPA==, tarball: file:projects/identity-vscode.tgz} name: '@rush-temp/identity-vscode' version: 0.0.0 dependencies: @@ -22129,7 +22133,7 @@ packages: dev: false file:projects/identity.tgz: - resolution: {integrity: sha512-U8XKWGJqdGHi6sSgZpYXjKSNJOt0O9ICO9SvUHL373m5mQWosGv/dWw6XKsq8MsCV9UWjtMi3xIsiQPVafzsGw==, tarball: file:projects/identity.tgz} + resolution: {integrity: sha512-vRMkof8kOthU6CPj1EHndq1ELLA0S7iT4M1d3sH7B+50Iy+ibcgwmu4k6VhI5ZmDvwCBFdKo7GxAjyF/6Y9mKQ==, tarball: file:projects/identity.tgz} name: '@rush-temp/identity' version: 0.0.0 dependencies: @@ -22185,7 +22189,7 @@ packages: dev: false file:projects/iot-device-update.tgz: - resolution: {integrity: sha512-zk2ybn46growB0yFOMyVGZQ9VxGCtcG6+uQlHcMuz77JbjC4I4uk3pwq1KtwcLLXMrvGhn0JvLbhCWfB4rWmkQ==, tarball: file:projects/iot-device-update.tgz} + resolution: {integrity: sha512-NIgNsJXGBuXSfW4WwjQotagmMMKnamlEOPUZYptkQeCRy/3rIqc81WWSXxRau3e3TEI6Xi/KjxguY/CTzeMCBw==, tarball: file:projects/iot-device-update.tgz} name: '@rush-temp/iot-device-update' version: 0.0.0 dependencies: @@ -22232,7 +22236,7 @@ packages: dev: false file:projects/iot-modelsrepository.tgz: - resolution: {integrity: sha512-t60+FhsdAnE22BzXtH/yp8RKsM/wRnCUM8WnlmCDeIpjzktE2sSs0nJgi8sW/6XXZqHdZMAVX6l7Co1Jx55FpA==, tarball: file:projects/iot-modelsrepository.tgz} + resolution: {integrity: sha512-BckB8vSfxgT61GGc6n0zF5nEzoE8UJeZMgvqqA/1JiniYwHn3ykExCp8kUvW64G8wpcqXcY+he+MrOoiITZlRQ==, tarball: file:projects/iot-modelsrepository.tgz} name: '@rush-temp/iot-modelsrepository' version: 0.0.0 dependencies: @@ -22276,7 +22280,7 @@ packages: dev: false file:projects/keyvault-admin.tgz: - resolution: {integrity: sha512-dsunWQMsLsdiguSu5LYZU7kZwiLAQ9e0yX0LYziOIseDXRYtDITozBl/EheUzQ4q4xfKUhD7imk+OIwkppoSmg==, tarball: file:projects/keyvault-admin.tgz} + resolution: {integrity: sha512-apDSonXIGR4V18FGs4+t4A5R3GScYn2hViO2mo1U5J2f4IOcXH8zPgggu5qcAU/M49MLBeEOBIw/iJchWm+zaA==, tarball: file:projects/keyvault-admin.tgz} name: '@rush-temp/keyvault-admin' version: 0.0.0 dependencies: @@ -22315,7 +22319,7 @@ packages: dev: false file:projects/keyvault-certificates.tgz: - resolution: {integrity: sha512-d+U46KzZabZyNkFyt72mx/vKmQTJMHnF5iaXIOMXXiEM+CYtjb2ozM6wWVN4cJOInz/zcIb7i2SiXoVI6rj14w==, tarball: file:projects/keyvault-certificates.tgz} + resolution: {integrity: sha512-kR/wShtnhfbQpdLgfQw2L4t6ezDCK2D9AbkAwo8G46aCQJ7UQF+2olw+92HoBz7UbHQ9jnN/iChzaoO4B/mBkA==, tarball: file:projects/keyvault-certificates.tgz} name: '@rush-temp/keyvault-certificates' version: 0.0.0 dependencies: @@ -22360,7 +22364,7 @@ packages: dev: false file:projects/keyvault-common.tgz: - resolution: {integrity: sha512-Ciy4ViV4tjk8xKOTPuF4cCbgdA9mmzn3NZSFUIXOwSikKzy7xGS0H8UYKLamMAry9/QnGl/tlvXzVJPBRuH21Q==, tarball: file:projects/keyvault-common.tgz} + resolution: {integrity: sha512-FzBLdTUe4haDqY+etOyz3Yz/NiwDsAiX9yii4t9Pw9gRWFpPnY0GpMCoz21d+iCo7isBWSz2+cECmPvGjwqP4Q==, tarball: file:projects/keyvault-common.tgz} name: '@rush-temp/keyvault-common' version: 0.0.0 dependencies: @@ -22403,7 +22407,7 @@ packages: dev: false file:projects/keyvault-keys.tgz: - resolution: {integrity: sha512-VetOwAKfNBnTHJcgw+wKZMS01iNqsw+ft2gigIfPKqwGFeqfYJVKvB6DgQHYBR31WNEUhG5Vj83m5yiLtr3kJg==, tarball: file:projects/keyvault-keys.tgz} + resolution: {integrity: sha512-pCkhdlB+/4VM66NrcwbCZexCAiXOSeDVeu+rGvrSIbXBjsQFp3N0GeKHHsPtj4CNMqdJDenIbtC93xT5nYWCFQ==, tarball: file:projects/keyvault-keys.tgz} name: '@rush-temp/keyvault-keys' version: 0.0.0 dependencies: @@ -22449,7 +22453,7 @@ packages: dev: false file:projects/keyvault-secrets.tgz: - resolution: {integrity: sha512-xmeGzSbTsxLCnWVoHNrC4ZKtWauFI5YqrEV6yqXsMEOHr7EY7i3dOsfQLQuPQqt3sbRwlCd+eyTzhJ5bfISyYA==, tarball: file:projects/keyvault-secrets.tgz} + resolution: {integrity: sha512-k905gOIrYFWE/UBqq+Tj5Ujcfhwc/E+FhUmM3jBMYm/45yD5bJdRJf8gvhKHCn6TquYTCvJXRfN0PzcXC1mxjw==, tarball: file:projects/keyvault-secrets.tgz} name: '@rush-temp/keyvault-secrets' version: 0.0.0 dependencies: @@ -22492,7 +22496,7 @@ packages: dev: false file:projects/load-testing.tgz: - resolution: {integrity: sha512-UVEdI4STub3eQDH51YsW5HxzBZp/YB+ovlVwawirNDIn2L6JpIVfjrlsjphxnKSM9APAfpGKpvcu7C18PdQzQg==, tarball: file:projects/load-testing.tgz} + resolution: {integrity: sha512-2jBNN0e/ojZ4JuwLmwda6pyV37Pc3kKeYaqe6wnYmk6uyLypJq/6o2p1EKlOSB/dN4I5A8CTh8ehsdnb+7OOAg==, tarball: file:projects/load-testing.tgz} name: '@rush-temp/load-testing' version: 0.0.0 dependencies: @@ -22540,7 +22544,7 @@ packages: dev: false file:projects/logger.tgz: - resolution: {integrity: sha512-8PWl/8/78SftC/QDnuBQdu/H2CZrY5i/4vF2QTNqGz6vPAvckpE7HSEgKEy2zb8yBizQTI8So0xdJi198CEeUQ==, tarball: file:projects/logger.tgz} + resolution: {integrity: sha512-9Fy44VVr7h0hj9E1JnUJiJcohLZNyBM16mlo9/7nl8k5oRyuxY4IQZ+3/kIdLGSxzccLcuuFackQlJMeL27s+g==, tarball: file:projects/logger.tgz} name: '@rush-temp/logger' version: 0.0.0 dependencies: @@ -22576,7 +22580,7 @@ packages: dev: false file:projects/maps-common.tgz: - resolution: {integrity: sha512-Scmb3fdFE7LS6CWNHJJBhihI+8U9v1K6eM/YyqLNgRG3HCKdv5mGHiGuAimXP4phBtlNyR0yJuijZQzM1pWNTA==, tarball: file:projects/maps-common.tgz} + resolution: {integrity: sha512-EV966yIMO5f7uK/9KkDxD6VAmE5LNw7Lm1OOc73c1Mch5zPDgjeMAMtiOe1yEuVW6PaQb/Bu9LVLg5w9DiFgDQ==, tarball: file:projects/maps-common.tgz} name: '@rush-temp/maps-common' version: 0.0.0 dependencies: @@ -22594,7 +22598,7 @@ packages: dev: false file:projects/maps-geolocation.tgz: - resolution: {integrity: sha512-gTtxwimbxkskwgPt9cKiYiy3iZl+RRglzPwid6UeBCxz7fVVWHRj2p1bnZ+vX/QtAbRUkb4cqXFjOpimRVGPzw==, tarball: file:projects/maps-geolocation.tgz} + resolution: {integrity: sha512-B32BArCBNnzAVbittEOG3gCu/Sa/lrETT49YR674Ak2amg1B0PeXHhRIOvx7WdcPdVfWLzPyERFHwaBUrCxxiA==, tarball: file:projects/maps-geolocation.tgz} name: '@rush-temp/maps-geolocation' version: 0.0.0 dependencies: @@ -22640,7 +22644,7 @@ packages: dev: false file:projects/maps-render.tgz: - resolution: {integrity: sha512-TiH597tRmg6pScwBjUdnDoGftilr1SyHJuFGgpZs2l56yVDY6Jb/SjegtKV6cH84iSGSJSq9e999JJ5NYzr0sQ==, tarball: file:projects/maps-render.tgz} + resolution: {integrity: sha512-mxIGWKhN6Wd9Vse/Cw1czC0pd0AELj30/E2Y3KCQz2sYv1qjLNUkhVV3AfN8kAjdbTKgPlLu3K4BCWVS4RfGvQ==, tarball: file:projects/maps-render.tgz} name: '@rush-temp/maps-render' version: 0.0.0 dependencies: @@ -22686,7 +22690,7 @@ packages: dev: false file:projects/maps-route.tgz: - resolution: {integrity: sha512-W5gYVlNKM5TluV8iP+uE+/dBJEGYD2thLp5f5UPL/WK15hmPWlljOj6I0MP52/8t9noWXQWl5Apx+5DYH/49Uw==, tarball: file:projects/maps-route.tgz} + resolution: {integrity: sha512-BLcJ2RFitpTOSAlafh07/0secT/Iwj3bBxuLTEeouvYQS4C3hTlrUCwYcglPI5aglo6du82YWKM6Ph1Bb5wncQ==, tarball: file:projects/maps-route.tgz} name: '@rush-temp/maps-route' version: 0.0.0 dependencies: @@ -22733,7 +22737,7 @@ packages: dev: false file:projects/maps-search.tgz: - resolution: {integrity: sha512-qc4dU/o9vIowyU7WlvnEhwr2+ElkexTxWWwZpRVE8BS5ft3mwMkivWp2yNJ9hGLawzljvtsKJrgBp8TJ0/3mlQ==, tarball: file:projects/maps-search.tgz} + resolution: {integrity: sha512-VpxWxc7rI52RgpBxO83u2jxBs2cBrwSe1NMlXNv6BROPLMkT9tpyw72A0mAoa4TKbSucxZ+MjD3x8zmif3RK3Q==, tarball: file:projects/maps-search.tgz} name: '@rush-temp/maps-search' version: 0.0.0 dependencies: @@ -22780,7 +22784,7 @@ packages: dev: false file:projects/mixed-reality-authentication.tgz: - resolution: {integrity: sha512-adXYa6cLCcF45ztJ7aE2CgyUpR5mEQzxnWxqvkoEmnE5yRMx7G6371i0SFmOXTZMYEjiSnUbaG9v4TwpOgkK6A==, tarball: file:projects/mixed-reality-authentication.tgz} + resolution: {integrity: sha512-2lGfF6hN64COe2qoohcBPdnw9zFX8JarL4VqEjSz+aClIT0sCt1XW9+u5HUDb2BrLe2uBJZtHFQKy02CZH8yHw==, tarball: file:projects/mixed-reality-authentication.tgz} name: '@rush-temp/mixed-reality-authentication' version: 0.0.0 dependencies: @@ -22823,7 +22827,7 @@ packages: dev: false file:projects/mixed-reality-remote-rendering.tgz: - resolution: {integrity: sha512-PWWJq0EsC2ofw5kTftrGmXNxTr5vymKgYrgbdNXMIrImEpvq5reH799Twww6Yoot6OC4XyN2jjnvJHZquLjtCA==, tarball: file:projects/mixed-reality-remote-rendering.tgz} + resolution: {integrity: sha512-OSPAcLNxfo7AWdAlKcLv2CgIRuxkuwzJM4bogvZGk9j334+iw7FYY52wcuUg3X7LceW34pi+RQUGy86MRDy9Mg==, tarball: file:projects/mixed-reality-remote-rendering.tgz} name: '@rush-temp/mixed-reality-remote-rendering' version: 0.0.0 dependencies: @@ -22870,7 +22874,7 @@ packages: dev: false file:projects/mock-hub.tgz: - resolution: {integrity: sha512-8Ciyzim9dMZzxB/kEQ69nxF+3FLoB5jy/zB7XAyBZgbVb/S20r1fekY+t+u3AQWPCGxDyIT/61zaVbFWIcz+VA==, tarball: file:projects/mock-hub.tgz} + resolution: {integrity: sha512-qND+nxzsNNqvvROhaZaEgeTgVfCMTpc7utFJj1YO6epNZlV2zBVXtjLUpaF8kC/k82EejwEuC8jDT5y+q+2gEA==, tarball: file:projects/mock-hub.tgz} name: '@rush-temp/mock-hub' version: 0.0.0 dependencies: @@ -22904,7 +22908,7 @@ packages: dev: false file:projects/monitor-ingestion.tgz: - resolution: {integrity: sha512-2TuFFxs/9AvRHA/BhWDwrODaVrHXR2FGH2sGeaw4ZCP9yhbdvtGfZiJvRHD533laO4yr6fQBLz0/OK5wqYd9qg==, tarball: file:projects/monitor-ingestion.tgz} + resolution: {integrity: sha512-FLWDgJiVixkS7DwF9IeUeKDIpls7LeNletvRwKguOw688OWY9vqN/xxtsC6RnrjX4+P3YLEpNlNyugjSLAsEGQ==, tarball: file:projects/monitor-ingestion.tgz} name: '@rush-temp/monitor-ingestion' version: 0.0.0 dependencies: @@ -22952,7 +22956,7 @@ packages: dev: false file:projects/monitor-opentelemetry-exporter.tgz: - resolution: {integrity: sha512-lF4HckcGeFQz1QyZ2X1P2QXMAyrAL1wK+O73PWrqipkdGRQOvxEei03pBV2RQ6uQtMp0VuNruFB2hi1SRAbxUg==, tarball: file:projects/monitor-opentelemetry-exporter.tgz} + resolution: {integrity: sha512-aMvFIVpBs0KJZonV1omJln3lR47yFT/PRhbT8sVARBMoN6onDj5PcN5JfL+p+ZFKEaYcS4rz0GohigC5AZe4ug==, tarball: file:projects/monitor-opentelemetry-exporter.tgz} name: '@rush-temp/monitor-opentelemetry-exporter' version: 0.0.0 dependencies: @@ -22986,7 +22990,7 @@ packages: dev: false file:projects/monitor-opentelemetry.tgz: - resolution: {integrity: sha512-MzAIwYUUOl3Vc3PJdFhc1S9RP1lVZgtWV5gPkVTMuFhg3PZLufzqSsyQUCa35EP/OBYZqZSMi+urDyUXrQrnfA==, tarball: file:projects/monitor-opentelemetry.tgz} + resolution: {integrity: sha512-thwsoEaOyjBXBsnArTgvp+jJD5RGkA60bQxm9M5FINEikCj1ExvOfKuz92mlczAz9ucFDoUtoqlrRRRsRykkkg==, tarball: file:projects/monitor-opentelemetry.tgz} name: '@rush-temp/monitor-opentelemetry' version: 0.0.0 dependencies: @@ -23034,7 +23038,7 @@ packages: dev: false file:projects/monitor-query.tgz: - resolution: {integrity: sha512-V05Na56q27tjE4HB650lJSCpzKfjx3uAPGTb2UR9MwDnblVKaZvqkqTG7WxYiyoSOeLNIm9WIIRFjLYIPuZuLg==, tarball: file:projects/monitor-query.tgz} + resolution: {integrity: sha512-ihLsubKVYU9jaXZo1mmKS5vpC+COwujWvF+iXDj85MmJFDsFzZ+XdoQxqqCFIToFJdjJr7P34Bx6vesPFMOzJw==, tarball: file:projects/monitor-query.tgz} name: '@rush-temp/monitor-query' version: 0.0.0 dependencies: @@ -23078,7 +23082,7 @@ packages: dev: false file:projects/notification-hubs.tgz: - resolution: {integrity: sha512-GlP+C+qTYDlit8le6xt9z+jZBdE6DX7Fkpve6exIOCCJbt/46H+vVaH6rme3Kndgs1tN0k2bJuAg27WzyvI3TA==, tarball: file:projects/notification-hubs.tgz} + resolution: {integrity: sha512-G07NVQ2fHyW8BGfbTUsZyUq/PrE3XnPnbIpsqBvxKjQSzDyE3AD34qTxumMOSMWa4b64eN4xATzMWMDMH6Rquw==, tarball: file:projects/notification-hubs.tgz} name: '@rush-temp/notification-hubs' version: 0.0.0 dependencies: @@ -23115,7 +23119,7 @@ packages: dev: false file:projects/openai.tgz: - resolution: {integrity: sha512-H48T2Roeqsl/F7HvAZqr8AmIkBG1jazlU6i9rSC+7ymiFMI+N8tNCJF2HMYo+ZhsDbn3vGicriy6BAG6Fzl3jw==, tarball: file:projects/openai.tgz} + resolution: {integrity: sha512-1NZPBco5pUUtGn4hbYETrn7d1IAe1q2HZ7Fg0UdkliV2/7xjt58TfvC2bf5q7MjExdQveNt2uXZmt2lw6TuJ0A==, tarball: file:projects/openai.tgz} name: '@rush-temp/openai' version: 0.0.0 dependencies: @@ -23157,7 +23161,7 @@ packages: dev: false file:projects/opentelemetry-instrumentation-azure-sdk.tgz: - resolution: {integrity: sha512-oxiwObvPjqIopSkQAIu0tV9pGGn/wVKeh09VnP8IOVnyobPxU8ywRACBixNofoiBctZqcNmLlQ4fGHwTLAe0Tg==, tarball: file:projects/opentelemetry-instrumentation-azure-sdk.tgz} + resolution: {integrity: sha512-bNg2Of+sm8+U1hIvc+8hWiR3+GWLnx5OcGw6QzzGEqKsKAJ51r478wpaexNQcCDShoZHfxmeBMxNeZccs/PZPw==, tarball: file:projects/opentelemetry-instrumentation-azure-sdk.tgz} name: '@rush-temp/opentelemetry-instrumentation-azure-sdk' version: 0.0.0 dependencies: @@ -23201,7 +23205,7 @@ packages: dev: false file:projects/perf-ai-form-recognizer.tgz: - resolution: {integrity: sha512-zWjC3E9n3/BTHJLPDsHAguRP9k5dewi5WwvmFbqk5QC2qiCl47kiB6Uxy7MOa/3yLdyEYJ8ebliKiVimVBKF0w==, tarball: file:projects/perf-ai-form-recognizer.tgz} + resolution: {integrity: sha512-POWpOoVpfQdjEWbBSiHCj+DvlYTRfyzU0XtydXNXGs+bM0n+BNUTuoh7n/tk1ZJKa2cr8c6NZnESJpkB5tDb3Q==, tarball: file:projects/perf-ai-form-recognizer.tgz} name: '@rush-temp/perf-ai-form-recognizer' version: 0.0.0 dependencies: @@ -23221,7 +23225,7 @@ packages: dev: false file:projects/perf-ai-language-text.tgz: - resolution: {integrity: sha512-9+Qg0q6bwD14voj/cTR+VS5YA3nMNjsXnyJk6jNMVHj4zn6z7kmfXe3mamYRYnPy3dIuJPhSK+/7fNHcM8xqkA==, tarball: file:projects/perf-ai-language-text.tgz} + resolution: {integrity: sha512-5/7jXL83XnX5OXadOHW4gTycoTsLDth3As/KDepCiJ8HsZBR32xLVwtVkE5/ukB0zOlKW5f/2OE24ctUhbdS5g==, tarball: file:projects/perf-ai-language-text.tgz} name: '@rush-temp/perf-ai-language-text' version: 0.0.0 dependencies: @@ -23241,7 +23245,7 @@ packages: dev: false file:projects/perf-ai-metrics-advisor.tgz: - resolution: {integrity: sha512-0NbwHsDgSgIPwEmyJW7jh1Ozwq3u7DWNfvYFERHUcMcGmQP+7MLw6Kcox7N4si/dLmeHri2AwnWD9+3GbWSY8Q==, tarball: file:projects/perf-ai-metrics-advisor.tgz} + resolution: {integrity: sha512-td1pfbo0dFobWlifHe8T3e04KBYDiXImEtfD0rInUstpoVyXCksg7dzbFLjBltjblJ1i/r97ID+3bvaJPWFmiQ==, tarball: file:projects/perf-ai-metrics-advisor.tgz} name: '@rush-temp/perf-ai-metrics-advisor' version: 0.0.0 dependencies: @@ -23260,7 +23264,7 @@ packages: dev: false file:projects/perf-ai-text-analytics.tgz: - resolution: {integrity: sha512-oWOh5+ltQ3/kxeM+enlm/H5q1rKoGFOesYTjjwIqLxHK4Jygugaf8u7vBcOiym4DHF4/FdMJt/kgDjjuVeubgQ==, tarball: file:projects/perf-ai-text-analytics.tgz} + resolution: {integrity: sha512-kmAYfpIiEjg7ILSlzcXGWpbbYXUt2TjiqPARqaTqzNW7hHf+0rHFnCduyQc6PPtldN8fr1NTuW1tUiDCV54b7A==, tarball: file:projects/perf-ai-text-analytics.tgz} name: '@rush-temp/perf-ai-text-analytics' version: 0.0.0 dependencies: @@ -23280,7 +23284,7 @@ packages: dev: false file:projects/perf-app-configuration.tgz: - resolution: {integrity: sha512-+vUzrvJBPvpryLciRn92TjLWV/6U2nA1YGTIlr44AJdKvU+NPAWzBygZqJNHipRTHMBnq2kmMqUmENQhM84SPg==, tarball: file:projects/perf-app-configuration.tgz} + resolution: {integrity: sha512-eEVIqKSFpKM8WmN1Nd9tBdDsl3lh/SXig304S9gF7hwu9aOC5I0pmuxR+QK09rDUQCkhGcUvojePzr90YvtEhw==, tarball: file:projects/perf-app-configuration.tgz} name: '@rush-temp/perf-app-configuration' version: 0.0.0 dependencies: @@ -23300,7 +23304,7 @@ packages: dev: false file:projects/perf-container-registry.tgz: - resolution: {integrity: sha512-hNlkZJRUghr4B51vL1bpbYB2FJfbWRBgxG1k+NeKRJY0tLXTjWUo54su7RGCjU4sHsK5poo+k/jaT6rKlD8E+A==, tarball: file:projects/perf-container-registry.tgz} + resolution: {integrity: sha512-/4KU5u3ORhJT+YmLWoWK25Ym8hMrTQtGrJLi/lTgZALWYaq29RqBzT/ElXRrfhpQSqtlpL7nU6frr0mJEH0Hhw==, tarball: file:projects/perf-container-registry.tgz} name: '@rush-temp/perf-container-registry' version: 0.0.0 dependencies: @@ -23319,7 +23323,7 @@ packages: dev: false file:projects/perf-core-rest-pipeline.tgz: - resolution: {integrity: sha512-VDg1NbVAHjk0lE1CqHRoA5yLGd+8qERcyitOWHF2DF5A+7xMoRHKwJmVAgWhqc1Q3WP83D2medVAVa8ZSMv+HA==, tarball: file:projects/perf-core-rest-pipeline.tgz} + resolution: {integrity: sha512-oh4S+j2b8xUVN8+/+AeKCD1P10gPLP5gk1KqTE9dVGANcUoMMJGZoD75n3dtLqkxIAqljhCOCuosl+CUXGof1A==, tarball: file:projects/perf-core-rest-pipeline.tgz} name: '@rush-temp/perf-core-rest-pipeline' version: 0.0.0 dependencies: @@ -23342,7 +23346,7 @@ packages: dev: false file:projects/perf-data-tables.tgz: - resolution: {integrity: sha512-Pu+EV+szHHMMWrxgY9LhxOPYiPVHnTZJEKBGWXGtjP7BxfzzffBJ0tpumSjuAEZUv7TLND6iI6j6qxYoJ2kw7A==, tarball: file:projects/perf-data-tables.tgz} + resolution: {integrity: sha512-oh3fFCWwG6EPkoIU5tvolvN21oD4EKzC97YNDXoyyzORBEKegYXELTKXz7Kf1eYbXf30fOZWVQBAtqYlm6sOng==, tarball: file:projects/perf-data-tables.tgz} name: '@rush-temp/perf-data-tables' version: 0.0.0 dependencies: @@ -23361,7 +23365,7 @@ packages: dev: false file:projects/perf-event-hubs.tgz: - resolution: {integrity: sha512-DY/NSSHfv9Ir0PxX04Vz4XTzyTRtxsTswr347LvroSO94HmCSJAsEQhuWbqXi5BlGVPq+y3orsjm7x8Ufycp1w==, tarball: file:projects/perf-event-hubs.tgz} + resolution: {integrity: sha512-WNUyx88CRHgtyRV9gumkfvO//QpFFiaIQXifUdPQanrtcPq/9lrLdijrBGpl39ADnOMCSGeuMFptl6xEgmq6LQ==, tarball: file:projects/perf-event-hubs.tgz} name: '@rush-temp/perf-event-hubs' version: 0.0.0 dependencies: @@ -23385,7 +23389,7 @@ packages: dev: false file:projects/perf-eventgrid.tgz: - resolution: {integrity: sha512-VzPq6ggmF7DYDgJpOYRGKKbiQHqBucuT9sG++q41zLl4pjmXBVlzgsGPNmuN+uIFm4uqF9tz7Ka0WtbRYbigSw==, tarball: file:projects/perf-eventgrid.tgz} + resolution: {integrity: sha512-qKB5+KeoStnNZC/FkG5g9l26AEuxs7zmgqAacC9IZotoy2GE9ZG7q6m2WsMKLZOQt7plB5KayvQ/MdpDjv51cA==, tarball: file:projects/perf-eventgrid.tgz} name: '@rush-temp/perf-eventgrid' version: 0.0.0 dependencies: @@ -23404,7 +23408,7 @@ packages: dev: false file:projects/perf-identity.tgz: - resolution: {integrity: sha512-+To2WBlWiqH5YBWga5WPDYNm3RoQ+MM7B0fDjVvbx8ac5WadMWt1UDWUQ4F8Jp9SyBxvGreVwxGo5ZOyqKZjZA==, tarball: file:projects/perf-identity.tgz} + resolution: {integrity: sha512-XzYh+7p+G/O0SMjw2P4RWD61k7E1aNPnKa3iVWehQb1AjpqrSZMQjdUSS+YL4IzFBHcxpV6y2Pt8559jxYj23A==, tarball: file:projects/perf-identity.tgz} name: '@rush-temp/perf-identity' version: 0.0.0 dependencies: @@ -23425,7 +23429,7 @@ packages: dev: false file:projects/perf-keyvault-certificates.tgz: - resolution: {integrity: sha512-UFuV4ixw0xuW1V0YywrMu5RLiK+USg8IATr/PQiufLhhKjS2ZIJMcdZftsg8jTDqVZU6S9SVJXTRli9/uf8H3g==, tarball: file:projects/perf-keyvault-certificates.tgz} + resolution: {integrity: sha512-g5OCl4cgItrWrxSaJ0W4MJelVE4bELSwc7f9ePWdgpl6RiiG+ibfQ1HBL6h2RBI90OfagfLVjbpOskZ07OXApQ==, tarball: file:projects/perf-keyvault-certificates.tgz} name: '@rush-temp/perf-keyvault-certificates' version: 0.0.0 dependencies: @@ -23447,7 +23451,7 @@ packages: dev: false file:projects/perf-keyvault-keys.tgz: - resolution: {integrity: sha512-cmtOJOfOdKnl1efPXMdvan4iRYgIOnyEjQ5aelZ11PBqWjXZrvFLEg6XMEyrNYPBuoftDmRa3f6l+GKOVFBwtA==, tarball: file:projects/perf-keyvault-keys.tgz} + resolution: {integrity: sha512-mx8RrUBBQ6HcsZ9p5BRoqEQnpCQZSFP/rVDd6kHfDuRwCm5CQwzTFKNwMXklZ9CyA6tzT+zoKYWvm5CBQgalkw==, tarball: file:projects/perf-keyvault-keys.tgz} name: '@rush-temp/perf-keyvault-keys' version: 0.0.0 dependencies: @@ -23469,7 +23473,7 @@ packages: dev: false file:projects/perf-keyvault-secrets.tgz: - resolution: {integrity: sha512-h/16Rgo13yHiyDVs/fqBBGr+X3mWbEmNtbS43Elh4ybbO1yRmpSXVV/eCTE7QlP9q8ApIdmvlIvFX0VPodM0IQ==, tarball: file:projects/perf-keyvault-secrets.tgz} + resolution: {integrity: sha512-jLWlsayX1Dpm+pI5o2MwFnHqkk94+0VpaznqL+TYvLXxIZJaOH+ihVglHxs1F9eeSAxz8vKZ/3x1B2A1JEp+9Q==, tarball: file:projects/perf-keyvault-secrets.tgz} name: '@rush-temp/perf-keyvault-secrets' version: 0.0.0 dependencies: @@ -23491,7 +23495,7 @@ packages: dev: false file:projects/perf-monitor-ingestion.tgz: - resolution: {integrity: sha512-1/g4EquE593/00Rmstrv/XOCZ9DCBb1qIoxFgYitoIkZzG74Q4ZL0MsRhyBM5w7IiOvqKnC0BuqHSzdvS54SVg==, tarball: file:projects/perf-monitor-ingestion.tgz} + resolution: {integrity: sha512-Jsd9dNsPBlbDq2G2sBTVgtvmu4dAS2q2tp7vQwbxJyuMg7x4qjTi1QYGzXgP5gCdujGc5PR1mVEeA+hI+9t7sw==, tarball: file:projects/perf-monitor-ingestion.tgz} name: '@rush-temp/perf-monitor-ingestion' version: 0.0.0 dependencies: @@ -23511,7 +23515,7 @@ packages: dev: false file:projects/perf-monitor-opentelemetry.tgz: - resolution: {integrity: sha512-PcrmsLNkWmiiJvrCAhOEo3VKmP72as+iHPn8qS61NKwA7m4xGW/gwFYi+YtNk4ZesV2PdMczng1fNE3OViGQTA==, tarball: file:projects/perf-monitor-opentelemetry.tgz} + resolution: {integrity: sha512-q2N9qSHI4hcuh4nZA37gc1hs3zPj5tiVIEmce6b53y6kaqiXYvCWIHXnZU5WovIFuXshvyznZlMd3EEjNUjAPA==, tarball: file:projects/perf-monitor-opentelemetry.tgz} name: '@rush-temp/perf-monitor-opentelemetry' version: 0.0.0 dependencies: @@ -23530,7 +23534,7 @@ packages: dev: false file:projects/perf-monitor-query.tgz: - resolution: {integrity: sha512-ymGE4xo6QUG2EAFvGT+15o3ML/b6F7gc1os7PCDcV7mTzs8ofUuDjX4LN06TGR7m8ZalbG5/9TInT9UtjpKvbg==, tarball: file:projects/perf-monitor-query.tgz} + resolution: {integrity: sha512-Bi1scWVWErZXsjaY3pFVoTLMmEvrcl4ItW+jp+KrrxshKl3gHkOlvpoE6wexaTGHs7TsUaxVox+cbCEzOzdojw==, tarball: file:projects/perf-monitor-query.tgz} name: '@rush-temp/perf-monitor-query' version: 0.0.0 dependencies: @@ -23550,7 +23554,7 @@ packages: dev: false file:projects/perf-schema-registry-avro.tgz: - resolution: {integrity: sha512-W8nSJUFTyR0HfwtaxpLZvwOrEF+R0I+OhR3Qc3FT4d/8kKtYglH4HeDfFseY0w4GYO8zKX5cWyfo+LtUxVzmbg==, tarball: file:projects/perf-schema-registry-avro.tgz} + resolution: {integrity: sha512-YI5gF9T+LTgZQJM47Vr8gIm5ylgI7yWVciw1ArTcoqwR69VBxOR+0xCTc5RhiYsupxcFURor4IiKAl6M2qoM5Q==, tarball: file:projects/perf-schema-registry-avro.tgz} name: '@rush-temp/perf-schema-registry-avro' version: 0.0.0 dependencies: @@ -23570,7 +23574,7 @@ packages: dev: false file:projects/perf-search-documents.tgz: - resolution: {integrity: sha512-IJpTlde5FFe2/0OvnLvypZjEU/weT1VYRkjJfowN6le2AfftOtwCTpE7GgaI78s6ooqfy+/PqEIsWhwkGBfNcg==, tarball: file:projects/perf-search-documents.tgz} + resolution: {integrity: sha512-wz98B8+Xvwn9hp568Z8ZF+NYPVwrUeVfeW1d2OnnsvzRRsFqeDvbbhVG+3o+zikCfqA8n4wbIu3DnE/R7k8O8g==, tarball: file:projects/perf-search-documents.tgz} name: '@rush-temp/perf-search-documents' version: 0.0.0 dependencies: @@ -23591,7 +23595,7 @@ packages: dev: false file:projects/perf-service-bus.tgz: - resolution: {integrity: sha512-9aYinfYRtaUNNsiVYt68IPuS7HuY5pIo/QO2lMW5eDN6lGxBNuasukTvdKXhFRQlz1Lsr/jNdRhT0IgnErP5jQ==, tarball: file:projects/perf-service-bus.tgz} + resolution: {integrity: sha512-yXm3d1qM7wa2dVvai7LYcmaNIpSsnZDjnk5JWZkIZWc8yrlWzf+lDNuMU7MuF0jwmhkRUmIpwLRpREtv8gczFw==, tarball: file:projects/perf-service-bus.tgz} name: '@rush-temp/perf-service-bus' version: 0.0.0 dependencies: @@ -23612,7 +23616,7 @@ packages: dev: false file:projects/perf-storage-blob.tgz: - resolution: {integrity: sha512-fiUxtFT3tPJ1+Xtm7RHO2C0rwCRuwnNZR/RADUA2pJocwIO9YycrPXQntcdUW42qVQVFoahHZTXljDeamql8Tg==, tarball: file:projects/perf-storage-blob.tgz} + resolution: {integrity: sha512-XP4ocqPxj5wgyhpDZpi0RIHlNPxXPuPi84tXdJvy16KjQfdfUMeHRvrhdD0saj5fI/+k8CxdtVSO1TfVyHtAwg==, tarball: file:projects/perf-storage-blob.tgz} name: '@rush-temp/perf-storage-blob' version: 0.0.0 dependencies: @@ -23632,7 +23636,7 @@ packages: dev: false file:projects/perf-storage-file-datalake.tgz: - resolution: {integrity: sha512-PhJr5ZNrDBCxB6A7AKiQ2ZxsDrYxOnEiWs5Mgg+sdUsCy5VxXB2UOaHcuVPviBc+HALhcgOlem2ZalTgPMKDuA==, tarball: file:projects/perf-storage-file-datalake.tgz} + resolution: {integrity: sha512-qRtfxWRFCwWD0pzaQdSPmrrxMtN0GRVAIETHcTAjEtsg3y2R0RtEZ/unElbYHWvw5RRmoISXF1JXDbprKJTO2w==, tarball: file:projects/perf-storage-file-datalake.tgz} name: '@rush-temp/perf-storage-file-datalake' version: 0.0.0 dependencies: @@ -23652,7 +23656,7 @@ packages: dev: false file:projects/perf-storage-file-share.tgz: - resolution: {integrity: sha512-6naxVn/cB3qW8boXhk/zsGsWB+gsUQQByhOcwfkPRhSdGDHIkkQ/SdBNKeNeifR8oMdjt1MtDQKQVr7V840IEQ==, tarball: file:projects/perf-storage-file-share.tgz} + resolution: {integrity: sha512-JzcotzFitxPWurPENl0VPyx1k9nJi3/nU7y9ywg6ujO5qGNPKYjvMeiA5BNt/YcKdurIWnNCXsXJCHQAWhgtrQ==, tarball: file:projects/perf-storage-file-share.tgz} name: '@rush-temp/perf-storage-file-share' version: 0.0.0 dependencies: @@ -23672,7 +23676,7 @@ packages: dev: false file:projects/perf-template.tgz: - resolution: {integrity: sha512-KBmHqs5rCwamvjy5avBOkmDoyy49CX3o9VfdW6UsakxMEMWSRr7+WmdgRBhN2bqpJcs0pFfvRqK8acDljHtlCg==, tarball: file:projects/perf-template.tgz} + resolution: {integrity: sha512-lK1FvvHtQaImUpzyGCrIR2aeQDBkxvzg5QFB3Tt4SDpQDAr7CQYWnHf1/0SAJT7NzQOzMy/Z9mSFoorLN1KTXg==, tarball: file:projects/perf-template.tgz} name: '@rush-temp/perf-template' version: 0.0.0 dependencies: @@ -23693,7 +23697,7 @@ packages: dev: false file:projects/purview-administration.tgz: - resolution: {integrity: sha512-RSJpHcbBm53FlgPtxxLd9xjZX44X0X10kEoya4Efa7cKA9m129ovLO03XnVSAzEv80VAuZL2xCwn7yHasCg7pg==, tarball: file:projects/purview-administration.tgz} + resolution: {integrity: sha512-/ofcTlQ3DUdVjAQNXADQp5Olr8AVFHH6avNuInXyN6UN+nv8Mr/oyYvJ/a9bmMbw+V2PwHZcUvOSkw/1yiOLcw==, tarball: file:projects/purview-administration.tgz} name: '@rush-temp/purview-administration' version: 0.0.0 dependencies: @@ -23737,7 +23741,7 @@ packages: dev: false file:projects/purview-catalog.tgz: - resolution: {integrity: sha512-ovkJVLgj0ZJJNINdkn9lPa87GR7yztShipZV3QD5FhvtY/GaxzVRSPkP6MIH/WN2zbzEYpVN+r/wl7FNXdD8Qw==, tarball: file:projects/purview-catalog.tgz} + resolution: {integrity: sha512-BzQH39jZqCdUDPKuloeaxdUYHgHg0Dy4TBc1YUt9KpBdKxiNaAYupB1T5CmLvqI8Ry5h6UpfyVkOZSzW4VJ9SQ==, tarball: file:projects/purview-catalog.tgz} name: '@rush-temp/purview-catalog' version: 0.0.0 dependencies: @@ -23782,7 +23786,7 @@ packages: dev: false file:projects/purview-datamap.tgz: - resolution: {integrity: sha512-9ita2YmoNvIfe6h/7yvt897vRwKsT4LDxpBH5c9zAOpJouPNsAhZWQ+VBnBNds8CgnM35vLKW4/ZdOv/tUjRrg==, tarball: file:projects/purview-datamap.tgz} + resolution: {integrity: sha512-W4wufES6gQ8aAIBSmdmXhr2+Mw+RScw4vv/f9WoNd30uU3FJyKBe0gujNcJEZLsOXQ/ob6u2k3wuVYZAo2WhPw==, tarball: file:projects/purview-datamap.tgz} name: '@rush-temp/purview-datamap' version: 0.0.0 dependencies: @@ -23827,7 +23831,7 @@ packages: dev: false file:projects/purview-scanning.tgz: - resolution: {integrity: sha512-NG0a0EFj+UYj8+8ysNxJ4wNo+d+kAqSw3iCouV9nascWUd9Ih+goKtd/xXD+5N2si3jrL203RTwpQMdBi7rLvw==, tarball: file:projects/purview-scanning.tgz} + resolution: {integrity: sha512-la1JpJqPRhD2tFr62OPIHDd3UG9+74a1GH5Acu6Y0ec1CZxw6aaCjSmg+Xnd9/11qxZNjvRD+IvPQXBAxSJHgw==, tarball: file:projects/purview-scanning.tgz} name: '@rush-temp/purview-scanning' version: 0.0.0 dependencies: @@ -23871,7 +23875,7 @@ packages: dev: false file:projects/purview-sharing.tgz: - resolution: {integrity: sha512-sq0hf2kHfmj8TB3AlOU28kDgkLYpSb9FcNhjFwLYwpx1dhkMqzdrUxNsp0Xw30KBrc6/5i8ioxkcByvgQtZpLg==, tarball: file:projects/purview-sharing.tgz} + resolution: {integrity: sha512-yupdEKrPU+CfTg0cYTYNyUJrrpXhb62GhO7YNr0cKlEVu2jFYTDvcq7/uyVTSeJbfrwHSXVFprXX8hcTwmDfcw==, tarball: file:projects/purview-sharing.tgz} name: '@rush-temp/purview-sharing' version: 0.0.0 dependencies: @@ -23918,7 +23922,7 @@ packages: dev: false file:projects/purview-workflow.tgz: - resolution: {integrity: sha512-TtPgVd0jncMynyYLz041QpSEn/Yt4wHaSwu9g/YcWu2ZxZI5ONcLPIfhREfF5cPU5uELyLeqTuMgD9aqxZjRpw==, tarball: file:projects/purview-workflow.tgz} + resolution: {integrity: sha512-yLuvkhDEC+Wim6OEctUa7HOhkfzg7vdmnPRUm74iGebhWM9dXCnaGz38EFcyQCiNMHNa2ccc5JqUZ2PutMvn2A==, tarball: file:projects/purview-workflow.tgz} name: '@rush-temp/purview-workflow' version: 0.0.0 dependencies: @@ -23963,7 +23967,7 @@ packages: dev: false file:projects/quantum-jobs.tgz: - resolution: {integrity: sha512-PXvyuV45a6cRQaaJEhACGVhTjUH8Ux66m/rN7tqbJHBjuZMBfaHh9Smu7qWlXiZtJKw8lgOsCVDH7ozhWRCy8w==, tarball: file:projects/quantum-jobs.tgz} + resolution: {integrity: sha512-hynsRkT7AewOzKH/2/bSTNQjrI9uCzbVO2lQL0+RXuZ7gx7tnlPwxiqK7cF4lCK/gVB/OGDoHM4xZa+D5z5/5A==, tarball: file:projects/quantum-jobs.tgz} name: '@rush-temp/quantum-jobs' version: 0.0.0 dependencies: @@ -24009,7 +24013,7 @@ packages: dev: false file:projects/schema-registry-avro.tgz: - resolution: {integrity: sha512-or0Anl9W9acTyeU/D9fhoGG9SmgN580YeiALqaz1ipRqxKCpRd5k4OxMJGAD16yZDKmNQrdGOJAb8Kr4r0ryGg==, tarball: file:projects/schema-registry-avro.tgz} + resolution: {integrity: sha512-aOuyogD9Sg+gRV1zU1StVI8UOhjMlITcP5JGyS1nA9nIjb89XmoPhVvOwaZmhIaZzl6HXWAu5STIcVW+MrVYXg==, tarball: file:projects/schema-registry-avro.tgz} name: '@rush-temp/schema-registry-avro' version: 0.0.0 dependencies: @@ -24062,7 +24066,7 @@ packages: dev: false file:projects/schema-registry-json.tgz: - resolution: {integrity: sha512-g4Hn5V9bTN2ZHCm4HrYFu4h9wbMJAh7TiFPY6aDiKtmHyco8a4SDjKY5abZhB6YipsQ4ucKGhUZjPbRl+o7YbA==, tarball: file:projects/schema-registry-json.tgz} + resolution: {integrity: sha512-Ceo41vIyXjwwMYxrAQULe4hYvRPkYRa/XtDLPlCGN0p8V2dvZok/jG1dnhbT4mS2SrJwL33ITnshqbhTK3Qm2w==, tarball: file:projects/schema-registry-json.tgz} name: '@rush-temp/schema-registry-json' version: 0.0.0 dependencies: @@ -24105,7 +24109,7 @@ packages: dev: false file:projects/schema-registry.tgz: - resolution: {integrity: sha512-XmJTse42Anbjn61axGhnFmOpx12CpgGUZRVwZaaBrtWQH9nSX3c8AZ8Wgq8njUc85FIlYvk6v1OmTapERBCdnQ==, tarball: file:projects/schema-registry.tgz} + resolution: {integrity: sha512-lTKvaSVAs+bx4vnHtG85rIZfyNjFfx2uvqwhNdw8SkWqgxQ7AyW53RtPklVwVhd3KCrwOk7HSKMvWLVFCISWZQ==, tarball: file:projects/schema-registry.tgz} name: '@rush-temp/schema-registry' version: 0.0.0 dependencies: @@ -24145,7 +24149,7 @@ packages: dev: false file:projects/search-documents.tgz: - resolution: {integrity: sha512-UtQzUbFJpxBbW2P5e8zRUmg3fP1mDW5w6IKNqtNtdnTppJBYWnEaNYjX/yQ7UEIo2CFFOIO4GcixqY566YmPtA==, tarball: file:projects/search-documents.tgz} + resolution: {integrity: sha512-TQPou1xuoYFGXUZYg+kgNvuBoQjULHSb9HelaZ7aOiyljlRGFCVfg37p9aqZWL2/1DZtKGkppFfdm30+AnZ7BQ==, tarball: file:projects/search-documents.tgz} name: '@rush-temp/search-documents' version: 0.0.0 dependencies: @@ -24192,7 +24196,7 @@ packages: dev: false file:projects/service-bus.tgz: - resolution: {integrity: sha512-hmveDLqeAShw1Udm/b/h/DYmE+vcSPSWncrNlPjOPO4q4srZRxGU3XWvQOKg1H5s14ilawLy4wDH4Pld344eew==, tarball: file:projects/service-bus.tgz} + resolution: {integrity: sha512-uw6aCWs1lbgkBKAJFs23wRXAUlDrFHlKM59+RUot9ZlB0JyhDTuNxlVTm83476h1kgUjpvq5ini1DtKREE3Jmg==, tarball: file:projects/service-bus.tgz} name: '@rush-temp/service-bus' version: 0.0.0 dependencies: @@ -24253,7 +24257,7 @@ packages: dev: false file:projects/storage-blob-changefeed.tgz: - resolution: {integrity: sha512-kvp3tm7eX+LwAT+R4rEpYGZH3rbzxu0P/v9XJ/tdapViq8GPBboy7Muv1sFtljdtCPgtMQ2M9sZ1ZkdgZ1wYOA==, tarball: file:projects/storage-blob-changefeed.tgz} + resolution: {integrity: sha512-yW/Tk+Qv/6aAtEt8eX+vSlTTSopgNe6yWWKhYumvBrECEAGOJoOtT4Xty444HcEnAFDhOWYrbYhy24HttYaSBQ==, tarball: file:projects/storage-blob-changefeed.tgz} name: '@rush-temp/storage-blob-changefeed' version: 0.0.0 dependencies: @@ -24303,7 +24307,7 @@ packages: dev: false file:projects/storage-blob.tgz: - resolution: {integrity: sha512-W6Wnl2NsKrAVhEEGt8tTmpDzJGJZSUrK2KsVhS6aWYT+lxpnHuu1E9uTIFSwRCjxkh9iPz+Zpb9RwFaDQ0fE3Q==, tarball: file:projects/storage-blob.tgz} + resolution: {integrity: sha512-ZlxD5NDsp4IGZLRyTslpm8XrDe8SqrBGzJ64xTPr6A0NAFLBf14aZeZA7yHRX0EjqED+byh3R3FDB3qb1OFIDw==, tarball: file:projects/storage-blob.tgz} name: '@rush-temp/storage-blob' version: 0.0.0 dependencies: @@ -24350,7 +24354,7 @@ packages: dev: false file:projects/storage-file-datalake.tgz: - resolution: {integrity: sha512-pVnKrkD3sFJC/8Mu3AFiHxo2xJle/XUqIimW8PVsitVDxaYwGIEsVJl9bmPfC3S4QNuHpzuc1QZg44bD/PjPlw==, tarball: file:projects/storage-file-datalake.tgz} + resolution: {integrity: sha512-Qs9GGAl1fj/tS3TV+pFtVTqZvHuSlckjuwsTUdMHx/qJJc/pOm9OFeeIeTgYOhBSkTfEbQRtQwlNNXlQq5oHKg==, tarball: file:projects/storage-file-datalake.tgz} name: '@rush-temp/storage-file-datalake' version: 0.0.0 dependencies: @@ -24400,7 +24404,7 @@ packages: dev: false file:projects/storage-file-share.tgz: - resolution: {integrity: sha512-bUAIAc44JfZQPjRKOuPF73s7KbX49hrpUIUnjcrET5DmwmE3NWamF7gSxScRdSDNZO3evaFfN15zSrrD78jLpA==, tarball: file:projects/storage-file-share.tgz} + resolution: {integrity: sha512-cwp1KHdbp6FJ13Cr7Wwfyw+nqa4igV7fMslulUMFZHDpqf7ZUigUbwjQW2vXawWy0azxX2U010e+oBj6ORW3OQ==, tarball: file:projects/storage-file-share.tgz} name: '@rush-temp/storage-file-share' version: 0.0.0 dependencies: @@ -24449,7 +24453,7 @@ packages: dev: false file:projects/storage-internal-avro.tgz: - resolution: {integrity: sha512-W7+byd4g972hMfjV7Tn5YLT1aQIMJS726jNjKze6CiYLJkiK0jcn+vK8CukYLm1ICM+zP6AfuSzAoQUtX5Lt9w==, tarball: file:projects/storage-internal-avro.tgz} + resolution: {integrity: sha512-TyD3UHGN3i8VzZcEjjEa9qbVyN/aN48JUAeJ+jk8S3FPAydT6i5m4nUtnb9QBgGxH7JSU89jbimi/LWtK+5FQw==, tarball: file:projects/storage-internal-avro.tgz} name: '@rush-temp/storage-internal-avro' version: 0.0.0 dependencies: @@ -24491,7 +24495,7 @@ packages: dev: false file:projects/storage-queue.tgz: - resolution: {integrity: sha512-yXyeua+HN4JCEnL+0KEQiz2mkcqUoAEmu8+r9niTSUBMJb5IZE1e2qsqBy1rU7OJv7Bt4tq3I04n5k54XH0IsQ==, tarball: file:projects/storage-queue.tgz} + resolution: {integrity: sha512-/KAjHlZZll32CgcBxCFKCughjkDhsj4a+XTzK7/jbrFyunE3mspoReOYtgMfWIv88FQBXFREQvU9ohioO8Ryyg==, tarball: file:projects/storage-queue.tgz} name: '@rush-temp/storage-queue' version: 0.0.0 dependencies: @@ -24537,7 +24541,7 @@ packages: dev: false file:projects/synapse-access-control-1.tgz: - resolution: {integrity: sha512-a/9dZpl4XgeJ+haQiZNpkZSYy9orW5z5bQB7Oyxydpc/U7TZljmv9uLIZOA8aQuUQVpDh4p8UBDbxmOg572mow==, tarball: file:projects/synapse-access-control-1.tgz} + resolution: {integrity: sha512-YF8ESmemr1ONKVGjHravsd0aF7i4JF+qc1M8VSW/1lfzEqws/zFR0miEwmUBKuuq3e+ZdfxRwjs55Nr1SE1cyg==, tarball: file:projects/synapse-access-control-1.tgz} name: '@rush-temp/synapse-access-control-1' version: 0.0.0 dependencies: @@ -24583,7 +24587,7 @@ packages: dev: false file:projects/synapse-access-control.tgz: - resolution: {integrity: sha512-xpKpKCs2aLWbl5fnHEdU+PFcMUKipbH+Wu+VZIfcNajLDCQYjxTekQs9DGFH+r1UTDgrpdudE2ixGOp5C69NEg==, tarball: file:projects/synapse-access-control.tgz} + resolution: {integrity: sha512-mOVshMTg1mw1kPHfUj4CuN2rRe7i1iyJ03tog9j4BUiXvNgvKuz6FmYKoz50PD+Vm1Y1kX4BhNSeIqFINU1ZUg==, tarball: file:projects/synapse-access-control.tgz} name: '@rush-temp/synapse-access-control' version: 0.0.0 dependencies: @@ -24632,7 +24636,7 @@ packages: dev: false file:projects/synapse-artifacts.tgz: - resolution: {integrity: sha512-BqyLvu/C6vnlOoL0p0uiVCPMiuZgqIQW75f2v4D+VXxEg8BUllx0d7tQUcP8BkzdYZZ5nAd9Y0e30qJW1WjnHw==, tarball: file:projects/synapse-artifacts.tgz} + resolution: {integrity: sha512-biKQiiUVwTmrhOl8eI8fn4dFKytg7k2xdFqPsyKT1L4XNoOSW2wmi5yOlIfhYd4gwpd8iuPcimnG9SsShQF25Q==, tarball: file:projects/synapse-artifacts.tgz} name: '@rush-temp/synapse-artifacts' version: 0.0.0 dependencies: @@ -24682,7 +24686,7 @@ packages: dev: false file:projects/synapse-managed-private-endpoints.tgz: - resolution: {integrity: sha512-0FONmRyT374Y0xbcOo1xHkLuIIBhouvH5Me2+ZNUOlgfwLqDqrp+F3XgFamLOF2oVsKcs+aN4+kd/bhsUWrPyA==, tarball: file:projects/synapse-managed-private-endpoints.tgz} + resolution: {integrity: sha512-1iRvwOJt5zFH9cFtaWGHntCTqqDjVD+fKM0Y39fW8aw9AMTEzkZxAmhiQKxsAubwcddWJgxqIkDn4b7jg1jmQQ==, tarball: file:projects/synapse-managed-private-endpoints.tgz} name: '@rush-temp/synapse-managed-private-endpoints' version: 0.0.0 dependencies: @@ -24725,7 +24729,7 @@ packages: dev: false file:projects/synapse-monitoring.tgz: - resolution: {integrity: sha512-g+ViDkGo+YoqD/9+6UekM5d/AUy9d03el1qY54IsvDxiEoSWt8eGm/eYLvNSEEO+L7SO0wWuSkcXMwZPzVUnJA==, tarball: file:projects/synapse-monitoring.tgz} + resolution: {integrity: sha512-P5Fd8EPEmT9YnQzs/cAm0P6tCrCLRmCe813RAomQqwS+VEh3qSfhkcwFUU0ZZ41aPTDM0pWi1QA+UI0XEYSljw==, tarball: file:projects/synapse-monitoring.tgz} name: '@rush-temp/synapse-monitoring' version: 0.0.0 dependencies: @@ -24762,7 +24766,7 @@ packages: dev: false file:projects/synapse-spark.tgz: - resolution: {integrity: sha512-AjZYhUxgZjKU3vweVyykeN0cd2OuXrFV3TTiX1XEnPS9QMyMvA1tS5ZjaMcDyW+Xj8CS+uEbICKfW+64uCsskg==, tarball: file:projects/synapse-spark.tgz} + resolution: {integrity: sha512-9Ecly4K6TLNWdqwlBcuLDwGv58STtdODBMMhSp5CSHTDepi+CjkGn0ip9wboIJMViYNIQ0brK+VoDs10tdS/+A==, tarball: file:projects/synapse-spark.tgz} name: '@rush-temp/synapse-spark' version: 0.0.0 dependencies: @@ -24805,7 +24809,7 @@ packages: dev: false file:projects/template-dpg.tgz: - resolution: {integrity: sha512-YESWFcpysNuOgdCO0hJ/zqbYYXYAwk/eJjdbBY4xodj2pqna6F41LIi4+Bz/8VCzcwftrGofLR+zb8LwGdBvMA==, tarball: file:projects/template-dpg.tgz} + resolution: {integrity: sha512-fW4MXU4jqfbvYzZuBFgDJch2OclABiH3pJxqJjIB7Qw6+dLi3L+vWeXNrpIfuvu1/xzrIUeHf9oJ4TKL8rOvlg==, tarball: file:projects/template-dpg.tgz} name: '@rush-temp/template-dpg' version: 0.0.0 dependencies: @@ -24848,7 +24852,7 @@ packages: dev: false file:projects/template.tgz: - resolution: {integrity: sha512-x1HZ0/qqFxfy8/h5R+We7tnX50cydc5v6HAs4wW3Z+ySZqVWBvEQ4YxJOSHMr8j0R2hp1VuneZvPONxTAnneBA==, tarball: file:projects/template.tgz} + resolution: {integrity: sha512-ezZARdgagUad/iPF8s2lPmJqJ8dfbxqGKGiXjcmei3R+s3cvRfzCi1fX8M2NeEvId9AVkvqHcR7JelbWPK9kTQ==, tarball: file:projects/template.tgz} name: '@rush-temp/template' version: 0.0.0 dependencies: @@ -24887,7 +24891,7 @@ packages: dev: false file:projects/test-credential.tgz: - resolution: {integrity: sha512-nwPaMmlLg3LI9M8TqTaktpexnFRmUHeylzffXLHpotZuZ5O9uuAf+cVtmIPZm4wHyXb+B0PlXrX39QgnNkBusg==, tarball: file:projects/test-credential.tgz} + resolution: {integrity: sha512-nCHOpp4WKY5pLLuUe35Qwrm126k6keisoJXT2MFrqhH+lxTRgfKM6oXWILxDoh/23eUxb48w+wkTVx57yXlv2w==, tarball: file:projects/test-credential.tgz} name: '@rush-temp/test-credential' version: 0.0.0 dependencies: @@ -24906,7 +24910,7 @@ packages: dev: false file:projects/test-perf.tgz: - resolution: {integrity: sha512-jjIBg+5KKg346PEdnhQYJreuLveETFblKAx1mU66H/lXsc8WqMzCI+IfepM49Ir7p0PbYQELqWImPT5lDBbupw==, tarball: file:projects/test-perf.tgz} + resolution: {integrity: sha512-dOxYVneFdt7VksrDfZkwTADpjCFjFb7pd7p+j55MC9GonmLUYrDUAnxiHzaoEilYPxq2E5xsQ+/IeRmqJe2RBA==, tarball: file:projects/test-perf.tgz} name: '@rush-temp/test-perf' version: 0.0.0 dependencies: @@ -24934,7 +24938,7 @@ packages: dev: false file:projects/test-recorder.tgz: - resolution: {integrity: sha512-hUKR1dZQ6QCrObCNDi+c0zLiC9Iu1GBkHgd7a9v4JQljczfchx6HCkfWMsjDmd9sRbC1DY3CVPKTa8D/vnpW5w==, tarball: file:projects/test-recorder.tgz} + resolution: {integrity: sha512-TT/AANNJqwewH9gxgDofnm/xVA5p6LGqlP7wKg+X8NdwHdHjjWK3rxA3raBKKVqp1y3EwzmUaJ56E7uNsANYXQ==, tarball: file:projects/test-recorder.tgz} name: '@rush-temp/test-recorder' version: 0.0.0 dependencies: @@ -24972,7 +24976,7 @@ packages: dev: false file:projects/test-utils-vitest.tgz: - resolution: {integrity: sha512-4aDLiQO03NlXDhgF0Cc9KMdXKr+W3zNBTVk8Xv1N4X9IjbfdTGlCME2QITXRIKIOuaeA/CQbrFSL2msl3iRQIQ==, tarball: file:projects/test-utils-vitest.tgz} + resolution: {integrity: sha512-B+7UtywzLzak0ygqHSUnHwXafQGcVcajMBpZo6UhLiWFKlWN5qWpr5250nrGAS1jNRcThxUsJrLZu8B7hM8Rsw==, tarball: file:projects/test-utils-vitest.tgz} name: '@rush-temp/test-utils-vitest' version: 0.0.0 dependencies: @@ -25009,7 +25013,7 @@ packages: dev: false file:projects/test-utils.tgz: - resolution: {integrity: sha512-/zW3HGJRjx4SIrcG1OW/0MELjHiqK+jzymjKCSQScVVjjsV9Bay/8Yy4KJD4DVkYMu6zcObo92mFgbWca33XGg==, tarball: file:projects/test-utils.tgz} + resolution: {integrity: sha512-dy4yWOviUvykLKxFyvx0+Gm2BCVCmsoPEPu6zkl0yOe8nmR7y0Ee0O2/h03m7Nvj0p+qaP9s+iVOoy3tcV0vFg==, tarball: file:projects/test-utils.tgz} name: '@rush-temp/test-utils' version: 0.0.0 dependencies: @@ -25046,7 +25050,7 @@ packages: dev: false file:projects/ts-http-runtime.tgz: - resolution: {integrity: sha512-VBq0lREYcVpoYsn5OYZ0ozOoa4PVeoTgRTGKQBLNoNYSx/Hn77dbEbduq4lfy9JRuwRQXAwd9hjwRRZERkP2eA==, tarball: file:projects/ts-http-runtime.tgz} + resolution: {integrity: sha512-B/VysScuLZjdytX+Sv9P1bZZEJGlYat2rxvFSKZAiLgESNj0BE6WbXmDCU4WFv7DQ6mH+EFE6jQcWemLxc2rfA==, tarball: file:projects/ts-http-runtime.tgz} name: '@rush-temp/ts-http-runtime' version: 0.0.0 dependencies: @@ -25084,7 +25088,7 @@ packages: dev: false file:projects/vite-plugin-browser-test-map.tgz: - resolution: {integrity: sha512-9Bt7C5VP+GzOIGL0LP/ZvGSIBMb8IdjGAXe9sOIaIVg7tfDjQxOGrs36E9cH9rkmjDtkdncgNuA1FRhGOTgKMQ==, tarball: file:projects/vite-plugin-browser-test-map.tgz} + resolution: {integrity: sha512-vAWZ/lgdy7UjDtLWoCJKHPSEayxZJWELZREkYldM1ESozDyjNml4n9tmBn9DgoSXWbUAZP06XEcRmPnC7bmRrA==, tarball: file:projects/vite-plugin-browser-test-map.tgz} name: '@rush-temp/vite-plugin-browser-test-map' version: 0.0.0 dependencies: @@ -25101,7 +25105,7 @@ packages: dev: false file:projects/web-pubsub-client-protobuf.tgz: - resolution: {integrity: sha512-s344F/rfLBKSnew8lt69C1k5NSsoRrbDrnN088+fInk94FVt0r5D3pU7DV0rrPfBVt2YTWfWd9lJfWvphA1uZw==, tarball: file:projects/web-pubsub-client-protobuf.tgz} + resolution: {integrity: sha512-waftlsGiLIhUZ0zGcVVI0QZCU9zWQdZDG/aS9vn0j+cvcJUdBvXBm/V7lLw6oj0AzGbBhLjrb2qhLRbQG+9Z1g==, tarball: file:projects/web-pubsub-client-protobuf.tgz} name: '@rush-temp/web-pubsub-client-protobuf' version: 0.0.0 dependencies: @@ -25160,7 +25164,7 @@ packages: dev: false file:projects/web-pubsub-client.tgz: - resolution: {integrity: sha512-ksVavvvhw2rNtMPIXp6ZrnQNvp9ft/aqoFaCs49OmVVvXVW2TGGY/Ma/9VfYyaxu6K5xRqJfq29qQYVbJeusnw==, tarball: file:projects/web-pubsub-client.tgz} + resolution: {integrity: sha512-Wa1bcMTI4UaxLBmLnvBrFDc00tek3O19N2Ggl+5puqYA3uj3MJRyReREHzh9S5b88cMW8aXIZcIBBimFnJ4ErA==, tarball: file:projects/web-pubsub-client.tgz} name: '@rush-temp/web-pubsub-client' version: 0.0.0 dependencies: @@ -25213,7 +25217,7 @@ packages: dev: false file:projects/web-pubsub-express.tgz: - resolution: {integrity: sha512-SHp9x1fIT9oU9CXIvdAOTYwVBUars9Tx1Hg8SHCx6wUYKNRgjvDVIkJ+d6NC17Jc5AQ9BsqsIiHMRKTLVIzhBA==, tarball: file:projects/web-pubsub-express.tgz} + resolution: {integrity: sha512-dRZ0zzzAB3ZP9x+OWUSgVXVAaM7G2q5ZnErkdotzj0DuH7nXeZxt3xvqC/rDDMK7CL9FDTJ4uk/3Uz0SW8FidA==, tarball: file:projects/web-pubsub-express.tgz} name: '@rush-temp/web-pubsub-express' version: 0.0.0 dependencies: @@ -25253,7 +25257,7 @@ packages: dev: false file:projects/web-pubsub.tgz: - resolution: {integrity: sha512-evjNObp4pF1Xv2Lrx+cigAoBUEtf9rsYe12hdJCd570EkZaRqrmGHBm99EKt513w+pVHdRW7D0Nc5J8jUoqmww==, tarball: file:projects/web-pubsub.tgz} + resolution: {integrity: sha512-T1dufrgVaijNEcpQOjkwo3osMcCxGYbkimyBXTFfQRlmg7JcnW8jYRen4MUo7ClovOZFDrJI5iD35UvytwbHVg==, tarball: file:projects/web-pubsub.tgz} name: '@rush-temp/web-pubsub' version: 0.0.0 dependencies: diff --git a/sdk/mongocluster/arm-mongocluster/.eslintrc.json b/sdk/mongocluster/arm-mongocluster/.eslintrc.json deleted file mode 100644 index 8793fba07e9d..000000000000 --- a/sdk/mongocluster/arm-mongocluster/.eslintrc.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "plugins": ["@azure/azure-sdk"], - "extends": ["plugin:@azure/azure-sdk/azure-sdk-base"], - "rules": { - "@azure/azure-sdk/ts-modules-only-named": "warn", - "@azure/azure-sdk/ts-apiextractor-json-types": "warn", - "@azure/azure-sdk/ts-package-json-types": "warn", - "@azure/azure-sdk/ts-package-json-engine-is-present": "warn", - "tsdoc/syntax": "warn", - "@azure/azure-sdk/ts-package-json-module": "off", - "@azure/azure-sdk/ts-package-json-files-required": "off", - "@azure/azure-sdk/ts-package-json-main-is-cjs": "off" - } -} diff --git a/sdk/mongocluster/arm-mongocluster/CHANGELOG.md b/sdk/mongocluster/arm-mongocluster/CHANGELOG.md deleted file mode 100644 index dbc91021ffb5..000000000000 --- a/sdk/mongocluster/arm-mongocluster/CHANGELOG.md +++ /dev/null @@ -1,13 +0,0 @@ -# Release History - -## 1.0.0-beta.2 (2024-07-30) - -### Features Added - -- disable hierarchy api subpath export and issue fix. - -## 1.0.0-beta.1 (2024-07-05) - -### Features Added - -Initial release of the Azure MongoCluster package diff --git a/sdk/mongocluster/arm-mongocluster/README.md b/sdk/mongocluster/arm-mongocluster/README.md index 8bbefa478cf6..24120e69dce3 100644 --- a/sdk/mongocluster/arm-mongocluster/README.md +++ b/sdk/mongocluster/arm-mongocluster/README.md @@ -7,6 +7,7 @@ The Microsoft Azure management API provides create, read, update, and delete fun [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/mongocluster/arm-mongocluster) | [Package (NPM)](https://www.npmjs.com/package/@azure/arm-mongocluster) | [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-mongocluster?view=azure-node-preview) | +[Samples](https://github.com/Azure-Samples/azure-samples-js-management) ## Getting started @@ -29,7 +30,7 @@ Install the Azure MongoClusterManagement client library for JavaScript with `npm npm install @azure/arm-mongocluster ``` -### Create and authenticate a `MongoClusterManagementClient` +### Create and authenticate a `MongoClusterManagementClientTest` To create a client object to access the Azure MongoClusterManagement API, you will need the `endpoint` of your Azure MongoClusterManagement resource and a `credential`. The Azure MongoClusterManagement client can use Azure Active Directory credentials to authenticate. You can find the endpoint for your Azure MongoClusterManagement resource in the [Azure Portal][azure_portal]. @@ -48,19 +49,19 @@ Set the values of the client ID, tenant ID, and client secret of the AAD applica For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal). ```javascript -const { MongoClusterManagementClient } = require("@azure/arm-mongocluster"); +const { MongoClusterManagementClientTest } = require("@azure/arm-mongocluster"); const { DefaultAzureCredential } = require("@azure/identity"); // For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details. const subscriptionId = "00000000-0000-0000-0000-000000000000"; -const client = new MongoClusterManagementClient(new DefaultAzureCredential(), subscriptionId); +const client = new MongoClusterManagementClientTest(new DefaultAzureCredential(), subscriptionId); // For client-side applications running in the browser, use this code instead: // const credential = new InteractiveBrowserCredential({ // tenantId: "", // clientId: "" // }); -// const client = new MongoClusterManagementClient(credential, subscriptionId); +// const client = new MongoClusterManagementClientTest(credential, subscriptionId); ``` @@ -69,9 +70,9 @@ To use this client library in the browser, first you need to use a bundler. For ## Key concepts -### MongoClusterManagementClient +### MongoClusterManagementClientTest -`MongoClusterManagementClient` is the primary interface for developers using the Azure MongoClusterManagement client library. Explore the methods on this client object to understand the different features of the Azure MongoClusterManagement service that you can access. +`MongoClusterManagementClientTest` is the primary interface for developers using the Azure MongoClusterManagement client library. Explore the methods on this client object to understand the different features of the Azure MongoClusterManagement service that you can access. ## Troubleshooting @@ -86,6 +87,9 @@ setLogLevel("info"); For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger). +## Next steps + +Please take a look at the [samples](https://github.com/Azure-Samples/azure-samples-js-management) directory for detailed examples on how to use this library. ## Contributing @@ -95,6 +99,10 @@ If you'd like to contribute to this library, please read the [contributing guide - [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fmongocluster%2Farm-mongocluster%2FREADME.png) + +[azure_cli]: https://docs.microsoft.com/cli/azure +[azure_sub]: https://azure.microsoft.com/free/ [azure_sub]: https://azure.microsoft.com/free/ [azure_portal]: https://portal.azure.com [azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity diff --git a/sdk/mongocluster/arm-mongocluster/_meta.json b/sdk/mongocluster/arm-mongocluster/_meta.json new file mode 100644 index 000000000000..24a6a2a4b671 --- /dev/null +++ b/sdk/mongocluster/arm-mongocluster/_meta.json @@ -0,0 +1,8 @@ +{ + "commit": "988d78cda7f7f3af632cdb4ca1c46ec25d4da018", + "readme": "specification/mongocluster/resource-manager/readme.md", + "autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/mongocluster/resource-manager/readme.md --use=@autorest/typescript@^6.0.12", + "repository_url": "https://github.com/test-repo-billy/azure-rest-api-specs.git", + "release_tool": "@azure-tools/js-sdk-release-tools@2.7.14", + "use": "@autorest/typescript@^6.0.12" +} \ No newline at end of file diff --git a/sdk/mongocluster/arm-mongocluster/api-extractor.json b/sdk/mongocluster/arm-mongocluster/api-extractor.json index 2e201623f120..b4e27a27969b 100644 --- a/sdk/mongocluster/arm-mongocluster/api-extractor.json +++ b/sdk/mongocluster/arm-mongocluster/api-extractor.json @@ -1,18 +1,31 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "mainEntryPointFilePath": "./dist/esm/index.d.ts", - "docModel": { "enabled": true }, - "apiReport": { "enabled": true, "reportFolder": "./review" }, + "mainEntryPointFilePath": "./dist-esm/src/index.d.ts", + "docModel": { + "enabled": true + }, + "apiReport": { + "enabled": true, + "reportFolder": "./review" + }, "dtsRollup": { "enabled": true, "untrimmedFilePath": "", "publicTrimmedFilePath": "./types/arm-mongocluster.d.ts" }, "messages": { - "tsdocMessageReporting": { "default": { "logLevel": "none" } }, + "tsdocMessageReporting": { + "default": { + "logLevel": "none" + } + }, "extractorMessageReporting": { - "ae-missing-release-tag": { "logLevel": "none" }, - "ae-unresolved-link": { "logLevel": "none" } + "ae-missing-release-tag": { + "logLevel": "none" + }, + "ae-unresolved-link": { + "logLevel": "none" + } } } -} +} \ No newline at end of file diff --git a/sdk/mongocluster/arm-mongocluster/assets.json b/sdk/mongocluster/arm-mongocluster/assets.json deleted file mode 100644 index dec6c8bcc0ad..000000000000 --- a/sdk/mongocluster/arm-mongocluster/assets.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "AssetsRepo": "Azure/azure-sdk-assets", - "AssetsRepoPrefixPath": "js", - "TagPrefix": "js/mongocluster/arm-mongocluster", - "Tag": "js/mongocluster/arm-mongocluster_bd7ef48fbb" -} diff --git a/sdk/mongocluster/arm-mongocluster/package.json b/sdk/mongocluster/arm-mongocluster/package.json index 57ebdffed3e3..f8329fca3a8b 100644 --- a/sdk/mongocluster/arm-mongocluster/package.json +++ b/sdk/mongocluster/arm-mongocluster/package.json @@ -1,176 +1,110 @@ { "name": "@azure/arm-mongocluster", - "version": "1.0.0-beta.2", - "description": "DocumentDB MongoCluster Service", + "sdk-type": "mgmt", + "author": "Microsoft Corporation", + "description": "A generated SDK for MongoClusterManagementClientTest.", + "version": "1.0.0-beta.1", "engines": { "node": ">=18.0.0" }, - "sideEffects": false, - "autoPublish": false, - "tshy": { - "exports": { - "./package.json": "./package.json", - ".": "./src/index.ts", - "./api": "./src/api/index.ts", - "./models": "./src/models/index.ts" - }, - "dialects": [ - "esm", - "commonjs" - ], - "esmDialects": [ - "browser", - "react-native" - ], - "selfLink": false + "dependencies": { + "@azure/core-lro": "^2.5.4", + "@azure/abort-controller": "^2.1.2", + "@azure/core-paging": "^1.2.0", + "@azure/core-client": "^1.7.0", + "@azure/core-auth": "^1.6.0", + "@azure/core-rest-pipeline": "^1.14.0", + "tslib": "^2.2.0" }, - "type": "module", "keywords": [ "node", "azure", - "cloud", "typescript", "browser", "isomorphic" ], - "author": "Microsoft Corporation", "license": "MIT", - "files": [ - "dist", - "README.md", - "LICENSE", - "review/*", - "CHANGELOG.md" - ], - "sdk-type": "mgmt", - "repository": "github:Azure/azure-sdk-for-js", - "bugs": { - "url": "https://github.com/Azure/azure-sdk-for-js/issues" - }, - "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", - "//metadata": { - "constantPaths": [ - { - "path": "src/rest/documentDBClient.ts", - "prefix": "userAgentInfo" - } - ] - }, - "dependencies": { - "@azure-rest/core-client": "^2.1.0", - "@azure/core-auth": "^1.6.0", - "@azure/core-rest-pipeline": "^1.5.0", - "@azure/logger": "^1.0.0", - "tslib": "^2.6.2", - "@azure/core-lro": "^3.0.0", - "@azure/abort-controller": "^2.1.2", - "@azure/core-paging": "^1.5.0" - }, + "main": "./dist/index.js", + "module": "./dist-esm/src/index.js", + "types": "./types/arm-mongocluster.d.ts", "devDependencies": { - "dotenv": "^16.0.0", - "@microsoft/api-extractor": "^7.40.3", - "@types/node": "^18.0.0", - "eslint": "^8.55.0", - "prettier": "^3.2.5", - "rimraf": "^5.0.5", + "@microsoft/api-extractor": "^7.31.1", "mkdirp": "^3.0.1", "typescript": "~5.5.3", - "tshy": "^2.0.0", - "@azure/core-util": "^1.0.0", - "@azure/identity": "^4.2.1", - "@vitest/browser": "^2.0.5", - "@vitest/coverage-istanbul": "^2.0.5", - "playwright": "^1.41.2", - "vitest": "^2.0.5", - "@azure-tools/test-credential": "^2.0.0", - "@azure-tools/test-recorder": "^4.0.0", + "uglify-js": "^3.4.9", + "rimraf": "^5.0.0", + "dotenv": "^16.0.0", "@azure/dev-tool": "^1.0.0", - "@azure/eslint-plugin-azure-sdk": "^3.0.0", - "@azure/arm-network": "^33.2.0" + "@azure/identity": "^4.2.1", + "@azure-tools/test-recorder": "^3.0.0", + "@azure-tools/test-credential": "^1.1.0", + "mocha": "^10.0.0", + "@types/mocha": "^10.0.0", + "tsx": "^4.7.1", + "@types/chai": "^4.2.8", + "chai": "^4.2.0", + "cross-env": "^7.0.2", + "@types/node": "^18.0.0", + "ts-node": "^10.0.0" + }, + "repository": { + "type": "git", + "url": "https://github.com/Azure/azure-sdk-for-js.git" + }, + "bugs": { + "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "dist-esm/**/*.js", + "dist-esm/**/*.js.map", + "dist-esm/**/*.d.ts", + "dist-esm/**/*.d.ts.map", + "src/**/*.ts", + "README.md", + "LICENSE", + "tsconfig.json", + "review/*", + "CHANGELOG.md", + "types/*" + ], "scripts": { - "clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", - "extract-api": "rimraf review && mkdirp ./review && dev-tool run extract-api", + "build": "npm run clean && tsc && dev-tool run bundle && npm run minify && mkdirp ./review && npm run extract-api", + "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js", + "prepack": "npm run build", "pack": "npm pack 2>&1", + "extract-api": "dev-tool run extract-api", "lint": "echo skipped", - "lint:fix": "echo skipped", + "clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", + "build:node": "echo skipped", + "build:browser": "echo skipped", + "build:test": "echo skipped", + "build:samples": "echo skipped.", + "check-format": "echo skipped", + "execute:samples": "echo skipped", + "format": "echo skipped", + "test": "npm run integration-test", + "test:node": "echo skipped", + "test:browser": "echo skipped", "unit-test": "npm run unit-test:node && npm run unit-test:browser", - "unit-test:browser": "npm run build:test && dev-tool run test:vitest --browser", - "unit-test:node": "dev-tool run test:vitest", + "unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node", + "unit-test:browser": "echo skipped", "integration-test": "npm run integration-test:node && npm run integration-test:browser", - "integration-test:browser": "echo skipped", - "integration-test:node": "echo skipped", - "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", - "build:samples": "echo skipped", - "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\"", - "execute:samples": "echo skipped", - "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\"", - "generate:client": "echo skipped", - "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser", - "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js", - "build:test": "npm run clean && tshy && dev-tool run build-test", - "build": "npm run clean && tshy && mkdirp ./review && dev-tool run extract-api", - "test:node": "npm run clean && tshy && npm run unit-test:node && npm run integration-test:node", - "test": "npm run clean && tshy && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test" + "integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'", + "integration-test:browser": "echo skipped" }, - "exports": { - "./package.json": "./package.json", - ".": { - "browser": { - "types": "./dist/browser/index.d.ts", - "default": "./dist/browser/index.js" - }, - "react-native": { - "types": "./dist/react-native/index.d.ts", - "default": "./dist/react-native/index.js" - }, - "import": { - "types": "./dist/esm/index.d.ts", - "default": "./dist/esm/index.js" - }, - "require": { - "types": "./dist/commonjs/index.d.ts", - "default": "./dist/commonjs/index.js" - } - }, - "./api": { - "browser": { - "types": "./dist/browser/api/index.d.ts", - "default": "./dist/browser/api/index.js" - }, - "react-native": { - "types": "./dist/react-native/api/index.d.ts", - "default": "./dist/react-native/api/index.js" - }, - "import": { - "types": "./dist/esm/api/index.d.ts", - "default": "./dist/esm/api/index.js" - }, - "require": { - "types": "./dist/commonjs/api/index.d.ts", - "default": "./dist/commonjs/api/index.js" - } - }, - "./models": { - "browser": { - "types": "./dist/browser/models/index.d.ts", - "default": "./dist/browser/models/index.js" - }, - "react-native": { - "types": "./dist/react-native/models/index.d.ts", - "default": "./dist/react-native/models/index.js" - }, - "import": { - "types": "./dist/esm/models/index.d.ts", - "default": "./dist/esm/models/index.js" - }, - "require": { - "types": "./dist/commonjs/models/index.d.ts", - "default": "./dist/commonjs/models/index.js" + "sideEffects": false, + "//metadata": { + "constantPaths": [ + { + "path": "src/mongoClusterManagementClientTest.ts", + "prefix": "packageDetails" } - } + ] }, - "main": "./dist/commonjs/index.js", - "types": "./dist/commonjs/index.d.ts", - "module": "./dist/esm/index.js" -} + "autoPublish": true, + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/mongocluster/arm-mongocluster" +} \ No newline at end of file diff --git a/sdk/mongocluster/arm-mongocluster/review/arm-mongocluster-api.api.md b/sdk/mongocluster/arm-mongocluster/review/arm-mongocluster-api.api.md deleted file mode 100644 index 4383840fa91e..000000000000 --- a/sdk/mongocluster/arm-mongocluster/review/arm-mongocluster-api.api.md +++ /dev/null @@ -1,88 +0,0 @@ -## API Report File for "@azure/arm-mongocluster" - -> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). - -```ts - -import { Client } from '@azure-rest/core-client'; -import { ClientOptions } from '@azure-rest/core-client'; -import { HttpResponse } from '@azure-rest/core-client'; -import { OperationOptions } from '@azure-rest/core-client'; -import { OperationState } from '@azure/core-lro'; -import { Paged } from '@azure/core-paging'; -import { PollerLike } from '@azure/core-lro'; -import { RawHttpHeaders } from '@azure/core-rest-pipeline'; -import { RequestParameters } from '@azure-rest/core-client'; -import { StreamableMethod } from '@azure-rest/core-client'; -import { TokenCredential } from '@azure/core-auth'; - -// @public -export function createMongoClusterManagement(credential: TokenCredential, options?: MongoClusterManagementClientOptionalParams): DocumentDBContext; - -// @public (undocumented) -export type DocumentDBContext = Client & { - path: Routes; -}; - -// @public -export function firewallRulesCreateOrUpdate(context: DocumentDBContext, subscriptionId: string, resourceGroupName: string, mongoClusterName: string, firewallRuleName: string, resource: FirewallRule_2, options?: FirewallRulesCreateOrUpdateOptionalParams): PollerLike, FirewallRule_2>; - -// @public -export function firewallRulesDelete(context: DocumentDBContext, subscriptionId: string, resourceGroupName: string, mongoClusterName: string, firewallRuleName: string, options?: FirewallRulesDeleteOptionalParams): PollerLike, void>; - -// @public -export function firewallRulesGet(context: DocumentDBContext, subscriptionId: string, resourceGroupName: string, mongoClusterName: string, firewallRuleName: string, options?: FirewallRulesGetOptionalParams): Promise; - -// @public -export function firewallRulesListByMongoCluster(context: DocumentDBContext, subscriptionId: string, resourceGroupName: string, mongoClusterName: string, options?: FirewallRulesListByMongoClusterOptionalParams): PagedAsyncIterableIterator; - -// @public -export interface MongoClusterManagementClientOptionalParams extends ClientOptions { - apiVersion?: string; -} - -// @public -export function mongoClustersCheckNameAvailability(context: DocumentDBContext, subscriptionId: string, location: string, body: CheckNameAvailabilityRequest_2, options?: MongoClustersCheckNameAvailabilityOptionalParams): Promise; - -// @public -export function mongoClustersCreateOrUpdate(context: DocumentDBContext, subscriptionId: string, resourceGroupName: string, mongoClusterName: string, resource: MongoCluster_2, options?: MongoClustersCreateOrUpdateOptionalParams): PollerLike, MongoCluster_2>; - -// @public -export function mongoClustersDelete(context: DocumentDBContext, subscriptionId: string, resourceGroupName: string, mongoClusterName: string, options?: MongoClustersDeleteOptionalParams): PollerLike, void>; - -// @public -export function mongoClustersGet(context: DocumentDBContext, subscriptionId: string, resourceGroupName: string, mongoClusterName: string, options?: MongoClustersGetOptionalParams): Promise; - -// @public -export function mongoClustersList(context: DocumentDBContext, subscriptionId: string, options?: MongoClustersListOptionalParams): PagedAsyncIterableIterator; - -// @public -export function mongoClustersListByResourceGroup(context: DocumentDBContext, subscriptionId: string, resourceGroupName: string, options?: MongoClustersListByResourceGroupOptionalParams): PagedAsyncIterableIterator; - -// @public -export function mongoClustersListConnectionStrings(context: DocumentDBContext, subscriptionId: string, resourceGroupName: string, mongoClusterName: string, options?: MongoClustersListConnectionStringsOptionalParams): Promise; - -// @public -export function mongoClustersUpdate(context: DocumentDBContext, subscriptionId: string, resourceGroupName: string, mongoClusterName: string, properties: MongoClusterUpdate_2, options?: MongoClustersUpdateOptionalParams): PollerLike, MongoCluster_2>; - -// @public -export function operationsList(context: DocumentDBContext, options?: OperationsListOptionalParams): PagedAsyncIterableIterator; - -// @public -export function privateEndpointConnectionsCreate(context: DocumentDBContext, subscriptionId: string, resourceGroupName: string, mongoClusterName: string, privateEndpointConnectionName: string, resource: PrivateEndpointConnectionResource_2, options?: PrivateEndpointConnectionsCreateOptionalParams): PollerLike, PrivateEndpointConnectionResource_2>; - -// @public -export function privateEndpointConnectionsDelete(context: DocumentDBContext, subscriptionId: string, resourceGroupName: string, mongoClusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): PollerLike, void>; - -// @public -export function privateEndpointConnectionsGet(context: DocumentDBContext, subscriptionId: string, resourceGroupName: string, mongoClusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise; - -// @public -export function privateEndpointConnectionsListByMongoCluster(context: DocumentDBContext, subscriptionId: string, resourceGroupName: string, mongoClusterName: string, options?: PrivateEndpointConnectionsListByMongoClusterOptionalParams): PagedAsyncIterableIterator; - -// @public -export function privateLinksListByMongoCluster(context: DocumentDBContext, subscriptionId: string, resourceGroupName: string, mongoClusterName: string, options?: PrivateLinksListByMongoClusterOptionalParams): PagedAsyncIterableIterator; - -// (No @packageDocumentation comment for this package) - -``` diff --git a/sdk/mongocluster/arm-mongocluster/review/arm-mongocluster-models.api.md b/sdk/mongocluster/arm-mongocluster/review/arm-mongocluster-models.api.md deleted file mode 100644 index a8ed8c2bf689..000000000000 --- a/sdk/mongocluster/arm-mongocluster/review/arm-mongocluster-models.api.md +++ /dev/null @@ -1,416 +0,0 @@ -## API Report File for "@azure/arm-mongocluster" - -> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). - -```ts - -import { OperationOptions } from '@azure-rest/core-client'; - -// @public -export type ActionType = string; - -// @public -export type CheckNameAvailabilityReason = string; - -// @public -export interface CheckNameAvailabilityRequest { - name?: string; - type?: string; -} - -// @public -export interface CheckNameAvailabilityResponse { - message?: string; - nameAvailable?: boolean; - reason?: CheckNameAvailabilityReason; -} - -// @public -export interface ConnectionString { - readonly connectionString?: string; - readonly description?: string; -} - -// @public -export type ContinuablePage = TPage & { - continuationToken?: string; -}; - -// @public -export type CreatedByType = string; - -// @public -export type CreateMode = string; - -// @public -export interface ErrorAdditionalInfo { - readonly info?: Record; - readonly type?: string; -} - -// @public -export interface ErrorDetail { - readonly additionalInfo?: ErrorAdditionalInfo[]; - readonly code?: string; - readonly details?: ErrorDetail[]; - readonly message?: string; - readonly target?: string; -} - -// @public -export interface ErrorResponse { - error?: ErrorDetail; -} - -// @public -export interface FirewallRule extends ProxyResource { - properties?: FirewallRuleProperties; -} - -// @public -export interface FirewallRuleProperties { - endIpAddress: string; - readonly provisioningState?: ProvisioningState; - startIpAddress: string; -} - -// @public -export interface FirewallRulesCreateOrUpdateOptionalParams extends OperationOptions { - updateIntervalInMs?: number; -} - -// @public -export interface FirewallRulesDeleteOptionalParams extends OperationOptions { - updateIntervalInMs?: number; -} - -// @public -export interface FirewallRulesGetOptionalParams extends OperationOptions { -} - -// @public -export interface FirewallRulesListByMongoClusterOptionalParams extends OperationOptions { -} - -// @public -export enum KnownActionType { - Internal = "Internal" -} - -// @public -export enum KnownCheckNameAvailabilityReason { - AlreadyExists = "AlreadyExists", - Invalid = "Invalid" -} - -// @public -export enum KnownCreatedByType { - Application = "Application", - Key = "Key", - ManagedIdentity = "ManagedIdentity", - User = "User" -} - -// @public -export enum KnownCreateMode { - Default = "Default", - PointInTimeRestore = "PointInTimeRestore" -} - -// @public -export enum KnownMongoClusterStatus { - Dropping = "Dropping", - Provisioning = "Provisioning", - Ready = "Ready", - Starting = "Starting", - Stopped = "Stopped", - Stopping = "Stopping", - Updating = "Updating" -} - -// @public -export enum KnownNodeKind { - Shard = "Shard" -} - -// @public -export enum KnownOrigin { - "user,system" = "user,system", - system = "system", - user = "user" -} - -// @public -export enum KnownPrivateEndpointConnectionProvisioningState { - Creating = "Creating", - Deleting = "Deleting", - Failed = "Failed", - Succeeded = "Succeeded" -} - -// @public -export enum KnownPrivateEndpointServiceConnectionStatus { - Approved = "Approved", - Pending = "Pending", - Rejected = "Rejected" -} - -// @public -export enum KnownPublicNetworkAccess { - Disabled = "Disabled", - Enabled = "Enabled" -} - -// @public -export enum KnownResourceProvisioningState { - Canceled = "Canceled", - Failed = "Failed", - Succeeded = "Succeeded" -} - -// @public -export interface ListConnectionStringsResult { - readonly connectionStrings?: ConnectionString[]; -} - -// @public -export interface MongoCluster extends TrackedResource { - properties?: MongoClusterProperties; -} - -// @public -export interface MongoClusterProperties { - administratorLogin?: string; - administratorLoginPassword?: string; - readonly clusterStatus?: MongoClusterStatus; - readonly connectionString?: string; - createMode?: CreateMode; - readonly earliestRestoreTime?: string; - nodeGroupSpecs?: NodeGroupSpec[]; - readonly privateEndpointConnections?: PrivateEndpointConnection[]; - readonly provisioningState?: ProvisioningState; - publicNetworkAccess?: PublicNetworkAccess; - restoreParameters?: MongoClusterRestoreParameters; - serverVersion?: string; -} - -// @public -export interface MongoClusterRestoreParameters { - pointInTimeUTC?: Date; - sourceResourceId?: string; -} - -// @public -export interface MongoClustersCheckNameAvailabilityOptionalParams extends OperationOptions { -} - -// @public -export interface MongoClustersCreateOrUpdateOptionalParams extends OperationOptions { - updateIntervalInMs?: number; -} - -// @public -export interface MongoClustersDeleteOptionalParams extends OperationOptions { - updateIntervalInMs?: number; -} - -// @public -export interface MongoClustersGetOptionalParams extends OperationOptions { -} - -// @public -export interface MongoClustersListByResourceGroupOptionalParams extends OperationOptions { -} - -// @public -export interface MongoClustersListConnectionStringsOptionalParams extends OperationOptions { -} - -// @public -export interface MongoClustersListOptionalParams extends OperationOptions { -} - -// @public -export type MongoClusterStatus = string; - -// @public -export interface MongoClustersUpdateOptionalParams extends OperationOptions { - updateIntervalInMs?: number; -} - -// @public -export interface MongoClusterUpdate { - properties?: MongoClusterUpdateProperties; - tags?: Record; -} - -// @public -export interface MongoClusterUpdateProperties { - administratorLogin?: string; - administratorLoginPassword?: string; - nodeGroupSpecs?: NodeGroupSpec[]; - publicNetworkAccess?: PublicNetworkAccess; - serverVersion?: string; -} - -// @public -export interface NodeGroupSpec { - diskSizeGB?: number; - enableHa?: boolean; - kind?: NodeKind; - nodeCount?: number; - sku?: string; -} - -// @public -export type NodeKind = string; - -// @public -export interface Operation { - actionType?: ActionType; - readonly display?: OperationDisplay; - readonly isDataAction?: boolean; - readonly name?: string; - readonly origin?: Origin; -} - -// @public -export interface OperationDisplay { - readonly description?: string; - readonly operation?: string; - readonly provider?: string; - readonly resource?: string; -} - -// @public -export interface OperationsListOptionalParams extends OperationOptions { -} - -// @public -export type Origin = string; - -// @public -export interface PagedAsyncIterableIterator { - [Symbol.asyncIterator](): PagedAsyncIterableIterator; - byPage: (settings?: TPageSettings) => AsyncIterableIterator>; - next(): Promise>; -} - -// @public -export interface PageSettings { - continuationToken?: string; -} - -// @public -export interface PrivateEndpoint { - readonly id?: string; -} - -// @public -export interface PrivateEndpointConnection extends Resource { - properties?: PrivateEndpointConnectionProperties; -} - -// @public -export interface PrivateEndpointConnectionProperties { - readonly groupIds?: string[]; - privateEndpoint?: PrivateEndpoint; - privateLinkServiceConnectionState: PrivateLinkServiceConnectionState; - readonly provisioningState?: PrivateEndpointConnectionProvisioningState; -} - -// @public -export type PrivateEndpointConnectionProvisioningState = string; - -// @public -export interface PrivateEndpointConnectionResource extends ProxyResource { - properties?: PrivateEndpointConnectionProperties; -} - -// @public -export interface PrivateEndpointConnectionsCreateOptionalParams extends OperationOptions { - updateIntervalInMs?: number; -} - -// @public -export interface PrivateEndpointConnectionsDeleteOptionalParams extends OperationOptions { - updateIntervalInMs?: number; -} - -// @public -export interface PrivateEndpointConnectionsGetOptionalParams extends OperationOptions { -} - -// @public -export interface PrivateEndpointConnectionsListByMongoClusterOptionalParams extends OperationOptions { -} - -// @public -export type PrivateEndpointServiceConnectionStatus = string; - -// @public -export interface PrivateLinkResource extends ProxyResource { - properties?: PrivateLinkResourceProperties; -} - -// @public -export interface PrivateLinkResourceProperties { - readonly groupId?: string; - readonly requiredMembers?: string[]; - requiredZoneNames?: string[]; -} - -// @public -export interface PrivateLinkServiceConnectionState { - actionsRequired?: string; - description?: string; - status?: PrivateEndpointServiceConnectionStatus; -} - -// @public -export interface PrivateLinksListByMongoClusterOptionalParams extends OperationOptions { -} - -// @public -export type ProvisioningState = string | ResourceProvisioningState | "InProgress" | "Updating" | "Dropping"; - -// @public -export interface ProxyResource extends Resource { -} - -// @public -export type PublicNetworkAccess = string; - -// @public -export interface Resource { - readonly id?: string; - readonly name?: string; - readonly systemData?: SystemData; - readonly type?: string; -} - -// @public -export type ResourceProvisioningState = string; - -// @public -export interface SystemData { - createdAt?: Date; - createdBy?: string; - createdByType?: CreatedByType; - lastModifiedAt?: Date; - lastModifiedBy?: string; - lastModifiedByType?: CreatedByType; -} - -// @public -export interface TrackedResource extends Resource { - location: string; - tags?: Record; -} - -// @public -export type Versions = "2024-03-01-preview"; - -// (No @packageDocumentation comment for this package) - -``` diff --git a/sdk/mongocluster/arm-mongocluster/review/arm-mongocluster.api.md b/sdk/mongocluster/arm-mongocluster/review/arm-mongocluster.api.md index 5cf5c2decdde..0ea3e086644c 100644 --- a/sdk/mongocluster/arm-mongocluster/review/arm-mongocluster.api.md +++ b/sdk/mongocluster/arm-mongocluster/review/arm-mongocluster.api.md @@ -4,18 +4,26 @@ ```ts -import { AbortSignalLike } from '@azure/abort-controller'; -import { ClientOptions } from '@azure-rest/core-client'; -import { OperationOptions } from '@azure-rest/core-client'; +import * as coreAuth from '@azure/core-auth'; +import * as coreClient from '@azure/core-client'; import { OperationState } from '@azure/core-lro'; -import { PathUncheckedResponse } from '@azure-rest/core-client'; -import { Pipeline } from '@azure/core-rest-pipeline'; -import { PollerLike } from '@azure/core-lro'; -import { TokenCredential } from '@azure/core-auth'; +import { PagedAsyncIterableIterator } from '@azure/core-paging'; +import { SimplePollerLike } from '@azure/core-lro'; // @public export type ActionType = string; +// @public +export interface AdministratorProperties { + password?: string; + userName?: string; +} + +// @public +export interface BackupProperties { + readonly earliestRestoreTime?: string; +} + // @public export type CheckNameAvailabilityReason = string; @@ -32,17 +40,18 @@ export interface CheckNameAvailabilityResponse { reason?: CheckNameAvailabilityReason; } +// @public +export interface ComputeProperties { + tier?: string; +} + // @public export interface ConnectionString { readonly connectionString?: string; readonly description?: string; + readonly name?: string; } -// @public -export type ContinuablePage = TPage & { - continuationToken?: string; -}; - // @public export type CreatedByType = string; @@ -51,7 +60,7 @@ export type CreateMode = string; // @public export interface ErrorAdditionalInfo { - readonly info?: Record; + readonly info?: Record; readonly type?: string; } @@ -74,6 +83,12 @@ export interface FirewallRule extends ProxyResource { properties?: FirewallRuleProperties; } +// @public +export interface FirewallRuleListResult { + nextLink?: string; + value: FirewallRule[]; +} + // @public export interface FirewallRuleProperties { endIpAddress: string; @@ -82,29 +97,75 @@ export interface FirewallRuleProperties { } // @public -export interface FirewallRulesCreateOrUpdateOptionalParams extends OperationOptions { +export interface FirewallRules { + beginCreateOrUpdate(resourceGroupName: string, mongoClusterName: string, firewallRuleName: string, resource: FirewallRule, options?: FirewallRulesCreateOrUpdateOptionalParams): Promise, FirewallRulesCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, mongoClusterName: string, firewallRuleName: string, resource: FirewallRule, options?: FirewallRulesCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, mongoClusterName: string, firewallRuleName: string, options?: FirewallRulesDeleteOptionalParams): Promise, FirewallRulesDeleteResponse>>; + beginDeleteAndWait(resourceGroupName: string, mongoClusterName: string, firewallRuleName: string, options?: FirewallRulesDeleteOptionalParams): Promise; + get(resourceGroupName: string, mongoClusterName: string, firewallRuleName: string, options?: FirewallRulesGetOptionalParams): Promise; + listByMongoCluster(resourceGroupName: string, mongoClusterName: string, options?: FirewallRulesListByMongoClusterOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface FirewallRulesCreateOrUpdateHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface FirewallRulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; updateIntervalInMs?: number; } // @public -export interface FirewallRulesDeleteOptionalParams extends OperationOptions { +export type FirewallRulesCreateOrUpdateResponse = FirewallRule; + +// @public +export interface FirewallRulesDeleteHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface FirewallRulesDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; updateIntervalInMs?: number; } // @public -export interface FirewallRulesGetOptionalParams extends OperationOptions { +export type FirewallRulesDeleteResponse = FirewallRulesDeleteHeaders; + +// @public +export interface FirewallRulesGetOptionalParams extends coreClient.OperationOptions { } // @public -export interface FirewallRulesListByMongoClusterOptionalParams extends OperationOptions { +export type FirewallRulesGetResponse = FirewallRule; + +// @public +export interface FirewallRulesListByMongoClusterNextOptionalParams extends coreClient.OperationOptions { } // @public -export interface FirewallRulesOperations { - createOrUpdate: (resourceGroupName: string, mongoClusterName: string, firewallRuleName: string, resource: FirewallRule, options?: FirewallRulesCreateOrUpdateOptionalParams) => PollerLike, FirewallRule>; - delete: (resourceGroupName: string, mongoClusterName: string, firewallRuleName: string, options?: FirewallRulesDeleteOptionalParams) => PollerLike, void>; - get: (resourceGroupName: string, mongoClusterName: string, firewallRuleName: string, options?: FirewallRulesGetOptionalParams) => Promise; - listByMongoCluster: (resourceGroupName: string, mongoClusterName: string, options?: FirewallRulesListByMongoClusterOptionalParams) => PagedAsyncIterableIterator; +export type FirewallRulesListByMongoClusterNextResponse = FirewallRuleListResult; + +// @public +export interface FirewallRulesListByMongoClusterOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type FirewallRulesListByMongoClusterResponse = FirewallRuleListResult; + +// @public +export function getContinuationToken(page: unknown): string | undefined; + +// @public +export type HighAvailabilityMode = string; + +// @public +export interface HighAvailabilityProperties { + targetMode?: HighAvailabilityMode; } // @public @@ -129,7 +190,16 @@ export enum KnownCreatedByType { // @public export enum KnownCreateMode { Default = "Default", - PointInTimeRestore = "PointInTimeRestore" + GeoReplica = "GeoReplica", + PointInTimeRestore = "PointInTimeRestore", + Replica = "Replica" +} + +// @public +export enum KnownHighAvailabilityMode { + Disabled = "Disabled", + SameZone = "SameZone", + ZoneRedundantPreferred = "ZoneRedundantPreferred" } // @public @@ -144,15 +214,15 @@ export enum KnownMongoClusterStatus { } // @public -export enum KnownNodeKind { - Shard = "Shard" +export enum KnownOrigin { + System = "system", + User = "user", + UserSystem = "user,system" } // @public -export enum KnownOrigin { - "user,system" = "user,system", - system = "system", - user = "user" +export enum KnownPreviewFeature { + GeoReplicas = "GeoReplicas" } // @public @@ -170,6 +240,26 @@ export enum KnownPrivateEndpointServiceConnectionStatus { Rejected = "Rejected" } +// @public +export enum KnownPromoteMode { + Switchover = "Switchover" +} + +// @public +export enum KnownPromoteOption { + Forced = "Forced" +} + +// @public +export enum KnownProvisioningState { + Canceled = "Canceled", + Dropping = "Dropping", + Failed = "Failed", + InProgress = "InProgress", + Succeeded = "Succeeded", + Updating = "Updating" +} + // @public export enum KnownPublicNetworkAccess { Disabled = "Disabled", @@ -177,10 +267,20 @@ export enum KnownPublicNetworkAccess { } // @public -export enum KnownResourceProvisioningState { - Canceled = "Canceled", - Failed = "Failed", - Succeeded = "Succeeded" +export enum KnownReplicationRole { + AsyncReplica = "AsyncReplica", + GeoAsyncReplica = "GeoAsyncReplica", + Primary = "Primary" +} + +// @public +export enum KnownReplicationState { + Active = "Active", + Broken = "Broken", + Catchup = "Catchup", + Provisioning = "Provisioning", + Reconfiguring = "Reconfiguring", + Updating = "Updating" } // @public @@ -193,36 +293,68 @@ export interface MongoCluster extends TrackedResource { properties?: MongoClusterProperties; } -// @public (undocumented) -export class MongoClusterManagementClient { - constructor(credential: TokenCredential, subscriptionId: string, options?: MongoClusterManagementClientOptionalParams); - readonly firewallRules: FirewallRulesOperations; - readonly mongoClusters: MongoClustersOperations; - readonly operations: OperationsOperations; - readonly pipeline: Pipeline; - readonly privateEndpointConnections: PrivateEndpointConnectionsOperations; - readonly privateLinks: PrivateLinksOperations; +// @public +export interface MongoClusterListResult { + nextLink?: string; + value: MongoCluster[]; } -// @public -export interface MongoClusterManagementClientOptionalParams extends ClientOptions { +// @public (undocumented) +export class MongoClusterManagementClientTest extends coreClient.ServiceClient { + // (undocumented) + $host: string; + constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MongoClusterManagementClientTestOptionalParams); + // (undocumented) + apiVersion: string; + // (undocumented) + firewallRules: FirewallRules; + // (undocumented) + mongoClusters: MongoClusters; + // (undocumented) + operations: Operations; + // (undocumented) + privateEndpointConnections: PrivateEndpointConnections; + // (undocumented) + privateLinks: PrivateLinks; + // (undocumented) + replicas: Replicas; + // (undocumented) + subscriptionId: string; +} + +// @public +export interface MongoClusterManagementClientTestOptionalParams extends coreClient.ServiceClientOptions { + $host?: string; apiVersion?: string; + endpoint?: string; } // @public export interface MongoClusterProperties { - administratorLogin?: string; - administratorLoginPassword?: string; + administrator?: AdministratorProperties; + backup?: BackupProperties; readonly clusterStatus?: MongoClusterStatus; + compute?: ComputeProperties; readonly connectionString?: string; createMode?: CreateMode; - readonly earliestRestoreTime?: string; - nodeGroupSpecs?: NodeGroupSpec[]; + highAvailability?: HighAvailabilityProperties; + readonly infrastructureVersion?: string; + previewFeatures?: PreviewFeature[]; readonly privateEndpointConnections?: PrivateEndpointConnection[]; readonly provisioningState?: ProvisioningState; publicNetworkAccess?: PublicNetworkAccess; + readonly replica?: ReplicationProperties; + replicaParameters?: MongoClusterReplicaParameters; restoreParameters?: MongoClusterRestoreParameters; serverVersion?: string; + sharding?: ShardingProperties; + storage?: StorageProperties; +} + +// @public +export interface MongoClusterReplicaParameters { + sourceLocation: string; + sourceResourceId: string; } // @public @@ -232,86 +364,158 @@ export interface MongoClusterRestoreParameters { } // @public -export interface MongoClustersCheckNameAvailabilityOptionalParams extends OperationOptions { +export interface MongoClusters { + beginCreateOrUpdate(resourceGroupName: string, mongoClusterName: string, resource: MongoCluster, options?: MongoClustersCreateOrUpdateOptionalParams): Promise, MongoClustersCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, mongoClusterName: string, resource: MongoCluster, options?: MongoClustersCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, mongoClusterName: string, options?: MongoClustersDeleteOptionalParams): Promise, MongoClustersDeleteResponse>>; + beginDeleteAndWait(resourceGroupName: string, mongoClusterName: string, options?: MongoClustersDeleteOptionalParams): Promise; + beginPromote(resourceGroupName: string, mongoClusterName: string, body: PromoteReplicaRequest, options?: MongoClustersPromoteOptionalParams): Promise, MongoClustersPromoteResponse>>; + beginPromoteAndWait(resourceGroupName: string, mongoClusterName: string, body: PromoteReplicaRequest, options?: MongoClustersPromoteOptionalParams): Promise; + beginUpdate(resourceGroupName: string, mongoClusterName: string, properties: MongoClusterUpdate, options?: MongoClustersUpdateOptionalParams): Promise, MongoClustersUpdateResponse>>; + beginUpdateAndWait(resourceGroupName: string, mongoClusterName: string, properties: MongoClusterUpdate, options?: MongoClustersUpdateOptionalParams): Promise; + checkNameAvailability(location: string, body: CheckNameAvailabilityRequest, options?: MongoClustersCheckNameAvailabilityOptionalParams): Promise; + get(resourceGroupName: string, mongoClusterName: string, options?: MongoClustersGetOptionalParams): Promise; + list(options?: MongoClustersListOptionalParams): PagedAsyncIterableIterator; + listByResourceGroup(resourceGroupName: string, options?: MongoClustersListByResourceGroupOptionalParams): PagedAsyncIterableIterator; + listConnectionStrings(resourceGroupName: string, mongoClusterName: string, options?: MongoClustersListConnectionStringsOptionalParams): Promise; +} + +// @public +export interface MongoClustersCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type MongoClustersCheckNameAvailabilityResponse = CheckNameAvailabilityResponse; + +// @public +export interface MongoClustersCreateOrUpdateHeaders { + retryAfter?: number; } // @public -export interface MongoClustersCreateOrUpdateOptionalParams extends OperationOptions { +export interface MongoClustersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; updateIntervalInMs?: number; } // @public -export interface MongoClustersDeleteOptionalParams extends OperationOptions { +export type MongoClustersCreateOrUpdateResponse = MongoCluster; + +// @public +export interface MongoClustersDeleteHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface MongoClustersDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; updateIntervalInMs?: number; } // @public -export interface MongoClustersGetOptionalParams extends OperationOptions { +export type MongoClustersDeleteResponse = MongoClustersDeleteHeaders; + +// @public +export interface MongoClustersGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type MongoClustersGetResponse = MongoCluster; + +// @public +export interface MongoClustersListByResourceGroupNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type MongoClustersListByResourceGroupNextResponse = MongoClusterListResult; + +// @public +export interface MongoClustersListByResourceGroupOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type MongoClustersListByResourceGroupResponse = MongoClusterListResult; + +// @public +export interface MongoClustersListConnectionStringsOptionalParams extends coreClient.OperationOptions { } // @public -export interface MongoClustersListByResourceGroupOptionalParams extends OperationOptions { +export type MongoClustersListConnectionStringsResponse = ListConnectionStringsResult; + +// @public +export interface MongoClustersListNextOptionalParams extends coreClient.OperationOptions { } // @public -export interface MongoClustersListConnectionStringsOptionalParams extends OperationOptions { +export type MongoClustersListNextResponse = MongoClusterListResult; + +// @public +export interface MongoClustersListOptionalParams extends coreClient.OperationOptions { } // @public -export interface MongoClustersListOptionalParams extends OperationOptions { +export type MongoClustersListResponse = MongoClusterListResult; + +// @public +export interface MongoClustersPromoteHeaders { + location?: string; + retryAfter?: number; } // @public -export interface MongoClustersOperations { - checkNameAvailability: (location: string, body: CheckNameAvailabilityRequest, options?: MongoClustersCheckNameAvailabilityOptionalParams) => Promise; - createOrUpdate: (resourceGroupName: string, mongoClusterName: string, resource: MongoCluster, options?: MongoClustersCreateOrUpdateOptionalParams) => PollerLike, MongoCluster>; - delete: (resourceGroupName: string, mongoClusterName: string, options?: MongoClustersDeleteOptionalParams) => PollerLike, void>; - get: (resourceGroupName: string, mongoClusterName: string, options?: MongoClustersGetOptionalParams) => Promise; - list: (options?: MongoClustersListOptionalParams) => PagedAsyncIterableIterator; - listByResourceGroup: (resourceGroupName: string, options?: MongoClustersListByResourceGroupOptionalParams) => PagedAsyncIterableIterator; - listConnectionStrings: (resourceGroupName: string, mongoClusterName: string, options?: MongoClustersListConnectionStringsOptionalParams) => Promise; - update: (resourceGroupName: string, mongoClusterName: string, properties: MongoClusterUpdate, options?: MongoClustersUpdateOptionalParams) => PollerLike, MongoCluster>; +export interface MongoClustersPromoteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } +// @public +export type MongoClustersPromoteResponse = MongoClustersPromoteHeaders; + // @public export type MongoClusterStatus = string; // @public -export interface MongoClustersUpdateOptionalParams extends OperationOptions { +export interface MongoClustersUpdateHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface MongoClustersUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; updateIntervalInMs?: number; } +// @public +export type MongoClustersUpdateResponse = MongoCluster; + // @public export interface MongoClusterUpdate { properties?: MongoClusterUpdateProperties; - tags?: Record; + tags?: { + [propertyName: string]: string; + }; } // @public export interface MongoClusterUpdateProperties { - administratorLogin?: string; - administratorLoginPassword?: string; - nodeGroupSpecs?: NodeGroupSpec[]; + administrator?: AdministratorProperties; + backup?: BackupProperties; + compute?: ComputeProperties; + highAvailability?: HighAvailabilityProperties; + previewFeatures?: PreviewFeature[]; publicNetworkAccess?: PublicNetworkAccess; serverVersion?: string; + sharding?: ShardingProperties; + storage?: StorageProperties; } -// @public -export interface NodeGroupSpec { - diskSizeGB?: number; - enableHa?: boolean; - kind?: NodeKind; - nodeCount?: number; - sku?: string; -} - -// @public -export type NodeKind = string; - // @public export interface Operation { - actionType?: ActionType; - readonly display?: OperationDisplay; + readonly actionType?: ActionType; + display?: OperationDisplay; readonly isDataAction?: boolean; readonly name?: string; readonly origin?: Origin; @@ -326,29 +530,36 @@ export interface OperationDisplay { } // @public -export interface OperationsListOptionalParams extends OperationOptions { +export interface OperationListResult { + readonly nextLink?: string; + readonly value?: Operation[]; } // @public -export interface OperationsOperations { - list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator; +export interface Operations { + list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator; } // @public -export type Origin = string; +export interface OperationsListNextOptionalParams extends coreClient.OperationOptions { +} // @public -export interface PagedAsyncIterableIterator { - [Symbol.asyncIterator](): PagedAsyncIterableIterator; - byPage: (settings?: TPageSettings) => AsyncIterableIterator>; - next(): Promise>; -} +export type OperationsListNextResponse = OperationListResult; // @public -export interface PageSettings { - continuationToken?: string; +export interface OperationsListOptionalParams extends coreClient.OperationOptions { } +// @public +export type OperationsListResponse = OperationListResult; + +// @public +export type Origin = string; + +// @public +export type PreviewFeature = string; + // @public export interface PrivateEndpoint { readonly id?: string; @@ -376,31 +587,72 @@ export interface PrivateEndpointConnectionResource extends ProxyResource { } // @public -export interface PrivateEndpointConnectionsCreateOptionalParams extends OperationOptions { +export interface PrivateEndpointConnectionResourceListResult { + nextLink?: string; + value: PrivateEndpointConnectionResource[]; +} + +// @public +export interface PrivateEndpointConnections { + beginCreate(resourceGroupName: string, mongoClusterName: string, privateEndpointConnectionName: string, resource: PrivateEndpointConnectionResource, options?: PrivateEndpointConnectionsCreateOptionalParams): Promise, PrivateEndpointConnectionsCreateResponse>>; + beginCreateAndWait(resourceGroupName: string, mongoClusterName: string, privateEndpointConnectionName: string, resource: PrivateEndpointConnectionResource, options?: PrivateEndpointConnectionsCreateOptionalParams): Promise; + beginDelete(resourceGroupName: string, mongoClusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise, PrivateEndpointConnectionsDeleteResponse>>; + beginDeleteAndWait(resourceGroupName: string, mongoClusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise; + get(resourceGroupName: string, mongoClusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise; + listByMongoCluster(resourceGroupName: string, mongoClusterName: string, options?: PrivateEndpointConnectionsListByMongoClusterOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface PrivateEndpointConnectionsCreateHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface PrivateEndpointConnectionsCreateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; updateIntervalInMs?: number; } // @public -export interface PrivateEndpointConnectionsDeleteOptionalParams extends OperationOptions { +export type PrivateEndpointConnectionsCreateResponse = PrivateEndpointConnectionResource; + +// @public +export interface PrivateEndpointConnectionsDeleteHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; updateIntervalInMs?: number; } // @public -export interface PrivateEndpointConnectionsGetOptionalParams extends OperationOptions { +export type PrivateEndpointConnectionsDeleteResponse = PrivateEndpointConnectionsDeleteHeaders; + +// @public +export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions { } // @public -export interface PrivateEndpointConnectionsListByMongoClusterOptionalParams extends OperationOptions { +export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnectionResource; + +// @public +export interface PrivateEndpointConnectionsListByMongoClusterNextOptionalParams extends coreClient.OperationOptions { } // @public -export interface PrivateEndpointConnectionsOperations { - create: (resourceGroupName: string, mongoClusterName: string, privateEndpointConnectionName: string, resource: PrivateEndpointConnectionResource, options?: PrivateEndpointConnectionsCreateOptionalParams) => PollerLike, PrivateEndpointConnectionResource>; - delete: (resourceGroupName: string, mongoClusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams) => PollerLike, void>; - get: (resourceGroupName: string, mongoClusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams) => Promise; - listByMongoCluster: (resourceGroupName: string, mongoClusterName: string, options?: PrivateEndpointConnectionsListByMongoClusterOptionalParams) => PagedAsyncIterableIterator; +export type PrivateEndpointConnectionsListByMongoClusterNextResponse = PrivateEndpointConnectionResourceListResult; + +// @public +export interface PrivateEndpointConnectionsListByMongoClusterOptionalParams extends coreClient.OperationOptions { } +// @public +export type PrivateEndpointConnectionsListByMongoClusterResponse = PrivateEndpointConnectionResourceListResult; + // @public export type PrivateEndpointServiceConnectionStatus = string; @@ -409,6 +661,12 @@ export interface PrivateLinkResource extends ProxyResource { properties?: PrivateLinkResourceProperties; } +// @public +export interface PrivateLinkResourceListResult { + nextLink?: string; + value: PrivateLinkResource[]; +} + // @public export interface PrivateLinkResourceProperties { readonly groupId?: string; @@ -416,6 +674,11 @@ export interface PrivateLinkResourceProperties { requiredZoneNames?: string[]; } +// @public +export interface PrivateLinks { + listByMongoCluster(resourceGroupName: string, mongoClusterName: string, options?: PrivateLinksListByMongoClusterOptionalParams): PagedAsyncIterableIterator; +} + // @public export interface PrivateLinkServiceConnectionState { actionsRequired?: string; @@ -424,16 +687,33 @@ export interface PrivateLinkServiceConnectionState { } // @public -export interface PrivateLinksListByMongoClusterOptionalParams extends OperationOptions { +export interface PrivateLinksListByMongoClusterNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type PrivateLinksListByMongoClusterNextResponse = PrivateLinkResourceListResult; + +// @public +export interface PrivateLinksListByMongoClusterOptionalParams extends coreClient.OperationOptions { } // @public -export interface PrivateLinksOperations { - listByMongoCluster: (resourceGroupName: string, mongoClusterName: string, options?: PrivateLinksListByMongoClusterOptionalParams) => PagedAsyncIterableIterator; +export type PrivateLinksListByMongoClusterResponse = PrivateLinkResourceListResult; + +// @public +export type PromoteMode = string; + +// @public +export type PromoteOption = string; + +// @public +export interface PromoteReplicaRequest { + mode?: PromoteMode; + promoteOption: PromoteOption; } // @public -export type ProvisioningState = string | ResourceProvisioningState | "InProgress" | "Updating" | "Dropping"; +export type ProvisioningState = string; // @public export interface ProxyResource extends Resource { @@ -442,6 +722,49 @@ export interface ProxyResource extends Resource { // @public export type PublicNetworkAccess = string; +// @public +export interface Replica extends ProxyResource { + properties?: MongoClusterProperties; +} + +// @public +export interface ReplicaListResult { + nextLink?: string; + value: Replica[]; +} + +// @public +export interface Replicas { + listByParent(resourceGroupName: string, mongoClusterName: string, options?: ReplicasListByParentOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface ReplicasListByParentNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ReplicasListByParentNextResponse = ReplicaListResult; + +// @public +export interface ReplicasListByParentOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ReplicasListByParentResponse = ReplicaListResult; + +// @public +export interface ReplicationProperties { + readonly replicationState?: ReplicationState; + readonly role?: ReplicationRole; + readonly sourceResourceId?: string; +} + +// @public +export type ReplicationRole = string; + +// @public +export type ReplicationState = string; + // @public export interface Resource { readonly id?: string; @@ -451,16 +774,13 @@ export interface Resource { } // @public -export type ResourceProvisioningState = string; +export interface ShardingProperties { + shardCount?: number; +} // @public -export function restorePoller(client: MongoClusterManagementClient, serializedState: string, sourceOperation: (...args: any[]) => PollerLike, TResult>, options?: RestorePollerOptions): PollerLike, TResult>; - -// @public (undocumented) -export interface RestorePollerOptions extends OperationOptions { - abortSignal?: AbortSignalLike; - processResponseBody?: (result: TResponse) => Promise; - updateIntervalInMs?: number; +export interface StorageProperties { + sizeGb?: number; } // @public @@ -476,12 +796,11 @@ export interface SystemData { // @public export interface TrackedResource extends Resource { location: string; - tags?: Record; + tags?: { + [propertyName: string]: string; + }; } -// @public -export type Versions = "2024-03-01-preview"; - // (No @packageDocumentation comment for this package) ``` diff --git a/sdk/mongocluster/arm-mongocluster/sample.env b/sdk/mongocluster/arm-mongocluster/sample.env new file mode 100644 index 000000000000..672847a3fea0 --- /dev/null +++ b/sdk/mongocluster/arm-mongocluster/sample.env @@ -0,0 +1,4 @@ +# App registration secret for AAD authentication +AZURE_CLIENT_SECRET= +AZURE_CLIENT_ID= +AZURE_TENANT_ID= \ No newline at end of file diff --git a/sdk/mongocluster/arm-mongocluster/src/api/firewallRules/index.ts b/sdk/mongocluster/arm-mongocluster/src/api/firewallRules/index.ts deleted file mode 100644 index 3a2ee1118d09..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/api/firewallRules/index.ts +++ /dev/null @@ -1,370 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { getLongRunningPoller } from "../pollingHelpers.js"; -import { PollerLike, OperationState } from "@azure/core-lro"; -import { - firewallRulePropertiesSerializer, - FirewallRule, - _FirewallRuleListResult, -} from "../../models/models.js"; -import { PagedAsyncIterableIterator } from "../../models/pagingTypes.js"; -import { buildPagedAsyncIterator } from "../pagingHelpers.js"; -import { - isUnexpected, - DocumentDBContext as Client, - FirewallRulesCreateOrUpdate200Response, - FirewallRulesCreateOrUpdate201Response, - FirewallRulesCreateOrUpdate202Response, - FirewallRulesCreateOrUpdateDefaultResponse, - FirewallRulesCreateOrUpdateLogicalResponse, - FirewallRulesDelete202Response, - FirewallRulesDelete204Response, - FirewallRulesDeleteDefaultResponse, - FirewallRulesDeleteLogicalResponse, - FirewallRulesGet200Response, - FirewallRulesGetDefaultResponse, - FirewallRulesListByMongoCluster200Response, - FirewallRulesListByMongoClusterDefaultResponse, -} from "../../rest/index.js"; -import { - StreamableMethod, - operationOptionsToRequestParameters, - createRestError, -} from "@azure-rest/core-client"; -import { - FirewallRulesGetOptionalParams, - FirewallRulesCreateOrUpdateOptionalParams, - FirewallRulesDeleteOptionalParams, - FirewallRulesListByMongoClusterOptionalParams, -} from "../../models/options.js"; - -export function _firewallRulesGetSend( - context: Client, - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - firewallRuleName: string, - options: FirewallRulesGetOptionalParams = { requestOptions: {} }, -): StreamableMethod { - return context - .path( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules/{firewallRuleName}", - subscriptionId, - resourceGroupName, - mongoClusterName, - firewallRuleName, - ) - .get({ ...operationOptionsToRequestParameters(options) }); -} - -export async function _firewallRulesGetDeserialize( - result: FirewallRulesGet200Response | FirewallRulesGetDefaultResponse, -): Promise { - if (isUnexpected(result)) { - throw createRestError(result); - } - - return { - id: result.body["id"], - name: result.body["name"], - type: result.body["type"], - systemData: !result.body.systemData - ? undefined - : { - createdBy: result.body.systemData?.["createdBy"], - createdByType: result.body.systemData?.["createdByType"], - createdAt: - result.body.systemData?.["createdAt"] !== undefined - ? new Date(result.body.systemData?.["createdAt"]) - : undefined, - lastModifiedBy: result.body.systemData?.["lastModifiedBy"], - lastModifiedByType: result.body.systemData?.["lastModifiedByType"], - lastModifiedAt: - result.body.systemData?.["lastModifiedAt"] !== undefined - ? new Date(result.body.systemData?.["lastModifiedAt"]) - : undefined, - }, - properties: !result.body.properties - ? undefined - : { - provisioningState: result.body.properties?.["provisioningState"], - startIpAddress: result.body.properties?.["startIpAddress"], - endIpAddress: result.body.properties?.["endIpAddress"], - }, - }; -} - -/** Gets information about a mongo cluster firewall rule. */ -export async function firewallRulesGet( - context: Client, - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - firewallRuleName: string, - options: FirewallRulesGetOptionalParams = { requestOptions: {} }, -): Promise { - const result = await _firewallRulesGetSend( - context, - subscriptionId, - resourceGroupName, - mongoClusterName, - firewallRuleName, - options, - ); - return _firewallRulesGetDeserialize(result); -} - -export function _firewallRulesCreateOrUpdateSend( - context: Client, - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - firewallRuleName: string, - resource: FirewallRule, - options: FirewallRulesCreateOrUpdateOptionalParams = { requestOptions: {} }, -): StreamableMethod< - | FirewallRulesCreateOrUpdate200Response - | FirewallRulesCreateOrUpdate201Response - | FirewallRulesCreateOrUpdate202Response - | FirewallRulesCreateOrUpdateDefaultResponse - | FirewallRulesCreateOrUpdateLogicalResponse -> { - return context - .path( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules/{firewallRuleName}", - subscriptionId, - resourceGroupName, - mongoClusterName, - firewallRuleName, - ) - .put({ - ...operationOptionsToRequestParameters(options), - body: { - properties: !resource.properties - ? resource.properties - : firewallRulePropertiesSerializer(resource.properties), - }, - }); -} - -export async function _firewallRulesCreateOrUpdateDeserialize( - result: - | FirewallRulesCreateOrUpdate200Response - | FirewallRulesCreateOrUpdate201Response - | FirewallRulesCreateOrUpdate202Response - | FirewallRulesCreateOrUpdateDefaultResponse - | FirewallRulesCreateOrUpdateLogicalResponse, -): Promise { - if (isUnexpected(result)) { - throw createRestError(result); - } - - const res = result as unknown as FirewallRulesCreateOrUpdateLogicalResponse; - return { - id: res.body["id"], - name: res.body["name"], - type: res.body["type"], - systemData: !res.body.systemData - ? undefined - : { - createdBy: res.body.systemData?.["createdBy"], - createdByType: res.body.systemData?.["createdByType"], - createdAt: - res.body.systemData?.["createdAt"] !== undefined - ? new Date(res.body.systemData?.["createdAt"]) - : undefined, - lastModifiedBy: res.body.systemData?.["lastModifiedBy"], - lastModifiedByType: res.body.systemData?.["lastModifiedByType"], - lastModifiedAt: - res.body.systemData?.["lastModifiedAt"] !== undefined - ? new Date(res.body.systemData?.["lastModifiedAt"]) - : undefined, - }, - properties: !res.body.properties - ? undefined - : { - provisioningState: res.body.properties?.["provisioningState"], - startIpAddress: res.body.properties?.["startIpAddress"], - endIpAddress: res.body.properties?.["endIpAddress"], - }, - }; -} - -/** Creates a new firewall rule or updates an existing firewall rule on a mongo cluster. */ -export function firewallRulesCreateOrUpdate( - context: Client, - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - firewallRuleName: string, - resource: FirewallRule, - options: FirewallRulesCreateOrUpdateOptionalParams = { requestOptions: {} }, -): PollerLike, FirewallRule> { - return getLongRunningPoller(context, _firewallRulesCreateOrUpdateDeserialize, { - updateIntervalInMs: options?.updateIntervalInMs, - abortSignal: options?.abortSignal, - getInitialResponse: () => - _firewallRulesCreateOrUpdateSend( - context, - subscriptionId, - resourceGroupName, - mongoClusterName, - firewallRuleName, - resource, - options, - ), - }) as PollerLike, FirewallRule>; -} - -export function _firewallRulesDeleteSend( - context: Client, - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - firewallRuleName: string, - options: FirewallRulesDeleteOptionalParams = { requestOptions: {} }, -): StreamableMethod< - | FirewallRulesDelete202Response - | FirewallRulesDelete204Response - | FirewallRulesDeleteDefaultResponse - | FirewallRulesDeleteLogicalResponse -> { - return context - .path( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules/{firewallRuleName}", - subscriptionId, - resourceGroupName, - mongoClusterName, - firewallRuleName, - ) - .delete({ ...operationOptionsToRequestParameters(options) }); -} - -export async function _firewallRulesDeleteDeserialize( - result: - | FirewallRulesDelete202Response - | FirewallRulesDelete204Response - | FirewallRulesDeleteDefaultResponse - | FirewallRulesDeleteLogicalResponse, -): Promise { - if (isUnexpected(result)) { - throw createRestError(result); - } - - return; -} - -/** Deletes a mongo cluster firewall rule. */ -export function firewallRulesDelete( - context: Client, - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - firewallRuleName: string, - options: FirewallRulesDeleteOptionalParams = { requestOptions: {} }, -): PollerLike, void> { - return getLongRunningPoller(context, _firewallRulesDeleteDeserialize, { - updateIntervalInMs: options?.updateIntervalInMs, - abortSignal: options?.abortSignal, - getInitialResponse: () => - _firewallRulesDeleteSend( - context, - subscriptionId, - resourceGroupName, - mongoClusterName, - firewallRuleName, - options, - ), - }) as PollerLike, void>; -} - -export function _firewallRulesListByMongoClusterSend( - context: Client, - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - options: FirewallRulesListByMongoClusterOptionalParams = { - requestOptions: {}, - }, -): StreamableMethod< - FirewallRulesListByMongoCluster200Response | FirewallRulesListByMongoClusterDefaultResponse -> { - return context - .path( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules", - subscriptionId, - resourceGroupName, - mongoClusterName, - ) - .get({ ...operationOptionsToRequestParameters(options) }); -} - -export async function _firewallRulesListByMongoClusterDeserialize( - result: - | FirewallRulesListByMongoCluster200Response - | FirewallRulesListByMongoClusterDefaultResponse, -): Promise<_FirewallRuleListResult> { - if (isUnexpected(result)) { - throw createRestError(result); - } - - return { - value: result.body["value"].map((p) => { - return { - id: p["id"], - name: p["name"], - type: p["type"], - systemData: !p.systemData - ? undefined - : { - createdBy: p.systemData?.["createdBy"], - createdByType: p.systemData?.["createdByType"], - createdAt: - p.systemData?.["createdAt"] !== undefined - ? new Date(p.systemData?.["createdAt"]) - : undefined, - lastModifiedBy: p.systemData?.["lastModifiedBy"], - lastModifiedByType: p.systemData?.["lastModifiedByType"], - lastModifiedAt: - p.systemData?.["lastModifiedAt"] !== undefined - ? new Date(p.systemData?.["lastModifiedAt"]) - : undefined, - }, - properties: !p.properties - ? undefined - : { - provisioningState: p.properties?.["provisioningState"], - startIpAddress: p.properties?.["startIpAddress"], - endIpAddress: p.properties?.["endIpAddress"], - }, - }; - }), - nextLink: result.body["nextLink"], - }; -} - -/** List all the firewall rules in a given mongo cluster. */ -export function firewallRulesListByMongoCluster( - context: Client, - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - options: FirewallRulesListByMongoClusterOptionalParams = { - requestOptions: {}, - }, -): PagedAsyncIterableIterator { - return buildPagedAsyncIterator( - context, - () => - _firewallRulesListByMongoClusterSend( - context, - subscriptionId, - resourceGroupName, - mongoClusterName, - options, - ), - _firewallRulesListByMongoClusterDeserialize, - { itemName: "value", nextLinkName: "nextLink" }, - ); -} diff --git a/sdk/mongocluster/arm-mongocluster/src/api/index.ts b/sdk/mongocluster/arm-mongocluster/src/api/index.ts deleted file mode 100644 index f0ef42ebc82e..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/api/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -export { - createMongoClusterManagement, - MongoClusterManagementClientOptionalParams, - DocumentDBContext, -} from "./mongoClusterManagementContext.js"; -export { - firewallRulesGet, - firewallRulesCreateOrUpdate, - firewallRulesDelete, - firewallRulesListByMongoCluster, -} from "./firewallRules/index.js"; -export { - mongoClustersGet, - mongoClustersCreateOrUpdate, - mongoClustersUpdate, - mongoClustersDelete, - mongoClustersListByResourceGroup, - mongoClustersList, - mongoClustersListConnectionStrings, - mongoClustersCheckNameAvailability, -} from "./mongoClusters/index.js"; -export { operationsList } from "./operations/index.js"; -export { - privateEndpointConnectionsListByMongoCluster, - privateEndpointConnectionsGet, - privateEndpointConnectionsCreate, - privateEndpointConnectionsDelete, -} from "./privateEndpointConnections/index.js"; -export { privateLinksListByMongoCluster } from "./privateLinks/index.js"; diff --git a/sdk/mongocluster/arm-mongocluster/src/api/mongoClusterManagementContext.ts b/sdk/mongocluster/arm-mongocluster/src/api/mongoClusterManagementContext.ts deleted file mode 100644 index cdbc5f4beb4a..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/api/mongoClusterManagementContext.ts +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { TokenCredential } from "@azure/core-auth"; -import { ClientOptions } from "@azure-rest/core-client"; -import { DocumentDBContext } from "../rest/index.js"; -import getClient from "../rest/index.js"; - -/** Optional parameters for the client. */ -export interface MongoClusterManagementClientOptionalParams extends ClientOptions { - /** The API version to use for this operation. */ - apiVersion?: string; -} - -export { DocumentDBContext } from "../rest/index.js"; - -/** The Microsoft Azure management API provides create, read, update, and delete functionality for Azure Cosmos DB for MongoDB vCore resources including clusters and firewall rules. */ -export function createMongoClusterManagement( - credential: TokenCredential, - options: MongoClusterManagementClientOptionalParams = {}, -): DocumentDBContext { - const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix; - const userAgentPrefix = prefixFromOptions ? `${prefixFromOptions} azsdk-js-api` : "azsdk-js-api"; - - const clientContext = getClient(credential, { - ...options, - userAgentOptions: { userAgentPrefix }, - }); - return clientContext; -} diff --git a/sdk/mongocluster/arm-mongocluster/src/api/mongoClusters/index.ts b/sdk/mongocluster/arm-mongocluster/src/api/mongoClusters/index.ts deleted file mode 100644 index f2edfd37797e..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/api/mongoClusters/index.ts +++ /dev/null @@ -1,1015 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { getLongRunningPoller } from "../pollingHelpers.js"; -import { PollerLike, OperationState } from "@azure/core-lro"; -import { - mongoClusterPropertiesSerializer, - mongoClusterUpdatePropertiesSerializer, - MongoCluster, - MongoClusterUpdate, - ListConnectionStringsResult, - CheckNameAvailabilityRequest, - CheckNameAvailabilityResponse, - _MongoClusterListResult, -} from "../../models/models.js"; -import { PagedAsyncIterableIterator } from "../../models/pagingTypes.js"; -import { buildPagedAsyncIterator } from "../pagingHelpers.js"; -import { - isUnexpected, - DocumentDBContext as Client, - MongoClustersCheckNameAvailability200Response, - MongoClustersCheckNameAvailabilityDefaultResponse, - MongoClustersCreateOrUpdate200Response, - MongoClustersCreateOrUpdate201Response, - MongoClustersCreateOrUpdateDefaultResponse, - MongoClustersCreateOrUpdateLogicalResponse, - MongoClustersDelete202Response, - MongoClustersDelete204Response, - MongoClustersDeleteDefaultResponse, - MongoClustersDeleteLogicalResponse, - MongoClustersGet200Response, - MongoClustersGetDefaultResponse, - MongoClustersList200Response, - MongoClustersListByResourceGroup200Response, - MongoClustersListByResourceGroupDefaultResponse, - MongoClustersListConnectionStrings200Response, - MongoClustersListConnectionStringsDefaultResponse, - MongoClustersListDefaultResponse, - MongoClustersUpdate200Response, - MongoClustersUpdate202Response, - MongoClustersUpdateDefaultResponse, - MongoClustersUpdateLogicalResponse, -} from "../../rest/index.js"; -import { - StreamableMethod, - operationOptionsToRequestParameters, - createRestError, -} from "@azure-rest/core-client"; -import { serializeRecord } from "../../helpers/serializerHelpers.js"; -import { - MongoClustersGetOptionalParams, - MongoClustersCreateOrUpdateOptionalParams, - MongoClustersUpdateOptionalParams, - MongoClustersDeleteOptionalParams, - MongoClustersListByResourceGroupOptionalParams, - MongoClustersListOptionalParams, - MongoClustersListConnectionStringsOptionalParams, - MongoClustersCheckNameAvailabilityOptionalParams, -} from "../../models/options.js"; - -export function _mongoClustersGetSend( - context: Client, - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - options: MongoClustersGetOptionalParams = { requestOptions: {} }, -): StreamableMethod { - return context - .path( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}", - subscriptionId, - resourceGroupName, - mongoClusterName, - ) - .get({ ...operationOptionsToRequestParameters(options) }); -} - -export async function _mongoClustersGetDeserialize( - result: MongoClustersGet200Response | MongoClustersGetDefaultResponse, -): Promise { - if (isUnexpected(result)) { - throw createRestError(result); - } - - return { - tags: result.body["tags"], - location: result.body["location"], - id: result.body["id"], - name: result.body["name"], - type: result.body["type"], - systemData: !result.body.systemData - ? undefined - : { - createdBy: result.body.systemData?.["createdBy"], - createdByType: result.body.systemData?.["createdByType"], - createdAt: - result.body.systemData?.["createdAt"] !== undefined - ? new Date(result.body.systemData?.["createdAt"]) - : undefined, - lastModifiedBy: result.body.systemData?.["lastModifiedBy"], - lastModifiedByType: result.body.systemData?.["lastModifiedByType"], - lastModifiedAt: - result.body.systemData?.["lastModifiedAt"] !== undefined - ? new Date(result.body.systemData?.["lastModifiedAt"]) - : undefined, - }, - properties: !result.body.properties - ? undefined - : { - createMode: result.body.properties?.["createMode"], - restoreParameters: !result.body.properties?.restoreParameters - ? undefined - : { - pointInTimeUTC: - result.body.properties?.restoreParameters?.["pointInTimeUTC"] !== undefined - ? new Date(result.body.properties?.restoreParameters?.["pointInTimeUTC"]) - : undefined, - sourceResourceId: result.body.properties?.restoreParameters?.["sourceResourceId"], - }, - administratorLogin: result.body.properties?.["administratorLogin"], - administratorLoginPassword: result.body.properties?.["administratorLoginPassword"], - serverVersion: result.body.properties?.["serverVersion"], - connectionString: result.body.properties?.["connectionString"], - earliestRestoreTime: result.body.properties?.["earliestRestoreTime"], - provisioningState: result.body.properties?.["provisioningState"], - clusterStatus: result.body.properties?.["clusterStatus"], - publicNetworkAccess: result.body.properties?.["publicNetworkAccess"], - nodeGroupSpecs: - result.body.properties?.["nodeGroupSpecs"] === undefined - ? result.body.properties?.["nodeGroupSpecs"] - : result.body.properties?.["nodeGroupSpecs"].map((p) => { - return { - sku: p["sku"], - diskSizeGB: p["diskSizeGB"], - enableHa: p["enableHa"], - kind: p["kind"], - nodeCount: p["nodeCount"], - }; - }), - privateEndpointConnections: - result.body.properties?.["privateEndpointConnections"] === undefined - ? result.body.properties?.["privateEndpointConnections"] - : result.body.properties?.["privateEndpointConnections"].map((p) => { - return { - id: p["id"], - name: p["name"], - type: p["type"], - systemData: !p.systemData - ? undefined - : { - createdBy: p.systemData?.["createdBy"], - createdByType: p.systemData?.["createdByType"], - createdAt: - p.systemData?.["createdAt"] !== undefined - ? new Date(p.systemData?.["createdAt"]) - : undefined, - lastModifiedBy: p.systemData?.["lastModifiedBy"], - lastModifiedByType: p.systemData?.["lastModifiedByType"], - lastModifiedAt: - p.systemData?.["lastModifiedAt"] !== undefined - ? new Date(p.systemData?.["lastModifiedAt"]) - : undefined, - }, - properties: !p.properties - ? undefined - : { - groupIds: p.properties?.["groupIds"], - privateEndpoint: !p.properties?.privateEndpoint - ? undefined - : { id: p.properties?.privateEndpoint?.["id"] }, - privateLinkServiceConnectionState: { - status: p.properties?.privateLinkServiceConnectionState["status"], - description: - p.properties?.privateLinkServiceConnectionState["description"], - actionsRequired: - p.properties?.privateLinkServiceConnectionState["actionsRequired"], - }, - provisioningState: p.properties?.["provisioningState"], - }, - }; - }), - }, - }; -} - -/** Gets information about a mongo cluster. */ -export async function mongoClustersGet( - context: Client, - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - options: MongoClustersGetOptionalParams = { requestOptions: {} }, -): Promise { - const result = await _mongoClustersGetSend( - context, - subscriptionId, - resourceGroupName, - mongoClusterName, - options, - ); - return _mongoClustersGetDeserialize(result); -} - -export function _mongoClustersCreateOrUpdateSend( - context: Client, - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - resource: MongoCluster, - options: MongoClustersCreateOrUpdateOptionalParams = { requestOptions: {} }, -): StreamableMethod< - | MongoClustersCreateOrUpdate200Response - | MongoClustersCreateOrUpdate201Response - | MongoClustersCreateOrUpdateDefaultResponse - | MongoClustersCreateOrUpdateLogicalResponse -> { - return context - .path( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}", - subscriptionId, - resourceGroupName, - mongoClusterName, - ) - .put({ - ...operationOptionsToRequestParameters(options), - body: { - tags: !resource.tags ? resource.tags : (serializeRecord(resource.tags as any) as any), - location: resource["location"], - properties: !resource.properties - ? resource.properties - : mongoClusterPropertiesSerializer(resource.properties), - }, - }); -} - -export async function _mongoClustersCreateOrUpdateDeserialize( - result: - | MongoClustersCreateOrUpdate200Response - | MongoClustersCreateOrUpdate201Response - | MongoClustersCreateOrUpdateDefaultResponse - | MongoClustersCreateOrUpdateLogicalResponse, -): Promise { - if (isUnexpected(result)) { - throw createRestError(result); - } - - const res = result as unknown as MongoClustersCreateOrUpdateLogicalResponse; - return { - tags: res.body["tags"], - location: res.body["location"], - id: res.body["id"], - name: res.body["name"], - type: res.body["type"], - systemData: !res.body.systemData - ? undefined - : { - createdBy: res.body.systemData?.["createdBy"], - createdByType: res.body.systemData?.["createdByType"], - createdAt: - res.body.systemData?.["createdAt"] !== undefined - ? new Date(res.body.systemData?.["createdAt"]) - : undefined, - lastModifiedBy: res.body.systemData?.["lastModifiedBy"], - lastModifiedByType: res.body.systemData?.["lastModifiedByType"], - lastModifiedAt: - res.body.systemData?.["lastModifiedAt"] !== undefined - ? new Date(res.body.systemData?.["lastModifiedAt"]) - : undefined, - }, - properties: !res.body.properties - ? undefined - : { - createMode: res.body.properties?.["createMode"], - restoreParameters: !res.body.properties?.restoreParameters - ? undefined - : { - pointInTimeUTC: - res.body.properties?.restoreParameters?.["pointInTimeUTC"] !== undefined - ? new Date(res.body.properties?.restoreParameters?.["pointInTimeUTC"]) - : undefined, - sourceResourceId: res.body.properties?.restoreParameters?.["sourceResourceId"], - }, - administratorLogin: res.body.properties?.["administratorLogin"], - administratorLoginPassword: res.body.properties?.["administratorLoginPassword"], - serverVersion: res.body.properties?.["serverVersion"], - connectionString: res.body.properties?.["connectionString"], - earliestRestoreTime: res.body.properties?.["earliestRestoreTime"], - provisioningState: res.body.properties?.["provisioningState"], - clusterStatus: res.body.properties?.["clusterStatus"], - publicNetworkAccess: res.body.properties?.["publicNetworkAccess"], - nodeGroupSpecs: - res.body.properties?.["nodeGroupSpecs"] === undefined - ? res.body.properties?.["nodeGroupSpecs"] - : res.body.properties?.["nodeGroupSpecs"].map((p) => { - return { - sku: p["sku"], - diskSizeGB: p["diskSizeGB"], - enableHa: p["enableHa"], - kind: p["kind"], - nodeCount: p["nodeCount"], - }; - }), - privateEndpointConnections: - res.body.properties?.["privateEndpointConnections"] === undefined - ? res.body.properties?.["privateEndpointConnections"] - : res.body.properties?.["privateEndpointConnections"].map((p) => { - return { - id: p["id"], - name: p["name"], - type: p["type"], - systemData: !p.systemData - ? undefined - : { - createdBy: p.systemData?.["createdBy"], - createdByType: p.systemData?.["createdByType"], - createdAt: - p.systemData?.["createdAt"] !== undefined - ? new Date(p.systemData?.["createdAt"]) - : undefined, - lastModifiedBy: p.systemData?.["lastModifiedBy"], - lastModifiedByType: p.systemData?.["lastModifiedByType"], - lastModifiedAt: - p.systemData?.["lastModifiedAt"] !== undefined - ? new Date(p.systemData?.["lastModifiedAt"]) - : undefined, - }, - properties: !p.properties - ? undefined - : { - groupIds: p.properties?.["groupIds"], - privateEndpoint: !p.properties?.privateEndpoint - ? undefined - : { id: p.properties?.privateEndpoint?.["id"] }, - privateLinkServiceConnectionState: { - status: p.properties?.privateLinkServiceConnectionState["status"], - description: - p.properties?.privateLinkServiceConnectionState["description"], - actionsRequired: - p.properties?.privateLinkServiceConnectionState["actionsRequired"], - }, - provisioningState: p.properties?.["provisioningState"], - }, - }; - }), - }, - }; -} - -/** Create or update a mongo cluster. Update overwrites all properties for the resource. To only modify some of the properties, use PATCH. */ -export function mongoClustersCreateOrUpdate( - context: Client, - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - resource: MongoCluster, - options: MongoClustersCreateOrUpdateOptionalParams = { requestOptions: {} }, -): PollerLike, MongoCluster> { - return getLongRunningPoller(context, _mongoClustersCreateOrUpdateDeserialize, { - updateIntervalInMs: options?.updateIntervalInMs, - abortSignal: options?.abortSignal, - getInitialResponse: () => - _mongoClustersCreateOrUpdateSend( - context, - subscriptionId, - resourceGroupName, - mongoClusterName, - resource, - options, - ), - }) as PollerLike, MongoCluster>; -} - -export function _mongoClustersUpdateSend( - context: Client, - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - properties: MongoClusterUpdate, - options: MongoClustersUpdateOptionalParams = { requestOptions: {} }, -): StreamableMethod< - | MongoClustersUpdate200Response - | MongoClustersUpdate202Response - | MongoClustersUpdateDefaultResponse - | MongoClustersUpdateLogicalResponse -> { - return context - .path( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}", - subscriptionId, - resourceGroupName, - mongoClusterName, - ) - .patch({ - ...operationOptionsToRequestParameters(options), - body: { - tags: !properties.tags ? properties.tags : (serializeRecord(properties.tags as any) as any), - properties: !properties.properties - ? properties.properties - : mongoClusterUpdatePropertiesSerializer(properties.properties), - }, - }); -} - -export async function _mongoClustersUpdateDeserialize( - result: - | MongoClustersUpdate200Response - | MongoClustersUpdate202Response - | MongoClustersUpdateDefaultResponse - | MongoClustersUpdateLogicalResponse, -): Promise { - if (isUnexpected(result)) { - throw createRestError(result); - } - - const res = result as unknown as MongoClustersUpdateLogicalResponse; - return { - tags: res.body["tags"], - location: res.body["location"], - id: res.body["id"], - name: res.body["name"], - type: res.body["type"], - systemData: !res.body.systemData - ? undefined - : { - createdBy: res.body.systemData?.["createdBy"], - createdByType: res.body.systemData?.["createdByType"], - createdAt: - res.body.systemData?.["createdAt"] !== undefined - ? new Date(res.body.systemData?.["createdAt"]) - : undefined, - lastModifiedBy: res.body.systemData?.["lastModifiedBy"], - lastModifiedByType: res.body.systemData?.["lastModifiedByType"], - lastModifiedAt: - res.body.systemData?.["lastModifiedAt"] !== undefined - ? new Date(res.body.systemData?.["lastModifiedAt"]) - : undefined, - }, - properties: !res.body.properties - ? undefined - : { - createMode: res.body.properties?.["createMode"], - restoreParameters: !res.body.properties?.restoreParameters - ? undefined - : { - pointInTimeUTC: - res.body.properties?.restoreParameters?.["pointInTimeUTC"] !== undefined - ? new Date(res.body.properties?.restoreParameters?.["pointInTimeUTC"]) - : undefined, - sourceResourceId: res.body.properties?.restoreParameters?.["sourceResourceId"], - }, - administratorLogin: res.body.properties?.["administratorLogin"], - administratorLoginPassword: res.body.properties?.["administratorLoginPassword"], - serverVersion: res.body.properties?.["serverVersion"], - connectionString: res.body.properties?.["connectionString"], - earliestRestoreTime: res.body.properties?.["earliestRestoreTime"], - provisioningState: res.body.properties?.["provisioningState"], - clusterStatus: res.body.properties?.["clusterStatus"], - publicNetworkAccess: res.body.properties?.["publicNetworkAccess"], - nodeGroupSpecs: - res.body.properties?.["nodeGroupSpecs"] === undefined - ? res.body.properties?.["nodeGroupSpecs"] - : res.body.properties?.["nodeGroupSpecs"].map((p) => { - return { - sku: p["sku"], - diskSizeGB: p["diskSizeGB"], - enableHa: p["enableHa"], - kind: p["kind"], - nodeCount: p["nodeCount"], - }; - }), - privateEndpointConnections: - res.body.properties?.["privateEndpointConnections"] === undefined - ? res.body.properties?.["privateEndpointConnections"] - : res.body.properties?.["privateEndpointConnections"].map((p) => { - return { - id: p["id"], - name: p["name"], - type: p["type"], - systemData: !p.systemData - ? undefined - : { - createdBy: p.systemData?.["createdBy"], - createdByType: p.systemData?.["createdByType"], - createdAt: - p.systemData?.["createdAt"] !== undefined - ? new Date(p.systemData?.["createdAt"]) - : undefined, - lastModifiedBy: p.systemData?.["lastModifiedBy"], - lastModifiedByType: p.systemData?.["lastModifiedByType"], - lastModifiedAt: - p.systemData?.["lastModifiedAt"] !== undefined - ? new Date(p.systemData?.["lastModifiedAt"]) - : undefined, - }, - properties: !p.properties - ? undefined - : { - groupIds: p.properties?.["groupIds"], - privateEndpoint: !p.properties?.privateEndpoint - ? undefined - : { id: p.properties?.privateEndpoint?.["id"] }, - privateLinkServiceConnectionState: { - status: p.properties?.privateLinkServiceConnectionState["status"], - description: - p.properties?.privateLinkServiceConnectionState["description"], - actionsRequired: - p.properties?.privateLinkServiceConnectionState["actionsRequired"], - }, - provisioningState: p.properties?.["provisioningState"], - }, - }; - }), - }, - }; -} - -/** Updates an existing mongo cluster. The request body can contain one to many of the properties present in the normal mongo cluster definition. */ -export function mongoClustersUpdate( - context: Client, - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - properties: MongoClusterUpdate, - options: MongoClustersUpdateOptionalParams = { requestOptions: {} }, -): PollerLike, MongoCluster> { - return getLongRunningPoller(context, _mongoClustersUpdateDeserialize, { - updateIntervalInMs: options?.updateIntervalInMs, - abortSignal: options?.abortSignal, - getInitialResponse: () => - _mongoClustersUpdateSend( - context, - subscriptionId, - resourceGroupName, - mongoClusterName, - properties, - options, - ), - }) as PollerLike, MongoCluster>; -} - -export function _mongoClustersDeleteSend( - context: Client, - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - options: MongoClustersDeleteOptionalParams = { requestOptions: {} }, -): StreamableMethod< - | MongoClustersDelete202Response - | MongoClustersDelete204Response - | MongoClustersDeleteDefaultResponse - | MongoClustersDeleteLogicalResponse -> { - return context - .path( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}", - subscriptionId, - resourceGroupName, - mongoClusterName, - ) - .delete({ ...operationOptionsToRequestParameters(options) }); -} - -export async function _mongoClustersDeleteDeserialize( - result: - | MongoClustersDelete202Response - | MongoClustersDelete204Response - | MongoClustersDeleteDefaultResponse - | MongoClustersDeleteLogicalResponse, -): Promise { - if (isUnexpected(result)) { - throw createRestError(result); - } - - return; -} - -/** Deletes a mongo cluster. */ -export function mongoClustersDelete( - context: Client, - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - options: MongoClustersDeleteOptionalParams = { requestOptions: {} }, -): PollerLike, void> { - return getLongRunningPoller(context, _mongoClustersDeleteDeserialize, { - updateIntervalInMs: options?.updateIntervalInMs, - abortSignal: options?.abortSignal, - getInitialResponse: () => - _mongoClustersDeleteSend( - context, - subscriptionId, - resourceGroupName, - mongoClusterName, - options, - ), - }) as PollerLike, void>; -} - -export function _mongoClustersListByResourceGroupSend( - context: Client, - subscriptionId: string, - resourceGroupName: string, - options: MongoClustersListByResourceGroupOptionalParams = { - requestOptions: {}, - }, -): StreamableMethod< - MongoClustersListByResourceGroup200Response | MongoClustersListByResourceGroupDefaultResponse -> { - return context - .path( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters", - subscriptionId, - resourceGroupName, - ) - .get({ ...operationOptionsToRequestParameters(options) }); -} - -export async function _mongoClustersListByResourceGroupDeserialize( - result: - | MongoClustersListByResourceGroup200Response - | MongoClustersListByResourceGroupDefaultResponse, -): Promise<_MongoClusterListResult> { - if (isUnexpected(result)) { - throw createRestError(result); - } - - return { - value: result.body["value"].map((p) => { - return { - tags: p["tags"], - location: p["location"], - id: p["id"], - name: p["name"], - type: p["type"], - systemData: !p.systemData - ? undefined - : { - createdBy: p.systemData?.["createdBy"], - createdByType: p.systemData?.["createdByType"], - createdAt: - p.systemData?.["createdAt"] !== undefined - ? new Date(p.systemData?.["createdAt"]) - : undefined, - lastModifiedBy: p.systemData?.["lastModifiedBy"], - lastModifiedByType: p.systemData?.["lastModifiedByType"], - lastModifiedAt: - p.systemData?.["lastModifiedAt"] !== undefined - ? new Date(p.systemData?.["lastModifiedAt"]) - : undefined, - }, - properties: !p.properties - ? undefined - : { - createMode: p.properties?.["createMode"], - restoreParameters: !p.properties?.restoreParameters - ? undefined - : { - pointInTimeUTC: - p.properties?.restoreParameters?.["pointInTimeUTC"] !== undefined - ? new Date(p.properties?.restoreParameters?.["pointInTimeUTC"]) - : undefined, - sourceResourceId: p.properties?.restoreParameters?.["sourceResourceId"], - }, - administratorLogin: p.properties?.["administratorLogin"], - administratorLoginPassword: p.properties?.["administratorLoginPassword"], - serverVersion: p.properties?.["serverVersion"], - connectionString: p.properties?.["connectionString"], - earliestRestoreTime: p.properties?.["earliestRestoreTime"], - provisioningState: p.properties?.["provisioningState"], - clusterStatus: p.properties?.["clusterStatus"], - publicNetworkAccess: p.properties?.["publicNetworkAccess"], - nodeGroupSpecs: - p.properties?.["nodeGroupSpecs"] === undefined - ? p.properties?.["nodeGroupSpecs"] - : p.properties?.["nodeGroupSpecs"].map((p) => { - return { - sku: p["sku"], - diskSizeGB: p["diskSizeGB"], - enableHa: p["enableHa"], - kind: p["kind"], - nodeCount: p["nodeCount"], - }; - }), - privateEndpointConnections: - p.properties?.["privateEndpointConnections"] === undefined - ? p.properties?.["privateEndpointConnections"] - : p.properties?.["privateEndpointConnections"].map((p) => { - return { - id: p["id"], - name: p["name"], - type: p["type"], - systemData: !p.systemData - ? undefined - : { - createdBy: p.systemData?.["createdBy"], - createdByType: p.systemData?.["createdByType"], - createdAt: - p.systemData?.["createdAt"] !== undefined - ? new Date(p.systemData?.["createdAt"]) - : undefined, - lastModifiedBy: p.systemData?.["lastModifiedBy"], - lastModifiedByType: p.systemData?.["lastModifiedByType"], - lastModifiedAt: - p.systemData?.["lastModifiedAt"] !== undefined - ? new Date(p.systemData?.["lastModifiedAt"]) - : undefined, - }, - properties: !p.properties - ? undefined - : { - groupIds: p.properties?.["groupIds"], - privateEndpoint: !p.properties?.privateEndpoint - ? undefined - : { id: p.properties?.privateEndpoint?.["id"] }, - privateLinkServiceConnectionState: { - status: p.properties?.privateLinkServiceConnectionState["status"], - description: - p.properties?.privateLinkServiceConnectionState["description"], - actionsRequired: - p.properties?.privateLinkServiceConnectionState[ - "actionsRequired" - ], - }, - provisioningState: p.properties?.["provisioningState"], - }, - }; - }), - }, - }; - }), - nextLink: result.body["nextLink"], - }; -} - -/** List all the mongo clusters in a given resource group. */ -export function mongoClustersListByResourceGroup( - context: Client, - subscriptionId: string, - resourceGroupName: string, - options: MongoClustersListByResourceGroupOptionalParams = { - requestOptions: {}, - }, -): PagedAsyncIterableIterator { - return buildPagedAsyncIterator( - context, - () => - _mongoClustersListByResourceGroupSend(context, subscriptionId, resourceGroupName, options), - _mongoClustersListByResourceGroupDeserialize, - { itemName: "value", nextLinkName: "nextLink" }, - ); -} - -export function _mongoClustersListSend( - context: Client, - subscriptionId: string, - options: MongoClustersListOptionalParams = { requestOptions: {} }, -): StreamableMethod { - return context - .path( - "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/mongoClusters", - subscriptionId, - ) - .get({ ...operationOptionsToRequestParameters(options) }); -} - -export async function _mongoClustersListDeserialize( - result: MongoClustersList200Response | MongoClustersListDefaultResponse, -): Promise<_MongoClusterListResult> { - if (isUnexpected(result)) { - throw createRestError(result); - } - - return { - value: result.body["value"].map((p) => { - return { - tags: p["tags"], - location: p["location"], - id: p["id"], - name: p["name"], - type: p["type"], - systemData: !p.systemData - ? undefined - : { - createdBy: p.systemData?.["createdBy"], - createdByType: p.systemData?.["createdByType"], - createdAt: - p.systemData?.["createdAt"] !== undefined - ? new Date(p.systemData?.["createdAt"]) - : undefined, - lastModifiedBy: p.systemData?.["lastModifiedBy"], - lastModifiedByType: p.systemData?.["lastModifiedByType"], - lastModifiedAt: - p.systemData?.["lastModifiedAt"] !== undefined - ? new Date(p.systemData?.["lastModifiedAt"]) - : undefined, - }, - properties: !p.properties - ? undefined - : { - createMode: p.properties?.["createMode"], - restoreParameters: !p.properties?.restoreParameters - ? undefined - : { - pointInTimeUTC: - p.properties?.restoreParameters?.["pointInTimeUTC"] !== undefined - ? new Date(p.properties?.restoreParameters?.["pointInTimeUTC"]) - : undefined, - sourceResourceId: p.properties?.restoreParameters?.["sourceResourceId"], - }, - administratorLogin: p.properties?.["administratorLogin"], - administratorLoginPassword: p.properties?.["administratorLoginPassword"], - serverVersion: p.properties?.["serverVersion"], - connectionString: p.properties?.["connectionString"], - earliestRestoreTime: p.properties?.["earliestRestoreTime"], - provisioningState: p.properties?.["provisioningState"], - clusterStatus: p.properties?.["clusterStatus"], - publicNetworkAccess: p.properties?.["publicNetworkAccess"], - nodeGroupSpecs: - p.properties?.["nodeGroupSpecs"] === undefined - ? p.properties?.["nodeGroupSpecs"] - : p.properties?.["nodeGroupSpecs"].map((p) => { - return { - sku: p["sku"], - diskSizeGB: p["diskSizeGB"], - enableHa: p["enableHa"], - kind: p["kind"], - nodeCount: p["nodeCount"], - }; - }), - privateEndpointConnections: - p.properties?.["privateEndpointConnections"] === undefined - ? p.properties?.["privateEndpointConnections"] - : p.properties?.["privateEndpointConnections"].map((p) => { - return { - id: p["id"], - name: p["name"], - type: p["type"], - systemData: !p.systemData - ? undefined - : { - createdBy: p.systemData?.["createdBy"], - createdByType: p.systemData?.["createdByType"], - createdAt: - p.systemData?.["createdAt"] !== undefined - ? new Date(p.systemData?.["createdAt"]) - : undefined, - lastModifiedBy: p.systemData?.["lastModifiedBy"], - lastModifiedByType: p.systemData?.["lastModifiedByType"], - lastModifiedAt: - p.systemData?.["lastModifiedAt"] !== undefined - ? new Date(p.systemData?.["lastModifiedAt"]) - : undefined, - }, - properties: !p.properties - ? undefined - : { - groupIds: p.properties?.["groupIds"], - privateEndpoint: !p.properties?.privateEndpoint - ? undefined - : { id: p.properties?.privateEndpoint?.["id"] }, - privateLinkServiceConnectionState: { - status: p.properties?.privateLinkServiceConnectionState["status"], - description: - p.properties?.privateLinkServiceConnectionState["description"], - actionsRequired: - p.properties?.privateLinkServiceConnectionState[ - "actionsRequired" - ], - }, - provisioningState: p.properties?.["provisioningState"], - }, - }; - }), - }, - }; - }), - nextLink: result.body["nextLink"], - }; -} - -/** List all the mongo clusters in a given subscription. */ -export function mongoClustersList( - context: Client, - subscriptionId: string, - options: MongoClustersListOptionalParams = { requestOptions: {} }, -): PagedAsyncIterableIterator { - return buildPagedAsyncIterator( - context, - () => _mongoClustersListSend(context, subscriptionId, options), - _mongoClustersListDeserialize, - { itemName: "value", nextLinkName: "nextLink" }, - ); -} - -export function _mongoClustersListConnectionStringsSend( - context: Client, - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - options: MongoClustersListConnectionStringsOptionalParams = { - requestOptions: {}, - }, -): StreamableMethod< - MongoClustersListConnectionStrings200Response | MongoClustersListConnectionStringsDefaultResponse -> { - return context - .path( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/listConnectionStrings", - subscriptionId, - resourceGroupName, - mongoClusterName, - ) - .post({ ...operationOptionsToRequestParameters(options) }); -} - -export async function _mongoClustersListConnectionStringsDeserialize( - result: - | MongoClustersListConnectionStrings200Response - | MongoClustersListConnectionStringsDefaultResponse, -): Promise { - if (isUnexpected(result)) { - throw createRestError(result); - } - - return { - connectionStrings: - result.body["connectionStrings"] === undefined - ? result.body["connectionStrings"] - : result.body["connectionStrings"].map((p) => { - return { - connectionString: p["connectionString"], - description: p["description"], - }; - }), - }; -} - -/** List mongo cluster connection strings. This includes the default connection string using SCRAM-SHA-256, as well as other connection strings supported by the cluster. */ -export async function mongoClustersListConnectionStrings( - context: Client, - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - options: MongoClustersListConnectionStringsOptionalParams = { - requestOptions: {}, - }, -): Promise { - const result = await _mongoClustersListConnectionStringsSend( - context, - subscriptionId, - resourceGroupName, - mongoClusterName, - options, - ); - return _mongoClustersListConnectionStringsDeserialize(result); -} - -export function _mongoClustersCheckNameAvailabilitySend( - context: Client, - subscriptionId: string, - location: string, - body: CheckNameAvailabilityRequest, - options: MongoClustersCheckNameAvailabilityOptionalParams = { - requestOptions: {}, - }, -): StreamableMethod< - MongoClustersCheckNameAvailability200Response | MongoClustersCheckNameAvailabilityDefaultResponse -> { - return context - .path( - "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/checkMongoClusterNameAvailability", - subscriptionId, - location, - ) - .post({ - ...operationOptionsToRequestParameters(options), - body: { name: body["name"], type: body["type"] }, - }); -} - -export async function _mongoClustersCheckNameAvailabilityDeserialize( - result: - | MongoClustersCheckNameAvailability200Response - | MongoClustersCheckNameAvailabilityDefaultResponse, -): Promise { - if (isUnexpected(result)) { - throw createRestError(result); - } - - return { - nameAvailable: result.body["nameAvailable"], - reason: result.body["reason"], - message: result.body["message"], - }; -} - -/** Check if mongo cluster name is available for use. */ -export async function mongoClustersCheckNameAvailability( - context: Client, - subscriptionId: string, - location: string, - body: CheckNameAvailabilityRequest, - options: MongoClustersCheckNameAvailabilityOptionalParams = { - requestOptions: {}, - }, -): Promise { - const result = await _mongoClustersCheckNameAvailabilitySend( - context, - subscriptionId, - location, - body, - options, - ); - return _mongoClustersCheckNameAvailabilityDeserialize(result); -} diff --git a/sdk/mongocluster/arm-mongocluster/src/api/operations/index.ts b/sdk/mongocluster/arm-mongocluster/src/api/operations/index.ts deleted file mode 100644 index 60e7b0471dfe..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/api/operations/index.ts +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { Operation, _OperationListResult } from "../../models/models.js"; -import { PagedAsyncIterableIterator } from "../../models/pagingTypes.js"; -import { buildPagedAsyncIterator } from "../pagingHelpers.js"; -import { - isUnexpected, - DocumentDBContext as Client, - OperationsList200Response, - OperationsListDefaultResponse, -} from "../../rest/index.js"; -import { - StreamableMethod, - operationOptionsToRequestParameters, - createRestError, -} from "@azure-rest/core-client"; -import { OperationsListOptionalParams } from "../../models/options.js"; - -export function _operationsListSend( - context: Client, - options: OperationsListOptionalParams = { requestOptions: {} }, -): StreamableMethod { - return context - .path("/providers/Microsoft.DocumentDB/operations") - .get({ ...operationOptionsToRequestParameters(options) }); -} - -export async function _operationsListDeserialize( - result: OperationsList200Response | OperationsListDefaultResponse, -): Promise<_OperationListResult> { - if (isUnexpected(result)) { - throw createRestError(result); - } - - return { - value: result.body["value"].map((p) => { - return { - name: p["name"], - isDataAction: p["isDataAction"], - display: !p.display - ? undefined - : { - provider: p.display?.["provider"], - resource: p.display?.["resource"], - operation: p.display?.["operation"], - description: p.display?.["description"], - }, - origin: p["origin"], - actionType: p["actionType"], - }; - }), - nextLink: result.body["nextLink"], - }; -} - -/** List the operations for the provider */ -export function operationsList( - context: Client, - options: OperationsListOptionalParams = { requestOptions: {} }, -): PagedAsyncIterableIterator { - return buildPagedAsyncIterator( - context, - () => _operationsListSend(context, options), - _operationsListDeserialize, - { itemName: "value", nextLinkName: "nextLink" }, - ); -} diff --git a/sdk/mongocluster/arm-mongocluster/src/api/pagingHelpers.ts b/sdk/mongocluster/arm-mongocluster/src/api/pagingHelpers.ts deleted file mode 100644 index bab1296338d2..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/api/pagingHelpers.ts +++ /dev/null @@ -1,171 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { Client, createRestError, PathUncheckedResponse } from "@azure-rest/core-client"; -import { RestError } from "@azure/core-rest-pipeline"; -import { - BuildPagedAsyncIteratorOptions, - ContinuablePage, - PageSettings, - PagedAsyncIterableIterator, - PagedResult, -} from "../models/pagingTypes.js"; -import { isUnexpected } from "../rest/index.js"; - -/** - * Helper to paginate results in a generic way and return a PagedAsyncIterableIterator - */ -export function buildPagedAsyncIterator< - TElement, - TPage = TElement[], - TPageSettings extends PageSettings = PageSettings, - TResponse extends PathUncheckedResponse = PathUncheckedResponse, ->( - client: Client, - getInitialResponse: () => PromiseLike, - processResponseBody: (result: TResponse) => PromiseLike, - options: BuildPagedAsyncIteratorOptions = {}, -): PagedAsyncIterableIterator { - const itemName = options.itemName ?? "value"; - const nextLinkName = options.nextLinkName ?? "nextLink"; - const pagedResult: PagedResult = { - getPage: async (pageLink?: string) => { - const result = - pageLink === undefined - ? await getInitialResponse() - : await client.pathUnchecked(pageLink).get(); - checkPagingRequest(result); - const results = await processResponseBody(result as TResponse); - const nextLink = getNextLink(results, nextLinkName); - const values = getElements(results, itemName) as TPage; - return { - page: values, - nextPageLink: nextLink, - }; - }, - byPage: (settings?: TPageSettings) => { - const { continuationToken } = settings ?? {}; - return getPageAsyncIterator(pagedResult, { - pageLink: continuationToken, - }); - }, - }; - return getPagedAsyncIterator(pagedResult); -} - -/** - * returns an async iterator that iterates over results. It also has a `byPage` - * method that returns pages of items at once. - * - * @param pagedResult - an object that specifies how to get pages. - * @returns a paged async iterator that iterates over results. - */ - -function getPagedAsyncIterator< - TElement, - TPage = TElement[], - TPageSettings extends PageSettings = PageSettings, ->( - pagedResult: PagedResult, -): PagedAsyncIterableIterator { - const iter = getItemAsyncIterator(pagedResult); - return { - next() { - return iter.next(); - }, - [Symbol.asyncIterator]() { - return this; - }, - byPage: - pagedResult?.byPage ?? - ((settings?: TPageSettings) => { - const { continuationToken } = settings ?? {}; - return getPageAsyncIterator(pagedResult, { - pageLink: continuationToken, - }); - }), - }; -} - -async function* getItemAsyncIterator( - pagedResult: PagedResult, -): AsyncIterableIterator { - const pages = getPageAsyncIterator(pagedResult); - for await (const page of pages) { - yield* page as unknown as TElement[]; - } -} - -async function* getPageAsyncIterator( - pagedResult: PagedResult, - options: { - pageLink?: string; - } = {}, -): AsyncIterableIterator> { - const { pageLink } = options; - let response = await pagedResult.getPage(pageLink ?? pagedResult.firstPageLink); - if (!response) { - return; - } - let result = response.page as ContinuablePage; - result.continuationToken = response.nextPageLink; - yield result; - while (response.nextPageLink) { - response = await pagedResult.getPage(response.nextPageLink); - if (!response) { - return; - } - result = response.page as ContinuablePage; - result.continuationToken = response.nextPageLink; - yield result; - } -} - -/** - * Gets for the value of nextLink in the body - */ -function getNextLink(body: unknown, nextLinkName?: string): string | undefined { - if (!nextLinkName) { - return undefined; - } - - const nextLink = (body as Record)[nextLinkName]; - - if (typeof nextLink !== "string" && typeof nextLink !== "undefined" && nextLink !== null) { - throw new RestError( - `Body Property ${nextLinkName} should be a string or undefined or null but got ${typeof nextLink}`, - ); - } - - if (nextLink === null) { - return undefined; - } - - return nextLink; -} - -/** - * Gets the elements of the current request in the body. - */ -function getElements(body: unknown, itemName: string): T[] { - const value = (body as Record)[itemName] as T[]; - if (!Array.isArray(value)) { - throw new RestError( - `Couldn't paginate response\n Body doesn't contain an array property with name: ${itemName}`, - ); - } - - return value ?? []; -} - -/** - * Checks if a request failed - */ -function checkPagingRequest(response: PathUncheckedResponse): void { - if (isUnexpected(response)) { - throw createRestError( - `Pagination failed with unexpected statusCode ${response.status}`, - response, - ); - } -} diff --git a/sdk/mongocluster/arm-mongocluster/src/api/pollingHelpers.ts b/sdk/mongocluster/arm-mongocluster/src/api/pollingHelpers.ts deleted file mode 100644 index 3bb3471ba31e..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/api/pollingHelpers.ts +++ /dev/null @@ -1,128 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { - PollerLike, - OperationState, - ResourceLocationConfig, - RunningOperation, - createHttpPoller, - OperationResponse, -} from "@azure/core-lro"; - -import { Client, PathUncheckedResponse, createRestError } from "@azure-rest/core-client"; -import { AbortSignalLike } from "@azure/abort-controller"; -import { isUnexpected } from "../rest/index.js"; - -export interface GetLongRunningPollerOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** - * The signal which can be used to abort requests. - */ - abortSignal?: AbortSignalLike; - /** - * The potential location of the result of the LRO if specified by the LRO extension in the swagger. - */ - resourceLocationConfig?: ResourceLocationConfig; - /** - * The original url of the LRO - * Should not be null when restoreFrom is set - */ - initialRequestUrl?: string; - /** - * A serialized poller which can be used to resume an existing paused Long-Running-Operation. - */ - restoreFrom?: string; - /** - * The function to get the initial response - */ - getInitialResponse?: () => PromiseLike; -} -export function getLongRunningPoller( - client: Client, - processResponseBody: (result: TResponse) => Promise, - options: GetLongRunningPollerOptions, -): PollerLike, TResult> { - const { restoreFrom, getInitialResponse } = options; - if (!restoreFrom && !getInitialResponse) { - throw new Error("Either restoreFrom or getInitialResponse must be specified"); - } - let initialResponse: TResponse | undefined = undefined; - const pollAbortController = new AbortController(); - const poller: RunningOperation = { - sendInitialRequest: async () => { - if (!getInitialResponse) { - throw new Error("getInitialResponse is required when initializing a new poller"); - } - initialResponse = await getInitialResponse(); - return getLroResponse(initialResponse); - }, - sendPollRequest: async ( - path: string, - pollOptions?: { - abortSignal?: AbortSignalLike; - }, - ) => { - // The poll request would both listen to the user provided abort signal and the poller's own abort signal - function abortListener(): void { - pollAbortController.abort(); - } - const abortSignal = pollAbortController.signal; - if (options.abortSignal?.aborted) { - pollAbortController.abort(); - } else if (pollOptions?.abortSignal?.aborted) { - pollAbortController.abort(); - } else if (!abortSignal.aborted) { - options.abortSignal?.addEventListener("abort", abortListener, { - once: true, - }); - pollOptions?.abortSignal?.addEventListener("abort", abortListener, { - once: true, - }); - } - let response; - try { - response = await client.pathUnchecked(path).get({ abortSignal }); - } finally { - options.abortSignal?.removeEventListener("abort", abortListener); - pollOptions?.abortSignal?.removeEventListener("abort", abortListener); - } - if (options.initialRequestUrl || initialResponse) { - response.headers["x-ms-original-url"] = - options.initialRequestUrl ?? initialResponse!.request.url; - } - - return getLroResponse(response as TResponse); - }, - }; - return createHttpPoller(poller, { - intervalInMs: options?.updateIntervalInMs, - resourceLocationConfig: options?.resourceLocationConfig, - restoreFrom: options?.restoreFrom, - processResult: (result: unknown) => { - return processResponseBody(result as TResponse); - }, - }); -} -/** - * Converts a Rest Client response to a response that the LRO implementation understands - * @param response - a rest client http response - * @param deserializeFn - deserialize function to convert Rest response to modular output - * @returns - An LRO response that the LRO implementation understands - */ -function getLroResponse( - response: TResponse, -): OperationResponse { - if (isUnexpected(response as PathUncheckedResponse)) { - throw createRestError(response); - } - return { - flatResponse: response, - rawResponse: { - ...response, - statusCode: Number.parseInt(response.status), - body: response.body, - }, - }; -} diff --git a/sdk/mongocluster/arm-mongocluster/src/api/privateEndpointConnections/index.ts b/sdk/mongocluster/arm-mongocluster/src/api/privateEndpointConnections/index.ts deleted file mode 100644 index abd72ce155f4..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/api/privateEndpointConnections/index.ts +++ /dev/null @@ -1,410 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { getLongRunningPoller } from "../pollingHelpers.js"; -import { PollerLike, OperationState } from "@azure/core-lro"; -import { - privateEndpointConnectionPropertiesSerializer, - PrivateEndpointConnectionResource, - _PrivateEndpointConnectionResourceListResult, -} from "../../models/models.js"; -import { PagedAsyncIterableIterator } from "../../models/pagingTypes.js"; -import { buildPagedAsyncIterator } from "../pagingHelpers.js"; -import { - isUnexpected, - DocumentDBContext as Client, - PrivateEndpointConnectionsCreate200Response, - PrivateEndpointConnectionsCreate201Response, - PrivateEndpointConnectionsCreate202Response, - PrivateEndpointConnectionsCreateDefaultResponse, - PrivateEndpointConnectionsCreateLogicalResponse, - PrivateEndpointConnectionsDelete202Response, - PrivateEndpointConnectionsDelete204Response, - PrivateEndpointConnectionsDeleteDefaultResponse, - PrivateEndpointConnectionsDeleteLogicalResponse, - PrivateEndpointConnectionsGet200Response, - PrivateEndpointConnectionsGetDefaultResponse, - PrivateEndpointConnectionsListByMongoCluster200Response, - PrivateEndpointConnectionsListByMongoClusterDefaultResponse, -} from "../../rest/index.js"; -import { - StreamableMethod, - operationOptionsToRequestParameters, - createRestError, -} from "@azure-rest/core-client"; -import { - PrivateEndpointConnectionsListByMongoClusterOptionalParams, - PrivateEndpointConnectionsGetOptionalParams, - PrivateEndpointConnectionsCreateOptionalParams, - PrivateEndpointConnectionsDeleteOptionalParams, -} from "../../models/options.js"; - -export function _privateEndpointConnectionsListByMongoClusterSend( - context: Client, - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - options: PrivateEndpointConnectionsListByMongoClusterOptionalParams = { - requestOptions: {}, - }, -): StreamableMethod< - | PrivateEndpointConnectionsListByMongoCluster200Response - | PrivateEndpointConnectionsListByMongoClusterDefaultResponse -> { - return context - .path( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections", - subscriptionId, - resourceGroupName, - mongoClusterName, - ) - .get({ ...operationOptionsToRequestParameters(options) }); -} - -export async function _privateEndpointConnectionsListByMongoClusterDeserialize( - result: - | PrivateEndpointConnectionsListByMongoCluster200Response - | PrivateEndpointConnectionsListByMongoClusterDefaultResponse, -): Promise<_PrivateEndpointConnectionResourceListResult> { - if (isUnexpected(result)) { - throw createRestError(result); - } - - return { - value: result.body["value"].map((p) => { - return { - id: p["id"], - name: p["name"], - type: p["type"], - systemData: !p.systemData - ? undefined - : { - createdBy: p.systemData?.["createdBy"], - createdByType: p.systemData?.["createdByType"], - createdAt: - p.systemData?.["createdAt"] !== undefined - ? new Date(p.systemData?.["createdAt"]) - : undefined, - lastModifiedBy: p.systemData?.["lastModifiedBy"], - lastModifiedByType: p.systemData?.["lastModifiedByType"], - lastModifiedAt: - p.systemData?.["lastModifiedAt"] !== undefined - ? new Date(p.systemData?.["lastModifiedAt"]) - : undefined, - }, - properties: !p.properties - ? undefined - : { - groupIds: p.properties?.["groupIds"], - privateEndpoint: !p.properties?.privateEndpoint - ? undefined - : { id: p.properties?.privateEndpoint?.["id"] }, - privateLinkServiceConnectionState: { - status: p.properties?.privateLinkServiceConnectionState["status"], - description: p.properties?.privateLinkServiceConnectionState["description"], - actionsRequired: p.properties?.privateLinkServiceConnectionState["actionsRequired"], - }, - provisioningState: p.properties?.["provisioningState"], - }, - }; - }), - nextLink: result.body["nextLink"], - }; -} - -/** List existing private connections */ -export function privateEndpointConnectionsListByMongoCluster( - context: Client, - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - options: PrivateEndpointConnectionsListByMongoClusterOptionalParams = { - requestOptions: {}, - }, -): PagedAsyncIterableIterator { - return buildPagedAsyncIterator( - context, - () => - _privateEndpointConnectionsListByMongoClusterSend( - context, - subscriptionId, - resourceGroupName, - mongoClusterName, - options, - ), - _privateEndpointConnectionsListByMongoClusterDeserialize, - { itemName: "value", nextLinkName: "nextLink" }, - ); -} - -export function _privateEndpointConnectionsGetSend( - context: Client, - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - privateEndpointConnectionName: string, - options: PrivateEndpointConnectionsGetOptionalParams = { requestOptions: {} }, -): StreamableMethod< - PrivateEndpointConnectionsGet200Response | PrivateEndpointConnectionsGetDefaultResponse -> { - return context - .path( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections/{privateEndpointConnectionName}", - subscriptionId, - resourceGroupName, - mongoClusterName, - privateEndpointConnectionName, - ) - .get({ ...operationOptionsToRequestParameters(options) }); -} - -export async function _privateEndpointConnectionsGetDeserialize( - result: PrivateEndpointConnectionsGet200Response | PrivateEndpointConnectionsGetDefaultResponse, -): Promise { - if (isUnexpected(result)) { - throw createRestError(result); - } - - return { - id: result.body["id"], - name: result.body["name"], - type: result.body["type"], - systemData: !result.body.systemData - ? undefined - : { - createdBy: result.body.systemData?.["createdBy"], - createdByType: result.body.systemData?.["createdByType"], - createdAt: - result.body.systemData?.["createdAt"] !== undefined - ? new Date(result.body.systemData?.["createdAt"]) - : undefined, - lastModifiedBy: result.body.systemData?.["lastModifiedBy"], - lastModifiedByType: result.body.systemData?.["lastModifiedByType"], - lastModifiedAt: - result.body.systemData?.["lastModifiedAt"] !== undefined - ? new Date(result.body.systemData?.["lastModifiedAt"]) - : undefined, - }, - properties: !result.body.properties - ? undefined - : { - groupIds: result.body.properties?.["groupIds"], - privateEndpoint: !result.body.properties?.privateEndpoint - ? undefined - : { id: result.body.properties?.privateEndpoint?.["id"] }, - privateLinkServiceConnectionState: { - status: result.body.properties?.privateLinkServiceConnectionState["status"], - description: result.body.properties?.privateLinkServiceConnectionState["description"], - actionsRequired: - result.body.properties?.privateLinkServiceConnectionState["actionsRequired"], - }, - provisioningState: result.body.properties?.["provisioningState"], - }, - }; -} - -/** Get a specific private connection */ -export async function privateEndpointConnectionsGet( - context: Client, - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - privateEndpointConnectionName: string, - options: PrivateEndpointConnectionsGetOptionalParams = { requestOptions: {} }, -): Promise { - const result = await _privateEndpointConnectionsGetSend( - context, - subscriptionId, - resourceGroupName, - mongoClusterName, - privateEndpointConnectionName, - options, - ); - return _privateEndpointConnectionsGetDeserialize(result); -} - -export function _privateEndpointConnectionsCreateSend( - context: Client, - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - privateEndpointConnectionName: string, - resource: PrivateEndpointConnectionResource, - options: PrivateEndpointConnectionsCreateOptionalParams = { - requestOptions: {}, - }, -): StreamableMethod< - | PrivateEndpointConnectionsCreate200Response - | PrivateEndpointConnectionsCreate201Response - | PrivateEndpointConnectionsCreate202Response - | PrivateEndpointConnectionsCreateDefaultResponse - | PrivateEndpointConnectionsCreateLogicalResponse -> { - return context - .path( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections/{privateEndpointConnectionName}", - subscriptionId, - resourceGroupName, - mongoClusterName, - privateEndpointConnectionName, - ) - .put({ - ...operationOptionsToRequestParameters(options), - body: { - properties: !resource.properties - ? resource.properties - : privateEndpointConnectionPropertiesSerializer(resource.properties), - }, - }); -} - -export async function _privateEndpointConnectionsCreateDeserialize( - result: - | PrivateEndpointConnectionsCreate200Response - | PrivateEndpointConnectionsCreate201Response - | PrivateEndpointConnectionsCreate202Response - | PrivateEndpointConnectionsCreateDefaultResponse - | PrivateEndpointConnectionsCreateLogicalResponse, -): Promise { - if (isUnexpected(result)) { - throw createRestError(result); - } - - const res = result as unknown as PrivateEndpointConnectionsCreateLogicalResponse; - return { - id: res.body["id"], - name: res.body["name"], - type: res.body["type"], - systemData: !res.body.systemData - ? undefined - : { - createdBy: res.body.systemData?.["createdBy"], - createdByType: res.body.systemData?.["createdByType"], - createdAt: - res.body.systemData?.["createdAt"] !== undefined - ? new Date(res.body.systemData?.["createdAt"]) - : undefined, - lastModifiedBy: res.body.systemData?.["lastModifiedBy"], - lastModifiedByType: res.body.systemData?.["lastModifiedByType"], - lastModifiedAt: - res.body.systemData?.["lastModifiedAt"] !== undefined - ? new Date(res.body.systemData?.["lastModifiedAt"]) - : undefined, - }, - properties: !res.body.properties - ? undefined - : { - groupIds: res.body.properties?.["groupIds"], - privateEndpoint: !res.body.properties?.privateEndpoint - ? undefined - : { id: res.body.properties?.privateEndpoint?.["id"] }, - privateLinkServiceConnectionState: { - status: res.body.properties?.privateLinkServiceConnectionState["status"], - description: res.body.properties?.privateLinkServiceConnectionState["description"], - actionsRequired: - res.body.properties?.privateLinkServiceConnectionState["actionsRequired"], - }, - provisioningState: res.body.properties?.["provisioningState"], - }, - }; -} - -/** Create a Private endpoint connection */ -export function privateEndpointConnectionsCreate( - context: Client, - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - privateEndpointConnectionName: string, - resource: PrivateEndpointConnectionResource, - options: PrivateEndpointConnectionsCreateOptionalParams = { - requestOptions: {}, - }, -): PollerLike< - OperationState, - PrivateEndpointConnectionResource -> { - return getLongRunningPoller(context, _privateEndpointConnectionsCreateDeserialize, { - updateIntervalInMs: options?.updateIntervalInMs, - abortSignal: options?.abortSignal, - getInitialResponse: () => - _privateEndpointConnectionsCreateSend( - context, - subscriptionId, - resourceGroupName, - mongoClusterName, - privateEndpointConnectionName, - resource, - options, - ), - }) as PollerLike< - OperationState, - PrivateEndpointConnectionResource - >; -} - -export function _privateEndpointConnectionsDeleteSend( - context: Client, - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - privateEndpointConnectionName: string, - options: PrivateEndpointConnectionsDeleteOptionalParams = { - requestOptions: {}, - }, -): StreamableMethod< - | PrivateEndpointConnectionsDelete202Response - | PrivateEndpointConnectionsDelete204Response - | PrivateEndpointConnectionsDeleteDefaultResponse - | PrivateEndpointConnectionsDeleteLogicalResponse -> { - return context - .path( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections/{privateEndpointConnectionName}", - subscriptionId, - resourceGroupName, - mongoClusterName, - privateEndpointConnectionName, - ) - .delete({ ...operationOptionsToRequestParameters(options) }); -} - -export async function _privateEndpointConnectionsDeleteDeserialize( - result: - | PrivateEndpointConnectionsDelete202Response - | PrivateEndpointConnectionsDelete204Response - | PrivateEndpointConnectionsDeleteDefaultResponse - | PrivateEndpointConnectionsDeleteLogicalResponse, -): Promise { - if (isUnexpected(result)) { - throw createRestError(result); - } - - return; -} - -/** Delete the private endpoint connection */ -export function privateEndpointConnectionsDelete( - context: Client, - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - privateEndpointConnectionName: string, - options: PrivateEndpointConnectionsDeleteOptionalParams = { - requestOptions: {}, - }, -): PollerLike, void> { - return getLongRunningPoller(context, _privateEndpointConnectionsDeleteDeserialize, { - updateIntervalInMs: options?.updateIntervalInMs, - abortSignal: options?.abortSignal, - getInitialResponse: () => - _privateEndpointConnectionsDeleteSend( - context, - subscriptionId, - resourceGroupName, - mongoClusterName, - privateEndpointConnectionName, - options, - ), - }) as PollerLike, void>; -} diff --git a/sdk/mongocluster/arm-mongocluster/src/api/privateLinks/index.ts b/sdk/mongocluster/arm-mongocluster/src/api/privateLinks/index.ts deleted file mode 100644 index ffcf69ebd364..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/api/privateLinks/index.ts +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { PrivateLinkResource, _PrivateLinkResourceListResult } from "../../models/models.js"; -import { PagedAsyncIterableIterator } from "../../models/pagingTypes.js"; -import { buildPagedAsyncIterator } from "../pagingHelpers.js"; -import { - isUnexpected, - DocumentDBContext as Client, - PrivateLinksListByMongoCluster200Response, - PrivateLinksListByMongoClusterDefaultResponse, -} from "../../rest/index.js"; -import { - StreamableMethod, - operationOptionsToRequestParameters, - createRestError, -} from "@azure-rest/core-client"; -import { PrivateLinksListByMongoClusterOptionalParams } from "../../models/options.js"; - -export function _privateLinksListByMongoClusterSend( - context: Client, - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - options: PrivateLinksListByMongoClusterOptionalParams = { - requestOptions: {}, - }, -): StreamableMethod< - PrivateLinksListByMongoCluster200Response | PrivateLinksListByMongoClusterDefaultResponse -> { - return context - .path( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateLinkResources", - subscriptionId, - resourceGroupName, - mongoClusterName, - ) - .get({ ...operationOptionsToRequestParameters(options) }); -} - -export async function _privateLinksListByMongoClusterDeserialize( - result: PrivateLinksListByMongoCluster200Response | PrivateLinksListByMongoClusterDefaultResponse, -): Promise<_PrivateLinkResourceListResult> { - if (isUnexpected(result)) { - throw createRestError(result); - } - - return { - value: result.body["value"].map((p) => { - return { - id: p["id"], - name: p["name"], - type: p["type"], - systemData: !p.systemData - ? undefined - : { - createdBy: p.systemData?.["createdBy"], - createdByType: p.systemData?.["createdByType"], - createdAt: - p.systemData?.["createdAt"] !== undefined - ? new Date(p.systemData?.["createdAt"]) - : undefined, - lastModifiedBy: p.systemData?.["lastModifiedBy"], - lastModifiedByType: p.systemData?.["lastModifiedByType"], - lastModifiedAt: - p.systemData?.["lastModifiedAt"] !== undefined - ? new Date(p.systemData?.["lastModifiedAt"]) - : undefined, - }, - properties: !p.properties - ? undefined - : { - groupId: p.properties?.["groupId"], - requiredMembers: p.properties?.["requiredMembers"], - requiredZoneNames: p.properties?.["requiredZoneNames"], - }, - }; - }), - nextLink: result.body["nextLink"], - }; -} - -/** list private links on the given resource */ -export function privateLinksListByMongoCluster( - context: Client, - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - options: PrivateLinksListByMongoClusterOptionalParams = { - requestOptions: {}, - }, -): PagedAsyncIterableIterator { - return buildPagedAsyncIterator( - context, - () => - _privateLinksListByMongoClusterSend( - context, - subscriptionId, - resourceGroupName, - mongoClusterName, - options, - ), - _privateLinksListByMongoClusterDeserialize, - { itemName: "value", nextLinkName: "nextLink" }, - ); -} diff --git a/sdk/mongocluster/arm-mongocluster/src/classic/firewallRules/index.ts b/sdk/mongocluster/arm-mongocluster/src/classic/firewallRules/index.ts deleted file mode 100644 index bc5eb126d714..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/classic/firewallRules/index.ts +++ /dev/null @@ -1,121 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { DocumentDBContext } from "../../api/mongoClusterManagementContext.js"; -import { FirewallRule } from "../../models/models.js"; -import { - firewallRulesGet, - firewallRulesCreateOrUpdate, - firewallRulesDelete, - firewallRulesListByMongoCluster, -} from "../../api/firewallRules/index.js"; -import { PagedAsyncIterableIterator } from "../../models/pagingTypes.js"; -import { PollerLike, OperationState } from "@azure/core-lro"; -import { - FirewallRulesGetOptionalParams, - FirewallRulesCreateOrUpdateOptionalParams, - FirewallRulesDeleteOptionalParams, - FirewallRulesListByMongoClusterOptionalParams, -} from "../../models/options.js"; - -/** Interface representing a FirewallRules operations. */ -export interface FirewallRulesOperations { - /** Gets information about a mongo cluster firewall rule. */ - get: ( - resourceGroupName: string, - mongoClusterName: string, - firewallRuleName: string, - options?: FirewallRulesGetOptionalParams, - ) => Promise; - /** Creates a new firewall rule or updates an existing firewall rule on a mongo cluster. */ - createOrUpdate: ( - resourceGroupName: string, - mongoClusterName: string, - firewallRuleName: string, - resource: FirewallRule, - options?: FirewallRulesCreateOrUpdateOptionalParams, - ) => PollerLike, FirewallRule>; - /** Deletes a mongo cluster firewall rule. */ - delete: ( - resourceGroupName: string, - mongoClusterName: string, - firewallRuleName: string, - options?: FirewallRulesDeleteOptionalParams, - ) => PollerLike, void>; - /** List all the firewall rules in a given mongo cluster. */ - listByMongoCluster: ( - resourceGroupName: string, - mongoClusterName: string, - options?: FirewallRulesListByMongoClusterOptionalParams, - ) => PagedAsyncIterableIterator; -} - -export function getFirewallRules(context: DocumentDBContext, subscriptionId: string) { - return { - get: ( - resourceGroupName: string, - mongoClusterName: string, - firewallRuleName: string, - options?: FirewallRulesGetOptionalParams, - ) => - firewallRulesGet( - context, - subscriptionId, - resourceGroupName, - mongoClusterName, - firewallRuleName, - options, - ), - createOrUpdate: ( - resourceGroupName: string, - mongoClusterName: string, - firewallRuleName: string, - resource: FirewallRule, - options?: FirewallRulesCreateOrUpdateOptionalParams, - ) => - firewallRulesCreateOrUpdate( - context, - subscriptionId, - resourceGroupName, - mongoClusterName, - firewallRuleName, - resource, - options, - ), - delete: ( - resourceGroupName: string, - mongoClusterName: string, - firewallRuleName: string, - options?: FirewallRulesDeleteOptionalParams, - ) => - firewallRulesDelete( - context, - subscriptionId, - resourceGroupName, - mongoClusterName, - firewallRuleName, - options, - ), - listByMongoCluster: ( - resourceGroupName: string, - mongoClusterName: string, - options?: FirewallRulesListByMongoClusterOptionalParams, - ) => - firewallRulesListByMongoCluster( - context, - subscriptionId, - resourceGroupName, - mongoClusterName, - options, - ), - }; -} - -export function getFirewallRulesOperations( - context: DocumentDBContext, - subscriptionId: string, -): FirewallRulesOperations { - return { - ...getFirewallRules(context, subscriptionId), - }; -} diff --git a/sdk/mongocluster/arm-mongocluster/src/classic/index.ts b/sdk/mongocluster/arm-mongocluster/src/classic/index.ts deleted file mode 100644 index d1346c8aa74d..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/classic/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -export { FirewallRulesOperations } from "./firewallRules/index.js"; -export { MongoClustersOperations } from "./mongoClusters/index.js"; -export { OperationsOperations } from "./operations/index.js"; -export { PrivateEndpointConnectionsOperations } from "./privateEndpointConnections/index.js"; -export { PrivateLinksOperations } from "./privateLinks/index.js"; diff --git a/sdk/mongocluster/arm-mongocluster/src/classic/mongoClusters/index.ts b/sdk/mongocluster/arm-mongocluster/src/classic/mongoClusters/index.ts deleted file mode 100644 index a59d36e069fa..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/classic/mongoClusters/index.ts +++ /dev/null @@ -1,157 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { DocumentDBContext } from "../../api/mongoClusterManagementContext.js"; -import { - MongoCluster, - MongoClusterUpdate, - ListConnectionStringsResult, - CheckNameAvailabilityRequest, - CheckNameAvailabilityResponse, -} from "../../models/models.js"; -import { - mongoClustersGet, - mongoClustersCreateOrUpdate, - mongoClustersUpdate, - mongoClustersDelete, - mongoClustersListByResourceGroup, - mongoClustersList, - mongoClustersListConnectionStrings, - mongoClustersCheckNameAvailability, -} from "../../api/mongoClusters/index.js"; -import { PagedAsyncIterableIterator } from "../../models/pagingTypes.js"; -import { PollerLike, OperationState } from "@azure/core-lro"; -import { - MongoClustersGetOptionalParams, - MongoClustersCreateOrUpdateOptionalParams, - MongoClustersUpdateOptionalParams, - MongoClustersDeleteOptionalParams, - MongoClustersListByResourceGroupOptionalParams, - MongoClustersListOptionalParams, - MongoClustersListConnectionStringsOptionalParams, - MongoClustersCheckNameAvailabilityOptionalParams, -} from "../../models/options.js"; - -/** Interface representing a MongoClusters operations. */ -export interface MongoClustersOperations { - /** Gets information about a mongo cluster. */ - get: ( - resourceGroupName: string, - mongoClusterName: string, - options?: MongoClustersGetOptionalParams, - ) => Promise; - /** Create or update a mongo cluster. Update overwrites all properties for the resource. To only modify some of the properties, use PATCH. */ - createOrUpdate: ( - resourceGroupName: string, - mongoClusterName: string, - resource: MongoCluster, - options?: MongoClustersCreateOrUpdateOptionalParams, - ) => PollerLike, MongoCluster>; - /** Updates an existing mongo cluster. The request body can contain one to many of the properties present in the normal mongo cluster definition. */ - update: ( - resourceGroupName: string, - mongoClusterName: string, - properties: MongoClusterUpdate, - options?: MongoClustersUpdateOptionalParams, - ) => PollerLike, MongoCluster>; - /** Deletes a mongo cluster. */ - delete: ( - resourceGroupName: string, - mongoClusterName: string, - options?: MongoClustersDeleteOptionalParams, - ) => PollerLike, void>; - /** List all the mongo clusters in a given resource group. */ - listByResourceGroup: ( - resourceGroupName: string, - options?: MongoClustersListByResourceGroupOptionalParams, - ) => PagedAsyncIterableIterator; - /** List all the mongo clusters in a given subscription. */ - list: (options?: MongoClustersListOptionalParams) => PagedAsyncIterableIterator; - /** List mongo cluster connection strings. This includes the default connection string using SCRAM-SHA-256, as well as other connection strings supported by the cluster. */ - listConnectionStrings: ( - resourceGroupName: string, - mongoClusterName: string, - options?: MongoClustersListConnectionStringsOptionalParams, - ) => Promise; - /** Check if mongo cluster name is available for use. */ - checkNameAvailability: ( - location: string, - body: CheckNameAvailabilityRequest, - options?: MongoClustersCheckNameAvailabilityOptionalParams, - ) => Promise; -} - -export function getMongoClusters(context: DocumentDBContext, subscriptionId: string) { - return { - get: ( - resourceGroupName: string, - mongoClusterName: string, - options?: MongoClustersGetOptionalParams, - ) => mongoClustersGet(context, subscriptionId, resourceGroupName, mongoClusterName, options), - createOrUpdate: ( - resourceGroupName: string, - mongoClusterName: string, - resource: MongoCluster, - options?: MongoClustersCreateOrUpdateOptionalParams, - ) => - mongoClustersCreateOrUpdate( - context, - subscriptionId, - resourceGroupName, - mongoClusterName, - resource, - options, - ), - update: ( - resourceGroupName: string, - mongoClusterName: string, - properties: MongoClusterUpdate, - options?: MongoClustersUpdateOptionalParams, - ) => - mongoClustersUpdate( - context, - subscriptionId, - resourceGroupName, - mongoClusterName, - properties, - options, - ), - delete: ( - resourceGroupName: string, - mongoClusterName: string, - options?: MongoClustersDeleteOptionalParams, - ) => mongoClustersDelete(context, subscriptionId, resourceGroupName, mongoClusterName, options), - listByResourceGroup: ( - resourceGroupName: string, - options?: MongoClustersListByResourceGroupOptionalParams, - ) => mongoClustersListByResourceGroup(context, subscriptionId, resourceGroupName, options), - list: (options?: MongoClustersListOptionalParams) => - mongoClustersList(context, subscriptionId, options), - listConnectionStrings: ( - resourceGroupName: string, - mongoClusterName: string, - options?: MongoClustersListConnectionStringsOptionalParams, - ) => - mongoClustersListConnectionStrings( - context, - subscriptionId, - resourceGroupName, - mongoClusterName, - options, - ), - checkNameAvailability: ( - location: string, - body: CheckNameAvailabilityRequest, - options?: MongoClustersCheckNameAvailabilityOptionalParams, - ) => mongoClustersCheckNameAvailability(context, subscriptionId, location, body, options), - }; -} - -export function getMongoClustersOperations( - context: DocumentDBContext, - subscriptionId: string, -): MongoClustersOperations { - return { - ...getMongoClusters(context, subscriptionId), - }; -} diff --git a/sdk/mongocluster/arm-mongocluster/src/classic/operations/index.ts b/sdk/mongocluster/arm-mongocluster/src/classic/operations/index.ts deleted file mode 100644 index 7b13c0afb2ce..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/classic/operations/index.ts +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { DocumentDBContext } from "../../api/mongoClusterManagementContext.js"; -import { Operation } from "../../models/models.js"; -import { operationsList } from "../../api/operations/index.js"; -import { PagedAsyncIterableIterator } from "../../models/pagingTypes.js"; -import { OperationsListOptionalParams } from "../../models/options.js"; - -/** Interface representing a Operations operations. */ -export interface OperationsOperations { - /** List the operations for the provider */ - list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator; -} - -export function getOperations(context: DocumentDBContext) { - return { - list: (options?: OperationsListOptionalParams) => operationsList(context, options), - }; -} - -export function getOperationsOperations(context: DocumentDBContext): OperationsOperations { - return { - ...getOperations(context), - }; -} diff --git a/sdk/mongocluster/arm-mongocluster/src/classic/privateEndpointConnections/index.ts b/sdk/mongocluster/arm-mongocluster/src/classic/privateEndpointConnections/index.ts deleted file mode 100644 index afa886945fcf..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/classic/privateEndpointConnections/index.ts +++ /dev/null @@ -1,124 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { DocumentDBContext } from "../../api/mongoClusterManagementContext.js"; -import { PrivateEndpointConnectionResource } from "../../models/models.js"; -import { - privateEndpointConnectionsListByMongoCluster, - privateEndpointConnectionsGet, - privateEndpointConnectionsCreate, - privateEndpointConnectionsDelete, -} from "../../api/privateEndpointConnections/index.js"; -import { PagedAsyncIterableIterator } from "../../models/pagingTypes.js"; -import { PollerLike, OperationState } from "@azure/core-lro"; -import { - PrivateEndpointConnectionsListByMongoClusterOptionalParams, - PrivateEndpointConnectionsGetOptionalParams, - PrivateEndpointConnectionsCreateOptionalParams, - PrivateEndpointConnectionsDeleteOptionalParams, -} from "../../models/options.js"; - -/** Interface representing a PrivateEndpointConnections operations. */ -export interface PrivateEndpointConnectionsOperations { - /** List existing private connections */ - listByMongoCluster: ( - resourceGroupName: string, - mongoClusterName: string, - options?: PrivateEndpointConnectionsListByMongoClusterOptionalParams, - ) => PagedAsyncIterableIterator; - /** Get a specific private connection */ - get: ( - resourceGroupName: string, - mongoClusterName: string, - privateEndpointConnectionName: string, - options?: PrivateEndpointConnectionsGetOptionalParams, - ) => Promise; - /** Create a Private endpoint connection */ - create: ( - resourceGroupName: string, - mongoClusterName: string, - privateEndpointConnectionName: string, - resource: PrivateEndpointConnectionResource, - options?: PrivateEndpointConnectionsCreateOptionalParams, - ) => PollerLike< - OperationState, - PrivateEndpointConnectionResource - >; - /** Delete the private endpoint connection */ - delete: ( - resourceGroupName: string, - mongoClusterName: string, - privateEndpointConnectionName: string, - options?: PrivateEndpointConnectionsDeleteOptionalParams, - ) => PollerLike, void>; -} - -export function getPrivateEndpointConnections(context: DocumentDBContext, subscriptionId: string) { - return { - listByMongoCluster: ( - resourceGroupName: string, - mongoClusterName: string, - options?: PrivateEndpointConnectionsListByMongoClusterOptionalParams, - ) => - privateEndpointConnectionsListByMongoCluster( - context, - subscriptionId, - resourceGroupName, - mongoClusterName, - options, - ), - get: ( - resourceGroupName: string, - mongoClusterName: string, - privateEndpointConnectionName: string, - options?: PrivateEndpointConnectionsGetOptionalParams, - ) => - privateEndpointConnectionsGet( - context, - subscriptionId, - resourceGroupName, - mongoClusterName, - privateEndpointConnectionName, - options, - ), - create: ( - resourceGroupName: string, - mongoClusterName: string, - privateEndpointConnectionName: string, - resource: PrivateEndpointConnectionResource, - options?: PrivateEndpointConnectionsCreateOptionalParams, - ) => - privateEndpointConnectionsCreate( - context, - subscriptionId, - resourceGroupName, - mongoClusterName, - privateEndpointConnectionName, - resource, - options, - ), - delete: ( - resourceGroupName: string, - mongoClusterName: string, - privateEndpointConnectionName: string, - options?: PrivateEndpointConnectionsDeleteOptionalParams, - ) => - privateEndpointConnectionsDelete( - context, - subscriptionId, - resourceGroupName, - mongoClusterName, - privateEndpointConnectionName, - options, - ), - }; -} - -export function getPrivateEndpointConnectionsOperations( - context: DocumentDBContext, - subscriptionId: string, -): PrivateEndpointConnectionsOperations { - return { - ...getPrivateEndpointConnections(context, subscriptionId), - }; -} diff --git a/sdk/mongocluster/arm-mongocluster/src/classic/privateLinks/index.ts b/sdk/mongocluster/arm-mongocluster/src/classic/privateLinks/index.ts deleted file mode 100644 index 6141131a4ceb..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/classic/privateLinks/index.ts +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { DocumentDBContext } from "../../api/mongoClusterManagementContext.js"; -import { PrivateLinkResource } from "../../models/models.js"; -import { privateLinksListByMongoCluster } from "../../api/privateLinks/index.js"; -import { PagedAsyncIterableIterator } from "../../models/pagingTypes.js"; -import { PrivateLinksListByMongoClusterOptionalParams } from "../../models/options.js"; - -/** Interface representing a PrivateLinks operations. */ -export interface PrivateLinksOperations { - /** list private links on the given resource */ - listByMongoCluster: ( - resourceGroupName: string, - mongoClusterName: string, - options?: PrivateLinksListByMongoClusterOptionalParams, - ) => PagedAsyncIterableIterator; -} - -export function getPrivateLinks(context: DocumentDBContext, subscriptionId: string) { - return { - listByMongoCluster: ( - resourceGroupName: string, - mongoClusterName: string, - options?: PrivateLinksListByMongoClusterOptionalParams, - ) => - privateLinksListByMongoCluster( - context, - subscriptionId, - resourceGroupName, - mongoClusterName, - options, - ), - }; -} - -export function getPrivateLinksOperations( - context: DocumentDBContext, - subscriptionId: string, -): PrivateLinksOperations { - return { - ...getPrivateLinks(context, subscriptionId), - }; -} diff --git a/sdk/mongocluster/arm-mongocluster/src/helpers/serializerHelpers.ts b/sdk/mongocluster/arm-mongocluster/src/helpers/serializerHelpers.ts deleted file mode 100644 index ef6a2da479ad..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/helpers/serializerHelpers.ts +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -export function serializeRecord( - item: Record, -): Record; -export function serializeRecord( - item: Record, - serializer: (item: T) => R, -): Record; -export function serializeRecord( - item: Record, - serializer?: (item: T) => R, -): Record { - return Object.keys(item).reduce( - (acc, key) => { - if (isSupportedRecordType(item[key])) { - acc[key] = item[key] as any; - } else if (serializer) { - const value = item[key]; - if (value !== undefined) { - acc[key] = serializer(value); - } - } else { - console.warn(`Don't know how to serialize ${item[key]}`); - acc[key] = item[key] as any; - } - return acc; - }, - {} as Record, - ); -} - -function isSupportedRecordType(t: any) { - return ["number", "string", "boolean", "null"].includes(typeof t) || t instanceof Date; -} diff --git a/sdk/mongocluster/arm-mongocluster/src/index.ts b/sdk/mongocluster/arm-mongocluster/src/index.ts index ad8c9b8dde82..6822050015f6 100644 --- a/sdk/mongocluster/arm-mongocluster/src/index.ts +++ b/sdk/mongocluster/arm-mongocluster/src/index.ts @@ -1,90 +1,13 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ -export { - MongoClusterManagementClient, - MongoClusterManagementClientOptionalParams, -} from "./mongoClusterManagementClient.js"; -export { restorePoller, RestorePollerOptions } from "./restorePollerHelpers.js"; -export { - Resource, - SystemData, - KnownCreatedByType, - CreatedByType, - ProxyResource, - PrivateLinkResource, - PrivateLinkResourceProperties, - ErrorResponse, - ErrorDetail, - ErrorAdditionalInfo, - PrivateEndpointConnectionResource, - PrivateEndpointConnectionProperties, - PrivateEndpoint, - PrivateLinkServiceConnectionState, - KnownPrivateEndpointServiceConnectionStatus, - PrivateEndpointServiceConnectionStatus, - KnownPrivateEndpointConnectionProvisioningState, - PrivateEndpointConnectionProvisioningState, - FirewallRule, - FirewallRuleProperties, - KnownResourceProvisioningState, - ResourceProvisioningState, - TrackedResource, - MongoCluster, - MongoClusterProperties, - KnownCreateMode, - CreateMode, - MongoClusterRestoreParameters, - KnownMongoClusterStatus, - MongoClusterStatus, - KnownPublicNetworkAccess, - PublicNetworkAccess, - NodeGroupSpec, - KnownNodeKind, - NodeKind, - PrivateEndpointConnection, - MongoClusterUpdate, - MongoClusterUpdateProperties, - ListConnectionStringsResult, - ConnectionString, - CheckNameAvailabilityRequest, - CheckNameAvailabilityResponse, - KnownCheckNameAvailabilityReason, - CheckNameAvailabilityReason, - Operation, - OperationDisplay, - KnownOrigin, - Origin, - KnownActionType, - ActionType, - Versions, - ProvisioningState, - OperationsListOptionalParams, - MongoClustersGetOptionalParams, - MongoClustersCreateOrUpdateOptionalParams, - MongoClustersUpdateOptionalParams, - MongoClustersDeleteOptionalParams, - MongoClustersListByResourceGroupOptionalParams, - MongoClustersListOptionalParams, - MongoClustersListConnectionStringsOptionalParams, - MongoClustersCheckNameAvailabilityOptionalParams, - FirewallRulesGetOptionalParams, - FirewallRulesCreateOrUpdateOptionalParams, - FirewallRulesDeleteOptionalParams, - FirewallRulesListByMongoClusterOptionalParams, - PrivateEndpointConnectionsListByMongoClusterOptionalParams, - PrivateEndpointConnectionsGetOptionalParams, - PrivateEndpointConnectionsCreateOptionalParams, - PrivateEndpointConnectionsDeleteOptionalParams, - PrivateLinksListByMongoClusterOptionalParams, - PageSettings, - ContinuablePage, - PagedAsyncIterableIterator, -} from "./models/index.js"; -export { - FirewallRulesOperations, - MongoClustersOperations, - OperationsOperations, - PrivateEndpointConnectionsOperations, - PrivateLinksOperations, -} from "./classic/index.js"; +/// +export { getContinuationToken } from "./pagingHelper"; +export * from "./models"; +export { MongoClusterManagementClientTest } from "./mongoClusterManagementClientTest"; +export * from "./operationsInterfaces"; diff --git a/sdk/mongocluster/arm-mongocluster/src/logger.ts b/sdk/mongocluster/arm-mongocluster/src/logger.ts deleted file mode 100644 index daf5a3b92a66..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/logger.ts +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { createClientLogger } from "@azure/logger"; -export const logger = createClientLogger("arm-mongocluster"); diff --git a/sdk/mongocluster/arm-mongocluster/src/lroImpl.ts b/sdk/mongocluster/arm-mongocluster/src/lroImpl.ts new file mode 100644 index 000000000000..5f88efab981b --- /dev/null +++ b/sdk/mongocluster/arm-mongocluster/src/lroImpl.ts @@ -0,0 +1,42 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { AbortSignalLike } from "@azure/abort-controller"; +import { LongRunningOperation, LroResponse } from "@azure/core-lro"; + +export function createLroSpec(inputs: { + sendOperationFn: (args: any, spec: any) => Promise>; + args: Record; + spec: { + readonly requestBody?: unknown; + readonly path?: string; + readonly httpMethod: string; + } & Record; +}): LongRunningOperation { + const { args, spec, sendOperationFn } = inputs; + return { + requestMethod: spec.httpMethod, + requestPath: spec.path!, + sendInitialRequest: () => sendOperationFn(args, spec), + sendPollRequest: ( + path: string, + options?: { abortSignal?: AbortSignalLike }, + ) => { + const { requestBody, ...restSpec } = spec; + return sendOperationFn(args, { + ...restSpec, + httpMethod: "GET", + path, + abortSignal: options?.abortSignal, + }); + }, + }; +} diff --git a/sdk/mongocluster/arm-mongocluster/src/models/index.ts b/sdk/mongocluster/arm-mongocluster/src/models/index.ts index f349b7746277..970e0cf1f128 100644 --- a/sdk/mongocluster/arm-mongocluster/src/models/index.ts +++ b/sdk/mongocluster/arm-mongocluster/src/models/index.ts @@ -1,78 +1,1194 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -export { - Resource, - SystemData, - KnownCreatedByType, - CreatedByType, - ProxyResource, - PrivateLinkResource, - PrivateLinkResourceProperties, - ErrorResponse, - ErrorDetail, - ErrorAdditionalInfo, - PrivateEndpointConnectionResource, - PrivateEndpointConnectionProperties, - PrivateEndpoint, - PrivateLinkServiceConnectionState, - KnownPrivateEndpointServiceConnectionStatus, - PrivateEndpointServiceConnectionStatus, - KnownPrivateEndpointConnectionProvisioningState, - PrivateEndpointConnectionProvisioningState, - FirewallRule, - FirewallRuleProperties, - KnownResourceProvisioningState, - ResourceProvisioningState, - TrackedResource, - MongoCluster, - MongoClusterProperties, - KnownCreateMode, - CreateMode, - MongoClusterRestoreParameters, - KnownMongoClusterStatus, - MongoClusterStatus, - KnownPublicNetworkAccess, - PublicNetworkAccess, - NodeGroupSpec, - KnownNodeKind, - NodeKind, - PrivateEndpointConnection, - MongoClusterUpdate, - MongoClusterUpdateProperties, - ListConnectionStringsResult, - ConnectionString, - CheckNameAvailabilityRequest, - CheckNameAvailabilityResponse, - KnownCheckNameAvailabilityReason, - CheckNameAvailabilityReason, - Operation, - OperationDisplay, - KnownOrigin, - Origin, - KnownActionType, - ActionType, - Versions, - ProvisioningState, -} from "./models.js"; -export { - OperationsListOptionalParams, - MongoClustersGetOptionalParams, - MongoClustersCreateOrUpdateOptionalParams, - MongoClustersUpdateOptionalParams, - MongoClustersDeleteOptionalParams, - MongoClustersListByResourceGroupOptionalParams, - MongoClustersListOptionalParams, - MongoClustersListConnectionStringsOptionalParams, - MongoClustersCheckNameAvailabilityOptionalParams, - FirewallRulesGetOptionalParams, - FirewallRulesCreateOrUpdateOptionalParams, - FirewallRulesDeleteOptionalParams, - FirewallRulesListByMongoClusterOptionalParams, - PrivateEndpointConnectionsListByMongoClusterOptionalParams, - PrivateEndpointConnectionsGetOptionalParams, - PrivateEndpointConnectionsCreateOptionalParams, - PrivateEndpointConnectionsDeleteOptionalParams, - PrivateLinksListByMongoClusterOptionalParams, -} from "./options.js"; -export { PageSettings, ContinuablePage, PagedAsyncIterableIterator } from "./pagingTypes.js"; +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import * as coreClient from "@azure/core-client"; + +/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */ +export interface OperationListResult { + /** + * List of operations supported by the resource provider + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly value?: Operation[]; + /** + * URL to get the next set of operation list results (if there are any). + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; +} + +/** Details of a REST API operation, returned from the Resource Provider Operations API */ +export interface Operation { + /** + * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly name?: string; + /** + * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly isDataAction?: boolean; + /** Localized display information for this particular operation. */ + display?: OperationDisplay; + /** + * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly origin?: Origin; + /** + * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly actionType?: ActionType; +} + +/** Localized display information for this particular operation. */ +export interface OperationDisplay { + /** + * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provider?: string; + /** + * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resource?: string; + /** + * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly operation?: string; + /** + * The short, localized friendly description of the operation; suitable for tool tips and detailed views. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly description?: string; +} + +/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */ +export interface ErrorResponse { + /** The error object. */ + error?: ErrorDetail; +} + +/** The error detail. */ +export interface ErrorDetail { + /** + * The error code. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly code?: string; + /** + * The error message. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly message?: string; + /** + * The error target. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly target?: string; + /** + * The error details. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly details?: ErrorDetail[]; + /** + * The error additional info. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly additionalInfo?: ErrorAdditionalInfo[]; +} + +/** The resource management error additional info. */ +export interface ErrorAdditionalInfo { + /** + * The additional info type. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly type?: string; + /** + * The additional info. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly info?: Record; +} + +/** The check availability request body. */ +export interface CheckNameAvailabilityRequest { + /** The name of the resource for which availability needs to be checked. */ + name?: string; + /** The resource type. */ + type?: string; +} + +/** The check availability result. */ +export interface CheckNameAvailabilityResponse { + /** Indicates if the resource name is available. */ + nameAvailable?: boolean; + /** The reason why the given name is not available. */ + reason?: CheckNameAvailabilityReason; + /** Detailed reason why the given name is available. */ + message?: string; +} + +/** The response of a MongoCluster list operation. */ +export interface MongoClusterListResult { + /** The MongoCluster items on this page */ + value: MongoCluster[]; + /** The link to the next page of items */ + nextLink?: string; +} + +/** The properties of a mongo cluster. */ +export interface MongoClusterProperties { + /** The mode to create a mongo cluster. */ + createMode?: CreateMode; + /** The parameters to create a point-in-time restore mongo cluster. */ + restoreParameters?: MongoClusterRestoreParameters; + /** The parameters to create a replica mongo cluster. */ + replicaParameters?: MongoClusterReplicaParameters; + /** The local administrator properties for the mongo cluster. */ + administrator?: AdministratorProperties; + /** The Mongo DB server version. Defaults to the latest available version if not specified. */ + serverVersion?: string; + /** + * The default mongo connection string for the cluster. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly connectionString?: string; + /** + * The provisioning state of the mongo cluster. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ProvisioningState; + /** + * The status of the mongo cluster. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly clusterStatus?: MongoClusterStatus; + /** Whether or not public endpoint access is allowed for this mongo cluster. */ + publicNetworkAccess?: PublicNetworkAccess; + /** The high availability properties of the mongo cluster. */ + highAvailability?: HighAvailabilityProperties; + /** The storage properties of the mongo cluster. */ + storage?: StorageProperties; + /** The sharding properties of the mongo cluster. */ + sharding?: ShardingProperties; + /** The compute properties of the mongo cluster. */ + compute?: ComputeProperties; + /** The backup properties of the mongo cluster. */ + backup?: BackupProperties; + /** + * List of private endpoint connections. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly privateEndpointConnections?: PrivateEndpointConnection[]; + /** List of private endpoint connections. */ + previewFeatures?: PreviewFeature[]; + /** + * The replication properties for the mongo cluster + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly replica?: ReplicationProperties; + /** + * The infrastructure version the cluster is provisioned on. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly infrastructureVersion?: string; +} + +/** Parameters used for restore operations */ +export interface MongoClusterRestoreParameters { + /** UTC point in time to restore a mongo cluster */ + pointInTimeUTC?: Date; + /** Resource ID to locate the source cluster to restore */ + sourceResourceId?: string; +} + +/** Parameters used for replica operations. */ +export interface MongoClusterReplicaParameters { + /** The id of the replication source cluster. */ + sourceResourceId: string; + /** The location of the source cluster */ + sourceLocation: string; +} + +/** The local administrator login properties. */ +export interface AdministratorProperties { + /** The administrator user name. */ + userName?: string; + /** + * The administrator password. + * This value contains a credential. Consider obscuring before showing to users + */ + password?: string; +} + +/** The high availability properties of the cluster. */ +export interface HighAvailabilityProperties { + /** The target high availability mode requested for the cluster. */ + targetMode?: HighAvailabilityMode; +} + +/** The storage properties of the cluster. This includes the data storage size and scaling applied to servers in the cluster. */ +export interface StorageProperties { + /** The size of the data disk assigned to each server. */ + sizeGb?: number; +} + +/** The sharding properties of the cluster. This includes the shard count and scaling options for the cluster. */ +export interface ShardingProperties { + /** Number of shards to provision on the cluster. */ + shardCount?: number; +} + +/** The compute properties of the cluster. This includes the virtual-cores/memory and scaling options applied to servers in the cluster. */ +export interface ComputeProperties { + /** The compute tier to assign to the cluster, where each tier maps to a virtual-core and memory size. Example values: 'M30', 'M40'. */ + tier?: string; +} + +/** The backup properties of the cluster. This includes the earliest restore time and retention settings. */ +export interface BackupProperties { + /** + * Earliest restore timestamp in UTC ISO8601 format. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly earliestRestoreTime?: string; +} + +/** Properties of the private endpoint connection. */ +export interface PrivateEndpointConnectionProperties { + /** + * The group ids for the private endpoint resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly groupIds?: string[]; + /** The private endpoint resource. */ + privateEndpoint?: PrivateEndpoint; + /** A collection of information about the state of the connection between service consumer and provider. */ + privateLinkServiceConnectionState: PrivateLinkServiceConnectionState; + /** + * The provisioning state of the private endpoint connection resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: PrivateEndpointConnectionProvisioningState; +} + +/** The private endpoint resource. */ +export interface PrivateEndpoint { + /** + * The ARM identifier for private endpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly id?: string; +} + +/** A collection of information about the state of the connection between service consumer and provider. */ +export interface PrivateLinkServiceConnectionState { + /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */ + status?: PrivateEndpointServiceConnectionStatus; + /** The reason for approval/rejection of the connection. */ + description?: string; + /** A message indicating if changes on the service provider require any updates on the consumer. */ + actionsRequired?: string; +} + +/** Common fields that are returned in the response for all Azure Resource Manager resources */ +export interface Resource { + /** + * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly id?: string; + /** + * The name of the resource + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly name?: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly type?: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly systemData?: SystemData; +} + +/** Metadata pertaining to creation and last modification of the resource. */ +export interface SystemData { + /** The identity that created the resource. */ + createdBy?: string; + /** The type of identity that created the resource. */ + createdByType?: CreatedByType; + /** The timestamp of resource creation (UTC). */ + createdAt?: Date; + /** The identity that last modified the resource. */ + lastModifiedBy?: string; + /** The type of identity that last modified the resource. */ + lastModifiedByType?: CreatedByType; + /** The timestamp of resource last modification (UTC) */ + lastModifiedAt?: Date; +} + +/** Replica properties of the mongo cluster. */ +export interface ReplicationProperties { + /** + * The resource id the source cluster for the replica cluster. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly sourceResourceId?: string; + /** + * The replication role of the cluster + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly role?: ReplicationRole; + /** + * The replication link state of the replica cluster. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly replicationState?: ReplicationState; +} + +/** The type used for update operations of the MongoCluster. */ +export interface MongoClusterUpdate { + /** Resource tags. */ + tags?: { [propertyName: string]: string }; + /** The resource-specific properties for this resource. */ + properties?: MongoClusterUpdateProperties; +} + +/** The updatable properties of the MongoCluster. */ +export interface MongoClusterUpdateProperties { + /** The local administrator properties for the mongo cluster. */ + administrator?: AdministratorProperties; + /** The Mongo DB server version. Defaults to the latest available version if not specified. */ + serverVersion?: string; + /** Whether or not public endpoint access is allowed for this mongo cluster. */ + publicNetworkAccess?: PublicNetworkAccess; + /** The high availability properties of the mongo cluster. */ + highAvailability?: HighAvailabilityProperties; + /** The storage properties of the mongo cluster. */ + storage?: StorageProperties; + /** The sharding properties of the mongo cluster. */ + sharding?: ShardingProperties; + /** The compute properties of the mongo cluster. */ + compute?: ComputeProperties; + /** The backup properties of the mongo cluster. */ + backup?: BackupProperties; + /** List of private endpoint connections. */ + previewFeatures?: PreviewFeature[]; +} + +/** The response of a FirewallRule list operation. */ +export interface FirewallRuleListResult { + /** The FirewallRule items on this page */ + value: FirewallRule[]; + /** The link to the next page of items */ + nextLink?: string; +} + +/** The properties of a mongo cluster firewall rule. */ +export interface FirewallRuleProperties { + /** + * The provisioning state of the firewall rule. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ProvisioningState; + /** The start IP address of the mongo cluster firewall rule. Must be IPv4 format. */ + startIpAddress: string; + /** The end IP address of the mongo cluster firewall rule. Must be IPv4 format. */ + endIpAddress: string; +} + +/** The connection strings for the given mongo cluster. */ +export interface ListConnectionStringsResult { + /** + * An array that contains the connection strings for a mongo cluster. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly connectionStrings?: ConnectionString[]; +} + +/** Connection string for the mongo cluster */ +export interface ConnectionString { + /** + * Value of the connection string + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly connectionString?: string; + /** + * Description of the connection string + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly description?: string; + /** + * Name of the connection string. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly name?: string; +} + +/** The response of a PrivateEndpointConnectionResource list operation. */ +export interface PrivateEndpointConnectionResourceListResult { + /** The PrivateEndpointConnectionResource items on this page */ + value: PrivateEndpointConnectionResource[]; + /** The link to the next page of items */ + nextLink?: string; +} + +/** The response of a PrivateLinkResource list operation. */ +export interface PrivateLinkResourceListResult { + /** The PrivateLinkResource items on this page */ + value: PrivateLinkResource[]; + /** The link to the next page of items */ + nextLink?: string; +} + +/** Properties of a private link resource. */ +export interface PrivateLinkResourceProperties { + /** + * The private link resource group id. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly groupId?: string; + /** + * The private link resource required member names. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly requiredMembers?: string[]; + /** The private link resource private link DNS zone name. */ + requiredZoneNames?: string[]; +} + +/** Promote replica request properties. */ +export interface PromoteReplicaRequest { + /** The promote option to apply to the operation. */ + promoteOption: PromoteOption; + /** The mode to apply to the promote operation. Value is optional and default value is 'Switchover'. */ + mode?: PromoteMode; +} + +/** The response of a Replica list operation. */ +export interface ReplicaListResult { + /** The Replica items on this page */ + value: Replica[]; + /** The link to the next page of items */ + nextLink?: string; +} + +/** The private endpoint connection resource. */ +export interface PrivateEndpointConnection extends Resource { + /** Resource properties. */ + properties?: PrivateEndpointConnectionProperties; +} + +/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */ +export interface TrackedResource extends Resource { + /** Resource tags. */ + tags?: { [propertyName: string]: string }; + /** The geo-location where the resource lives */ + location: string; +} + +/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */ +export interface ProxyResource extends Resource {} + +/** Represents a mongo cluster resource. */ +export interface MongoCluster extends TrackedResource { + /** The resource-specific properties for this resource. */ + properties?: MongoClusterProperties; +} + +/** Represents a mongo cluster firewall rule. */ +export interface FirewallRule extends ProxyResource { + /** The resource-specific properties for this resource. */ + properties?: FirewallRuleProperties; +} + +/** Concrete proxy resource types can be created by aliasing this type using a specific property type. */ +export interface PrivateEndpointConnectionResource extends ProxyResource { + /** The resource-specific properties for this resource. */ + properties?: PrivateEndpointConnectionProperties; +} + +/** Concrete proxy resource types can be created by aliasing this type using a specific property type. */ +export interface PrivateLinkResource extends ProxyResource { + /** The resource-specific properties for this resource. */ + properties?: PrivateLinkResourceProperties; +} + +/** Represents a mongo cluster replica. */ +export interface Replica extends ProxyResource { + /** The resource-specific properties for this resource. */ + properties?: MongoClusterProperties; +} + +/** Defines headers for MongoClusters_createOrUpdate operation. */ +export interface MongoClustersCreateOrUpdateHeaders { + /** The Retry-After header can indicate how long the client should wait before polling the operation status. */ + retryAfter?: number; +} + +/** Defines headers for MongoClusters_update operation. */ +export interface MongoClustersUpdateHeaders { + /** The Location header contains the URL where the status of the long running operation can be checked. */ + location?: string; + /** The Retry-After header can indicate how long the client should wait before polling the operation status. */ + retryAfter?: number; +} + +/** Defines headers for MongoClusters_delete operation. */ +export interface MongoClustersDeleteHeaders { + /** The Location header contains the URL where the status of the long running operation can be checked. */ + location?: string; + /** The Retry-After header can indicate how long the client should wait before polling the operation status. */ + retryAfter?: number; +} + +/** Defines headers for MongoClusters_promote operation. */ +export interface MongoClustersPromoteHeaders { + /** The Location header contains the URL where the status of the long running operation can be checked. */ + location?: string; + /** The Retry-After header can indicate how long the client should wait before polling the operation status. */ + retryAfter?: number; +} + +/** Defines headers for FirewallRules_createOrUpdate operation. */ +export interface FirewallRulesCreateOrUpdateHeaders { + /** The Location header contains the URL where the status of the long running operation can be checked. */ + location?: string; + /** The Retry-After header can indicate how long the client should wait before polling the operation status. */ + retryAfter?: number; +} + +/** Defines headers for FirewallRules_delete operation. */ +export interface FirewallRulesDeleteHeaders { + /** The Location header contains the URL where the status of the long running operation can be checked. */ + location?: string; + /** The Retry-After header can indicate how long the client should wait before polling the operation status. */ + retryAfter?: number; +} + +/** Defines headers for PrivateEndpointConnections_create operation. */ +export interface PrivateEndpointConnectionsCreateHeaders { + /** The Location header contains the URL where the status of the long running operation can be checked. */ + location?: string; + /** The Retry-After header can indicate how long the client should wait before polling the operation status. */ + retryAfter?: number; +} + +/** Defines headers for PrivateEndpointConnections_delete operation. */ +export interface PrivateEndpointConnectionsDeleteHeaders { + /** The Location header contains the URL where the status of the long running operation can be checked. */ + location?: string; + /** The Retry-After header can indicate how long the client should wait before polling the operation status. */ + retryAfter?: number; +} + +/** Known values of {@link Origin} that the service accepts. */ +export enum KnownOrigin { + /** User */ + User = "user", + /** System */ + System = "system", + /** UserSystem */ + UserSystem = "user,system", +} + +/** + * Defines values for Origin. \ + * {@link KnownOrigin} can be used interchangeably with Origin, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **user** \ + * **system** \ + * **user,system** + */ +export type Origin = string; + +/** Known values of {@link ActionType} that the service accepts. */ +export enum KnownActionType { + /** Internal */ + Internal = "Internal", +} + +/** + * Defines values for ActionType. \ + * {@link KnownActionType} can be used interchangeably with ActionType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Internal** + */ +export type ActionType = string; + +/** Known values of {@link CheckNameAvailabilityReason} that the service accepts. */ +export enum KnownCheckNameAvailabilityReason { + /** Invalid */ + Invalid = "Invalid", + /** AlreadyExists */ + AlreadyExists = "AlreadyExists", +} + +/** + * Defines values for CheckNameAvailabilityReason. \ + * {@link KnownCheckNameAvailabilityReason} can be used interchangeably with CheckNameAvailabilityReason, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Invalid** \ + * **AlreadyExists** + */ +export type CheckNameAvailabilityReason = string; + +/** Known values of {@link CreateMode} that the service accepts. */ +export enum KnownCreateMode { + /** Create a new mongo cluster. */ + Default = "Default", + /** Create a mongo cluster from a restore point-in-time. */ + PointInTimeRestore = "PointInTimeRestore", + /** Create a replica cluster in distinct geographic region from the source cluster. */ + GeoReplica = "GeoReplica", + /** Create a replica cluster in the same geographic region as the source cluster. */ + Replica = "Replica", +} + +/** + * Defines values for CreateMode. \ + * {@link KnownCreateMode} can be used interchangeably with CreateMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Default**: Create a new mongo cluster. \ + * **PointInTimeRestore**: Create a mongo cluster from a restore point-in-time. \ + * **GeoReplica**: Create a replica cluster in distinct geographic region from the source cluster. \ + * **Replica**: Create a replica cluster in the same geographic region as the source cluster. + */ +export type CreateMode = string; + +/** Known values of {@link ProvisioningState} that the service accepts. */ +export enum KnownProvisioningState { + /** Resource has been created. */ + Succeeded = "Succeeded", + /** Resource creation failed. */ + Failed = "Failed", + /** Resource creation was canceled. */ + Canceled = "Canceled", + /** An operation is in-progress on the resource. */ + InProgress = "InProgress", + /** An update operation is in-progress on the resource. */ + Updating = "Updating", + /** A drop operation is in-progress on the resource. */ + Dropping = "Dropping", +} + +/** + * Defines values for ProvisioningState. \ + * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Succeeded**: Resource has been created. \ + * **Failed**: Resource creation failed. \ + * **Canceled**: Resource creation was canceled. \ + * **InProgress**: An operation is in-progress on the resource. \ + * **Updating**: An update operation is in-progress on the resource. \ + * **Dropping**: A drop operation is in-progress on the resource. + */ +export type ProvisioningState = string; + +/** Known values of {@link MongoClusterStatus} that the service accepts. */ +export enum KnownMongoClusterStatus { + /** The mongo cluster resource is ready for use. */ + Ready = "Ready", + /** The mongo cluster resource is being provisioned. */ + Provisioning = "Provisioning", + /** The mongo cluster resource is being updated. */ + Updating = "Updating", + /** The mongo cluster resource is being started. */ + Starting = "Starting", + /** The mongo cluster resource is being stopped. */ + Stopping = "Stopping", + /** The mongo cluster resource is stopped. */ + Stopped = "Stopped", + /** The mongo cluster resource is being dropped. */ + Dropping = "Dropping", +} + +/** + * Defines values for MongoClusterStatus. \ + * {@link KnownMongoClusterStatus} can be used interchangeably with MongoClusterStatus, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Ready**: The mongo cluster resource is ready for use. \ + * **Provisioning**: The mongo cluster resource is being provisioned. \ + * **Updating**: The mongo cluster resource is being updated. \ + * **Starting**: The mongo cluster resource is being started. \ + * **Stopping**: The mongo cluster resource is being stopped. \ + * **Stopped**: The mongo cluster resource is stopped. \ + * **Dropping**: The mongo cluster resource is being dropped. + */ +export type MongoClusterStatus = string; + +/** Known values of {@link PublicNetworkAccess} that the service accepts. */ +export enum KnownPublicNetworkAccess { + /** If set, mongo cluster can be accessed through private and public methods. */ + Enabled = "Enabled", + /** If set, the private endpoints are the exclusive access method. */ + Disabled = "Disabled", +} + +/** + * Defines values for PublicNetworkAccess. \ + * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Enabled**: If set, mongo cluster can be accessed through private and public methods. \ + * **Disabled**: If set, the private endpoints are the exclusive access method. + */ +export type PublicNetworkAccess = string; + +/** Known values of {@link HighAvailabilityMode} that the service accepts. */ +export enum KnownHighAvailabilityMode { + /** High availability mode is disabled. This mode is can see availability impact during faults or maintenance and is not recommended for production. */ + Disabled = "Disabled", + /** High availability mode is enabled, where each server in a shard is placed in the same availability zone. */ + SameZone = "SameZone", + /** High availability mode is enabled and preferences ZoneRedundant if availability zones capacity is available in the region, otherwise falls-back to provisioning with SameZone. */ + ZoneRedundantPreferred = "ZoneRedundantPreferred", +} + +/** + * Defines values for HighAvailabilityMode. \ + * {@link KnownHighAvailabilityMode} can be used interchangeably with HighAvailabilityMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Disabled**: High availability mode is disabled. This mode is can see availability impact during faults or maintenance and is not recommended for production. \ + * **SameZone**: High availability mode is enabled, where each server in a shard is placed in the same availability zone. \ + * **ZoneRedundantPreferred**: High availability mode is enabled and preferences ZoneRedundant if availability zones capacity is available in the region, otherwise falls-back to provisioning with SameZone. + */ +export type HighAvailabilityMode = string; + +/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */ +export enum KnownPrivateEndpointServiceConnectionStatus { + /** Pending */ + Pending = "Pending", + /** Approved */ + Approved = "Approved", + /** Rejected */ + Rejected = "Rejected", +} + +/** + * Defines values for PrivateEndpointServiceConnectionStatus. \ + * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Pending** \ + * **Approved** \ + * **Rejected** + */ +export type PrivateEndpointServiceConnectionStatus = string; + +/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */ +export enum KnownPrivateEndpointConnectionProvisioningState { + /** Succeeded */ + Succeeded = "Succeeded", + /** Creating */ + Creating = "Creating", + /** Deleting */ + Deleting = "Deleting", + /** Failed */ + Failed = "Failed", +} + +/** + * Defines values for PrivateEndpointConnectionProvisioningState. \ + * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Succeeded** \ + * **Creating** \ + * **Deleting** \ + * **Failed** + */ +export type PrivateEndpointConnectionProvisioningState = string; + +/** Known values of {@link CreatedByType} that the service accepts. */ +export enum KnownCreatedByType { + /** User */ + User = "User", + /** Application */ + Application = "Application", + /** ManagedIdentity */ + ManagedIdentity = "ManagedIdentity", + /** Key */ + Key = "Key", +} + +/** + * Defines values for CreatedByType. \ + * {@link KnownCreatedByType} can be used interchangeably with CreatedByType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **User** \ + * **Application** \ + * **ManagedIdentity** \ + * **Key** + */ +export type CreatedByType = string; + +/** Known values of {@link PreviewFeature} that the service accepts. */ +export enum KnownPreviewFeature { + /** Enables geo replicas preview feature. The feature must be set at create-time on new cluster to enable linking a geo-replica cluster to it. */ + GeoReplicas = "GeoReplicas", +} + +/** + * Defines values for PreviewFeature. \ + * {@link KnownPreviewFeature} can be used interchangeably with PreviewFeature, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **GeoReplicas**: Enables geo replicas preview feature. The feature must be set at create-time on new cluster to enable linking a geo-replica cluster to it. + */ +export type PreviewFeature = string; + +/** Known values of {@link ReplicationRole} that the service accepts. */ +export enum KnownReplicationRole { + /** The cluster is a primary replica. */ + Primary = "Primary", + /** The cluster is a local asynchronous replica. */ + AsyncReplica = "AsyncReplica", + /** The cluster is a geo-asynchronous replica. */ + GeoAsyncReplica = "GeoAsyncReplica", +} + +/** + * Defines values for ReplicationRole. \ + * {@link KnownReplicationRole} can be used interchangeably with ReplicationRole, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Primary**: The cluster is a primary replica. \ + * **AsyncReplica**: The cluster is a local asynchronous replica. \ + * **GeoAsyncReplica**: The cluster is a geo-asynchronous replica. + */ +export type ReplicationRole = string; + +/** Known values of {@link ReplicationState} that the service accepts. */ +export enum KnownReplicationState { + /** Replication link is active. */ + Active = "Active", + /** Replica is catching-up with the primary. This can occur after the replica is created or after a promotion is triggered. */ + Catchup = "Catchup", + /** Replica and replication link to the primary is being created. */ + Provisioning = "Provisioning", + /** Replication link is being updated due to a change on the replica or an upgrade. */ + Updating = "Updating", + /** Replication link is broken and the replica may need to be recreated. */ + Broken = "Broken", + /** Replication link is re-configuring due to a promotion event. */ + Reconfiguring = "Reconfiguring", +} + +/** + * Defines values for ReplicationState. \ + * {@link KnownReplicationState} can be used interchangeably with ReplicationState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Active**: Replication link is active. \ + * **Catchup**: Replica is catching-up with the primary. This can occur after the replica is created or after a promotion is triggered. \ + * **Provisioning**: Replica and replication link to the primary is being created. \ + * **Updating**: Replication link is being updated due to a change on the replica or an upgrade. \ + * **Broken**: Replication link is broken and the replica may need to be recreated. \ + * **Reconfiguring**: Replication link is re-configuring due to a promotion event. + */ +export type ReplicationState = string; + +/** Known values of {@link PromoteOption} that the service accepts. */ +export enum KnownPromoteOption { + /** Promote option forces the promotion without waiting for the replica to be caught up to the primary. This can result in data-loss so should only be used during disaster recovery scenarios. */ + Forced = "Forced", +} + +/** + * Defines values for PromoteOption. \ + * {@link KnownPromoteOption} can be used interchangeably with PromoteOption, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Forced**: Promote option forces the promotion without waiting for the replica to be caught up to the primary. This can result in data-loss so should only be used during disaster recovery scenarios. + */ +export type PromoteOption = string; + +/** Known values of {@link PromoteMode} that the service accepts. */ +export enum KnownPromoteMode { + /** Promotion will switch the current replica cluster to the primary role and the original primary will be switched to a replica role, maintaining the replication link. */ + Switchover = "Switchover", +} + +/** + * Defines values for PromoteMode. \ + * {@link KnownPromoteMode} can be used interchangeably with PromoteMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Switchover**: Promotion will switch the current replica cluster to the primary role and the original primary will be switched to a replica role, maintaining the replication link. + */ +export type PromoteMode = string; + +/** Optional parameters. */ +export interface OperationsListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type OperationsListResponse = OperationListResult; + +/** Optional parameters. */ +export interface OperationsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type OperationsListNextResponse = OperationListResult; + +/** Optional parameters. */ +export interface MongoClustersCheckNameAvailabilityOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the checkNameAvailability operation. */ +export type MongoClustersCheckNameAvailabilityResponse = + CheckNameAvailabilityResponse; + +/** Optional parameters. */ +export interface MongoClustersListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type MongoClustersListResponse = MongoClusterListResult; + +/** Optional parameters. */ +export interface MongoClustersListByResourceGroupOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByResourceGroup operation. */ +export type MongoClustersListByResourceGroupResponse = MongoClusterListResult; + +/** Optional parameters. */ +export interface MongoClustersGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type MongoClustersGetResponse = MongoCluster; + +/** Optional parameters. */ +export interface MongoClustersCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the createOrUpdate operation. */ +export type MongoClustersCreateOrUpdateResponse = MongoCluster; + +/** Optional parameters. */ +export interface MongoClustersUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the update operation. */ +export type MongoClustersUpdateResponse = MongoCluster; + +/** Optional parameters. */ +export interface MongoClustersDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the delete operation. */ +export type MongoClustersDeleteResponse = MongoClustersDeleteHeaders; + +/** Optional parameters. */ +export interface MongoClustersListConnectionStringsOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listConnectionStrings operation. */ +export type MongoClustersListConnectionStringsResponse = + ListConnectionStringsResult; + +/** Optional parameters. */ +export interface MongoClustersPromoteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the promote operation. */ +export type MongoClustersPromoteResponse = MongoClustersPromoteHeaders; + +/** Optional parameters. */ +export interface MongoClustersListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type MongoClustersListNextResponse = MongoClusterListResult; + +/** Optional parameters. */ +export interface MongoClustersListByResourceGroupNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByResourceGroupNext operation. */ +export type MongoClustersListByResourceGroupNextResponse = + MongoClusterListResult; + +/** Optional parameters. */ +export interface FirewallRulesListByMongoClusterOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByMongoCluster operation. */ +export type FirewallRulesListByMongoClusterResponse = FirewallRuleListResult; + +/** Optional parameters. */ +export interface FirewallRulesGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type FirewallRulesGetResponse = FirewallRule; + +/** Optional parameters. */ +export interface FirewallRulesCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the createOrUpdate operation. */ +export type FirewallRulesCreateOrUpdateResponse = FirewallRule; + +/** Optional parameters. */ +export interface FirewallRulesDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the delete operation. */ +export type FirewallRulesDeleteResponse = FirewallRulesDeleteHeaders; + +/** Optional parameters. */ +export interface FirewallRulesListByMongoClusterNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByMongoClusterNext operation. */ +export type FirewallRulesListByMongoClusterNextResponse = + FirewallRuleListResult; + +/** Optional parameters. */ +export interface PrivateEndpointConnectionsListByMongoClusterOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByMongoCluster operation. */ +export type PrivateEndpointConnectionsListByMongoClusterResponse = + PrivateEndpointConnectionResourceListResult; + +/** Optional parameters. */ +export interface PrivateEndpointConnectionsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type PrivateEndpointConnectionsGetResponse = + PrivateEndpointConnectionResource; + +/** Optional parameters. */ +export interface PrivateEndpointConnectionsCreateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the create operation. */ +export type PrivateEndpointConnectionsCreateResponse = + PrivateEndpointConnectionResource; + +/** Optional parameters. */ +export interface PrivateEndpointConnectionsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the delete operation. */ +export type PrivateEndpointConnectionsDeleteResponse = + PrivateEndpointConnectionsDeleteHeaders; + +/** Optional parameters. */ +export interface PrivateEndpointConnectionsListByMongoClusterNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByMongoClusterNext operation. */ +export type PrivateEndpointConnectionsListByMongoClusterNextResponse = + PrivateEndpointConnectionResourceListResult; + +/** Optional parameters. */ +export interface PrivateLinksListByMongoClusterOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByMongoCluster operation. */ +export type PrivateLinksListByMongoClusterResponse = + PrivateLinkResourceListResult; + +/** Optional parameters. */ +export interface PrivateLinksListByMongoClusterNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByMongoClusterNext operation. */ +export type PrivateLinksListByMongoClusterNextResponse = + PrivateLinkResourceListResult; + +/** Optional parameters. */ +export interface ReplicasListByParentOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByParent operation. */ +export type ReplicasListByParentResponse = ReplicaListResult; + +/** Optional parameters. */ +export interface ReplicasListByParentNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByParentNext operation. */ +export type ReplicasListByParentNextResponse = ReplicaListResult; + +/** Optional parameters. */ +export interface MongoClusterManagementClientTestOptionalParams + extends coreClient.ServiceClientOptions { + /** server parameter */ + $host?: string; + /** Api Version */ + apiVersion?: string; + /** Overrides client endpoint. */ + endpoint?: string; +} diff --git a/sdk/mongocluster/arm-mongocluster/src/models/mappers.ts b/sdk/mongocluster/arm-mongocluster/src/models/mappers.ts new file mode 100644 index 000000000000..4a7406b13f93 --- /dev/null +++ b/sdk/mongocluster/arm-mongocluster/src/models/mappers.ts @@ -0,0 +1,1434 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import * as coreClient from "@azure/core-client"; + +export const OperationListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OperationListResult", + modelProperties: { + value: { + serializedName: "value", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Operation", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const Operation: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Operation", + modelProperties: { + name: { + serializedName: "name", + readOnly: true, + type: { + name: "String", + }, + }, + isDataAction: { + serializedName: "isDataAction", + readOnly: true, + type: { + name: "Boolean", + }, + }, + display: { + serializedName: "display", + type: { + name: "Composite", + className: "OperationDisplay", + }, + }, + origin: { + serializedName: "origin", + readOnly: true, + type: { + name: "String", + }, + }, + actionType: { + serializedName: "actionType", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const OperationDisplay: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OperationDisplay", + modelProperties: { + provider: { + serializedName: "provider", + readOnly: true, + type: { + name: "String", + }, + }, + resource: { + serializedName: "resource", + readOnly: true, + type: { + name: "String", + }, + }, + operation: { + serializedName: "operation", + readOnly: true, + type: { + name: "String", + }, + }, + description: { + serializedName: "description", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ErrorResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ErrorResponse", + modelProperties: { + error: { + serializedName: "error", + type: { + name: "Composite", + className: "ErrorDetail", + }, + }, + }, + }, +}; + +export const ErrorDetail: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ErrorDetail", + modelProperties: { + code: { + serializedName: "code", + readOnly: true, + type: { + name: "String", + }, + }, + message: { + serializedName: "message", + readOnly: true, + type: { + name: "String", + }, + }, + target: { + serializedName: "target", + readOnly: true, + type: { + name: "String", + }, + }, + details: { + serializedName: "details", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorDetail", + }, + }, + }, + }, + additionalInfo: { + serializedName: "additionalInfo", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorAdditionalInfo", + }, + }, + }, + }, + }, + }, +}; + +export const ErrorAdditionalInfo: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ErrorAdditionalInfo", + modelProperties: { + type: { + serializedName: "type", + readOnly: true, + type: { + name: "String", + }, + }, + info: { + serializedName: "info", + readOnly: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + }, + }, +}; + +export const CheckNameAvailabilityRequest: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CheckNameAvailabilityRequest", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String", + }, + }, + type: { + serializedName: "type", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const CheckNameAvailabilityResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CheckNameAvailabilityResponse", + modelProperties: { + nameAvailable: { + serializedName: "nameAvailable", + type: { + name: "Boolean", + }, + }, + reason: { + serializedName: "reason", + type: { + name: "String", + }, + }, + message: { + serializedName: "message", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const MongoClusterListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MongoClusterListResult", + modelProperties: { + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MongoCluster", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const MongoClusterProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MongoClusterProperties", + modelProperties: { + createMode: { + serializedName: "createMode", + type: { + name: "String", + }, + }, + restoreParameters: { + serializedName: "restoreParameters", + type: { + name: "Composite", + className: "MongoClusterRestoreParameters", + }, + }, + replicaParameters: { + serializedName: "replicaParameters", + type: { + name: "Composite", + className: "MongoClusterReplicaParameters", + }, + }, + administrator: { + serializedName: "administrator", + type: { + name: "Composite", + className: "AdministratorProperties", + }, + }, + serverVersion: { + serializedName: "serverVersion", + type: { + name: "String", + }, + }, + connectionString: { + serializedName: "connectionString", + readOnly: true, + type: { + name: "String", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + clusterStatus: { + serializedName: "clusterStatus", + readOnly: true, + type: { + name: "String", + }, + }, + publicNetworkAccess: { + serializedName: "publicNetworkAccess", + type: { + name: "String", + }, + }, + highAvailability: { + serializedName: "highAvailability", + type: { + name: "Composite", + className: "HighAvailabilityProperties", + }, + }, + storage: { + serializedName: "storage", + type: { + name: "Composite", + className: "StorageProperties", + }, + }, + sharding: { + serializedName: "sharding", + type: { + name: "Composite", + className: "ShardingProperties", + }, + }, + compute: { + serializedName: "compute", + type: { + name: "Composite", + className: "ComputeProperties", + }, + }, + backup: { + serializedName: "backup", + type: { + name: "Composite", + className: "BackupProperties", + }, + }, + privateEndpointConnections: { + serializedName: "privateEndpointConnections", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnection", + }, + }, + }, + }, + previewFeatures: { + serializedName: "previewFeatures", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + replica: { + serializedName: "replica", + type: { + name: "Composite", + className: "ReplicationProperties", + }, + }, + infrastructureVersion: { + serializedName: "infrastructureVersion", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const MongoClusterRestoreParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MongoClusterRestoreParameters", + modelProperties: { + pointInTimeUTC: { + serializedName: "pointInTimeUTC", + type: { + name: "DateTime", + }, + }, + sourceResourceId: { + serializedName: "sourceResourceId", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const MongoClusterReplicaParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MongoClusterReplicaParameters", + modelProperties: { + sourceResourceId: { + serializedName: "sourceResourceId", + required: true, + type: { + name: "String", + }, + }, + sourceLocation: { + serializedName: "sourceLocation", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const AdministratorProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AdministratorProperties", + modelProperties: { + userName: { + serializedName: "userName", + type: { + name: "String", + }, + }, + password: { + serializedName: "password", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const HighAvailabilityProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "HighAvailabilityProperties", + modelProperties: { + targetMode: { + serializedName: "targetMode", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const StorageProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "StorageProperties", + modelProperties: { + sizeGb: { + serializedName: "sizeGb", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const ShardingProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ShardingProperties", + modelProperties: { + shardCount: { + serializedName: "shardCount", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const ComputeProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeProperties", + modelProperties: { + tier: { + serializedName: "tier", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const BackupProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BackupProperties", + modelProperties: { + earliestRestoreTime: { + serializedName: "earliestRestoreTime", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const PrivateEndpointConnectionProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateEndpointConnectionProperties", + modelProperties: { + groupIds: { + serializedName: "groupIds", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + privateEndpoint: { + serializedName: "privateEndpoint", + type: { + name: "Composite", + className: "PrivateEndpoint", + }, + }, + privateLinkServiceConnectionState: { + serializedName: "privateLinkServiceConnectionState", + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionState", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const PrivateEndpoint: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateEndpoint", + modelProperties: { + id: { + serializedName: "id", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const PrivateLinkServiceConnectionState: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionState", + modelProperties: { + status: { + serializedName: "status", + type: { + name: "String", + }, + }, + description: { + serializedName: "description", + type: { + name: "String", + }, + }, + actionsRequired: { + serializedName: "actionsRequired", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const Resource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Resource", + modelProperties: { + id: { + serializedName: "id", + readOnly: true, + type: { + name: "String", + }, + }, + name: { + serializedName: "name", + readOnly: true, + type: { + name: "String", + }, + }, + type: { + serializedName: "type", + readOnly: true, + type: { + name: "String", + }, + }, + systemData: { + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData", + }, + }, + }, + }, +}; + +export const SystemData: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SystemData", + modelProperties: { + createdBy: { + serializedName: "createdBy", + type: { + name: "String", + }, + }, + createdByType: { + serializedName: "createdByType", + type: { + name: "String", + }, + }, + createdAt: { + serializedName: "createdAt", + type: { + name: "DateTime", + }, + }, + lastModifiedBy: { + serializedName: "lastModifiedBy", + type: { + name: "String", + }, + }, + lastModifiedByType: { + serializedName: "lastModifiedByType", + type: { + name: "String", + }, + }, + lastModifiedAt: { + serializedName: "lastModifiedAt", + type: { + name: "DateTime", + }, + }, + }, + }, +}; + +export const ReplicationProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ReplicationProperties", + modelProperties: { + sourceResourceId: { + serializedName: "sourceResourceId", + readOnly: true, + type: { + name: "String", + }, + }, + role: { + serializedName: "role", + readOnly: true, + type: { + name: "String", + }, + }, + replicationState: { + serializedName: "replicationState", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const MongoClusterUpdate: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MongoClusterUpdate", + modelProperties: { + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "MongoClusterUpdateProperties", + }, + }, + }, + }, +}; + +export const MongoClusterUpdateProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MongoClusterUpdateProperties", + modelProperties: { + administrator: { + serializedName: "administrator", + type: { + name: "Composite", + className: "AdministratorProperties", + }, + }, + serverVersion: { + serializedName: "serverVersion", + type: { + name: "String", + }, + }, + publicNetworkAccess: { + serializedName: "publicNetworkAccess", + type: { + name: "String", + }, + }, + highAvailability: { + serializedName: "highAvailability", + type: { + name: "Composite", + className: "HighAvailabilityProperties", + }, + }, + storage: { + serializedName: "storage", + type: { + name: "Composite", + className: "StorageProperties", + }, + }, + sharding: { + serializedName: "sharding", + type: { + name: "Composite", + className: "ShardingProperties", + }, + }, + compute: { + serializedName: "compute", + type: { + name: "Composite", + className: "ComputeProperties", + }, + }, + backup: { + serializedName: "backup", + type: { + name: "Composite", + className: "BackupProperties", + }, + }, + previewFeatures: { + serializedName: "previewFeatures", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, +}; + +export const FirewallRuleListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FirewallRuleListResult", + modelProperties: { + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FirewallRule", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const FirewallRuleProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FirewallRuleProperties", + modelProperties: { + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + startIpAddress: { + constraints: { + Pattern: new RegExp( + "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$", + ), + }, + serializedName: "startIpAddress", + required: true, + type: { + name: "String", + }, + }, + endIpAddress: { + constraints: { + Pattern: new RegExp( + "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$", + ), + }, + serializedName: "endIpAddress", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ListConnectionStringsResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ListConnectionStringsResult", + modelProperties: { + connectionStrings: { + serializedName: "connectionStrings", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectionString", + }, + }, + }, + }, + }, + }, +}; + +export const ConnectionString: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ConnectionString", + modelProperties: { + connectionString: { + serializedName: "connectionString", + readOnly: true, + type: { + name: "String", + }, + }, + description: { + serializedName: "description", + readOnly: true, + type: { + name: "String", + }, + }, + name: { + serializedName: "name", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const PrivateEndpointConnectionResourceListResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "PrivateEndpointConnectionResourceListResult", + modelProperties: { + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnectionResource", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const PrivateLinkResourceListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateLinkResourceListResult", + modelProperties: { + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateLinkResource", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const PrivateLinkResourceProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateLinkResourceProperties", + modelProperties: { + groupId: { + serializedName: "groupId", + readOnly: true, + type: { + name: "String", + }, + }, + requiredMembers: { + serializedName: "requiredMembers", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + requiredZoneNames: { + serializedName: "requiredZoneNames", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, +}; + +export const PromoteReplicaRequest: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PromoteReplicaRequest", + modelProperties: { + promoteOption: { + serializedName: "promoteOption", + required: true, + type: { + name: "String", + }, + }, + mode: { + serializedName: "mode", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ReplicaListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ReplicaListResult", + modelProperties: { + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Replica", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const PrivateEndpointConnection: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateEndpointConnection", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "PrivateEndpointConnectionProperties", + }, + }, + }, + }, +}; + +export const TrackedResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TrackedResource", + modelProperties: { + ...Resource.type.modelProperties, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + location: { + serializedName: "location", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ProxyResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ProxyResource", + modelProperties: { + ...Resource.type.modelProperties, + }, + }, +}; + +export const MongoCluster: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MongoCluster", + modelProperties: { + ...TrackedResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "MongoClusterProperties", + }, + }, + }, + }, +}; + +export const FirewallRule: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FirewallRule", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "FirewallRuleProperties", + }, + }, + }, + }, +}; + +export const PrivateEndpointConnectionResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateEndpointConnectionResource", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "PrivateEndpointConnectionProperties", + }, + }, + }, + }, +}; + +export const PrivateLinkResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateLinkResource", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "PrivateLinkResourceProperties", + }, + }, + }, + }, +}; + +export const Replica: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Replica", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "MongoClusterProperties", + }, + }, + }, + }, +}; + +export const MongoClustersCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MongoClustersCreateOrUpdateHeaders", + modelProperties: { + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const MongoClustersUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MongoClustersUpdateHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const MongoClustersDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MongoClustersDeleteHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const MongoClustersPromoteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MongoClustersPromoteHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const FirewallRulesCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FirewallRulesCreateOrUpdateHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const FirewallRulesDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FirewallRulesDeleteHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const PrivateEndpointConnectionsCreateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "PrivateEndpointConnectionsCreateHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const PrivateEndpointConnectionsDeleteHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "PrivateEndpointConnectionsDeleteHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; diff --git a/sdk/mongocluster/arm-mongocluster/src/models/models.ts b/sdk/mongocluster/arm-mongocluster/src/models/models.ts deleted file mode 100644 index a697d59ee263..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/models/models.ts +++ /dev/null @@ -1,721 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { serializeRecord } from "../helpers/serializerHelpers.js"; -import { - PrivateEndpointConnectionResource as PrivateEndpointConnectionResourceRest, - PrivateEndpointConnectionProperties as PrivateEndpointConnectionPropertiesRest, - PrivateLinkServiceConnectionState as PrivateLinkServiceConnectionStateRest, - FirewallRule as FirewallRuleRest, - FirewallRuleProperties as FirewallRulePropertiesRest, - TrackedResource as TrackedResourceRest, - MongoCluster as MongoClusterRest, - MongoClusterProperties as MongoClusterPropertiesRest, - MongoClusterRestoreParameters as MongoClusterRestoreParametersRest, - NodeGroupSpec as NodeGroupSpecRest, - MongoClusterUpdate as MongoClusterUpdateRest, - MongoClusterUpdateProperties as MongoClusterUpdatePropertiesRest, - CheckNameAvailabilityRequest as CheckNameAvailabilityRequestRest, -} from "../rest/index.js"; - -/** The response of a PrivateLinkResource list operation. */ -export interface _PrivateLinkResourceListResult { - /** The PrivateLinkResource items on this page */ - value: PrivateLinkResource[]; - /** The link to the next page of items */ - nextLink?: string; -} - -/** Common fields that are returned in the response for all Azure Resource Manager resources */ -export interface Resource { - /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ - readonly id?: string; - /** The name of the resource */ - readonly name?: string; - /** The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ - readonly type?: string; - /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */ - readonly systemData?: SystemData; -} - -export function resourceSerializer(item: Resource) { - return item as any; -} - -/** Metadata pertaining to creation and last modification of the resource. */ -export interface SystemData { - /** The identity that created the resource. */ - createdBy?: string; - /** The type of identity that created the resource. */ - createdByType?: CreatedByType; - /** The timestamp of resource creation (UTC). */ - createdAt?: Date; - /** The identity that last modified the resource. */ - lastModifiedBy?: string; - /** The type of identity that last modified the resource. */ - lastModifiedByType?: CreatedByType; - /** The timestamp of resource last modification (UTC) */ - lastModifiedAt?: Date; -} - -/** Known values of {@link CreatedByType} that the service accepts. */ -export enum KnownCreatedByType { - /** User */ - User = "User", - /** Application */ - Application = "Application", - /** ManagedIdentity */ - ManagedIdentity = "ManagedIdentity", - /** Key */ - Key = "Key", -} - -/** - * The kind of entity that created the resource. \ - * {@link KnownCreatedByType} can be used interchangeably with CreatedByType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **User** \ - * **Application** \ - * **ManagedIdentity** \ - * **Key** - */ -export type CreatedByType = string; - -/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */ -export interface ProxyResource extends Resource {} - -export function proxyResourceSerializer(item: ProxyResource) { - return item as any; -} - -/** Concrete proxy resource types can be created by aliasing this type using a specific property type. */ -export interface PrivateLinkResource extends ProxyResource { - /** The resource-specific properties for this resource. */ - properties?: PrivateLinkResourceProperties; -} - -/** Properties of a private link resource. */ -export interface PrivateLinkResourceProperties { - /** The private link resource group id. */ - readonly groupId?: string; - /** The private link resource required member names. */ - readonly requiredMembers?: string[]; - /** The private link resource private link DNS zone name. */ - requiredZoneNames?: string[]; -} - -/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */ -export interface ErrorResponse { - /** The error object. */ - error?: ErrorDetail; -} - -/** The error detail. */ -export interface ErrorDetail { - /** The error code. */ - readonly code?: string; - /** The error message. */ - readonly message?: string; - /** The error target. */ - readonly target?: string; - /** The error details. */ - readonly details?: ErrorDetail[]; - /** The error additional info. */ - readonly additionalInfo?: ErrorAdditionalInfo[]; -} - -/** The resource management error additional info. */ -export interface ErrorAdditionalInfo { - /** The additional info type. */ - readonly type?: string; - /** The additional info. */ - readonly info?: Record; -} - -/** The response of a PrivateEndpointConnectionResource list operation. */ -export interface _PrivateEndpointConnectionResourceListResult { - /** The PrivateEndpointConnectionResource items on this page */ - value: PrivateEndpointConnectionResource[]; - /** The link to the next page of items */ - nextLink?: string; -} - -/** Concrete proxy resource types can be created by aliasing this type using a specific property type. */ -export interface PrivateEndpointConnectionResource extends ProxyResource { - /** The resource-specific properties for this resource. */ - properties?: PrivateEndpointConnectionProperties; -} - -export function privateEndpointConnectionResourceSerializer( - item: PrivateEndpointConnectionResource, -): PrivateEndpointConnectionResourceRest { - return { - properties: !item.properties - ? item.properties - : privateEndpointConnectionPropertiesSerializer(item.properties), - }; -} - -/** Properties of the private endpoint connection. */ -export interface PrivateEndpointConnectionProperties { - /** The group ids for the private endpoint resource. */ - readonly groupIds?: string[]; - /** The private endpoint resource. */ - privateEndpoint?: PrivateEndpoint; - /** A collection of information about the state of the connection between service consumer and provider. */ - privateLinkServiceConnectionState: PrivateLinkServiceConnectionState; - /** The provisioning state of the private endpoint connection resource. */ - readonly provisioningState?: PrivateEndpointConnectionProvisioningState; -} - -export function privateEndpointConnectionPropertiesSerializer( - item: PrivateEndpointConnectionProperties, -): PrivateEndpointConnectionPropertiesRest { - return { - privateEndpoint: !item.privateEndpoint - ? item.privateEndpoint - : privateEndpointSerializer(item.privateEndpoint), - privateLinkServiceConnectionState: privateLinkServiceConnectionStateSerializer( - item.privateLinkServiceConnectionState, - ), - }; -} - -/** The Private Endpoint resource. */ -export interface PrivateEndpoint { - /** The resource identifier for private endpoint */ - readonly id?: string; -} - -export function privateEndpointSerializer(item: PrivateEndpoint) { - return item as any; -} - -/** A collection of information about the state of the connection between service consumer and provider. */ -export interface PrivateLinkServiceConnectionState { - /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */ - status?: PrivateEndpointServiceConnectionStatus; - /** The reason for approval/rejection of the connection. */ - description?: string; - /** A message indicating if changes on the service provider require any updates on the consumer. */ - actionsRequired?: string; -} - -export function privateLinkServiceConnectionStateSerializer( - item: PrivateLinkServiceConnectionState, -): PrivateLinkServiceConnectionStateRest { - return { - status: item["status"], - description: item["description"], - actionsRequired: item["actionsRequired"], - }; -} - -/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */ -export enum KnownPrivateEndpointServiceConnectionStatus { - /** Pending */ - Pending = "Pending", - /** Approved */ - Approved = "Approved", - /** Rejected */ - Rejected = "Rejected", -} - -/** - * The private endpoint connection status. \ - * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Pending** \ - * **Approved** \ - * **Rejected** - */ -export type PrivateEndpointServiceConnectionStatus = string; - -/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */ -export enum KnownPrivateEndpointConnectionProvisioningState { - /** Succeeded */ - Succeeded = "Succeeded", - /** Creating */ - Creating = "Creating", - /** Deleting */ - Deleting = "Deleting", - /** Failed */ - Failed = "Failed", -} - -/** - * The current provisioning state. \ - * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Succeeded** \ - * **Creating** \ - * **Deleting** \ - * **Failed** - */ -export type PrivateEndpointConnectionProvisioningState = string; - -/** Represents a mongo cluster firewall rule. */ -export interface FirewallRule extends ProxyResource { - /** The resource-specific properties for this resource. */ - properties?: FirewallRuleProperties; -} - -export function firewallRuleSerializer(item: FirewallRule): FirewallRuleRest { - return { - properties: !item.properties - ? item.properties - : firewallRulePropertiesSerializer(item.properties), - }; -} - -/** The properties of a mongo cluster firewall rule. */ -export interface FirewallRuleProperties { - /** The provisioning state of the firewall rule. */ - readonly provisioningState?: ProvisioningState; - /** The start IP address of the mongo cluster firewall rule. Must be IPv4 format. */ - startIpAddress: string; - /** The end IP address of the mongo cluster firewall rule. Must be IPv4 format. */ - endIpAddress: string; -} - -export function firewallRulePropertiesSerializer( - item: FirewallRuleProperties, -): FirewallRulePropertiesRest { - return { - startIpAddress: item["startIpAddress"], - endIpAddress: item["endIpAddress"], - }; -} - -/** Known values of {@link ResourceProvisioningState} that the service accepts. */ -export enum KnownResourceProvisioningState { - /** Succeeded */ - Succeeded = "Succeeded", - /** Failed */ - Failed = "Failed", - /** Canceled */ - Canceled = "Canceled", -} - -/** - * The provisioning state of a resource type. \ - * {@link KnownResourceProvisioningState} can be used interchangeably with ResourceProvisioningState, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Succeeded** \ - * **Failed** \ - * **Canceled** - */ -export type ResourceProvisioningState = string; - -/** The response of a FirewallRule list operation. */ -export interface _FirewallRuleListResult { - /** The FirewallRule items on this page */ - value: FirewallRule[]; - /** The link to the next page of items */ - nextLink?: string; -} - -/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */ -export interface TrackedResource extends Resource { - /** Resource tags. */ - tags?: Record; - /** The geo-location where the resource lives */ - location: string; -} - -export function trackedResourceSerializer(item: TrackedResource): TrackedResourceRest { - return { - tags: !item.tags ? item.tags : (serializeRecord(item.tags as any) as any), - location: item["location"], - }; -} - -/** Represents a mongo cluster resource. */ -export interface MongoCluster extends TrackedResource { - /** The resource-specific properties for this resource. */ - properties?: MongoClusterProperties; -} - -export function mongoClusterSerializer(item: MongoCluster): MongoClusterRest { - return { - tags: !item.tags ? item.tags : (serializeRecord(item.tags as any) as any), - location: item["location"], - properties: !item.properties - ? item.properties - : mongoClusterPropertiesSerializer(item.properties), - }; -} - -/** The properties of a mongo cluster. */ -export interface MongoClusterProperties { - /** The mode to create a mongo cluster. */ - createMode?: CreateMode; - /** The parameters to create a point-in-time restore mongo cluster. */ - restoreParameters?: MongoClusterRestoreParameters; - /** The administrator's login for the mongo cluster. */ - administratorLogin?: string; - /** The password of the administrator login. */ - administratorLoginPassword?: string; - /** The Mongo DB server version. Defaults to the latest available version if not specified. */ - serverVersion?: string; - /** The default mongo connection string for the cluster. */ - readonly connectionString?: string; - /** Earliest restore timestamp in UTC ISO8601 format. */ - readonly earliestRestoreTime?: string; - /** The provisioning state of the mongo cluster. */ - readonly provisioningState?: ProvisioningState; - /** The status of the mongo cluster. */ - readonly clusterStatus?: MongoClusterStatus; - /** Whether or not public endpoint access is allowed for this mongo cluster. */ - publicNetworkAccess?: PublicNetworkAccess; - /** The list of node group specs in the cluster. */ - nodeGroupSpecs?: NodeGroupSpec[]; - /** List of private endpoint connections. */ - readonly privateEndpointConnections?: PrivateEndpointConnection[]; -} - -export function mongoClusterPropertiesSerializer( - item: MongoClusterProperties, -): MongoClusterPropertiesRest { - return { - createMode: item["createMode"], - restoreParameters: !item.restoreParameters - ? item.restoreParameters - : mongoClusterRestoreParametersSerializer(item.restoreParameters), - administratorLogin: item["administratorLogin"], - administratorLoginPassword: item["administratorLoginPassword"], - serverVersion: item["serverVersion"], - publicNetworkAccess: item["publicNetworkAccess"], - nodeGroupSpecs: - item["nodeGroupSpecs"] === undefined - ? item["nodeGroupSpecs"] - : item["nodeGroupSpecs"].map(nodeGroupSpecSerializer), - }; -} - -/** Known values of {@link CreateMode} that the service accepts. */ -export enum KnownCreateMode { - /** Default */ - Default = "Default", - /** PointInTimeRestore */ - PointInTimeRestore = "PointInTimeRestore", -} - -/** - * The mode that the Mongo Cluster is created with. \ - * {@link KnownCreateMode} can be used interchangeably with CreateMode, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Default** \ - * **PointInTimeRestore** - */ -export type CreateMode = string; - -/** Parameters used for restore operations */ -export interface MongoClusterRestoreParameters { - /** UTC point in time to restore a mongo cluster */ - pointInTimeUTC?: Date; - /** Resource ID to locate the source cluster to restore */ - sourceResourceId?: string; -} - -export function mongoClusterRestoreParametersSerializer( - item: MongoClusterRestoreParameters, -): MongoClusterRestoreParametersRest { - return { - pointInTimeUTC: item["pointInTimeUTC"]?.toISOString(), - sourceResourceId: item["sourceResourceId"], - }; -} - -/** Known values of {@link MongoClusterStatus} that the service accepts. */ -export enum KnownMongoClusterStatus { - /** Ready */ - Ready = "Ready", - /** Provisioning */ - Provisioning = "Provisioning", - /** Updating */ - Updating = "Updating", - /** Starting */ - Starting = "Starting", - /** Stopping */ - Stopping = "Stopping", - /** Stopped */ - Stopped = "Stopped", - /** Dropping */ - Dropping = "Dropping", -} - -/** - * The status of the Mongo cluster resource. \ - * {@link KnownMongoClusterStatus} can be used interchangeably with MongoClusterStatus, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Ready** \ - * **Provisioning** \ - * **Updating** \ - * **Starting** \ - * **Stopping** \ - * **Stopped** \ - * **Dropping** - */ -export type MongoClusterStatus = string; - -/** Known values of {@link PublicNetworkAccess} that the service accepts. */ -export enum KnownPublicNetworkAccess { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", -} - -/** - * Whether or not public endpoint access is allowed for this Mongo cluster. Value is optional and default value is 'Enabled' \ - * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Enabled** \ - * **Disabled** - */ -export type PublicNetworkAccess = string; - -/** Specification for a node group. */ -export interface NodeGroupSpec { - /** The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'. */ - sku?: string; - /** The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024. */ - diskSizeGB?: number; - /** Whether high availability is enabled on the node group. */ - enableHa?: boolean; - /** The node type deployed in the node group. */ - kind?: NodeKind; - /** The number of nodes in the node group. */ - nodeCount?: number; -} - -export function nodeGroupSpecSerializer(item: NodeGroupSpec): NodeGroupSpecRest { - return { - sku: item["sku"], - diskSizeGB: item["diskSizeGB"], - enableHa: item["enableHa"], - kind: item["kind"], - nodeCount: item["nodeCount"], - }; -} - -/** Known values of {@link NodeKind} that the service accepts. */ -export enum KnownNodeKind { - /** Shard */ - Shard = "Shard", -} - -/** - * The kind of the node on the cluster. \ - * {@link KnownNodeKind} can be used interchangeably with NodeKind, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Shard** - */ -export type NodeKind = string; - -/** The private endpoint connection resource */ -export interface PrivateEndpointConnection extends Resource { - /** The private endpoint connection properties */ - properties?: PrivateEndpointConnectionProperties; -} - -/** The type used for update operations of the MongoCluster. */ -export interface MongoClusterUpdate { - /** Resource tags. */ - tags?: Record; - /** The resource-specific properties for this resource. */ - properties?: MongoClusterUpdateProperties; -} - -export function mongoClusterUpdateSerializer(item: MongoClusterUpdate): MongoClusterUpdateRest { - return { - tags: !item.tags ? item.tags : (serializeRecord(item.tags as any) as any), - properties: !item.properties - ? item.properties - : mongoClusterUpdatePropertiesSerializer(item.properties), - }; -} - -/** The updatable properties of the MongoCluster. */ -export interface MongoClusterUpdateProperties { - /** The administrator's login for the mongo cluster. */ - administratorLogin?: string; - /** The password of the administrator login. */ - administratorLoginPassword?: string; - /** The Mongo DB server version. Defaults to the latest available version if not specified. */ - serverVersion?: string; - /** Whether or not public endpoint access is allowed for this mongo cluster. */ - publicNetworkAccess?: PublicNetworkAccess; - /** The list of node group specs in the cluster. */ - nodeGroupSpecs?: NodeGroupSpec[]; -} - -export function mongoClusterUpdatePropertiesSerializer( - item: MongoClusterUpdateProperties, -): MongoClusterUpdatePropertiesRest { - return { - administratorLogin: item["administratorLogin"], - administratorLoginPassword: item["administratorLoginPassword"], - serverVersion: item["serverVersion"], - publicNetworkAccess: item["publicNetworkAccess"], - nodeGroupSpecs: - item["nodeGroupSpecs"] === undefined - ? item["nodeGroupSpecs"] - : item["nodeGroupSpecs"].map(nodeGroupSpecSerializer), - }; -} - -/** The response of a MongoCluster list operation. */ -export interface _MongoClusterListResult { - /** The MongoCluster items on this page */ - value: MongoCluster[]; - /** The link to the next page of items */ - nextLink?: string; -} - -/** The connection strings for the given mongo cluster. */ -export interface ListConnectionStringsResult { - /** An array that contains the connection strings for a mongo cluster. */ - readonly connectionStrings?: ConnectionString[]; -} - -/** Connection string for the mongo cluster */ -export interface ConnectionString { - /** Value of the connection string */ - readonly connectionString?: string; - /** Description of the connection string */ - readonly description?: string; -} - -/** The check availability request body. */ -export interface CheckNameAvailabilityRequest { - /** The name of the resource for which availability needs to be checked. */ - name?: string; - /** The resource type. */ - type?: string; -} - -export function checkNameAvailabilityRequestSerializer( - item: CheckNameAvailabilityRequest, -): CheckNameAvailabilityRequestRest { - return { - name: item["name"], - type: item["type"], - }; -} - -/** The check availability result. */ -export interface CheckNameAvailabilityResponse { - /** Indicates if the resource name is available. */ - nameAvailable?: boolean; - /** The reason why the given name is not available. */ - reason?: CheckNameAvailabilityReason; - /** Detailed reason why the given name is not available. */ - message?: string; -} - -/** Known values of {@link CheckNameAvailabilityReason} that the service accepts. */ -export enum KnownCheckNameAvailabilityReason { - /** Invalid */ - Invalid = "Invalid", - /** AlreadyExists */ - AlreadyExists = "AlreadyExists", -} - -/** - * Possible reasons for a name not being available. \ - * {@link KnownCheckNameAvailabilityReason} can be used interchangeably with CheckNameAvailabilityReason, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Invalid** \ - * **AlreadyExists** - */ -export type CheckNameAvailabilityReason = string; - -/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */ -export interface _OperationListResult { - /** The Operation items on this page */ - value: Operation[]; - /** The link to the next page of items */ - nextLink?: string; -} - -/** Details of a REST API operation, returned from the Resource Provider Operations API */ -export interface Operation { - /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" */ - readonly name?: string; - /** Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for Azure Resource Manager/control-plane operations. */ - readonly isDataAction?: boolean; - /** Localized display information for this particular operation. */ - readonly display?: OperationDisplay; - /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */ - readonly origin?: Origin; - /** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */ - actionType?: ActionType; -} - -/** Localized display information for and operation. */ -export interface OperationDisplay { - /** The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". */ - readonly provider?: string; - /** The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". */ - readonly resource?: string; - /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". */ - readonly operation?: string; - /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */ - readonly description?: string; -} - -/** Known values of {@link Origin} that the service accepts. */ -export enum KnownOrigin { - /** user */ - user = "user", - /** system */ - system = "system", - /** user,system */ - "user,system" = "user,system", -} - -/** - * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" \ - * {@link KnownOrigin} can be used interchangeably with Origin, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **user** \ - * **system** \ - * **user,system** - */ -export type Origin = string; - -/** Known values of {@link ActionType} that the service accepts. */ -export enum KnownActionType { - /** Internal */ - Internal = "Internal", -} - -/** - * Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. \ - * {@link KnownActionType} can be used interchangeably with ActionType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Internal** - */ -export type ActionType = string; -/** The available API versions. */ -export type Versions = "2024-03-01-preview"; -/** Alias for ProvisioningState */ -export type ProvisioningState = - | string - | ResourceProvisioningState - | "InProgress" - | "Updating" - | "Dropping"; diff --git a/sdk/mongocluster/arm-mongocluster/src/models/options.ts b/sdk/mongocluster/arm-mongocluster/src/models/options.ts deleted file mode 100644 index 0e43ea477a6c..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/models/options.ts +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { OperationOptions } from "@azure-rest/core-client"; - -/** Optional parameters. */ -export interface OperationsListOptionalParams extends OperationOptions {} - -/** Optional parameters. */ -export interface MongoClustersGetOptionalParams extends OperationOptions {} - -/** Optional parameters. */ -export interface MongoClustersCreateOrUpdateOptionalParams extends OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; -} - -/** Optional parameters. */ -export interface MongoClustersUpdateOptionalParams extends OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; -} - -/** Optional parameters. */ -export interface MongoClustersDeleteOptionalParams extends OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; -} - -/** Optional parameters. */ -export interface MongoClustersListByResourceGroupOptionalParams extends OperationOptions {} - -/** Optional parameters. */ -export interface MongoClustersListOptionalParams extends OperationOptions {} - -/** Optional parameters. */ -export interface MongoClustersListConnectionStringsOptionalParams extends OperationOptions {} - -/** Optional parameters. */ -export interface MongoClustersCheckNameAvailabilityOptionalParams extends OperationOptions {} - -/** Optional parameters. */ -export interface FirewallRulesGetOptionalParams extends OperationOptions {} - -/** Optional parameters. */ -export interface FirewallRulesCreateOrUpdateOptionalParams extends OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; -} - -/** Optional parameters. */ -export interface FirewallRulesDeleteOptionalParams extends OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; -} - -/** Optional parameters. */ -export interface FirewallRulesListByMongoClusterOptionalParams extends OperationOptions {} - -/** Optional parameters. */ -export interface PrivateEndpointConnectionsListByMongoClusterOptionalParams - extends OperationOptions {} - -/** Optional parameters. */ -export interface PrivateEndpointConnectionsGetOptionalParams extends OperationOptions {} - -/** Optional parameters. */ -export interface PrivateEndpointConnectionsCreateOptionalParams extends OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; -} - -/** Optional parameters. */ -export interface PrivateEndpointConnectionsDeleteOptionalParams extends OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; -} - -/** Optional parameters. */ -export interface PrivateLinksListByMongoClusterOptionalParams extends OperationOptions {} diff --git a/sdk/mongocluster/arm-mongocluster/src/models/pagingTypes.ts b/sdk/mongocluster/arm-mongocluster/src/models/pagingTypes.ts deleted file mode 100644 index d37f9ed95c4e..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/models/pagingTypes.ts +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -/** - * Options for the byPage method - */ -export interface PageSettings { - /** - * A reference to a specific page to start iterating from. - */ - continuationToken?: string; -} - -/** - * An interface that describes a page of results. - */ -export type ContinuablePage = TPage & { - /** - * The token that keeps track of where to continue the iterator - */ - continuationToken?: string; -}; - -/** - * An interface that allows async iterable iteration both to completion and by page. - */ -export interface PagedAsyncIterableIterator< - TElement, - TPage = TElement[], - TPageSettings extends PageSettings = PageSettings, -> { - /** - * The next method, part of the iteration protocol - */ - next(): Promise>; - /** - * The connection to the async iterator, part of the iteration protocol - */ - [Symbol.asyncIterator](): PagedAsyncIterableIterator; - /** - * Return an AsyncIterableIterator that works a page at a time - */ - byPage: (settings?: TPageSettings) => AsyncIterableIterator>; -} - -/** - * An interface that describes how to communicate with the service. - */ -export interface PagedResult< - TElement, - TPage = TElement[], - TPageSettings extends PageSettings = PageSettings, -> { - /** - * Link to the first page of results. - */ - firstPageLink?: string; - /** - * A method that returns a page of results. - */ - getPage: (pageLink?: string) => Promise<{ page: TPage; nextPageLink?: string } | undefined>; - /** - * a function to implement the `byPage` method on the paged async iterator. - */ - byPage?: (settings?: TPageSettings) => AsyncIterableIterator>; - - /** - * A function to extract elements from a page. - */ - toElements?: (page: TPage) => TElement[]; -} - -/** - * Options for the paging helper - */ -export interface BuildPagedAsyncIteratorOptions { - itemName?: string; - nextLinkName?: string; -} diff --git a/sdk/mongocluster/arm-mongocluster/src/models/parameters.ts b/sdk/mongocluster/arm-mongocluster/src/models/parameters.ts new file mode 100644 index 000000000000..25972408b3f8 --- /dev/null +++ b/sdk/mongocluster/arm-mongocluster/src/models/parameters.ts @@ -0,0 +1,194 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + OperationParameter, + OperationURLParameter, + OperationQueryParameter, +} from "@azure/core-client"; +import { + CheckNameAvailabilityRequest as CheckNameAvailabilityRequestMapper, + MongoCluster as MongoClusterMapper, + MongoClusterUpdate as MongoClusterUpdateMapper, + PromoteReplicaRequest as PromoteReplicaRequestMapper, + FirewallRule as FirewallRuleMapper, + PrivateEndpointConnectionResource as PrivateEndpointConnectionResourceMapper, +} from "../models/mappers"; + +export const accept: OperationParameter = { + parameterPath: "accept", + mapper: { + defaultValue: "application/json", + isConstant: true, + serializedName: "Accept", + type: { + name: "String", + }, + }, +}; + +export const $host: OperationURLParameter = { + parameterPath: "$host", + mapper: { + serializedName: "$host", + required: true, + type: { + name: "String", + }, + }, + skipEncoding: true, +}; + +export const apiVersion: OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + defaultValue: "2024-07-01", + isConstant: true, + serializedName: "api-version", + type: { + name: "String", + }, + }, +}; + +export const nextLink: OperationURLParameter = { + parameterPath: "nextLink", + mapper: { + serializedName: "nextLink", + required: true, + type: { + name: "String", + }, + }, + skipEncoding: true, +}; + +export const contentType: OperationParameter = { + parameterPath: ["options", "contentType"], + mapper: { + defaultValue: "application/json", + isConstant: true, + serializedName: "Content-Type", + type: { + name: "String", + }, + }, +}; + +export const body: OperationParameter = { + parameterPath: "body", + mapper: CheckNameAvailabilityRequestMapper, +}; + +export const subscriptionId: OperationURLParameter = { + parameterPath: "subscriptionId", + mapper: { + serializedName: "subscriptionId", + required: true, + type: { + name: "Uuid", + }, + }, +}; + +export const location: OperationURLParameter = { + parameterPath: "location", + mapper: { + constraints: { + MinLength: 1, + }, + serializedName: "location", + required: true, + type: { + name: "String", + }, + }, +}; + +export const resourceGroupName: OperationURLParameter = { + parameterPath: "resourceGroupName", + mapper: { + constraints: { + MaxLength: 90, + MinLength: 1, + }, + serializedName: "resourceGroupName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const mongoClusterName: OperationURLParameter = { + parameterPath: "mongoClusterName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-z0-9]+(-[a-z0-9]+)*"), + MaxLength: 40, + MinLength: 3, + }, + serializedName: "mongoClusterName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const resource: OperationParameter = { + parameterPath: "resource", + mapper: MongoClusterMapper, +}; + +export const properties: OperationParameter = { + parameterPath: "properties", + mapper: MongoClusterUpdateMapper, +}; + +export const body1: OperationParameter = { + parameterPath: "body", + mapper: PromoteReplicaRequestMapper, +}; + +export const firewallRuleName: OperationURLParameter = { + parameterPath: "firewallRuleName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][-_.a-zA-Z0-9]*"), + MaxLength: 80, + MinLength: 1, + }, + serializedName: "firewallRuleName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const resource1: OperationParameter = { + parameterPath: "resource", + mapper: FirewallRuleMapper, +}; + +export const privateEndpointConnectionName: OperationURLParameter = { + parameterPath: "privateEndpointConnectionName", + mapper: { + serializedName: "privateEndpointConnectionName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const resource2: OperationParameter = { + parameterPath: "resource", + mapper: PrivateEndpointConnectionResourceMapper, +}; diff --git a/sdk/mongocluster/arm-mongocluster/src/mongoClusterManagementClient.ts b/sdk/mongocluster/arm-mongocluster/src/mongoClusterManagementClient.ts deleted file mode 100644 index 6e514d19fd3e..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/mongoClusterManagementClient.ts +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { TokenCredential } from "@azure/core-auth"; -import { Pipeline } from "@azure/core-rest-pipeline"; -import { getOperationsOperations, OperationsOperations } from "./classic/operations/index.js"; -import { - getMongoClustersOperations, - MongoClustersOperations, -} from "./classic/mongoClusters/index.js"; -import { - getFirewallRulesOperations, - FirewallRulesOperations, -} from "./classic/firewallRules/index.js"; -import { - getPrivateEndpointConnectionsOperations, - PrivateEndpointConnectionsOperations, -} from "./classic/privateEndpointConnections/index.js"; -import { getPrivateLinksOperations, PrivateLinksOperations } from "./classic/privateLinks/index.js"; -import { - createMongoClusterManagement, - MongoClusterManagementClientOptionalParams, - DocumentDBContext, -} from "./api/index.js"; - -export { MongoClusterManagementClientOptionalParams } from "./api/mongoClusterManagementContext.js"; - -export class MongoClusterManagementClient { - private _client: DocumentDBContext; - /** The pipeline used by this client to make requests */ - public readonly pipeline: Pipeline; - - /** The Microsoft Azure management API provides create, read, update, and delete functionality for Azure Cosmos DB for MongoDB vCore resources including clusters and firewall rules. */ - constructor( - credential: TokenCredential, - subscriptionId: string, - options: MongoClusterManagementClientOptionalParams = {}, - ) { - const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix; - const userAgentPrefix = prefixFromOptions - ? `${prefixFromOptions} azsdk-js-client` - : "azsdk-js-client"; - - this._client = createMongoClusterManagement(credential, { - ...options, - userAgentOptions: { userAgentPrefix }, - }); - this.pipeline = this._client.pipeline; - this.operations = getOperationsOperations(this._client); - this.mongoClusters = getMongoClustersOperations(this._client, subscriptionId); - this.firewallRules = getFirewallRulesOperations(this._client, subscriptionId); - this.privateEndpointConnections = getPrivateEndpointConnectionsOperations( - this._client, - subscriptionId, - ); - this.privateLinks = getPrivateLinksOperations(this._client, subscriptionId); - } - - /** The operation groups for Operations */ - public readonly operations: OperationsOperations; - /** The operation groups for MongoClusters */ - public readonly mongoClusters: MongoClustersOperations; - /** The operation groups for FirewallRules */ - public readonly firewallRules: FirewallRulesOperations; - /** The operation groups for PrivateEndpointConnections */ - public readonly privateEndpointConnections: PrivateEndpointConnectionsOperations; - /** The operation groups for PrivateLinks */ - public readonly privateLinks: PrivateLinksOperations; -} diff --git a/sdk/mongocluster/arm-mongocluster/src/mongoClusterManagementClientTest.ts b/sdk/mongocluster/arm-mongocluster/src/mongoClusterManagementClientTest.ts new file mode 100644 index 000000000000..97f2fc0fd743 --- /dev/null +++ b/sdk/mongocluster/arm-mongocluster/src/mongoClusterManagementClientTest.ts @@ -0,0 +1,165 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import * as coreClient from "@azure/core-client"; +import * as coreRestPipeline from "@azure/core-rest-pipeline"; +import { + PipelineRequest, + PipelineResponse, + SendRequest, +} from "@azure/core-rest-pipeline"; +import * as coreAuth from "@azure/core-auth"; +import { + OperationsImpl, + MongoClustersImpl, + FirewallRulesImpl, + PrivateEndpointConnectionsImpl, + PrivateLinksImpl, + ReplicasImpl, +} from "./operations"; +import { + Operations, + MongoClusters, + FirewallRules, + PrivateEndpointConnections, + PrivateLinks, + Replicas, +} from "./operationsInterfaces"; +import { MongoClusterManagementClientTestOptionalParams } from "./models"; + +export class MongoClusterManagementClientTest extends coreClient.ServiceClient { + $host: string; + apiVersion: string; + subscriptionId: string; + + /** + * Initializes a new instance of the MongoClusterManagementClientTest class. + * @param credentials Subscription credentials which uniquely identify client subscription. + * @param subscriptionId The ID of the target subscription. The value must be an UUID. + * @param options The parameter options + */ + constructor( + credentials: coreAuth.TokenCredential, + subscriptionId: string, + options?: MongoClusterManagementClientTestOptionalParams, + ) { + if (credentials === undefined) { + throw new Error("'credentials' cannot be null"); + } + if (subscriptionId === undefined) { + throw new Error("'subscriptionId' cannot be null"); + } + + // Initializing default values for options + if (!options) { + options = {}; + } + const defaults: MongoClusterManagementClientTestOptionalParams = { + requestContentType: "application/json; charset=utf-8", + credential: credentials, + }; + + const packageDetails = `azsdk-js-arm-mongocluster/1.0.0-beta.1`; + const userAgentPrefix = + options.userAgentOptions && options.userAgentOptions.userAgentPrefix + ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` + : `${packageDetails}`; + + const optionsWithDefaults = { + ...defaults, + ...options, + userAgentOptions: { + userAgentPrefix, + }, + endpoint: + options.endpoint ?? options.baseUri ?? "https://management.azure.com", + }; + super(optionsWithDefaults); + + let bearerTokenAuthenticationPolicyFound: boolean = false; + if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) { + const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = + options.pipeline.getOrderedPolicies(); + bearerTokenAuthenticationPolicyFound = pipelinePolicies.some( + (pipelinePolicy) => + pipelinePolicy.name === + coreRestPipeline.bearerTokenAuthenticationPolicyName, + ); + } + if ( + !options || + !options.pipeline || + options.pipeline.getOrderedPolicies().length == 0 || + !bearerTokenAuthenticationPolicyFound + ) { + this.pipeline.removePolicy({ + name: coreRestPipeline.bearerTokenAuthenticationPolicyName, + }); + this.pipeline.addPolicy( + coreRestPipeline.bearerTokenAuthenticationPolicy({ + credential: credentials, + scopes: + optionsWithDefaults.credentialScopes ?? + `${optionsWithDefaults.endpoint}/.default`, + challengeCallbacks: { + authorizeRequestOnChallenge: + coreClient.authorizeRequestOnClaimChallenge, + }, + }), + ); + } + // Parameter assignments + this.subscriptionId = subscriptionId; + + // Assigning values to Constant parameters + this.$host = options.$host || "https://management.azure.com"; + this.apiVersion = options.apiVersion || "2024-07-01"; + this.operations = new OperationsImpl(this); + this.mongoClusters = new MongoClustersImpl(this); + this.firewallRules = new FirewallRulesImpl(this); + this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this); + this.privateLinks = new PrivateLinksImpl(this); + this.replicas = new ReplicasImpl(this); + this.addCustomApiVersionPolicy(options.apiVersion); + } + + /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */ + private addCustomApiVersionPolicy(apiVersion?: string) { + if (!apiVersion) { + return; + } + const apiVersionPolicy = { + name: "CustomApiVersionPolicy", + async sendRequest( + request: PipelineRequest, + next: SendRequest, + ): Promise { + const param = request.url.split("?"); + if (param.length > 1) { + const newParams = param[1].split("&").map((item) => { + if (item.indexOf("api-version") > -1) { + return "api-version=" + apiVersion; + } else { + return item; + } + }); + request.url = param[0] + "?" + newParams.join("&"); + } + return next(request); + }, + }; + this.pipeline.addPolicy(apiVersionPolicy); + } + + operations: Operations; + mongoClusters: MongoClusters; + firewallRules: FirewallRules; + privateEndpointConnections: PrivateEndpointConnections; + privateLinks: PrivateLinks; + replicas: Replicas; +} diff --git a/sdk/mongocluster/arm-mongocluster/src/operations/firewallRules.ts b/sdk/mongocluster/arm-mongocluster/src/operations/firewallRules.ts new file mode 100644 index 000000000000..7653527a7862 --- /dev/null +++ b/sdk/mongocluster/arm-mongocluster/src/operations/firewallRules.ts @@ -0,0 +1,519 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { FirewallRules } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { MongoClusterManagementClientTest } from "../mongoClusterManagementClientTest"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + FirewallRule, + FirewallRulesListByMongoClusterNextOptionalParams, + FirewallRulesListByMongoClusterOptionalParams, + FirewallRulesListByMongoClusterResponse, + FirewallRulesGetOptionalParams, + FirewallRulesGetResponse, + FirewallRulesCreateOrUpdateOptionalParams, + FirewallRulesCreateOrUpdateResponse, + FirewallRulesDeleteOptionalParams, + FirewallRulesDeleteResponse, + FirewallRulesListByMongoClusterNextResponse, +} from "../models"; + +/// +/** Class containing FirewallRules operations. */ +export class FirewallRulesImpl implements FirewallRules { + private readonly client: MongoClusterManagementClientTest; + + /** + * Initialize a new instance of the class FirewallRules class. + * @param client Reference to the service client + */ + constructor(client: MongoClusterManagementClientTest) { + this.client = client; + } + + /** + * List all the firewall rules in a given mongo cluster. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param options The options parameters. + */ + public listByMongoCluster( + resourceGroupName: string, + mongoClusterName: string, + options?: FirewallRulesListByMongoClusterOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listByMongoClusterPagingAll( + resourceGroupName, + mongoClusterName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listByMongoClusterPagingPage( + resourceGroupName, + mongoClusterName, + options, + settings, + ); + }, + }; + } + + private async *listByMongoClusterPagingPage( + resourceGroupName: string, + mongoClusterName: string, + options?: FirewallRulesListByMongoClusterOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: FirewallRulesListByMongoClusterResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listByMongoCluster( + resourceGroupName, + mongoClusterName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listByMongoClusterNext( + resourceGroupName, + mongoClusterName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listByMongoClusterPagingAll( + resourceGroupName: string, + mongoClusterName: string, + options?: FirewallRulesListByMongoClusterOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listByMongoClusterPagingPage( + resourceGroupName, + mongoClusterName, + options, + )) { + yield* page; + } + } + + /** + * List all the firewall rules in a given mongo cluster. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param options The options parameters. + */ + private _listByMongoCluster( + resourceGroupName: string, + mongoClusterName: string, + options?: FirewallRulesListByMongoClusterOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, mongoClusterName, options }, + listByMongoClusterOperationSpec, + ); + } + + /** + * Gets information about a mongo cluster firewall rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param firewallRuleName The name of the mongo cluster firewall rule. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + mongoClusterName: string, + firewallRuleName: string, + options?: FirewallRulesGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, mongoClusterName, firewallRuleName, options }, + getOperationSpec, + ); + } + + /** + * Creates a new firewall rule or updates an existing firewall rule on a mongo cluster. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param firewallRuleName The name of the mongo cluster firewall rule. + * @param resource Resource create parameters. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + mongoClusterName: string, + firewallRuleName: string, + resource: FirewallRule, + options?: FirewallRulesCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + FirewallRulesCreateOrUpdateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + mongoClusterName, + firewallRuleName, + resource, + options, + }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + FirewallRulesCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "azure-async-operation", + }); + await poller.poll(); + return poller; + } + + /** + * Creates a new firewall rule or updates an existing firewall rule on a mongo cluster. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param firewallRuleName The name of the mongo cluster firewall rule. + * @param resource Resource create parameters. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + mongoClusterName: string, + firewallRuleName: string, + resource: FirewallRule, + options?: FirewallRulesCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + mongoClusterName, + firewallRuleName, + resource, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Deletes a mongo cluster firewall rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param firewallRuleName The name of the mongo cluster firewall rule. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + mongoClusterName: string, + firewallRuleName: string, + options?: FirewallRulesDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + FirewallRulesDeleteResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, mongoClusterName, firewallRuleName, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + FirewallRulesDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Deletes a mongo cluster firewall rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param firewallRuleName The name of the mongo cluster firewall rule. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + mongoClusterName: string, + firewallRuleName: string, + options?: FirewallRulesDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + mongoClusterName, + firewallRuleName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * ListByMongoClusterNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param nextLink The nextLink from the previous successful call to the ListByMongoCluster method. + * @param options The options parameters. + */ + private _listByMongoClusterNext( + resourceGroupName: string, + mongoClusterName: string, + nextLink: string, + options?: FirewallRulesListByMongoClusterNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, mongoClusterName, nextLink, options }, + listByMongoClusterNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listByMongoClusterOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FirewallRuleListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.mongoClusterName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules/{firewallRuleName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FirewallRule, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.mongoClusterName, + Parameters.firewallRuleName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules/{firewallRuleName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.FirewallRule, + }, + 201: { + bodyMapper: Mappers.FirewallRule, + }, + 202: { + bodyMapper: Mappers.FirewallRule, + }, + 204: { + bodyMapper: Mappers.FirewallRule, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.resource1, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.mongoClusterName, + Parameters.firewallRuleName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules/{firewallRuleName}", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: Mappers.FirewallRulesDeleteHeaders, + }, + 201: { + headersMapper: Mappers.FirewallRulesDeleteHeaders, + }, + 202: { + headersMapper: Mappers.FirewallRulesDeleteHeaders, + }, + 204: { + headersMapper: Mappers.FirewallRulesDeleteHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.mongoClusterName, + Parameters.firewallRuleName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listByMongoClusterNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FirewallRuleListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.nextLink, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.mongoClusterName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/mongocluster/arm-mongocluster/src/operations/index.ts b/sdk/mongocluster/arm-mongocluster/src/operations/index.ts new file mode 100644 index 000000000000..2e6541b68ab1 --- /dev/null +++ b/sdk/mongocluster/arm-mongocluster/src/operations/index.ts @@ -0,0 +1,14 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export * from "./operations"; +export * from "./mongoClusters"; +export * from "./firewallRules"; +export * from "./privateEndpointConnections"; +export * from "./privateLinks"; +export * from "./replicas"; diff --git a/sdk/mongocluster/arm-mongocluster/src/operations/mongoClusters.ts b/sdk/mongocluster/arm-mongocluster/src/operations/mongoClusters.ts new file mode 100644 index 000000000000..518cad5f4931 --- /dev/null +++ b/sdk/mongocluster/arm-mongocluster/src/operations/mongoClusters.ts @@ -0,0 +1,942 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { MongoClusters } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { MongoClusterManagementClientTest } from "../mongoClusterManagementClientTest"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + MongoCluster, + MongoClustersListNextOptionalParams, + MongoClustersListOptionalParams, + MongoClustersListResponse, + MongoClustersListByResourceGroupNextOptionalParams, + MongoClustersListByResourceGroupOptionalParams, + MongoClustersListByResourceGroupResponse, + CheckNameAvailabilityRequest, + MongoClustersCheckNameAvailabilityOptionalParams, + MongoClustersCheckNameAvailabilityResponse, + MongoClustersGetOptionalParams, + MongoClustersGetResponse, + MongoClustersCreateOrUpdateOptionalParams, + MongoClustersCreateOrUpdateResponse, + MongoClusterUpdate, + MongoClustersUpdateOptionalParams, + MongoClustersUpdateResponse, + MongoClustersDeleteOptionalParams, + MongoClustersDeleteResponse, + MongoClustersListConnectionStringsOptionalParams, + MongoClustersListConnectionStringsResponse, + PromoteReplicaRequest, + MongoClustersPromoteOptionalParams, + MongoClustersPromoteResponse, + MongoClustersListNextResponse, + MongoClustersListByResourceGroupNextResponse, +} from "../models"; + +/// +/** Class containing MongoClusters operations. */ +export class MongoClustersImpl implements MongoClusters { + private readonly client: MongoClusterManagementClientTest; + + /** + * Initialize a new instance of the class MongoClusters class. + * @param client Reference to the service client + */ + constructor(client: MongoClusterManagementClientTest) { + this.client = client; + } + + /** + * List all the mongo clusters in a given subscription. + * @param options The options parameters. + */ + public list( + options?: MongoClustersListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage(options, settings); + }, + }; + } + + private async *listPagingPage( + options?: MongoClustersListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: MongoClustersListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext(continuationToken, options); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + options?: MongoClustersListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage(options)) { + yield* page; + } + } + + /** + * List all the mongo clusters in a given resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param options The options parameters. + */ + public listByResourceGroup( + resourceGroupName: string, + options?: MongoClustersListByResourceGroupOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listByResourceGroupPagingPage( + resourceGroupName, + options, + settings, + ); + }, + }; + } + + private async *listByResourceGroupPagingPage( + resourceGroupName: string, + options?: MongoClustersListByResourceGroupOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: MongoClustersListByResourceGroupResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listByResourceGroup(resourceGroupName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listByResourceGroupNext( + resourceGroupName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listByResourceGroupPagingAll( + resourceGroupName: string, + options?: MongoClustersListByResourceGroupOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listByResourceGroupPagingPage( + resourceGroupName, + options, + )) { + yield* page; + } + } + + /** + * Check if mongo cluster name is available for use. + * @param location The name of the Azure region. + * @param body The CheckAvailability request + * @param options The options parameters. + */ + checkNameAvailability( + location: string, + body: CheckNameAvailabilityRequest, + options?: MongoClustersCheckNameAvailabilityOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { location, body, options }, + checkNameAvailabilityOperationSpec, + ); + } + + /** + * List all the mongo clusters in a given subscription. + * @param options The options parameters. + */ + private _list( + options?: MongoClustersListOptionalParams, + ): Promise { + return this.client.sendOperationRequest({ options }, listOperationSpec); + } + + /** + * List all the mongo clusters in a given resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param options The options parameters. + */ + private _listByResourceGroup( + resourceGroupName: string, + options?: MongoClustersListByResourceGroupOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, options }, + listByResourceGroupOperationSpec, + ); + } + + /** + * Gets information about a mongo cluster. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + mongoClusterName: string, + options?: MongoClustersGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, mongoClusterName, options }, + getOperationSpec, + ); + } + + /** + * Create or update a mongo cluster. Update overwrites all properties for the resource. To only modify + * some of the properties, use PATCH. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param resource Resource create parameters. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + mongoClusterName: string, + resource: MongoCluster, + options?: MongoClustersCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + MongoClustersCreateOrUpdateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, mongoClusterName, resource, options }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + MongoClustersCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "azure-async-operation", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update a mongo cluster. Update overwrites all properties for the resource. To only modify + * some of the properties, use PATCH. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param resource Resource create parameters. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + mongoClusterName: string, + resource: MongoCluster, + options?: MongoClustersCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + mongoClusterName, + resource, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Updates an existing mongo cluster. The request body can contain one to many of the properties + * present in the normal mongo cluster definition. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param properties The resource properties to be updated. + * @param options The options parameters. + */ + async beginUpdate( + resourceGroupName: string, + mongoClusterName: string, + properties: MongoClusterUpdate, + options?: MongoClustersUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + MongoClustersUpdateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, mongoClusterName, properties, options }, + spec: updateOperationSpec, + }); + const poller = await createHttpPoller< + MongoClustersUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Updates an existing mongo cluster. The request body can contain one to many of the properties + * present in the normal mongo cluster definition. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param properties The resource properties to be updated. + * @param options The options parameters. + */ + async beginUpdateAndWait( + resourceGroupName: string, + mongoClusterName: string, + properties: MongoClusterUpdate, + options?: MongoClustersUpdateOptionalParams, + ): Promise { + const poller = await this.beginUpdate( + resourceGroupName, + mongoClusterName, + properties, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Deletes a mongo cluster. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + mongoClusterName: string, + options?: MongoClustersDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + MongoClustersDeleteResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, mongoClusterName, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + MongoClustersDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Deletes a mongo cluster. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + mongoClusterName: string, + options?: MongoClustersDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + mongoClusterName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * List mongo cluster connection strings. This includes the default connection string using + * SCRAM-SHA-256, as well as other connection strings supported by the cluster. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param options The options parameters. + */ + listConnectionStrings( + resourceGroupName: string, + mongoClusterName: string, + options?: MongoClustersListConnectionStringsOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, mongoClusterName, options }, + listConnectionStringsOperationSpec, + ); + } + + /** + * Promotes a replica mongo cluster to a primary role. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param body The content of the action request + * @param options The options parameters. + */ + async beginPromote( + resourceGroupName: string, + mongoClusterName: string, + body: PromoteReplicaRequest, + options?: MongoClustersPromoteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + MongoClustersPromoteResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, mongoClusterName, body, options }, + spec: promoteOperationSpec, + }); + const poller = await createHttpPoller< + MongoClustersPromoteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Promotes a replica mongo cluster to a primary role. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param body The content of the action request + * @param options The options parameters. + */ + async beginPromoteAndWait( + resourceGroupName: string, + mongoClusterName: string, + body: PromoteReplicaRequest, + options?: MongoClustersPromoteOptionalParams, + ): Promise { + const poller = await this.beginPromote( + resourceGroupName, + mongoClusterName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + nextLink: string, + options?: MongoClustersListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { nextLink, options }, + listNextOperationSpec, + ); + } + + /** + * ListByResourceGroupNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method. + * @param options The options parameters. + */ + private _listByResourceGroupNext( + resourceGroupName: string, + nextLink: string, + options?: MongoClustersListByResourceGroupNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, nextLink, options }, + listByResourceGroupNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const checkNameAvailabilityOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/checkMongoClusterNameAvailability", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.CheckNameAvailabilityResponse, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.location, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/mongoClusters", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.MongoClusterListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.subscriptionId], + headerParameters: [Parameters.accept], + serializer, +}; +const listByResourceGroupOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.MongoClusterListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.MongoCluster, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.mongoClusterName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.MongoCluster, + }, + 201: { + bodyMapper: Mappers.MongoCluster, + }, + 202: { + bodyMapper: Mappers.MongoCluster, + }, + 204: { + bodyMapper: Mappers.MongoCluster, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.resource, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.mongoClusterName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const updateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}", + httpMethod: "PATCH", + responses: { + 200: { + bodyMapper: Mappers.MongoCluster, + }, + 201: { + bodyMapper: Mappers.MongoCluster, + }, + 202: { + bodyMapper: Mappers.MongoCluster, + }, + 204: { + bodyMapper: Mappers.MongoCluster, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.properties, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.mongoClusterName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: Mappers.MongoClustersDeleteHeaders, + }, + 201: { + headersMapper: Mappers.MongoClustersDeleteHeaders, + }, + 202: { + headersMapper: Mappers.MongoClustersDeleteHeaders, + }, + 204: { + headersMapper: Mappers.MongoClustersDeleteHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.mongoClusterName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listConnectionStringsOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/listConnectionStrings", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.ListConnectionStringsResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.mongoClusterName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const promoteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/promote", + httpMethod: "POST", + responses: { + 200: { + headersMapper: Mappers.MongoClustersPromoteHeaders, + }, + 201: { + headersMapper: Mappers.MongoClustersPromoteHeaders, + }, + 202: { + headersMapper: Mappers.MongoClustersPromoteHeaders, + }, + 204: { + headersMapper: Mappers.MongoClustersPromoteHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body1, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.mongoClusterName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.MongoClusterListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.nextLink, + Parameters.subscriptionId, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.MongoClusterListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.nextLink, + Parameters.subscriptionId, + Parameters.resourceGroupName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/mongocluster/arm-mongocluster/src/operations/operations.ts b/sdk/mongocluster/arm-mongocluster/src/operations/operations.ts new file mode 100644 index 000000000000..db18df9ab0b3 --- /dev/null +++ b/sdk/mongocluster/arm-mongocluster/src/operations/operations.ts @@ -0,0 +1,149 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { Operations } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { MongoClusterManagementClientTest } from "../mongoClusterManagementClientTest"; +import { + Operation, + OperationsListNextOptionalParams, + OperationsListOptionalParams, + OperationsListResponse, + OperationsListNextResponse, +} from "../models"; + +/// +/** Class containing Operations operations. */ +export class OperationsImpl implements Operations { + private readonly client: MongoClusterManagementClientTest; + + /** + * Initialize a new instance of the class Operations class. + * @param client Reference to the service client + */ + constructor(client: MongoClusterManagementClientTest) { + this.client = client; + } + + /** + * List the operations for the provider + * @param options The options parameters. + */ + public list( + options?: OperationsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage(options, settings); + }, + }; + } + + private async *listPagingPage( + options?: OperationsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: OperationsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext(continuationToken, options); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + options?: OperationsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage(options)) { + yield* page; + } + } + + /** + * List the operations for the provider + * @param options The options parameters. + */ + private _list( + options?: OperationsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest({ options }, listOperationSpec); + } + + /** + * ListNext + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + nextLink: string, + options?: OperationsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/providers/Microsoft.DocumentDB/operations", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.OperationListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.OperationListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [Parameters.$host, Parameters.nextLink], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/mongocluster/arm-mongocluster/src/operations/privateEndpointConnections.ts b/sdk/mongocluster/arm-mongocluster/src/operations/privateEndpointConnections.ts new file mode 100644 index 000000000000..abf3c0afeaf5 --- /dev/null +++ b/sdk/mongocluster/arm-mongocluster/src/operations/privateEndpointConnections.ts @@ -0,0 +1,536 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { PrivateEndpointConnections } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { MongoClusterManagementClientTest } from "../mongoClusterManagementClientTest"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + PrivateEndpointConnectionResource, + PrivateEndpointConnectionsListByMongoClusterNextOptionalParams, + PrivateEndpointConnectionsListByMongoClusterOptionalParams, + PrivateEndpointConnectionsListByMongoClusterResponse, + PrivateEndpointConnectionsGetOptionalParams, + PrivateEndpointConnectionsGetResponse, + PrivateEndpointConnectionsCreateOptionalParams, + PrivateEndpointConnectionsCreateResponse, + PrivateEndpointConnectionsDeleteOptionalParams, + PrivateEndpointConnectionsDeleteResponse, + PrivateEndpointConnectionsListByMongoClusterNextResponse, +} from "../models"; + +/// +/** Class containing PrivateEndpointConnections operations. */ +export class PrivateEndpointConnectionsImpl + implements PrivateEndpointConnections +{ + private readonly client: MongoClusterManagementClientTest; + + /** + * Initialize a new instance of the class PrivateEndpointConnections class. + * @param client Reference to the service client + */ + constructor(client: MongoClusterManagementClientTest) { + this.client = client; + } + + /** + * List existing private connections + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param options The options parameters. + */ + public listByMongoCluster( + resourceGroupName: string, + mongoClusterName: string, + options?: PrivateEndpointConnectionsListByMongoClusterOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listByMongoClusterPagingAll( + resourceGroupName, + mongoClusterName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listByMongoClusterPagingPage( + resourceGroupName, + mongoClusterName, + options, + settings, + ); + }, + }; + } + + private async *listByMongoClusterPagingPage( + resourceGroupName: string, + mongoClusterName: string, + options?: PrivateEndpointConnectionsListByMongoClusterOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: PrivateEndpointConnectionsListByMongoClusterResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listByMongoCluster( + resourceGroupName, + mongoClusterName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listByMongoClusterNext( + resourceGroupName, + mongoClusterName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listByMongoClusterPagingAll( + resourceGroupName: string, + mongoClusterName: string, + options?: PrivateEndpointConnectionsListByMongoClusterOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listByMongoClusterPagingPage( + resourceGroupName, + mongoClusterName, + options, + )) { + yield* page; + } + } + + /** + * List existing private connections + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param options The options parameters. + */ + private _listByMongoCluster( + resourceGroupName: string, + mongoClusterName: string, + options?: PrivateEndpointConnectionsListByMongoClusterOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, mongoClusterName, options }, + listByMongoClusterOperationSpec, + ); + } + + /** + * Get a specific private connection + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param privateEndpointConnectionName The name of the private endpoint connection associated with the + * Azure resource. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + mongoClusterName: string, + privateEndpointConnectionName: string, + options?: PrivateEndpointConnectionsGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + mongoClusterName, + privateEndpointConnectionName, + options, + }, + getOperationSpec, + ); + } + + /** + * Create a Private endpoint connection + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param privateEndpointConnectionName The name of the private endpoint connection associated with the + * Azure resource. + * @param resource Resource create parameters. + * @param options The options parameters. + */ + async beginCreate( + resourceGroupName: string, + mongoClusterName: string, + privateEndpointConnectionName: string, + resource: PrivateEndpointConnectionResource, + options?: PrivateEndpointConnectionsCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + PrivateEndpointConnectionsCreateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + mongoClusterName, + privateEndpointConnectionName, + resource, + options, + }, + spec: createOperationSpec, + }); + const poller = await createHttpPoller< + PrivateEndpointConnectionsCreateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "azure-async-operation", + }); + await poller.poll(); + return poller; + } + + /** + * Create a Private endpoint connection + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param privateEndpointConnectionName The name of the private endpoint connection associated with the + * Azure resource. + * @param resource Resource create parameters. + * @param options The options parameters. + */ + async beginCreateAndWait( + resourceGroupName: string, + mongoClusterName: string, + privateEndpointConnectionName: string, + resource: PrivateEndpointConnectionResource, + options?: PrivateEndpointConnectionsCreateOptionalParams, + ): Promise { + const poller = await this.beginCreate( + resourceGroupName, + mongoClusterName, + privateEndpointConnectionName, + resource, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Delete the private endpoint connection + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param privateEndpointConnectionName The name of the private endpoint connection associated with the + * Azure resource. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + mongoClusterName: string, + privateEndpointConnectionName: string, + options?: PrivateEndpointConnectionsDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + PrivateEndpointConnectionsDeleteResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + mongoClusterName, + privateEndpointConnectionName, + options, + }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + PrivateEndpointConnectionsDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete the private endpoint connection + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param privateEndpointConnectionName The name of the private endpoint connection associated with the + * Azure resource. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + mongoClusterName: string, + privateEndpointConnectionName: string, + options?: PrivateEndpointConnectionsDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + mongoClusterName, + privateEndpointConnectionName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * ListByMongoClusterNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param nextLink The nextLink from the previous successful call to the ListByMongoCluster method. + * @param options The options parameters. + */ + private _listByMongoClusterNext( + resourceGroupName: string, + mongoClusterName: string, + nextLink: string, + options?: PrivateEndpointConnectionsListByMongoClusterNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, mongoClusterName, nextLink, options }, + listByMongoClusterNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listByMongoClusterOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnectionResourceListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.mongoClusterName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections/{privateEndpointConnectionName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnectionResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.mongoClusterName, + Parameters.privateEndpointConnectionName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections/{privateEndpointConnectionName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnectionResource, + }, + 201: { + bodyMapper: Mappers.PrivateEndpointConnectionResource, + }, + 202: { + bodyMapper: Mappers.PrivateEndpointConnectionResource, + }, + 204: { + bodyMapper: Mappers.PrivateEndpointConnectionResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.resource2, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.mongoClusterName, + Parameters.privateEndpointConnectionName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections/{privateEndpointConnectionName}", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: Mappers.PrivateEndpointConnectionsDeleteHeaders, + }, + 201: { + headersMapper: Mappers.PrivateEndpointConnectionsDeleteHeaders, + }, + 202: { + headersMapper: Mappers.PrivateEndpointConnectionsDeleteHeaders, + }, + 204: { + headersMapper: Mappers.PrivateEndpointConnectionsDeleteHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.mongoClusterName, + Parameters.privateEndpointConnectionName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listByMongoClusterNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnectionResourceListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.nextLink, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.mongoClusterName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/mongocluster/arm-mongocluster/src/operations/privateLinks.ts b/sdk/mongocluster/arm-mongocluster/src/operations/privateLinks.ts new file mode 100644 index 000000000000..db31e4626556 --- /dev/null +++ b/sdk/mongocluster/arm-mongocluster/src/operations/privateLinks.ts @@ -0,0 +1,201 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { PrivateLinks } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { MongoClusterManagementClientTest } from "../mongoClusterManagementClientTest"; +import { + PrivateLinkResource, + PrivateLinksListByMongoClusterNextOptionalParams, + PrivateLinksListByMongoClusterOptionalParams, + PrivateLinksListByMongoClusterResponse, + PrivateLinksListByMongoClusterNextResponse, +} from "../models"; + +/// +/** Class containing PrivateLinks operations. */ +export class PrivateLinksImpl implements PrivateLinks { + private readonly client: MongoClusterManagementClientTest; + + /** + * Initialize a new instance of the class PrivateLinks class. + * @param client Reference to the service client + */ + constructor(client: MongoClusterManagementClientTest) { + this.client = client; + } + + /** + * list private links on the given resource + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param options The options parameters. + */ + public listByMongoCluster( + resourceGroupName: string, + mongoClusterName: string, + options?: PrivateLinksListByMongoClusterOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listByMongoClusterPagingAll( + resourceGroupName, + mongoClusterName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listByMongoClusterPagingPage( + resourceGroupName, + mongoClusterName, + options, + settings, + ); + }, + }; + } + + private async *listByMongoClusterPagingPage( + resourceGroupName: string, + mongoClusterName: string, + options?: PrivateLinksListByMongoClusterOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: PrivateLinksListByMongoClusterResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listByMongoCluster( + resourceGroupName, + mongoClusterName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listByMongoClusterNext( + resourceGroupName, + mongoClusterName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listByMongoClusterPagingAll( + resourceGroupName: string, + mongoClusterName: string, + options?: PrivateLinksListByMongoClusterOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listByMongoClusterPagingPage( + resourceGroupName, + mongoClusterName, + options, + )) { + yield* page; + } + } + + /** + * list private links on the given resource + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param options The options parameters. + */ + private _listByMongoCluster( + resourceGroupName: string, + mongoClusterName: string, + options?: PrivateLinksListByMongoClusterOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, mongoClusterName, options }, + listByMongoClusterOperationSpec, + ); + } + + /** + * ListByMongoClusterNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param nextLink The nextLink from the previous successful call to the ListByMongoCluster method. + * @param options The options parameters. + */ + private _listByMongoClusterNext( + resourceGroupName: string, + mongoClusterName: string, + nextLink: string, + options?: PrivateLinksListByMongoClusterNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, mongoClusterName, nextLink, options }, + listByMongoClusterNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listByMongoClusterOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateLinkResources", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.PrivateLinkResourceListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.mongoClusterName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listByMongoClusterNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.PrivateLinkResourceListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.nextLink, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.mongoClusterName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/mongocluster/arm-mongocluster/src/operations/replicas.ts b/sdk/mongocluster/arm-mongocluster/src/operations/replicas.ts new file mode 100644 index 000000000000..fef02e3e9b0b --- /dev/null +++ b/sdk/mongocluster/arm-mongocluster/src/operations/replicas.ts @@ -0,0 +1,201 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { Replicas } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { MongoClusterManagementClientTest } from "../mongoClusterManagementClientTest"; +import { + Replica, + ReplicasListByParentNextOptionalParams, + ReplicasListByParentOptionalParams, + ReplicasListByParentResponse, + ReplicasListByParentNextResponse, +} from "../models"; + +/// +/** Class containing Replicas operations. */ +export class ReplicasImpl implements Replicas { + private readonly client: MongoClusterManagementClientTest; + + /** + * Initialize a new instance of the class Replicas class. + * @param client Reference to the service client + */ + constructor(client: MongoClusterManagementClientTest) { + this.client = client; + } + + /** + * List all the replicas for the mongo cluster. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param options The options parameters. + */ + public listByParent( + resourceGroupName: string, + mongoClusterName: string, + options?: ReplicasListByParentOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listByParentPagingAll( + resourceGroupName, + mongoClusterName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listByParentPagingPage( + resourceGroupName, + mongoClusterName, + options, + settings, + ); + }, + }; + } + + private async *listByParentPagingPage( + resourceGroupName: string, + mongoClusterName: string, + options?: ReplicasListByParentOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: ReplicasListByParentResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listByParent( + resourceGroupName, + mongoClusterName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listByParentNext( + resourceGroupName, + mongoClusterName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listByParentPagingAll( + resourceGroupName: string, + mongoClusterName: string, + options?: ReplicasListByParentOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listByParentPagingPage( + resourceGroupName, + mongoClusterName, + options, + )) { + yield* page; + } + } + + /** + * List all the replicas for the mongo cluster. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param options The options parameters. + */ + private _listByParent( + resourceGroupName: string, + mongoClusterName: string, + options?: ReplicasListByParentOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, mongoClusterName, options }, + listByParentOperationSpec, + ); + } + + /** + * ListByParentNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param nextLink The nextLink from the previous successful call to the ListByParent method. + * @param options The options parameters. + */ + private _listByParentNext( + resourceGroupName: string, + mongoClusterName: string, + nextLink: string, + options?: ReplicasListByParentNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, mongoClusterName, nextLink, options }, + listByParentNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listByParentOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/replicas", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ReplicaListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.mongoClusterName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listByParentNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ReplicaListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.nextLink, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.mongoClusterName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/mongocluster/arm-mongocluster/src/operationsInterfaces/firewallRules.ts b/sdk/mongocluster/arm-mongocluster/src/operationsInterfaces/firewallRules.ts new file mode 100644 index 000000000000..d64ea9176c90 --- /dev/null +++ b/sdk/mongocluster/arm-mongocluster/src/operationsInterfaces/firewallRules.ts @@ -0,0 +1,115 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + FirewallRule, + FirewallRulesListByMongoClusterOptionalParams, + FirewallRulesGetOptionalParams, + FirewallRulesGetResponse, + FirewallRulesCreateOrUpdateOptionalParams, + FirewallRulesCreateOrUpdateResponse, + FirewallRulesDeleteOptionalParams, + FirewallRulesDeleteResponse, +} from "../models"; + +/// +/** Interface representing a FirewallRules. */ +export interface FirewallRules { + /** + * List all the firewall rules in a given mongo cluster. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param options The options parameters. + */ + listByMongoCluster( + resourceGroupName: string, + mongoClusterName: string, + options?: FirewallRulesListByMongoClusterOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Gets information about a mongo cluster firewall rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param firewallRuleName The name of the mongo cluster firewall rule. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + mongoClusterName: string, + firewallRuleName: string, + options?: FirewallRulesGetOptionalParams, + ): Promise; + /** + * Creates a new firewall rule or updates an existing firewall rule on a mongo cluster. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param firewallRuleName The name of the mongo cluster firewall rule. + * @param resource Resource create parameters. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + mongoClusterName: string, + firewallRuleName: string, + resource: FirewallRule, + options?: FirewallRulesCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + FirewallRulesCreateOrUpdateResponse + > + >; + /** + * Creates a new firewall rule or updates an existing firewall rule on a mongo cluster. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param firewallRuleName The name of the mongo cluster firewall rule. + * @param resource Resource create parameters. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + mongoClusterName: string, + firewallRuleName: string, + resource: FirewallRule, + options?: FirewallRulesCreateOrUpdateOptionalParams, + ): Promise; + /** + * Deletes a mongo cluster firewall rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param firewallRuleName The name of the mongo cluster firewall rule. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + mongoClusterName: string, + firewallRuleName: string, + options?: FirewallRulesDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + FirewallRulesDeleteResponse + > + >; + /** + * Deletes a mongo cluster firewall rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param firewallRuleName The name of the mongo cluster firewall rule. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + mongoClusterName: string, + firewallRuleName: string, + options?: FirewallRulesDeleteOptionalParams, + ): Promise; +} diff --git a/sdk/mongocluster/arm-mongocluster/src/operationsInterfaces/index.ts b/sdk/mongocluster/arm-mongocluster/src/operationsInterfaces/index.ts new file mode 100644 index 000000000000..2e6541b68ab1 --- /dev/null +++ b/sdk/mongocluster/arm-mongocluster/src/operationsInterfaces/index.ts @@ -0,0 +1,14 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export * from "./operations"; +export * from "./mongoClusters"; +export * from "./firewallRules"; +export * from "./privateEndpointConnections"; +export * from "./privateLinks"; +export * from "./replicas"; diff --git a/sdk/mongocluster/arm-mongocluster/src/operationsInterfaces/mongoClusters.ts b/sdk/mongocluster/arm-mongocluster/src/operationsInterfaces/mongoClusters.ts new file mode 100644 index 000000000000..43aea66dec96 --- /dev/null +++ b/sdk/mongocluster/arm-mongocluster/src/operationsInterfaces/mongoClusters.ts @@ -0,0 +1,211 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + MongoCluster, + MongoClustersListOptionalParams, + MongoClustersListByResourceGroupOptionalParams, + CheckNameAvailabilityRequest, + MongoClustersCheckNameAvailabilityOptionalParams, + MongoClustersCheckNameAvailabilityResponse, + MongoClustersGetOptionalParams, + MongoClustersGetResponse, + MongoClustersCreateOrUpdateOptionalParams, + MongoClustersCreateOrUpdateResponse, + MongoClusterUpdate, + MongoClustersUpdateOptionalParams, + MongoClustersUpdateResponse, + MongoClustersDeleteOptionalParams, + MongoClustersDeleteResponse, + MongoClustersListConnectionStringsOptionalParams, + MongoClustersListConnectionStringsResponse, + PromoteReplicaRequest, + MongoClustersPromoteOptionalParams, + MongoClustersPromoteResponse, +} from "../models"; + +/// +/** Interface representing a MongoClusters. */ +export interface MongoClusters { + /** + * List all the mongo clusters in a given subscription. + * @param options The options parameters. + */ + list( + options?: MongoClustersListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * List all the mongo clusters in a given resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param options The options parameters. + */ + listByResourceGroup( + resourceGroupName: string, + options?: MongoClustersListByResourceGroupOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Check if mongo cluster name is available for use. + * @param location The name of the Azure region. + * @param body The CheckAvailability request + * @param options The options parameters. + */ + checkNameAvailability( + location: string, + body: CheckNameAvailabilityRequest, + options?: MongoClustersCheckNameAvailabilityOptionalParams, + ): Promise; + /** + * Gets information about a mongo cluster. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + mongoClusterName: string, + options?: MongoClustersGetOptionalParams, + ): Promise; + /** + * Create or update a mongo cluster. Update overwrites all properties for the resource. To only modify + * some of the properties, use PATCH. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param resource Resource create parameters. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + mongoClusterName: string, + resource: MongoCluster, + options?: MongoClustersCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + MongoClustersCreateOrUpdateResponse + > + >; + /** + * Create or update a mongo cluster. Update overwrites all properties for the resource. To only modify + * some of the properties, use PATCH. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param resource Resource create parameters. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + mongoClusterName: string, + resource: MongoCluster, + options?: MongoClustersCreateOrUpdateOptionalParams, + ): Promise; + /** + * Updates an existing mongo cluster. The request body can contain one to many of the properties + * present in the normal mongo cluster definition. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param properties The resource properties to be updated. + * @param options The options parameters. + */ + beginUpdate( + resourceGroupName: string, + mongoClusterName: string, + properties: MongoClusterUpdate, + options?: MongoClustersUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + MongoClustersUpdateResponse + > + >; + /** + * Updates an existing mongo cluster. The request body can contain one to many of the properties + * present in the normal mongo cluster definition. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param properties The resource properties to be updated. + * @param options The options parameters. + */ + beginUpdateAndWait( + resourceGroupName: string, + mongoClusterName: string, + properties: MongoClusterUpdate, + options?: MongoClustersUpdateOptionalParams, + ): Promise; + /** + * Deletes a mongo cluster. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + mongoClusterName: string, + options?: MongoClustersDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + MongoClustersDeleteResponse + > + >; + /** + * Deletes a mongo cluster. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + mongoClusterName: string, + options?: MongoClustersDeleteOptionalParams, + ): Promise; + /** + * List mongo cluster connection strings. This includes the default connection string using + * SCRAM-SHA-256, as well as other connection strings supported by the cluster. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param options The options parameters. + */ + listConnectionStrings( + resourceGroupName: string, + mongoClusterName: string, + options?: MongoClustersListConnectionStringsOptionalParams, + ): Promise; + /** + * Promotes a replica mongo cluster to a primary role. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param body The content of the action request + * @param options The options parameters. + */ + beginPromote( + resourceGroupName: string, + mongoClusterName: string, + body: PromoteReplicaRequest, + options?: MongoClustersPromoteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + MongoClustersPromoteResponse + > + >; + /** + * Promotes a replica mongo cluster to a primary role. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param body The content of the action request + * @param options The options parameters. + */ + beginPromoteAndWait( + resourceGroupName: string, + mongoClusterName: string, + body: PromoteReplicaRequest, + options?: MongoClustersPromoteOptionalParams, + ): Promise; +} diff --git a/sdk/mongocluster/arm-mongocluster/src/operationsInterfaces/operations.ts b/sdk/mongocluster/arm-mongocluster/src/operationsInterfaces/operations.ts new file mode 100644 index 000000000000..251f5f582e64 --- /dev/null +++ b/sdk/mongocluster/arm-mongocluster/src/operationsInterfaces/operations.ts @@ -0,0 +1,22 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { Operation, OperationsListOptionalParams } from "../models"; + +/// +/** Interface representing a Operations. */ +export interface Operations { + /** + * List the operations for the provider + * @param options The options parameters. + */ + list( + options?: OperationsListOptionalParams, + ): PagedAsyncIterableIterator; +} diff --git a/sdk/mongocluster/arm-mongocluster/src/operationsInterfaces/privateEndpointConnections.ts b/sdk/mongocluster/arm-mongocluster/src/operationsInterfaces/privateEndpointConnections.ts new file mode 100644 index 000000000000..986583717249 --- /dev/null +++ b/sdk/mongocluster/arm-mongocluster/src/operationsInterfaces/privateEndpointConnections.ts @@ -0,0 +1,120 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + PrivateEndpointConnectionResource, + PrivateEndpointConnectionsListByMongoClusterOptionalParams, + PrivateEndpointConnectionsGetOptionalParams, + PrivateEndpointConnectionsGetResponse, + PrivateEndpointConnectionsCreateOptionalParams, + PrivateEndpointConnectionsCreateResponse, + PrivateEndpointConnectionsDeleteOptionalParams, + PrivateEndpointConnectionsDeleteResponse, +} from "../models"; + +/// +/** Interface representing a PrivateEndpointConnections. */ +export interface PrivateEndpointConnections { + /** + * List existing private connections + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param options The options parameters. + */ + listByMongoCluster( + resourceGroupName: string, + mongoClusterName: string, + options?: PrivateEndpointConnectionsListByMongoClusterOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Get a specific private connection + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param privateEndpointConnectionName The name of the private endpoint connection associated with the + * Azure resource. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + mongoClusterName: string, + privateEndpointConnectionName: string, + options?: PrivateEndpointConnectionsGetOptionalParams, + ): Promise; + /** + * Create a Private endpoint connection + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param privateEndpointConnectionName The name of the private endpoint connection associated with the + * Azure resource. + * @param resource Resource create parameters. + * @param options The options parameters. + */ + beginCreate( + resourceGroupName: string, + mongoClusterName: string, + privateEndpointConnectionName: string, + resource: PrivateEndpointConnectionResource, + options?: PrivateEndpointConnectionsCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + PrivateEndpointConnectionsCreateResponse + > + >; + /** + * Create a Private endpoint connection + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param privateEndpointConnectionName The name of the private endpoint connection associated with the + * Azure resource. + * @param resource Resource create parameters. + * @param options The options parameters. + */ + beginCreateAndWait( + resourceGroupName: string, + mongoClusterName: string, + privateEndpointConnectionName: string, + resource: PrivateEndpointConnectionResource, + options?: PrivateEndpointConnectionsCreateOptionalParams, + ): Promise; + /** + * Delete the private endpoint connection + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param privateEndpointConnectionName The name of the private endpoint connection associated with the + * Azure resource. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + mongoClusterName: string, + privateEndpointConnectionName: string, + options?: PrivateEndpointConnectionsDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + PrivateEndpointConnectionsDeleteResponse + > + >; + /** + * Delete the private endpoint connection + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param privateEndpointConnectionName The name of the private endpoint connection associated with the + * Azure resource. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + mongoClusterName: string, + privateEndpointConnectionName: string, + options?: PrivateEndpointConnectionsDeleteOptionalParams, + ): Promise; +} diff --git a/sdk/mongocluster/arm-mongocluster/src/operationsInterfaces/privateLinks.ts b/sdk/mongocluster/arm-mongocluster/src/operationsInterfaces/privateLinks.ts new file mode 100644 index 000000000000..aaaac73ccc11 --- /dev/null +++ b/sdk/mongocluster/arm-mongocluster/src/operationsInterfaces/privateLinks.ts @@ -0,0 +1,29 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + PrivateLinkResource, + PrivateLinksListByMongoClusterOptionalParams, +} from "../models"; + +/// +/** Interface representing a PrivateLinks. */ +export interface PrivateLinks { + /** + * list private links on the given resource + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param options The options parameters. + */ + listByMongoCluster( + resourceGroupName: string, + mongoClusterName: string, + options?: PrivateLinksListByMongoClusterOptionalParams, + ): PagedAsyncIterableIterator; +} diff --git a/sdk/mongocluster/arm-mongocluster/src/operationsInterfaces/replicas.ts b/sdk/mongocluster/arm-mongocluster/src/operationsInterfaces/replicas.ts new file mode 100644 index 000000000000..7ef8a36621e2 --- /dev/null +++ b/sdk/mongocluster/arm-mongocluster/src/operationsInterfaces/replicas.ts @@ -0,0 +1,26 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { Replica, ReplicasListByParentOptionalParams } from "../models"; + +/// +/** Interface representing a Replicas. */ +export interface Replicas { + /** + * List all the replicas for the mongo cluster. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param mongoClusterName The name of the mongo cluster. + * @param options The options parameters. + */ + listByParent( + resourceGroupName: string, + mongoClusterName: string, + options?: ReplicasListByParentOptionalParams, + ): PagedAsyncIterableIterator; +} diff --git a/sdk/mongocluster/arm-mongocluster/src/pagingHelper.ts b/sdk/mongocluster/arm-mongocluster/src/pagingHelper.ts new file mode 100644 index 000000000000..205cccc26592 --- /dev/null +++ b/sdk/mongocluster/arm-mongocluster/src/pagingHelper.ts @@ -0,0 +1,39 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export interface PageInfo { + continuationToken?: string; +} + +const pageMap = new WeakMap(); + +/** + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from + * that point later. + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. + */ +export function getContinuationToken(page: unknown): string | undefined { + if (typeof page !== "object" || page === null) { + return undefined; + } + return pageMap.get(page)?.continuationToken; +} + +export function setContinuationToken( + page: unknown, + continuationToken: string | undefined, +): void { + if (typeof page !== "object" || page === null || !continuationToken) { + return; + } + const pageInfo = pageMap.get(page) ?? {}; + pageInfo.continuationToken = continuationToken; + pageMap.set(page, pageInfo); +} diff --git a/sdk/mongocluster/arm-mongocluster/src/rest/clientDefinitions.ts b/sdk/mongocluster/arm-mongocluster/src/rest/clientDefinitions.ts deleted file mode 100644 index 1f2fba7a6e44..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/rest/clientDefinitions.ts +++ /dev/null @@ -1,300 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { - OperationsListParameters, - MongoClustersGetParameters, - MongoClustersCreateOrUpdateParameters, - MongoClustersUpdateParameters, - MongoClustersDeleteParameters, - MongoClustersListByResourceGroupParameters, - MongoClustersListParameters, - MongoClustersListConnectionStringsParameters, - MongoClustersCheckNameAvailabilityParameters, - FirewallRulesGetParameters, - FirewallRulesCreateOrUpdateParameters, - FirewallRulesDeleteParameters, - FirewallRulesListByMongoClusterParameters, - PrivateEndpointConnectionsListByMongoClusterParameters, - PrivateEndpointConnectionsGetParameters, - PrivateEndpointConnectionsCreateParameters, - PrivateEndpointConnectionsDeleteParameters, - PrivateLinksListByMongoClusterParameters, -} from "./parameters.js"; -import { - OperationsList200Response, - OperationsListDefaultResponse, - MongoClustersGet200Response, - MongoClustersGetDefaultResponse, - MongoClustersCreateOrUpdate200Response, - MongoClustersCreateOrUpdate201Response, - MongoClustersCreateOrUpdateDefaultResponse, - MongoClustersUpdate200Response, - MongoClustersUpdate202Response, - MongoClustersUpdateDefaultResponse, - MongoClustersDelete202Response, - MongoClustersDelete204Response, - MongoClustersDeleteDefaultResponse, - MongoClustersListByResourceGroup200Response, - MongoClustersListByResourceGroupDefaultResponse, - MongoClustersList200Response, - MongoClustersListDefaultResponse, - MongoClustersListConnectionStrings200Response, - MongoClustersListConnectionStringsDefaultResponse, - MongoClustersCheckNameAvailability200Response, - MongoClustersCheckNameAvailabilityDefaultResponse, - FirewallRulesGet200Response, - FirewallRulesGetDefaultResponse, - FirewallRulesCreateOrUpdate200Response, - FirewallRulesCreateOrUpdate201Response, - FirewallRulesCreateOrUpdate202Response, - FirewallRulesCreateOrUpdateDefaultResponse, - FirewallRulesDelete202Response, - FirewallRulesDelete204Response, - FirewallRulesDeleteDefaultResponse, - FirewallRulesListByMongoCluster200Response, - FirewallRulesListByMongoClusterDefaultResponse, - PrivateEndpointConnectionsListByMongoCluster200Response, - PrivateEndpointConnectionsListByMongoClusterDefaultResponse, - PrivateEndpointConnectionsGet200Response, - PrivateEndpointConnectionsGetDefaultResponse, - PrivateEndpointConnectionsCreate200Response, - PrivateEndpointConnectionsCreate201Response, - PrivateEndpointConnectionsCreate202Response, - PrivateEndpointConnectionsCreateDefaultResponse, - PrivateEndpointConnectionsDelete202Response, - PrivateEndpointConnectionsDelete204Response, - PrivateEndpointConnectionsDeleteDefaultResponse, - PrivateLinksListByMongoCluster200Response, - PrivateLinksListByMongoClusterDefaultResponse, -} from "./responses.js"; -import { Client, StreamableMethod } from "@azure-rest/core-client"; - -export interface OperationsList { - /** List the operations for the provider */ - get( - options?: OperationsListParameters, - ): StreamableMethod; -} - -export interface MongoClustersGet { - /** Gets information about a mongo cluster. */ - get( - options?: MongoClustersGetParameters, - ): StreamableMethod; - /** Create or update a mongo cluster. Update overwrites all properties for the resource. To only modify some of the properties, use PATCH. */ - put( - options: MongoClustersCreateOrUpdateParameters, - ): StreamableMethod< - | MongoClustersCreateOrUpdate200Response - | MongoClustersCreateOrUpdate201Response - | MongoClustersCreateOrUpdateDefaultResponse - >; - /** Updates an existing mongo cluster. The request body can contain one to many of the properties present in the normal mongo cluster definition. */ - patch( - options: MongoClustersUpdateParameters, - ): StreamableMethod< - | MongoClustersUpdate200Response - | MongoClustersUpdate202Response - | MongoClustersUpdateDefaultResponse - >; - /** Deletes a mongo cluster. */ - delete( - options?: MongoClustersDeleteParameters, - ): StreamableMethod< - | MongoClustersDelete202Response - | MongoClustersDelete204Response - | MongoClustersDeleteDefaultResponse - >; -} - -export interface MongoClustersListByResourceGroup { - /** List all the mongo clusters in a given resource group. */ - get( - options?: MongoClustersListByResourceGroupParameters, - ): StreamableMethod< - MongoClustersListByResourceGroup200Response | MongoClustersListByResourceGroupDefaultResponse - >; -} - -export interface MongoClustersList { - /** List all the mongo clusters in a given subscription. */ - get( - options?: MongoClustersListParameters, - ): StreamableMethod; -} - -export interface MongoClustersListConnectionStrings { - /** List mongo cluster connection strings. This includes the default connection string using SCRAM-SHA-256, as well as other connection strings supported by the cluster. */ - post( - options: MongoClustersListConnectionStringsParameters, - ): StreamableMethod< - | MongoClustersListConnectionStrings200Response - | MongoClustersListConnectionStringsDefaultResponse - >; -} - -export interface MongoClustersCheckNameAvailability { - /** Check if mongo cluster name is available for use. */ - post( - options: MongoClustersCheckNameAvailabilityParameters, - ): StreamableMethod< - | MongoClustersCheckNameAvailability200Response - | MongoClustersCheckNameAvailabilityDefaultResponse - >; -} - -export interface FirewallRulesGet { - /** Gets information about a mongo cluster firewall rule. */ - get( - options?: FirewallRulesGetParameters, - ): StreamableMethod; - /** Creates a new firewall rule or updates an existing firewall rule on a mongo cluster. */ - put( - options: FirewallRulesCreateOrUpdateParameters, - ): StreamableMethod< - | FirewallRulesCreateOrUpdate200Response - | FirewallRulesCreateOrUpdate201Response - | FirewallRulesCreateOrUpdate202Response - | FirewallRulesCreateOrUpdateDefaultResponse - >; - /** Deletes a mongo cluster firewall rule. */ - delete( - options?: FirewallRulesDeleteParameters, - ): StreamableMethod< - | FirewallRulesDelete202Response - | FirewallRulesDelete204Response - | FirewallRulesDeleteDefaultResponse - >; -} - -export interface FirewallRulesListByMongoCluster { - /** List all the firewall rules in a given mongo cluster. */ - get( - options?: FirewallRulesListByMongoClusterParameters, - ): StreamableMethod< - FirewallRulesListByMongoCluster200Response | FirewallRulesListByMongoClusterDefaultResponse - >; -} - -export interface PrivateEndpointConnectionsListByMongoCluster { - /** List existing private connections */ - get( - options?: PrivateEndpointConnectionsListByMongoClusterParameters, - ): StreamableMethod< - | PrivateEndpointConnectionsListByMongoCluster200Response - | PrivateEndpointConnectionsListByMongoClusterDefaultResponse - >; -} - -export interface PrivateEndpointConnectionsGet { - /** Get a specific private connection */ - get( - options?: PrivateEndpointConnectionsGetParameters, - ): StreamableMethod< - PrivateEndpointConnectionsGet200Response | PrivateEndpointConnectionsGetDefaultResponse - >; - /** Create a Private endpoint connection */ - put( - options: PrivateEndpointConnectionsCreateParameters, - ): StreamableMethod< - | PrivateEndpointConnectionsCreate200Response - | PrivateEndpointConnectionsCreate201Response - | PrivateEndpointConnectionsCreate202Response - | PrivateEndpointConnectionsCreateDefaultResponse - >; - /** Delete the private endpoint connection */ - delete( - options?: PrivateEndpointConnectionsDeleteParameters, - ): StreamableMethod< - | PrivateEndpointConnectionsDelete202Response - | PrivateEndpointConnectionsDelete204Response - | PrivateEndpointConnectionsDeleteDefaultResponse - >; -} - -export interface PrivateLinksListByMongoCluster { - /** list private links on the given resource */ - get( - options?: PrivateLinksListByMongoClusterParameters, - ): StreamableMethod< - PrivateLinksListByMongoCluster200Response | PrivateLinksListByMongoClusterDefaultResponse - >; -} - -export interface Routes { - /** Resource for '/providers/Microsoft.DocumentDB/operations' has methods for the following verbs: get */ - (path: "/providers/Microsoft.DocumentDB/operations"): OperationsList; - /** Resource for '/subscriptions/\{subscriptionId\}/resourceGroups/\{resourceGroupName\}/providers/Microsoft.DocumentDB/mongoClusters/\{mongoClusterName\}' has methods for the following verbs: get, put, patch, delete */ - ( - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}", - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - ): MongoClustersGet; - /** Resource for '/subscriptions/\{subscriptionId\}/resourceGroups/\{resourceGroupName\}/providers/Microsoft.DocumentDB/mongoClusters' has methods for the following verbs: get */ - ( - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters", - subscriptionId: string, - resourceGroupName: string, - ): MongoClustersListByResourceGroup; - /** Resource for '/subscriptions/\{subscriptionId\}/providers/Microsoft.DocumentDB/mongoClusters' has methods for the following verbs: get */ - ( - path: "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/mongoClusters", - subscriptionId: string, - ): MongoClustersList; - /** Resource for '/subscriptions/\{subscriptionId\}/resourceGroups/\{resourceGroupName\}/providers/Microsoft.DocumentDB/mongoClusters/\{mongoClusterName\}/listConnectionStrings' has methods for the following verbs: post */ - ( - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/listConnectionStrings", - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - ): MongoClustersListConnectionStrings; - /** Resource for '/subscriptions/\{subscriptionId\}/providers/Microsoft.DocumentDB/locations/\{location\}/checkMongoClusterNameAvailability' has methods for the following verbs: post */ - ( - path: "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/checkMongoClusterNameAvailability", - subscriptionId: string, - location: string, - ): MongoClustersCheckNameAvailability; - /** Resource for '/subscriptions/\{subscriptionId\}/resourceGroups/\{resourceGroupName\}/providers/Microsoft.DocumentDB/mongoClusters/\{mongoClusterName\}/firewallRules/\{firewallRuleName\}' has methods for the following verbs: get, put, delete */ - ( - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules/{firewallRuleName}", - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - firewallRuleName: string, - ): FirewallRulesGet; - /** Resource for '/subscriptions/\{subscriptionId\}/resourceGroups/\{resourceGroupName\}/providers/Microsoft.DocumentDB/mongoClusters/\{mongoClusterName\}/firewallRules' has methods for the following verbs: get */ - ( - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules", - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - ): FirewallRulesListByMongoCluster; - /** Resource for '/subscriptions/\{subscriptionId\}/resourceGroups/\{resourceGroupName\}/providers/Microsoft.DocumentDB/mongoClusters/\{mongoClusterName\}/privateEndpointConnections' has methods for the following verbs: get */ - ( - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections", - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - ): PrivateEndpointConnectionsListByMongoCluster; - /** Resource for '/subscriptions/\{subscriptionId\}/resourceGroups/\{resourceGroupName\}/providers/Microsoft.DocumentDB/mongoClusters/\{mongoClusterName\}/privateEndpointConnections/\{privateEndpointConnectionName\}' has methods for the following verbs: get, put, delete */ - ( - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections/{privateEndpointConnectionName}", - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - privateEndpointConnectionName: string, - ): PrivateEndpointConnectionsGet; - /** Resource for '/subscriptions/\{subscriptionId\}/resourceGroups/\{resourceGroupName\}/providers/Microsoft.DocumentDB/mongoClusters/\{mongoClusterName\}/privateLinkResources' has methods for the following verbs: get */ - ( - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateLinkResources", - subscriptionId: string, - resourceGroupName: string, - mongoClusterName: string, - ): PrivateLinksListByMongoCluster; -} - -export type DocumentDBContext = Client & { - path: Routes; -}; diff --git a/sdk/mongocluster/arm-mongocluster/src/rest/documentDBClient.ts b/sdk/mongocluster/arm-mongocluster/src/rest/documentDBClient.ts deleted file mode 100644 index ea99eacfc062..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/rest/documentDBClient.ts +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { getClient, ClientOptions } from "@azure-rest/core-client"; -import { logger } from "../logger.js"; -import { TokenCredential } from "@azure/core-auth"; -import { DocumentDBContext } from "./clientDefinitions.js"; - -/** The optional parameters for the client */ -export interface DocumentDBContextOptions extends ClientOptions { - /** The api version option of the client */ - apiVersion?: string; -} - -/** - * Initialize a new instance of `DocumentDBContext` - * @param credentials - uniquely identify client credential - * @param options - the parameter for all optional parameters - */ -export default function createClient( - credentials: TokenCredential, - { apiVersion = "2024-03-01-preview", ...options }: DocumentDBContextOptions = {}, -): DocumentDBContext { - const endpointUrl = options.endpoint ?? options.baseUrl ?? `https://management.azure.com`; - const userAgentInfo = `azsdk-js-arm-mongocluster/1.0.0-beta.2`; - const userAgentPrefix = - options.userAgentOptions && options.userAgentOptions.userAgentPrefix - ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}` - : `${userAgentInfo}`; - options = { - ...options, - userAgentOptions: { - userAgentPrefix, - }, - loggingOptions: { - logger: options.loggingOptions?.logger ?? logger.info, - }, - credentials: { - scopes: options.credentials?.scopes ?? [`${endpointUrl}/.default`], - }, - }; - const client = getClient(endpointUrl, credentials, options) as DocumentDBContext; - - client.pipeline.removePolicy({ name: "ApiVersionPolicy" }); - client.pipeline.addPolicy({ - name: "ClientApiVersionPolicy", - sendRequest: (req, next) => { - // Use the apiVersion defined in request url directly - // Append one if there is no apiVersion and we have one at client options - const url = new URL(req.url); - if (!url.searchParams.get("api-version") && apiVersion) { - req.url = `${req.url}${ - Array.from(url.searchParams.keys()).length > 0 ? "&" : "?" - }api-version=${apiVersion}`; - } - - return next(req); - }, - }); - return client; -} diff --git a/sdk/mongocluster/arm-mongocluster/src/rest/index.ts b/sdk/mongocluster/arm-mongocluster/src/rest/index.ts deleted file mode 100644 index 1e93ef0cbc8a..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/rest/index.ts +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import DocumentDBClient from "./documentDBClient.js"; - -export * from "./documentDBClient.js"; -export * from "./parameters.js"; -export * from "./responses.js"; -export * from "./clientDefinitions.js"; -export * from "./isUnexpected.js"; -export * from "./models.js"; -export * from "./outputModels.js"; -export * from "./paginateHelper.js"; -export * from "./pollingHelper.js"; - -export default DocumentDBClient; diff --git a/sdk/mongocluster/arm-mongocluster/src/rest/isUnexpected.ts b/sdk/mongocluster/arm-mongocluster/src/rest/isUnexpected.ts deleted file mode 100644 index bc08c1b5f8e1..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/rest/isUnexpected.ts +++ /dev/null @@ -1,339 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { - OperationsList200Response, - OperationsListDefaultResponse, - MongoClustersGet200Response, - MongoClustersGetDefaultResponse, - MongoClustersCreateOrUpdate200Response, - MongoClustersCreateOrUpdate201Response, - MongoClustersCreateOrUpdateLogicalResponse, - MongoClustersCreateOrUpdateDefaultResponse, - MongoClustersUpdate200Response, - MongoClustersUpdate202Response, - MongoClustersUpdateLogicalResponse, - MongoClustersUpdateDefaultResponse, - MongoClustersDelete202Response, - MongoClustersDelete204Response, - MongoClustersDeleteLogicalResponse, - MongoClustersDeleteDefaultResponse, - MongoClustersListByResourceGroup200Response, - MongoClustersListByResourceGroupDefaultResponse, - MongoClustersList200Response, - MongoClustersListDefaultResponse, - MongoClustersListConnectionStrings200Response, - MongoClustersListConnectionStringsDefaultResponse, - MongoClustersCheckNameAvailability200Response, - MongoClustersCheckNameAvailabilityDefaultResponse, - FirewallRulesGet200Response, - FirewallRulesGetDefaultResponse, - FirewallRulesCreateOrUpdate200Response, - FirewallRulesCreateOrUpdate201Response, - FirewallRulesCreateOrUpdate202Response, - FirewallRulesCreateOrUpdateLogicalResponse, - FirewallRulesCreateOrUpdateDefaultResponse, - FirewallRulesDelete202Response, - FirewallRulesDelete204Response, - FirewallRulesDeleteLogicalResponse, - FirewallRulesDeleteDefaultResponse, - FirewallRulesListByMongoCluster200Response, - FirewallRulesListByMongoClusterDefaultResponse, - PrivateEndpointConnectionsListByMongoCluster200Response, - PrivateEndpointConnectionsListByMongoClusterDefaultResponse, - PrivateEndpointConnectionsGet200Response, - PrivateEndpointConnectionsGetDefaultResponse, - PrivateEndpointConnectionsCreate200Response, - PrivateEndpointConnectionsCreate201Response, - PrivateEndpointConnectionsCreate202Response, - PrivateEndpointConnectionsCreateLogicalResponse, - PrivateEndpointConnectionsCreateDefaultResponse, - PrivateEndpointConnectionsDelete202Response, - PrivateEndpointConnectionsDelete204Response, - PrivateEndpointConnectionsDeleteLogicalResponse, - PrivateEndpointConnectionsDeleteDefaultResponse, - PrivateLinksListByMongoCluster200Response, - PrivateLinksListByMongoClusterDefaultResponse, -} from "./responses.js"; - -const responseMap: Record = { - "GET /providers/Microsoft.DocumentDB/operations": ["200"], - "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}": - ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}": - ["200", "201"], - "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}": - ["200", "202"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}": - ["202", "204"], - "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters": - ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/mongoClusters": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/listConnectionStrings": - ["200"], - "POST /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/checkMongoClusterNameAvailability": - ["200"], - "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules/{firewallRuleName}": - ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules/{firewallRuleName}": - ["200", "201", "202"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules/{firewallRuleName}": - ["202", "204"], - "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules": - ["200"], - "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections": - ["200"], - "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections/{privateEndpointConnectionName}": - ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections/{privateEndpointConnectionName}": - ["200", "201", "202"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections/{privateEndpointConnectionName}": - ["202", "204"], - "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateLinkResources": - ["200"], -}; - -export function isUnexpected( - response: OperationsList200Response | OperationsListDefaultResponse, -): response is OperationsListDefaultResponse; -export function isUnexpected( - response: MongoClustersGet200Response | MongoClustersGetDefaultResponse, -): response is MongoClustersGetDefaultResponse; -export function isUnexpected( - response: - | MongoClustersCreateOrUpdate200Response - | MongoClustersCreateOrUpdate201Response - | MongoClustersCreateOrUpdateLogicalResponse - | MongoClustersCreateOrUpdateDefaultResponse, -): response is MongoClustersCreateOrUpdateDefaultResponse; -export function isUnexpected( - response: - | MongoClustersUpdate200Response - | MongoClustersUpdate202Response - | MongoClustersUpdateLogicalResponse - | MongoClustersUpdateDefaultResponse, -): response is MongoClustersUpdateDefaultResponse; -export function isUnexpected( - response: - | MongoClustersDelete202Response - | MongoClustersDelete204Response - | MongoClustersDeleteLogicalResponse - | MongoClustersDeleteDefaultResponse, -): response is MongoClustersDeleteDefaultResponse; -export function isUnexpected( - response: - | MongoClustersListByResourceGroup200Response - | MongoClustersListByResourceGroupDefaultResponse, -): response is MongoClustersListByResourceGroupDefaultResponse; -export function isUnexpected( - response: MongoClustersList200Response | MongoClustersListDefaultResponse, -): response is MongoClustersListDefaultResponse; -export function isUnexpected( - response: - | MongoClustersListConnectionStrings200Response - | MongoClustersListConnectionStringsDefaultResponse, -): response is MongoClustersListConnectionStringsDefaultResponse; -export function isUnexpected( - response: - | MongoClustersCheckNameAvailability200Response - | MongoClustersCheckNameAvailabilityDefaultResponse, -): response is MongoClustersCheckNameAvailabilityDefaultResponse; -export function isUnexpected( - response: FirewallRulesGet200Response | FirewallRulesGetDefaultResponse, -): response is FirewallRulesGetDefaultResponse; -export function isUnexpected( - response: - | FirewallRulesCreateOrUpdate200Response - | FirewallRulesCreateOrUpdate201Response - | FirewallRulesCreateOrUpdate202Response - | FirewallRulesCreateOrUpdateLogicalResponse - | FirewallRulesCreateOrUpdateDefaultResponse, -): response is FirewallRulesCreateOrUpdateDefaultResponse; -export function isUnexpected( - response: - | FirewallRulesDelete202Response - | FirewallRulesDelete204Response - | FirewallRulesDeleteLogicalResponse - | FirewallRulesDeleteDefaultResponse, -): response is FirewallRulesDeleteDefaultResponse; -export function isUnexpected( - response: - | FirewallRulesListByMongoCluster200Response - | FirewallRulesListByMongoClusterDefaultResponse, -): response is FirewallRulesListByMongoClusterDefaultResponse; -export function isUnexpected( - response: - | PrivateEndpointConnectionsListByMongoCluster200Response - | PrivateEndpointConnectionsListByMongoClusterDefaultResponse, -): response is PrivateEndpointConnectionsListByMongoClusterDefaultResponse; -export function isUnexpected( - response: PrivateEndpointConnectionsGet200Response | PrivateEndpointConnectionsGetDefaultResponse, -): response is PrivateEndpointConnectionsGetDefaultResponse; -export function isUnexpected( - response: - | PrivateEndpointConnectionsCreate200Response - | PrivateEndpointConnectionsCreate201Response - | PrivateEndpointConnectionsCreate202Response - | PrivateEndpointConnectionsCreateLogicalResponse - | PrivateEndpointConnectionsCreateDefaultResponse, -): response is PrivateEndpointConnectionsCreateDefaultResponse; -export function isUnexpected( - response: - | PrivateEndpointConnectionsDelete202Response - | PrivateEndpointConnectionsDelete204Response - | PrivateEndpointConnectionsDeleteLogicalResponse - | PrivateEndpointConnectionsDeleteDefaultResponse, -): response is PrivateEndpointConnectionsDeleteDefaultResponse; -export function isUnexpected( - response: - | PrivateLinksListByMongoCluster200Response - | PrivateLinksListByMongoClusterDefaultResponse, -): response is PrivateLinksListByMongoClusterDefaultResponse; -export function isUnexpected( - response: - | OperationsList200Response - | OperationsListDefaultResponse - | MongoClustersGet200Response - | MongoClustersGetDefaultResponse - | MongoClustersCreateOrUpdate200Response - | MongoClustersCreateOrUpdate201Response - | MongoClustersCreateOrUpdateLogicalResponse - | MongoClustersCreateOrUpdateDefaultResponse - | MongoClustersUpdate200Response - | MongoClustersUpdate202Response - | MongoClustersUpdateLogicalResponse - | MongoClustersUpdateDefaultResponse - | MongoClustersDelete202Response - | MongoClustersDelete204Response - | MongoClustersDeleteLogicalResponse - | MongoClustersDeleteDefaultResponse - | MongoClustersListByResourceGroup200Response - | MongoClustersListByResourceGroupDefaultResponse - | MongoClustersList200Response - | MongoClustersListDefaultResponse - | MongoClustersListConnectionStrings200Response - | MongoClustersListConnectionStringsDefaultResponse - | MongoClustersCheckNameAvailability200Response - | MongoClustersCheckNameAvailabilityDefaultResponse - | FirewallRulesGet200Response - | FirewallRulesGetDefaultResponse - | FirewallRulesCreateOrUpdate200Response - | FirewallRulesCreateOrUpdate201Response - | FirewallRulesCreateOrUpdate202Response - | FirewallRulesCreateOrUpdateLogicalResponse - | FirewallRulesCreateOrUpdateDefaultResponse - | FirewallRulesDelete202Response - | FirewallRulesDelete204Response - | FirewallRulesDeleteLogicalResponse - | FirewallRulesDeleteDefaultResponse - | FirewallRulesListByMongoCluster200Response - | FirewallRulesListByMongoClusterDefaultResponse - | PrivateEndpointConnectionsListByMongoCluster200Response - | PrivateEndpointConnectionsListByMongoClusterDefaultResponse - | PrivateEndpointConnectionsGet200Response - | PrivateEndpointConnectionsGetDefaultResponse - | PrivateEndpointConnectionsCreate200Response - | PrivateEndpointConnectionsCreate201Response - | PrivateEndpointConnectionsCreate202Response - | PrivateEndpointConnectionsCreateLogicalResponse - | PrivateEndpointConnectionsCreateDefaultResponse - | PrivateEndpointConnectionsDelete202Response - | PrivateEndpointConnectionsDelete204Response - | PrivateEndpointConnectionsDeleteLogicalResponse - | PrivateEndpointConnectionsDeleteDefaultResponse - | PrivateLinksListByMongoCluster200Response - | PrivateLinksListByMongoClusterDefaultResponse, -): response is - | OperationsListDefaultResponse - | MongoClustersGetDefaultResponse - | MongoClustersCreateOrUpdateDefaultResponse - | MongoClustersUpdateDefaultResponse - | MongoClustersDeleteDefaultResponse - | MongoClustersListByResourceGroupDefaultResponse - | MongoClustersListDefaultResponse - | MongoClustersListConnectionStringsDefaultResponse - | MongoClustersCheckNameAvailabilityDefaultResponse - | FirewallRulesGetDefaultResponse - | FirewallRulesCreateOrUpdateDefaultResponse - | FirewallRulesDeleteDefaultResponse - | FirewallRulesListByMongoClusterDefaultResponse - | PrivateEndpointConnectionsListByMongoClusterDefaultResponse - | PrivateEndpointConnectionsGetDefaultResponse - | PrivateEndpointConnectionsCreateDefaultResponse - | PrivateEndpointConnectionsDeleteDefaultResponse - | PrivateLinksListByMongoClusterDefaultResponse { - const lroOriginal = response.headers["x-ms-original-url"]; - const url = new URL(lroOriginal ?? response.request.url); - const method = response.request.method; - let pathDetails = responseMap[`${method} ${url.pathname}`]; - if (!pathDetails) { - pathDetails = getParametrizedPathSuccess(method, url.pathname); - } - return !pathDetails.includes(response.status); -} - -function getParametrizedPathSuccess(method: string, path: string): string[] { - const pathParts = path.split("/"); - - // Traverse list to match the longest candidate - // matchedLen: the length of candidate path - // matchedValue: the matched status code array - let matchedLen = -1, - matchedValue: string[] = []; - - // Iterate the responseMap to find a match - for (const [key, value] of Object.entries(responseMap)) { - // Extracting the path from the map key which is in format - // GET /path/foo - if (!key.startsWith(method)) { - continue; - } - const candidatePath = getPathFromMapKey(key); - // Get each part of the url path - const candidateParts = candidatePath.split("/"); - - // track if we have found a match to return the values found. - let found = true; - for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) { - if (candidateParts[i]?.startsWith("{") && candidateParts[i]?.indexOf("}") !== -1) { - const start = candidateParts[i]!.indexOf("}") + 1, - end = candidateParts[i]?.length; - // If the current part of the candidate is a "template" part - // Try to use the suffix of pattern to match the path - // {guid} ==> $ - // {guid}:export ==> :export$ - const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test( - pathParts[j] || "", - ); - - if (!isMatched) { - found = false; - break; - } - continue; - } - - // If the candidate part is not a template and - // the parts don't match mark the candidate as not found - // to move on with the next candidate path. - if (candidateParts[i] !== pathParts[j]) { - found = false; - break; - } - } - - // We finished evaluating the current candidate parts - // Update the matched value if and only if we found the longer pattern - if (found && candidatePath.length > matchedLen) { - matchedLen = candidatePath.length; - matchedValue = value; - } - } - - return matchedValue; -} - -function getPathFromMapKey(mapKey: string): string { - const pathStart = mapKey.indexOf("/"); - return mapKey.slice(pathStart); -} diff --git a/sdk/mongocluster/arm-mongocluster/src/rest/models.ts b/sdk/mongocluster/arm-mongocluster/src/rest/models.ts deleted file mode 100644 index ff492918112e..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/rest/models.ts +++ /dev/null @@ -1,287 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -/** Represents a mongo cluster resource. */ -export interface MongoCluster extends TrackedResource { - /** The resource-specific properties for this resource. */ - properties?: MongoClusterProperties; -} - -/** The properties of a mongo cluster. */ -export interface MongoClusterProperties { - /** - * The mode to create a mongo cluster. - * - * Possible values: "Default", "PointInTimeRestore" - */ - createMode?: CreateMode; - /** The parameters to create a point-in-time restore mongo cluster. */ - restoreParameters?: MongoClusterRestoreParameters; - /** The administrator's login for the mongo cluster. */ - administratorLogin?: string; - /** The password of the administrator login. */ - administratorLoginPassword?: string; - /** The Mongo DB server version. Defaults to the latest available version if not specified. */ - serverVersion?: string; - /** - * Whether or not public endpoint access is allowed for this mongo cluster. - * - * Possible values: "Enabled", "Disabled" - */ - publicNetworkAccess?: PublicNetworkAccess; - /** The list of node group specs in the cluster. */ - nodeGroupSpecs?: Array; -} - -/** Parameters used for restore operations */ -export interface MongoClusterRestoreParameters { - /** UTC point in time to restore a mongo cluster */ - pointInTimeUTC?: Date | string; - /** Resource ID to locate the source cluster to restore */ - sourceResourceId?: string; -} - -/** Specification for a node group. */ -export interface NodeGroupSpec { - /** The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'. */ - sku?: string; - /** The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024. */ - diskSizeGB?: number; - /** Whether high availability is enabled on the node group. */ - enableHa?: boolean; - /** - * The node type deployed in the node group. - * - * Possible values: "Shard" - */ - kind?: NodeKind; - /** The number of nodes in the node group. */ - nodeCount?: number; -} - -/** The private endpoint connection resource */ -export interface PrivateEndpointConnection extends Resource { - /** The private endpoint connection properties */ - properties?: PrivateEndpointConnectionProperties; -} - -/** Properties of the private endpoint connection. */ -export interface PrivateEndpointConnectionProperties { - /** The private endpoint resource. */ - privateEndpoint?: PrivateEndpoint; - /** A collection of information about the state of the connection between service consumer and provider. */ - privateLinkServiceConnectionState: PrivateLinkServiceConnectionState; -} - -/** The Private Endpoint resource. */ -export interface PrivateEndpoint {} - -/** A collection of information about the state of the connection between service consumer and provider. */ -export interface PrivateLinkServiceConnectionState { - /** - * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. - * - * Possible values: "Pending", "Approved", "Rejected" - */ - status?: PrivateEndpointServiceConnectionStatus; - /** The reason for approval/rejection of the connection. */ - description?: string; - /** A message indicating if changes on the service provider require any updates on the consumer. */ - actionsRequired?: string; -} - -/** Common fields that are returned in the response for all Azure Resource Manager resources */ -export interface Resource {} - -/** Metadata pertaining to creation and last modification of the resource. */ -export interface SystemData { - /** The identity that created the resource. */ - createdBy?: string; - /** - * The type of identity that created the resource. - * - * Possible values: "User", "Application", "ManagedIdentity", "Key" - */ - createdByType?: CreatedByType; - /** The timestamp of resource creation (UTC). */ - createdAt?: Date | string; - /** The identity that last modified the resource. */ - lastModifiedBy?: string; - /** - * The type of identity that last modified the resource. - * - * Possible values: "User", "Application", "ManagedIdentity", "Key" - */ - lastModifiedByType?: CreatedByType; - /** The timestamp of resource last modification (UTC) */ - lastModifiedAt?: Date | string; -} - -/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */ -export interface TrackedResource extends Resource { - /** Resource tags. */ - tags?: Record; - /** The geo-location where the resource lives */ - location: string; -} - -/** The resource model definition containing the full set of allowed properties for a resource. Except properties bag, there cannot be a top level property outside of this set. */ -export interface ResourceModelWithAllowedPropertySet extends TrackedResource { - /** - * The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. - * If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. - */ - managedBy?: string; - /** - * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. - * If supported, the resource provider must validate and persist this value. - */ - kind?: string; - /** - * The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. - * Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), - * If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. - */ - eTag?: string; - identity?: Identity; - sku?: Sku; - plan?: Plan; -} - -/** Identity for the resource. */ -export interface Identity { - /** The identity type. */ - type?: ResourceIdentityType; -} - -/** The resource model definition representing SKU */ -export interface Sku { - /** The name of the SKU. Ex - P3. It is typically a letter+number code */ - name: string; - /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */ - tier?: SkuTier; - /** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */ - size?: string; - /** If the service has different generations of hardware, for the same SKU, then that can be captured here. */ - family?: string; - /** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */ - capacity?: number; -} - -/** Plan for the resource. */ -export interface Plan { - /** A user defined name of the 3rd Party Artifact that is being procured. */ - name: string; - /** The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic */ - publisher: string; - /** The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. */ - product: string; - /** A publisher provided promotion code as provisioned in Data Market for the said product/artifact. */ - promotionCode?: string; - /** The version of the desired product/artifact. */ - version?: string; -} - -/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */ -export interface ProxyResource extends Resource {} - -/** Represents a mongo cluster firewall rule. */ -export interface FirewallRule extends ProxyResource { - /** The resource-specific properties for this resource. */ - properties?: FirewallRuleProperties; -} - -/** The properties of a mongo cluster firewall rule. */ -export interface FirewallRuleProperties { - /** The start IP address of the mongo cluster firewall rule. Must be IPv4 format. */ - startIpAddress: string; - /** The end IP address of the mongo cluster firewall rule. Must be IPv4 format. */ - endIpAddress: string; -} - -/** Concrete proxy resource types can be created by aliasing this type using a specific property type. */ -export interface PrivateEndpointConnectionResource extends ProxyResource { - /** The resource-specific properties for this resource. */ - properties?: PrivateEndpointConnectionProperties; -} - -/** Concrete proxy resource types can be created by aliasing this type using a specific property type. */ -export interface PrivateLinkResource extends ProxyResource { - /** The resource-specific properties for this resource. */ - properties?: PrivateLinkResourceProperties; -} - -/** Properties of a private link resource. */ -export interface PrivateLinkResourceProperties { - /** The private link resource private link DNS zone name. */ - requiredZoneNames?: string[]; -} - -/** The base extension resource. */ -export interface ExtensionResource extends Resource {} - -/** The resource model definition for an Azure Resource Manager resource with an etag. */ -export interface AzureEntityResource extends Resource {} - -/** A private link resource. */ -export interface PrivateLinkResource extends Resource { - /** Resource properties. */ - properties?: PrivateLinkResourceProperties; -} - -/** The type used for update operations of the MongoCluster. */ -export interface MongoClusterUpdate { - /** Resource tags. */ - tags?: Record; - /** The resource-specific properties for this resource. */ - properties?: MongoClusterUpdateProperties; -} - -/** The updatable properties of the MongoCluster. */ -export interface MongoClusterUpdateProperties { - /** The administrator's login for the mongo cluster. */ - administratorLogin?: string; - /** The password of the administrator login. */ - administratorLoginPassword?: string; - /** The Mongo DB server version. Defaults to the latest available version if not specified. */ - serverVersion?: string; - /** - * Whether or not public endpoint access is allowed for this mongo cluster. - * - * Possible values: "Enabled", "Disabled" - */ - publicNetworkAccess?: PublicNetworkAccess; - /** The list of node group specs in the cluster. */ - nodeGroupSpecs?: Array; -} - -/** The check availability request body. */ -export interface CheckNameAvailabilityRequest { - /** The name of the resource for which availability needs to be checked. */ - name?: string; - /** The resource type. */ - type?: string; -} - -/** Alias for CreateMode */ -export type CreateMode = string; -/** Alias for ResourceProvisioningState */ -export type ResourceProvisioningState = string; -/** Alias for ProvisioningState */ -export type ProvisioningState = string; -/** Alias for MongoClusterStatus */ -export type MongoClusterStatus = string; -/** Alias for PublicNetworkAccess */ -export type PublicNetworkAccess = string; -/** Alias for NodeKind */ -export type NodeKind = string; -/** Alias for PrivateEndpointServiceConnectionStatus */ -export type PrivateEndpointServiceConnectionStatus = string; -/** Alias for PrivateEndpointConnectionProvisioningState */ -export type PrivateEndpointConnectionProvisioningState = string; -/** Alias for CreatedByType */ -export type CreatedByType = string; -/** Alias for ResourceIdentityType */ -export type ResourceIdentityType = "SystemAssigned"; -/** Alias for SkuTier */ -export type SkuTier = "Free" | "Basic" | "Standard" | "Premium"; diff --git a/sdk/mongocluster/arm-mongocluster/src/rest/outputModels.ts b/sdk/mongocluster/arm-mongocluster/src/rest/outputModels.ts deleted file mode 100644 index f59fb8e84ea6..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/rest/outputModels.ts +++ /dev/null @@ -1,417 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { Paged } from "@azure/core-paging"; - -/** Details of a REST API operation, returned from the Resource Provider Operations API */ -export interface OperationOutput { - /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" */ - readonly name?: string; - /** Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for Azure Resource Manager/control-plane operations. */ - readonly isDataAction?: boolean; - /** Localized display information for this particular operation. */ - readonly display?: OperationDisplayOutput; - /** - * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" - * - * Possible values: "user", "system", "user,system" - */ - readonly origin?: OriginOutput; - /** - * Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. - * - * Possible values: "Internal" - */ - actionType?: ActionTypeOutput; -} - -/** Localized display information for and operation. */ -export interface OperationDisplayOutput { - /** The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". */ - readonly provider?: string; - /** The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". */ - readonly resource?: string; - /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". */ - readonly operation?: string; - /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */ - readonly description?: string; -} - -/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */ -export interface ErrorResponseOutput { - /** The error object. */ - error?: ErrorDetailOutput; -} - -/** The error detail. */ -export interface ErrorDetailOutput { - /** The error code. */ - readonly code?: string; - /** The error message. */ - readonly message?: string; - /** The error target. */ - readonly target?: string; - /** The error details. */ - readonly details?: Array; - /** The error additional info. */ - readonly additionalInfo?: Array; -} - -/** The resource management error additional info. */ -export interface ErrorAdditionalInfoOutput { - /** The additional info type. */ - readonly type?: string; - /** The additional info. */ - readonly info?: Record; -} - -/** Represents a mongo cluster resource. */ -export interface MongoClusterOutput extends TrackedResourceOutput { - /** The resource-specific properties for this resource. */ - properties?: MongoClusterPropertiesOutput; -} - -/** The properties of a mongo cluster. */ -export interface MongoClusterPropertiesOutput { - /** - * The mode to create a mongo cluster. - * - * Possible values: "Default", "PointInTimeRestore" - */ - createMode?: CreateModeOutput; - /** The parameters to create a point-in-time restore mongo cluster. */ - restoreParameters?: MongoClusterRestoreParametersOutput; - /** The administrator's login for the mongo cluster. */ - administratorLogin?: string; - /** The password of the administrator login. */ - administratorLoginPassword?: string; - /** The Mongo DB server version. Defaults to the latest available version if not specified. */ - serverVersion?: string; - /** The default mongo connection string for the cluster. */ - readonly connectionString?: string; - /** Earliest restore timestamp in UTC ISO8601 format. */ - readonly earliestRestoreTime?: string; - /** - * The provisioning state of the mongo cluster. - * - * Possible values: "InProgress", "Updating", "Dropping" - */ - readonly provisioningState?: ProvisioningStateOutput; - /** - * The status of the mongo cluster. - * - * Possible values: "Ready", "Provisioning", "Updating", "Starting", "Stopping", "Stopped", "Dropping" - */ - readonly clusterStatus?: MongoClusterStatusOutput; - /** - * Whether or not public endpoint access is allowed for this mongo cluster. - * - * Possible values: "Enabled", "Disabled" - */ - publicNetworkAccess?: PublicNetworkAccessOutput; - /** The list of node group specs in the cluster. */ - nodeGroupSpecs?: Array; - /** List of private endpoint connections. */ - readonly privateEndpointConnections?: Array; -} - -/** Parameters used for restore operations */ -export interface MongoClusterRestoreParametersOutput { - /** UTC point in time to restore a mongo cluster */ - pointInTimeUTC?: string; - /** Resource ID to locate the source cluster to restore */ - sourceResourceId?: string; -} - -/** Specification for a node group. */ -export interface NodeGroupSpecOutput { - /** The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'. */ - sku?: string; - /** The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024. */ - diskSizeGB?: number; - /** Whether high availability is enabled on the node group. */ - enableHa?: boolean; - /** - * The node type deployed in the node group. - * - * Possible values: "Shard" - */ - kind?: NodeKindOutput; - /** The number of nodes in the node group. */ - nodeCount?: number; -} - -/** The private endpoint connection resource */ -export interface PrivateEndpointConnectionOutput extends ResourceOutput { - /** The private endpoint connection properties */ - properties?: PrivateEndpointConnectionPropertiesOutput; -} - -/** Properties of the private endpoint connection. */ -export interface PrivateEndpointConnectionPropertiesOutput { - /** The group ids for the private endpoint resource. */ - readonly groupIds?: string[]; - /** The private endpoint resource. */ - privateEndpoint?: PrivateEndpointOutput; - /** A collection of information about the state of the connection between service consumer and provider. */ - privateLinkServiceConnectionState: PrivateLinkServiceConnectionStateOutput; - /** - * The provisioning state of the private endpoint connection resource. - * - * Possible values: "Succeeded", "Creating", "Deleting", "Failed" - */ - readonly provisioningState?: PrivateEndpointConnectionProvisioningStateOutput; -} - -/** The Private Endpoint resource. */ -export interface PrivateEndpointOutput { - /** The resource identifier for private endpoint */ - readonly id?: string; -} - -/** A collection of information about the state of the connection between service consumer and provider. */ -export interface PrivateLinkServiceConnectionStateOutput { - /** - * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. - * - * Possible values: "Pending", "Approved", "Rejected" - */ - status?: PrivateEndpointServiceConnectionStatusOutput; - /** The reason for approval/rejection of the connection. */ - description?: string; - /** A message indicating if changes on the service provider require any updates on the consumer. */ - actionsRequired?: string; -} - -/** Common fields that are returned in the response for all Azure Resource Manager resources */ -export interface ResourceOutput { - /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ - readonly id?: string; - /** The name of the resource */ - readonly name?: string; - /** The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ - readonly type?: string; - /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */ - readonly systemData?: SystemDataOutput; -} - -/** Metadata pertaining to creation and last modification of the resource. */ -export interface SystemDataOutput { - /** The identity that created the resource. */ - createdBy?: string; - /** - * The type of identity that created the resource. - * - * Possible values: "User", "Application", "ManagedIdentity", "Key" - */ - createdByType?: CreatedByTypeOutput; - /** The timestamp of resource creation (UTC). */ - createdAt?: string; - /** The identity that last modified the resource. */ - lastModifiedBy?: string; - /** - * The type of identity that last modified the resource. - * - * Possible values: "User", "Application", "ManagedIdentity", "Key" - */ - lastModifiedByType?: CreatedByTypeOutput; - /** The timestamp of resource last modification (UTC) */ - lastModifiedAt?: string; -} - -/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */ -export interface TrackedResourceOutput extends ResourceOutput { - /** Resource tags. */ - tags?: Record; - /** The geo-location where the resource lives */ - location: string; -} - -/** The resource model definition containing the full set of allowed properties for a resource. Except properties bag, there cannot be a top level property outside of this set. */ -export interface ResourceModelWithAllowedPropertySetOutput extends TrackedResourceOutput { - /** - * The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. - * If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. - */ - managedBy?: string; - /** - * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. - * If supported, the resource provider must validate and persist this value. - */ - kind?: string; - /** - * The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. - * Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), - * If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. - */ - eTag?: string; - identity?: IdentityOutput; - sku?: SkuOutput; - plan?: PlanOutput; -} - -/** Identity for the resource. */ -export interface IdentityOutput { - /** The principal ID of resource identity. The value must be an UUID. */ - readonly principalId?: string; - /** The tenant ID of resource. The value must be an UUID. */ - readonly tenantId?: string; - /** The identity type. */ - type?: ResourceIdentityTypeOutput; -} - -/** The resource model definition representing SKU */ -export interface SkuOutput { - /** The name of the SKU. Ex - P3. It is typically a letter+number code */ - name: string; - /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */ - tier?: SkuTierOutput; - /** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */ - size?: string; - /** If the service has different generations of hardware, for the same SKU, then that can be captured here. */ - family?: string; - /** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */ - capacity?: number; -} - -/** Plan for the resource. */ -export interface PlanOutput { - /** A user defined name of the 3rd Party Artifact that is being procured. */ - name: string; - /** The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic */ - publisher: string; - /** The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. */ - product: string; - /** A publisher provided promotion code as provisioned in Data Market for the said product/artifact. */ - promotionCode?: string; - /** The version of the desired product/artifact. */ - version?: string; -} - -/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */ -export interface ProxyResourceOutput extends ResourceOutput {} - -/** Represents a mongo cluster firewall rule. */ -export interface FirewallRuleOutput extends ProxyResourceOutput { - /** The resource-specific properties for this resource. */ - properties?: FirewallRulePropertiesOutput; -} - -/** The properties of a mongo cluster firewall rule. */ -export interface FirewallRulePropertiesOutput { - /** - * The provisioning state of the firewall rule. - * - * Possible values: "InProgress", "Updating", "Dropping" - */ - readonly provisioningState?: ProvisioningStateOutput; - /** The start IP address of the mongo cluster firewall rule. Must be IPv4 format. */ - startIpAddress: string; - /** The end IP address of the mongo cluster firewall rule. Must be IPv4 format. */ - endIpAddress: string; -} - -/** Concrete proxy resource types can be created by aliasing this type using a specific property type. */ -export interface PrivateEndpointConnectionResourceOutput extends ProxyResourceOutput { - /** The resource-specific properties for this resource. */ - properties?: PrivateEndpointConnectionPropertiesOutput; -} - -/** Concrete proxy resource types can be created by aliasing this type using a specific property type. */ -export interface PrivateLinkResourceOutput extends ProxyResourceOutput { - /** The resource-specific properties for this resource. */ - properties?: PrivateLinkResourcePropertiesOutput; -} - -/** Properties of a private link resource. */ -export interface PrivateLinkResourcePropertiesOutput { - /** The private link resource group id. */ - readonly groupId?: string; - /** The private link resource required member names. */ - readonly requiredMembers?: string[]; - /** The private link resource private link DNS zone name. */ - requiredZoneNames?: string[]; -} - -/** The base extension resource. */ -export interface ExtensionResourceOutput extends ResourceOutput {} - -/** The resource model definition for an Azure Resource Manager resource with an etag. */ -export interface AzureEntityResourceOutput extends ResourceOutput { - /** Resource Etag. */ - readonly etag?: string; -} - -/** A private link resource. */ -export interface PrivateLinkResourceOutput extends ResourceOutput { - /** Resource properties. */ - properties?: PrivateLinkResourcePropertiesOutput; -} - -/** The connection strings for the given mongo cluster. */ -export interface ListConnectionStringsResultOutput { - /** An array that contains the connection strings for a mongo cluster. */ - readonly connectionStrings?: Array; -} - -/** Connection string for the mongo cluster */ -export interface ConnectionStringOutput { - /** Value of the connection string */ - readonly connectionString?: string; - /** Description of the connection string */ - readonly description?: string; -} - -/** The check availability result. */ -export interface CheckNameAvailabilityResponseOutput { - /** Indicates if the resource name is available. */ - nameAvailable?: boolean; - /** - * The reason why the given name is not available. - * - * Possible values: "Invalid", "AlreadyExists" - */ - reason?: CheckNameAvailabilityReasonOutput; - /** Detailed reason why the given name is not available. */ - message?: string; -} - -/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */ -export type OperationListResultOutput = Paged; -/** Alias for OriginOutput */ -export type OriginOutput = string; -/** Alias for ActionTypeOutput */ -export type ActionTypeOutput = string; -/** Alias for CreateModeOutput */ -export type CreateModeOutput = string; -/** Alias for ResourceProvisioningStateOutput */ -export type ResourceProvisioningStateOutput = string; -/** Alias for ProvisioningStateOutput */ -export type ProvisioningStateOutput = string; -/** Alias for MongoClusterStatusOutput */ -export type MongoClusterStatusOutput = string; -/** Alias for PublicNetworkAccessOutput */ -export type PublicNetworkAccessOutput = string; -/** Alias for NodeKindOutput */ -export type NodeKindOutput = string; -/** Alias for PrivateEndpointServiceConnectionStatusOutput */ -export type PrivateEndpointServiceConnectionStatusOutput = string; -/** Alias for PrivateEndpointConnectionProvisioningStateOutput */ -export type PrivateEndpointConnectionProvisioningStateOutput = string; -/** Alias for CreatedByTypeOutput */ -export type CreatedByTypeOutput = string; -/** Alias for ResourceIdentityTypeOutput */ -export type ResourceIdentityTypeOutput = "SystemAssigned"; -/** Alias for SkuTierOutput */ -export type SkuTierOutput = "Free" | "Basic" | "Standard" | "Premium"; -/** The response of a MongoCluster list operation. */ -export type MongoClusterListResultOutput = Paged; -/** Alias for CheckNameAvailabilityReasonOutput */ -export type CheckNameAvailabilityReasonOutput = string; -/** The response of a FirewallRule list operation. */ -export type FirewallRuleListResultOutput = Paged; -/** The response of a PrivateEndpointConnectionResource list operation. */ -export type PrivateEndpointConnectionResourceListResultOutput = - Paged; -/** The response of a PrivateLinkResource list operation. */ -export type PrivateLinkResourceListResultOutput = Paged; diff --git a/sdk/mongocluster/arm-mongocluster/src/rest/paginateHelper.ts b/sdk/mongocluster/arm-mongocluster/src/rest/paginateHelper.ts deleted file mode 100644 index f0d91c952cda..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/rest/paginateHelper.ts +++ /dev/null @@ -1,131 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { getPagedAsyncIterator, PagedAsyncIterableIterator, PagedResult } from "@azure/core-paging"; -import { Client, createRestError, PathUncheckedResponse } from "@azure-rest/core-client"; - -/** - * Helper type to extract the type of an array - */ -export type GetArrayType = T extends Array ? TData : never; - -/** - * The type of a custom function that defines how to get a page and a link to the next one if any. - */ -export type GetPage = ( - pageLink: string, - maxPageSize?: number, -) => Promise<{ - page: TPage; - nextPageLink?: string; -}>; - -/** - * Options for the paging helper - */ -export interface PagingOptions { - /** - * Custom function to extract pagination details for crating the PagedAsyncIterableIterator - */ - customGetPage?: GetPage[]>; -} - -/** - * Helper type to infer the Type of the paged elements from the response type - * This type is generated based on the swagger information for x-ms-pageable - * specifically on the itemName property which indicates the property of the response - * where the page items are found. The default value is `value`. - * This type will allow us to provide strongly typed Iterator based on the response we get as second parameter - */ -export type PaginateReturn = TResult extends { - body: { value?: infer TPage }; -} - ? GetArrayType - : Array; - -/** - * Helper to paginate results from an initial response that follows the specification of Autorest `x-ms-pageable` extension - * @param client - Client to use for sending the next page requests - * @param initialResponse - Initial response containing the nextLink and current page of elements - * @param customGetPage - Optional - Function to define how to extract the page and next link to be used to paginate the results - * @returns - PagedAsyncIterableIterator to iterate the elements - */ -export function paginate( - client: Client, - initialResponse: TResponse, - options: PagingOptions = {}, -): PagedAsyncIterableIterator> { - // Extract element type from initial response - type TElement = PaginateReturn; - let firstRun = true; - const itemName = "value"; - const nextLinkName = "nextLink"; - const { customGetPage } = options; - const pagedResult: PagedResult = { - firstPageLink: "", - getPage: - typeof customGetPage === "function" - ? customGetPage - : async (pageLink: string) => { - const result = firstRun ? initialResponse : await client.pathUnchecked(pageLink).get(); - firstRun = false; - checkPagingRequest(result); - const nextLink = getNextLink(result.body, nextLinkName); - const values = getElements(result.body, itemName); - return { - page: values, - nextPageLink: nextLink, - }; - }, - }; - - return getPagedAsyncIterator(pagedResult); -} - -/** - * Gets for the value of nextLink in the body - */ -function getNextLink(body: unknown, nextLinkName?: string): string | undefined { - if (!nextLinkName) { - return undefined; - } - - const nextLink = (body as Record)[nextLinkName]; - - if (typeof nextLink !== "string" && typeof nextLink !== "undefined") { - throw new Error(`Body Property ${nextLinkName} should be a string or undefined`); - } - - return nextLink; -} - -/** - * Gets the elements of the current request in the body. - */ -function getElements(body: unknown, itemName: string): T[] { - const value = (body as Record)[itemName] as T[]; - - // value has to be an array according to the x-ms-pageable extension. - // The fact that this must be an array is used above to calculate the - // type of elements in the page in PaginateReturn - if (!Array.isArray(value)) { - throw new Error( - `Couldn't paginate response\n Body doesn't contain an array property with name: ${itemName}`, - ); - } - - return value ?? []; -} - -/** - * Checks if a request failed - */ -function checkPagingRequest(response: PathUncheckedResponse): void { - const Http2xxStatusCodes = ["200", "201", "202", "203", "204", "205", "206", "207", "208", "226"]; - if (!Http2xxStatusCodes.includes(response.status)) { - throw createRestError( - `Pagination failed with unexpected statusCode ${response.status}`, - response, - ); - } -} diff --git a/sdk/mongocluster/arm-mongocluster/src/rest/parameters.ts b/sdk/mongocluster/arm-mongocluster/src/rest/parameters.ts deleted file mode 100644 index 51f5d69a5430..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/rest/parameters.ts +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { RequestParameters } from "@azure-rest/core-client"; -import { - MongoCluster, - MongoClusterUpdate, - CheckNameAvailabilityRequest, - FirewallRule, - PrivateEndpointConnectionResource, -} from "./models.js"; - -export type OperationsListParameters = RequestParameters; -export type MongoClustersGetParameters = RequestParameters; - -export interface MongoClustersCreateOrUpdateBodyParam { - /** Resource create parameters. */ - body: MongoCluster; -} - -export type MongoClustersCreateOrUpdateParameters = MongoClustersCreateOrUpdateBodyParam & - RequestParameters; - -export interface MongoClustersUpdateBodyParam { - /** The resource properties to be updated. */ - body: MongoClusterUpdate; -} - -export type MongoClustersUpdateParameters = MongoClustersUpdateBodyParam & RequestParameters; -export type MongoClustersDeleteParameters = RequestParameters; -export type MongoClustersListByResourceGroupParameters = RequestParameters; -export type MongoClustersListParameters = RequestParameters; -export type MongoClustersListConnectionStringsParameters = RequestParameters; - -export interface MongoClustersCheckNameAvailabilityBodyParam { - /** The CheckAvailability request */ - body: CheckNameAvailabilityRequest; -} - -export type MongoClustersCheckNameAvailabilityParameters = - MongoClustersCheckNameAvailabilityBodyParam & RequestParameters; -export type FirewallRulesGetParameters = RequestParameters; - -export interface FirewallRulesCreateOrUpdateBodyParam { - /** Resource create parameters. */ - body: FirewallRule; -} - -export type FirewallRulesCreateOrUpdateParameters = FirewallRulesCreateOrUpdateBodyParam & - RequestParameters; -export type FirewallRulesDeleteParameters = RequestParameters; -export type FirewallRulesListByMongoClusterParameters = RequestParameters; -export type PrivateEndpointConnectionsListByMongoClusterParameters = RequestParameters; -export type PrivateEndpointConnectionsGetParameters = RequestParameters; - -export interface PrivateEndpointConnectionsCreateBodyParam { - /** Resource create parameters. */ - body: PrivateEndpointConnectionResource; -} - -export type PrivateEndpointConnectionsCreateParameters = PrivateEndpointConnectionsCreateBodyParam & - RequestParameters; -export type PrivateEndpointConnectionsDeleteParameters = RequestParameters; -export type PrivateLinksListByMongoClusterParameters = RequestParameters; diff --git a/sdk/mongocluster/arm-mongocluster/src/rest/pollingHelper.ts b/sdk/mongocluster/arm-mongocluster/src/rest/pollingHelper.ts deleted file mode 100644 index abf63b48bb4e..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/rest/pollingHelper.ts +++ /dev/null @@ -1,306 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { Client, HttpResponse } from "@azure-rest/core-client"; -import { AbortSignalLike } from "@azure/abort-controller"; -import { - CancelOnProgress, - CreateHttpPollerOptions, - RunningOperation, - OperationResponse, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; -import { - MongoClustersCreateOrUpdate200Response, - MongoClustersCreateOrUpdate201Response, - MongoClustersCreateOrUpdateDefaultResponse, - MongoClustersCreateOrUpdateLogicalResponse, - MongoClustersUpdate200Response, - MongoClustersUpdate202Response, - MongoClustersUpdateDefaultResponse, - MongoClustersUpdateLogicalResponse, - MongoClustersDelete202Response, - MongoClustersDelete204Response, - MongoClustersDeleteDefaultResponse, - MongoClustersDeleteLogicalResponse, - FirewallRulesCreateOrUpdate200Response, - FirewallRulesCreateOrUpdate201Response, - FirewallRulesCreateOrUpdate202Response, - FirewallRulesCreateOrUpdateDefaultResponse, - FirewallRulesCreateOrUpdateLogicalResponse, - FirewallRulesDelete202Response, - FirewallRulesDelete204Response, - FirewallRulesDeleteDefaultResponse, - FirewallRulesDeleteLogicalResponse, - PrivateEndpointConnectionsCreate200Response, - PrivateEndpointConnectionsCreate201Response, - PrivateEndpointConnectionsCreate202Response, - PrivateEndpointConnectionsCreateDefaultResponse, - PrivateEndpointConnectionsCreateLogicalResponse, - PrivateEndpointConnectionsDelete202Response, - PrivateEndpointConnectionsDelete204Response, - PrivateEndpointConnectionsDeleteDefaultResponse, - PrivateEndpointConnectionsDeleteLogicalResponse, -} from "./responses.js"; - -/** - * A simple poller that can be used to poll a long running operation. - */ -export interface SimplePollerLike, TResult> { - /** - * Returns true if the poller has finished polling. - */ - isDone(): boolean; - /** - * Returns the state of the operation. - */ - getOperationState(): TState; - /** - * Returns the result value of the operation, - * regardless of the state of the poller. - * It can return undefined or an incomplete form of the final TResult value - * depending on the implementation. - */ - getResult(): TResult | undefined; - /** - * Returns a promise that will resolve once a single polling request finishes. - * It does this by calling the update method of the Poller's operation. - */ - poll(options?: { abortSignal?: AbortSignalLike }): Promise; - /** - * Returns a promise that will resolve once the underlying operation is completed. - */ - pollUntilDone(pollOptions?: { abortSignal?: AbortSignalLike }): Promise; - /** - * Invokes the provided callback after each polling is completed, - * sending the current state of the poller's operation. - * - * It returns a method that can be used to stop receiving updates on the given callback function. - */ - onProgress(callback: (state: TState) => void): CancelOnProgress; - - /** - * Returns a promise that could be used for serialized version of the poller's operation - * by invoking the operation's serialize method. - */ - serialize(): Promise; - - /** - * Wait the poller to be submitted. - */ - submitted(): Promise; - - /** - * Returns a string representation of the poller's operation. Similar to serialize but returns a string. - * @deprecated Use serialize() instead. - */ - toString(): string; - - /** - * Stops the poller from continuing to poll. Please note this will only stop the client-side polling - * @deprecated Use abortSignal to stop polling instead. - */ - stopPolling(): void; - - /** - * Returns true if the poller is stopped. - * @deprecated Use abortSignal status to track this instead. - */ - isStopped(): boolean; -} - -/** - * Helper function that builds a Poller object to help polling a long running operation. - * @param client - Client to use for sending the request to get additional pages. - * @param initialResponse - The initial response. - * @param options - Options to set a resume state or custom polling interval. - * @returns - A poller object to poll for operation state updates and eventually get the final response. - */ -export async function getLongRunningPoller< - TResult extends - | MongoClustersCreateOrUpdateLogicalResponse - | MongoClustersCreateOrUpdateDefaultResponse, ->( - client: Client, - initialResponse: - | MongoClustersCreateOrUpdate200Response - | MongoClustersCreateOrUpdate201Response - | MongoClustersCreateOrUpdateDefaultResponse, - options?: CreateHttpPollerOptions>, -): Promise, TResult>>; -export async function getLongRunningPoller< - TResult extends MongoClustersUpdateLogicalResponse | MongoClustersUpdateDefaultResponse, ->( - client: Client, - initialResponse: - | MongoClustersUpdate200Response - | MongoClustersUpdate202Response - | MongoClustersUpdateDefaultResponse, - options?: CreateHttpPollerOptions>, -): Promise, TResult>>; -export async function getLongRunningPoller< - TResult extends MongoClustersDeleteLogicalResponse | MongoClustersDeleteDefaultResponse, ->( - client: Client, - initialResponse: - | MongoClustersDelete202Response - | MongoClustersDelete204Response - | MongoClustersDeleteDefaultResponse, - options?: CreateHttpPollerOptions>, -): Promise, TResult>>; -export async function getLongRunningPoller< - TResult extends - | FirewallRulesCreateOrUpdateLogicalResponse - | FirewallRulesCreateOrUpdateDefaultResponse, ->( - client: Client, - initialResponse: - | FirewallRulesCreateOrUpdate200Response - | FirewallRulesCreateOrUpdate201Response - | FirewallRulesCreateOrUpdate202Response - | FirewallRulesCreateOrUpdateDefaultResponse, - options?: CreateHttpPollerOptions>, -): Promise, TResult>>; -export async function getLongRunningPoller< - TResult extends FirewallRulesDeleteLogicalResponse | FirewallRulesDeleteDefaultResponse, ->( - client: Client, - initialResponse: - | FirewallRulesDelete202Response - | FirewallRulesDelete204Response - | FirewallRulesDeleteDefaultResponse, - options?: CreateHttpPollerOptions>, -): Promise, TResult>>; -export async function getLongRunningPoller< - TResult extends - | PrivateEndpointConnectionsCreateLogicalResponse - | PrivateEndpointConnectionsCreateDefaultResponse, ->( - client: Client, - initialResponse: - | PrivateEndpointConnectionsCreate200Response - | PrivateEndpointConnectionsCreate201Response - | PrivateEndpointConnectionsCreate202Response - | PrivateEndpointConnectionsCreateDefaultResponse, - options?: CreateHttpPollerOptions>, -): Promise, TResult>>; -export async function getLongRunningPoller< - TResult extends - | PrivateEndpointConnectionsDeleteLogicalResponse - | PrivateEndpointConnectionsDeleteDefaultResponse, ->( - client: Client, - initialResponse: - | PrivateEndpointConnectionsDelete202Response - | PrivateEndpointConnectionsDelete204Response - | PrivateEndpointConnectionsDeleteDefaultResponse, - options?: CreateHttpPollerOptions>, -): Promise, TResult>>; -export async function getLongRunningPoller( - client: Client, - initialResponse: TResult, - options: CreateHttpPollerOptions> = {}, -): Promise, TResult>> { - const abortController = new AbortController(); - const poller: RunningOperation = { - sendInitialRequest: async () => { - // In the case of Rest Clients we are building the LRO poller object from a response that's the reason - // we are not triggering the initial request here, just extracting the information from the - // response we were provided. - return getLroResponse(initialResponse); - }, - sendPollRequest: async (path: string, pollOptions?: { abortSignal?: AbortSignalLike }) => { - // This is the callback that is going to be called to poll the service - // to get the latest status. We use the client provided and the polling path - // which is an opaque URL provided by caller, the service sends this in one of the following headers: operation-location, azure-asyncoperation or location - // depending on the lro pattern that the service implements. If non is provided we default to the initial path. - function abortListener(): void { - abortController.abort(); - } - const inputAbortSignal = pollOptions?.abortSignal; - const abortSignal = abortController.signal; - if (inputAbortSignal?.aborted) { - abortController.abort(); - } else if (!abortSignal.aborted) { - inputAbortSignal?.addEventListener("abort", abortListener, { - once: true, - }); - } - let response; - try { - response = await client - .pathUnchecked(path ?? initialResponse.request.url) - .get({ abortSignal }); - } finally { - inputAbortSignal?.removeEventListener("abort", abortListener); - } - const lroResponse = getLroResponse(response as TResult); - lroResponse.rawResponse.headers["x-ms-original-url"] = initialResponse.request.url; - return lroResponse; - }, - }; - - options.resolveOnUnsuccessful = options.resolveOnUnsuccessful ?? true; - const httpPoller = createHttpPoller(poller, options); - const simplePoller: SimplePollerLike, TResult> = { - isDone() { - return httpPoller.isDone; - }, - isStopped() { - return abortController.signal.aborted; - }, - getOperationState() { - if (!httpPoller.operationState) { - throw new Error( - "Operation state is not available. The poller may not have been started and you could await submitted() before calling getOperationState().", - ); - } - return httpPoller.operationState; - }, - getResult() { - return httpPoller.result; - }, - toString() { - if (!httpPoller.operationState) { - throw new Error( - "Operation state is not available. The poller may not have been started and you could await submitted() before calling getOperationState().", - ); - } - return JSON.stringify({ - state: httpPoller.operationState, - }); - }, - stopPolling() { - abortController.abort(); - }, - onProgress: httpPoller.onProgress, - poll: httpPoller.poll, - pollUntilDone: httpPoller.pollUntilDone, - serialize: httpPoller.serialize, - submitted: httpPoller.submitted, - }; - return simplePoller; -} - -/** - * Converts a Rest Client response to a response that the LRO implementation understands - * @param response - a rest client http response - * @returns - An LRO response that the LRO implementation understands - */ -function getLroResponse( - response: TResult, -): OperationResponse { - if (Number.isNaN(response.status)) { - throw new TypeError(`Status code of the response is not a number. Value: ${response.status}`); - } - - return { - flatResponse: response, - rawResponse: { - ...response, - statusCode: Number.parseInt(response.status), - body: response.body, - }, - }; -} diff --git a/sdk/mongocluster/arm-mongocluster/src/rest/responses.ts b/sdk/mongocluster/arm-mongocluster/src/rest/responses.ts deleted file mode 100644 index 84da65a7272f..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/rest/responses.ts +++ /dev/null @@ -1,354 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { RawHttpHeaders } from "@azure/core-rest-pipeline"; -import { HttpResponse } from "@azure-rest/core-client"; -import { - OperationListResultOutput, - ErrorResponseOutput, - MongoClusterOutput, - MongoClusterListResultOutput, - ListConnectionStringsResultOutput, - CheckNameAvailabilityResponseOutput, - FirewallRuleOutput, - FirewallRuleListResultOutput, - PrivateEndpointConnectionResourceListResultOutput, - PrivateEndpointConnectionResourceOutput, - PrivateLinkResourceListResultOutput, -} from "./outputModels.js"; - -/** Azure operation completed successfully. */ -export interface OperationsList200Response extends HttpResponse { - status: "200"; - body: OperationListResultOutput; -} - -export interface OperationsListDefaultResponse extends HttpResponse { - status: string; - body: ErrorResponseOutput; -} - -/** Azure operation completed successfully. */ -export interface MongoClustersGet200Response extends HttpResponse { - status: "200"; - body: MongoClusterOutput; -} - -export interface MongoClustersGetDefaultResponse extends HttpResponse { - status: string; - body: ErrorResponseOutput; -} - -/** Resource 'MongoCluster' update operation succeeded */ -export interface MongoClustersCreateOrUpdate200Response extends HttpResponse { - status: "200"; - body: MongoClusterOutput; -} - -export interface MongoClustersCreateOrUpdate201Headers { - /** The Retry-After header can indicate how long the client should wait before polling the operation status. */ - "retry-after"?: number; -} - -/** Resource 'MongoCluster' create operation succeeded */ -export interface MongoClustersCreateOrUpdate201Response extends HttpResponse { - status: "201"; - body: MongoClusterOutput; - headers: RawHttpHeaders & MongoClustersCreateOrUpdate201Headers; -} - -export interface MongoClustersCreateOrUpdateDefaultResponse extends HttpResponse { - status: string; - body: ErrorResponseOutput; -} - -/** The final response for long-running createOrUpdate operation */ -export interface MongoClustersCreateOrUpdateLogicalResponse extends HttpResponse { - status: "200"; - body: MongoClusterOutput; -} - -/** Azure operation completed successfully. */ -export interface MongoClustersUpdate200Response extends HttpResponse { - status: "200"; - body: MongoClusterOutput; -} - -export interface MongoClustersUpdate202Headers { - /** The Location header contains the URL where the status of the long running operation can be checked. */ - location?: string; - /** The Retry-After header can indicate how long the client should wait before polling the operation status. */ - "retry-after"?: number; -} - -/** Resource update request accepted. */ -export interface MongoClustersUpdate202Response extends HttpResponse { - status: "202"; - headers: RawHttpHeaders & MongoClustersUpdate202Headers; -} - -export interface MongoClustersUpdateDefaultResponse extends HttpResponse { - status: string; - body: ErrorResponseOutput; -} - -/** The final response for long-running update operation */ -export interface MongoClustersUpdateLogicalResponse extends HttpResponse { - status: "200"; - body: MongoClusterOutput; -} - -export interface MongoClustersDelete202Headers { - /** The Location header contains the URL where the status of the long running operation can be checked. */ - location?: string; - /** The Retry-After header can indicate how long the client should wait before polling the operation status. */ - "retry-after"?: number; -} - -/** Resource deletion accepted. */ -export interface MongoClustersDelete202Response extends HttpResponse { - status: "202"; - headers: RawHttpHeaders & MongoClustersDelete202Headers; -} - -/** Resource does not exist. */ -export interface MongoClustersDelete204Response extends HttpResponse { - status: "204"; -} - -export interface MongoClustersDeleteDefaultResponse extends HttpResponse { - status: string; - body: ErrorResponseOutput; -} - -/** The final response for long-running delete operation */ -export interface MongoClustersDeleteLogicalResponse extends HttpResponse { - status: "200"; -} - -/** Azure operation completed successfully. */ -export interface MongoClustersListByResourceGroup200Response extends HttpResponse { - status: "200"; - body: MongoClusterListResultOutput; -} - -export interface MongoClustersListByResourceGroupDefaultResponse extends HttpResponse { - status: string; - body: ErrorResponseOutput; -} - -/** Azure operation completed successfully. */ -export interface MongoClustersList200Response extends HttpResponse { - status: "200"; - body: MongoClusterListResultOutput; -} - -export interface MongoClustersListDefaultResponse extends HttpResponse { - status: string; - body: ErrorResponseOutput; -} - -/** Azure operation completed successfully. */ -export interface MongoClustersListConnectionStrings200Response extends HttpResponse { - status: "200"; - body: ListConnectionStringsResultOutput; -} - -export interface MongoClustersListConnectionStringsDefaultResponse extends HttpResponse { - status: string; - body: ErrorResponseOutput; -} - -/** The request has succeeded. */ -export interface MongoClustersCheckNameAvailability200Response extends HttpResponse { - status: "200"; - body: CheckNameAvailabilityResponseOutput; -} - -export interface MongoClustersCheckNameAvailabilityDefaultResponse extends HttpResponse { - status: string; - body: ErrorResponseOutput; -} - -/** Azure operation completed successfully. */ -export interface FirewallRulesGet200Response extends HttpResponse { - status: "200"; - body: FirewallRuleOutput; -} - -export interface FirewallRulesGetDefaultResponse extends HttpResponse { - status: string; - body: ErrorResponseOutput; -} - -/** Resource 'FirewallRule' update operation succeeded */ -export interface FirewallRulesCreateOrUpdate200Response extends HttpResponse { - status: "200"; - body: FirewallRuleOutput; -} - -/** Resource 'FirewallRule' create operation succeeded */ -export interface FirewallRulesCreateOrUpdate201Response extends HttpResponse { - status: "201"; - body: FirewallRuleOutput; -} - -export interface FirewallRulesCreateOrUpdate202Headers { - /** The Location header contains the URL where the status of the long running operation can be checked. */ - location?: string; - /** The Retry-After header can indicate how long the client should wait before polling the operation status. */ - "retry-after"?: number; -} - -/** Resource operation accepted. */ -export interface FirewallRulesCreateOrUpdate202Response extends HttpResponse { - status: "202"; - headers: RawHttpHeaders & FirewallRulesCreateOrUpdate202Headers; -} - -export interface FirewallRulesCreateOrUpdateDefaultResponse extends HttpResponse { - status: string; - body: ErrorResponseOutput; -} - -/** The final response for long-running createOrUpdate operation */ -export interface FirewallRulesCreateOrUpdateLogicalResponse extends HttpResponse { - status: "200"; - body: FirewallRuleOutput; -} - -export interface FirewallRulesDelete202Headers { - /** The Location header contains the URL where the status of the long running operation can be checked. */ - location?: string; - /** The Retry-After header can indicate how long the client should wait before polling the operation status. */ - "retry-after"?: number; -} - -/** Resource deletion accepted. */ -export interface FirewallRulesDelete202Response extends HttpResponse { - status: "202"; - headers: RawHttpHeaders & FirewallRulesDelete202Headers; -} - -/** Resource does not exist. */ -export interface FirewallRulesDelete204Response extends HttpResponse { - status: "204"; -} - -export interface FirewallRulesDeleteDefaultResponse extends HttpResponse { - status: string; - body: ErrorResponseOutput; -} - -/** The final response for long-running delete operation */ -export interface FirewallRulesDeleteLogicalResponse extends HttpResponse { - status: "200"; -} - -/** Azure operation completed successfully. */ -export interface FirewallRulesListByMongoCluster200Response extends HttpResponse { - status: "200"; - body: FirewallRuleListResultOutput; -} - -export interface FirewallRulesListByMongoClusterDefaultResponse extends HttpResponse { - status: string; - body: ErrorResponseOutput; -} - -/** Azure operation completed successfully. */ -export interface PrivateEndpointConnectionsListByMongoCluster200Response extends HttpResponse { - status: "200"; - body: PrivateEndpointConnectionResourceListResultOutput; -} - -export interface PrivateEndpointConnectionsListByMongoClusterDefaultResponse extends HttpResponse { - status: string; - body: ErrorResponseOutput; -} - -/** Azure operation completed successfully. */ -export interface PrivateEndpointConnectionsGet200Response extends HttpResponse { - status: "200"; - body: PrivateEndpointConnectionResourceOutput; -} - -export interface PrivateEndpointConnectionsGetDefaultResponse extends HttpResponse { - status: string; - body: ErrorResponseOutput; -} - -/** Resource 'PrivateEndpointConnectionResource' update operation succeeded */ -export interface PrivateEndpointConnectionsCreate200Response extends HttpResponse { - status: "200"; - body: PrivateEndpointConnectionResourceOutput; -} - -/** Resource 'PrivateEndpointConnectionResource' create operation succeeded */ -export interface PrivateEndpointConnectionsCreate201Response extends HttpResponse { - status: "201"; - body: PrivateEndpointConnectionResourceOutput; -} - -export interface PrivateEndpointConnectionsCreate202Headers { - /** The Location header contains the URL where the status of the long running operation can be checked. */ - location?: string; - /** The Retry-After header can indicate how long the client should wait before polling the operation status. */ - "retry-after"?: number; -} - -/** Resource operation accepted. */ -export interface PrivateEndpointConnectionsCreate202Response extends HttpResponse { - status: "202"; - headers: RawHttpHeaders & PrivateEndpointConnectionsCreate202Headers; -} - -export interface PrivateEndpointConnectionsCreateDefaultResponse extends HttpResponse { - status: string; - body: ErrorResponseOutput; -} - -/** The final response for long-running create operation */ -export interface PrivateEndpointConnectionsCreateLogicalResponse extends HttpResponse { - status: "200"; - body: PrivateEndpointConnectionResourceOutput; -} - -export interface PrivateEndpointConnectionsDelete202Headers { - /** The Location header contains the URL where the status of the long running operation can be checked. */ - location?: string; - /** The Retry-After header can indicate how long the client should wait before polling the operation status. */ - "retry-after"?: number; -} - -/** Resource deletion accepted. */ -export interface PrivateEndpointConnectionsDelete202Response extends HttpResponse { - status: "202"; - headers: RawHttpHeaders & PrivateEndpointConnectionsDelete202Headers; -} - -/** Resource does not exist. */ -export interface PrivateEndpointConnectionsDelete204Response extends HttpResponse { - status: "204"; -} - -export interface PrivateEndpointConnectionsDeleteDefaultResponse extends HttpResponse { - status: string; - body: ErrorResponseOutput; -} - -/** The final response for long-running delete operation */ -export interface PrivateEndpointConnectionsDeleteLogicalResponse extends HttpResponse { - status: "200"; -} - -/** Azure operation completed successfully. */ -export interface PrivateLinksListByMongoCluster200Response extends HttpResponse { - status: "200"; - body: PrivateLinkResourceListResultOutput; -} - -export interface PrivateLinksListByMongoClusterDefaultResponse extends HttpResponse { - status: string; - body: ErrorResponseOutput; -} diff --git a/sdk/mongocluster/arm-mongocluster/src/restorePollerHelpers.ts b/sdk/mongocluster/arm-mongocluster/src/restorePollerHelpers.ts deleted file mode 100644 index 0b26b60d7235..000000000000 --- a/sdk/mongocluster/arm-mongocluster/src/restorePollerHelpers.ts +++ /dev/null @@ -1,168 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { - PollerLike, - OperationState, - deserializeState, - ResourceLocationConfig, -} from "@azure/core-lro"; -import { MongoClusterManagementClient } from "./mongoClusterManagementClient.js"; -import { getLongRunningPoller } from "./api/pollingHelpers.js"; -import { - _mongoClustersCreateOrUpdateDeserialize, - _mongoClustersUpdateDeserialize, - _mongoClustersDeleteDeserialize, -} from "./api/mongoClusters/index.js"; -import { - _firewallRulesCreateOrUpdateDeserialize, - _firewallRulesDeleteDeserialize, -} from "./api/firewallRules/index.js"; -import { - _privateEndpointConnectionsCreateDeserialize, - _privateEndpointConnectionsDeleteDeserialize, -} from "./api/privateEndpointConnections/index.js"; -import { PathUncheckedResponse, OperationOptions } from "@azure-rest/core-client"; -import { AbortSignalLike } from "@azure/abort-controller"; - -export interface RestorePollerOptions< - TResult, - TResponse extends PathUncheckedResponse = PathUncheckedResponse, -> extends OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** - * The signal which can be used to abort requests. - */ - abortSignal?: AbortSignalLike; - /** Deserialization function for raw response body */ - processResponseBody?: (result: TResponse) => Promise; -} - -/** - * Creates a poller from the serialized state of another poller. This can be - * useful when you want to create pollers on a different host or a poller - * needs to be constructed after the original one is not in scope. - */ -export function restorePoller( - client: MongoClusterManagementClient, - serializedState: string, - sourceOperation: (...args: any[]) => PollerLike, TResult>, - options?: RestorePollerOptions, -): PollerLike, TResult> { - const pollerConfig = deserializeState(serializedState).config; - const { initialRequestUrl, requestMethod, metadata } = pollerConfig; - if (!initialRequestUrl || !requestMethod) { - throw new Error( - `Invalid serialized state: ${serializedState} for sourceOperation ${sourceOperation?.name}`, - ); - } - const resourceLocationConfig = metadata?.["resourceLocationConfig"] as - | ResourceLocationConfig - | undefined; - const deserializeHelper = - options?.processResponseBody ?? getDeserializationHelper(initialRequestUrl, requestMethod); - if (!deserializeHelper) { - throw new Error( - `Please ensure the operation is in this client! We can't find its deserializeHelper for ${sourceOperation?.name}.`, - ); - } - return getLongRunningPoller( - (client as any)["_client"] ?? client, - deserializeHelper as (result: TResponse) => Promise, - { - updateIntervalInMs: options?.updateIntervalInMs, - abortSignal: options?.abortSignal, - resourceLocationConfig, - restoreFrom: serializedState, - initialRequestUrl, - }, - ); -} - -const deserializeMap: Record = { - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}": - _mongoClustersCreateOrUpdateDeserialize, - "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}": - _mongoClustersUpdateDeserialize, - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}": - _mongoClustersDeleteDeserialize, - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules/{firewallRuleName}": - _firewallRulesCreateOrUpdateDeserialize, - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules/{firewallRuleName}": - _firewallRulesDeleteDeserialize, - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections/{privateEndpointConnectionName}": - _privateEndpointConnectionsCreateDeserialize, - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections/{privateEndpointConnectionName}": - _privateEndpointConnectionsDeleteDeserialize, -}; - -function getDeserializationHelper( - urlStr: string, - method: string, -): ((result: unknown) => Promise) | undefined { - const path = new URL(urlStr).pathname; - const pathParts = path.split("/"); - - // Traverse list to match the longest candidate - // matchedLen: the length of candidate path - // matchedValue: the matched status code array - let matchedLen = -1, - matchedValue: ((result: unknown) => Promise) | undefined; - - // Iterate the responseMap to find a match - for (const [key, value] of Object.entries(deserializeMap)) { - // Extracting the path from the map key which is in format - // GET /path/foo - if (!key.startsWith(method)) { - continue; - } - const candidatePath = getPathFromMapKey(key); - // Get each part of the url path - const candidateParts = candidatePath.split("/"); - - // track if we have found a match to return the values found. - let found = true; - for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) { - if (candidateParts[i]?.startsWith("{") && candidateParts[i]?.indexOf("}") !== -1) { - const start = candidateParts[i]!.indexOf("}") + 1, - end = candidateParts[i]?.length; - // If the current part of the candidate is a "template" part - // Try to use the suffix of pattern to match the path - // {guid} ==> $ - // {guid}:export ==> :export$ - const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test( - pathParts[j] || "", - ); - - if (!isMatched) { - found = false; - break; - } - continue; - } - - // If the candidate part is not a template and - // the parts don't match mark the candidate as not found - // to move on with the next candidate path. - if (candidateParts[i] !== pathParts[j]) { - found = false; - break; - } - } - - // We finished evaluating the current candidate parts - // Update the matched value if and only if we found the longer pattern - if (found && candidatePath.length > matchedLen) { - matchedLen = candidatePath.length; - matchedValue = value as (result: unknown) => Promise; - } - } - - return matchedValue; -} - -function getPathFromMapKey(mapKey: string): string { - const pathStart = mapKey.indexOf("/"); - return mapKey.slice(pathStart); -} diff --git a/sdk/mongocluster/arm-mongocluster/test/public/mongoclusterOperations.spec.ts b/sdk/mongocluster/arm-mongocluster/test/public/mongoclusterOperations.spec.ts deleted file mode 100644 index 0aa1fd5b93c1..000000000000 --- a/sdk/mongocluster/arm-mongocluster/test/public/mongoclusterOperations.spec.ts +++ /dev/null @@ -1,155 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -import { env, Recorder, isPlaybackMode, delay } from "@azure-tools/test-recorder"; -import { createTestCredential } from "@azure-tools/test-credential"; -import { assert, beforeEach, afterEach, it, describe } from "vitest"; -import { MongoClusterManagementClient } from "../../src/mongoClusterManagementClient.js"; -import { createRecorder } from "./utils/recordedClient.js"; - -export const testPollingOptions = { - updateIntervalInMs: isPlaybackMode() ? 0 : undefined, -}; - -describe("MongoCluster test", () => { - let recorder: Recorder; - let subscriptionId: string; - let client: MongoClusterManagementClient; - let location: string; - let resourceGroup: string; - let resourcename: string; - let fireWallName: string; - - beforeEach(async (context) => { - process.env.SystemRoot = process.env.SystemRoot || "C:\\Windows"; - recorder = await createRecorder(context); - subscriptionId = env.SUBSCRIPTION_ID || ""; - // This is an example of how the environment variables are used - const credential = createTestCredential(); - client = new MongoClusterManagementClient( - credential, - subscriptionId, - recorder.configureClientOptions({}), - ); - location = "eastus"; - resourceGroup = "czwjstest"; - resourcename = "testmongocluster"; - fireWallName = "testfilerule"; - }); - - afterEach(async function () { - if (recorder?.recordingId) { - await recorder.stop(); - } - }); - - it("operations list test", async function () { - const resArray = new Array(); - for await (let item of client.operations.list()) { - resArray.push(item); - } - assert.notEqual(resArray.length, 0); - }); - - it("mongoClusters create test", async function () { - const res = await client.mongoClusters.createOrUpdate( - resourceGroup, - resourcename, - { - location, - properties: { - administratorLogin: "mongoAdmin", - administratorLoginPassword: "SecureString;", - nodeGroupSpecs: [ - { - diskSizeGB: 128, - enableHa: true, - kind: "Shard", - nodeCount: 1, - sku: "M30", - }, - ], - serverVersion: "5.0", - }, - }, - testPollingOptions, - ); - assert.equal(res.name, resourcename); - }); - - it("firerules create test", async function () { - const res = await client.firewallRules.createOrUpdate( - resourceGroup, - resourcename, - fireWallName, - { - properties: { - startIpAddress: "0.0.0.0", - endIpAddress: "255.255.255.255", - }, - }, - testPollingOptions, - ); - console.log(res); - assert.equal(res.name, fireWallName); - }); - - it("mongoClusters get test", async function () { - const res = await client.mongoClusters.get(resourceGroup, resourcename); - assert.equal(res.name, resourcename); - }); - - it("firerules get test", async function () { - const res = await client.firewallRules.get(resourceGroup, resourcename, fireWallName); - console.log(res); - assert.equal(res.name, fireWallName); - }); - - it("mongoClusters list test", async function () { - const resArray = new Array(); - for await (let item of client.mongoClusters.listByResourceGroup(resourceGroup)) { - resArray.push(item); - } - assert.equal(resArray.length, 1); - }); - - it("firewallRules list test", async function () { - const resArray = new Array(); - for await (let item of client.firewallRules.listByMongoCluster(resourceGroup, resourcename)) { - resArray.push(item); - } - assert.equal(resArray.length, 1); - }); - - it("mongoClusters update test", async function () { - const res = await client.mongoClusters.update(resourceGroup, resourcename, { - tags: {}, - }); - assert.equal(res.name, resourcename); - }); - - it("firewallRules delete test", async function () { - const resArray = new Array(); - const res = await client.firewallRules.delete(resourceGroup, resourcename, fireWallName); - for await (let item of client.firewallRules.listByMongoCluster(resourceGroup, resourcename)) { - resArray.push(item); - } - assert.equal(resArray.length, 0); - }); - - it("mongoClusters delete test", async function () { - const resArray = new Array(); - const res = await client.mongoClusters.delete(resourceGroup, resourcename); - for await (let item of client.mongoClusters.listByResourceGroup(resourceGroup)) { - resArray.push(item); - } - assert.equal(resArray.length, 0); - - await delay(isPlaybackMode() ? 1000 : 60000); - }); -}); diff --git a/sdk/mongocluster/arm-mongocluster/test/public/node/privateEndpointConnections.spec.ts b/sdk/mongocluster/arm-mongocluster/test/public/node/privateEndpointConnections.spec.ts deleted file mode 100644 index f3cc7c321ed4..000000000000 --- a/sdk/mongocluster/arm-mongocluster/test/public/node/privateEndpointConnections.spec.ts +++ /dev/null @@ -1,240 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -import { env, Recorder, isPlaybackMode, delay } from "@azure-tools/test-recorder"; -import { createTestCredential } from "@azure-tools/test-credential"; -import { assert, beforeEach, afterEach, it, describe } from "vitest"; -import { MongoClusterManagementClient } from "../../../src/mongoClusterManagementClient.js"; -import { createRecorder } from "../utils/recordedClient.js"; -import { NetworkManagementClient } from "@azure/arm-network"; - -export const testPollingOptions = { - updateIntervalInMs: isPlaybackMode() ? 0 : undefined, -}; - -describe("MongoCluster test", () => { - let recorder: Recorder; - let subscriptionId: string; - let client: MongoClusterManagementClient; - let networkClient: NetworkManagementClient; - let location: string; - let resourceGroup: string; - let resourcename: string; - let connectionName: string; - let virtualNetworkName: string; - let privateEndpointName: string; - - beforeEach(async (context) => { - process.env.SystemRoot = process.env.SystemRoot || "C:\\Windows"; - recorder = await createRecorder(context); - subscriptionId = env.SUBSCRIPTION_ID || ""; - // This is an example of how the environment variables are used - const credential = createTestCredential(); - client = new MongoClusterManagementClient( - credential, - subscriptionId, - recorder.configureClientOptions({}), - ); - networkClient = new NetworkManagementClient( - credential, - subscriptionId, - recorder.configureClientOptions({}), - ); - location = "eastus"; - resourceGroup = "myjstest"; - resourcename = "resourcetest1"; - virtualNetworkName = "testvn"; - privateEndpointName = "testPEC"; - }); - - afterEach(async function () { - if (recorder?.recordingId) { - await recorder.stop(); - } - }); - - it("mongoClusters for private endpoint create test", async function () { - const res = await client.mongoClusters.createOrUpdate( - resourceGroup, - resourcename, - { - location, - properties: { - administratorLogin: "mongoAdmin", - administratorLoginPassword: "SecureString;", - nodeGroupSpecs: [ - { - diskSizeGB: 128, - enableHa: true, - kind: "Shard", - nodeCount: 1, - sku: "M30", - }, - ], - serverVersion: "5.0", - }, - }, - testPollingOptions, - ); - assert.equal(res.name, resourcename); - }); - - it("virtual network create test", async function () { - const res = await networkClient.virtualNetworks.beginCreateOrUpdateAndWait( - resourceGroup, - virtualNetworkName, - { - addressSpace: { addressPrefixes: ["10.0.0.0/16"] }, - flowTimeoutInMinutes: 10, - location, - }, - ); - assert.equal(res.name, virtualNetworkName); - - const result = await networkClient.subnets.beginCreateOrUpdateAndWait( - resourceGroup, - virtualNetworkName, - "testsubnet", - { addressPrefix: "10.0.0.0/16" }, - ); - }); - - it("private endpoit create test", async function () { - const clusterRes = await client.mongoClusters.get(resourceGroup, resourcename); - const res = await networkClient.privateEndpoints.beginCreateOrUpdateAndWait( - resourceGroup, - privateEndpointName, - { - location, - customNetworkInterfaceName: privateEndpointName + "-nic", - privateLinkServiceConnections: [ - { - name: privateEndpointName, - groupIds: ["MongoCluster"], - privateLinkServiceId: clusterRes.id, - requestMessage: "Please approve my connection.", - }, - ], - subnet: { - id: - "/subscriptions/" + - subscriptionId + - "/resourceGroups/" + - resourceGroup + - "/providers/Microsoft.Network/virtualNetworks/" + - virtualNetworkName + - "/subnets/testsubnet", - }, - }, - testPollingOptions, - ); - assert.equal(res.name, privateEndpointName); - }); - - // need create a mongocluster first then create a private endpoint named testPEC with the mongocluster. - it("private endpoint connection create test", async function () { - for await (let item of client.privateEndpointConnections.listByMongoCluster( - resourceGroup, - resourcename, - )) { - connectionName = String(item.name); - } - const res = await client.privateEndpointConnections.create( - resourceGroup, - resourcename, - connectionName, - { - properties: { - privateLinkServiceConnectionState: { - status: "Rejected", - }, - }, - }, - testPollingOptions, - ); - console.log(res); - assert.equal(res.name, connectionName); - }); - - it("private endpoint connection get test", async function () { - const res = await client.privateEndpointConnections.get( - resourceGroup, - resourcename, - connectionName, - ); - console.log(res); - assert.equal(res.name, connectionName); - }); - it("private endpoint connection list test", async function () { - const resArray = new Array(); - for await (let item of client.privateEndpointConnections.listByMongoCluster( - resourceGroup, - resourcename, - )) { - resArray.push(item); - } - assert.equal(resArray.length, 1); - }); - - it("private endpoint connection delete test", async function () { - for await (let item of client.privateEndpointConnections.listByMongoCluster( - resourceGroup, - resourcename, - )) { - connectionName = String(item.name); - } - const resArray = new Array(); - const res = await client.privateEndpointConnections.delete( - resourceGroup, - resourcename, - connectionName, - ); - for await (let item of client.privateEndpointConnections.listByMongoCluster( - resourceGroup, - resourcename, - )) { - resArray.push(item); - } - assert.equal(resArray.length, 0); - }); - - it("private endpoint delete test", async function () { - const resArray = new Array(); - const res = await networkClient.privateEndpoints.beginDeleteAndWait( - resourceGroup, - privateEndpointName, - ); - for await (let item of networkClient.privateEndpoints.list(resourceGroup)) { - resArray.push(item); - } - assert.equal(resArray.length, 0); - }); - - it("virtual network delete test", async function () { - const resArray = new Array(); - const res = await networkClient.virtualNetworks.beginDeleteAndWait( - resourceGroup, - virtualNetworkName, - ); - for await (let item of networkClient.virtualNetworks.list(resourceGroup)) { - resArray.push(item); - } - assert.equal(resArray.length, 0); - }); - - it("mongoClusters for private endpoint delete test", async function () { - const resArray = new Array(); - const res = await client.mongoClusters.delete(resourceGroup, resourcename); - for await (let item of client.mongoClusters.listByResourceGroup(resourceGroup)) { - resArray.push(item); - } - assert.equal(resArray.length, 0); - - await delay(isPlaybackMode() ? 1000 : 60000); - }); -}); diff --git a/sdk/mongocluster/arm-mongocluster/test/public/utils/recordedClient.ts b/sdk/mongocluster/arm-mongocluster/test/public/utils/recordedClient.ts deleted file mode 100644 index 5f44b6a8179a..000000000000 --- a/sdk/mongocluster/arm-mongocluster/test/public/utils/recordedClient.ts +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { Recorder, RecorderStartOptions, VitestTestContext } from "@azure-tools/test-recorder"; - -const replaceableVariables: Record = { - SUBSCRIPTION_ID: "azure_subscription_id", -}; - -const recorderEnvSetup: RecorderStartOptions = { - envSetupForPlayback: replaceableVariables, - removeCentralSanitizers: [ - "AZSDK3493", // .name in the body is not a secret and is listed below in the beforeEach section - "AZSDK3430", // .id in the body is not a secret and is listed below in the beforeEach section - ], -}; - -/** - * creates the recorder and reads the environment variables from the `.env` file. - * Should be called first in the test suite to make sure environment variables are - * read before they are being used. - */ -export async function createRecorder(context: VitestTestContext): Promise { - const recorder = new Recorder(context); - await recorder.start(recorderEnvSetup); - return recorder; -} diff --git a/sdk/mongocluster/arm-mongocluster/test/sampleTest.ts b/sdk/mongocluster/arm-mongocluster/test/sampleTest.ts new file mode 100644 index 000000000000..d64be981b694 --- /dev/null +++ b/sdk/mongocluster/arm-mongocluster/test/sampleTest.ts @@ -0,0 +1,43 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + Recorder, + RecorderStartOptions, + env, +} from "@azure-tools/test-recorder"; +import { assert } from "chai"; +import { Context } from "mocha"; + +const replaceableVariables: Record = { + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", + SUBSCRIPTION_ID: "azure_subscription_id", +}; + +const recorderOptions: RecorderStartOptions = { + envSetupForPlayback: replaceableVariables, +}; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async function (this: Context) { + recorder = new Recorder(this.currentTest); + await recorder.start(recorderOptions); + }); + + afterEach(async function () { + await recorder.stop(); + }); + + it("sample test", async function () { + console.log("Hi, I'm a test!"); + }); +}); diff --git a/sdk/mongocluster/arm-mongocluster/tsconfig.browser.config.json b/sdk/mongocluster/arm-mongocluster/tsconfig.browser.config.json deleted file mode 100644 index 1b37aebc5457..000000000000 --- a/sdk/mongocluster/arm-mongocluster/tsconfig.browser.config.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": "./.tshy/build.json", - "include": ["./src/**/*.ts", "./src/**/*.mts", "./test/**/*.spec.ts"], - "exclude": ["./test/**/node/**/*.ts"], - "compilerOptions": { - "outDir": "./dist-test/browser", - "rootDir": ".", - "skipLibCheck": true - } -} diff --git a/sdk/mongocluster/arm-mongocluster/tsconfig.json b/sdk/mongocluster/arm-mongocluster/tsconfig.json index a10f22a54c88..3e6ae96443f3 100644 --- a/sdk/mongocluster/arm-mongocluster/tsconfig.json +++ b/sdk/mongocluster/arm-mongocluster/tsconfig.json @@ -1,9 +1,27 @@ { - "extends": "../../../tsconfig", "compilerOptions": { - "module": "NodeNext", - "moduleResolution": "NodeNext", - "rootDir": "." + "module": "es6", + "moduleResolution": "node", + "strict": true, + "target": "es6", + "sourceMap": true, + "declarationMap": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "forceConsistentCasingInFileNames": true, + "lib": [ + "es6", + "dom" + ], + "declaration": true, + "outDir": "./dist-esm", + "importHelpers": true }, - "include": ["./src/**/*.ts", "./src/**/*.mts", "./src/**/*.cts", "test/**/*.ts", "./test/**/*.ts"] -} + "include": [ + "./src/**/*.ts", + "./test/**/*.ts" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/sdk/mongocluster/arm-mongocluster/tsp-location.yaml b/sdk/mongocluster/arm-mongocluster/tsp-location.yaml deleted file mode 100644 index ede05df0bd18..000000000000 --- a/sdk/mongocluster/arm-mongocluster/tsp-location.yaml +++ /dev/null @@ -1,4 +0,0 @@ -directory: specification/mongocluster/DocumentDB.MongoCluster.Management -commit: abad0096677005817d2c19df2364663e5583c8fc -repo: ../azure-rest-api-specs -additionalDirectories: diff --git a/sdk/mongocluster/arm-mongocluster/vitest.browser.config.ts b/sdk/mongocluster/arm-mongocluster/vitest.browser.config.ts deleted file mode 100644 index eda90c3ea96b..000000000000 --- a/sdk/mongocluster/arm-mongocluster/vitest.browser.config.ts +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { defineConfig } from "vitest/config"; -import { relativeRecordingsPath } from "@azure-tools/test-recorder"; - -process.env.RECORDINGS_RELATIVE_PATH = relativeRecordingsPath(); - -export default defineConfig({ - define: { - "process.env": process.env, - }, - test: { - reporters: ["basic", "junit"], - outputFile: { - junit: "test-results.browser.xml", - }, - browser: { - enabled: true, - headless: true, - name: "chromium", - provider: "playwright", - }, - fakeTimers: { - toFake: ["setTimeout", "Date"], - }, - watch: false, - include: ["dist-test/browser/**/*.spec.js"], - coverage: { - include: ["dist-test/browser/**/*.spec.js"], - provider: "istanbul", - reporter: ["text", "json", "html"], - reportsDirectory: "coverage-browser", - }, - testTimeout: 1200000, - }, -}); diff --git a/sdk/mongocluster/arm-mongocluster/vitest.config.ts b/sdk/mongocluster/arm-mongocluster/vitest.config.ts deleted file mode 100644 index 7928f980b01c..000000000000 --- a/sdk/mongocluster/arm-mongocluster/vitest.config.ts +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { defineConfig } from "vitest/config"; -import { relativeRecordingsPath } from "@azure-tools/test-recorder"; - -export default defineConfig({ - test: { - reporters: ["basic", "junit"], - outputFile: { - junit: "test-results.browser.xml", - }, - fakeTimers: { - toFake: ["setTimeout", "Date"], - }, - watch: false, - include: ["test/**/*.spec.ts"], - exclude: ["test/**/browser/*.spec.ts"], - coverage: { - include: ["src/**/*.ts"], - exclude: [ - "src/**/*-browser.mts", - "src/**/*-react-native.mts", - "vitest*.config.ts", - "samples-dev/**/*.ts", - ], - provider: "istanbul", - reporter: ["text", "json", "html"], - reportsDirectory: "coverage", - }, - testTimeout: 1200000, - }, -});