diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 2461db275cc1..3e0a2f13c183 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -11863,7 +11863,7 @@ packages: dev: false file:projects/abort-controller.tgz: - resolution: {integrity: sha512-jrk1v37fK9EmuNhC0czeE0ifI7mkHqXenZYC47n4P8ciatm36N7bxFA4tg6xxsqgY32jIJeQBZJC0xL4YfKEmw==, tarball: file:projects/abort-controller.tgz} + resolution: {integrity: sha512-tsvWnZnzoiICM/UDEYiPHs1fjJp/hOdRIISUY+Pf2v21MgOK2F/oExLkpJCCKHeX/k51hn+6+dUVIKte+FBvvQ==, tarball: file:projects/abort-controller.tgz} name: '@rush-temp/abort-controller' version: 0.0.0 dependencies: @@ -11895,7 +11895,7 @@ packages: dev: false file:projects/agrifood-farming.tgz: - resolution: {integrity: sha512-qsbgUXp/2RcQCa+sDOQ6/J2CKlvsxRR6R2XGX3gjxSRNOSTf3TaBr3T6AEL9ZINSaPPLzVLJr2L3sqdWgt6dRw==, tarball: file:projects/agrifood-farming.tgz} + resolution: {integrity: sha512-2Tw2vVl4liajcKpa0jnb3FJYV4Zgf87HWBTGkLGEqPHxJ7/M2TbK9guKm6/cIKdUwi3vdOsdxGDnZ9o4JWdtSg==, tarball: file:projects/agrifood-farming.tgz} name: '@rush-temp/agrifood-farming' version: 0.0.0 dependencies: @@ -11942,7 +11942,7 @@ packages: dev: false file:projects/ai-anomaly-detector.tgz: - resolution: {integrity: sha512-rzByqDmaaneWm0SE34/dARzxW8OHa7PXg6TwMalLADA5iauKvhp0O86igHMyCrDbTvLLH4iGXxt6B7J8Mg9IRQ==, tarball: file:projects/ai-anomaly-detector.tgz} + resolution: {integrity: sha512-70Gk1gY+TS+T4iZDM79vBBDkmnk3TWh/KVzui4HVVDaRmLoS3TiJeWgCQDErAZ4Nkhwil8Z96vrOfjNmLRfH2w==, tarball: file:projects/ai-anomaly-detector.tgz} name: '@rush-temp/ai-anomaly-detector' version: 0.0.0 dependencies: @@ -11989,7 +11989,7 @@ packages: dev: false file:projects/ai-content-safety.tgz: - resolution: {integrity: sha512-b3ksHaPHKhw7AND4BCk1aRpiC47MZoEhbk223qDOFkmu0PDnEpPqOPWlSA89meXc5/89H9dBoJl06bquFmFagg==, tarball: file:projects/ai-content-safety.tgz} + resolution: {integrity: sha512-+ZubJgUKJpj5LvlUyz52Ds5rbw5OIvPPpMChF9bjVYft6qcY69C81UtUV7tlNx5lvWzbXly4El1zeJgN6TWn0A==, tarball: file:projects/ai-content-safety.tgz} name: '@rush-temp/ai-content-safety' version: 0.0.0 dependencies: @@ -12034,7 +12034,7 @@ packages: dev: false file:projects/ai-document-intelligence.tgz: - resolution: {integrity: sha512-QvBa5KpOmI9lkd20BZGFyjPpJyKuP48pNmmzFmh/E+79s8e1jTO+diYn9QGmSXtNGtx9pbbs85jmpJFFSAMTVg==, tarball: file:projects/ai-document-intelligence.tgz} + resolution: {integrity: sha512-GMXn19nEv6o0B86RTT6MzC2AzCFihulKUNEUb58n1mNJ9kJfRKcszCqo8pBYe4if5+eSlWBzerXNDeyuc1MeQA==, tarball: file:projects/ai-document-intelligence.tgz} name: '@rush-temp/ai-document-intelligence' version: 0.0.0 dependencies: @@ -12081,7 +12081,7 @@ packages: dev: false file:projects/ai-document-translator.tgz: - resolution: {integrity: sha512-bgqrkta2DzAJ15+YteEQCibw05OMI2TzbLlDE6SpGUg1gXAdCymm4dxpduNKiesFmC51WcP+ohZkuNGryFgBmg==, tarball: file:projects/ai-document-translator.tgz} + resolution: {integrity: sha512-GB4F37Agq20zlNVQttSMq9f7/22kWm0ut8v4AiAiCMRLFm+7EKYQiQcY2dPUd+paygunKor168mJM7l49HLf4Q==, tarball: file:projects/ai-document-translator.tgz} name: '@rush-temp/ai-document-translator' version: 0.0.0 dependencies: @@ -12126,7 +12126,7 @@ packages: dev: false file:projects/ai-form-recognizer.tgz: - resolution: {integrity: sha512-mWDpZN/NuWhSf61aK5q7J0bkXHvSZXn4AYMq7FU0w1ovQA48dWvS4PzkZpt+ZFXmNMYBmSZJEbFcTBJQGeJLOA==, tarball: file:projects/ai-form-recognizer.tgz} + resolution: {integrity: sha512-izUpXM5lDqrG/FkQWd8JMRh85pd61fDefl5mYiTYQu57bLlc9Tnp29eTBNlNg1x63Il3oM1gsvLxD75TtoCwag==, tarball: file:projects/ai-form-recognizer.tgz} name: '@rush-temp/ai-form-recognizer' version: 0.0.0 dependencies: @@ -12175,7 +12175,7 @@ packages: dev: false file:projects/ai-inference.tgz: - resolution: {integrity: sha512-RZajZdzu6j7X9C4dVf2rYkuHno03Yvc/IQ/LP5vklugnFc74kluhXdEY6F2aoWK+b0Vh4K9YP0E9IG/yryJMOw==, tarball: file:projects/ai-inference.tgz} + resolution: {integrity: sha512-ooMFB1pe6WJfa5jS/3XBX9YHGkTJfyQNF/UlHC53fXfVdJWzXW8tBjSRLnED1Yku77BTjhdKeriofcFLTjFTQw==, tarball: file:projects/ai-inference.tgz} name: '@rush-temp/ai-inference' version: 0.0.0 dependencies: @@ -12214,7 +12214,7 @@ packages: dev: false file:projects/ai-language-conversations.tgz: - resolution: {integrity: sha512-1MHjPdQAJiC79NNOmcp0ik0PMHTEUa5S1cnf3c7H8V0X61WP8FZfv0Z55pLf7yzXZlCjsRcBL9hQCyZnreua7Q==, tarball: file:projects/ai-language-conversations.tgz} + resolution: {integrity: sha512-U4hFRyz3RnKK09u8g05r3LSXfLSbU/nOnNAQl/euAN2FTXB5uV/i/KBzoDNmuiL4QgJqG1DKJR5tmxkqGRwrnA==, tarball: file:projects/ai-language-conversations.tgz} name: '@rush-temp/ai-language-conversations' version: 0.0.0 dependencies: @@ -12263,7 +12263,7 @@ packages: dev: false file:projects/ai-language-text.tgz: - resolution: {integrity: sha512-QGJ9T/k7VjvdpdhLt5be897aOqygavbNqnGbazn0ymXKxpQ8irU7ezVUNBnKF5dC0EGojxT/nY9IIXd2nQXlzQ==, tarball: file:projects/ai-language-text.tgz} + resolution: {integrity: sha512-d572NPh6Tj3ATo93jl5nyRz7Bu3KeP93/lPWolD/unJ9rBZ70RN+d1JcqJpssKqW4fO+JhiZZjUO/NFWLx++iw==, tarball: file:projects/ai-language-text.tgz} name: '@rush-temp/ai-language-text' version: 0.0.0 dependencies: @@ -12312,7 +12312,7 @@ packages: dev: false file:projects/ai-language-textauthoring.tgz: - resolution: {integrity: sha512-7aAZaIE6ahWWMxXrKlZM93wDSgZZOKX4LslsHX/sraizWXyR22lMKTdKijRHuVBA5xjBRVYOZluYrJx8A6zMRg==, tarball: file:projects/ai-language-textauthoring.tgz} + resolution: {integrity: sha512-wXY0hmfLnoX/QUm7162liqVwLbbK+5Wz5HKkQ13kFx0VD46+RulZvEzCGpLJzuZwZMcVe5Fmx5/cc99apBZHjA==, tarball: file:projects/ai-language-textauthoring.tgz} name: '@rush-temp/ai-language-textauthoring' version: 0.0.0 dependencies: @@ -12339,7 +12339,7 @@ packages: dev: false file:projects/ai-metrics-advisor.tgz: - resolution: {integrity: sha512-Tj+0tIDSDdm2LdIuXTejBPxBgy0gsPU8mBBVBbHKeIb+FasY6yYhc0od5JqAC3l9u5zHXynQydpiYr20Zndb6w==, tarball: file:projects/ai-metrics-advisor.tgz} + resolution: {integrity: sha512-qAI5xIRUS+Ty+eY9S+gLEkotKTSab8Q6+dOGlKaPg72hfPCITvmMUp55CT/ymb9lII1e5TJucB68eoIK7KUOOA==, tarball: file:projects/ai-metrics-advisor.tgz} name: '@rush-temp/ai-metrics-advisor' version: 0.0.0 dependencies: @@ -12384,7 +12384,7 @@ packages: dev: false file:projects/ai-text-analytics.tgz: - resolution: {integrity: sha512-KhEaRw6EXf2LMmw6rbuaep9/G4kKWATXsA5czScbTOkJ3bQKOACslWN3zynn+puHpuyIeANMVovQaNH8oRd1xg==, tarball: file:projects/ai-text-analytics.tgz} + resolution: {integrity: sha512-9AE3KXidyFXViHMYmRWM7WJEg53GZT/h6s+HW5ZEBT566w3KqBU+p+F73H2prhtB7a2qliFImje5qZtaIXAGrA==, tarball: file:projects/ai-text-analytics.tgz} name: '@rush-temp/ai-text-analytics' version: 0.0.0 dependencies: @@ -12432,7 +12432,7 @@ packages: dev: false file:projects/ai-translation-document.tgz: - resolution: {integrity: sha512-CUgcDnP4iLxFoyNL9RodEV0H7fPSYRvXM+/hsZ67V3mhljUkVKJhkpP1iWFUXrvvkGRQQzf82hH1TTVLPOsW1Q==, tarball: file:projects/ai-translation-document.tgz} + resolution: {integrity: sha512-VXTMJzu7K/qqZLWizJuciKoN8Ll44VgLi/W5HAXBMo7Vw/10hQ68lLwOuSiWvaoRvP8pBHHwzfdnlx3QHD8gew==, tarball: file:projects/ai-translation-document.tgz} name: '@rush-temp/ai-translation-document' version: 0.0.0 dependencies: @@ -12478,7 +12478,7 @@ packages: dev: false file:projects/ai-translation-text.tgz: - resolution: {integrity: sha512-qP0fJHmK6pvXHkr/+8VRiaEnMSIDLKA6e/BLWa4191Rs7sY7JHN65mpnaJr6f5AGarsM9DioGCR4vVNVlOZN2A==, tarball: file:projects/ai-translation-text.tgz} + resolution: {integrity: sha512-p3TGmnsHnU7VgkCFrN0Z1ZvV6Wi8RaNMXC7dVMl6pdBsmQfhXvTvU6v5MJB6wG2VosDPuObYl0xZBmA8+/dzyg==, tarball: file:projects/ai-translation-text.tgz} name: '@rush-temp/ai-translation-text' version: 0.0.0 dependencies: @@ -12523,7 +12523,7 @@ packages: dev: false file:projects/ai-vision-face.tgz: - resolution: {integrity: sha512-b7slZpEl1LpjRaYGgklDf65qioXCpNY/pjBqGi8TzgfN+8dHvPFLPhIEVtvgQGrZXApQbIgL/uGyETgZzOxeMw==, tarball: file:projects/ai-vision-face.tgz} + resolution: {integrity: sha512-yrz9WamFIlutlxlZk8+4KpDQZnLox+FQo/VW3IzDeOjl0hLve6LqbqmF8aAPzK8TwYnqj1dCM27VzEP8JV29Qw==, tarball: file:projects/ai-vision-face.tgz} name: '@rush-temp/ai-vision-face' version: 0.0.0 dependencies: @@ -12560,7 +12560,7 @@ packages: dev: false file:projects/ai-vision-image-analysis.tgz: - resolution: {integrity: sha512-zTS3hFS7O8OPYXm4uENfz0YR20bpyVt9q0RelECnrcvwpbx9i4wIU7JbOYwF2VCH+w/Qqyz5Cn6I+sB7HHcb/g==, tarball: file:projects/ai-vision-image-analysis.tgz} + resolution: {integrity: sha512-NjkIybfKy4Rlqmo1/9z5lrfmLbVGAF4CI/UkkXskaeGtoc2vZ353quN9edxsbGgshaON8Ko+cffYZAEgc9lIyg==, tarball: file:projects/ai-vision-image-analysis.tgz} name: '@rush-temp/ai-vision-image-analysis' version: 0.0.0 dependencies: @@ -12605,7 +12605,7 @@ packages: dev: false file:projects/api-management-custom-widgets-scaffolder.tgz: - resolution: {integrity: sha512-FEBfxROLPrkTn0VVZ7aufeYRUdcTjQvGk8lsblwdksfoZKS1BoV1TIbsE9rl8SnxCwR14EOLz3HGH3GSdyG/bA==, tarball: file:projects/api-management-custom-widgets-scaffolder.tgz} + resolution: {integrity: sha512-GZeSyqANNsL9zcWkTlNZbFxBxvYB3OBoWq9YWyZr6+co0Ob66Qa4u/KIageRNg4a/jrLQ4sFTPL5XxbZaxacpg==, tarball: file:projects/api-management-custom-widgets-scaffolder.tgz} name: '@rush-temp/api-management-custom-widgets-scaffolder' version: 0.0.0 dependencies: @@ -12647,7 +12647,7 @@ packages: dev: false file:projects/api-management-custom-widgets-tools.tgz: - resolution: {integrity: sha512-FTroYsXVADLz4ZAkR6SLfqxfaQJkhPKngl9plg05ojybnDayS7zq6tOE+AnLaRgUxcHN1FmWtCZyuoDYuiys/A==, tarball: file:projects/api-management-custom-widgets-tools.tgz} + resolution: {integrity: sha512-A90Q1xxhMyQ+c8B1W266p6Tc2cCtKtI2KeyxxjNPkzvuAMNaucIbY9ISJUbfKRvtOrRgNOfspqI5ILaie5e69A==, tarball: file:projects/api-management-custom-widgets-tools.tgz} name: '@rush-temp/api-management-custom-widgets-tools' version: 0.0.0 dependencies: @@ -12682,7 +12682,7 @@ packages: dev: false file:projects/app-configuration.tgz: - resolution: {integrity: sha512-KwR3Vybd3Ztiy4K9ip+AnUawPzSjeb1Q0fZo2iw3srJV0IiWlyrX2Iro5DWmfbrAh/GPRDEkD4Z+qE68Tjy72w==, tarball: file:projects/app-configuration.tgz} + resolution: {integrity: sha512-vcJ+x5auP8U/c57cs6z9kw1bpv05oepd2Kl9M+TYYMKy5TeWS4Rr7JiQt35wDaCNmzG8uQGAOgxm0rQfm69YdA==, tarball: file:projects/app-configuration.tgz} name: '@rush-temp/app-configuration' version: 0.0.0 dependencies: @@ -12723,7 +12723,7 @@ packages: dev: false file:projects/arm-advisor.tgz: - resolution: {integrity: sha512-7uVXn38MP0I7Z+N8ZhIfrCABbTGDyGUx32sDJnBKYUPjlVqNrYWpVg60fHO+ctJiyYCKkVMK2j7ylLFXwa6nLg==, tarball: file:projects/arm-advisor.tgz} + resolution: {integrity: sha512-ONDZvrOim69rDzQBWt543U5MKPMRStHQEzC16TH/oI8ZygTY84QYTcIWz3FDRwS4lBSZ0Z72TqugbDODzM3++w==, tarball: file:projects/arm-advisor.tgz} name: '@rush-temp/arm-advisor' version: 0.0.0 dependencies: @@ -12751,7 +12751,7 @@ packages: dev: false file:projects/arm-agrifood.tgz: - resolution: {integrity: sha512-jsPaiebyJktur3n88Qm3T2GQXvUADvxtcUeJ4SrQ6dMJ/kG2RkXv0DZLKTqmN24+yutdmTtRMjDDTcMU2YcPow==, tarball: file:projects/arm-agrifood.tgz} + resolution: {integrity: sha512-i1ek0oxoPQwE8tPgFTLIuXwiZKWiasqgMRQr+/dRqKSgGy/hhzs+Gn/jGaotoSZUy0x2RRPZbj9py37h6hlUEg==, tarball: file:projects/arm-agrifood.tgz} name: '@rush-temp/arm-agrifood' version: 0.0.0 dependencies: @@ -12780,7 +12780,7 @@ packages: dev: false file:projects/arm-analysisservices.tgz: - resolution: {integrity: sha512-a0Ja/CJHta1gcIVwDv6n+U42KnLIqrw1IBqfl1D+bsVN5wpkDOAvt++qpxh1Ky+8aWkjWgg21U59YsfOnhOzAg==, tarball: file:projects/arm-analysisservices.tgz} + resolution: {integrity: sha512-qsgQGqt6ljAq0Hmtzp7XWSxvjd9MCE7+q/kjfndlJYx8J6TDMY1smP/aWemHcF7Xmd/bwVjTnPCuTmxWggIpXQ==, tarball: file:projects/arm-analysisservices.tgz} name: '@rush-temp/arm-analysisservices' version: 0.0.0 dependencies: @@ -12809,7 +12809,7 @@ packages: dev: false file:projects/arm-apicenter.tgz: - resolution: {integrity: sha512-uNfhigCN7B1SkHgHM3lhp4R2TdkSf9m4wLxwAgXifm7rnOl0hyQfGw8ygjkOMxuFCPwgX9rM/eXlGw7kQzfcKA==, tarball: file:projects/arm-apicenter.tgz} + resolution: {integrity: sha512-Qh+lHGerbgZWF7GP5VhTWJSQxHXOMs/54f5LUl2Kf4S+vX+Fw4unC2sJYHwF+/o76PuOo1ZDhsSeEhQk+3PiQQ==, tarball: file:projects/arm-apicenter.tgz} name: '@rush-temp/arm-apicenter' version: 0.0.0 dependencies: @@ -12839,7 +12839,7 @@ packages: dev: false file:projects/arm-apimanagement.tgz: - resolution: {integrity: sha512-xef6Zjq6D7heDmdMuBaHpNBGbiD1pb5i1Moz4aF+t3BGK0ucDsGBYXME4DwbmgUb2uhsyR9yhS88MPq4X6Y/Nw==, tarball: file:projects/arm-apimanagement.tgz} + resolution: {integrity: sha512-ZqZou4qud1Z3UFDwOTQW7s3qhGgOB2KzueMtCmx5r21gUDQg/y/hMGXbcfeEaGEbpHe8Gxqtw17gcJWfl6trVQ==, tarball: file:projects/arm-apimanagement.tgz} name: '@rush-temp/arm-apimanagement' version: 0.0.0 dependencies: @@ -12869,7 +12869,7 @@ packages: dev: false file:projects/arm-appcomplianceautomation.tgz: - resolution: {integrity: sha512-5mpGjNpV24Yt2Y7vOFW3X84kN5Bvlm+XzAStkgpeNxDBcGyhwYW7ksiU1HgBIHEp87aeQbrukd3v3o6AfyHl7Q==, tarball: file:projects/arm-appcomplianceautomation.tgz} + resolution: {integrity: sha512-+bJQKRlNwjC0lKSV0tant+eRWvRJxJDb5IDIeYdr/ArLTI8CWXSGZ9kd/MkiKjPiJ+yUvsRufvaDyaqz9Nh0Eg==, tarball: file:projects/arm-appcomplianceautomation.tgz} name: '@rush-temp/arm-appcomplianceautomation' version: 0.0.0 dependencies: @@ -12882,25 +12882,42 @@ packages: '@types/chai': 4.3.17 '@types/mocha': 10.0.7 '@types/node': 18.19.43 + '@vitest/browser': 1.6.0(playwright@1.45.3)(vitest@1.6.0) + '@vitest/coverage-istanbul': 1.6.0(vitest@1.6.0) chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 + eslint: 8.57.0 mkdirp: 3.0.1 mocha: 10.7.0 + playwright: 1.45.3 + prettier: 3.3.3 rimraf: 5.0.10 ts-node: 10.9.2(@types/node@18.19.43)(typescript@5.5.4) + tshy: 1.18.0 tslib: 2.6.3 tsx: 4.16.5 typescript: 5.5.4 uglify-js: 3.19.1 + vitest: 1.6.0(@types/node@18.19.43)(@vitest/browser@1.6.0) transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' + - '@edge-runtime/vm' + - '@vitest/ui' + - happy-dom + - jsdom + - less + - lightningcss + - safaridriver + - sass + - stylus + - sugarss - supports-color + - terser + - webdriverio dev: false file:projects/arm-appconfiguration.tgz: - resolution: {integrity: sha512-lCQNAsbeCwjO9ysZRusChuTJJqx3ZnJxNsrW2iwgJojrw7fU618rnfEL7oWAqO4U/XjNdSIHgR1Njt0emKrnLQ==, tarball: file:projects/arm-appconfiguration.tgz} + resolution: {integrity: sha512-LmhRDolg8axc1KaQr6KvRBgfNM1lC3o6SviyAAreWU0wnh7C1gTGLqjhgjhUk724hG22qykhI8nZWkybJwvrTA==, tarball: file:projects/arm-appconfiguration.tgz} name: '@rush-temp/arm-appconfiguration' version: 0.0.0 dependencies: @@ -12930,7 +12947,7 @@ packages: dev: false file:projects/arm-appcontainers.tgz: - resolution: {integrity: sha512-OLDQ9cIJXarZUMBqrsu4Yxni7ctTNO+xJHgapzZ42fI1r0sX+6GCHxn2KeTeLImDs2i+unsZMtiPGybNhlFnUw==, tarball: file:projects/arm-appcontainers.tgz} + resolution: {integrity: sha512-SMgeN7K2D/LNYdTE9QSMvv0neVWexFww3XY7QWQDfJBXcaBca1Ja1rrFuAp3io9wG/bsb4TJ9tjF4jYc7TugPA==, tarball: file:projects/arm-appcontainers.tgz} name: '@rush-temp/arm-appcontainers' version: 0.0.0 dependencies: @@ -12961,7 +12978,7 @@ packages: dev: false file:projects/arm-appinsights.tgz: - resolution: {integrity: sha512-cnk29PDE3tFVEYSD/sPzYfBzjIL5KOnIxycYJlvMs2sBSfbeN/THEe34sNLOOVQTDyyZQwNyy0M2cwBm0PLbkg==, tarball: file:projects/arm-appinsights.tgz} + resolution: {integrity: sha512-PqNCW0YBSbm10wfJ7Ekze7VWgyYrLRLOhgvyFKEitS+E8RZzsgwmCuBexSv6hJlmtpZ6gHuFTFm/OfXDm09ktA==, tarball: file:projects/arm-appinsights.tgz} name: '@rush-temp/arm-appinsights' version: 0.0.0 dependencies: @@ -12988,7 +13005,7 @@ packages: dev: false file:projects/arm-appplatform.tgz: - resolution: {integrity: sha512-s6Dm7EaIZ0EpvEBmjvWfdxordEua5TIcwc/Cp8y6dvHN4lEZ1tBRd2YG5zNyd+XNWsjFXCWqVi0mbKHhiF3F7g==, tarball: file:projects/arm-appplatform.tgz} + resolution: {integrity: sha512-qT22GdfjSRZcMFcDK0cD5ymkHstpHYz4RkfETJZd+oluUFldDlTQoyeP//uOTAAvVPfjIikFl3B1Ko9eZOXZ0w==, tarball: file:projects/arm-appplatform.tgz} name: '@rush-temp/arm-appplatform' version: 0.0.0 dependencies: @@ -13018,7 +13035,7 @@ packages: dev: false file:projects/arm-appservice-1.tgz: - resolution: {integrity: sha512-XXXsV4q4EQNoLKXSx1noyz448MgLXaTTAcXKm9dlvOVQM0XABZTCM48ivwIPq2vXvSVnFifK+3FX4Irs3ykUtQ==, tarball: file:projects/arm-appservice-1.tgz} + resolution: {integrity: sha512-kQe3MOm7L8EPmfEZEjXBAkXwCCET+Yq9p/LLYKUykS42Nr95zB3QvUQhAnZ83lgSz2OXCbEq/gmEZk6hKZNcYw==, tarball: file:projects/arm-appservice-1.tgz} name: '@rush-temp/arm-appservice-1' version: 0.0.0 dependencies: @@ -13049,7 +13066,7 @@ packages: dev: false 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} + resolution: {integrity: sha512-DVWWsXM84QXXu1e/Xc6M2QSwtF3uACo44vxXY+f8eaI5lmQb0K65YnGn/SltOvCavdUi/ci828R6/1WbxAEHWA==, 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: @@ -13079,7 +13096,7 @@ packages: dev: false file:projects/arm-appservice.tgz: - resolution: {integrity: sha512-2akMZ2GrgqZ4b59N6IMfJYG3jD6p4bHujN0dsqpEkvwPpTfZQYcc9gGW6xeZJzdJjOXhcubKO7sM4WFZPCwMjQ==, tarball: file:projects/arm-appservice.tgz} + resolution: {integrity: sha512-yjfMdED/EYOLCEz+8gc00WPVFsvPTLWOhUQDXnqfWOSib2atSvSbvWxNeCT5jyVM9RF82bCiLQ7fAtAsrmZWEA==, tarball: file:projects/arm-appservice.tgz} name: '@rush-temp/arm-appservice' version: 0.0.0 dependencies: @@ -13125,7 +13142,7 @@ packages: dev: false file:projects/arm-astro.tgz: - resolution: {integrity: sha512-nF21ZZdOGg9T+tyQwgFYHgn8VNsymT+aMOcH3LgU10a2NmYGOayAh6RD6WNCjYwaMHDgFbhyWx3lO8QEnlmoUQ==, tarball: file:projects/arm-astro.tgz} + resolution: {integrity: sha512-BkU280DnWj0UmhHVAVaoIwi7NfOWsuyp+nV49cWTcyuTK75RfVqsy1o5ctw0ASyFqZ7w8R42W8IK0OFwwGEMHA==, tarball: file:projects/arm-astro.tgz} name: '@rush-temp/arm-astro' version: 0.0.0 dependencies: @@ -13155,7 +13172,7 @@ packages: dev: false file:projects/arm-attestation.tgz: - resolution: {integrity: sha512-gqtK+R5NlVQ6UmRdJQljN2z/DUtY+eMpjDaf5TVgMqqNMe9rEfxQCsglTK5Ri2iBbyjwDjNaZXprI4SRNeQ9dg==, tarball: file:projects/arm-attestation.tgz} + resolution: {integrity: sha512-7/MEkicR8Ch4QFzgEvj4q+2HCLnBGFlICmcQsb7wPKkRTL65nBT5zOmMr3hIr7qPhXsYlVTq8+KCZ90XNflxDQ==, tarball: file:projects/arm-attestation.tgz} name: '@rush-temp/arm-attestation' version: 0.0.0 dependencies: @@ -13182,7 +13199,7 @@ packages: dev: false 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} + resolution: {integrity: sha512-7TLK9EBIt/ZuDkyTnYVES3qLrFyhUVr6D6FTKf7PV59FuzWvva3mfsZAJMdZ16O3nv/RWvnSp+UUhGHpIzQj8w==, 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: @@ -13210,7 +13227,7 @@ packages: dev: false file:projects/arm-authorization.tgz: - resolution: {integrity: sha512-QUXBw75W/xuESE7mouVPCVoBTu6aCXpVXnn2PujkrFGm2n5aDXUkzrklJOagfFDHxffGZHNJR9bKUZwkWZ9zCA==, tarball: file:projects/arm-authorization.tgz} + resolution: {integrity: sha512-tfepyJDCO5hqCTLdhg68cVHYdJt4YQxgBc9d5YwOgYTJT43/YqjraQnX/22NgU4pKpTAzZfEpi2dVZV+PDPTLA==, tarball: file:projects/arm-authorization.tgz} name: '@rush-temp/arm-authorization' version: 0.0.0 dependencies: @@ -13240,7 +13257,7 @@ packages: dev: false file:projects/arm-automanage.tgz: - resolution: {integrity: sha512-RqF7sWkucg+paJB9mIO6cN2ULzL9TJDZkipdMnDby3US53GQFoIeMJ5PvYu5V9WsajHwWJgkvchAMT9Ep16iZA==, tarball: file:projects/arm-automanage.tgz} + resolution: {integrity: sha512-KJzz8fCv09Iyh78FSK11aVd4Xc0bItlDEb0N9pBdoa94N4bPCyZgJQCPgf2oQWJNygUzfhrEfnqRQ5M7NDgMww==, tarball: file:projects/arm-automanage.tgz} name: '@rush-temp/arm-automanage' version: 0.0.0 dependencies: @@ -13268,7 +13285,7 @@ packages: dev: false file:projects/arm-automation.tgz: - resolution: {integrity: sha512-CTauQD4cEtFdQm0QpTfYI0DXAw/aE9w8ZYwcxY8fkPKaVtCJ2mmc5ghSogk5dSjeJQBjBBTfiPVIho14t+uNwQ==, tarball: file:projects/arm-automation.tgz} + resolution: {integrity: sha512-mXhiPEWjDJqAGw6oFlns7O+Gh5Wr5nGeXjHEMTAeVOA2Ve38pNy/I+1Zk4VtyG1nFltJ/QrWJxmEC0VmkBYFeA==, tarball: file:projects/arm-automation.tgz} name: '@rush-temp/arm-automation' version: 0.0.0 dependencies: @@ -13298,7 +13315,7 @@ packages: dev: false file:projects/arm-avs.tgz: - resolution: {integrity: sha512-aVbAeRY+1Nji7SMcF1eh7H94NNAJLm9mnAckJklxyCjycvNkD8zddSRc9XoIyT0BXy8x/e+vrJYpUkwAttUPPA==, tarball: file:projects/arm-avs.tgz} + resolution: {integrity: sha512-+IFz0D29ExLZpKlyxsw0lApXJb7w9Z4vXIsp4VclJOVYjA3ki/xHvIVYgNUgj1FM4t3jUgZHzBzmVa4LEw5xHQ==, tarball: file:projects/arm-avs.tgz} name: '@rush-temp/arm-avs' version: 0.0.0 dependencies: @@ -13329,7 +13346,7 @@ packages: dev: false file:projects/arm-azureadexternalidentities.tgz: - resolution: {integrity: sha512-LboCP/Yr2jO/MKTuLVFTrf43Y9fU6NDTCEsgx1ogNNfZ29g5Wqgb4JkidpaBC9vv0pjtdbh5tD3zMg35sFe3WA==, tarball: file:projects/arm-azureadexternalidentities.tgz} + resolution: {integrity: sha512-i+fwANat6eviAY700xtVUslIYRG/EBechZcHIRl2r91Yip2clTlGSpB3koHx57zMDOR5ithqYuuiwgWtcRzRyw==, tarball: file:projects/arm-azureadexternalidentities.tgz} name: '@rush-temp/arm-azureadexternalidentities' version: 0.0.0 dependencies: @@ -13358,7 +13375,7 @@ packages: dev: false file:projects/arm-azurestack.tgz: - resolution: {integrity: sha512-0mbOPd9c/AT7c2t8J8IDoUe6Zm0YmZpcwwApqq2zERVyD9n+WOgvGaCNa6G2PxN3gTpFEPvLokDZNjfSRCbBzg==, tarball: file:projects/arm-azurestack.tgz} + resolution: {integrity: sha512-N5cccsxzqlInPk7M1kMdiGZPPG91peL4FGuoL42vwXtLJc/C11JMBSipNbPPl2Hc28aYeBKcOSJVERwvUXIjHw==, tarball: file:projects/arm-azurestack.tgz} name: '@rush-temp/arm-azurestack' version: 0.0.0 dependencies: @@ -13385,7 +13402,7 @@ packages: dev: false file:projects/arm-azurestackhci.tgz: - resolution: {integrity: sha512-bsJRg4MkRLuhqXBY+qFlolaUjmWrJ21C+NJY9LY7WuMjhgoTgbcCxlBiBC1B0WqpJzqWIulQD06tpAeiXiBo3w==, tarball: file:projects/arm-azurestackhci.tgz} + resolution: {integrity: sha512-k838V47XP/HxDMeD4fiNtdEwsPE/JTgLyob01bMYrPNxUTy/O/SXde0Wr3RsgcALPe3VUqsEin0Mq/RAv7TD7A==, tarball: file:projects/arm-azurestackhci.tgz} name: '@rush-temp/arm-azurestackhci' version: 0.0.0 dependencies: @@ -13415,7 +13432,7 @@ packages: dev: false file:projects/arm-baremetalinfrastructure.tgz: - resolution: {integrity: sha512-O0WjisLnirZaKLl1bfQ6VhweynhDE3pXOgMMhsGwy7wjAzKpkW4APklwMKdNQ2i8UpwQEl9j5vGJFOwLk5NDvA==, tarball: file:projects/arm-baremetalinfrastructure.tgz} + resolution: {integrity: sha512-jdMMUOeUEWhlQ/aXd5+7i8i49BK8ha4M+AgDepfREAWn1saCpUE8RVKijvEZqikfh4BS5L32sI4JXiI1sKaaGQ==, tarball: file:projects/arm-baremetalinfrastructure.tgz} name: '@rush-temp/arm-baremetalinfrastructure' version: 0.0.0 dependencies: @@ -13445,7 +13462,7 @@ packages: dev: false file:projects/arm-batch.tgz: - resolution: {integrity: sha512-3F4c2h2nkA1K1Cm7LPyjdhyz2Rs2p3JH6xhxN6jGAWaNlgqE1nxVzF/xS4lJyJKCc6VXcx1svN7zbiGbbs89Ag==, tarball: file:projects/arm-batch.tgz} + resolution: {integrity: sha512-3aUIlwYUbSPurjG9yccsqEZNXcvrq5jiPHjchk7qIeNyNozjqZJeDdi6uVKCCbnuXfxpH/Yw7B5cPQsiLvZkrw==, tarball: file:projects/arm-batch.tgz} name: '@rush-temp/arm-batch' version: 0.0.0 dependencies: @@ -13475,7 +13492,7 @@ packages: dev: false file:projects/arm-billing.tgz: - resolution: {integrity: sha512-FARPUh7FdBujg4dHXxguxHOlHOiRabQvrjuPUVXw5eabf7QhTy2FhjqOgYrnQRsIDpZh2a4pSiEfPiEbw0SQzA==, tarball: file:projects/arm-billing.tgz} + resolution: {integrity: sha512-XqVfHJQp30vLd/KaGRST9KZcwTOziUBxt+R6TCq5ul7xeY8fKnJD51WVoS7nfX4EA+r6b090AfWKsa+eBIcimA==, tarball: file:projects/arm-billing.tgz} name: '@rush-temp/arm-billing' version: 0.0.0 dependencies: @@ -13504,7 +13521,7 @@ packages: dev: false file:projects/arm-billingbenefits.tgz: - resolution: {integrity: sha512-apIk0547dfQi4KBASblct0DzcWxZ1cXoeWOtmdRBR8zMQWQWhPXD5Gb8FEB21CgMnLp5EhD7GfsCmWapVheq8A==, tarball: file:projects/arm-billingbenefits.tgz} + resolution: {integrity: sha512-zPOa9UDM7jV3n8ERiszjwDOoc1pZFh3v49EwXAMzIXCwVWMRyneZ2DhGRLWGoGTxuyNtMPXWiEeFt0NKOSbw3A==, tarball: file:projects/arm-billingbenefits.tgz} name: '@rush-temp/arm-billingbenefits' version: 0.0.0 dependencies: @@ -13533,7 +13550,7 @@ packages: dev: false file:projects/arm-botservice.tgz: - resolution: {integrity: sha512-wMCVMuBEdhyh2pXUSDexEvjfqXjqNzr8Y8KnT9jMQ4knY8idnXDP0WNSVhs5Zq8l89rZN13XHzXWwoTf2zUJPQ==, tarball: file:projects/arm-botservice.tgz} + resolution: {integrity: sha512-hu3i3Ofv7/CKCncDACaI5l0u9H9/MHAIczAGozaQj+moBzBHQQExgrLi8O5mycR+Fjn+tRAioau37QaOCizr4g==, tarball: file:projects/arm-botservice.tgz} name: '@rush-temp/arm-botservice' version: 0.0.0 dependencies: @@ -13563,7 +13580,7 @@ packages: dev: false file:projects/arm-cdn.tgz: - resolution: {integrity: sha512-qb9ts7b8hCxIcC+UoonLr7GJTyVE2w4JSzxUYD/cq+d5N7MrKw/MQ6X48jT1TQWX2IJFqyF+4rVUiovt75b3wA==, tarball: file:projects/arm-cdn.tgz} + resolution: {integrity: sha512-3gYIjQuSTOLvxf3QjgF48JT+dEZbJYdk4jF098AkeSmYwrXvOLSGghpldwRpjVuVJlqiwNZRwR3o7R5FXHb/sQ==, tarball: file:projects/arm-cdn.tgz} name: '@rush-temp/arm-cdn' version: 0.0.0 dependencies: @@ -13593,7 +13610,7 @@ packages: dev: false file:projects/arm-changeanalysis.tgz: - resolution: {integrity: sha512-GFfbNDyWcUJbnJn194KZaCemMPGs9IAYlU0vFE4xOO5vuFduQRDSO4cc50fXst2rXPFqlAIE0rK8SOM0fKr3QA==, tarball: file:projects/arm-changeanalysis.tgz} + resolution: {integrity: sha512-fWlQBPipM3/lpPJEHMI8jsfQwft2ek7atdJLQ3lowOE4Z8uHKDG+ilJqiv1EE95NBrmuF+doeuefBAnZS+ZKCw==, tarball: file:projects/arm-changeanalysis.tgz} name: '@rush-temp/arm-changeanalysis' version: 0.0.0 dependencies: @@ -13620,7 +13637,7 @@ packages: dev: false file:projects/arm-changes.tgz: - resolution: {integrity: sha512-seCCegGmOhz6G5p3LB85+3cvpwfJt4vTDDj8dLjKKa0m9ptXuAH8q0z86iQ+TbKVxsO2UpTl+UXUZjyxtkOtNA==, tarball: file:projects/arm-changes.tgz} + resolution: {integrity: sha512-RFhj9PYgucMkojmG/xWi+do0jmguJR5N6CVU/5dpEPMSNTFSOZpJmfhxlhbSCzKFHWC9WtEvecRQKNNNVowjwA==, tarball: file:projects/arm-changes.tgz} name: '@rush-temp/arm-changes' version: 0.0.0 dependencies: @@ -13647,7 +13664,7 @@ packages: dev: false file:projects/arm-chaos.tgz: - resolution: {integrity: sha512-QXFVLF2dA2LGC5B+0uw8mlQcjJKpkJ8TpRff22N4pros7Dflf6GdxnbYA5dM9I2yPiCkHmQHnHkkDVIuEggqzQ==, tarball: file:projects/arm-chaos.tgz} + resolution: {integrity: sha512-3hM3+gdZSqsMiZrXetEK26zwL7KyXZp4THJw7SueBiHoD9zoZe+c8U11KMpN4IDJiFOq7/bDBLo0ag8PnzPZzA==, tarball: file:projects/arm-chaos.tgz} name: '@rush-temp/arm-chaos' version: 0.0.0 dependencies: @@ -13678,7 +13695,7 @@ packages: dev: false file:projects/arm-cognitiveservices.tgz: - resolution: {integrity: sha512-dl27cjyX71D1d4m38cXejpA1O2i4DFb2MTAH/CND4bavP3LaQbIYkpqXSZUc7EoNXoI6jMZMRGcKgqMVUgNLQQ==, tarball: file:projects/arm-cognitiveservices.tgz} + resolution: {integrity: sha512-y9yTVZHuFJI8dPwzEvercZND+2IfBtS4POhKWZt/y6kxrPTlZmxw+opxEDBzl8Yjlvef50gRtFFuIAv3UqAP7g==, tarball: file:projects/arm-cognitiveservices.tgz} name: '@rush-temp/arm-cognitiveservices' version: 0.0.0 dependencies: @@ -13708,7 +13725,7 @@ packages: dev: false 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} + resolution: {integrity: sha512-abUvhMDWA+f2jmsVFo3u2Uhgle7OPoyEn0Qm2itWEPLW6KcC3zWsUP87ASqlSOVAcXi+uqqaLYCasMXtNee0uQ==, 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: @@ -13736,7 +13753,7 @@ packages: dev: false file:projects/arm-commerce.tgz: - resolution: {integrity: sha512-LWkAeSCgEawOR2ndN6jJCHy3rg3Rx12DrpITnO8m0UrYoM/I+igLnAmtzFrWuaPPrYIboLBzxNMokfFcXSLS/w==, tarball: file:projects/arm-commerce.tgz} + resolution: {integrity: sha512-C+jpx3gDx5Lyb8oXrbNqttOQnlPoGY97pYY0wyzyABCjLSzV8LGnxK0HbPP+Bs9/IS/KuWoiPrTEW00sgh8jBw==, tarball: file:projects/arm-commerce.tgz} name: '@rush-temp/arm-commerce' version: 0.0.0 dependencies: @@ -13763,7 +13780,7 @@ packages: dev: false file:projects/arm-commitmentplans.tgz: - resolution: {integrity: sha512-whETLRCVXON1vxsXT38mJ5yqCEdwAE+vAlBJEaFbFbSQsZ6xgLvavVlB0mmOqUNZOjI+QHKha9Vu0a/CDw/yZA==, tarball: file:projects/arm-commitmentplans.tgz} + resolution: {integrity: sha512-/Ob9UPZ/v732DkVwUELb9Eymmbdi7h+W6hdYWvY6QkLlrrtywdchXNcVAH5mRafuBfyJayI/+LP5pKwFrsbRpw==, tarball: file:projects/arm-commitmentplans.tgz} name: '@rush-temp/arm-commitmentplans' version: 0.0.0 dependencies: @@ -13790,7 +13807,7 @@ packages: dev: false file:projects/arm-communication.tgz: - resolution: {integrity: sha512-Rq0A6A/jA9bGHTJ8xX8n5QCJb2zKiZQINXv/oF1LEiNsCpmULW38CHvpcCzYzFevY7ZX/RCAp78d7ybuqqg1yw==, tarball: file:projects/arm-communication.tgz} + resolution: {integrity: sha512-2xEGkC1vwagWSicT0dw8cB8tpRwVYDXf4NbYWW53tgeyrW4TIdUiqGDIghLJPiN4cvLhttOYfCXxjEPgFbfOLA==, tarball: file:projects/arm-communication.tgz} name: '@rush-temp/arm-communication' version: 0.0.0 dependencies: @@ -13820,7 +13837,7 @@ packages: dev: false file:projects/arm-compute-1.tgz: - resolution: {integrity: sha512-AM0dsiMAJJ2gP64uWD5ysDFbFhSeYjtTasktK5CUVdqxAXZQuTkLgYw7a0tULebPWwF46L3mrmqQYzz/Gs/dTw==, tarball: file:projects/arm-compute-1.tgz} + resolution: {integrity: sha512-htTzU/qeMbztclayDaALb69likrxG5yfqsxktJ13IrT2EfCQT0inWi5E74C+k9nztbPUvj7111EL4w5Pxi9OaQ==, tarball: file:projects/arm-compute-1.tgz} name: '@rush-temp/arm-compute-1' version: 0.0.0 dependencies: @@ -13852,7 +13869,7 @@ packages: dev: false 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} + resolution: {integrity: sha512-fNsQuQcpvlHm5zbEFeZydIMJO1FKgjveSOBvuzk4Z8Ls5lHDUys/i3lQdIg0h0RyVp55OrpOsqxGnkWf8uC6jA==, 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: @@ -13882,7 +13899,7 @@ packages: dev: false file:projects/arm-compute.tgz: - resolution: {integrity: sha512-VYWMdomJKQucZjeoj7vC5sLt+WfOvXijJPZAPSphCz4IYA2GMLSzOOI3plFcTyaIc/DQmoUe8yofCNLc2wb4kA==, tarball: file:projects/arm-compute.tgz} + resolution: {integrity: sha512-7FI/MhP2kRDY0FUaisuP/hIpX62E1NL4eyyPhadmBb4gCYxrukQq7TeE098mPu6VXdp2vrmfaWBviCp27HSM/Q==, tarball: file:projects/arm-compute.tgz} name: '@rush-temp/arm-compute' version: 0.0.0 dependencies: @@ -13929,7 +13946,7 @@ packages: dev: false file:projects/arm-computefleet.tgz: - resolution: {integrity: sha512-gmJQjY5CbvJG5u5rNr14RoC8D2ZIntCSD63pFVcPdvQrQUMZMfTWgfd47GsFgkDwDUMzPknwbcF+neX5D3xqQg==, tarball: file:projects/arm-computefleet.tgz} + resolution: {integrity: sha512-xXuF/sXg8yjJsHj0rdelaUOgN4A1zbK0R08PMqcEvPBKLMaKz9YNIx4oJGOmHzrdLS4YKFdzpFH28j7tAbrrQA==, tarball: file:projects/arm-computefleet.tgz} name: '@rush-temp/arm-computefleet' version: 0.0.0 dependencies: @@ -13965,7 +13982,7 @@ packages: dev: false file:projects/arm-confidentialledger.tgz: - resolution: {integrity: sha512-/+COUhTsLVbHeC7HbjPJjUTImMuZwOLH+9XuTudUccVUTz53dY6opFZNtUM7GVaywFK1fGXY2N92bN7H7z3Ilw==, tarball: file:projects/arm-confidentialledger.tgz} + resolution: {integrity: sha512-zxZU/JNsnSaYxiS4gMIh80c4JtSyr80YyLEMDCWMNlHq+C+be/nXEt6p5bpi7kn//tjrzt14eMZnTCi3pE3K2Q==, tarball: file:projects/arm-confidentialledger.tgz} name: '@rush-temp/arm-confidentialledger' version: 0.0.0 dependencies: @@ -13996,7 +14013,7 @@ packages: dev: false file:projects/arm-confluent.tgz: - resolution: {integrity: sha512-2o273gtGPTC2K2/i46A21qYt2qP4tcRSqAfJJP4LqWdzkdt8+XBFjlExZzEmLmuZnnlszOwLurb5b944u+l7HA==, tarball: file:projects/arm-confluent.tgz} + resolution: {integrity: sha512-z/AubcnKHzpxf/9w781YbGNb53vuciy1f76Ar+Do5o5Berokb8x6ocuWrJs+kIDgy0igy7ju0Bt88Sf2avMikw==, tarball: file:projects/arm-confluent.tgz} name: '@rush-temp/arm-confluent' version: 0.0.0 dependencies: @@ -14026,7 +14043,7 @@ packages: dev: false file:projects/arm-connectedvmware.tgz: - resolution: {integrity: sha512-w1T74Hc0+RFb5V3bH0jQuBBUCENQ3/MRlEIOYf3x0nZQ3OzHSAfA1Q6uMm82oZzJ+VF9VLUCBGfxo6wfwmFn0Q==, tarball: file:projects/arm-connectedvmware.tgz} + resolution: {integrity: sha512-PjgIWOJHPB3uSxF1IR1NtM5TfRZ7cGTOylTsjMaA5vvIgMfwcdtq2ADpnhfUPkqcjGJJwcA3vzieQUxb3AbNhg==, tarball: file:projects/arm-connectedvmware.tgz} name: '@rush-temp/arm-connectedvmware' version: 0.0.0 dependencies: @@ -14056,7 +14073,7 @@ packages: dev: false file:projects/arm-consumption.tgz: - resolution: {integrity: sha512-Gcy5nXxsywa4b9F7LFIiS+QtQCf0L9YsdfqyYqLpY/2A/Ix0S34nyU1xhIH2dk2Qzyg93sbNFpOWzXMif2Vugw==, tarball: file:projects/arm-consumption.tgz} + resolution: {integrity: sha512-H3G/xqgawMywQnmbzgmiHgs3i0fO3Vji3LJHZxek4Ep4zkjyzif6svW5QQq0C8uF6fMGrGmyi9FisnIqImjhng==, tarball: file:projects/arm-consumption.tgz} name: '@rush-temp/arm-consumption' version: 0.0.0 dependencies: @@ -14084,7 +14101,7 @@ packages: dev: false file:projects/arm-containerinstance.tgz: - resolution: {integrity: sha512-IeTmSosHKsNS/TA1NqQNs/nksO+D8+6b05enj5Tqe8JkVyyjWdgz0jCVap5GMOd9zmhSZgTlzBXzf7/8JlZAOg==, tarball: file:projects/arm-containerinstance.tgz} + resolution: {integrity: sha512-ki0IumWTAuuvtP5w6e5OEXc7U8NGGPUTJRfQrK74zPExsA60o71EM/2LNlp+Ac16fL6WJgHvueRFRhQyUvHuzg==, tarball: file:projects/arm-containerinstance.tgz} name: '@rush-temp/arm-containerinstance' version: 0.0.0 dependencies: @@ -14114,7 +14131,7 @@ packages: dev: false file:projects/arm-containerregistry.tgz: - resolution: {integrity: sha512-ou0H4p1Lf9vhdrNtJwDAs4apzn2PTEQ+i43Cjf+z3cYejA+mM69a9Ps0vjFniRH0xtYDzyMw+ILLORQKBx3MmQ==, tarball: file:projects/arm-containerregistry.tgz} + resolution: {integrity: sha512-rnNxFSztZHA0UnR05hfe5N5CRQCEDCQsM9cWo+53EWcpc/OOos6gr8znKJoAMRF02hLQFKz7zXVHYyd5lPHiMw==, tarball: file:projects/arm-containerregistry.tgz} name: '@rush-temp/arm-containerregistry' version: 0.0.0 dependencies: @@ -14144,7 +14161,7 @@ packages: dev: false file:projects/arm-containerservice-1.tgz: - resolution: {integrity: sha512-MSE9EQsFt80usJvYiYKfr8QgkOTk0uB7i+d1RvEgz0W1HSWx0r+5sI52jjaQo2s2l3Vb9f+p0N+Vn2Os9LhWPg==, tarball: file:projects/arm-containerservice-1.tgz} + resolution: {integrity: sha512-B9/qkrGTOKFMl1uKG6/YuYHwnQK58VyjOWRr6v5YqzdTXlMrxpc81HJTSnpRv6MloAEedISGePdfBULz1OMvuw==, tarball: file:projects/arm-containerservice-1.tgz} name: '@rush-temp/arm-containerservice-1' version: 0.0.0 dependencies: @@ -14175,7 +14192,7 @@ packages: dev: false file:projects/arm-containerservice.tgz: - resolution: {integrity: sha512-7BoXb1vMgKl/PnaE7JZthEQMaxNxic7BttWWBLpU7ZMvCYhcM2Z7u0biB30PhTs142yT3G+JEp6R1JLpdPFu+Q==, tarball: file:projects/arm-containerservice.tgz} + resolution: {integrity: sha512-0JWrY8HNeTojCQQQuuqZ32zVkxL8Rnv2xlnIUMHLsE5ghlYs39pA6XEU0aeYxm+f1g50D4048djHAJ5lg0HAKA==, tarball: file:projects/arm-containerservice.tgz} name: '@rush-temp/arm-containerservice' version: 0.0.0 dependencies: @@ -14221,7 +14238,7 @@ packages: dev: false file:projects/arm-containerservicefleet.tgz: - resolution: {integrity: sha512-Plqg8H1yVOsiNy5aqEAviSDO03X5onAnB2CYgd6U4qjY0ZvKJVyAcrgEdNqzU7WCqPCVgy605+iEX7xWxjpQUg==, tarball: file:projects/arm-containerservicefleet.tgz} + resolution: {integrity: sha512-Q0BxwTAQnv16ETxkfwg/n4NZAwSelH9Cv9XdsDcGrReeV1pXHlwg7dErxk6ey+ocHUVD7qA1wp21qzffwXSTyA==, tarball: file:projects/arm-containerservicefleet.tgz} name: '@rush-temp/arm-containerservicefleet' version: 0.0.0 dependencies: @@ -14252,7 +14269,7 @@ packages: dev: false file:projects/arm-cosmosdb.tgz: - resolution: {integrity: sha512-EcEo0Mm8/H7VWVbwvb0BVt/nk3JFgPvVRp39nDyt9jY/pevKEPihUH1BfmhuOCQdNaZWhhI4QOzLsFGHweHYCA==, tarball: file:projects/arm-cosmosdb.tgz} + resolution: {integrity: sha512-/Cb2yd9t9k3cmTg9QUJrli800W8j+28xZxoGfymYrZfHxm2geOtI4euBHu9lNCjNcI2TeZX8uuR3BIl9hIQOYg==, tarball: file:projects/arm-cosmosdb.tgz} name: '@rush-temp/arm-cosmosdb' version: 0.0.0 dependencies: @@ -14283,7 +14300,7 @@ packages: dev: false file:projects/arm-cosmosdbforpostgresql.tgz: - resolution: {integrity: sha512-qcPKWxfssW4deS2vRfGT1AixQhA2XK/BBSCxm1G7fo7A4Jqw0GBXRYbYtCVw6rzX5RHouZXYa7LAmJxPGpQ6wQ==, tarball: file:projects/arm-cosmosdbforpostgresql.tgz} + resolution: {integrity: sha512-lX1LJoAhDJjNaSE5A3yi4qJ8BSHkKkV20RZMigPUnz/1ThN0CVUWH2MN4HAZtmPer6xvUMczjJ+wyjekKpK2bA==, tarball: file:projects/arm-cosmosdbforpostgresql.tgz} name: '@rush-temp/arm-cosmosdbforpostgresql' version: 0.0.0 dependencies: @@ -14313,7 +14330,7 @@ packages: dev: false file:projects/arm-costmanagement.tgz: - resolution: {integrity: sha512-5lpA8pqyyAM2ac2mD8Etgdb6v9PzqcrM+DEp4w7lnQNVj9cNtExLPemZT+jQL+hxaJSQL5Xuvak60S7d1QbXAw==, tarball: file:projects/arm-costmanagement.tgz} + resolution: {integrity: sha512-ICAyriWE/1Jebu5380CxWafhOlbO2j+8AmeLt3n70whmJb5UD2V51XYTO5xaqLwGrWmHieAu0g0EYuluewaDWg==, tarball: file:projects/arm-costmanagement.tgz} name: '@rush-temp/arm-costmanagement' version: 0.0.0 dependencies: @@ -14343,7 +14360,7 @@ packages: dev: false file:projects/arm-customerinsights.tgz: - resolution: {integrity: sha512-rB62XQy8dvXMz4M/7aeeFyB23YakTjOxwE6FgpqoJCzE6ZjsoXmq+Ji0AoaanssRvJkETEg5z2IksAg2+vURlQ==, tarball: file:projects/arm-customerinsights.tgz} + resolution: {integrity: sha512-LZLPHeTQuFJL3fPsooEXPQSe+KWznuY0q4Wiicxqa1CLHzL5NnUrpDi3juuOh5JUCctiVj4qPa2W04n23b2A8A==, tarball: file:projects/arm-customerinsights.tgz} name: '@rush-temp/arm-customerinsights' version: 0.0.0 dependencies: @@ -14372,7 +14389,7 @@ packages: dev: false file:projects/arm-dashboard.tgz: - resolution: {integrity: sha512-ADCtf6wHVl4+mj0XkmgezMbzyz1dJbEZWEXokWIuAIUNeMfPomxXikfPVgIWxB5tPFSxHDS7+L2HrfII5sb21A==, tarball: file:projects/arm-dashboard.tgz} + resolution: {integrity: sha512-s/5AttuZg8VGAqE5bB4lXAC2glSpE3Fem/i6oquOwA50duTuCdiMvuiXc/ctmfoT7F+YM1TD/+pwCXTxXyk2tA==, tarball: file:projects/arm-dashboard.tgz} name: '@rush-temp/arm-dashboard' version: 0.0.0 dependencies: @@ -14402,7 +14419,7 @@ packages: dev: false file:projects/arm-databox.tgz: - resolution: {integrity: sha512-Jl0QbnBUPsstqrSz0FBnacdEPWP4pXxLGmCIqcEy5dOqQFh0jxUfQMKe1nFttPrQIsXvSPPZ1dq+Xzg3voJlUA==, tarball: file:projects/arm-databox.tgz} + resolution: {integrity: sha512-Nv3Ub6mRlmbPyFq7Em22lQGHv3iI5kJhTKChNIXhp5BCjGwektVQhjrZ2grjO1gwBv+BTDkfiOMsvwEqiZc8Bw==, tarball: file:projects/arm-databox.tgz} name: '@rush-temp/arm-databox' version: 0.0.0 dependencies: @@ -14432,7 +14449,7 @@ packages: dev: false 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} + resolution: {integrity: sha512-iF38cTOLQCdEZFr1xo4K9+83MQJJWq00aF9+6syKOCB2AJMxZ4E9Z6QyP/sDCBFJdVdoxF8FX3SLvQdBlz1t3g==, 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: @@ -14462,7 +14479,7 @@ packages: dev: false file:projects/arm-databoxedge.tgz: - resolution: {integrity: sha512-pd8wV626yBwXSHjpO3zbIUBBvayYezwyB2iFk3kckdVDaJC4sYdwlr1k+0cmUel5VEM2hzP9ZcrJ8BLzpHHWeQ==, tarball: file:projects/arm-databoxedge.tgz} + resolution: {integrity: sha512-lVHnZW1D9P6WuVY1yYsvXo3VNP4QB9BkVE/19PyFPQQ/HAB9YLDOsWrkVwJuhYSYGpImuA7PT+EKYYaRbHgwxg==, tarball: file:projects/arm-databoxedge.tgz} name: '@rush-temp/arm-databoxedge' version: 0.0.0 dependencies: @@ -14491,7 +14508,7 @@ packages: dev: false file:projects/arm-databricks.tgz: - resolution: {integrity: sha512-ukffrFz9KXG84YZnYgyMVU2WxzeM+UafOjUKGXBQuPDRaRdr4fyH2WbE18S8KSzhgSM2uh9Bajon4PXnfYA5eA==, tarball: file:projects/arm-databricks.tgz} + resolution: {integrity: sha512-tUasK3ua2kjINJZkPGzMcPP6I58AryQuPRH8TMQDznPh60vKKxLPA5QHx8nSSG0qugZkX/0ahb7KbrftgNxlyg==, tarball: file:projects/arm-databricks.tgz} name: '@rush-temp/arm-databricks' version: 0.0.0 dependencies: @@ -14521,7 +14538,7 @@ packages: dev: false file:projects/arm-datacatalog.tgz: - resolution: {integrity: sha512-6Xh58jdmq7AmyrpgyMtP2og8OJmKzGfI4A2o78o9ntzfKPgFg5GvVweJYinUFrHhgVy8wllq8m+DbNmwYJ/SeA==, tarball: file:projects/arm-datacatalog.tgz} + resolution: {integrity: sha512-+W7Fi+B5qVpGDKk8dzHL5qkJGNnB/BkryLKfxxPDLzNOLjhlU/Xq90MVlDxYmj1HnAQRWZ/ZlgLILQQjj4PR/w==, tarball: file:projects/arm-datacatalog.tgz} name: '@rush-temp/arm-datacatalog' version: 0.0.0 dependencies: @@ -14550,7 +14567,7 @@ packages: dev: false file:projects/arm-datadog.tgz: - resolution: {integrity: sha512-4vtDGxEr7bIHpf8wrPt8hOm4Iot3u7ATo7PcgFJ22B1QRo6+fjDt5B8aXBbvx6wUD4pdn8lyxpWNIKDaEwZ0JA==, tarball: file:projects/arm-datadog.tgz} + resolution: {integrity: sha512-tWQ6xPYw4sqDI7Dr1jEKm7amuwojB2LYeaFnClsQkm0GAoia87JGNlWTJTd+UltPWpLsNnBUsLBbeBIxBFNb0Q==, tarball: file:projects/arm-datadog.tgz} name: '@rush-temp/arm-datadog' version: 0.0.0 dependencies: @@ -14580,7 +14597,7 @@ packages: dev: false file:projects/arm-datafactory.tgz: - resolution: {integrity: sha512-Q/UgF/jHUhFWs4a2VHg5BPu4EacOjaoAJqlLqGFX3ZwG0GZDoRx8FtqHRw8p4jzKB5vuOrEV/3GzXjtsgu1WWg==, tarball: file:projects/arm-datafactory.tgz} + resolution: {integrity: sha512-Jx47zRvgQVatq+t+0Sz4w2FGrkpnN+ZovYRIiaE6PXH01ZjvI3z8+eesGhylvYKWzLq15lmPmOoOZsG1Qf5Spw==, tarball: file:projects/arm-datafactory.tgz} name: '@rush-temp/arm-datafactory' version: 0.0.0 dependencies: @@ -14611,7 +14628,7 @@ packages: dev: false file:projects/arm-datalake-analytics.tgz: - resolution: {integrity: sha512-BwKg050DuWAe2bNSn0L7Y6/gxF5is/sUEyI6ey6pbro0hFwUYwrYuWbPvoEXJ0XQh4F3+KAfRuIaBXqwUG0NAw==, tarball: file:projects/arm-datalake-analytics.tgz} + resolution: {integrity: sha512-6pqdujvH7QAEVcGKtGa+Qvy3jc4Jvq6ROXRx52o8gU1qP1pffb/2QKTgDYIFVSWJOtvn7vKWsSv++K3JGYRp0w==, tarball: file:projects/arm-datalake-analytics.tgz} name: '@rush-temp/arm-datalake-analytics' version: 0.0.0 dependencies: @@ -14640,7 +14657,7 @@ packages: dev: false file:projects/arm-datamigration.tgz: - resolution: {integrity: sha512-IEsrSpKapYUOg8ZJtoftvyu8cucFaJYNhfA7aIcIVop729u4EGFXXhRvFhSU8TdU904tqTrdfKU+QQIsrqEeAQ==, tarball: file:projects/arm-datamigration.tgz} + resolution: {integrity: sha512-TNCRVby5YXY0c2e7shxpP9fLOiMuAPzrad82L5d/PsWCiFxay/kHltRhC9yfEuJOLi9SPaHherVuIsUxFyKozA==, tarball: file:projects/arm-datamigration.tgz} name: '@rush-temp/arm-datamigration' version: 0.0.0 dependencies: @@ -14669,7 +14686,7 @@ packages: dev: false file:projects/arm-dataprotection.tgz: - resolution: {integrity: sha512-mPMDI8V3PEYMWzKfjL/WqtwL2gZjPrAQNoT8PZOO4Du7TC4r9oVMjoPoPtPIqEYTMGuCh80/gto9RGc+jL0xxg==, tarball: file:projects/arm-dataprotection.tgz} + resolution: {integrity: sha512-LdVQlNk85WkLK9UFEnJJKKKUL2eAwL6Mqs6VgOGojOomnnQGZg/kNYOgdtbvJ/V0th5JLVzDSD55d+xfUO49vg==, tarball: file:projects/arm-dataprotection.tgz} name: '@rush-temp/arm-dataprotection' version: 0.0.0 dependencies: @@ -14700,7 +14717,7 @@ packages: dev: false file:projects/arm-defendereasm.tgz: - resolution: {integrity: sha512-7ZapL0RxM8uEdo9Rw4fqFSSwB9+oVkAO1tBNtqmGgo4pQSJqAfEounweI8xswwkiraFYuc/BxStTTI6S2D5Z/A==, tarball: file:projects/arm-defendereasm.tgz} + resolution: {integrity: sha512-98fr3fMGLC57z4fOkxQpGGkppirHPusHmoYQqJJ1FJxmacoAygaezvyR7QJ0P/2dYd9MQAVVshAItBnRCX55+w==, tarball: file:projects/arm-defendereasm.tgz} name: '@rush-temp/arm-defendereasm' version: 0.0.0 dependencies: @@ -14730,7 +14747,7 @@ packages: dev: false file:projects/arm-deploymentmanager.tgz: - resolution: {integrity: sha512-RxofYNGQ4TP+HYcb8QI86FIpjvnsmd6s1Lc9SpdDJ+v7xTfZa5lq6Qy/w3pDGeBRlPDm9dZm1K+q79p3JeAqYA==, tarball: file:projects/arm-deploymentmanager.tgz} + resolution: {integrity: sha512-bnUVyGPtkPe8LNSyCy1yClVXU8St7RlUkXoNBlihb5TyJFsyPuXKgYXpcYh9iyHpiKqoLiS7Cj4gPM0C0nmkKA==, tarball: file:projects/arm-deploymentmanager.tgz} name: '@rush-temp/arm-deploymentmanager' version: 0.0.0 dependencies: @@ -14759,7 +14776,7 @@ packages: dev: false file:projects/arm-desktopvirtualization.tgz: - resolution: {integrity: sha512-KO7SOu5mwyQwRnZp5ptYmnZ6oHUIMHsxwKWASnilMZuqST0RRWg3B35U9fhFA/ELowa5fUc+LpnDczPD58r+LQ==, tarball: file:projects/arm-desktopvirtualization.tgz} + resolution: {integrity: sha512-mGgbpMxIDwwPkf1n/Qpmb8nIWXxfBmYKxjaYcxWabnoNdL2keoT0+jqT1fsIU2ttLUMm5Zj4pI6+2pGCI02+DQ==, tarball: file:projects/arm-desktopvirtualization.tgz} name: '@rush-temp/arm-desktopvirtualization' version: 0.0.0 dependencies: @@ -14787,7 +14804,7 @@ packages: dev: false file:projects/arm-devcenter.tgz: - resolution: {integrity: sha512-JurFyM3b6qbeR5PO5zx2jDzOwiMPPUn/RAi0UeM62muO2TmoeBUKLkjbJhCTRillgWeJHVNFIplnyuY54mBLlw==, tarball: file:projects/arm-devcenter.tgz} + resolution: {integrity: sha512-WzOYyZ7sYCs47LFx+uqBrSXVF+Rkif62PG7vbbljUQSsBkrnhtXwMD76F6w2iYLF6nbRbsvkyhoXlBzT/M8tiw==, tarball: file:projects/arm-devcenter.tgz} name: '@rush-temp/arm-devcenter' version: 0.0.0 dependencies: @@ -14818,7 +14835,7 @@ packages: dev: false file:projects/arm-devhub.tgz: - resolution: {integrity: sha512-uM9sv49gEdbbukbPXUkGwEr57/C8G4voHCZVwjayArvzQxpmw0vCRWgmdNtHFUMNF8qxAne7E9v5b0oge6KgsA==, tarball: file:projects/arm-devhub.tgz} + resolution: {integrity: sha512-EdaLVv3eLxnjLGMlbdpAddyXwOZfPmne9ziabI5duyiaNj3LGB3XFzDFXxB5Q14PELzsp7pxO9j8dTOb63tWoQ==, tarball: file:projects/arm-devhub.tgz} name: '@rush-temp/arm-devhub' version: 0.0.0 dependencies: @@ -14846,7 +14863,7 @@ packages: dev: false file:projects/arm-deviceprovisioningservices.tgz: - resolution: {integrity: sha512-D1j7w251vbrba8H1bHgnWhFID6Nf0yN2d2IaXcyB4zNibyi0D8ZI8SvBidMrsGXOo+yAD/jCSp1Ta4n+xgy+Dg==, tarball: file:projects/arm-deviceprovisioningservices.tgz} + resolution: {integrity: sha512-lQqDbv7g9n5GKZZ6XzHJ/1krYnpj7WD+L9eUGsDCYNIvfS820VCD2NWILorCZ1HM3aH60jS+1vE2yYq6rUriVQ==, tarball: file:projects/arm-deviceprovisioningservices.tgz} name: '@rush-temp/arm-deviceprovisioningservices' version: 0.0.0 dependencies: @@ -14876,7 +14893,7 @@ packages: dev: false file:projects/arm-deviceregistry.tgz: - resolution: {integrity: sha512-uorbaXlwdBW4pHmu5isNUlJSOqG2W/3hDKtz+t+cmKhs+exRSXDtKUTjQVQliSIEKvVFnKlguoD85DXlOFi6Bw==, tarball: file:projects/arm-deviceregistry.tgz} + resolution: {integrity: sha512-k8vk0idHyonOoNArlqW4tLfeAxfW8FCbnXT0OzkiNQKp45c6YSsFT1htPCQEQmLDMoDWfuUsmAvrNMdKlEZD6g==, tarball: file:projects/arm-deviceregistry.tgz} name: '@rush-temp/arm-deviceregistry' version: 0.0.0 dependencies: @@ -14907,7 +14924,7 @@ packages: dev: false file:projects/arm-deviceupdate.tgz: - resolution: {integrity: sha512-sxFBXsSKlNJMjF2Z/fHgJ74YDfmEOpvhJBJWng55rnryYJpx18+0tvuY4o7kDQKfo5fNk/dVYJKyBA6mz1Q8tw==, tarball: file:projects/arm-deviceupdate.tgz} + resolution: {integrity: sha512-z6sZ0yLyraPVZIG8aB/OCRUf1V1BKgZmZSmoM88wL1miK+yYSVvRJcNPDW72x4btKJXhfQTGrCjIjyBE9vCPmA==, tarball: file:projects/arm-deviceupdate.tgz} name: '@rush-temp/arm-deviceupdate' version: 0.0.0 dependencies: @@ -14937,7 +14954,7 @@ packages: dev: false file:projects/arm-devopsinfrastructure.tgz: - resolution: {integrity: sha512-4zHK93tKjUT4Aksx+xEV/eCXF5V/jP0XNr6J0V4yt7oWNIh4OEgNpl0i5XG8MRVBVjpxRoWnixbZgnm+nZNogg==, tarball: file:projects/arm-devopsinfrastructure.tgz} + resolution: {integrity: sha512-Xmke4vEWYHy+QQ+/iYtu7ywr+ynW+EXriwXzdXW2rQ8himsYCsyQRz2GXCwJBKYBl1mmtDwAUE4SGZ9NMKFwQA==, tarball: file:projects/arm-devopsinfrastructure.tgz} name: '@rush-temp/arm-devopsinfrastructure' version: 0.0.0 dependencies: @@ -14968,7 +14985,7 @@ packages: dev: false file:projects/arm-devspaces.tgz: - resolution: {integrity: sha512-mIcMSxyuO791Tup/qBtwba/rS/Pbz5qAWnZMacRfMAtRBGIc1/F7MnqNeJVNbMnOu9IuvAzbAN05dLOM2YkRqA==, tarball: file:projects/arm-devspaces.tgz} + resolution: {integrity: sha512-jlFWQo4HQ3JQyIXMlCCenE0wkocWFAkYr/CWnc0NQkX5AsiO/jnh9PMYvFqQuEdyS2jqYGYyu7C3nKUZNHEtzQ==, tarball: file:projects/arm-devspaces.tgz} name: '@rush-temp/arm-devspaces' version: 0.0.0 dependencies: @@ -14997,7 +15014,7 @@ packages: dev: false file:projects/arm-devtestlabs.tgz: - resolution: {integrity: sha512-c7ox4i6D023X+c7vBcY9EF4LP/lQiI9vpslVpCLzYIqY++5AmBtKrzxyumlOnMkQuFFYK9LuRR7T7Jtz8f4ReA==, tarball: file:projects/arm-devtestlabs.tgz} + resolution: {integrity: sha512-gTx80BQNVPreQoy/L1z1UA3lDxk8fXJkRPr9JeqSgoy5vwXN37+fsHcaied4c6lhQjHLj1n2JH3Rbd8iZk1zIw==, tarball: file:projects/arm-devtestlabs.tgz} name: '@rush-temp/arm-devtestlabs' version: 0.0.0 dependencies: @@ -15026,7 +15043,7 @@ packages: dev: false file:projects/arm-digitaltwins.tgz: - resolution: {integrity: sha512-eQT/IMro7HG/g0+aj5gAv1oiShbvUeRzPbGBgWDg4pgpDLBsSTFK//ARjCI7M/qM9Z3XvNjUSTznM8N6LbR6UQ==, tarball: file:projects/arm-digitaltwins.tgz} + resolution: {integrity: sha512-hACmyDTZT5Nue06GH53PNJ4TWpcKbpHpzB/e4J/ojnEFMlTW4oTLU6aWCEKsElp2BQ2xJ/p2l+3uktEQ+2cx/Q==, tarball: file:projects/arm-digitaltwins.tgz} name: '@rush-temp/arm-digitaltwins' version: 0.0.0 dependencies: @@ -15056,7 +15073,7 @@ packages: dev: false 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} + resolution: {integrity: sha512-6jkA53NekdbstrWe3SvTUdK+CcIEJjdyuwKyqmZlOuVm04+0EZgCjmijZYN/3quQCrFnukBHwrP4d2VVbxwtgA==, 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: @@ -15086,7 +15103,7 @@ packages: dev: false file:projects/arm-dns.tgz: - resolution: {integrity: sha512-TQido9uO82arRWzrTN0K1remElEhm2ouPkrvQEtOtQRIUl/84aLjasJjjsF2RDLRhwnm7PjDIo/oozZVAQXFyQ==, tarball: file:projects/arm-dns.tgz} + resolution: {integrity: sha512-HEM58a7DcKeutSbQVeZ3jdVaBeQbGn/4b8C58+XTVwaEljTCMbma2Nas20P3ehm2Wy9p3R9kz1ioUA9afWpjdg==, tarball: file:projects/arm-dns.tgz} name: '@rush-temp/arm-dns' version: 0.0.0 dependencies: @@ -15115,7 +15132,7 @@ packages: dev: false file:projects/arm-dnsresolver.tgz: - resolution: {integrity: sha512-cXYXTCEm/jh3jlVQ8d7a1dCCqELzBsFshdreRd5Ly2NOx/IQ26C9fs20Txh16GN6b895cyziWsQd2zXefJajjg==, tarball: file:projects/arm-dnsresolver.tgz} + resolution: {integrity: sha512-DeLf7+7CkmmVIUt9YZSfoBhkxZNdk3QdqtlS8krdPjms6MZczMyc4xtFuXWbXrE8ejCrBvhAur1caIV576e+Gg==, tarball: file:projects/arm-dnsresolver.tgz} name: '@rush-temp/arm-dnsresolver' version: 0.0.0 dependencies: @@ -15145,7 +15162,7 @@ packages: dev: false file:projects/arm-domainservices.tgz: - resolution: {integrity: sha512-56Z4MCVLd1HbrkYnH8JbLj7z1J9OPSPw/9kSyCNju0k5RB8LcJZt6gU8PNmfabcIhr98j9FeReHOIBbTxjzphw==, tarball: file:projects/arm-domainservices.tgz} + resolution: {integrity: sha512-7EqjjV4zyIaCTWxDU+h1f6asLud4RJF4fMBQ4uGizNy0Y4kxBWWa7zG9UJ3MsSkD6U3q+GSGx35QGYt2WaIYUA==, tarball: file:projects/arm-domainservices.tgz} name: '@rush-temp/arm-domainservices' version: 0.0.0 dependencies: @@ -15174,7 +15191,7 @@ packages: dev: false file:projects/arm-dynatrace.tgz: - resolution: {integrity: sha512-7X2We+Y8snc3mGhkUhpBka7+vg42/KySiScTOBtj185VYJJ/LgCGCif+TXh6qY3w3Gh2MKA05FXhkpWeUgJx2g==, tarball: file:projects/arm-dynatrace.tgz} + resolution: {integrity: sha512-Uoemd4Ar2HBsOdh/+FqGAG1YW4h9Qk2GuV/QMlI9ahEvpQz1HeUAGM6azHHbNxDdBV5Lvd3p3JZvMO6QrQFTQQ==, tarball: file:projects/arm-dynatrace.tgz} name: '@rush-temp/arm-dynatrace' version: 0.0.0 dependencies: @@ -15204,7 +15221,7 @@ packages: dev: false file:projects/arm-edgezones.tgz: - resolution: {integrity: sha512-3NBroBpf0z4Jm7ISLqTIrbJvfCA9YSK1prqA9Ydiqwvyl5nQFbH0iA8Sr88JizNQmPtkL0TfOb05aruifG6b4Q==, tarball: file:projects/arm-edgezones.tgz} + resolution: {integrity: sha512-Na4394umHoYsyakR2voSfFcGZtbPSJMUSd2sWjrMAW2W7igl0BjM2lwaqwKdnnJInzoRkaZaguzjFBaSBdqwxQ==, tarball: file:projects/arm-edgezones.tgz} name: '@rush-temp/arm-edgezones' version: 0.0.0 dependencies: @@ -15240,7 +15257,7 @@ packages: dev: false file:projects/arm-education.tgz: - resolution: {integrity: sha512-6s1hwNP3POhgx1UP1s5nCcMk9lCYjVLKaZq96w+AHz3a4CUSAMnrAWepnfqSHXOyzY8JGfUSsVIJ0QlnCbLHaA==, tarball: file:projects/arm-education.tgz} + resolution: {integrity: sha512-x6BSagYZf8VqOMvVwS2MCGtyhVMapl42fkbhFnOZ3QWsD0wzV8erSQ8Yc+xkuZJ2YomexmEaWbimbNCHcyNGrA==, tarball: file:projects/arm-education.tgz} name: '@rush-temp/arm-education' version: 0.0.0 dependencies: @@ -15268,7 +15285,7 @@ packages: dev: false file:projects/arm-elastic.tgz: - resolution: {integrity: sha512-2FKz7gVut3EymfgeZeq6x+sZtiOjZbQIv6ei1YmBfQ+8GObnZvyNY9l7i8DcrLlRUm/c3XpAbnfZWSXjMK4tJA==, tarball: file:projects/arm-elastic.tgz} + resolution: {integrity: sha512-PSzS1KszY3iCaTiQ8PdeNs1dmiUfcvVfUYaOxivul9DmZGa7Fzn7N1w6PXjBcwmK9HhAPa4iFsrCJB/L58IsJQ==, tarball: file:projects/arm-elastic.tgz} name: '@rush-temp/arm-elastic' version: 0.0.0 dependencies: @@ -15298,7 +15315,7 @@ packages: dev: false file:projects/arm-elasticsan.tgz: - resolution: {integrity: sha512-Dq0oe3mUlmgcZODwRVKN6dmH57NPB2jSsbeoFVORgq7fUSpvOatHlJ6rlD7bARKiPY1z0sSKw4zT1FGP6XgsBA==, tarball: file:projects/arm-elasticsan.tgz} + resolution: {integrity: sha512-4MMnTd/nW32J1g50ddHY5IdpRQf+v/I3sNjzV3Ba66iuJ0NGEnPp7bAxYU48fxowbaRUQxICJzV2bOSsfAVRmA==, tarball: file:projects/arm-elasticsan.tgz} name: '@rush-temp/arm-elasticsan' version: 0.0.0 dependencies: @@ -15328,7 +15345,7 @@ packages: dev: false file:projects/arm-eventgrid.tgz: - resolution: {integrity: sha512-4YK9IynwJXon9hJnbaeH4il+Yq2RjMdtBTxhzG52gkxmrNU8Lmyhf1gg2GYo+7sGjzweXu+bmoG7aYnQEDRuIg==, tarball: file:projects/arm-eventgrid.tgz} + resolution: {integrity: sha512-ffWmdtpwL+nEAZ2QP/XA8o3d6Aj4hV4mXQwBVcc+mmUTooGQaKDeRmtM22yHvgsue1adeRspsiEro1C72uxRfw==, tarball: file:projects/arm-eventgrid.tgz} name: '@rush-temp/arm-eventgrid' version: 0.0.0 dependencies: @@ -15358,7 +15375,7 @@ packages: dev: false 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} + resolution: {integrity: sha512-gKfci7TRJeVa2haPo9T+5O0bCejD+6KISf9tm2zK73w9UdnQ5HjzNoeMK8pULQRRtW1DBIYdIGhpD0wQcq0i2A==, 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: @@ -15388,7 +15405,7 @@ packages: dev: false file:projects/arm-eventhub.tgz: - resolution: {integrity: sha512-NK8mDnu6HDMOlxun9X23Jc7OciDr5lidWZb/j0XdcRVaOWKdj4KHU6Pm6oIHAHdRQkJ320EqyErR1zd3uWiElw==, tarball: file:projects/arm-eventhub.tgz} + resolution: {integrity: sha512-lfSe6nQ7fPzbc+L69MCp4abRS9+vrcP1wgn5rtTcwpOAPTk1LmK6+3WOalQcpLwkbXkU/XKce1h0nKfh0iJJBg==, tarball: file:projects/arm-eventhub.tgz} name: '@rush-temp/arm-eventhub' version: 0.0.0 dependencies: @@ -15419,7 +15436,7 @@ packages: dev: false file:projects/arm-extendedlocation.tgz: - resolution: {integrity: sha512-/1oB6Ijpuu0oWvGgxE1qz+FvBRcGQorcbD9w9rnBoph/sHRVSc/ri43q/dZrUHd/0UiyiEtg8r37cEPdld4/vQ==, tarball: file:projects/arm-extendedlocation.tgz} + resolution: {integrity: sha512-euvVbog11FaHgYwp9+Y1UGHlbQ+MCA/UWJF5rutfFaIGSvwXbinRDjCID22NBEbbLvgynb4M+P1tBMldTgaf/g==, tarball: file:projects/arm-extendedlocation.tgz} name: '@rush-temp/arm-extendedlocation' version: 0.0.0 dependencies: @@ -15449,7 +15466,7 @@ packages: dev: false file:projects/arm-features.tgz: - resolution: {integrity: sha512-MGfIHL8E9i2mEsSj2AttXklT/ZhCUZ19LiTlRCilTPfp+Nv+pTncUpKdKRjD+TpDDBKwtt8g1tNbCzqNdUkXMA==, tarball: file:projects/arm-features.tgz} + resolution: {integrity: sha512-JC146AMN2BHFjNnvPP9OFtoz6VpyauZ8Xy1HzlFBtKvRWBbzr2T/ZyQM6tZD6VQqyly61yboTKL+ii7NgHoHzQ==, tarball: file:projects/arm-features.tgz} name: '@rush-temp/arm-features' version: 0.0.0 dependencies: @@ -15476,7 +15493,7 @@ packages: dev: false file:projects/arm-fluidrelay.tgz: - resolution: {integrity: sha512-rXvs39Ibzkg1ZtOgo2uT9dmUDbx6VsRvngh/R2T0+M3PsV7JAOlVcMFkcaoREHabuqVmhb6kPtByc/4PmLLz0g==, tarball: file:projects/arm-fluidrelay.tgz} + resolution: {integrity: sha512-ZegVJMtbz7wanxAKu2VuPOtxsN/8mUauieYW4EdHg5MkbWM3p9XHjjYeXLfZoawMVq/oJmVJet/E31sYu8/L1A==, tarball: file:projects/arm-fluidrelay.tgz} name: '@rush-temp/arm-fluidrelay' version: 0.0.0 dependencies: @@ -15504,7 +15521,7 @@ packages: dev: false file:projects/arm-frontdoor.tgz: - resolution: {integrity: sha512-Q+PsEBRiSD+MP92WrQ+lPLwf/EJ7xN1+s4jDikUujkb7rBZhjKoK2fpmipU0itBTSsk0w9GoGUdI06ou99zriA==, tarball: file:projects/arm-frontdoor.tgz} + resolution: {integrity: sha512-DaJ5QSS7iZIxm8z8+bbSnYZQ55JuGoxN+2AIN/g9WLZs1Za1qIb5CyR/VxtGws/dfl4QA+/CNPmDY+8rTdGjTg==, tarball: file:projects/arm-frontdoor.tgz} name: '@rush-temp/arm-frontdoor' version: 0.0.0 dependencies: @@ -15534,7 +15551,7 @@ packages: dev: false file:projects/arm-graphservices.tgz: - resolution: {integrity: sha512-x9vMJoX3X95EfiVgv4Md4UtITfKsSlGx8njAAXOK7jJG6H1LT8q3TGGU9yr+revgdbM+tOyd7LPHSpYHloUz7w==, tarball: file:projects/arm-graphservices.tgz} + resolution: {integrity: sha512-5L9ydnPtfb1lsXMfxOBtubcmoFn18vOY9nFiutgQtRAqCidqtu1TBgqwr4W7WyM5yVHfSoqFibGn0W6K5DtDeQ==, tarball: file:projects/arm-graphservices.tgz} name: '@rush-temp/arm-graphservices' version: 0.0.0 dependencies: @@ -15564,7 +15581,7 @@ packages: dev: false file:projects/arm-guestconfiguration.tgz: - resolution: {integrity: sha512-KL9d6HUsLs9MzQ/PQjuhRgFRGH8rPhZOiFEZ5jZoTZpRU1rMtHN+NzOcc46B2NG9XY6eaCeeLrWk2g3Gh9F1sw==, tarball: file:projects/arm-guestconfiguration.tgz} + resolution: {integrity: sha512-pwV6vn0IbJGXQuS/Oo6m1DkcH71ClCzZQM47ZzhZxLWX3JPq5ex+gDjPV6/jvwB3JlP2qGn1DDC4tw+4b4ARLg==, tarball: file:projects/arm-guestconfiguration.tgz} name: '@rush-temp/arm-guestconfiguration' version: 0.0.0 dependencies: @@ -15593,7 +15610,7 @@ packages: dev: false file:projects/arm-hanaonazure.tgz: - resolution: {integrity: sha512-wZxajkX2ZA29UZ0z8VWxJ1lRVXCQ7tU8EwPt9C65tzBGzTcPmynTYrOPxf9jvHhEZ3v/PsfFRRw3hMseznWArw==, tarball: file:projects/arm-hanaonazure.tgz} + resolution: {integrity: sha512-eLmdDQCUnf2uwgVHYszlH5lHQ78p/m7JuCHEoPPTJCjcfQzMiTLJeIbMxJ+ihO/snTeFSXM1rWqk6vit2XD1sg==, tarball: file:projects/arm-hanaonazure.tgz} name: '@rush-temp/arm-hanaonazure' version: 0.0.0 dependencies: @@ -15622,7 +15639,7 @@ packages: dev: false file:projects/arm-hardwaresecuritymodules.tgz: - resolution: {integrity: sha512-hBnfSYvy4U1rdxPIrXrbE3V/loLfiq0nz0D0cvuP9hDdCgwpm4uBE0z4Q4oAzPG/JIZlZGhpCBqbzZ6Qk1gMpg==, tarball: file:projects/arm-hardwaresecuritymodules.tgz} + resolution: {integrity: sha512-SxVTbdWxK7Fucy/5J028MoteqC3gQcJBGV7NN16+BdhQeW3C67ESFXy7E3zapWfZq8qBqBjw+M4r4hDPA1sirw==, tarball: file:projects/arm-hardwaresecuritymodules.tgz} name: '@rush-temp/arm-hardwaresecuritymodules' version: 0.0.0 dependencies: @@ -15652,7 +15669,7 @@ packages: dev: false file:projects/arm-hdinsight.tgz: - resolution: {integrity: sha512-eiFm7PPic2gShSdrXChLKrHzziw3RjxQ+cs7C3VChzB3M8ug+f8VOLNrUpc9lb9/AMjMxi6PjDQXAxKuj6M29A==, tarball: 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} name: '@rush-temp/arm-hdinsight' version: 0.0.0 dependencies: @@ -15682,7 +15699,7 @@ packages: dev: false file:projects/arm-hdinsightcontainers.tgz: - resolution: {integrity: sha512-hm1Tc36raFlmTzX7tpUJGZdiAn+FK1f0Nr7Vzoy2D8b+3lXIZ+6zEinSI8nXRq/GWlGNqSpIAN4FAyOVbG+qQA==, tarball: file:projects/arm-hdinsightcontainers.tgz} + resolution: {integrity: sha512-bb9vJOVtfI7fzJLpOWd0mvmNqkYBZDF7S1JV5BG0BWGUOXg8KddZ/D3PMY9muhnfotX8Lwrk+LJyPiI5sjifwg==, tarball: file:projects/arm-hdinsightcontainers.tgz} name: '@rush-temp/arm-hdinsightcontainers' version: 0.0.0 dependencies: @@ -15712,7 +15729,7 @@ packages: dev: false file:projects/arm-healthbot.tgz: - resolution: {integrity: sha512-Un9Xwt4cbaqeYJ8q7I2VjYPsPPpRDA+F4xd5buuLouAZ0ClO8Gaxbl4lurygVW7NjgUICSFyE92q5SDyFZ3AkA==, tarball: file:projects/arm-healthbot.tgz} + resolution: {integrity: sha512-djZlyZzHlBCFIYcJ3NySW3fo+BlVJg4cjZoEbaw2sdiikwOeYL2t2lVgeEmpvIN8zT7PKHgt/BAvvRYsV0KCyQ==, tarball: file:projects/arm-healthbot.tgz} name: '@rush-temp/arm-healthbot' version: 0.0.0 dependencies: @@ -15741,7 +15758,7 @@ packages: dev: false file:projects/arm-healthcareapis.tgz: - resolution: {integrity: sha512-6r25yGtz+tFpT29HNr2hsonsx/pZSyrbKyLa/QOuAf1PZwidLMkiKrJP5zDsbdlluRSe2tZMxgp7ZLb/9HwsDA==, tarball: file:projects/arm-healthcareapis.tgz} + resolution: {integrity: sha512-H2TxLJcRhEfs+RFIQe+ffVdrxW6uDcjzfqz6F8avIlJlAhNTz5JuFowd7BLCnU99dJ+q+Aj8psZcINkIIPuYQA==, tarball: file:projects/arm-healthcareapis.tgz} name: '@rush-temp/arm-healthcareapis' version: 0.0.0 dependencies: @@ -15771,7 +15788,7 @@ packages: dev: false file:projects/arm-hybridcompute.tgz: - resolution: {integrity: sha512-piHmNUXYyLYB3zYcjPVPoB2JlkIrf60nv+aGdOG/Uo5lqXDa4vjd2MY2yFITHVKZGDudVNZQPEWgi+27vwKzLg==, tarball: file:projects/arm-hybridcompute.tgz} + resolution: {integrity: sha512-wVSrm4aoTJmUA1s14d3er3Gl9qTN+62er6kypTMV4tOc8+diDsA98xMlu0/GJFes8efUbc6QiJkymgo10+gDag==, tarball: file:projects/arm-hybridcompute.tgz} name: '@rush-temp/arm-hybridcompute' version: 0.0.0 dependencies: @@ -15802,7 +15819,7 @@ packages: dev: false file:projects/arm-hybridconnectivity.tgz: - resolution: {integrity: sha512-1lBPG78GcJzp2UAt2MFD2eH614bbwxd5E+Mtrskcik1ud+X2afpPYCCEh+jpfY0RCQPlelzVeajjyIHVNYWBhg==, tarball: file:projects/arm-hybridconnectivity.tgz} + resolution: {integrity: sha512-J0NmmLjlF9UyHtazlLl3+2q5ql9QKOe32CwTYW4KyPC3GcHWQV9I+A+epI80pWsP2ZRACngdcunGhXnR562pZg==, tarball: file:projects/arm-hybridconnectivity.tgz} name: '@rush-temp/arm-hybridconnectivity' version: 0.0.0 dependencies: @@ -15830,7 +15847,7 @@ packages: dev: false file:projects/arm-hybridcontainerservice.tgz: - resolution: {integrity: sha512-1W5YjPnicefzPEWvpWRyqwe+1D/ZhSH58N5GAFgvoBsjw81E04i/NJbVkLCKCOJ1w/ok6yrsj8Re53Sx/KXWHw==, tarball: file:projects/arm-hybridcontainerservice.tgz} + resolution: {integrity: sha512-ht2gOs6v/de7bvKzQqGcn7F1QAL0Dc0kRWKXL21bamQkBZP3xK8mEoBIYab/bOJY2TfYD/GvrTamTsRnvow5Kg==, tarball: file:projects/arm-hybridcontainerservice.tgz} name: '@rush-temp/arm-hybridcontainerservice' version: 0.0.0 dependencies: @@ -15860,7 +15877,7 @@ packages: dev: false file:projects/arm-hybridkubernetes.tgz: - resolution: {integrity: sha512-RvxwgLVmfXu54T/ctLrBUFnVTKi2bLIxsYyuXagrnsKwp46ftByNLhXFJ3cS5HD9Ks+wwoFhlVIxTxPFqtYQrQ==, tarball: file:projects/arm-hybridkubernetes.tgz} + resolution: {integrity: sha512-v7BI3tLh9LWioPyw1bi7cqIl6qtiFLnymo0AXZ5RP8UJoAK75tFBQv2SDUs8YMwzRnnfFMKeLrVGz9a2weQpgg==, tarball: file:projects/arm-hybridkubernetes.tgz} name: '@rush-temp/arm-hybridkubernetes' version: 0.0.0 dependencies: @@ -15889,7 +15906,7 @@ packages: dev: false file:projects/arm-hybridnetwork.tgz: - resolution: {integrity: sha512-ITLTEI5ghuWfP13b+ABHsD1F4njTNICDQArXeslsT49uH+KEN83aHn7Comw6vL8/27yS6hpUUDX2sQVfUvUktA==, tarball: file:projects/arm-hybridnetwork.tgz} + resolution: {integrity: sha512-si3XV4/fqNlcVL4/y6Vca84ATqwLbyKfyPmHTCErA9xCE/aH3bWXwFjsL8fuJgNgUQQy1QIjO8wJMgJIV+O+ZQ==, tarball: file:projects/arm-hybridnetwork.tgz} name: '@rush-temp/arm-hybridnetwork' version: 0.0.0 dependencies: @@ -15919,7 +15936,7 @@ packages: dev: false file:projects/arm-imagebuilder.tgz: - resolution: {integrity: sha512-pQoZ4wc8j0MjhyKzsQLomLQ1Opl4DtzihWSX2ZdbvXJkS7KYRE6YH1Vh/M1tfYgOeS6XLQuiB0E+0BXhspx4ww==, tarball: file:projects/arm-imagebuilder.tgz} + resolution: {integrity: sha512-islzKXCverh55F/8bwNWnF4ocA6k4XZlCbinA4+4XRneUPoac7nP5XKWj3pfRAPS1p0R9hJwTLHPsAIvwLTxbg==, tarball: file:projects/arm-imagebuilder.tgz} name: '@rush-temp/arm-imagebuilder' version: 0.0.0 dependencies: @@ -15951,7 +15968,7 @@ packages: dev: false file:projects/arm-informaticadatamanagement.tgz: - resolution: {integrity: sha512-4ZoBX8l7MMUojMK0UPDFYD+WekFgLiDDH1gXAxCxbiQK7DsI6slk4e1jA92nZVKhcOeKjQlvxUazv3npWw/7aA==, tarball: file:projects/arm-informaticadatamanagement.tgz} + resolution: {integrity: sha512-0LiOfzmcuztZNeC0aPA8aSrLQwpWuI2m9mtRslQFvuXtIio4lo8KCmWmn52V8Dm4b+6iBV92WnyDpdv6F1Vuew==, tarball: file:projects/arm-informaticadatamanagement.tgz} name: '@rush-temp/arm-informaticadatamanagement' version: 0.0.0 dependencies: @@ -15982,7 +15999,7 @@ packages: dev: false file:projects/arm-iotcentral.tgz: - resolution: {integrity: sha512-fosSiBVeZQ5JB05Itdf3WvfnHR/TefNuVz8d6g5sDnKl7E7T6T82s+k0YD5G/kRenAIBY5kmt4ZlrQxEBaAgJg==, tarball: file:projects/arm-iotcentral.tgz} + resolution: {integrity: sha512-/Qvnnq9+sxa4zdmQN5Eo/wvtOQWMQ79sMuhcLAJYDUVRPqO/EXu+0y26GmEHIKA5WVwk8X2flk994h41h1gs3w==, tarball: file:projects/arm-iotcentral.tgz} name: '@rush-temp/arm-iotcentral' version: 0.0.0 dependencies: @@ -16011,7 +16028,7 @@ packages: dev: false file:projects/arm-iotfirmwaredefense.tgz: - resolution: {integrity: sha512-TfKu8JeMfAq72ebbUwKck2nTo2SWtoOQWh7jq07Hj8y9wLPslALsgA0qcq8Glp6Sn5tHNNMylFM2hJzizsoZAA==, tarball: file:projects/arm-iotfirmwaredefense.tgz} + resolution: {integrity: sha512-doiYgE57iB0TicEeHoMrq630z4WKYXK/ukWmVEHor/WRimO35ibH9I+KyJxLTdcEifSNWnz2ZeUTnijWuZKmtA==, tarball: file:projects/arm-iotfirmwaredefense.tgz} name: '@rush-temp/arm-iotfirmwaredefense' version: 0.0.0 dependencies: @@ -16039,7 +16056,7 @@ packages: dev: false 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} + resolution: {integrity: sha512-7qxWlLzN8YRbVTvvVQZlGC/Q6FKSvg159gIppOmZCEWSGcuUyYEltBMei5YMdMcMBjVUz8cGEgboxtxQRk0UKw==, 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: @@ -16069,7 +16086,7 @@ packages: dev: false file:projects/arm-iothub.tgz: - resolution: {integrity: sha512-6crX2NptM1qipMJXg/l8rBrmuQBmqWEtAaDPpZqJEeTkrlD5pLhku4lzWWqGTXWJHF+FxKhUwTnkA+t/IchOUw==, tarball: file:projects/arm-iothub.tgz} + resolution: {integrity: sha512-O/UxFqlG4xDI6fWlDg4tPSftTzbJyEQkiwzGOBxdA8CQRkJ3lRGc+AFnaP8h4J9tQYhjTmqQLnscuf/5x3HF6w==, tarball: file:projects/arm-iothub.tgz} name: '@rush-temp/arm-iothub' version: 0.0.0 dependencies: @@ -16099,7 +16116,7 @@ packages: dev: false 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} + resolution: {integrity: sha512-bQrFhpP8CJJfhV/SLL2k9heS+qdcoJL1o8gBRCkLmsD0Gon6ydn9tlOADVmdCfjI5Yz54tZ7+6Abh2/ZedSsoA==, 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: @@ -16129,7 +16146,7 @@ packages: dev: false file:projects/arm-keyvault.tgz: - resolution: {integrity: sha512-mAsdypSGZnV860kD/SzwQDh1oRZta3XsBNoodgaaboXIsy/IWLU5eyq52IpW8TKAikgn8+zuSdw5WNtlWMjzag==, tarball: file:projects/arm-keyvault.tgz} + resolution: {integrity: sha512-d4SHaoFUpJ8ih0zU9UoXoyYctaT5i3Loy3CZbIyQzCIXGzfwLFWzL1e5H5n90oqZHTtyuYeIICJajnoY6/3MaQ==, tarball: file:projects/arm-keyvault.tgz} name: '@rush-temp/arm-keyvault' version: 0.0.0 dependencies: @@ -16159,7 +16176,7 @@ packages: dev: false file:projects/arm-kubernetesconfiguration.tgz: - resolution: {integrity: sha512-y3uDo/SkP9RO1w5oC8d4fTIK6sYoN2R8bDfoP+8iYO/UtZMWWYFqTP4uey7TrzvN24Q4zTtj0K7yGnlm4tzQ8w==, tarball: file:projects/arm-kubernetesconfiguration.tgz} + resolution: {integrity: sha512-PeJIHi0FLgfPhWTxibDl9ERZsC2ab3ODUpudD+QNJrrfdRNWdV/hI1tFOTbmkkeszC1KOZnTL/Lnf1XP1heUGg==, tarball: file:projects/arm-kubernetesconfiguration.tgz} name: '@rush-temp/arm-kubernetesconfiguration' version: 0.0.0 dependencies: @@ -16189,7 +16206,7 @@ packages: dev: false file:projects/arm-kusto.tgz: - resolution: {integrity: sha512-1iLqzDmxcFYUWXhy+/4h2fBFd2zcflAIWO+l0oyAOFAdQ483TZhYnj9lZ6Rd3Bju+VJoqnRPFEaY3nsDARfUFQ==, tarball: file:projects/arm-kusto.tgz} + resolution: {integrity: sha512-gqmPjiPvhj7qkkKamq+Oc+rKuEgiEX0WOJU1EV7v8McQ29mN4+9ijv0Zg27ny6Ak5PRs1OJkuajlrOE/a+FQcA==, tarball: file:projects/arm-kusto.tgz} name: '@rush-temp/arm-kusto' version: 0.0.0 dependencies: @@ -16219,7 +16236,7 @@ packages: dev: false file:projects/arm-labservices.tgz: - resolution: {integrity: sha512-XftGsqcYoMhDToF9DoN5u2nRV3n4po2YuQnK6Clmh9GhogTMjlZVgSDpo9m5BJXwNEuQ5aKCZ4lyJ/CpC/P+wg==, tarball: file:projects/arm-labservices.tgz} + resolution: {integrity: sha512-s06WQJqFbyrJo5/Yx/tCqeTwOf7TSkXmR4yiVDLK+JMNo+jkJ0HIeZGsbs0HNUAHvc7bS46QB0YXqjk/DzeLpg==, tarball: file:projects/arm-labservices.tgz} name: '@rush-temp/arm-labservices' version: 0.0.0 dependencies: @@ -16249,7 +16266,7 @@ packages: dev: false file:projects/arm-largeinstance.tgz: - resolution: {integrity: sha512-CeP557neBJiOaz9VTIRAxvkAJZ3JSqzn/V7CbBbSfTzIRuE/7XtalUUC+Y8WMJ1ezCaCAxpbcdpFqxCBl7iQPA==, tarball: file:projects/arm-largeinstance.tgz} + resolution: {integrity: sha512-nxw49eTw7jgUG3juKHFKgTdCOdu3gclWovPnKmR8FVOQVV2e1cbG0kiqayVRbaky5LGJQufkqDG9Fjy/uUaE1Q==, tarball: file:projects/arm-largeinstance.tgz} name: '@rush-temp/arm-largeinstance' version: 0.0.0 dependencies: @@ -16279,7 +16296,7 @@ packages: dev: false file:projects/arm-links.tgz: - resolution: {integrity: sha512-Y+DsaW/LpnG+5Qmc8a0VBSAdq+1su29A6BMyBHj+wMXpeZJ7HImBNBygbhIEcK1bmLkurFNofPkQHsCtNbPUPA==, tarball: file:projects/arm-links.tgz} + resolution: {integrity: sha512-77W4N/QEPk1aUeJ0c7ZuvuEZoa8I2z35s1nsr/AE+vIYShd5nvvzkKpLZu8D9/jMueOUqcfIRMmkw6h5rjWLbA==, tarball: file:projects/arm-links.tgz} name: '@rush-temp/arm-links' version: 0.0.0 dependencies: @@ -16306,7 +16323,7 @@ packages: dev: false file:projects/arm-loadtesting.tgz: - resolution: {integrity: sha512-bZ3xgB1ce48ivsojJyX2Z/bDBrbE3MBrL3b25iT2rL99ch8KfMq+TEag9qmK9PI00d2Vt2OyuHUYF2Xgd+1AoQ==, tarball: file:projects/arm-loadtesting.tgz} + resolution: {integrity: sha512-Uys9CZWTv4+u4g3aPfxf1aeMp82W/tb7U9GKNWY1rMN7gBU/X1Yt3ypbjidVdBg6x6htCpeXMyIRM495PY4o4A==, tarball: file:projects/arm-loadtesting.tgz} name: '@rush-temp/arm-loadtesting' version: 0.0.0 dependencies: @@ -16335,7 +16352,7 @@ packages: dev: false 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} + resolution: {integrity: sha512-397ngzkRIA8R4IHxVGDc64H7JorWl0dxb3LmppqSzzZZnu1dHONNdMOQ1qZ+V0LTQ/JHc+ktEAWQw4ri+YsHOA==, 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: @@ -16363,7 +16380,7 @@ packages: dev: false file:projects/arm-locks.tgz: - resolution: {integrity: sha512-fjx7WwF1FZXvueJlmzW3YvUDLst/opNODcZ5Ynxg0yb6NdT5drCw/UqHI95meMkw3QSHSK9maPVpBNXlTJQ9LQ==, tarball: file:projects/arm-locks.tgz} + resolution: {integrity: sha512-kCLLnPHTxyoHMXmAf3crhdzZU8fknOW6KzzhmY3pneYJeaYAaqEGe1G4O8fm0m3vvovZr0P0BRnnHXDkcKz90g==, tarball: file:projects/arm-locks.tgz} name: '@rush-temp/arm-locks' version: 0.0.0 dependencies: @@ -16390,7 +16407,7 @@ packages: dev: false file:projects/arm-logic.tgz: - resolution: {integrity: sha512-LIvScE9B4gqqPZNMMN3U31LaM0tx1pe5uNJQvMluH4GHsHwDcDas+Z9raikvHFwJN7KAyatyOSk3yaGSqeW40Q==, tarball: file:projects/arm-logic.tgz} + resolution: {integrity: sha512-ZtKW6fgn/4Pdgx8/Ja80iNjOAAw7KjsBSntt+z0AsPh48ZeKaYpsVUShezXGrtVKu+2ys0xWwtzfxvj8+yI6yQ==, tarball: file:projects/arm-logic.tgz} name: '@rush-temp/arm-logic' version: 0.0.0 dependencies: @@ -16420,7 +16437,7 @@ packages: dev: false file:projects/arm-machinelearning.tgz: - resolution: {integrity: sha512-M5XIsO3iqa2ZE6Oz6L77iser+TQJsVUda306A42AVPTONARb8kZryDEuw1wIRW/UJ3O9nxEErWaZlj4KoT6EMA==, tarball: file:projects/arm-machinelearning.tgz} + resolution: {integrity: sha512-ivBIVTHfvuUmyylYEA5RXHcHqvRckkFNe9SE3elSZ4DT6E2r8k2tjjMTQgviOH/CCbgqKirUnXEJzsOmnHhLuA==, tarball: file:projects/arm-machinelearning.tgz} name: '@rush-temp/arm-machinelearning' version: 0.0.0 dependencies: @@ -16451,7 +16468,7 @@ packages: dev: false file:projects/arm-machinelearningcompute.tgz: - resolution: {integrity: sha512-BYuhNPStN7SUpITR06rb8+1r1DaTJzxNDhrK/r+KM3RaIg7AUl0j80dgpFGS3cIXcLI05h+NSoK4cp/ap9vtqA==, tarball: file:projects/arm-machinelearningcompute.tgz} + resolution: {integrity: sha512-Pzj6H7bmxBh5MVaE6b/ZC/8i6EfJm1ORXahqbbDa/McjzbfbktzRNRa9n5+TzomSou8EdoQRmjekG3+OPQbE9w==, tarball: file:projects/arm-machinelearningcompute.tgz} name: '@rush-temp/arm-machinelearningcompute' version: 0.0.0 dependencies: @@ -16480,7 +16497,7 @@ packages: dev: false file:projects/arm-machinelearningexperimentation.tgz: - resolution: {integrity: sha512-SeKlFZD0c/o7e2wddKf9hrorOq6N6BnYj5AuDYUbJU1dXCKxm58yFK7GsSzaD6jgKiXHYJDs4YPSBErX6hGIfw==, tarball: file:projects/arm-machinelearningexperimentation.tgz} + resolution: {integrity: sha512-kAt9wUtbr/YDNSvhJXeFeMlRP/TQF6Rw3yXI+wIlQ9gbZMKUp4v9omKBK5wxjsMvM7HP5080HdKGjIst+OFNdA==, tarball: file:projects/arm-machinelearningexperimentation.tgz} name: '@rush-temp/arm-machinelearningexperimentation' version: 0.0.0 dependencies: @@ -16508,7 +16525,7 @@ packages: dev: false file:projects/arm-maintenance.tgz: - resolution: {integrity: sha512-P1/U3MpI2dKKpUJtvmJw6ooV3RbZO5E8HbaLBTWuX4dtfJn0SmXeQCUkNsjLh3F9bk/OzBzW4380xswaeexeHw==, tarball: file:projects/arm-maintenance.tgz} + resolution: {integrity: sha512-ORZ91RzlksgOwd86ITBlZPukgCaoHDS3mCy3GrhMlQBQedaM6gWxeb4jXKhuaBwB7FwZ37fXs0geZ0IfZdTiSA==, tarball: file:projects/arm-maintenance.tgz} name: '@rush-temp/arm-maintenance' version: 0.0.0 dependencies: @@ -16537,7 +16554,7 @@ packages: dev: false file:projects/arm-managedapplications.tgz: - resolution: {integrity: sha512-CPa8cqojz6HZnY6P/sSYVlHzP91NNQe5BdDJ/CEqshUifWnZRdf/jEu4eZstZG+96v/2iTud0Ks0pibP1tC6lQ==, tarball: file:projects/arm-managedapplications.tgz} + resolution: {integrity: sha512-Tgx2JI0Um66nz+Qvvf5IcIrFqK7m1UP2NrILFqiBnx2YzFdVlYqhkjnnpheYHSfWeFdwNEmmZkpgX9EiS62f1g==, tarball: file:projects/arm-managedapplications.tgz} name: '@rush-temp/arm-managedapplications' version: 0.0.0 dependencies: @@ -16567,7 +16584,7 @@ packages: dev: false file:projects/arm-managednetworkfabric.tgz: - resolution: {integrity: sha512-HYuSPX8VhZnIx7CSh3UZrFjcf5gZ+BM/HSH3qyFXf1hltwAjsL9ybmVbVOQwkESVQNUiYQozkla9c1qUZYzcew==, tarball: file:projects/arm-managednetworkfabric.tgz} + resolution: {integrity: sha512-Oa4tib1P3/Vl/5Zxcehhw/gZ8R9qHX5bqIX6AVlnMPBIE7dh4s1V3nARVhdvOoIW2T71qKkpS3sbrJprbeSIyw==, tarball: file:projects/arm-managednetworkfabric.tgz} name: '@rush-temp/arm-managednetworkfabric' version: 0.0.0 dependencies: @@ -16597,7 +16614,7 @@ packages: dev: false file:projects/arm-managementgroups.tgz: - resolution: {integrity: sha512-9ZS5tvMtUp97EmDzp7I1P9HTS+UcRTomcebl8U1CZ9hsZFMmBs1K7x+CVStcqiDqBQPjUJlEbgXxxnR7UwdIqQ==, tarball: file:projects/arm-managementgroups.tgz} + resolution: {integrity: sha512-KSBCI9eHOxUjjQmeQe1fPMySAX2Q3c1lzZQyOUGEYIMBOmG863BmvLzYjspeNU9wAH4Thg+067BmCrJlNVeELw==, tarball: file:projects/arm-managementgroups.tgz} name: '@rush-temp/arm-managementgroups' version: 0.0.0 dependencies: @@ -16626,7 +16643,7 @@ packages: dev: false file:projects/arm-managementpartner.tgz: - resolution: {integrity: sha512-ekusxRpU6OgcziAqKtSlPiwAsUg6zvFBnT9e1LMPvhMffKamJVCPrRxL20cJsVBEjltmEJ4Hb63mVOYL38QImA==, tarball: file:projects/arm-managementpartner.tgz} + resolution: {integrity: sha512-SYCt5jbdsnqn0cA06a3veCjG3KYMddxT8fxDxcNDXiul1FFW17hz3eowj9XU4nUgw6vaZsQLqKe2lr0C+1U0yw==, tarball: file:projects/arm-managementpartner.tgz} name: '@rush-temp/arm-managementpartner' version: 0.0.0 dependencies: @@ -16654,7 +16671,7 @@ packages: dev: false file:projects/arm-maps.tgz: - resolution: {integrity: sha512-xOZK6H1/fQ4HTN1iBaKgnybbyMYAw1leEjvXZTlELyh7LGzI0aDLR2MUy5c9p+nFRRJ6JrHtF1H2VEaTYPbHYA==, tarball: file:projects/arm-maps.tgz} + resolution: {integrity: sha512-E8odHyxulJUFIBcJrZtdg0n31xTKBxIRMUb8NSWY1ltWfs7xK4Pe9jBLxjO3rcKNd/9ba6yg2ySlw/IPnaOxpQ==, tarball: file:projects/arm-maps.tgz} name: '@rush-temp/arm-maps' version: 0.0.0 dependencies: @@ -16682,7 +16699,7 @@ packages: dev: false file:projects/arm-mariadb.tgz: - resolution: {integrity: sha512-lM0jUZoGL6lmrXuBaBqC32xrLXNNVhQK4rDSDrr5zCRiLcTOhx/Izq1UeH3MeZ6GktHpb44YxWsJ5Mwwy86yxw==, tarball: file:projects/arm-mariadb.tgz} + resolution: {integrity: sha512-Ayr9QSTKJcl22+VC4z5L8sF3IZ3KWqdg4QfzTj9Jcw+9rkmeAljuhffChhFO0fHWZVCSKTc+vg0ukszMsM4LAA==, tarball: file:projects/arm-mariadb.tgz} name: '@rush-temp/arm-mariadb' version: 0.0.0 dependencies: @@ -16711,7 +16728,7 @@ packages: dev: false file:projects/arm-marketplaceordering.tgz: - resolution: {integrity: sha512-llY6+RlVFzuBcEDYRJcepuvqt5pGbwgRO3miV++wjrOy7STHBqbNkpzpKt6YzmkD9OYQ6lOZSLGbuc5kpp/HSw==, tarball: file:projects/arm-marketplaceordering.tgz} + resolution: {integrity: sha512-RCdmOBGZd+KCgKSzERWTS+o6ejsXkFrWgEDSn2+gLMKnhQAkEju8NW3HhJK3mRcL4+Fk71hBvARJZ3tERX9YKw==, tarball: file:projects/arm-marketplaceordering.tgz} name: '@rush-temp/arm-marketplaceordering' version: 0.0.0 dependencies: @@ -16739,7 +16756,7 @@ packages: dev: false file:projects/arm-mediaservices.tgz: - resolution: {integrity: sha512-sbg58adT6WrntwJOrnTm/YB6Hw7uP7qFxoOYpRqTMNTj5Eju72OxjI8xTyLFXGGwmEbePB3Xfcx33nWfLo0wmw==, tarball: file:projects/arm-mediaservices.tgz} + resolution: {integrity: sha512-JXngI++KGqABQ9KdSUTHDUofYRqFis84zld3zXaM0NhYOGzD/VQlt/nna37GeUxPCSzSwGu4wEQCZJmxSOFPcQ==, tarball: file:projects/arm-mediaservices.tgz} name: '@rush-temp/arm-mediaservices' version: 0.0.0 dependencies: @@ -16769,7 +16786,7 @@ packages: dev: false file:projects/arm-migrate.tgz: - resolution: {integrity: sha512-kQsavrqMgvUmMmLVn1hB0k+Tv4JYGbtdu0StZP1G41cAavGEIPoN8gjo80Z+qlA5EoKZMTtsLa9pbYuSX5nG2w==, tarball: file:projects/arm-migrate.tgz} + resolution: {integrity: sha512-D2ziVjUauGJhs0mOugbCt0RaKbARoa/MzwaS3JMyUipuBjW8aP7NYTT5Xxv22L90cp8CS0/7lXeRTC+l0SHOtw==, tarball: file:projects/arm-migrate.tgz} name: '@rush-temp/arm-migrate' version: 0.0.0 dependencies: @@ -16797,7 +16814,7 @@ packages: dev: false file:projects/arm-migrationdiscoverysap.tgz: - resolution: {integrity: sha512-MFas9Xa5dhHjq09P9iuwEQJYJb1Fhad2QPY+C+o9ZmzrEeC0Npn//8gMvGWBFRS/3bKIM4IzDL8mqgQh9TieJA==, tarball: file:projects/arm-migrationdiscoverysap.tgz} + resolution: {integrity: sha512-/P6SYy2B34+g5i6qwjfh93l82yec2/Lggksin90VUk2Fk+XjOTI0bin66U5lGTK5NtKCFgMiK7qqfVwViXaDgQ==, tarball: file:projects/arm-migrationdiscoverysap.tgz} name: '@rush-temp/arm-migrationdiscoverysap' version: 0.0.0 dependencies: @@ -16827,7 +16844,7 @@ packages: dev: false file:projects/arm-mixedreality.tgz: - resolution: {integrity: sha512-zJLTxA4/fqv6xj/LRPpeFgKxVT2qXYd3sKaDjziIxXaKZZFhxHfkVnda42B4Gs1NciT/vhfCMOW8m1+SCjqvdQ==, tarball: file:projects/arm-mixedreality.tgz} + resolution: {integrity: sha512-KIrpFbQr38stzzEaqXBeN2Oc/bn18FJ3FN/+dfyNTvA7uYfMbdjOBkEyNK3TuRV1N8HnECGkKtFEuXKMKAKJLw==, tarball: file:projects/arm-mixedreality.tgz} name: '@rush-temp/arm-mixedreality' version: 0.0.0 dependencies: @@ -16854,7 +16871,7 @@ packages: dev: false file:projects/arm-mobilenetwork.tgz: - resolution: {integrity: sha512-N41+/v5rZblZCQA7UILLXSZKe8Mf2H9zoCe8Lr+CoisBaD7CMqv+LXnt3HKAa4Gs//sLUD5jAl3D/7abg0TImw==, tarball: file:projects/arm-mobilenetwork.tgz} + resolution: {integrity: sha512-r5bB6QxOf0c+TNAEUyfVuu+lFYCsHmAIa4Jx9KyoUcJOFj07VzYzl3hn0WAA35iQznHwfvuEzQGCEXwlLiBxgg==, tarball: file:projects/arm-mobilenetwork.tgz} name: '@rush-temp/arm-mobilenetwork' version: 0.0.0 dependencies: @@ -16885,7 +16902,7 @@ packages: dev: false file:projects/arm-mongocluster.tgz: - resolution: {integrity: sha512-aD1vsMcRmGI/i/Kia6sweBsLmSYbqTyqCVci909kIbpIFpAPPQRCqB44cjGYC8oiuHiKA1HJbzkio0LCCDw+Lg==, tarball: file:projects/arm-mongocluster.tgz} + resolution: {integrity: sha512-yLfc/d1JCf7OviPc/PBlQjg3LMBBL9/RBrwF9zQrImm4bO6sunLSMjtfLYr8votWjYtcSWToLZVTwoywB0Sk3A==, tarball: file:projects/arm-mongocluster.tgz} name: '@rush-temp/arm-mongocluster' version: 0.0.0 dependencies: @@ -16921,7 +16938,7 @@ packages: dev: false 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} + resolution: {integrity: sha512-vqVU8FcJYyIkgypFpf97wUK6SVVl0LMYkmREj0Q7RuwXTSWxtowVzE2uT8Rd3IP0lxnlOcMsLDuVDFpOOYeo4g==, 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: @@ -16949,7 +16966,7 @@ packages: dev: false file:projects/arm-monitor.tgz: - resolution: {integrity: sha512-K+9G34mEgOxgIoTZLVRz12Rde0+aAM0bJXmZV+Mz1rruwrsNjwMk6oh3vwtguLLhts+BN91pJ9YxkEk6GtcYyA==, tarball: file:projects/arm-monitor.tgz} + resolution: {integrity: sha512-iupFHZAXQ0A7LWOq0XZnS9HZiUXCm+vlkkmkv2q45NG9p0mC0VZKRjy/WUHw8b/M5S737+v43wNfFmCuSDb3pA==, tarball: file:projects/arm-monitor.tgz} name: '@rush-temp/arm-monitor' version: 0.0.0 dependencies: @@ -16979,7 +16996,7 @@ packages: dev: false file:projects/arm-msi.tgz: - resolution: {integrity: sha512-Qvub62fkM9C9OM/EystDdNE7G7kcdCdW0omlH6KHr1ioCxeoHe7lQQT4ff2cqLFrOtQ6NYGRvZu6FkFWqolvDw==, tarball: file:projects/arm-msi.tgz} + resolution: {integrity: sha512-JEiQZ7JNjUaLblDWQ06Zj6R0sp1rzBJRL5nJLJzFi3TSeogLkGPWGKPH/kTQX1td8KR1xwTDlklW2VU0OjO0gw==, tarball: file:projects/arm-msi.tgz} name: '@rush-temp/arm-msi' version: 0.0.0 dependencies: @@ -17007,7 +17024,7 @@ packages: dev: false file:projects/arm-mysql-flexible.tgz: - resolution: {integrity: sha512-i2areQQUXO67Rc3EQUFcT7YS5oY8QqV1nh6mgUDbB4ELUwuacl3n419A2uW3gShCuEX6ZZoAzlC3CpGBicbvWw==, tarball: file:projects/arm-mysql-flexible.tgz} + resolution: {integrity: sha512-gqfDjeftl6w5p10xBkccxb5JN3Z/GQKuwkMvK5lxSPLe7ItvCwV5lStvEN/k5SN0fF4qAxLZAdVgQy7l2MYHLg==, tarball: file:projects/arm-mysql-flexible.tgz} name: '@rush-temp/arm-mysql-flexible' version: 0.0.0 dependencies: @@ -17038,7 +17055,7 @@ packages: dev: false file:projects/arm-mysql.tgz: - resolution: {integrity: sha512-BemZE1rhwi7g4Q7R+MV8HJdlq6uvPYmnFNGQiIZyOvMrlw+TB8sAcXWHzMDbTLU+hQ1doDG8XDjG9STHPr+yZg==, tarball: file:projects/arm-mysql.tgz} + resolution: {integrity: sha512-eWALfUMvA2FVHte+eYMBIa6JCB7Z7U97VO8/zz9Y8sP7okTCOloFsvMa4tTZTnHG/KuEFHq3zQpJ5jnSVmrE/Q==, tarball: file:projects/arm-mysql.tgz} name: '@rush-temp/arm-mysql' version: 0.0.0 dependencies: @@ -17067,7 +17084,7 @@ packages: dev: false file:projects/arm-netapp.tgz: - resolution: {integrity: sha512-JlcDJRWLklWlsRA6UjMRKuRVqhe/fZRGYsq0pZGbg/N8zMWI3BQH5q+2RmRKLbfuVXFlkbjsgIvKaY9fp05Kkg==, tarball: file:projects/arm-netapp.tgz} + resolution: {integrity: sha512-IEGA8a8gWKVvL693jv3yzXGR2X7G0nl+y1PfJ4jBEPtc9zdIiH1Pj0b7Bq19Z6xCOW/lJPPJ6G8fI9XKIneZJg==, tarball: file:projects/arm-netapp.tgz} name: '@rush-temp/arm-netapp' version: 0.0.0 dependencies: @@ -17098,7 +17115,7 @@ packages: dev: false file:projects/arm-network-1.tgz: - resolution: {integrity: sha512-jzVX655DGAScA32dW/iYkMYwrm1AYinRpn1bkwNuX6gBHyPTH8Vp6GIu+68bsZeJDDgq2yySBfqUMmtWgYFl3Q==, tarball: file:projects/arm-network-1.tgz} + resolution: {integrity: sha512-nGb7tSO54MnnBUXPNxfBIfWZUT/+wweKaCJaGDc9LocSoDT9hnmrAgFDQqcmOkzjwxWyvM8BsjB7zedacueRcg==, tarball: file:projects/arm-network-1.tgz} name: '@rush-temp/arm-network-1' version: 0.0.0 dependencies: @@ -17129,7 +17146,7 @@ packages: dev: false 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} + resolution: {integrity: sha512-bXcMkaPXXD1meUSCXIzVfGgmcsnMPTIdkPqmIRZ864UcMrF5lR2qk4xboSguyIIPeXTI6FjJlgcodFWfd1J/mA==, 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: @@ -17159,7 +17176,7 @@ packages: dev: false file:projects/arm-network.tgz: - resolution: {integrity: sha512-BwWptmMb8fZVh/LtwjHxY6bdyrwEH3fAO1GXX1m2FLA+zgwtvV7Ubqcv4OYHnuDyNo+SmShXS7KUUPOTPeBgqQ==, tarball: file:projects/arm-network.tgz} + resolution: {integrity: sha512-d7/m+q1Ww3mt/hvDZ5Pzgvp0kP3XhQAd2mQQOYH0BZTJHHkwWbTqUUiOJ493rg3xKRzRWpPPPgoZVLWl00s9gw==, tarball: file:projects/arm-network.tgz} name: '@rush-temp/arm-network' version: 0.0.0 dependencies: @@ -17205,7 +17222,7 @@ packages: dev: false file:projects/arm-networkanalytics.tgz: - resolution: {integrity: sha512-P7nNtXsPtppz3cJnxym2/tzb37SIY9bIym1dwyvK70GwcouC9i1hxzyWDo9nAp1GfZRj7A8iclRmaFCBrYblSw==, tarball: file:projects/arm-networkanalytics.tgz} + resolution: {integrity: sha512-UPRUpiaEKXGW7S8eAmOKTKtPfYweSbDteJndujiMXe7Ykd9Q65OsbG5kRL5xVPLFW92nrdxCf98wskCfF7Ed0Q==, tarball: file:projects/arm-networkanalytics.tgz} name: '@rush-temp/arm-networkanalytics' version: 0.0.0 dependencies: @@ -17235,7 +17252,7 @@ packages: dev: false file:projects/arm-networkcloud.tgz: - resolution: {integrity: sha512-rpw1rhaHH5DbjV9CZzVcdESwR4wOsFa1BTffRibsKh6z+hi6nlqeje+U/GjIXquycvdATjTc2koXh/31aZNl5A==, tarball: file:projects/arm-networkcloud.tgz} + resolution: {integrity: sha512-clwwgWtcUWUoBVVD5fscpZaukSlOx77XujZBubCXSz94dzYMuwQ6uzbqaH714dmLGFtGX0fEh84xJPZSYILsuA==, tarball: file:projects/arm-networkcloud.tgz} name: '@rush-temp/arm-networkcloud' version: 0.0.0 dependencies: @@ -17265,7 +17282,7 @@ packages: dev: false file:projects/arm-networkfunction.tgz: - resolution: {integrity: sha512-tMd2qODOuhXdsgNrYx35EaYybcVP5D/Du4pAhToqTuxDfeftUA8Ry3FhrLZKUxkZCuAl1qhATsS5Jw76HfU+pA==, tarball: file:projects/arm-networkfunction.tgz} + resolution: {integrity: sha512-Xoyz+XtG3PJ/U0Csqxi2kzLdtsmTcCd3Ly3lvusCsH5Fh2phh4QV2CNAoR0haLNcquKoFA566HOihDqQJDwErA==, tarball: file:projects/arm-networkfunction.tgz} name: '@rush-temp/arm-networkfunction' version: 0.0.0 dependencies: @@ -17294,7 +17311,7 @@ packages: dev: false file:projects/arm-newrelicobservability.tgz: - resolution: {integrity: sha512-O4w3wJjlBG8lJxb00WGPRmvBl8pUVFvsUn7KMszAyY5q1LoqRD/P/adX7omQvj+RBYzzLPkG9t9Rd+7sIwnZyA==, tarball: file:projects/arm-newrelicobservability.tgz} + resolution: {integrity: sha512-W4f1IqaxlRivbzfb4TF6tijNCgj+KEBD379z0t0lku5K6Om52AiqTS+CcgwQmpg6pREOPokp4j5RUfaM51HApQ==, tarball: file:projects/arm-newrelicobservability.tgz} name: '@rush-temp/arm-newrelicobservability' version: 0.0.0 dependencies: @@ -17324,7 +17341,7 @@ packages: dev: false file:projects/arm-nginx.tgz: - resolution: {integrity: sha512-pLOdDp54GOwZc31b8TW/PSTjfpxMHN7CSfB3xCblsTskC611sVWqFNIV/vRxK1mDsbyY2NNFMq5ZKyTvoF0fXA==, tarball: file:projects/arm-nginx.tgz} + resolution: {integrity: sha512-qVAjIstMnCDeC16WVu+q386pI/S3bFtobFjuP6YxWFRWUiczGYGRZQiEXIPRctVEptDwLMJs7hRGznIevzwpVA==, tarball: file:projects/arm-nginx.tgz} name: '@rush-temp/arm-nginx' version: 0.0.0 dependencies: @@ -17354,7 +17371,7 @@ packages: dev: false file:projects/arm-notificationhubs.tgz: - resolution: {integrity: sha512-qASxCpPXOL33i5ZL4+D6RNXo7ml424XNUE0Enx1iQ5+txftWvYwtOpmM4huS9oXRUFCkgmkIZ/LVVCL+MQ77Tg==, tarball: file:projects/arm-notificationhubs.tgz} + resolution: {integrity: sha512-C4j8aKYOdwinRyuGeIgttHBVS1A0FtKk+f1aAyUoPKU/lsHlwgES/0Qhkd98qYQCL61VWf24yGLNcfx89n/Cug==, tarball: file:projects/arm-notificationhubs.tgz} name: '@rush-temp/arm-notificationhubs' version: 0.0.0 dependencies: @@ -17384,7 +17401,7 @@ packages: dev: false file:projects/arm-oep.tgz: - resolution: {integrity: sha512-UpRIO2UTpVF3sohVgYkOsdT98JCVzyueEl8qFk6fmzYlet5bdxODjFFnnl5RCbLfT1PQ/bxvpyv6Gn5TBTyJXQ==, tarball: file:projects/arm-oep.tgz} + resolution: {integrity: sha512-yN7in7bSWktptr21JAHRiSY7SCAP6PFn/wZJXguNbMJ1coYdan8qGxDZ+Y98BrWZn/VsvmGIhVPU8Ioi8j70tA==, tarball: file:projects/arm-oep.tgz} name: '@rush-temp/arm-oep' version: 0.0.0 dependencies: @@ -17413,7 +17430,7 @@ packages: dev: false file:projects/arm-operationalinsights.tgz: - resolution: {integrity: sha512-h1KiF0snFuqby40JLK4/G5OS0gczssxCRgexGAx24xoFdoGQ6RO8mAORBmP5AeZSHNirifK8uXczb9OT/+EbIQ==, tarball: file:projects/arm-operationalinsights.tgz} + resolution: {integrity: sha512-os3cEC+iqOVSKMxv1TUP9ftjvGSPXb9eXqk3zKwFk4/+aRGKHVgtl429gM0WIh90QDLNOANuRqQ8mAD89BuQZQ==, tarball: file:projects/arm-operationalinsights.tgz} name: '@rush-temp/arm-operationalinsights' version: 0.0.0 dependencies: @@ -17443,7 +17460,7 @@ packages: dev: false file:projects/arm-operations.tgz: - resolution: {integrity: sha512-imqDBA7XLP7ZTWoH+vP1TuFO4tpWzSjK0KDnokN7Qcd9yjI6ck3T61pb+kV8TEOoBnh0ph8FlIGrat7kE6yncA==, tarball: file:projects/arm-operations.tgz} + resolution: {integrity: sha512-vT+bM8W2s938i0AV7k+gk1JmKbl3dPKm/yF721Ub4iXplRGNeo3zNEzzFkyat3KTvFmtXlp6SQUen32/FL+H8A==, tarball: file:projects/arm-operations.tgz} name: '@rush-temp/arm-operations' version: 0.0.0 dependencies: @@ -17472,7 +17489,7 @@ packages: dev: false file:projects/arm-oracledatabase.tgz: - resolution: {integrity: sha512-MJ2Ba/mM+PlAwFlbctLzh4rw5YD54fY1n0w1Bl5jyicpRfnstlsc/kU7Nj7ACxC5yek3jcU7/ZX/eu8+pbmCTA==, tarball: file:projects/arm-oracledatabase.tgz} + resolution: {integrity: sha512-W/eeXVqPXArSHG38qrmkZ7m8nwFE9ZnjQGoSYvAQSlao0N1Qa1ngVvTh+lDmMxwB0I+uljPIXJxWlN8uQuMPTw==, tarball: file:projects/arm-oracledatabase.tgz} name: '@rush-temp/arm-oracledatabase' version: 0.0.0 dependencies: @@ -17503,7 +17520,7 @@ packages: dev: false file:projects/arm-orbital.tgz: - resolution: {integrity: sha512-b4WJVmbSpiZ6SsWKh5Z4aechH0sM6IKmzz/ilzZFpNLIdsYUNjroAC3MNHPphVf0ZTIMYIXP/4dqtiB6LL4aKA==, tarball: file:projects/arm-orbital.tgz} + resolution: {integrity: sha512-Lz0US9aVz2x4qZHFD2BCG6KIrXbqOszYJYc2FS49wXFRgY4MU2HRiR8YPP1sWc+4QDYd+QKaFS91FN5cEZubrA==, tarball: file:projects/arm-orbital.tgz} name: '@rush-temp/arm-orbital' version: 0.0.0 dependencies: @@ -17533,7 +17550,7 @@ packages: dev: false file:projects/arm-paloaltonetworksngfw.tgz: - resolution: {integrity: sha512-QC9PfRqSzyps9/+U0e9EV0dU+FZI9MTAILjqO5jnIvr65ityj0/USm4Zz7MHxiaZNegpW/+9Yz8w7xQy3ZkMuQ==, tarball: file:projects/arm-paloaltonetworksngfw.tgz} + resolution: {integrity: sha512-JqJkEWDufbXCx9Uo9qxQAqKCZ6sca6DIa0rM8PiFr9CQNBOWHxHP/uZk2sABKoMvH6IKrXL7KRfJ5J4Dalut9g==, tarball: file:projects/arm-paloaltonetworksngfw.tgz} name: '@rush-temp/arm-paloaltonetworksngfw' version: 0.0.0 dependencies: @@ -17563,7 +17580,7 @@ packages: dev: false file:projects/arm-peering.tgz: - resolution: {integrity: sha512-ozcef6TToSOq7CqUvKiRsZBdcUp3pU6MSfx8w2MZXOo3MGzQ3AMnWukrPYoU9nBi35YySyXvF6rYb68WHzj+1w==, tarball: file:projects/arm-peering.tgz} + resolution: {integrity: sha512-Mj/ZXu/A89dBVOGx3nrbeNY8x5ylytw3iCFOypfVe7ADf0G5DGgCRc85+tXwLadYC9+A3Ff7JdRYoopSkamINA==, tarball: file:projects/arm-peering.tgz} name: '@rush-temp/arm-peering' version: 0.0.0 dependencies: @@ -17590,7 +17607,7 @@ packages: dev: false file:projects/arm-playwrighttesting.tgz: - resolution: {integrity: sha512-SfLw2iA6ejViaiilnys6IsWVuaPcxRdPu+pIscYCeijd0HwMZJorXtc1eTFZ7SIn8PuDmGXXzHliIqsJxl4UsQ==, tarball: file:projects/arm-playwrighttesting.tgz} + resolution: {integrity: sha512-1Cu2srWIlqMw2Qphnt8E3hstcdasUVvDtbaXH1PPN54jhQUViw1AiUM10W0gxeMzLnvKdUVnxUsCIn/NUynQVw==, tarball: file:projects/arm-playwrighttesting.tgz} name: '@rush-temp/arm-playwrighttesting' version: 0.0.0 dependencies: @@ -17620,7 +17637,7 @@ packages: dev: false 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} + resolution: {integrity: sha512-UnTNCfdqB3lXg9eXx7PnVR3/IGm6n/wnbbtuclbJx6awi/S07a7jlRbSeZ+jba4s01fN+Si78BJibDNT1fi0EQ==, 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: @@ -17648,7 +17665,7 @@ packages: dev: false file:projects/arm-policy.tgz: - resolution: {integrity: sha512-Z4HMl3VFgkEHROvE0FExAFkrcM3thPAtxzUFnr6zKCrjLviNH0tjFA715mJyqZKqn/xU0aRlANOogB09X8vZmA==, tarball: file:projects/arm-policy.tgz} + resolution: {integrity: sha512-/H2bvmE3EopNXHRnt3BLwbRHR5Y3CD+vQhEIMjaNUHE3QB56VhwFvXZIL2o7Q7oJLeK/PlF+e7u2JZHZtwA+7A==, tarball: file:projects/arm-policy.tgz} name: '@rush-temp/arm-policy' version: 0.0.0 dependencies: @@ -17676,7 +17693,7 @@ packages: dev: false file:projects/arm-policyinsights.tgz: - resolution: {integrity: sha512-ExzAWoOvwWXObqNvQ6bLQ0Fs67HjZJn2femsEfZfxmGPTxfJVfsek98cuXklQEgLe96mllG5uM3QHUyjF1HKKg==, tarball: file:projects/arm-policyinsights.tgz} + resolution: {integrity: sha512-ggElmrDpSqiPAHhUemUGOrdTp0hFFP1ADpRpb8QC+8nsGb8EeT3iCZaBcVSRR2Dv87RILhVzOzjXRXmOg3ZeNg==, tarball: file:projects/arm-policyinsights.tgz} name: '@rush-temp/arm-policyinsights' version: 0.0.0 dependencies: @@ -17706,7 +17723,7 @@ packages: dev: false file:projects/arm-portal.tgz: - resolution: {integrity: sha512-GJeR2EzzpTTKwedoXFiraBc/L6cdEMt3+BRAWSGWooPkis/csp7rvwKgrwUZ3yZ3ktB2pS/N03gQUinN1S+/3Q==, tarball: file:projects/arm-portal.tgz} + resolution: {integrity: sha512-1QapdGZkB+xlwdfxkZYIHcL/z+9X5LMq54Ysm+ckbsL66l4R7nKJUJ94EMtGK7dQYy71Zq54d7kAiKaKhIIw3Q==, tarball: file:projects/arm-portal.tgz} name: '@rush-temp/arm-portal' version: 0.0.0 dependencies: @@ -17734,7 +17751,7 @@ packages: dev: false file:projects/arm-postgresql-flexible.tgz: - resolution: {integrity: sha512-42obwbCkSftt9nWFzb8iHFPqV7E/ArPOnAMS55z7qnfFfzSEO6cQ2dLtJ3n6t8F0yN7F16/pB7/P5CCBqfAxZA==, tarball: file:projects/arm-postgresql-flexible.tgz} + resolution: {integrity: sha512-NSIbK904401vTowcmbyrN6air9mB778Lw4dF+akIyx1RD15Ye2eEdXagrdzoxCeaf+pSrkAQK/ghRW8qmWT8Fw==, tarball: file:projects/arm-postgresql-flexible.tgz} name: '@rush-temp/arm-postgresql-flexible' version: 0.0.0 dependencies: @@ -17764,7 +17781,7 @@ packages: dev: false file:projects/arm-postgresql.tgz: - resolution: {integrity: sha512-rUut4EsMqE0m7A6fpuDpjAX9uRIAgZFGuDP+yYyEcHB6ZST7xpmA97WXqJhECH4xyoyVVQ9/b6BetH/49cVHQA==, tarball: file:projects/arm-postgresql.tgz} + resolution: {integrity: sha512-Cd1CoTd5t3SnvR+KTZJCMP65q8drHeVKfSuRyMz0NntBn+xz2Ou/qwiV6T0+1AqEvlG2KCBNMcTTdcZEoECZ7Q==, tarball: file:projects/arm-postgresql.tgz} name: '@rush-temp/arm-postgresql' version: 0.0.0 dependencies: @@ -17793,7 +17810,7 @@ packages: dev: false file:projects/arm-powerbidedicated.tgz: - resolution: {integrity: sha512-g2Nz33tyJtj2dEp/wbmvlbxbcY8Yjw3+Cnry6VL/+s0AoIY7nkkYFdKT98rVlvXIN+KBN7Zs1T3MoXFlfHhFIQ==, tarball: file:projects/arm-powerbidedicated.tgz} + resolution: {integrity: sha512-dlILYWypLv9jm+6xBYjloorL6ufiEikCv3PaPLz57X4eEVJcZigmOoLw8G1SEiIahsW/te6wrinHFIseMK75Lw==, tarball: file:projects/arm-powerbidedicated.tgz} name: '@rush-temp/arm-powerbidedicated' version: 0.0.0 dependencies: @@ -17823,7 +17840,7 @@ packages: dev: false file:projects/arm-powerbiembedded.tgz: - resolution: {integrity: sha512-g5UQEJN6v86qTZkw2+VBwnJE1QJSD2ZbBZitwz01DigHRDbatVnmhEgjvM7lvDbFChomaWEPocWlZcbQBgMP6Q==, tarball: file:projects/arm-powerbiembedded.tgz} + resolution: {integrity: sha512-lSscL3/6wrUi++hdQVBxR+VePqYFmpjzhZ/4pUtqm0W15XlXcXZccO7XMbhJtnwRTDGYUKpJ5rhR7uYu9337LA==, tarball: file:projects/arm-powerbiembedded.tgz} name: '@rush-temp/arm-powerbiembedded' version: 0.0.0 dependencies: @@ -17852,7 +17869,7 @@ packages: dev: false file:projects/arm-privatedns.tgz: - resolution: {integrity: sha512-te0zKXvLfbSL2nhRF7iu5i35dD8AnHcZkDr+aPyhTviHCpVna0zsrBUZ/McCYQZzNImcXICQy0vXG0Kv0oPHtA==, tarball: file:projects/arm-privatedns.tgz} + resolution: {integrity: sha512-DeLYIZhkysGVmRhymdQar8suXVHuSthEV2/909LcyshuvnT9reEA5pBUnpERwYILnE0v0Pe5cOiYM2zNu5K3jQ==, tarball: file:projects/arm-privatedns.tgz} name: '@rush-temp/arm-privatedns' version: 0.0.0 dependencies: @@ -17882,7 +17899,7 @@ packages: dev: false file:projects/arm-purview.tgz: - resolution: {integrity: sha512-93WGpddENzgKRzQYsjYfSoTPOJAqSKrGkMcwLfOOEAI5FdXK3bW0wIqxSXGJGe6gimeouwHsebL8y/Ta6BbJ2A==, tarball: file:projects/arm-purview.tgz} + resolution: {integrity: sha512-B1h7MW0LspMCjkdtQLXgFe1+CHGq1y8+UGRm9OrWbC+qpQ33GoJX0RhONJJ61mT5JUSpsh0YZla/O8K61lZNfg==, tarball: file:projects/arm-purview.tgz} name: '@rush-temp/arm-purview' version: 0.0.0 dependencies: @@ -17911,7 +17928,7 @@ packages: dev: false file:projects/arm-quantum.tgz: - resolution: {integrity: sha512-bXlLybtVHrxeoeH7Autfo9oAeAgxtLiD4LifjhKJQFDMtKy7XwJeLEP8wjCLIUz4HjPqdATZOy91P+iipaXKWw==, tarball: file:projects/arm-quantum.tgz} + resolution: {integrity: sha512-o7s/NDNGiGHq410Mkf/5TQDqgPd7LqdT99DoBGNIGEFiPnX3OLeGR/9ix5Yoamyc6V2vcpvz53wHba6CkMPtyQ==, tarball: file:projects/arm-quantum.tgz} name: '@rush-temp/arm-quantum' version: 0.0.0 dependencies: @@ -17941,7 +17958,7 @@ packages: dev: false file:projects/arm-qumulo.tgz: - resolution: {integrity: sha512-16kffyI39XON8XY0eZ8FV4msa7hdHziR5iXUAOOcVXnhrlyWeIeZ8BAWNRxdwfSRDIrnWzDx+aJTQnVRKL3E2Q==, tarball: file:projects/arm-qumulo.tgz} + resolution: {integrity: sha512-gYm9C1mxbgueCqF0iXFyNYlYxTSt3z+qziS108LyIOyQGplqBl37wIe2S5Nb0R87vWXYnYJHNhjVMMIvTrshPw==, tarball: file:projects/arm-qumulo.tgz} name: '@rush-temp/arm-qumulo' version: 0.0.0 dependencies: @@ -17972,7 +17989,7 @@ packages: dev: false file:projects/arm-quota.tgz: - resolution: {integrity: sha512-xk059uR7eCCN3t024cWSE4S9muFzgPyN0kwgYPtQ9y/4+OQwdv8wvBqclcnw++X7ttxE5uPz9P6NgkNQS+HINA==, tarball: file:projects/arm-quota.tgz} + resolution: {integrity: sha512-TcVpxc7YC3FWRwcUIO0Uto0RWVGgvHGZ+WvqOVtjLD93cgzO0gaognPjZ7dpaN+f3gyOGs0ksjiJl866jCimGg==, tarball: file:projects/arm-quota.tgz} name: '@rush-temp/arm-quota' version: 0.0.0 dependencies: @@ -18002,7 +18019,7 @@ packages: dev: false file:projects/arm-recoveryservices-siterecovery.tgz: - resolution: {integrity: sha512-xcNv4RDnr33f5crsn2KZvyN0LDD1FGh2n8tcaQFLRAgZtK8y//XRiWtaFER7SKl3TaVrVjy2E9feEwAujZoW6g==, tarball: file:projects/arm-recoveryservices-siterecovery.tgz} + resolution: {integrity: sha512-Zy9s6Cc2SK2Y/qoQVc9ruyPwRaUbukYN4w7zELuTMsGOXAYzwW+GWqW53HVv9ATBkWcSPObZYIYfA9ahNq4Uhw==, tarball: file:projects/arm-recoveryservices-siterecovery.tgz} name: '@rush-temp/arm-recoveryservices-siterecovery' version: 0.0.0 dependencies: @@ -18032,7 +18049,7 @@ packages: dev: false file:projects/arm-recoveryservices.tgz: - resolution: {integrity: sha512-06A+DFamgjqnrd2zLMyYwoU48g7Bbwf/paXpGdKklU7SqcmCxUbtZUJTrZEtYngnXQSeAt58brXVBnGYE0evPA==, tarball: file:projects/arm-recoveryservices.tgz} + resolution: {integrity: sha512-hE9WTZh0MLaXAWCuHvQDjvzeQvxDn4t3x4Ws1o/sArO48yDG0+e9ZdCv/n3cX7NgxehtYb3142vlrosgojb3Ww==, tarball: file:projects/arm-recoveryservices.tgz} name: '@rush-temp/arm-recoveryservices' version: 0.0.0 dependencies: @@ -18063,7 +18080,7 @@ packages: dev: false file:projects/arm-recoveryservicesbackup.tgz: - resolution: {integrity: sha512-2noksR5ZT7zAwxoe62PnPvseK+9e3FTieCHLxCN6JOzEsLohvWLaKA3COBimtzZBsOeEkfNexOjKUXmyMKSvxA==, tarball: file:projects/arm-recoveryservicesbackup.tgz} + resolution: {integrity: sha512-aBxC2pHxknZk9hAvIHRmvw6o2Otg6NGB7/4HHdxTHdwd+5zthSZVMiNlN1lQr9rXZNpBhe9Ao/mm6C30S2/sgg==, tarball: file:projects/arm-recoveryservicesbackup.tgz} name: '@rush-temp/arm-recoveryservicesbackup' version: 0.0.0 dependencies: @@ -18095,7 +18112,7 @@ packages: dev: false file:projects/arm-recoveryservicesdatareplication.tgz: - resolution: {integrity: sha512-psblxki1Yi/bWothwmWqb+En3eL8BhAo7x1SuiHbKn600IaznqexgN/NB2KAB7qyRHUCa/IjiysgZ2dBZ1BqQQ==, tarball: file:projects/arm-recoveryservicesdatareplication.tgz} + resolution: {integrity: sha512-s6rIHw/4pUPO7OWuP638NHaer/fWhpg0x+KLAxRHFtIC5d5i2+ipG/6YL9Tauhr0BozZWzWUMhFYE+ia9nEEKg==, tarball: file:projects/arm-recoveryservicesdatareplication.tgz} name: '@rush-temp/arm-recoveryservicesdatareplication' version: 0.0.0 dependencies: @@ -18125,7 +18142,7 @@ packages: dev: false file:projects/arm-redhatopenshift.tgz: - resolution: {integrity: sha512-BwUzxC6iOJCCVzPqt2faC92BLQ74PN3hlhv1a1SsGdqWz8vXr7ONGB0YF7fiLtCvvn7RuileFsVfjXNrKy9qqA==, tarball: file:projects/arm-redhatopenshift.tgz} + resolution: {integrity: sha512-G7cH1A3bimoSKhWgvtc1mrKbxDvfrT2DCAQK8MXGCP1bQr2BWhEWZe/kCOUIPRCte4R7aVB/ccqnIj7GgECWQw==, tarball: file:projects/arm-redhatopenshift.tgz} name: '@rush-temp/arm-redhatopenshift' version: 0.0.0 dependencies: @@ -18156,7 +18173,7 @@ packages: dev: false file:projects/arm-rediscache.tgz: - resolution: {integrity: sha512-wjKgPDteXSNG7HsflXJ6v7ogpaDCk+Cbx5YNmOr2XQJ7STHcZKl8XlOXagYonaTB/ZXPFI2jDZxiv39SQZr0yA==, tarball: file:projects/arm-rediscache.tgz} + resolution: {integrity: sha512-iaPfdmOfF5ZnFRjtd6JqqvSlPn1JbSoqlEM7968JDg4kMbtRYJj/RSp2OaZ3HbFhcUhYRRC9T4GzDPGmfmqd3w==, tarball: file:projects/arm-rediscache.tgz} name: '@rush-temp/arm-rediscache' version: 0.0.0 dependencies: @@ -18188,7 +18205,7 @@ packages: dev: false file:projects/arm-redisenterprisecache.tgz: - resolution: {integrity: sha512-tn3eCGAuaZ5/WguvYXmmXZuRYRCie4bKR38XnA255/jD2njJ1qxuDCpH/nmT38r0R1L8jniBTlqP0+ylfgGbjg==, tarball: file:projects/arm-redisenterprisecache.tgz} + resolution: {integrity: sha512-aZLFBUEBCOzoZsTUJhc9cMShOYYGbV/6bEuR9NEAsP5N3CruGtH8LgZs3D0zsrPfjyGSaYZwqtIJMYbzzmUxdA==, tarball: file:projects/arm-redisenterprisecache.tgz} name: '@rush-temp/arm-redisenterprisecache' version: 0.0.0 dependencies: @@ -18219,7 +18236,7 @@ packages: dev: false file:projects/arm-relay.tgz: - resolution: {integrity: sha512-uwrO1rzLldkeACmDg6IrzkUcDhEPxYbT7Vd7uz6GJuleJo+U+rlKz4KngctChfIy+H5lXO8M1tG/8HFhO1BDhA==, tarball: file:projects/arm-relay.tgz} + resolution: {integrity: sha512-Th9b0kM7MAcoZ612c8zz9auhr8Hqnb3yMr+KWdRnx9miUJaIjchsiHWANFuvfnHmx8P71p/TskXMbTj8OMWnPg==, tarball: file:projects/arm-relay.tgz} name: '@rush-temp/arm-relay' version: 0.0.0 dependencies: @@ -18249,7 +18266,7 @@ packages: dev: false file:projects/arm-reservations.tgz: - resolution: {integrity: sha512-BqGc0TP5W8b1mEC2QK0JA/Mq+Qv8ITVZXexW4EHOKtDCDETYbwE+OIkAto3+411a6200kIUOzwyqViuUrRt6Bg==, tarball: file:projects/arm-reservations.tgz} + resolution: {integrity: sha512-xaeHLrGZsp6SoH1ojKtx/2HHnEN899g8w71qAZrAoaO3a+5eukKyC9Gfxb1iiKoxXvAqTXeN0TV3NEBGCIbOIg==, tarball: file:projects/arm-reservations.tgz} name: '@rush-temp/arm-reservations' version: 0.0.0 dependencies: @@ -18279,7 +18296,7 @@ packages: dev: false file:projects/arm-resourceconnector.tgz: - resolution: {integrity: sha512-AQ9gUwZYKgMz0em5ab5wekXZZ9aq1mYgME96Go11NxLDmt5CjLB+b0yqaJ1G+ij9sOCl4f0NwN70yyH9oJx7IQ==, tarball: file:projects/arm-resourceconnector.tgz} + resolution: {integrity: sha512-3/GLF0TEU0hxKhW0sP1uBMYfI5n5GSlQ26ls1EH5Jry2K+l9bQco4SvRGFNHHpqtqIjssgdxkhbDIDCpEDxRVg==, tarball: file:projects/arm-resourceconnector.tgz} name: '@rush-temp/arm-resourceconnector' version: 0.0.0 dependencies: @@ -18309,7 +18326,7 @@ packages: dev: false file:projects/arm-resourcegraph.tgz: - resolution: {integrity: sha512-zmk1cZALrBRWYbPPc29vEhHTpdbh+K9cmQT+1xcYOVFAB8rz2U1ZGp+v+eZDCYKbokwkQxj6vO3VGwVmud6spA==, tarball: file:projects/arm-resourcegraph.tgz} + resolution: {integrity: sha512-JdHzFd9wI6JJriyEvlkxEzkrAvHKS8sL1nqZ5F2w/0HctthIdjUM3WHTUPj7nf6NT/JsY11aB6rOUJrwJrrvCw==, tarball: file:projects/arm-resourcegraph.tgz} name: '@rush-temp/arm-resourcegraph' version: 0.0.0 dependencies: @@ -18336,7 +18353,7 @@ packages: dev: false file:projects/arm-resourcehealth.tgz: - resolution: {integrity: sha512-OmXdlZg6o/+pbuha9lGCccqxJKHHfvtRnKVEtd7ScUPrULI58nJvuiXOfMbSIMp95RED3alr8uoV1DH5X/2pJA==, tarball: file:projects/arm-resourcehealth.tgz} + resolution: {integrity: sha512-y8trJZSTDn6b1D10IKVSmb4/+HMZEi5cHfjwJWA12pmEfy8vitnl+YPnab9LbG1tBZq/qKonXdUeGzJSQkZ4Gg==, tarball: file:projects/arm-resourcehealth.tgz} name: '@rush-temp/arm-resourcehealth' version: 0.0.0 dependencies: @@ -18364,7 +18381,7 @@ packages: dev: false file:projects/arm-resourcemover.tgz: - resolution: {integrity: sha512-1D4dAl0mmNVfUStY63phkh4tqdWFTWUTv2U+0ZgTHdE1JPtdfgl/0cuLsmI/CkkLJfPWcPY1lZuHnBkILy8bkA==, tarball: file:projects/arm-resourcemover.tgz} + resolution: {integrity: sha512-x1C2jUcu6IrYMYwK0SjYkthOBecAhlf8/RKxawn4u+UmBJoTceamfVhg46RDC4Q2p4JqoWGa7rsHJvUVT16Aww==, tarball: file:projects/arm-resourcemover.tgz} name: '@rush-temp/arm-resourcemover' version: 0.0.0 dependencies: @@ -18394,7 +18411,7 @@ packages: dev: false 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} + resolution: {integrity: sha512-3K2SKWxCM/vXM3wNJxxjfznuSvjK0mNAr3KTfkR8bLZsZw0IYSYcSVlI6V6cfjUi/6pgsfwviNlWmsPdJ+FdtA==, 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: @@ -18424,7 +18441,7 @@ packages: dev: false file:projects/arm-resources-subscriptions.tgz: - resolution: {integrity: sha512-1rJhKQecqIun9TBKIJuCjb1JJpIHwhP04pqs9P0i0HBuy3Q3xxkJtx8mSAOe8Rw9daDBvZw8SwIN9+nrwf4URg==, tarball: file:projects/arm-resources-subscriptions.tgz} + resolution: {integrity: sha512-ESdS8paAhHR5HfMV7Hk+WSg9BILEmbBPdCJB0321w0xUPEZsIX5dI5JwylMIoxoqI29qJflOPDmP9f83L4+Z7w==, tarball: file:projects/arm-resources-subscriptions.tgz} name: '@rush-temp/arm-resources-subscriptions' version: 0.0.0 dependencies: @@ -18452,7 +18469,7 @@ packages: dev: false file:projects/arm-resources.tgz: - resolution: {integrity: sha512-6a16xYknvpbK19/9j06QEyv4YsWcLEoR9neVni4DcRgPbMELOh/a/9xeOo1Lisn6Jq7LQ4tbaHQWd5xbpgvpow==, tarball: file:projects/arm-resources.tgz} + resolution: {integrity: sha512-8TMFe//8E67q5Nze7yLR6VgxTPgEb1BIBF9AeBVV+Tcu8ijDgV/6siMyoOXafgdQkk2bO0tVO+SGfXQgIol+3g==, tarball: file:projects/arm-resources.tgz} name: '@rush-temp/arm-resources' version: 0.0.0 dependencies: @@ -18482,7 +18499,7 @@ packages: dev: false file:projects/arm-resourcesdeploymentstacks.tgz: - resolution: {integrity: sha512-59nSruSUUf0DBQysuEcADPS0mcz4ct3vHU16Zz2kcmjzO7TFQXA2xsFjNjeJaD2+C5r4XodX72Jn3yD0U22qrQ==, tarball: file:projects/arm-resourcesdeploymentstacks.tgz} + resolution: {integrity: sha512-CViGJPj+s3oFWu5qa59wIKJpNb2JiytehpwUomjfLwJQc7A3qXexcefkLo1ATe/x3xa/8VtGEGmHmcCQD2AbhQ==, tarball: file:projects/arm-resourcesdeploymentstacks.tgz} name: '@rush-temp/arm-resourcesdeploymentstacks' version: 0.0.0 dependencies: @@ -18513,7 +18530,7 @@ packages: dev: false file:projects/arm-scvmm.tgz: - resolution: {integrity: sha512-Ww4OxXaLiQyIXp5EZLfQSG+T/l/3cXm3KG8/T99zwwXdmwPII9/Wsv8SZmid0SMY6GDdb+8E9ZoHGVjC+/yrtA==, tarball: file:projects/arm-scvmm.tgz} + resolution: {integrity: sha512-Fkayn1s6liEmHj04cYJ492qlZh4so3USiiYydFKDLXq+iK5CraI8Y37o9nbgfigc80nJZM57OD13M7BHMEBoSw==, tarball: file:projects/arm-scvmm.tgz} name: '@rush-temp/arm-scvmm' version: 0.0.0 dependencies: @@ -18544,7 +18561,7 @@ packages: dev: false file:projects/arm-search.tgz: - resolution: {integrity: sha512-8uv5If4Z3qbT8dx9W89TzHJJ7AR4OC6k1IlD++vK1O7FZe0oNHYWwfd3cVjI7TbaccMC+Syzr+lAuMdt9FqJMA==, tarball: file:projects/arm-search.tgz} + resolution: {integrity: sha512-n9+MFthVi0kPRyKbesnuxpozFIAXlDtN3AUHhnifFNmk1ljV9L9Qlo6F4jwEUiVDxc3q4Tewg2Z20NXpsl7jcQ==, tarball: file:projects/arm-search.tgz} name: '@rush-temp/arm-search' version: 0.0.0 dependencies: @@ -18575,7 +18592,7 @@ packages: dev: false file:projects/arm-security.tgz: - resolution: {integrity: sha512-B70NAL/cD6aCD6ZFWPaQ2fCRsoA4j8ZnFsGa/y9vDILw/37omK/X06fg1L3eItXDa85rnxAKEyVISb4/CmSlMQ==, tarball: file:projects/arm-security.tgz} + resolution: {integrity: sha512-Px/+niYXJJSBaYURVZ7Sy0ZUBrh5mL5YTdHXKcumWBVaNY6IwcdEbtR3ZfjWS1J2fkZNUCBe28PjEy4+oQBzow==, tarball: file:projects/arm-security.tgz} name: '@rush-temp/arm-security' version: 0.0.0 dependencies: @@ -18606,7 +18623,7 @@ packages: dev: false file:projects/arm-securitydevops.tgz: - resolution: {integrity: sha512-8LQ0CNpQRwNCKE5gn+oP3618AYNtvqNec3Mxu5PGrWUs3i1IiQAOqpnLAl+NLFjYgq/5cD3gm8FVlnmKaRRX+g==, tarball: file:projects/arm-securitydevops.tgz} + resolution: {integrity: sha512-S4pcnEbybi5nmSjXtXKhIsTRuw7imOZmTcOg3bAPgz3KqoLVKXzNIaQ45IelRQ8XXWzbt2FLMruvJXZWGZa/dw==, tarball: file:projects/arm-securitydevops.tgz} name: '@rush-temp/arm-securitydevops' version: 0.0.0 dependencies: @@ -18636,7 +18653,7 @@ packages: dev: false file:projects/arm-securityinsight.tgz: - resolution: {integrity: sha512-ECeHKmdNfMrlWU+ALpyQjR6P1EmyqVmwq333v5RV6lVJmh8P0P/BxUNCXpyzFW1fbzQrNz5PkcxeWk8Dn1OXeg==, tarball: file:projects/arm-securityinsight.tgz} + resolution: {integrity: sha512-z7/bwVywKxYb8/nzlnRHG0naVcEeSHTzxDEQ0c1QiRmlvtuuVReA0sH0eBKCSUWqe2Gad9W6zFjyLoqUxg2iyg==, tarball: file:projects/arm-securityinsight.tgz} name: '@rush-temp/arm-securityinsight' version: 0.0.0 dependencies: @@ -18666,7 +18683,7 @@ packages: dev: false file:projects/arm-selfhelp.tgz: - resolution: {integrity: sha512-Du6qiL/0d6POf7L+oG/79kFrVo1aq/OqOT9GcaPwMgsATyPRJ30MBVglpAz2Y/ZQ2PhOUZlC06LzxW6er51qTA==, tarball: file:projects/arm-selfhelp.tgz} + resolution: {integrity: sha512-qKw7XYBLOZ8gMshNFDUxW6hhf4A60cbTwLA+s1Fh/OPUKopWJ6u8z0uw40ZaodIosbk/c6XPhWaYtUImIblFsA==, tarball: file:projects/arm-selfhelp.tgz} name: '@rush-temp/arm-selfhelp' version: 0.0.0 dependencies: @@ -18697,7 +18714,7 @@ packages: dev: false file:projects/arm-serialconsole.tgz: - resolution: {integrity: sha512-IE4+e1/ccdTPu/DGZ319e0G9sO5zDhKOHYAJ3ys2d1TEgzfyZq701uDZYWj2jRPp+wTbWI1OKHNUchLOv2XFiw==, tarball: file:projects/arm-serialconsole.tgz} + resolution: {integrity: sha512-GMojm865n40ZBB+4kLDKzAoO6dOa4U+Vz7zEFXNcbIHiQUoS6+PwzuDSPvOLSeNxHV7samqCTkge2FnmlQqr2A==, tarball: file:projects/arm-serialconsole.tgz} name: '@rush-temp/arm-serialconsole' version: 0.0.0 dependencies: @@ -18724,7 +18741,7 @@ packages: dev: false file:projects/arm-servicebus.tgz: - resolution: {integrity: sha512-iKMaq8Mpd8NWdBvKvDKFX8HME7Vmks7T44pkpV8l7Py3eFY9JQSE6DVvrY9yD6EJWWxUkoswtZM7/UcoNr8gzw==, tarball: file:projects/arm-servicebus.tgz} + resolution: {integrity: sha512-mX0dwH8mu+GrYq+JsD3AhOjm/K62WRtCNHRwHpyrwCtgc+VUuD6T/mpD3t/oERQ5NcMj/KubhdOk6iQci39eNQ==, tarball: file:projects/arm-servicebus.tgz} name: '@rush-temp/arm-servicebus' version: 0.0.0 dependencies: @@ -18754,7 +18771,7 @@ packages: dev: false file:projects/arm-servicefabric-1.tgz: - resolution: {integrity: sha512-VpD1QplYj7Nk8D1EVFya3hgMbFMKel3IDJZb2DZtxuO2TMU6aDBAm8Fh1ObDEaqFtKS4zG08zC3+Sa6vq/3wFg==, tarball: file:projects/arm-servicefabric-1.tgz} + resolution: {integrity: sha512-mhjzYzaHr459X1YZqYfeMyMf0WE9tGDIS0NolkxvsJHVS4GzfXLk+Qwv94I0Oczd8icANrt5bvtewhMJMN55cA==, tarball: file:projects/arm-servicefabric-1.tgz} name: '@rush-temp/arm-servicefabric-1' version: 0.0.0 dependencies: @@ -18784,7 +18801,7 @@ packages: dev: false file:projects/arm-servicefabric.tgz: - resolution: {integrity: sha512-PYs4dUaMHAw61YrQ+9Gtrcvos/F+ue1jMFIG4K2F49lVjEJ8X3HddH7ewaUHP1GTzevTGSQeeOqipJJ289ui+w==, tarball: file:projects/arm-servicefabric.tgz} + resolution: {integrity: sha512-nBD/gkz9t+npnHpQxhMqmYsiM7g2ORRS9ZTuXy8esCn2ErOSZeus7nndC7bVRSaWUFjw3RCtEaKOGC+k5FeBPQ==, tarball: file:projects/arm-servicefabric.tgz} name: '@rush-temp/arm-servicefabric' version: 0.0.0 dependencies: @@ -18830,7 +18847,7 @@ packages: dev: false file:projects/arm-servicefabricmanagedclusters.tgz: - resolution: {integrity: sha512-aXLhNHWEstwVsLKpmTC2k/xVystn9qlcSGaDg+o6B5saAiAICgXAynb+8X4YUUkH/N7xVIGwB06GhYPhmkDwMw==, tarball: file:projects/arm-servicefabricmanagedclusters.tgz} + resolution: {integrity: sha512-TCi0jp2pkdiaCDttYrLe2lOgb2BLNKzfqy8sCBizSGqbapwU1zr2k1dsdlVPFaBmoPG6T3+MqqBukQ55Qde9NQ==, tarball: file:projects/arm-servicefabricmanagedclusters.tgz} name: '@rush-temp/arm-servicefabricmanagedclusters' version: 0.0.0 dependencies: @@ -18861,7 +18878,7 @@ packages: dev: false file:projects/arm-servicefabricmesh.tgz: - resolution: {integrity: sha512-DAoHYCxEbPvnDOv46/WhvUT+yt66a6vKoaGJpQvqDpKmmpToXECdoprk6D4y0TvRfA1qRjpF8VoNFHjtgOUynA==, tarball: file:projects/arm-servicefabricmesh.tgz} + resolution: {integrity: sha512-VUYEVVtWCIYNADs1mvJKm6x/q9zkLVxBvBgFeh9X0pn5A0I28A8LN8NikklaByhLopV4Yfoqf8iNj07TErM7oA==, tarball: file:projects/arm-servicefabricmesh.tgz} name: '@rush-temp/arm-servicefabricmesh' version: 0.0.0 dependencies: @@ -18889,7 +18906,7 @@ packages: dev: false file:projects/arm-servicelinker.tgz: - resolution: {integrity: sha512-b4I+nEFdfBdbxwWL83hH8Cx8u1tnApKwJ4woUu5sW1oeBY+b1EBHqB1oMRn537e0OKZfa5rYLBVSLSSjXHCgFA==, tarball: file:projects/arm-servicelinker.tgz} + resolution: {integrity: sha512-BI03Uf+B32eQ1/UJ5zwaebq+GqL3BZKvZRhYiHKNZIZ5XkSCj/+RbzWxkrUIYpjvYK1kK8ZdxriBEEge5x+yCQ==, tarball: file:projects/arm-servicelinker.tgz} name: '@rush-temp/arm-servicelinker' version: 0.0.0 dependencies: @@ -18919,7 +18936,7 @@ packages: dev: false file:projects/arm-servicemap.tgz: - resolution: {integrity: sha512-TuOms7H4yauZtgxdgm7wHhfCAg1aGoXBxp+pH1DJYcq5Dv0Hl8OLiASVR76MquUU0hgGWCY8HEk1rnY2gOBmnw==, tarball: file:projects/arm-servicemap.tgz} + resolution: {integrity: sha512-gMlBuke+uVxkC+RHCKU/uqQF3DDItNnnSY8u3/6am2rhQKMmAyNE9cwf9LeOuTaK9Vwyp40/domzBBT3WXHi9g==, tarball: file:projects/arm-servicemap.tgz} name: '@rush-temp/arm-servicemap' version: 0.0.0 dependencies: @@ -18947,7 +18964,7 @@ packages: dev: false file:projects/arm-servicenetworking.tgz: - resolution: {integrity: sha512-i8zywAj3ogUJQ8TsnlaNoWGcHF4DklFscEdWVm0GJEf5kYSb9S6nXg40mVHqKtLLa1EiawVcXaMiHta7qlOlxQ==, tarball: file:projects/arm-servicenetworking.tgz} + resolution: {integrity: sha512-jTqnBRCg8w5P4b+b1zRL8OcqS/V7ZmJdoyobiF3nlybl7r3Yrn8QYjqsNSoDyTfZCPUobdfJXiw02OjvHBKT7A==, tarball: file:projects/arm-servicenetworking.tgz} name: '@rush-temp/arm-servicenetworking' version: 0.0.0 dependencies: @@ -18977,7 +18994,7 @@ packages: dev: false file:projects/arm-signalr.tgz: - resolution: {integrity: sha512-q3he14cTJvsZlGmkKan1jmInCxqH8L9Qjiph4Kk9rNqDNOjDzWjfI5rblwT2rwzrDhwn3LA28zbl8mkEeFUneg==, tarball: file:projects/arm-signalr.tgz} + resolution: {integrity: sha512-zOj+xr0QvdXrIlVyYKgwydI81agrOmG5t5IPn1LBtXKhHc6awL3+j5mBc4UKVb33U4vujVMSAIznx8U/STDDRw==, tarball: file:projects/arm-signalr.tgz} name: '@rush-temp/arm-signalr' version: 0.0.0 dependencies: @@ -19007,7 +19024,7 @@ packages: dev: false file:projects/arm-sphere.tgz: - resolution: {integrity: sha512-zu2ViWjA8Q+zH59tu1TFghRMTpx/o59Njik5kxjhJimusHi2WdVA2tFXy+43JOGZn2y/EOKTx8ByPe3QXXPgJg==, tarball: file:projects/arm-sphere.tgz} + resolution: {integrity: sha512-jQJaQ8K8/TuACKtMzMaljQ+2Lqpx08OCBYb/Hi+D2/5UGS9iW7GEu1nXdyT+vltrr4YYCINZn6n4L2+CHHTlQw==, tarball: file:projects/arm-sphere.tgz} name: '@rush-temp/arm-sphere' version: 0.0.0 dependencies: @@ -19037,7 +19054,7 @@ packages: dev: false file:projects/arm-springappdiscovery.tgz: - resolution: {integrity: sha512-8I6C+bVGH81wWi93y4yWThAN6Jg45vsdz0QJ0aNh8pURiwRSLfYjqpcWFGrrvMtfLPsDvsDmya/sPDTxYfI56w==, tarball: file:projects/arm-springappdiscovery.tgz} + resolution: {integrity: sha512-Zb4tvHVkQFwSBEoyOwiCg+1MXyU0xYDpG6OqyCuWiQvcdHM4UwXcwJSfJznS7GTTmQdCqegVXYLxUYJTpxoobw==, tarball: file:projects/arm-springappdiscovery.tgz} name: '@rush-temp/arm-springappdiscovery' version: 0.0.0 dependencies: @@ -19067,7 +19084,7 @@ packages: dev: false file:projects/arm-sql.tgz: - resolution: {integrity: sha512-jAEmxePLAQYwQA1+pc90ne5yg9S17zaCEdxcWSs+mzffP6aaMgCyTRVsMUWgn8KSw9Yi6zC0xzzf11OOYq3lKg==, tarball: file:projects/arm-sql.tgz} + resolution: {integrity: sha512-73Oet2aISNMPTPVJjDN0whP3J23ZtcbObc8wUifIqF/x+sKGEEWDwH2jdwcy4d+MJ0D99rsnTsEfPNK617tPAQ==, tarball: file:projects/arm-sql.tgz} name: '@rush-temp/arm-sql' version: 0.0.0 dependencies: @@ -19098,7 +19115,7 @@ packages: dev: false file:projects/arm-sqlvirtualmachine.tgz: - resolution: {integrity: sha512-fqfFdEwf0t8GAOh7qfR5g5YhSs8Km6/IaoafYyQVwV6e2jgygHl6zyARRDv8cP2m/KWR6sxj/uo9e6/a/aHLgA==, tarball: file:projects/arm-sqlvirtualmachine.tgz} + resolution: {integrity: sha512-pYNGuK8/84ZrBuewv7yQqhdCo/IVcD+mfYYPZty0OdFkx3SKB3gzBmTQ5m++xVN1ErX3wNPnX6G9OXKLSLX0Ag==, tarball: file:projects/arm-sqlvirtualmachine.tgz} name: '@rush-temp/arm-sqlvirtualmachine' version: 0.0.0 dependencies: @@ -19128,7 +19145,7 @@ packages: dev: false file:projects/arm-standbypool.tgz: - resolution: {integrity: sha512-ad0vpTy1Jgcz8oulGhJAF35Pd2E8h+1IjDqexQoVe9PU4g7piDgfmXu2Enf6ACydU7dentGyCikqr3pZyGDFhw==, tarball: file:projects/arm-standbypool.tgz} + resolution: {integrity: sha512-8XK6tR34ybn9FddKq0+JQ1bZbzRoW715/OlEZGVKxIYwW7ZIZtuTnrhyfhgy2V4dKzfdja3bAe3ytl+WcusCFw==, tarball: file:projects/arm-standbypool.tgz} name: '@rush-temp/arm-standbypool' version: 0.0.0 dependencies: @@ -19159,7 +19176,7 @@ packages: dev: false 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} + resolution: {integrity: sha512-pPMG69GBIGTkkAtuzfE0wMCehJB4H2uRdCJvfrFqWL5+4gdqlAzxzw+Dy+3zfzZz+vEOAtlll43csdDB++ixwg==, 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: @@ -19188,7 +19205,7 @@ packages: dev: false file:projects/arm-storage.tgz: - resolution: {integrity: sha512-CrodZpd6ur66ptS0rc95Au7c0CwIRraHAuxmsgQdaqILR2zcprBEfsdnBWz8QSS6uzLDzZyJ5nl2HHgWZXYknQ==, tarball: file:projects/arm-storage.tgz} + resolution: {integrity: sha512-wu02t2M2e+U75bwlQZdo2YHXfAC4cbHGrhJO159LmJFet0/ICOxk5jUgduvhPS2WPOCHruqra4od6jcGxjJsmA==, tarball: file:projects/arm-storage.tgz} name: '@rush-temp/arm-storage' version: 0.0.0 dependencies: @@ -19218,7 +19235,7 @@ packages: dev: false file:projects/arm-storageactions.tgz: - resolution: {integrity: sha512-y9gBYrOwFnxR6w7ihJHFh+4Ua84IV71PG1QfYKpsYBaCl7Ye6YPSIdsU89rAkb46TKckwsOISqUqij+de8qkuA==, tarball: file:projects/arm-storageactions.tgz} + resolution: {integrity: sha512-ftPPQPoyeEFHPiCjAqjV9TaxJpsoKPjcOWhFGIyyt7UjSnIsqtp4zm9G7SeGiOWTAuog7BoQ0IYWWseg9oi5vA==, tarball: file:projects/arm-storageactions.tgz} name: '@rush-temp/arm-storageactions' version: 0.0.0 dependencies: @@ -19248,7 +19265,7 @@ packages: dev: false file:projects/arm-storagecache.tgz: - resolution: {integrity: sha512-1ZZEylMxUh/nPoxIKGSxpaVoHOcOOABS8qkwf4BlK/0y1/siwnBJSvqHgFcZ3D5YlbbIuj8rRVSNInaIuFUR5A==, tarball: file:projects/arm-storagecache.tgz} + resolution: {integrity: sha512-RO0zn7zgnyBI+/G9/6GQWU/aaiXy4dW9Fqe13gNPaOWQL0Qx+9PFRWqy3Zd2uNoCxa3RjQnwrPuk8Rnsmg8EZg==, tarball: file:projects/arm-storagecache.tgz} name: '@rush-temp/arm-storagecache' version: 0.0.0 dependencies: @@ -19279,7 +19296,7 @@ packages: dev: false file:projects/arm-storageimportexport.tgz: - resolution: {integrity: sha512-yi5HpUSvqmLbhj5gcwqzn3k4pKGorFKZQN5VwuxnFsZos/hwSxe/UKLRE4xijisCJh8NytSx4CDP0SbFpvoXxA==, tarball: file:projects/arm-storageimportexport.tgz} + resolution: {integrity: sha512-FrkH1kkYZWRTmhzUOuNymupxNYkUF/0zi9JWQyDQB3W65DcOZN0w9PxIMF1aTOKHe8s6UlDpbpr1zmvx2r5ZTw==, tarball: file:projects/arm-storageimportexport.tgz} name: '@rush-temp/arm-storageimportexport' version: 0.0.0 dependencies: @@ -19307,7 +19324,7 @@ packages: dev: false file:projects/arm-storagemover.tgz: - resolution: {integrity: sha512-UsX6UCtWlnuZYFIzdOq/F7l72d4ku5XR/9dmaPqmgOz795hO3b5k3M69IBkdEeFMgHNmj5d+K/BIkRtVTA1+nQ==, tarball: file:projects/arm-storagemover.tgz} + resolution: {integrity: sha512-eBTpDLGTC8bzTU5PxS+OILzHHcbDuRDDhLFgBmCUHKoY8wMKK4gLmz/u7l4IXfanLagxihCT395OAmknYxNEsQ==, tarball: file:projects/arm-storagemover.tgz} name: '@rush-temp/arm-storagemover' version: 0.0.0 dependencies: @@ -19338,7 +19355,7 @@ packages: dev: false file:projects/arm-storagesync.tgz: - resolution: {integrity: sha512-4U6POnxYGRyF5vQB9KeQGyWYW/adVrtQku+3xfe3Nj0QQ8VpmN5q5DVwbI+NDLIOvrXm0ReaQzFUtbhgIc9K9w==, tarball: file:projects/arm-storagesync.tgz} + resolution: {integrity: sha512-CVer+JDWP2v9lzFt+s/g9qVJs5OyMa0jtq6OIt0vEEY35B91/0ZX/6FaDZvOil6ogF/fn8HYsLUlpPqk+3GUAg==, tarball: file:projects/arm-storagesync.tgz} name: '@rush-temp/arm-storagesync' version: 0.0.0 dependencies: @@ -19367,7 +19384,7 @@ packages: dev: false file:projects/arm-storsimple1200series.tgz: - resolution: {integrity: sha512-cTFxPvBEBJWkj19CYPT6zqIT9KLwgfdBW4g/w1Z2OEOme1eKMfI8UmpQo8WKk/6JCpXhQLcewHKkn9NJMpbs2A==, tarball: file:projects/arm-storsimple1200series.tgz} + resolution: {integrity: sha512-HoMQdFdLZ9KsB/yvQRQeyCUeXSX2xtZKdqmy6WJgRsi3aMj8MUWduZC4LbbkDb7F/crUzsGJxhMYNm6zZn2G1g==, tarball: file:projects/arm-storsimple1200series.tgz} name: '@rush-temp/arm-storsimple1200series' version: 0.0.0 dependencies: @@ -19396,7 +19413,7 @@ packages: dev: false file:projects/arm-storsimple8000series.tgz: - resolution: {integrity: sha512-i1eh3ERKkdECOuc/BOb5exDZuL7aUTEKiXFpqLlKcfKgXz1pCEYPV8ekhK6U4QXuwNWPan3+y6TzeuoKxCjH3Q==, tarball: file:projects/arm-storsimple8000series.tgz} + resolution: {integrity: sha512-8Y3vrXijr+GNdjDTMU5lMX+lcplFw3T9h2j8XbvHqrzWwHAnN24GMJN1styPzvvTesGtXrsEDAbAIGTkMxswzg==, tarball: file:projects/arm-storsimple8000series.tgz} name: '@rush-temp/arm-storsimple8000series' version: 0.0.0 dependencies: @@ -19425,7 +19442,7 @@ packages: dev: false file:projects/arm-streamanalytics.tgz: - resolution: {integrity: sha512-BftyU/D+V40GmtOKEIBcjM3NQvpPQGefxlOVErMEkTvkRf1Ha7KXL+gcwWfHIWmeDlBYlU9S38yR0veRGvaD3w==, tarball: file:projects/arm-streamanalytics.tgz} + resolution: {integrity: sha512-mMgEakc8HukU0aZNHCjH4JtfdnAjluphyODqWpzS3haO6hwglmw9qTkRFD9OdeTQaNYX9G7tmlnj6KkL9+zJ6A==, tarball: file:projects/arm-streamanalytics.tgz} name: '@rush-temp/arm-streamanalytics' version: 0.0.0 dependencies: @@ -19455,7 +19472,7 @@ packages: dev: false 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} + resolution: {integrity: sha512-j6JXR3XLuIHwKdUq+YL1sFmI1MfvzIjwFhykeFn0BxUiaEzus6dF9IKfiRYz/oK7lU0EpqbASLAWlWsFtpn3ZA==, 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: @@ -19483,7 +19500,7 @@ packages: dev: false file:projects/arm-subscriptions.tgz: - resolution: {integrity: sha512-N8BQ0j0ydmfNDRBK6+IVsrcf3+UkmfGNMubsDDoN3FvFRuHIDEN8YLB8NyhvhrMYFaoHGgCR56//I5qlOrllSA==, tarball: file:projects/arm-subscriptions.tgz} + resolution: {integrity: sha512-yxZ6qrSI1iPNoZNTfWjavZhpkUinY4iPqwMSZxL1gQFqGShQOEfgCpBT0DiJXyIYhevwNlQzg8BFFVCLJVDs+w==, tarball: file:projects/arm-subscriptions.tgz} name: '@rush-temp/arm-subscriptions' version: 0.0.0 dependencies: @@ -19512,7 +19529,7 @@ packages: dev: false file:projects/arm-support.tgz: - resolution: {integrity: sha512-mTNhSWriRWm1/pnKKWqwpFL91hPzZxtT3mrVgRhpQyEh2Nu5asIalfe0anZlF41QjSekjraARGS2epcNTRXRLQ==, tarball: file:projects/arm-support.tgz} + resolution: {integrity: sha512-h0HUrgnfJMgkcahpjb48+yRT+pQ//arYnNprAp0WTqgXEeHaXA02keI0rqTvuXM10BQV5CKiaFXWLh1XmK8Nmw==, tarball: file:projects/arm-support.tgz} name: '@rush-temp/arm-support' version: 0.0.0 dependencies: @@ -19542,7 +19559,7 @@ packages: dev: false file:projects/arm-synapse.tgz: - resolution: {integrity: sha512-gnS+AzWwj3uKCAVg064c9Wzgm7hKJq+db8tLe/XAJxXqPWGG9nKtc0q0sC/AGLuT24De6jZGBvNiHb9KYWTsMg==, tarball: file:projects/arm-synapse.tgz} + resolution: {integrity: sha512-PKSs1gos0LMkEvlgcKjm0Rx3t7kt9LrHd2zcHjDQQlj68x2AZqRqixXrs9G7+9InBWFyXL9E/K8q25KKkCe66w==, tarball: file:projects/arm-synapse.tgz} name: '@rush-temp/arm-synapse' version: 0.0.0 dependencies: @@ -19572,7 +19589,7 @@ packages: dev: false file:projects/arm-templatespecs.tgz: - resolution: {integrity: sha512-fK0qpWYE/TPivDe2HG8za6k/rWYQcjsVgKrkwJvTT77G237Bcp9AxuTOSBTr8rhAG43YmzuetLFf2F0a4t/jCw==, tarball: file:projects/arm-templatespecs.tgz} + resolution: {integrity: sha512-i/Zf3P6eq0cqB3hLbsmW5JYGoCsPzTebE/9W3vkLLgPytl6TAXkyVGk705Ubd0uAMOMF9PsAToALULf5zx1xwQ==, tarball: file:projects/arm-templatespecs.tgz} name: '@rush-temp/arm-templatespecs' version: 0.0.0 dependencies: @@ -19599,7 +19616,7 @@ packages: dev: false file:projects/arm-timeseriesinsights.tgz: - resolution: {integrity: sha512-ootvGtM+S6EIlwQFOVaOZFUVjCN3Za3fD3S0j3PDVR4gsJfwnFRGwf/SdNLG1uwJpaGnmalvMjLGph7+E4xO1w==, tarball: file:projects/arm-timeseriesinsights.tgz} + resolution: {integrity: sha512-qcaxrXXHz9j1L7wsQtOSwRBjCtqn049mL7cp2cBleXhZaxwHPBWlEL1yHfc1XXuBH+SGpEw9PsmSV0E7/4Lkhg==, tarball: file:projects/arm-timeseriesinsights.tgz} name: '@rush-temp/arm-timeseriesinsights' version: 0.0.0 dependencies: @@ -19629,7 +19646,7 @@ packages: dev: false file:projects/arm-trafficmanager.tgz: - resolution: {integrity: sha512-3w4+wkFe6S1S57009dFn+AWddYAy73EJhKrrFoZFtgKcY0c9WiqHxQrNqibyB7VMUsGOy3czFdp9+maYnNLuoQ==, tarball: file:projects/arm-trafficmanager.tgz} + resolution: {integrity: sha512-PXGzoriUH8pOZxxsnbDoYkn7UhQWLC0bydW1uXW1aKQNnSZhEWiQ7ebW+kTvJks40b4beaQXfho8nmv2EUI/yQ==, tarball: file:projects/arm-trafficmanager.tgz} name: '@rush-temp/arm-trafficmanager' version: 0.0.0 dependencies: @@ -19657,7 +19674,7 @@ packages: dev: false file:projects/arm-visualstudio.tgz: - resolution: {integrity: sha512-eT8xtQIsuBs4dl4SC+wYDSHgOLuwoyXDb4ponzU+ApjB6tW9nH4qZ2szxGA+u9I7Aur1bhTxE+OEAGArip4e3Q==, tarball: file:projects/arm-visualstudio.tgz} + resolution: {integrity: sha512-ZTBQ5hiO3FmkzfGVnh7eWH2t1rK9fuYbfs4Jh7id9eIv8Uool03CuqDX3HVWR4ybdNtvrO4eW9hxoBulKf43Qw==, tarball: file:projects/arm-visualstudio.tgz} name: '@rush-temp/arm-visualstudio' version: 0.0.0 dependencies: @@ -19686,7 +19703,7 @@ packages: dev: false file:projects/arm-vmwarecloudsimple.tgz: - resolution: {integrity: sha512-GaQkqiFuejshJA9bJvTXwQ9sIP3aIOJbgGbgIfpoQDWkLn/2fRrsE5bZYqoDQ2+RTxzUFsQcPRBiQrd3UD8k7g==, tarball: file:projects/arm-vmwarecloudsimple.tgz} + resolution: {integrity: sha512-iSBoVhQA4YidmDMKm5kXY8ySPBPBPBgbAevjzOoGc0G1am+dmDY2Nrg4rh3WMXPQvKQZzYGEdBi8c31RyBFNaA==, tarball: file:projects/arm-vmwarecloudsimple.tgz} name: '@rush-temp/arm-vmwarecloudsimple' version: 0.0.0 dependencies: @@ -19716,7 +19733,7 @@ packages: dev: false file:projects/arm-voiceservices.tgz: - resolution: {integrity: sha512-nQ4UThLd993Hrj5rgnzcn74jgMoj260kjTtnS2ZFoEs9ZUCLxWDEvVLvMAE7WSUQfJJhdkZYxnOjdvlpk9MNYA==, tarball: file:projects/arm-voiceservices.tgz} + resolution: {integrity: sha512-wjwC1xcsilmM1swl1/rQGu9soDeSlOBUAAKyU682ZVRaqlmqAQf0+Vls59qjnWolQncabYq8pGESLpPq+RqcGg==, tarball: file:projects/arm-voiceservices.tgz} name: '@rush-temp/arm-voiceservices' version: 0.0.0 dependencies: @@ -19746,7 +19763,7 @@ packages: dev: false file:projects/arm-webpubsub.tgz: - resolution: {integrity: sha512-M/la3E8Hmbf4jUjZuJHlcFwh8mj6IwL1DkUhsZPTI8PShkyt62ED0eqkYSjH7Rk3d9eqejzt5ml5kqOD83PVXg==, tarball: file:projects/arm-webpubsub.tgz} + resolution: {integrity: sha512-lDb8BncJGdS8FUQu/OSJfYYzkygPPqZ0P1BJqupO74IWVIAHz8qvMsb16bk0iaVt0S1S1sFUbwRHXYQGtypTrg==, tarball: file:projects/arm-webpubsub.tgz} name: '@rush-temp/arm-webpubsub' version: 0.0.0 dependencies: @@ -19776,7 +19793,7 @@ packages: dev: false file:projects/arm-webservices.tgz: - resolution: {integrity: sha512-ekHUB6FuRw8WckbapaHoIrOBNkM9pyMYpvh3eAoLdJuXtuB+sWhi5AkbqMAAOmG5eTIFVcdFerLM9mF5oe7BpA==, tarball: file:projects/arm-webservices.tgz} + resolution: {integrity: sha512-ZqhbL8SHzp/8DMRisACAogpghLDGbI2CfjuZ530M9uWKVR1/Ft6XdINfIpQuYCzz3gLSB2qhdLV7eOCRYM+Pyw==, tarball: file:projects/arm-webservices.tgz} name: '@rush-temp/arm-webservices' version: 0.0.0 dependencies: @@ -19805,7 +19822,7 @@ packages: dev: false file:projects/arm-workloads.tgz: - resolution: {integrity: sha512-Hq5iuKGfYthKhLV3MwJJnKMBmMp+VWLMrjWtyqL/Hl1oX0I3H8k3/4awBercHCF+UwBQdLZWaJLci3tc5OboxQ==, tarball: file:projects/arm-workloads.tgz} + resolution: {integrity: sha512-MUOiI1Y8zv4ZFDeN6QiFjsgEvJOOnrTbaPkqJfXZjVFmi9lPcjB4AZOEAkuGQGJ7i4foZ6XCuI3/hGXOzE6lwg==, tarball: file:projects/arm-workloads.tgz} name: '@rush-temp/arm-workloads' version: 0.0.0 dependencies: @@ -19835,7 +19852,7 @@ packages: dev: false file:projects/arm-workloadssapvirtualinstance.tgz: - resolution: {integrity: sha512-J+ADBzOKzJs4zOtj19h6zmBJyHdkxMTLzNw6IaXcN7NXmW47p3RxNcmd/Q7Pibowv4MT4bdbbJilJk8rNsMSBw==, tarball: file:projects/arm-workloadssapvirtualinstance.tgz} + resolution: {integrity: sha512-di/H4LlEHmsyf1Te08GxWeR7n8ceyE8AP5CH9ZqwMUb0a/uNTRcDRbb+iY3rBV2iSJLJh4GoSF6i38BsXRLNfQ==, tarball: file:projects/arm-workloadssapvirtualinstance.tgz} name: '@rush-temp/arm-workloadssapvirtualinstance' version: 0.0.0 dependencies: @@ -19865,7 +19882,7 @@ packages: dev: false file:projects/arm-workspaces.tgz: - resolution: {integrity: sha512-x/+dVXfl8FOWCby3FJpwv+qJ73zZVXQArVInVWkY5yar6KmCrN9qxfkLqMESzwPj7cgM2xjBj5j9/lbWa9/Mwg==, tarball: file:projects/arm-workspaces.tgz} + resolution: {integrity: sha512-XzL5da44qxz0ss5sVZ6p89qKs9IH1FTSLHgBh0JgyGZ8HPgM+qFqDtwgaOG+1weAw4GEcPqOH/sNcDBvieDTKg==, tarball: file:projects/arm-workspaces.tgz} name: '@rush-temp/arm-workspaces' version: 0.0.0 dependencies: @@ -19892,7 +19909,7 @@ packages: dev: false file:projects/attestation.tgz: - resolution: {integrity: sha512-l+kGTQVwItgb1fkO9koHefDga+zYn/Rs9d+m8yj02ZPSFOd0a2T9qhHFbXEj7t2uGU1+uiyOBpCrR/Z/45O9+g==, tarball: file:projects/attestation.tgz} + resolution: {integrity: sha512-Cjg+kS2ubVU3V2eKpeOJd9s8k/Afy+Euf0UznscBQQ/p6OhDLcAP3YfVAUSVtoWZCMkeMdEFl2EVs7yeNJ3SDQ==, tarball: file:projects/attestation.tgz} name: '@rush-temp/attestation' version: 0.0.0 dependencies: @@ -19943,7 +19960,7 @@ packages: dev: false file:projects/communication-alpha-ids.tgz: - resolution: {integrity: sha512-GxF9Mrz2Z52WGtnDFiI52dk1UfiaENxco2vJOMdk8rO6EBPSkNzXMpdRI4VNyxdYfTsU38l43fd2J0QVZ3E3dQ==, tarball: file:projects/communication-alpha-ids.tgz} + resolution: {integrity: sha512-Hst9jYwgYIXxOkDOJ3g/8fF2DUb9ufY/6eJf9Li8cszU6rUWkqF3UarbSNtqsENlgkMn8nc38eDR+I062XhlYQ==, tarball: file:projects/communication-alpha-ids.tgz} name: '@rush-temp/communication-alpha-ids' version: 0.0.0 dependencies: @@ -19986,7 +20003,7 @@ packages: dev: false file:projects/communication-call-automation.tgz: - resolution: {integrity: sha512-3WzCsKgqaPTjWBwgZqFPVk6LdO5xnS72jN89U8lgBhi59FFvRYEowDILAR1bTIMN4nGmVC7HB5rkt4Proj4KTg==, tarball: 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} name: '@rush-temp/communication-call-automation' version: 0.0.0 dependencies: @@ -20032,7 +20049,7 @@ packages: dev: false file:projects/communication-chat.tgz: - resolution: {integrity: sha512-SW3kV3WMqR2jh2SEqertR+xUpkCSMuj8dhH4sBgSrSpkj2rL9bkr6mILw0YJ7+e63+Cgl0yqFTaIUfYi3fZycA==, tarball: file:projects/communication-chat.tgz} + resolution: {integrity: sha512-sMoxDYWNcQKW8VwXQm9X3lc9YBPpuVYJys7lUiudV7lxDZNPbfsZ0x3v7u3S/W4IIJQku3EHzx1lCsi6E7pyUw==, tarball: file:projects/communication-chat.tgz} name: '@rush-temp/communication-chat' version: 0.0.0 dependencies: @@ -20081,7 +20098,7 @@ packages: dev: false file:projects/communication-common.tgz: - resolution: {integrity: sha512-gNfo/2cMkO+kKl5G7MFLUTNujIhJ0eZDWh9k4NTc/l41ajcIpGhFqkCeoqIx2U6QGkq0JqILeNpdmxp40T3RLg==, tarball: file:projects/communication-common.tgz} + resolution: {integrity: sha512-dq2CHqJUj7/jCzwrfvlplosHFpgenNZlnuVtj7P34AjaLKYV3JvkeuAo1I6nRgxf08AnByPplCKgGZMcgvicpA==, tarball: file:projects/communication-common.tgz} name: '@rush-temp/communication-common' version: 0.0.0 dependencies: @@ -20126,7 +20143,7 @@ packages: dev: false file:projects/communication-email.tgz: - resolution: {integrity: sha512-OuCJlT8sUnZ9SsPiqOGk37mDBzEMrl+te6kMREDsr0h8T+kxKGVoeol/fzBU1IBfVL7MpG/5pETgOX0pz1y64Q==, tarball: file:projects/communication-email.tgz} + resolution: {integrity: sha512-x//4ITCLpNDIhQGqn3kWrqEVNnHZqEvT9lj0TxPOQ60XAP1Ff0nsqBMXB9bWPnHRbN+DmHJwzQVyDJkczBKfuQ==, tarball: file:projects/communication-email.tgz} name: '@rush-temp/communication-email' version: 0.0.0 dependencies: @@ -20167,7 +20184,7 @@ packages: dev: false file:projects/communication-identity.tgz: - resolution: {integrity: sha512-4RZHTKD7N4AA8CrjL3Jn+gpIsZzhMqlENpsINrwJNTw9e7ZG6IFG5yOOl7a4PD0tKfscHslLQmkInvwge2hSoA==, tarball: file:projects/communication-identity.tgz} + resolution: {integrity: sha512-CaqJYe9lUMXxkmwkscjMGHgfHrgSoexwfvwzG7VSKwHx77v8c+CtLjyC24ztLyjHXzflYWB6I8rL6uV4TvpYhg==, tarball: file:projects/communication-identity.tgz} name: '@rush-temp/communication-identity' version: 0.0.0 dependencies: @@ -20214,7 +20231,7 @@ packages: dev: false file:projects/communication-job-router-1.tgz: - resolution: {integrity: sha512-Pf7ZICd8zVOyvR9ic3p3osOAwEa8SW++iZMvexgtDYUVj4LGM4+B8jwQT+5eyFQfLWAA9FkD/jtS/9BOFfTuvA==, tarball: file:projects/communication-job-router-1.tgz} + resolution: {integrity: sha512-l+/94wTOHY/DWKf+pdg4pCnjpyNX2CAAHzpvLYTDKSGwk3MDRejHyueAUOHmdogB5wM6Z+D4XUEwOpUV7VTWBQ==, tarball: file:projects/communication-job-router-1.tgz} name: '@rush-temp/communication-job-router-1' version: 0.0.0 dependencies: @@ -20261,7 +20278,7 @@ packages: dev: false file:projects/communication-job-router.tgz: - resolution: {integrity: sha512-dwGWuO/CWPbaFAQDrWofCCHKpNsrpclkRyRcr4Sy9J7UZ2n99Zhrr4E/pBqqahr0lH5fJdbhqRpt2GnPXC1hVg==, tarball: file:projects/communication-job-router.tgz} + resolution: {integrity: sha512-xRuR+PV9qOmg7+H4nEn0dRLdBf2p8e9pBK/ERM+hKXV8bbchzukyM2MeGL+zy4jy1j4Ar+lz+OLpXY2FotlkCw==, tarball: file:projects/communication-job-router.tgz} name: '@rush-temp/communication-job-router' version: 0.0.0 dependencies: @@ -20306,7 +20323,7 @@ packages: dev: false file:projects/communication-messages.tgz: - resolution: {integrity: sha512-cJ+fNIlvMa0D7PzceBoIW4vxkLKrEWB5KyuhwtLRIljU/B08vmrBV9VrsqNgQelE2bnZfeVWZyIDRxwNCsfMBA==, tarball: file:projects/communication-messages.tgz} + resolution: {integrity: sha512-eZvl3T5xmJk+A4A0UFqTpxYV4TQ5eVeOwAOHXMtnZuNFL3FDDET93Ha7Wn+7UaO3nRbAjVjIu+MhaWRXz9r+2w==, tarball: file:projects/communication-messages.tgz} name: '@rush-temp/communication-messages' version: 0.0.0 dependencies: @@ -20351,7 +20368,7 @@ packages: dev: false file:projects/communication-phone-numbers.tgz: - resolution: {integrity: sha512-s+FoHrqA5LFGwD9PbAxmLoARPDZNroSaaGiZkwvLfOT6StsapePnnjLCxiGh1FHTmmuUZOO3+mPoZsoCMdn6rA==, tarball: file:projects/communication-phone-numbers.tgz} + resolution: {integrity: sha512-39/ssP69pw/1OYF2BbJwDdWwEBHKaoGPaapMW5wP2y88dSbJi90RP5fYhTL5AhzErpIgF4jjmY43WsKLT2yJ0g==, tarball: file:projects/communication-phone-numbers.tgz} name: '@rush-temp/communication-phone-numbers' version: 0.0.0 dependencies: @@ -20396,7 +20413,7 @@ packages: dev: false file:projects/communication-recipient-verification.tgz: - resolution: {integrity: sha512-raToxpwaZhkvNijRM5KQQPeyFNNPHPB3xCvpGP8T3400EEbZK8/AXhExgGVfsiWPIh+0T0Qgc4Dc+ZR3ESVM0g==, tarball: file:projects/communication-recipient-verification.tgz} + resolution: {integrity: sha512-pc3kCkUSWUxzjslJkVNVN7jyvmolZPxasuILnp9T49K/ntrcPhLf9HJ/NXpGI30F8sSuBAElCksEiLFWqIYf/g==, tarball: file:projects/communication-recipient-verification.tgz} name: '@rush-temp/communication-recipient-verification' version: 0.0.0 dependencies: @@ -20442,7 +20459,7 @@ packages: dev: false file:projects/communication-rooms.tgz: - resolution: {integrity: sha512-dJUJiVv/PWc8+Daf0d8MK849btRZ6mhKUe9fY8KzDw40szhLu+O4U8geDwVF8aVkMxOg3V0Ve00wVv1+IDMXjg==, tarball: file:projects/communication-rooms.tgz} + resolution: {integrity: sha512-9WzQ8V3bJICGPHvdYp3lr6jnILw7/c3reSRf3pRhpx/Zhq4mXZD19DDf2C+XgkDqYOd0zg0i0Bf6R+n+AdqvZA==, tarball: file:projects/communication-rooms.tgz} name: '@rush-temp/communication-rooms' version: 0.0.0 dependencies: @@ -20477,7 +20494,7 @@ packages: dev: false file:projects/communication-short-codes.tgz: - resolution: {integrity: sha512-Z8LbaHRpitiRHE0hKhjCvlj+mod3lSVab/4sFMz+dINjKLgLK0EkBBKOV1vjSLrm73aB2B0DMrYiQwVM2jVgHg==, tarball: file:projects/communication-short-codes.tgz} + resolution: {integrity: sha512-AvToJvBPGoASzpJvShcF77cxKbXU0SHM1pRrkfhp0SDirGjZcIsYmm6i/sw0URcKocMAONdvuFRKF2DZOhIovA==, tarball: file:projects/communication-short-codes.tgz} name: '@rush-temp/communication-short-codes' version: 0.0.0 dependencies: @@ -20523,7 +20540,7 @@ packages: dev: false file:projects/communication-sms.tgz: - resolution: {integrity: sha512-pTwpMsQDUm8RmgL7Q3aJEuUPnfWeW0GNREITnHUSmDCHCy0ccDzswE759KBr4o5K7VAQhcNVYC85ybVQI27b8w==, tarball: file:projects/communication-sms.tgz} + resolution: {integrity: sha512-Ant+j9sEeDP7tdIEXmLQUqBlxB6gMrBU3Z9yWqGqj20DFv3NHKvcpsucAo0Or9X3q7wnFetfSH7jw/vn0PMQTw==, tarball: file:projects/communication-sms.tgz} name: '@rush-temp/communication-sms' version: 0.0.0 dependencies: @@ -20568,7 +20585,7 @@ packages: dev: false file:projects/communication-tiering.tgz: - resolution: {integrity: sha512-+/lUuj5yujLBlGX7mWu9gPvK8EeeMos07LYd7d+ec+GE5CRWS8nqDFzdv/hMY6w/pi9pFYsMZfhD8wkwfppwRw==, tarball: file:projects/communication-tiering.tgz} + resolution: {integrity: sha512-QuvJOfyK77/npH1OhEMm8tvqXruLnJRDOMML/vSbYxM3QBm83cQQfAM6HHzxNW/JfSNEm9Q+hO0ciKZ71wjVEQ==, tarball: file:projects/communication-tiering.tgz} name: '@rush-temp/communication-tiering' version: 0.0.0 dependencies: @@ -20614,7 +20631,7 @@ packages: dev: false file:projects/communication-toll-free-verification.tgz: - resolution: {integrity: sha512-QL4+IMRWHCSn7IL67HsgXcIcrKUHvvyfrRxh9ZGOrAg5R6UaDlwAcv7vhLq5/xPL8yoTk1jiJaPe9ItsjCHHkg==, tarball: file:projects/communication-toll-free-verification.tgz} + resolution: {integrity: sha512-KkLg37Pnd5NU5R4EZDOOYfZnWdcb0YwELa6T4DNuR/TE3umc8n6zh1xDbwEZw2RH2Vh/ng9R3Q+cc6NNTueQSQ==, tarball: file:projects/communication-toll-free-verification.tgz} name: '@rush-temp/communication-toll-free-verification' version: 0.0.0 dependencies: @@ -20657,7 +20674,7 @@ packages: dev: false file:projects/confidential-ledger.tgz: - resolution: {integrity: sha512-IeHVnoNcL68++YYDWRh2Cbt2e0KQfdL2yhjpvPTNH9Cj9lzmSgrxdN2a/Tq7u5fYXYCqEb7wl2xV4IpIg0pf9w==, tarball: file:projects/confidential-ledger.tgz} + resolution: {integrity: sha512-eFCaoAk2IGaA53SIsOtHu1yJHxoZ1tADhuuw2VY0iFlavHw2BpCiuYYpjE/eQOHIKZlDQDT+fIeLUlPsSoAxGg==, tarball: file:projects/confidential-ledger.tgz} name: '@rush-temp/confidential-ledger' version: 0.0.0 dependencies: @@ -20687,7 +20704,7 @@ packages: dev: false file:projects/container-registry.tgz: - resolution: {integrity: sha512-eSjgV03PUYSzyFVQ0po8aFst87AwDjron9mIonwDGz3odxtGYM2KoDis+6jchKNDRRA4wi9r73RB3bqj72JDsw==, tarball: file:projects/container-registry.tgz} + resolution: {integrity: sha512-PoAp2X+TwZonURuPRPOkOu0N+ZIkLOQ1Ih0GnuWvKIgn+9MqQGy1hw91qpLOXMzPDifDnSIKIh/bqNX743igoQ==, tarball: file:projects/container-registry.tgz} name: '@rush-temp/container-registry' version: 0.0.0 dependencies: @@ -20730,7 +20747,7 @@ packages: dev: false file:projects/core-amqp.tgz: - resolution: {integrity: sha512-ZjYrx5v04yA7RExHNqNQkXV/+B21xqySJj+SbYbdkjSTMtmyBMipPz7X2kkVIRjuU7E6w8/gl2ZhB0gvRd4HcQ==, tarball: file:projects/core-amqp.tgz} + resolution: {integrity: sha512-VeXTJC8jYIwaV9tCJLa8bAKkryIfLDqpI+1aVbAFscah+heh/D3WVOEfCZpzCdPMiL10D8CLehidNmO6NpbCQg==, tarball: file:projects/core-amqp.tgz} name: '@rush-temp/core-amqp' version: 0.0.0 dependencies: @@ -20776,7 +20793,7 @@ packages: dev: false file:projects/core-auth.tgz: - resolution: {integrity: sha512-9VWQfgxgTaK84wuHGrS8uoaCRHfvvgHHMDavE11Jt8Y3Ocv/1qU8X87aQ4r3mfbqpCsxEgeGIvcT+tf1Gp6PAw==, tarball: file:projects/core-auth.tgz} + resolution: {integrity: sha512-7iyjse2g7WxtxBmF6zCY3c/2bMCKAHe9QBpYOo7c+2pJO98i1lngl7kAcTV/mIFHa9o38r7TLhk5sYrIXNMSBA==, tarball: file:projects/core-auth.tgz} name: '@rush-temp/core-auth' version: 0.0.0 dependencies: @@ -20808,7 +20825,7 @@ packages: dev: false file:projects/core-client-1.tgz: - resolution: {integrity: sha512-0nYbq5NuDug7JjQf2cPbnGU5j08stiIYVshxJNET9rY/c3wV4vaLjZz0AB4hH+dMqMPaYS0GtjTc6sEHU2pZRg==, tarball: file:projects/core-client-1.tgz} + resolution: {integrity: sha512-2mV5ZllE/yavgjDaezjpzGs06hbMWyCjd1pOO0P0kiziccxKDv4OyxkDHzeJkHB6hW0RIWnWUXH4ZhK9/J7nJA==, tarball: file:projects/core-client-1.tgz} name: '@rush-temp/core-client-1' version: 0.0.0 dependencies: @@ -20840,7 +20857,7 @@ packages: dev: false file:projects/core-client.tgz: - resolution: {integrity: sha512-KKsaxRn3nqcO11eDCJAvyzxuV+IkVV251+BFvni4DqfnYpROKS5WQKDFKaV46JHXRxxkaadsj/lqSQhq/jkphg==, tarball: file:projects/core-client.tgz} + resolution: {integrity: sha512-fymVoajwSZvZH++oNT9jJHybX3UF9qJyenhnh/vYrc5fPEK5kJzzMh7XNSrusyQf44fCXlMW8IppYBAidKKBhA==, tarball: file:projects/core-client.tgz} name: '@rush-temp/core-client' version: 0.0.0 dependencies: @@ -20872,7 +20889,7 @@ packages: dev: false file:projects/core-http-compat.tgz: - resolution: {integrity: sha512-RE2tHJrgZB9ibLcOSohoO5CU6OrTaAoeXHIa4NX+VfGNupmsXxjz8n9pCyziNalKNNxUoxXOI82sVE/Qz1NcPw==, tarball: file:projects/core-http-compat.tgz} + resolution: {integrity: sha512-mq+o1iBTSxisXhAjPLeV3RZe+hM4uefe1A6gn1pQcGydEpuPy4AB0vXLINpWe5BMT3vY26/pXVzq1OvUNm6DIg==, tarball: file:projects/core-http-compat.tgz} name: '@rush-temp/core-http-compat' version: 0.0.0 dependencies: @@ -20903,7 +20920,7 @@ packages: dev: false file:projects/core-lro.tgz: - resolution: {integrity: sha512-fxatJCYwyEZIIBoNeYNb4A7aH95Aigb3phSM6Ijp8GQRAPPYtsXY1DypmsyTQs5BDrX3Lh02C3xAVVblKLL73g==, tarball: file:projects/core-lro.tgz} + resolution: {integrity: sha512-AwF0waUo4lgqxSlKWqA6Jey9O8wchTNuGHkzykZEHIZBPUMpoUL4IvOs1X3AzAGohMa0KokCpBQojA3n/oxlmg==, tarball: file:projects/core-lro.tgz} name: '@rush-temp/core-lro' version: 0.0.0 dependencies: @@ -20935,7 +20952,7 @@ packages: dev: false file:projects/core-paging.tgz: - resolution: {integrity: sha512-ox65afz9MB+T9Zj90giklpPlMDRiFNUHmOFWdsP9JR58igmrBvduJKdHnejmF9jjIPLOFYDnEOZA2k90VLttIw==, tarball: file:projects/core-paging.tgz} + resolution: {integrity: sha512-ojU9hbVYB9SegNJi6c4Zj1tX1/w1FMs75clNvRzn3al1wOCTdVdNJR4CHkywNqPR2Ga7axAxvWvs1F9v1P/iog==, tarball: file:projects/core-paging.tgz} name: '@rush-temp/core-paging' version: 0.0.0 dependencies: @@ -20967,7 +20984,7 @@ packages: dev: false file:projects/core-rest-pipeline.tgz: - resolution: {integrity: sha512-ASxYbT0SGucrUXvwB5yal4vaqAUZ6uvnBYCaniBxcuc4CnYwBAWE55Fg8weLdOaQ6A69wsObhUjTu4UDGfqpiQ==, tarball: file:projects/core-rest-pipeline.tgz} + resolution: {integrity: sha512-6WcA4ar0BJxVKcnmNb46JLNJrVc4Su+5sCRxYKaqE66pOKvmYf0Dd1TwAH4Sd9qdY48nnfivO2VDi6J6T7U+Jg==, tarball: file:projects/core-rest-pipeline.tgz} name: '@rush-temp/core-rest-pipeline' version: 0.0.0 dependencies: @@ -21001,7 +21018,7 @@ packages: dev: false file:projects/core-sse.tgz: - resolution: {integrity: sha512-3CN7Pjj4NLytg11Ez6OajHQmrXgs0ybUVTzdrQYztBoJYdUPRTqSWOdUci0Z6NkoAb+v+Q8f/w1smeqTNBAAbQ==, tarball: file:projects/core-sse.tgz} + resolution: {integrity: sha512-AuDhXgVXu9jSYj/ZsQGCMi72EQjNfzFy6lAnBQ54kQtOYXafVlPWIUBMFtw7fJCZMX/muevalrGZkxpZyr5y7g==, tarball: file:projects/core-sse.tgz} name: '@rush-temp/core-sse' version: 0.0.0 dependencies: @@ -21034,7 +21051,7 @@ packages: dev: false file:projects/core-tracing.tgz: - resolution: {integrity: sha512-HULrg+t9TvBIa5EUmMAXtQiETAuw0o7UsgK2c5V1DrhGLDedJJETvzPgjJXXgnGq0DJRJgY9H12ElKzb1qWx3g==, tarball: file:projects/core-tracing.tgz} + resolution: {integrity: sha512-bHuJPXtp+OvVMH1KVhHTHZTgr2Q/ND+kpT57ZzUhZq84NWUUYEp6tfkbiGGqeZ6V/F2j6/daYM84XaVqdsdS8A==, tarball: file:projects/core-tracing.tgz} name: '@rush-temp/core-tracing' version: 0.0.0 dependencies: @@ -21066,7 +21083,7 @@ packages: dev: false file:projects/core-util.tgz: - resolution: {integrity: sha512-AK6a/OcUEuDGGCZiPw9nJlQ+48une2YsFOqHTIDtxSemMnjhnTSv/ETtMM3cJGCnqgRFTxyJ2UN2sGMpH1v7MQ==, tarball: file:projects/core-util.tgz} + resolution: {integrity: sha512-mgR/sT3WvDHz/psArcyZJjU6KrgRSuPos68HrEjHUv8JTe6TT48DDlVqnZnKc71w09CxZpdIu2N3V6SvYT1vpQ==, tarball: file:projects/core-util.tgz} name: '@rush-temp/core-util' version: 0.0.0 dependencies: @@ -21098,7 +21115,7 @@ packages: dev: false file:projects/core-xml.tgz: - resolution: {integrity: sha512-a1zwuH3CEl/Lb9O0LSM1pE1FdtXo558qbCfOQ24nohMyy1l7+L9cIJsHIdb1E2tCBcmXjEa+tco89B6Qit50dQ==, tarball: file:projects/core-xml.tgz} + resolution: {integrity: sha512-8MDEt8UlVs4wVG0s9KiMin/U+0RcwA4RvWH+UKnV6dtHNzlPk7DyTSDJwp+3vZR9DN+KR8dlGX7Yx26mSiIcbw==, tarball: file:projects/core-xml.tgz} name: '@rush-temp/core-xml' version: 0.0.0 dependencies: @@ -21132,7 +21149,7 @@ packages: dev: false file:projects/cosmos.tgz: - resolution: {integrity: sha512-4T6aUKuID/YUr6KlCqT6aE2OsbJGosLPxxt/OY3VyPSstF8HgIsXM1HfyWvCpJ1362PhTlX1WaBvVxlVyYZYPQ==, tarball: file:projects/cosmos.tgz} + resolution: {integrity: sha512-6JYVV/edBloz/AlX/hsaHWjnJry75gDvuUiRWs5DGUE44RI7IYxH8qer4cOjqpwTie86waUEf8Bfo0zgNYCZsA==, tarball: file:projects/cosmos.tgz} name: '@rush-temp/cosmos' version: 0.0.0 dependencies: @@ -21173,7 +21190,7 @@ packages: dev: false file:projects/data-tables.tgz: - resolution: {integrity: sha512-uQSpb+axAGR2DiEFq3AMMNAKxHLjZkD8sE5X4K8XidvFweUv1dRdOayMaSDDNdJo4R3dffWw4+Jfs8438o5XKg==, tarball: file:projects/data-tables.tgz} + resolution: {integrity: sha512-0k9NnYVxTlxr90N8QDS6wWZ3748dwnUv3xFk02PWpnt0Gq4pGyc6XoV0mUEmqJuT0udPnp604zLUssa1Fjdu3w==, tarball: file:projects/data-tables.tgz} name: '@rush-temp/data-tables' version: 0.0.0 dependencies: @@ -21217,7 +21234,7 @@ packages: dev: false file:projects/defender-easm.tgz: - resolution: {integrity: sha512-JhUtBnCSyefgcaH4yHS9vFQBO64YTZuqRNH+KJEn034pE+9rZFg111XeCE7TTaocM0eCq4GBdmKo/j10+Kaq0Q==, tarball: file:projects/defender-easm.tgz} + resolution: {integrity: sha512-rvBnctSZ1zRdF13oUGU6cvV6Hw/xCuv7PZ/g+fSeupgkM+BYJOY7SJ8nEODkIwD7DMKYOPN1GSSRd6rQPf655g==, tarball: file:projects/defender-easm.tgz} name: '@rush-temp/defender-easm' version: 0.0.0 dependencies: @@ -21264,7 +21281,7 @@ packages: dev: false file:projects/dev-tool.tgz: - resolution: {integrity: sha512-z9Gvg9Sjq9IevC8b6hbo2nxvosbLBw9y0MX0VOxQY/kI5+ivWEbf7uV3RmhtPfdhqmWPHnpDHUs4v68xMhi1YA==, tarball: file:projects/dev-tool.tgz} + resolution: {integrity: sha512-WQIFIHqJQQD8HLzWVI+4GDMIf5arO9bU5Qd049BOz4+IJ+QfTJVbKTPSvbtIX/2ZuYZjIguk2CxYpzLUJ5293g==, tarball: file:projects/dev-tool.tgz} name: '@rush-temp/dev-tool' version: 0.0.0 dependencies: @@ -21333,7 +21350,7 @@ packages: dev: false file:projects/developer-devcenter.tgz: - resolution: {integrity: sha512-eULjYGsf3lGIRFGnO+mh0pXpXvYJdRa6btD2NKvTgzpMkLFXi+VSFU9bi20GCf/CdyxyTJywj7wV4hZdysDyyg==, tarball: file:projects/developer-devcenter.tgz} + resolution: {integrity: sha512-jdmEUgEnU8EhQYwv7fcdq49kf844QtjHOyGffXxgT4x+Xx9wyv85dsOsrAPWpRiw1cU08iPa/NFRTHWNrlDSbw==, tarball: file:projects/developer-devcenter.tgz} name: '@rush-temp/developer-devcenter' version: 0.0.0 dependencies: @@ -21369,7 +21386,7 @@ packages: dev: false file:projects/digital-twins-core.tgz: - resolution: {integrity: sha512-4+pRlXZu4oNBk8Vp+vPMrfCS+BEA4qoLjs8eEAhjW4h97nrBUMtTqwviiDbKhx1jNzcg80sRoZPKBeaT47DYMw==, tarball: file:projects/digital-twins-core.tgz} + resolution: {integrity: sha512-znhU7vJ4nHimuS/O5H9dLFLSu9g1whygu89tf78A3GR3vdR/Tz4rHYQdtLS2oxrjBL31I+6QWi2gQaUAxKcVDw==, tarball: file:projects/digital-twins-core.tgz} name: '@rush-temp/digital-twins-core' version: 0.0.0 dependencies: @@ -21415,7 +21432,7 @@ packages: dev: false file:projects/eslint-plugin-azure-sdk-helper.tgz: - resolution: {integrity: sha512-xHpH9pq2/ySvOp5t8KNaBzNF4pcAysfUMzfOf2o+7xWwVgHaunwEpXKw6fg1zJoaJM06sjh8TpL2rTcka9yzRg==, tarball: file:projects/eslint-plugin-azure-sdk-helper.tgz} + resolution: {integrity: sha512-Tp1DeMZqynSZf8L6HV+hDb1dx1YM6z6FWmINfy7SHXC/fCD/lQih2N48qpQB05XE+lMzTy4MEn7ment8Vjt47w==, tarball: file:projects/eslint-plugin-azure-sdk-helper.tgz} name: '@rush-temp/eslint-plugin-azure-sdk-helper' version: 0.0.0 dependencies: @@ -21444,7 +21461,7 @@ packages: dev: false file:projects/eslint-plugin-azure-sdk.tgz: - resolution: {integrity: sha512-A0owIVA9YqDG8X7LQ+phP23yxojh7pQ/JoIX2xNdF1ItiZFy+5IIyAUN5QmqC7uShmAPQqL80G+J438xMuF0Ig==, tarball: file:projects/eslint-plugin-azure-sdk.tgz} + resolution: {integrity: sha512-gQHHhQ9KSmUgzqnglRt7qyEPE9g5kCzsCkuxylVDqz5zEAWMR1KinHuyfHz3B8htUQWgjPVPuUw2G8Io4sfQfw==, tarball: file:projects/eslint-plugin-azure-sdk.tgz} name: '@rush-temp/eslint-plugin-azure-sdk' version: 0.0.0 dependencies: @@ -21495,7 +21512,7 @@ packages: dev: false file:projects/event-hubs.tgz: - resolution: {integrity: sha512-ZMRObP+dRt9WwPwJpAx45iMtkorAtpvO4Yq8O2nStVgyOCCcxUb5ILTBn5znt8skZPZ9z6IUBNnVfhjI3PNK9w==, tarball: file:projects/event-hubs.tgz} + resolution: {integrity: sha512-MUvRUbuubRO/jGUN0txI7gmLF3wvEUzrDBOHoGh5m6DGDn42wRMGNN8bjoxsWhGW/Alm+U9vS1BUnJgM4TJtXg==, tarball: file:projects/event-hubs.tgz} name: '@rush-temp/event-hubs' version: 0.0.0 dependencies: @@ -21551,7 +21568,7 @@ packages: dev: false file:projects/eventgrid-namespaces.tgz: - resolution: {integrity: sha512-9PoFq2uCsWu9t+azDxQiQacowRkaO7C99Vp9k5ZVA3otIOMGtaZyMcco04bbhoH5YQjQeLdut07saZkt0a1T6A==, tarball: file:projects/eventgrid-namespaces.tgz} + resolution: {integrity: sha512-MSAg5HuRAKu7XbLpnnpG8gJKF0oe8x0IB7hcWXhwWftzHuthv64uCJ/pzelKlDFxlmMFC+mtSrXNbJJ53SsWjg==, tarball: file:projects/eventgrid-namespaces.tgz} name: '@rush-temp/eventgrid-namespaces' version: 0.0.0 dependencies: @@ -21599,7 +21616,7 @@ packages: dev: false file:projects/eventgrid-system-events.tgz: - resolution: {integrity: sha512-+PlaZmzoItgLPloB0EJh3W+kkB0Sq/oYt4fBLJ/OGdhIEIQYJIY6d4sG0zvsAL3TmJbA0LnKTHyxVHRbdzJDfw==, tarball: file:projects/eventgrid-system-events.tgz} + resolution: {integrity: sha512-8WbGkXYl2meq4wlzgQHRvsUFiHOXS1XABhUJIOPb05FXEpHaDaf72phWQYUuaFUjPEMjJUPw3D70mgoDaDQQqA==, tarball: file:projects/eventgrid-system-events.tgz} name: '@rush-temp/eventgrid-system-events' version: 0.0.0 dependencies: @@ -21647,7 +21664,7 @@ packages: dev: false file:projects/eventgrid.tgz: - resolution: {integrity: sha512-d/axieyfjMweYvEOcRvhXbAG9YtIImODSEF8zPwZVBuh6jiy/eLS/jYJe+twQyd58TPx176KPTqSCiw1GncRjw==, tarball: file:projects/eventgrid.tgz} + resolution: {integrity: sha512-/aIxYWOUqFBmzyifimWB/SUZaSdEp8CoZTZD9/kw/el9YvVs9VcAr8BHvvwZTMy3MflejabDNLAnKnwyoKYkBg==, tarball: file:projects/eventgrid.tgz} name: '@rush-temp/eventgrid' version: 0.0.0 dependencies: @@ -21691,7 +21708,7 @@ packages: dev: false file:projects/eventhubs-checkpointstore-blob.tgz(chai@4.3.10): - resolution: {integrity: sha512-8hRMm5D8/eeF7vvvAmpk+H40H3l7mnxY5GX20cXbtc2j83xnbZCW/ToYk4N+Dd+XyEWTqPlNkWT1Jt1t/r5V+Q==, tarball: file:projects/eventhubs-checkpointstore-blob.tgz} + resolution: {integrity: sha512-1X4Kwz5MwrZWX5mCWb35W1TfkWTD0hr5qRMZooykf5TJ7+MlCWQXpj5/h3I/HGI7pkHKzmJt3GAJl+kRNrJxgA==, tarball: file:projects/eventhubs-checkpointstore-blob.tgz} id: file:projects/eventhubs-checkpointstore-blob.tgz name: '@rush-temp/eventhubs-checkpointstore-blob' version: 0.0.0 @@ -21742,7 +21759,7 @@ packages: dev: false file:projects/eventhubs-checkpointstore-table.tgz(chai@4.3.10): - resolution: {integrity: sha512-A31PNXmLq8hzoouMHp9p2LMvk/E6Hko60lHPhDVRSKgNChgKyC3/DkYqHwOgB5igi0XCCx17CLMTFBQZSgsTcA==, tarball: file:projects/eventhubs-checkpointstore-table.tgz} + resolution: {integrity: sha512-ZYWb0Tmg+lu24w8eBjn+HVc2Nu2s+USiylXLLXWopx1u7UyPqf8Dy+RhMBa2RZ0RCz9j51/uNJDga/nIehuh8w==, tarball: file:projects/eventhubs-checkpointstore-table.tgz} id: file:projects/eventhubs-checkpointstore-table.tgz name: '@rush-temp/eventhubs-checkpointstore-table' version: 0.0.0 @@ -21791,7 +21808,7 @@ packages: dev: false file:projects/functions-authentication-events.tgz: - resolution: {integrity: sha512-HQOnyBSn4Dew4tzB4kwnmnm3hyfj1wb3fbdPE/SnYOzzn+9DK7/vK+gVsSwTVTUqOyr7RLxFYIThyyrRttTbzQ==, tarball: file:projects/functions-authentication-events.tgz} + resolution: {integrity: sha512-aApTAGIYOhQDXKLIYOVHwMjF3f5Zvlr2g33Oizc4aQQ9oRDztcJDp5KHBEtV+pcMOBzE3uXMJhbpmBf8THjEpw==, tarball: file:projects/functions-authentication-events.tgz} name: '@rush-temp/functions-authentication-events' version: 0.0.0 dependencies: @@ -21836,7 +21853,7 @@ packages: dev: false file:projects/health-deidentification.tgz: - resolution: {integrity: sha512-Oq0jsnfYpet5FzCy28OoBfDRTtnEfYN31tYqGenIItoHjikGAgt0hu/FEZWNxcSnYNuIW9T7WRSBVmheeLr7ng==, tarball: file:projects/health-deidentification.tgz} + resolution: {integrity: sha512-vSRaQJqMh0srWkkYRCfiG0ShE+6AqlRoDugGBg5hbt5EdLgM2VvwO7fls4mC5YnZ+eiV5TknyYuHmkZ0JM+LWA==, tarball: file:projects/health-deidentification.tgz} name: '@rush-temp/health-deidentification' version: 0.0.0 dependencies: @@ -21872,7 +21889,7 @@ packages: dev: false file:projects/health-insights-cancerprofiling.tgz: - resolution: {integrity: sha512-qZASX+wdO+x8kPONr0yOUPpZcNw0IKUZFINTfsCFzJqNibiod7Ap9FxZt0n3vOBbEHAf/BSiF+IzddBfO7iqkA==, tarball: file:projects/health-insights-cancerprofiling.tgz} + resolution: {integrity: sha512-iaLOhJmMJm++SARTYyq0zF/HqQOt+X4cthNz+4HPsorM9Vl3l4CfKQGx7D54XNpJMxnXls+/W/ibLNrXluGHhw==, tarball: file:projects/health-insights-cancerprofiling.tgz} name: '@rush-temp/health-insights-cancerprofiling' version: 0.0.0 dependencies: @@ -21919,7 +21936,7 @@ packages: dev: false file:projects/health-insights-clinicalmatching.tgz: - resolution: {integrity: sha512-QNp0IcY46zw6+LB5UIh6MjD6gs/oXIiwjNtXDmWmYxhssBvu3GayP4K6Ut3SFvTd7xn579W/3WeQZDbDBIUlpQ==, tarball: file:projects/health-insights-clinicalmatching.tgz} + resolution: {integrity: sha512-G1r3XaWFx8dG1fjDTjL0baWEuJK4GyNTWgHIiwOrcwGqrtv6FvXh95VfrV8rtbvYHVRH8GL7uUaSY3B3ufJiow==, tarball: file:projects/health-insights-clinicalmatching.tgz} name: '@rush-temp/health-insights-clinicalmatching' version: 0.0.0 dependencies: @@ -21966,7 +21983,7 @@ packages: dev: false file:projects/health-insights-radiologyinsights.tgz: - resolution: {integrity: sha512-44JXAxsojj6fQ7ct3Sb+gX0xZfDYHMWZhDHpp8jz16OI1LV+kOFcqKuoTcNCxdP0Yl5r69V7sCA4I4bwyun4bg==, tarball: file:projects/health-insights-radiologyinsights.tgz} + resolution: {integrity: sha512-4YeJpaqgwEWqufa1UWVwYiRpuYJqfjtl97249uisM3EMwqtcEL/VEGUCiJhI8E2v+FadetiAUAtueSGeIyCdbA==, tarball: file:projects/health-insights-radiologyinsights.tgz} name: '@rush-temp/health-insights-radiologyinsights' version: 0.0.0 dependencies: @@ -22013,7 +22030,7 @@ packages: dev: false file:projects/identity-broker.tgz: - resolution: {integrity: sha512-fFxoBUwTIwp06whhm3vREJLLy5YgI0x8zABleFZDBXaCfIWLrG1+k9rNCJ8GReO1pEWaxykjoa99x/1+WkY5Gw==, tarball: file:projects/identity-broker.tgz} + resolution: {integrity: sha512-1zx9qcMAlAs9FrRCc5hPrNNqvvrf4xR60nOGTmc58FrmYCkFMoimVlOke/F11ldQPJcuslEuTCfkJch6w9YOQg==, tarball: file:projects/identity-broker.tgz} name: '@rush-temp/identity-broker' version: 0.0.0 dependencies: @@ -22041,7 +22058,7 @@ packages: dev: false file:projects/identity-cache-persistence.tgz: - resolution: {integrity: sha512-1++RRLsr+GtRBs1rH0GZl+eeBhLm0MNFvp2EkloAadieusTQKDIJw21qdbdH5ls0CkXUSkbl04cXDhXdOiWC3Q==, tarball: file:projects/identity-cache-persistence.tgz} + resolution: {integrity: sha512-8wzeg1by75ffB8iIcebu6AUA7ctKfvVciTkhQ6rb1xYKTJdK3tdinhTq3821y9g3B+L+HB/yFZXSHwYSMNWsjg==, tarball: file:projects/identity-cache-persistence.tgz} name: '@rush-temp/identity-cache-persistence' version: 0.0.0 dependencies: @@ -22077,7 +22094,7 @@ packages: dev: false file:projects/identity-vscode.tgz: - resolution: {integrity: sha512-M2xAQvSrF15o3/WtEY6CVqYJs+Sd0G51cbRaq9P49c5aw8KRfvXQUaXp9691pCjUp+ZopSPxdQGJ/YZJUpZ5lw==, tarball: file:projects/identity-vscode.tgz} + resolution: {integrity: sha512-Fby7PIWf7z+IF24dATaG5HGtv3S8CN3G4nknI6Wl4x8zg/J4zE0AOisyAWqQK9mGZOoCyphEhd7mzygPOMuygQ==, tarball: file:projects/identity-vscode.tgz} name: '@rush-temp/identity-vscode' version: 0.0.0 dependencies: @@ -22112,7 +22129,7 @@ packages: dev: false file:projects/identity.tgz: - resolution: {integrity: sha512-1Idr5tRIogSilKIpe6w5K6mskMB1ec2SSf2CzRW0Rlg4a9YHELjWHYr1Mpp9Y+asz3HfaWzsc/b5DF8dQCM7TQ==, tarball: file:projects/identity.tgz} + resolution: {integrity: sha512-AMCYfh47P+0hvh1oLAAmEg3cSGQcX02qMN9p7EzWIkAGZ5oIgdSMj7cCd+BZekAx4SEGlLp93PRrWwAVX+iHig==, tarball: file:projects/identity.tgz} name: '@rush-temp/identity' version: 0.0.0 dependencies: @@ -22168,7 +22185,7 @@ packages: dev: false file:projects/iot-device-update.tgz: - resolution: {integrity: sha512-NIgNsJXGBuXSfW4WwjQotagmMMKnamlEOPUZYptkQeCRy/3rIqc81WWSXxRau3e3TEI6Xi/KjxguY/CTzeMCBw==, tarball: file:projects/iot-device-update.tgz} + resolution: {integrity: sha512-zk2ybn46growB0yFOMyVGZQ9VxGCtcG6+uQlHcMuz77JbjC4I4uk3pwq1KtwcLLXMrvGhn0JvLbhCWfB4rWmkQ==, tarball: file:projects/iot-device-update.tgz} name: '@rush-temp/iot-device-update' version: 0.0.0 dependencies: @@ -22215,7 +22232,7 @@ packages: dev: false file:projects/iot-modelsrepository.tgz: - resolution: {integrity: sha512-BckB8vSfxgT61GGc6n0zF5nEzoE8UJeZMgvqqA/1JiniYwHn3ykExCp8kUvW64G8wpcqXcY+he+MrOoiITZlRQ==, tarball: file:projects/iot-modelsrepository.tgz} + resolution: {integrity: sha512-t60+FhsdAnE22BzXtH/yp8RKsM/wRnCUM8WnlmCDeIpjzktE2sSs0nJgi8sW/6XXZqHdZMAVX6l7Co1Jx55FpA==, tarball: file:projects/iot-modelsrepository.tgz} name: '@rush-temp/iot-modelsrepository' version: 0.0.0 dependencies: @@ -22259,7 +22276,7 @@ packages: dev: false file:projects/keyvault-admin.tgz: - resolution: {integrity: sha512-KAKxTBVa7+qfXy8br0vdhBg4lqnY+tD5zcNqJJigHlbv+4MI7SNzy9YE/DyxDJqOh+tfPTlvGE0/iXyHQvRiQg==, tarball: file:projects/keyvault-admin.tgz} + resolution: {integrity: sha512-NnrMdLiDEYD7Bkyfp2oSUh1LApsc7c+/ZRv1Sa0gFcwNyc0+90walofLCEGKbQhnDZemIyTsVT5k8xAyegX7zw==, tarball: file:projects/keyvault-admin.tgz} name: '@rush-temp/keyvault-admin' version: 0.0.0 dependencies: @@ -22292,7 +22309,7 @@ packages: dev: false file:projects/keyvault-certificates.tgz: - resolution: {integrity: sha512-syQdyV+qIoCLwdpbsJKIJZZQijA5yFKAgLuOeojwWmN/2YPkaVLNQK9Axqmnex49amruOBMkIQ3f+daYdi9iPA==, tarball: file:projects/keyvault-certificates.tgz} + resolution: {integrity: sha512-YMhCsECO5lmvUfYCSZ9/cgwO+ZpL2JCR0AVyve5TodJjGXtywaItwN1HbU3k8x6xHcg4mltRsjpu9gmqBjmsgw==, tarball: file:projects/keyvault-certificates.tgz} name: '@rush-temp/keyvault-certificates' version: 0.0.0 dependencies: @@ -22337,7 +22354,7 @@ packages: dev: false file:projects/keyvault-common.tgz: - resolution: {integrity: sha512-T7vlwIzNApKBTQeUnz+P5JNkTh2uUx3lckWyscHJqQ364ykv6dDSSECIilLHQWR0TCm+LWWpMEOuxk3RUqKe7g==, tarball: file:projects/keyvault-common.tgz} + resolution: {integrity: sha512-slnUAKh7sSMLKlC0pIWSAF2uYSB2C21JO+04y3E3qZt7hAMy3AAyZwjP1LEQyYz5yfeKGBsgM56AXUqaz9c0Yw==, tarball: file:projects/keyvault-common.tgz} name: '@rush-temp/keyvault-common' version: 0.0.0 dependencies: @@ -22364,7 +22381,7 @@ packages: dev: false file:projects/keyvault-keys.tgz: - resolution: {integrity: sha512-nhh9i78LdkrgYMvT/jgfuhooDI9ekoIAAAYn3UdywmYr6uQH31czHRsAEW1fHW8+Yncq0FJafgFgmnFFKtXVQw==, tarball: file:projects/keyvault-keys.tgz} + resolution: {integrity: sha512-VMc5bBeUvzRQsLkE3IUoUr66Lb7HkjFtTQbOlPybz/QVgsuadWc+5IX3E3d4Ap0U2LOc5IuWNQ9V72APwbnwGg==, tarball: file:projects/keyvault-keys.tgz} name: '@rush-temp/keyvault-keys' version: 0.0.0 dependencies: @@ -22410,7 +22427,7 @@ packages: dev: false file:projects/keyvault-secrets.tgz: - resolution: {integrity: sha512-IBBRr0lPUALo42NP/ao5CvKoR15VR+G19vEt5YV9ZPwmh7qsxd44tLy4PBdZ6mDxWzaUXVAtQKtVxefrCzioaQ==, tarball: file:projects/keyvault-secrets.tgz} + resolution: {integrity: sha512-VUo+oYhnsy0FhWyLastx1WWXe0lo1wVAVV//o3IYPlJixfZKU4fNVzrZ/w/5yDfHd/bB51+RmG8+wz8HFRzlfg==, tarball: file:projects/keyvault-secrets.tgz} name: '@rush-temp/keyvault-secrets' version: 0.0.0 dependencies: @@ -22453,7 +22470,7 @@ packages: dev: false file:projects/load-testing.tgz: - resolution: {integrity: sha512-2jBNN0e/ojZ4JuwLmwda6pyV37Pc3kKeYaqe6wnYmk6uyLypJq/6o2p1EKlOSB/dN4I5A8CTh8ehsdnb+7OOAg==, tarball: file:projects/load-testing.tgz} + resolution: {integrity: sha512-UVEdI4STub3eQDH51YsW5HxzBZp/YB+ovlVwawirNDIn2L6JpIVfjrlsjphxnKSM9APAfpGKpvcu7C18PdQzQg==, tarball: file:projects/load-testing.tgz} name: '@rush-temp/load-testing' version: 0.0.0 dependencies: @@ -22501,7 +22518,7 @@ packages: dev: false file:projects/logger.tgz: - resolution: {integrity: sha512-YEifo8hRqS2gPKOEhhZWpoa/0VkQQYfeHBzYXY0f1Ijz1/iOBINWzpsPoJ81Zg5IyjbMtKdoBO1GbvfkJ3mvGw==, tarball: file:projects/logger.tgz} + resolution: {integrity: sha512-QndpT+F5PaincETzvQEpL0rQDlyhscmkjRq8uZiCFF9RLsS90bO+28gbnDNZjZrJrloC7tPBPgHgR7a8KbM2zg==, tarball: file:projects/logger.tgz} name: '@rush-temp/logger' version: 0.0.0 dependencies: @@ -22534,7 +22551,7 @@ packages: dev: false file:projects/maps-common.tgz: - resolution: {integrity: sha512-EV966yIMO5f7uK/9KkDxD6VAmE5LNw7Lm1OOc73c1Mch5zPDgjeMAMtiOe1yEuVW6PaQb/Bu9LVLg5w9DiFgDQ==, tarball: file:projects/maps-common.tgz} + resolution: {integrity: sha512-Scmb3fdFE7LS6CWNHJJBhihI+8U9v1K6eM/YyqLNgRG3HCKdv5mGHiGuAimXP4phBtlNyR0yJuijZQzM1pWNTA==, tarball: file:projects/maps-common.tgz} name: '@rush-temp/maps-common' version: 0.0.0 dependencies: @@ -22552,7 +22569,7 @@ packages: dev: false file:projects/maps-geolocation.tgz: - resolution: {integrity: sha512-B32BArCBNnzAVbittEOG3gCu/Sa/lrETT49YR674Ak2amg1B0PeXHhRIOvx7WdcPdVfWLzPyERFHwaBUrCxxiA==, tarball: file:projects/maps-geolocation.tgz} + resolution: {integrity: sha512-gTtxwimbxkskwgPt9cKiYiy3iZl+RRglzPwid6UeBCxz7fVVWHRj2p1bnZ+vX/QtAbRUkb4cqXFjOpimRVGPzw==, tarball: file:projects/maps-geolocation.tgz} name: '@rush-temp/maps-geolocation' version: 0.0.0 dependencies: @@ -22598,7 +22615,7 @@ packages: dev: false file:projects/maps-render.tgz: - resolution: {integrity: sha512-mxIGWKhN6Wd9Vse/Cw1czC0pd0AELj30/E2Y3KCQz2sYv1qjLNUkhVV3AfN8kAjdbTKgPlLu3K4BCWVS4RfGvQ==, tarball: file:projects/maps-render.tgz} + resolution: {integrity: sha512-TiH597tRmg6pScwBjUdnDoGftilr1SyHJuFGgpZs2l56yVDY6Jb/SjegtKV6cH84iSGSJSq9e999JJ5NYzr0sQ==, tarball: file:projects/maps-render.tgz} name: '@rush-temp/maps-render' version: 0.0.0 dependencies: @@ -22644,7 +22661,7 @@ packages: dev: false file:projects/maps-route.tgz: - resolution: {integrity: sha512-BLcJ2RFitpTOSAlafh07/0secT/Iwj3bBxuLTEeouvYQS4C3hTlrUCwYcglPI5aglo6du82YWKM6Ph1Bb5wncQ==, tarball: file:projects/maps-route.tgz} + resolution: {integrity: sha512-W5gYVlNKM5TluV8iP+uE+/dBJEGYD2thLp5f5UPL/WK15hmPWlljOj6I0MP52/8t9noWXQWl5Apx+5DYH/49Uw==, tarball: file:projects/maps-route.tgz} name: '@rush-temp/maps-route' version: 0.0.0 dependencies: @@ -22691,7 +22708,7 @@ packages: dev: false file:projects/maps-search.tgz: - resolution: {integrity: sha512-VpxWxc7rI52RgpBxO83u2jxBs2cBrwSe1NMlXNv6BROPLMkT9tpyw72A0mAoa4TKbSucxZ+MjD3x8zmif3RK3Q==, tarball: file:projects/maps-search.tgz} + resolution: {integrity: sha512-qc4dU/o9vIowyU7WlvnEhwr2+ElkexTxWWwZpRVE8BS5ft3mwMkivWp2yNJ9hGLawzljvtsKJrgBp8TJ0/3mlQ==, tarball: file:projects/maps-search.tgz} name: '@rush-temp/maps-search' version: 0.0.0 dependencies: @@ -22738,7 +22755,7 @@ packages: dev: false file:projects/mixed-reality-authentication.tgz: - resolution: {integrity: sha512-2lGfF6hN64COe2qoohcBPdnw9zFX8JarL4VqEjSz+aClIT0sCt1XW9+u5HUDb2BrLe2uBJZtHFQKy02CZH8yHw==, tarball: file:projects/mixed-reality-authentication.tgz} + resolution: {integrity: sha512-adXYa6cLCcF45ztJ7aE2CgyUpR5mEQzxnWxqvkoEmnE5yRMx7G6371i0SFmOXTZMYEjiSnUbaG9v4TwpOgkK6A==, tarball: file:projects/mixed-reality-authentication.tgz} name: '@rush-temp/mixed-reality-authentication' version: 0.0.0 dependencies: @@ -22781,7 +22798,7 @@ packages: dev: false file:projects/mixed-reality-remote-rendering.tgz: - resolution: {integrity: sha512-OSPAcLNxfo7AWdAlKcLv2CgIRuxkuwzJM4bogvZGk9j334+iw7FYY52wcuUg3X7LceW34pi+RQUGy86MRDy9Mg==, tarball: file:projects/mixed-reality-remote-rendering.tgz} + resolution: {integrity: sha512-PWWJq0EsC2ofw5kTftrGmXNxTr5vymKgYrgbdNXMIrImEpvq5reH799Twww6Yoot6OC4XyN2jjnvJHZquLjtCA==, tarball: file:projects/mixed-reality-remote-rendering.tgz} name: '@rush-temp/mixed-reality-remote-rendering' version: 0.0.0 dependencies: @@ -22828,7 +22845,7 @@ packages: dev: false file:projects/mock-hub.tgz: - resolution: {integrity: sha512-Lva10kWsU93EapbyWUIrqmCxc3TwfsGR1JFlySLmV1J2vtt3eW5ykdvnkzaJFJXSAiClaREtqkuWMFZ++VBByQ==, tarball: file:projects/mock-hub.tgz} + resolution: {integrity: sha512-fdZiN6hEOeSRR4qPmBE/oL2xfaxf9zruzdqq5+pt2u5+pbiXxd0fO6dLVijZ0znR/0AsfdVM/JAzxxB4tkIFXQ==, tarball: file:projects/mock-hub.tgz} name: '@rush-temp/mock-hub' version: 0.0.0 dependencies: @@ -22861,7 +22878,7 @@ packages: dev: false file:projects/monitor-ingestion.tgz: - resolution: {integrity: sha512-FLWDgJiVixkS7DwF9IeUeKDIpls7LeNletvRwKguOw688OWY9vqN/xxtsC6RnrjX4+P3YLEpNlNyugjSLAsEGQ==, tarball: file:projects/monitor-ingestion.tgz} + resolution: {integrity: sha512-2TuFFxs/9AvRHA/BhWDwrODaVrHXR2FGH2sGeaw4ZCP9yhbdvtGfZiJvRHD533laO4yr6fQBLz0/OK5wqYd9qg==, tarball: file:projects/monitor-ingestion.tgz} name: '@rush-temp/monitor-ingestion' version: 0.0.0 dependencies: @@ -22909,7 +22926,7 @@ packages: dev: false file:projects/monitor-opentelemetry-exporter.tgz: - resolution: {integrity: sha512-aMvFIVpBs0KJZonV1omJln3lR47yFT/PRhbT8sVARBMoN6onDj5PcN5JfL+p+ZFKEaYcS4rz0GohigC5AZe4ug==, tarball: file:projects/monitor-opentelemetry-exporter.tgz} + resolution: {integrity: sha512-lF4HckcGeFQz1QyZ2X1P2QXMAyrAL1wK+O73PWrqipkdGRQOvxEei03pBV2RQ6uQtMp0VuNruFB2hi1SRAbxUg==, tarball: file:projects/monitor-opentelemetry-exporter.tgz} name: '@rush-temp/monitor-opentelemetry-exporter' version: 0.0.0 dependencies: @@ -22944,7 +22961,7 @@ packages: dev: false file:projects/monitor-opentelemetry.tgz: - resolution: {integrity: sha512-5Gl35CDEuoqfATvL1SM2nAgJx8BY0l19+YfQxqq/+kwmgI2PRDPmJBynU3ydy7O+QQoVgQ/03F6E3Vu0dExI9Q==, tarball: file:projects/monitor-opentelemetry.tgz} + resolution: {integrity: sha512-OjXRoQi1aKd2VoGtN5yPkRq/mGTbxQe3CaPNlGrh2azX8dt8khNAdZ8+rrr178wkdHrrs4rKtDnTGfqf/K1qDw==, tarball: file:projects/monitor-opentelemetry.tgz} name: '@rush-temp/monitor-opentelemetry' version: 0.0.0 dependencies: @@ -22993,7 +23010,7 @@ packages: dev: false file:projects/monitor-query.tgz: - resolution: {integrity: sha512-vRRhoDDl9G/JIP7BOJlh+fKfjhQovoKNJ5nsgpu1ikOVYiTpEvOKsQ/FxMC+Bx8kD6TwuhAr/8CLpSLa7tDXSw==, tarball: file:projects/monitor-query.tgz} + resolution: {integrity: sha512-4UVI9t0J51tpBAVz62p1/jZThDcWPHbqhka9Fx/l25/nz8MoY9EQUEsZdiRy8MRW0ZzcMhjfkvVF6Z5E28+Naw==, tarball: file:projects/monitor-query.tgz} name: '@rush-temp/monitor-query' version: 0.0.0 dependencies: @@ -23038,7 +23055,7 @@ packages: dev: false file:projects/notification-hubs.tgz: - resolution: {integrity: sha512-9X7n3eHV7pvBIBeeCKWAvJCdi5mV6BurnW3xlnWz+oVPyoO8qdy/VyJ90Lh9Gq2YSUawHKqJPlejh6ZE16o6Iw==, tarball: file:projects/notification-hubs.tgz} + resolution: {integrity: sha512-GdcZTYC2d2GYAnr+Hw/rDxDN6oFoCjQfpMHewtM+YUohSG08NWD1934VeLXumqPSlIqtl189DwPyETod5cg6hA==, tarball: file:projects/notification-hubs.tgz} name: '@rush-temp/notification-hubs' version: 0.0.0 dependencies: @@ -23072,7 +23089,7 @@ packages: dev: false file:projects/openai.tgz: - resolution: {integrity: sha512-H/gPYnq5D7UtybK+ZV0Y1kYmbx/lMlyTkJJYfuwgs6bz67EGAqkolYpESX1juwJNgzYYmDs9/Zi+fxqaMPIcNQ==, tarball: file:projects/openai.tgz} + resolution: {integrity: sha512-UJtybaV+/dtctUPy0hbAZgJ6qPvP+GnCk2MxaFD7iRPoXC28fMCLeNdOxaecbKMJ4llENlYbsZrTFH40b72FUA==, tarball: file:projects/openai.tgz} name: '@rush-temp/openai' version: 0.0.0 dependencies: @@ -23094,7 +23111,7 @@ packages: dev: false file:projects/opentelemetry-instrumentation-azure-sdk.tgz: - resolution: {integrity: sha512-bNg2Of+sm8+U1hIvc+8hWiR3+GWLnx5OcGw6QzzGEqKsKAJ51r478wpaexNQcCDShoZHfxmeBMxNeZccs/PZPw==, tarball: file:projects/opentelemetry-instrumentation-azure-sdk.tgz} + resolution: {integrity: sha512-oxiwObvPjqIopSkQAIu0tV9pGGn/wVKeh09VnP8IOVnyobPxU8ywRACBixNofoiBctZqcNmLlQ4fGHwTLAe0Tg==, tarball: file:projects/opentelemetry-instrumentation-azure-sdk.tgz} name: '@rush-temp/opentelemetry-instrumentation-azure-sdk' version: 0.0.0 dependencies: @@ -23138,7 +23155,7 @@ packages: dev: false file:projects/perf-ai-form-recognizer.tgz: - resolution: {integrity: sha512-+2sdLr5s1rQuWZmjNq61hKRTw4MofspwVuLr2M1xJqvJzMvS9uaEiHzQhGL8SQnDCAiriEGWlOKE0cPTwk1OaA==, tarball: file:projects/perf-ai-form-recognizer.tgz} + resolution: {integrity: sha512-14Z2OGcez6o4kuJqT5LARgYMXY71LNEWP0Fj8c2agUWUutBuwFiwe9k60QDdCNurIsE0D6+mrvJArAjP/ogaqw==, tarball: file:projects/perf-ai-form-recognizer.tgz} name: '@rush-temp/perf-ai-form-recognizer' version: 0.0.0 dependencies: @@ -23157,7 +23174,7 @@ packages: dev: false file:projects/perf-ai-language-text.tgz: - resolution: {integrity: sha512-dTrpF9+EBstw1nnG9iqZ+dxBNWk5dVSHzvkLWmXMPmSS2Zrp+PmnZdpeTCbSicv8duSiCuJKk3QAdPqrJBxvDw==, tarball: file:projects/perf-ai-language-text.tgz} + resolution: {integrity: sha512-THEXis+HUzrI4Ub+OOaaWD5/SY2rIIanXw48LqbV//79LeBWU85rfQAcc2L+GVvUvfEetgeuP2ujto9QO9Vg4w==, tarball: file:projects/perf-ai-language-text.tgz} name: '@rush-temp/perf-ai-language-text' version: 0.0.0 dependencies: @@ -23176,7 +23193,7 @@ packages: dev: false file:projects/perf-ai-metrics-advisor.tgz: - resolution: {integrity: sha512-uFklYxMKebBVlMr+MfLCoHnh+blJN/nyNCckjRwF8c8QrO4hQG/7TP0rNn8bRZH1YPlETazOzdhm9Ze7ReDC+A==, tarball: file:projects/perf-ai-metrics-advisor.tgz} + resolution: {integrity: sha512-riEJQZzStyZFOn9DFvVALh1u7l4m1LE2gJR539zMtCG35DtvYIpXctYBFQiSk2yNz2iF4NBJx2Mb/w+UouPryA==, tarball: file:projects/perf-ai-metrics-advisor.tgz} name: '@rush-temp/perf-ai-metrics-advisor' version: 0.0.0 dependencies: @@ -23194,7 +23211,7 @@ packages: dev: false file:projects/perf-ai-text-analytics.tgz: - resolution: {integrity: sha512-OJXISLbv9M5c4mxqAxcLReTivG7P+03AtPfhrUDqfTv+Q0NK3FUWpRrj3yvXycArK1Lr0jYk6+ntp17T9T5iqw==, tarball: file:projects/perf-ai-text-analytics.tgz} + resolution: {integrity: sha512-E3nPJDBtbXwiLo2wjkNL14OdPCpsy2Jd22/1Mhcoc9OQ/4GvyuKHnDScRvQnyuovP9GkbfCYg8YOMQ53qJPMKw==, tarball: file:projects/perf-ai-text-analytics.tgz} name: '@rush-temp/perf-ai-text-analytics' version: 0.0.0 dependencies: @@ -23213,7 +23230,7 @@ packages: dev: false file:projects/perf-app-configuration.tgz: - resolution: {integrity: sha512-yH3GCyUaVFuIc5Fx/xHuToZK0NanODuc0k8TRzfcaEN0+xEr0j8bOkHGZ5F7ryyROO9jaJzc/pz7b6hyxOqtnw==, tarball: file:projects/perf-app-configuration.tgz} + resolution: {integrity: sha512-jIpIH7Psl3P7saITtpqFL77GAPSmJ7HaOI9UT2u8vumSrFWGko26d5rpM+EFE0s6VSEenLN/8xxFGXmDO1/1zw==, tarball: file:projects/perf-app-configuration.tgz} name: '@rush-temp/perf-app-configuration' version: 0.0.0 dependencies: @@ -23232,7 +23249,7 @@ packages: dev: false file:projects/perf-container-registry.tgz: - resolution: {integrity: sha512-PP4GcU3xYYApVoB1YxZ+mbp+WkmPKNvPV5tB3IgShYa/yrDfrCGMAaSKZS4UpMzOde7++xi93R9aHhnZnOhqzg==, tarball: file:projects/perf-container-registry.tgz} + resolution: {integrity: sha512-W9DFe+27HoYl8e9bCYWQPaFjtRxJPG8sJkPOON4aIHELO22NDNY4oPlQ6OYFKrOfApORU207jYaQV/xIS8pblg==, tarball: file:projects/perf-container-registry.tgz} name: '@rush-temp/perf-container-registry' version: 0.0.0 dependencies: @@ -23250,7 +23267,7 @@ packages: dev: false file:projects/perf-core-rest-pipeline.tgz: - resolution: {integrity: sha512-gUEA7TVFT7UbP+NwVhQYhS9SML8v7EbO/WdcqoN3cRNIuyYRJ0ON6sEHrjm5h2vgGyv+9BpLipxvJ/CsCz7hWw==, tarball: file:projects/perf-core-rest-pipeline.tgz} + resolution: {integrity: sha512-332Okh8wMvpl53GnWplq/bz9rXOJr5Loe5NsUr+BWzHyZ582cQLfKxEOC0laNQkcn5ijCRuvBRXjzHj5L4c/MQ==, tarball: file:projects/perf-core-rest-pipeline.tgz} name: '@rush-temp/perf-core-rest-pipeline' version: 0.0.0 dependencies: @@ -23272,7 +23289,7 @@ packages: dev: false file:projects/perf-data-tables.tgz: - resolution: {integrity: sha512-CuECh5wyMvGA21e1ZxnnKsD0OHmJ6u9iIzn58P37BMp2U6AOdzA1+6Ve/6I+GP82FdehQzHP4DILidorrZrdnw==, tarball: file:projects/perf-data-tables.tgz} + resolution: {integrity: sha512-CJ8Nveln5WMWkLqE06GVZtTumulIwjnQX3dWnCqi8lytwoGrH8H+fFGpkXcJCAVhWtGKHsVtV9Cu6xFyzYr/Ng==, tarball: file:projects/perf-data-tables.tgz} name: '@rush-temp/perf-data-tables' version: 0.0.0 dependencies: @@ -23290,7 +23307,7 @@ packages: dev: false file:projects/perf-event-hubs.tgz: - resolution: {integrity: sha512-XcspnaxQqDYmY/ATVfrjDlzOgx1LzCFQuWvOkXDYydfUTYwOEEtZhz5ZVXIJ26vVmDTWg5AlBs1vZ+UAOCItsQ==, tarball: file:projects/perf-event-hubs.tgz} + resolution: {integrity: sha512-meAKpjq71yJrPhlM9k9d7zyWdAGXF/YppSZIvyM7UgkrTESMlXScx/rCkeK1c3IfM9PuV380C4xM//0UGiCmLQ==, tarball: file:projects/perf-event-hubs.tgz} name: '@rush-temp/perf-event-hubs' version: 0.0.0 dependencies: @@ -23313,7 +23330,7 @@ packages: dev: false file:projects/perf-eventgrid.tgz: - resolution: {integrity: sha512-UNKjJtAuoW6BpkNXnjYeyREI/tjYC40HaFGK0yS8UZabqUOImYQ+soj3WdMmbB08T9uz1t0BggIWwKHW9lX2mw==, tarball: file:projects/perf-eventgrid.tgz} + resolution: {integrity: sha512-rfPtLsSSCICLcAc4tY6LPolQ1k5BkEPYAmLu806stsdp40OMn1m7HFPOQiezG8eL22FbUjfiTMWKd9f5AvxTLg==, tarball: file:projects/perf-eventgrid.tgz} name: '@rush-temp/perf-eventgrid' version: 0.0.0 dependencies: @@ -23331,7 +23348,7 @@ packages: dev: false file:projects/perf-identity.tgz: - resolution: {integrity: sha512-GTXGJ32TSMYU25L64IKFzf3eLwEGhNtYzbqT2WmCBItZLeKLafEEgP50RE8Gz0vG8fa2lrcIpzttoUWS34ZVtQ==, tarball: file:projects/perf-identity.tgz} + resolution: {integrity: sha512-t8U5+Jl5k0oPD+fi0Tckwix7WmhLWQks6ZLZqMTQgcxlX6BloaXdvO3vY6Ghxx73I9wKA3yEri0mlSBFXTRxQA==, tarball: file:projects/perf-identity.tgz} name: '@rush-temp/perf-identity' version: 0.0.0 dependencies: @@ -23351,7 +23368,7 @@ packages: dev: false file:projects/perf-keyvault-certificates.tgz: - resolution: {integrity: sha512-YTQ7Gv3hfyaG46QXcgEqp0aicllEnEjaCSuvuDUAg2iHlfrDs3I56WI7kNvwHPTW7sD7XrMu3fYCAW07HVTBlg==, tarball: file:projects/perf-keyvault-certificates.tgz} + resolution: {integrity: sha512-bNXleSNXtGTvBJOeTg3AGMwnP8cDvrKCidhC+301nupDCWVlMgysscG/ZldzTYKVEPMl7sf0eTtGuoiRHfLxaA==, tarball: file:projects/perf-keyvault-certificates.tgz} name: '@rush-temp/perf-keyvault-certificates' version: 0.0.0 dependencies: @@ -23372,7 +23389,7 @@ packages: dev: false file:projects/perf-keyvault-keys.tgz: - resolution: {integrity: sha512-qdbunS9P9zV1knHd3/bHRDM6Tqktcq1ssFmzZKx0V9t8ulxOwTf1F77emaxTpFT4X3iJeWA9IV9mZwr374shLQ==, tarball: file:projects/perf-keyvault-keys.tgz} + resolution: {integrity: sha512-5w9jdKCWBk5RAHCGV7dyO9p7F4euChvaBsXy6FpEE2iw1fTKvgJNIvPE+mXqp8FZg7+Q4T7+0zZtN1ouXR6ROA==, tarball: file:projects/perf-keyvault-keys.tgz} name: '@rush-temp/perf-keyvault-keys' version: 0.0.0 dependencies: @@ -23393,7 +23410,7 @@ packages: dev: false file:projects/perf-keyvault-secrets.tgz: - resolution: {integrity: sha512-5hBxFCxNy2PAbBwL9ro7PU9yER84QNNRXP+TUBJB4U4zHuXFgFdqPcKEaiWeUNkvB3Dq/mHr31oZlvF4012Q7w==, tarball: file:projects/perf-keyvault-secrets.tgz} + resolution: {integrity: sha512-9xVStxVSepvYkdchGFy2MYUqWIVcAQ6PJsNi9V9Kk02dXgsRgtoJVIgZguSry2gUfnRYNSa0pMI6rSKBniEPUQ==, tarball: file:projects/perf-keyvault-secrets.tgz} name: '@rush-temp/perf-keyvault-secrets' version: 0.0.0 dependencies: @@ -23414,7 +23431,7 @@ packages: dev: false file:projects/perf-monitor-ingestion.tgz: - resolution: {integrity: sha512-zh4+v7/7MFpXAZDZFZI0v9IhUx1RWqnfb7XhcYc/yG5uvROql1FvMOHeF/yX6c33vi88ddW2jslGxBKuxLKD1w==, tarball: file:projects/perf-monitor-ingestion.tgz} + resolution: {integrity: sha512-5nuNgkFm00A1iRUEx1tZYpwiYzhIdIhBCio8sYea0db1Jz4BmJPaN7oOWyNYIKgkffZuDLiaCZ1ctf+3vm+kIw==, tarball: file:projects/perf-monitor-ingestion.tgz} name: '@rush-temp/perf-monitor-ingestion' version: 0.0.0 dependencies: @@ -23433,7 +23450,7 @@ packages: dev: false file:projects/perf-monitor-opentelemetry.tgz: - resolution: {integrity: sha512-7aa3K5UlWLk7fS516+aDrAhhWZ7dIYr2twHaUkk57LeSfiLeEIL8zoL3GjTdmB4iwKNhjfE2Lq4dE+5bHAKhjw==, tarball: file:projects/perf-monitor-opentelemetry.tgz} + resolution: {integrity: sha512-axTb/vVvsa0+4wQKyfRY/F8L8K9dvGrtsNWoewj9szgkuNYM3qZGnXTfNzC/fG6mpSvHqsX4+YZI3tBKjplJpA==, tarball: file:projects/perf-monitor-opentelemetry.tgz} name: '@rush-temp/perf-monitor-opentelemetry' version: 0.0.0 dependencies: @@ -23451,7 +23468,7 @@ packages: dev: false file:projects/perf-monitor-query.tgz: - resolution: {integrity: sha512-CEXnEZX18YBKd0OGlQbJuomtGSCxpWUVD6wFEV2v+sM6z5upzey8Jc1BW/NqOcVa1LedXtVQsJSmD5gb85dNhA==, tarball: file:projects/perf-monitor-query.tgz} + resolution: {integrity: sha512-qY1mM94xTgkK2yRC5tMXLQ80JKYB4goqAd23p4jQ8/XSRLQ6sfu27GnjN25wlJHuo0XZ6gLzlZ2vHYbmMb3yIA==, tarball: file:projects/perf-monitor-query.tgz} name: '@rush-temp/perf-monitor-query' version: 0.0.0 dependencies: @@ -23470,7 +23487,7 @@ packages: dev: false file:projects/perf-schema-registry-avro.tgz: - resolution: {integrity: sha512-kgs3jPjkAEmUVnS9ilcM9A9RyirvSaSR5kEItqZyUq4e6woFAyOEP60V10hX7xzloQ9qccy1h1acU+4FkC4z1g==, tarball: file:projects/perf-schema-registry-avro.tgz} + resolution: {integrity: sha512-4hBmGbfBBKawsHQsFi51yZCFKLiOxR0VF+7TTIMGs63zdH0qM06fzxVx6wUfLiPppY4p+c88kMoopdSPbolBXg==, tarball: file:projects/perf-schema-registry-avro.tgz} name: '@rush-temp/perf-schema-registry-avro' version: 0.0.0 dependencies: @@ -23489,7 +23506,7 @@ packages: dev: false file:projects/perf-search-documents.tgz: - resolution: {integrity: sha512-sGnIwo+w2CXlRmezb7lUHUTvNAI/7L0Hx+rM0GmGQ+KjqmHCP5Ew8QGHJqRR5xpiZrKio0ib6VDV2zTMlbCLug==, tarball: file:projects/perf-search-documents.tgz} + resolution: {integrity: sha512-fuLfe2e53ag5IsFZC0P5YQZGDPMKz70rK4zXonHLKHQaRm2iqki4YOVE+2oapyVpzl39WWFHHzwiaqZbksFSIA==, tarball: file:projects/perf-search-documents.tgz} name: '@rush-temp/perf-search-documents' version: 0.0.0 dependencies: @@ -23509,7 +23526,7 @@ packages: dev: false file:projects/perf-service-bus.tgz: - resolution: {integrity: sha512-BEwGslYbUSg8CGxjLxn+dXxWy11xELFDFH964lrP1DV8g1eVypQND/FTFCZyFUjyQ5a+Q9SAy8ISQ0m8Kk9n9Q==, tarball: file:projects/perf-service-bus.tgz} + resolution: {integrity: sha512-x4szD9pboHyqNa0Zc2HU/3teE3PlPsHnwF+vEXNjR2YFfrfVo6sGEk9KmEzpO9lYKHF5AKh8HvBAltXdFpwEaw==, tarball: file:projects/perf-service-bus.tgz} name: '@rush-temp/perf-service-bus' version: 0.0.0 dependencies: @@ -23529,7 +23546,7 @@ packages: dev: false file:projects/perf-storage-blob.tgz: - resolution: {integrity: sha512-HO3Ow/sdxUYYCufct5rNZIUMWU4ffwtxLJnRJqD1IGIVxlr7xWHQXEfnVW7LcNWrZBWi6M7F2XRjr9z4bAAehg==, tarball: file:projects/perf-storage-blob.tgz} + resolution: {integrity: sha512-/Ott52ZrIkdgxfGUz89CXK+6U2J2l1xEn3jBWDujEQ6vgkiMBj1kpXK/lmmX+4zkeJv5j+ohBCXmNQODix+VWQ==, tarball: file:projects/perf-storage-blob.tgz} name: '@rush-temp/perf-storage-blob' version: 0.0.0 dependencies: @@ -23547,7 +23564,7 @@ packages: dev: false file:projects/perf-storage-file-datalake.tgz: - resolution: {integrity: sha512-GL51kVCPOG1gcV6ALffUekO5jHlytDSR9+/uf5HeVBHIvo0nGaa/93il7Hyx6BaG9557JQsEIGyqJo+u+dUHgA==, tarball: file:projects/perf-storage-file-datalake.tgz} + resolution: {integrity: sha512-ZaiWfvEhLnnbRgFQAsPOkdecgS8XlW2iRcX1nz0oEDSKbPyarcTCNnnPu4aVdwJcNZ5Qqd8av1NWpysOjbhJWA==, tarball: file:projects/perf-storage-file-datalake.tgz} name: '@rush-temp/perf-storage-file-datalake' version: 0.0.0 dependencies: @@ -23565,7 +23582,7 @@ packages: dev: false file:projects/perf-storage-file-share.tgz: - resolution: {integrity: sha512-x55TGONYz7LTZyOIBkmev1mmdBrZBF/C9rclUItbP1qDIE7m1ufZpnqYdy267w6GG7GcPqJuLsTBk1Yp5Y4Ppw==, tarball: file:projects/perf-storage-file-share.tgz} + resolution: {integrity: sha512-y4ZDUCVAMmr5PiLjnMLzZqbig8Dvk1ezl3ljV1zsW08z6FCphP1nyektuGlDrHdfG8qgvazLjbhycJGM7YwYIg==, tarball: file:projects/perf-storage-file-share.tgz} name: '@rush-temp/perf-storage-file-share' version: 0.0.0 dependencies: @@ -23583,7 +23600,7 @@ packages: dev: false file:projects/perf-template.tgz: - resolution: {integrity: sha512-biEyZTz/EjEE/EF9kIccf93THbNNIEEa7RszNKzN3VeWAoJL8U2L7t4orFIlwEf32r8z0I7fr3Pwup/3X56cbA==, tarball: file:projects/perf-template.tgz} + resolution: {integrity: sha512-XqwpPOdDEEWzgmI3K2u1UL8o+5kCvRqt4MIISy3dCBd4TLl8sdtOF/ppE1MnGo1aTyKhXNlCccQIz7GOdIazxA==, tarball: file:projects/perf-template.tgz} name: '@rush-temp/perf-template' version: 0.0.0 dependencies: @@ -23603,7 +23620,7 @@ packages: dev: false file:projects/purview-administration.tgz: - resolution: {integrity: sha512-/ofcTlQ3DUdVjAQNXADQp5Olr8AVFHH6avNuInXyN6UN+nv8Mr/oyYvJ/a9bmMbw+V2PwHZcUvOSkw/1yiOLcw==, tarball: file:projects/purview-administration.tgz} + resolution: {integrity: sha512-RSJpHcbBm53FlgPtxxLd9xjZX44X0X10kEoya4Efa7cKA9m129ovLO03XnVSAzEv80VAuZL2xCwn7yHasCg7pg==, tarball: file:projects/purview-administration.tgz} name: '@rush-temp/purview-administration' version: 0.0.0 dependencies: @@ -23647,7 +23664,7 @@ packages: dev: false file:projects/purview-catalog.tgz: - resolution: {integrity: sha512-BzQH39jZqCdUDPKuloeaxdUYHgHg0Dy4TBc1YUt9KpBdKxiNaAYupB1T5CmLvqI8Ry5h6UpfyVkOZSzW4VJ9SQ==, tarball: file:projects/purview-catalog.tgz} + resolution: {integrity: sha512-ovkJVLgj0ZJJNINdkn9lPa87GR7yztShipZV3QD5FhvtY/GaxzVRSPkP6MIH/WN2zbzEYpVN+r/wl7FNXdD8Qw==, tarball: file:projects/purview-catalog.tgz} name: '@rush-temp/purview-catalog' version: 0.0.0 dependencies: @@ -23692,7 +23709,7 @@ packages: dev: false file:projects/purview-datamap.tgz: - resolution: {integrity: sha512-W4wufES6gQ8aAIBSmdmXhr2+Mw+RScw4vv/f9WoNd30uU3FJyKBe0gujNcJEZLsOXQ/ob6u2k3wuVYZAo2WhPw==, tarball: file:projects/purview-datamap.tgz} + resolution: {integrity: sha512-9ita2YmoNvIfe6h/7yvt897vRwKsT4LDxpBH5c9zAOpJouPNsAhZWQ+VBnBNds8CgnM35vLKW4/ZdOv/tUjRrg==, tarball: file:projects/purview-datamap.tgz} name: '@rush-temp/purview-datamap' version: 0.0.0 dependencies: @@ -23737,7 +23754,7 @@ packages: dev: false file:projects/purview-scanning.tgz: - resolution: {integrity: sha512-la1JpJqPRhD2tFr62OPIHDd3UG9+74a1GH5Acu6Y0ec1CZxw6aaCjSmg+Xnd9/11qxZNjvRD+IvPQXBAxSJHgw==, tarball: file:projects/purview-scanning.tgz} + resolution: {integrity: sha512-NG0a0EFj+UYj8+8ysNxJ4wNo+d+kAqSw3iCouV9nascWUd9Ih+goKtd/xXD+5N2si3jrL203RTwpQMdBi7rLvw==, tarball: file:projects/purview-scanning.tgz} name: '@rush-temp/purview-scanning' version: 0.0.0 dependencies: @@ -23781,7 +23798,7 @@ packages: dev: false file:projects/purview-sharing.tgz: - resolution: {integrity: sha512-yupdEKrPU+CfTg0cYTYNyUJrrpXhb62GhO7YNr0cKlEVu2jFYTDvcq7/uyVTSeJbfrwHSXVFprXX8hcTwmDfcw==, tarball: file:projects/purview-sharing.tgz} + resolution: {integrity: sha512-sq0hf2kHfmj8TB3AlOU28kDgkLYpSb9FcNhjFwLYwpx1dhkMqzdrUxNsp0Xw30KBrc6/5i8ioxkcByvgQtZpLg==, tarball: file:projects/purview-sharing.tgz} name: '@rush-temp/purview-sharing' version: 0.0.0 dependencies: @@ -23828,7 +23845,7 @@ packages: dev: false file:projects/purview-workflow.tgz: - resolution: {integrity: sha512-yLuvkhDEC+Wim6OEctUa7HOhkfzg7vdmnPRUm74iGebhWM9dXCnaGz38EFcyQCiNMHNa2ccc5JqUZ2PutMvn2A==, tarball: file:projects/purview-workflow.tgz} + resolution: {integrity: sha512-TtPgVd0jncMynyYLz041QpSEn/Yt4wHaSwu9g/YcWu2ZxZI5ONcLPIfhREfF5cPU5uELyLeqTuMgD9aqxZjRpw==, tarball: file:projects/purview-workflow.tgz} name: '@rush-temp/purview-workflow' version: 0.0.0 dependencies: @@ -23873,7 +23890,7 @@ packages: dev: false file:projects/quantum-jobs.tgz: - resolution: {integrity: sha512-UMQJfkWHvIDIYsFkZtDAgIe5Mc1YVP7e0+5bbc1/mbB9Ow7mTjjU26YBDoEkvFg58z2GVI3kfyQjlgaU05nmJA==, tarball: file:projects/quantum-jobs.tgz} + resolution: {integrity: sha512-qb6sjTIFhp+u12nxVUSVLhixUhmNoUUW6s+Wkb02kLRZ0OoTOO5JYQgR+z3mgvfhGue37gn6fP2LKn5ItojAnQ==, tarball: file:projects/quantum-jobs.tgz} name: '@rush-temp/quantum-jobs' version: 0.0.0 dependencies: @@ -23918,7 +23935,7 @@ packages: dev: false file:projects/schema-registry-avro.tgz: - resolution: {integrity: sha512-aOuyogD9Sg+gRV1zU1StVI8UOhjMlITcP5JGyS1nA9nIjb89XmoPhVvOwaZmhIaZzl6HXWAu5STIcVW+MrVYXg==, tarball: file:projects/schema-registry-avro.tgz} + resolution: {integrity: sha512-or0Anl9W9acTyeU/D9fhoGG9SmgN580YeiALqaz1ipRqxKCpRd5k4OxMJGAD16yZDKmNQrdGOJAb8Kr4r0ryGg==, tarball: file:projects/schema-registry-avro.tgz} name: '@rush-temp/schema-registry-avro' version: 0.0.0 dependencies: @@ -23971,7 +23988,7 @@ packages: dev: false file:projects/schema-registry-json.tgz: - resolution: {integrity: sha512-Ceo41vIyXjwwMYxrAQULe4hYvRPkYRa/XtDLPlCGN0p8V2dvZok/jG1dnhbT4mS2SrJwL33ITnshqbhTK3Qm2w==, tarball: file:projects/schema-registry-json.tgz} + resolution: {integrity: sha512-g4Hn5V9bTN2ZHCm4HrYFu4h9wbMJAh7TiFPY6aDiKtmHyco8a4SDjKY5abZhB6YipsQ4ucKGhUZjPbRl+o7YbA==, tarball: file:projects/schema-registry-json.tgz} name: '@rush-temp/schema-registry-json' version: 0.0.0 dependencies: @@ -24014,7 +24031,7 @@ packages: dev: false file:projects/schema-registry.tgz: - resolution: {integrity: sha512-lTKvaSVAs+bx4vnHtG85rIZfyNjFfx2uvqwhNdw8SkWqgxQ7AyW53RtPklVwVhd3KCrwOk7HSKMvWLVFCISWZQ==, tarball: file:projects/schema-registry.tgz} + resolution: {integrity: sha512-XmJTse42Anbjn61axGhnFmOpx12CpgGUZRVwZaaBrtWQH9nSX3c8AZ8Wgq8njUc85FIlYvk6v1OmTapERBCdnQ==, tarball: file:projects/schema-registry.tgz} name: '@rush-temp/schema-registry' version: 0.0.0 dependencies: @@ -24054,7 +24071,7 @@ packages: dev: false file:projects/search-documents.tgz: - resolution: {integrity: sha512-TQPou1xuoYFGXUZYg+kgNvuBoQjULHSb9HelaZ7aOiyljlRGFCVfg37p9aqZWL2/1DZtKGkppFfdm30+AnZ7BQ==, tarball: file:projects/search-documents.tgz} + resolution: {integrity: sha512-UtQzUbFJpxBbW2P5e8zRUmg3fP1mDW5w6IKNqtNtdnTppJBYWnEaNYjX/yQ7UEIo2CFFOIO4GcixqY566YmPtA==, tarball: file:projects/search-documents.tgz} name: '@rush-temp/search-documents' version: 0.0.0 dependencies: @@ -24101,7 +24118,7 @@ packages: dev: false file:projects/service-bus.tgz: - resolution: {integrity: sha512-pfeEzNWjWkY3UslPZiBbMrutD2+50KdgM0nc5z5px1bLVEyRC2+swU/F8K4DtmQt7VTAhZ6J9LmEbY52rf48Pw==, tarball: file:projects/service-bus.tgz} + resolution: {integrity: sha512-ihRlPjYjF1gnrmZ0ztwG8pYU8TAh9/cQK5ZUP+C+nbIgGDqzpGmhLn0oLtRNDAmRV6DqMiFsUfGypDeE0cETtQ==, tarball: file:projects/service-bus.tgz} name: '@rush-temp/service-bus' version: 0.0.0 dependencies: @@ -24162,7 +24179,7 @@ packages: dev: false file:projects/storage-blob-changefeed.tgz: - resolution: {integrity: sha512-fwmHZho2lwmrVWSRPByBqwivzbKwwKmIDpmhhbByJV+LA4Ygh4Psy2iqkNPWrMgxp3DEFM8vGzbc3YwpKsHPAA==, tarball: file:projects/storage-blob-changefeed.tgz} + resolution: {integrity: sha512-Za4kJ8Y4f8+DH11A/rWgUkg9Fz3BGUfUSBRJnQZjo9IBHcKUc0h0v9SQwPNf43jMiF9N2ePY3DYo5lbW+76K+Q==, tarball: file:projects/storage-blob-changefeed.tgz} name: '@rush-temp/storage-blob-changefeed' version: 0.0.0 dependencies: @@ -24211,7 +24228,7 @@ packages: dev: false file:projects/storage-blob.tgz: - resolution: {integrity: sha512-yUxQENJ01CZgt3pQ+Hc1KBPbiMQCiUnDCY6hUEkbjCiZQPiYl0WOZh19gPRbbL47r/XWQM5a1pMaMdSfTkTgog==, tarball: file:projects/storage-blob.tgz} + resolution: {integrity: sha512-apbbVy4eb0kT30GpFWsfwEmAKG3MR/j6DVtjrXNmxXbAIVi3SeENmex/FU4fT9eUqHcEt0ZqszKpu5YjW3qB5w==, tarball: file:projects/storage-blob.tgz} name: '@rush-temp/storage-blob' version: 0.0.0 dependencies: @@ -24258,7 +24275,7 @@ packages: dev: false file:projects/storage-file-datalake.tgz: - resolution: {integrity: sha512-9x6G40Mst6ksYXM/ufVBtrPHw8Y+GQek1BUQLZ/lED8NoA0F3LrdWAimybrvYToVqvpWwkdbY9B20jEe4ocYJw==, tarball: file:projects/storage-file-datalake.tgz} + resolution: {integrity: sha512-ClBgR27z04cQhec2s/V2+Absc/qheLa+i3UkI4FgnoZCcMBMsYVrzSrhmv0qdRMaBClS9Y0wqGW1Lru5IeS5CQ==, tarball: file:projects/storage-file-datalake.tgz} name: '@rush-temp/storage-file-datalake' version: 0.0.0 dependencies: @@ -24308,7 +24325,7 @@ packages: dev: false file:projects/storage-file-share.tgz: - resolution: {integrity: sha512-pnrJFe23mI79MQvoYd3TAW2xdxacOf+8XIQ0ejcr9vqC7xuRQ6C8nTU7Q+Gs/YLQsGQVNQVVrzUWaRbuZsZ2eQ==, tarball: file:projects/storage-file-share.tgz} + resolution: {integrity: sha512-tZ6VuS2zsUxSfbA/IhSImz3lqaq1h5SzUc82TE6VMK6x2ml5ROnnPadL4UQacEcP8a1md/ZQK1qqHQsczPVasg==, tarball: file:projects/storage-file-share.tgz} name: '@rush-temp/storage-file-share' version: 0.0.0 dependencies: @@ -24356,7 +24373,7 @@ packages: dev: false file:projects/storage-internal-avro.tgz: - resolution: {integrity: sha512-MQ2mQDvJArx+qkWz6lh1DNC25q8Mfw6DyorvnHPCgDWShVD1OyNbkR3FdBtXF3ApGx3OXWvGagwN48dnPU7+lw==, tarball: file:projects/storage-internal-avro.tgz} + resolution: {integrity: sha512-Khu0RFtj9ShPEpRH4J12sqpT3UB9vuYtImm1o3blbe8+PCIiuyEy0BOOAuATukTl7KMrx+kQFlt2quiP3nD+6g==, tarball: file:projects/storage-internal-avro.tgz} name: '@rush-temp/storage-internal-avro' version: 0.0.0 dependencies: @@ -24398,7 +24415,7 @@ packages: dev: false file:projects/storage-queue.tgz: - resolution: {integrity: sha512-ZoZpfV3mA8Y0taJ2+TS1FURVeCdqeHyNx1STH+c3npYsbeXx1EM7zdjlxFy9AzW8WqC98Ljw1CuG94DjdS8lNQ==, tarball: file:projects/storage-queue.tgz} + resolution: {integrity: sha512-SbtG59eSWeXIH6cl8NkBVNF6VaRqzKBiLHWcvJPjbsFHhIrMbtVP/oZOJLtyzc0Qo3XTHOnjvsSEP3ZDhm36gw==, tarball: file:projects/storage-queue.tgz} name: '@rush-temp/storage-queue' version: 0.0.0 dependencies: @@ -24443,7 +24460,7 @@ packages: dev: false file:projects/synapse-access-control-1.tgz: - resolution: {integrity: sha512-YF8ESmemr1ONKVGjHravsd0aF7i4JF+qc1M8VSW/1lfzEqws/zFR0miEwmUBKuuq3e+ZdfxRwjs55Nr1SE1cyg==, tarball: file:projects/synapse-access-control-1.tgz} + resolution: {integrity: sha512-a/9dZpl4XgeJ+haQiZNpkZSYy9orW5z5bQB7Oyxydpc/U7TZljmv9uLIZOA8aQuUQVpDh4p8UBDbxmOg572mow==, tarball: file:projects/synapse-access-control-1.tgz} name: '@rush-temp/synapse-access-control-1' version: 0.0.0 dependencies: @@ -24489,7 +24506,7 @@ packages: dev: false file:projects/synapse-access-control.tgz: - resolution: {integrity: sha512-mOVshMTg1mw1kPHfUj4CuN2rRe7i1iyJ03tog9j4BUiXvNgvKuz6FmYKoz50PD+Vm1Y1kX4BhNSeIqFINU1ZUg==, tarball: file:projects/synapse-access-control.tgz} + resolution: {integrity: sha512-xpKpKCs2aLWbl5fnHEdU+PFcMUKipbH+Wu+VZIfcNajLDCQYjxTekQs9DGFH+r1UTDgrpdudE2ixGOp5C69NEg==, tarball: file:projects/synapse-access-control.tgz} name: '@rush-temp/synapse-access-control' version: 0.0.0 dependencies: @@ -24538,7 +24555,7 @@ packages: dev: false file:projects/synapse-artifacts.tgz: - resolution: {integrity: sha512-biKQiiUVwTmrhOl8eI8fn4dFKytg7k2xdFqPsyKT1L4XNoOSW2wmi5yOlIfhYd4gwpd8iuPcimnG9SsShQF25Q==, tarball: file:projects/synapse-artifacts.tgz} + resolution: {integrity: sha512-BqyLvu/C6vnlOoL0p0uiVCPMiuZgqIQW75f2v4D+VXxEg8BUllx0d7tQUcP8BkzdYZZ5nAd9Y0e30qJW1WjnHw==, tarball: file:projects/synapse-artifacts.tgz} name: '@rush-temp/synapse-artifacts' version: 0.0.0 dependencies: @@ -24588,7 +24605,7 @@ packages: dev: false file:projects/synapse-managed-private-endpoints.tgz: - resolution: {integrity: sha512-1iRvwOJt5zFH9cFtaWGHntCTqqDjVD+fKM0Y39fW8aw9AMTEzkZxAmhiQKxsAubwcddWJgxqIkDn4b7jg1jmQQ==, tarball: file:projects/synapse-managed-private-endpoints.tgz} + resolution: {integrity: sha512-0FONmRyT374Y0xbcOo1xHkLuIIBhouvH5Me2+ZNUOlgfwLqDqrp+F3XgFamLOF2oVsKcs+aN4+kd/bhsUWrPyA==, tarball: file:projects/synapse-managed-private-endpoints.tgz} name: '@rush-temp/synapse-managed-private-endpoints' version: 0.0.0 dependencies: @@ -24631,7 +24648,7 @@ packages: dev: false file:projects/synapse-monitoring.tgz: - resolution: {integrity: sha512-P5Fd8EPEmT9YnQzs/cAm0P6tCrCLRmCe813RAomQqwS+VEh3qSfhkcwFUU0ZZ41aPTDM0pWi1QA+UI0XEYSljw==, tarball: file:projects/synapse-monitoring.tgz} + resolution: {integrity: sha512-g+ViDkGo+YoqD/9+6UekM5d/AUy9d03el1qY54IsvDxiEoSWt8eGm/eYLvNSEEO+L7SO0wWuSkcXMwZPzVUnJA==, tarball: file:projects/synapse-monitoring.tgz} name: '@rush-temp/synapse-monitoring' version: 0.0.0 dependencies: @@ -24668,7 +24685,7 @@ packages: dev: false file:projects/synapse-spark.tgz: - resolution: {integrity: sha512-9Ecly4K6TLNWdqwlBcuLDwGv58STtdODBMMhSp5CSHTDepi+CjkGn0ip9wboIJMViYNIQ0brK+VoDs10tdS/+A==, tarball: file:projects/synapse-spark.tgz} + resolution: {integrity: sha512-AjZYhUxgZjKU3vweVyykeN0cd2OuXrFV3TTiX1XEnPS9QMyMvA1tS5ZjaMcDyW+Xj8CS+uEbICKfW+64uCsskg==, tarball: file:projects/synapse-spark.tgz} name: '@rush-temp/synapse-spark' version: 0.0.0 dependencies: @@ -24711,7 +24728,7 @@ packages: dev: false file:projects/template-dpg.tgz: - resolution: {integrity: sha512-FGFRCXKGxrgO/p86CzaSu30Va+ouEEz+eERbrLB42v2qD/NQwkGqZYUm488IvvEphPPG5Zo6Ko25CR0FCHREwA==, tarball: file:projects/template-dpg.tgz} + resolution: {integrity: sha512-K7U5XtGU2ce8ny2y+gaDEBOaqsEErd9ZtatTo91UnWAsUunX6FQs95Aew5buHrg8hpRyI9K2DJ4di/PVnNuVag==, tarball: file:projects/template-dpg.tgz} name: '@rush-temp/template-dpg' version: 0.0.0 dependencies: @@ -24754,7 +24771,7 @@ packages: dev: false file:projects/template.tgz: - resolution: {integrity: sha512-1hUPmhbc0aklb4uXcIjlHsKB2+MjgAnmdAMASkU7J8xreT6MYSsblzTi8vWkPoMnX/+imEZe7Qh0homNK+0ssA==, tarball: file:projects/template.tgz} + resolution: {integrity: sha512-z5L7StzQU1hUhss+ey1nopvsmApXdTSBkUZQ36LO4J3GA61Ett4tX7YCZusa5alnZ2+6S6pmQaYd+dEvqRMzUQ==, tarball: file:projects/template.tgz} name: '@rush-temp/template' version: 0.0.0 dependencies: @@ -24792,7 +24809,7 @@ packages: dev: false file:projects/test-credential.tgz: - resolution: {integrity: sha512-cbe9jS0cDsx7r6RTxQBlDSwmyNsRItg/BIXo/1aAblLlSzN9eJVBc0qRtClNGgp2Cwc8kHIRj5AfAvJHBENTag==, tarball: file:projects/test-credential.tgz} + resolution: {integrity: sha512-Yay5YvJ3iO6GkS03WE9EAOHzpGFsNVb/yfv5n2aRGxlbJSiSRlDmH4lYeAtHmcjH5HZcTokOW15Zl+9gohNIEQ==, tarball: file:projects/test-credential.tgz} name: '@rush-temp/test-credential' version: 0.0.0 dependencies: @@ -24811,7 +24828,7 @@ packages: dev: false file:projects/test-perf.tgz: - resolution: {integrity: sha512-dV5mAryJelTRusThrDkqIKakjuFlNr1LfE8QZVyTIOMZf+mxjaYa+gItkPOXhU7wnHAHVQGVGgSbdJFT/RF+IA==, tarball: file:projects/test-perf.tgz} + resolution: {integrity: sha512-dX/wq5312VP4IMXht+BTHOav8o0LunXWx0mcsyUKnzAuhD4HGg00AYZcAIuP4S93TsS+sNEJ2IUSPfDfdhrLTA==, tarball: file:projects/test-perf.tgz} name: '@rush-temp/test-perf' version: 0.0.0 dependencies: @@ -24839,7 +24856,7 @@ packages: dev: false file:projects/test-recorder.tgz: - resolution: {integrity: sha512-W7qvPnEPSlcY1eGGqfIwpnuOy34md69n8TaPcZIUMQnDWN8PchMnIeWfWLwifhBMZ8HaxHpgnUbIkQjWbl0Kuw==, tarball: file:projects/test-recorder.tgz} + resolution: {integrity: sha512-/t/b+ayJuVLALnuZn2kUJrs9nNQWyPfRY20j9b1/KLHhvwNHcZlztu+OtdjgDCo6eMhpxtmBEvCqfMpwDMJq/A==, tarball: file:projects/test-recorder.tgz} name: '@rush-temp/test-recorder' version: 0.0.0 dependencies: @@ -24875,7 +24892,7 @@ packages: dev: false file:projects/test-utils.tgz: - resolution: {integrity: sha512-dy4yWOviUvykLKxFyvx0+Gm2BCVCmsoPEPu6zkl0yOe8nmR7y0Ee0O2/h03m7Nvj0p+qaP9s+iVOoy3tcV0vFg==, tarball: file:projects/test-utils.tgz} + resolution: {integrity: sha512-/zW3HGJRjx4SIrcG1OW/0MELjHiqK+jzymjKCSQScVVjjsV9Bay/8Yy4KJD4DVkYMu6zcObo92mFgbWca33XGg==, tarball: file:projects/test-utils.tgz} name: '@rush-temp/test-utils' version: 0.0.0 dependencies: @@ -24912,7 +24929,7 @@ packages: dev: false file:projects/ts-http-runtime.tgz: - resolution: {integrity: sha512-RqLmduToy03M0cnWkM6DITq/0n0r8AUQ7XuYOMKj5X/ZU1MCJ3IBaRpAkCRrVoShf1HLkD8MKjFE/cxBfU44LQ==, tarball: file:projects/ts-http-runtime.tgz} + resolution: {integrity: sha512-gYsRh+AQMdE3oMy/aR5ZP5HvrZro4FlLtA+EwS396BCSNp7zCeVHQbjZwJrIYZCj6M0GWrnsawwer80v3mykFg==, tarball: file:projects/ts-http-runtime.tgz} name: '@rush-temp/ts-http-runtime' version: 0.0.0 dependencies: @@ -24947,7 +24964,7 @@ packages: dev: false file:projects/vite-plugin-browser-test-map.tgz: - resolution: {integrity: sha512-7mABgnyVZKGwgwpS8yU/p5u/1RZvlFEC8yv37YpY3YrapxkpdmPCxbnGFc6O92CDbinUZb3yTvN1nbFsZ6Y9VA==, tarball: file:projects/vite-plugin-browser-test-map.tgz} + resolution: {integrity: sha512-OfgBiUirU0lvcttCRGp55ht3Mia/hYzXunldhwPadyhLLZS2CfmFe/YMqTY1mGKv0i31rk1ub5ldRGIIjyUSCg==, tarball: file:projects/vite-plugin-browser-test-map.tgz} name: '@rush-temp/vite-plugin-browser-test-map' version: 0.0.0 dependencies: @@ -24962,7 +24979,7 @@ packages: dev: false file:projects/web-pubsub-client-protobuf.tgz: - resolution: {integrity: sha512-mQTkQKaFDYzaxKpvffb8cgxOf/DajobTANJ6eEeOSek0fTFCbdwWn6J3Uou+dK61cELyQMuaxcKB66kKClbZTQ==, tarball: file:projects/web-pubsub-client-protobuf.tgz} + resolution: {integrity: sha512-wVESRObySO4PLnbkLpHwMlpN49wQC/tqptYIhxb8mIhtbFFHc5w7kWwy1RQp9qkXy121pYR4Ygnx40XaqtQFFw==, tarball: file:projects/web-pubsub-client-protobuf.tgz} name: '@rush-temp/web-pubsub-client-protobuf' version: 0.0.0 dependencies: @@ -25021,7 +25038,7 @@ packages: dev: false file:projects/web-pubsub-client.tgz: - resolution: {integrity: sha512-gew2iNf4DCi1CpeyojCqC7Qzv13YAEgvAPYH2SbxdUegFD5SMqOZ8lEm+cNeiCtTkaUZ7tWw1XS0i9VsBAxx0g==, tarball: file:projects/web-pubsub-client.tgz} + resolution: {integrity: sha512-reC2+Ua6WCDqpaP0KhZwjZSlDKbtISB9CgoT21qNDYJF1g/D39C+EpS74iJ5gK8f1ziIPjRODzwVdjpH1KLXtQ==, tarball: file:projects/web-pubsub-client.tgz} name: '@rush-temp/web-pubsub-client' version: 0.0.0 dependencies: @@ -25075,7 +25092,7 @@ packages: dev: false file:projects/web-pubsub-express.tgz: - resolution: {integrity: sha512-oyJcorTyJRrRe1foDzPTCsdJpAJiJtXjo3pKdaxHihBVGc/9yX/6z6SwrI7h//OFU4z9rfza4GRQMglyVJn3rQ==, tarball: file:projects/web-pubsub-express.tgz} + resolution: {integrity: sha512-6Pl4j+FJLbABdaBsq2PzPdKgFBlKeHMcEfVo2kAassvFEhiahSG7k0br3DidGJ/ZODKSLL1kFgRPrQTrC/5aoA==, tarball: file:projects/web-pubsub-express.tgz} name: '@rush-temp/web-pubsub-express' version: 0.0.0 dependencies: @@ -25112,7 +25129,7 @@ packages: dev: false file:projects/web-pubsub.tgz: - resolution: {integrity: sha512-n0OPorulrRol6sRw3kjX4ETvSTRIGd/oqyS7yApVzMM4skHd5HQVJ/+K77Bcv8zzDIEmO92sMNbFSemld95ExA==, tarball: file:projects/web-pubsub.tgz} + resolution: {integrity: sha512-lbfKcpXc6tDMH+XbxiAa6VKzd3J+SpIDwm4OSZxA0jeuIkzGiL23vZIP/ddbXXMTNvqAfgGl7EVZ02JHyoEDhg==, tarball: file:projects/web-pubsub.tgz} name: '@rush-temp/web-pubsub' version: 0.0.0 dependencies: diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/.eslintrc.json b/sdk/appcomplianceautomation/arm-appcomplianceautomation/.eslintrc.json new file mode 100644 index 000000000000..8793fba07e9d --- /dev/null +++ b/sdk/appcomplianceautomation/arm-appcomplianceautomation/.eslintrc.json @@ -0,0 +1,14 @@ +{ + "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/appcomplianceautomation/arm-appcomplianceautomation/CHANGELOG.md b/sdk/appcomplianceautomation/arm-appcomplianceautomation/CHANGELOG.md deleted file mode 100644 index 220772960d8e..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/CHANGELOG.md +++ /dev/null @@ -1,17 +0,0 @@ -# Release History - -## 1.0.1 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes - -## 1.0.0 (2024-06-25) - -### Features Added - -The package of @azure/arm-appcomplianceautomation is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart). diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/README.md b/sdk/appcomplianceautomation/arm-appcomplianceautomation/README.md index d0b95622a71b..6e071b9eae97 100644 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/README.md +++ b/sdk/appcomplianceautomation/arm-appcomplianceautomation/README.md @@ -1,77 +1,48 @@ -# Azure AppComplianceAutomationToolForMicrosoft365 client library for JavaScript - -This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure AppComplianceAutomationToolForMicrosoft365 client. +# Azure AppComplianceAutomation REST client library for JavaScript App Compliance Automation Tool for Microsoft 365 API spec -[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appcomplianceautomation/arm-appcomplianceautomation) | -[Package (NPM)](https://www.npmjs.com/package/@azure/arm-appcomplianceautomation) | -[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-appcomplianceautomation) | -[Samples](https://github.com/Azure-Samples/azure-samples-js-management) +**If you are not familiar with our REST client, please spend 5 minutes to take a look at our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library, the REST client provides a light-weighted & developer friendly way to call azure rest api + +Key links: + +- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appcomplianceautomation/arm-appcomplianceautomation) +- [Package (NPM)](https://www.npmjs.com/package/@azure/arm-appcomplianceautomation) +- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-appcomplianceautomation?view=azure-node-preview) +- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples) ## Getting started ### Currently supported environments -- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule) -- Latest versions of Safari, Chrome, Edge and Firefox. - -See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. +- LTS versions of Node.js ### Prerequisites -- An [Azure subscription][azure_sub]. +- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package. ### Install the `@azure/arm-appcomplianceautomation` package -Install the Azure AppComplianceAutomationToolForMicrosoft365 client library for JavaScript with `npm`: +Install the Azure AppComplianceAutomation REST client REST client library for JavaScript with `npm`: ```bash npm install @azure/arm-appcomplianceautomation ``` -### Create and authenticate a `AppComplianceAutomationToolForMicrosoft365` +### Create and authenticate a `AppComplianceAutomationClient` -To create a client object to access the Azure AppComplianceAutomationToolForMicrosoft365 API, you will need the `endpoint` of your Azure AppComplianceAutomationToolForMicrosoft365 resource and a `credential`. The Azure AppComplianceAutomationToolForMicrosoft365 client can use Azure Active Directory credentials to authenticate. -You can find the endpoint for your Azure AppComplianceAutomationToolForMicrosoft365 resource in the [Azure Portal][azure_portal]. +To use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token), +provide an instance of the desired credential type obtained from the +[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library. -You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token). - -To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package: - -```bash -npm install @azure/identity -``` - -You will also need to **register a new AAD application and grant access to Azure AppComplianceAutomationToolForMicrosoft365** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions). -Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`. - -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 { AppComplianceAutomationToolForMicrosoft365 } = require("@azure/arm-appcomplianceautomation"); -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 client = new AppComplianceAutomationToolForMicrosoft365(new DefaultAzureCredential()); - -// For client-side applications running in the browser, use this code instead: -// const credential = new InteractiveBrowserCredential({ -// tenantId: "", -// clientId: "" -// }); -// const client = new AppComplianceAutomationToolForMicrosoft365(credential); -``` +To authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) +After setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use. +As an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential) +can be used to authenticate the client. -### JavaScript Bundle -To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling). - -## Key concepts - -### AppComplianceAutomationToolForMicrosoft365 - -`AppComplianceAutomationToolForMicrosoft365` is the primary interface for developers using the Azure AppComplianceAutomationToolForMicrosoft365 client library. Explore the methods on this client object to understand the different features of the Azure AppComplianceAutomationToolForMicrosoft365 service that you can access. +Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: +AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET ## Troubleshooting @@ -81,28 +52,8 @@ Enabling logging may help uncover useful information about failures. In order to ```javascript const { setLogLevel } = require("@azure/logger"); + 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 - -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. - -## Related projects - -- [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%2Fappcomplianceautomation%2Farm-appcomplianceautomation%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 -[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/_meta.json b/sdk/appcomplianceautomation/arm-appcomplianceautomation/_meta.json deleted file mode 100644 index fa68fd1ef8ce..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/_meta.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "commit": "cfe9fa198c87ac665d79458810b9f8179912a6d2", - "readme": "specification/appcomplianceautomation/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=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\appcomplianceautomation\\resource-manager\\readme.md --use=@autorest/typescript@6.0.23 --generate-sample=true", - "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.7.10", - "use": "@autorest/typescript@6.0.23" -} \ No newline at end of file diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/api-extractor.json b/sdk/appcomplianceautomation/arm-appcomplianceautomation/api-extractor.json index 567f93f09992..d182825d99d4 100644 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/api-extractor.json +++ b/sdk/appcomplianceautomation/arm-appcomplianceautomation/api-extractor.json @@ -1,31 +1,18 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "mainEntryPointFilePath": "./dist-esm/src/index.d.ts", - "docModel": { - "enabled": true - }, - "apiReport": { - "enabled": true, - "reportFolder": "./review" - }, + "mainEntryPointFilePath": "./dist/esm/index.d.ts", + "docModel": { "enabled": true }, + "apiReport": { "enabled": true, "reportFolder": "./review" }, "dtsRollup": { "enabled": true, "untrimmedFilePath": "", "publicTrimmedFilePath": "./types/arm-appcomplianceautomation.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/appcomplianceautomation/arm-appcomplianceautomation/assets.json b/sdk/appcomplianceautomation/arm-appcomplianceautomation/assets.json deleted file mode 100644 index a9c4c91b1099..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/assets.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "AssetsRepo": "Azure/azure-sdk-assets", - "AssetsRepoPrefixPath": "js", - "TagPrefix": "js/appcomplianceautomation/arm-appcomplianceautomation", - "Tag": "js/appcomplianceautomation/arm-appcomplianceautomation_884dfb0038" -} diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/package.json b/sdk/appcomplianceautomation/arm-appcomplianceautomation/package.json index f301587fb046..00f135addd7a 100644 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/package.json +++ b/sdk/appcomplianceautomation/arm-appcomplianceautomation/package.json @@ -1,118 +1,142 @@ { "name": "@azure/arm-appcomplianceautomation", - "sdk-type": "mgmt", - "author": "Microsoft Corporation", - "description": "A generated SDK for AppComplianceAutomationToolForMicrosoft365.", - "version": "1.0.1", + "version": "1.0.0-beta.1", + "description": "A generated SDK for AppComplianceAutomationClient.", "engines": { "node": ">=18.0.0" }, - "dependencies": { - "@azure/core-lro": "^2.5.4", - "@azure/abort-controller": "^1.0.0", - "@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" + "sideEffects": false, + "autoPublish": false, + "tshy": { + "exports": { + "./package.json": "./package.json", + ".": "./src/index.ts" + }, + "dialects": [ + "esm", + "commonjs" + ], + "esmDialects": [ + "browser", + "react-native" + ], + "selfLink": false }, + "type": "module", "keywords": [ "node", "azure", + "cloud", "typescript", "browser", "isomorphic" ], + "author": "Microsoft Corporation", "license": "MIT", - "main": "./dist/index.js", - "module": "./dist-esm/src/index.js", - "types": "./types/arm-appcomplianceautomation.d.ts", - "devDependencies": { - "@microsoft/api-extractor": "^7.31.1", - "mkdirp": "^3.0.1", - "typescript": "~5.5.3", - "uglify-js": "^3.4.9", - "rimraf": "^5.0.0", - "dotenv": "^16.0.0", - "@azure/dev-tool": "^1.0.0", - "@azure/identity": "^4.0.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", + "dist", "README.md", "LICENSE", - "tsconfig.json", "review/*", - "CHANGELOG.md", - "types/*" + "CHANGELOG.md" ], - "scripts": { - "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", - "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: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:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'", - "integration-test:browser": "echo skipped" + "sdk-type": "mgmt", + "repository": "github:Azure/azure-sdk-for-js", + "bugs": { + "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "sideEffects": false, + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/README.md", + "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "//metadata": { "constantPaths": [ { - "path": "src/appComplianceAutomationToolForMicrosoft365.ts", - "prefix": "packageDetails" + "path": "src/appComplianceAutomationClient.ts", + "prefix": "userAgentInfo" } ] }, - "autoPublish": true, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appcomplianceautomation/arm-appcomplianceautomation", - "//sampleConfiguration": { - "productName": "", - "productSlugs": [ - "azure" - ], - "disableDocsMs": true, - "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-appcomplianceautomation?view=azure-node-preview" - } + "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" + }, + "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", + "mkdirp": "^3.0.1", + "typescript": "~5.5.3", + "tshy": "^1.11.1", + "@azure/core-util": "^1.0.0", + "@azure/identity": "^4.2.1", + "@vitest/browser": "^1.3.1", + "@vitest/coverage-istanbul": "^1.3.1", + "playwright": "^1.41.2", + "vitest": "^1.3.1", + "@azure-tools/test-credential": "^2.0.0", + "@azure-tools/test-recorder": "^4.0.0", + "@azure/dev-tool": "^1.0.0", + "@azure/eslint-plugin-azure-sdk": "^3.0.0" + }, + "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", + "pack": "npm pack 2>&1", + "lint": "eslint package.json api-extractor.json src test --ext .ts --ext .cts --ext .mts", + "lint:fix": "eslint package.json api-extractor.json src test --ext .ts --ext .cts --ext .mts --fix --fix-type [problem,suggestion]", + "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", + "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" + }, + "exports": { + "./package.json": "./package.json", + ".": { + "browser": { + "source": "./src/index.ts", + "types": "./dist/browser/index.d.ts", + "default": "./dist/browser/index.js" + }, + "react-native": { + "source": "./src/index.ts", + "types": "./dist/react-native/index.d.ts", + "default": "./dist/react-native/index.js" + }, + "import": { + "source": "./src/index.ts", + "types": "./dist/esm/index.d.ts", + "default": "./dist/esm/index.js" + }, + "require": { + "source": "./src/index.ts", + "types": "./dist/commonjs/index.d.ts", + "default": "./dist/commonjs/index.js" + } + } + }, + "main": "./dist/commonjs/index.js", + "types": "./dist/commonjs/index.d.ts", + "module": "./dist/esm/index.js" } diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/review/arm-appcomplianceautomation.api.md b/sdk/appcomplianceautomation/arm-appcomplianceautomation/review/arm-appcomplianceautomation.api.md index 907ec30fc552..7822293bc72f 100644 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/review/arm-appcomplianceautomation.api.md +++ b/sdk/appcomplianceautomation/arm-appcomplianceautomation/review/arm-appcomplianceautomation.api.md @@ -4,65 +4,78 @@ ```ts -import * as coreAuth from '@azure/core-auth'; -import * as coreClient from '@azure/core-client'; +import { AbortSignalLike } from '@azure/abort-controller'; +import { CancelOnProgress } from '@azure/core-lro'; +import { Client } from '@azure-rest/core-client'; +import { ClientOptions } from '@azure-rest/core-client'; +import { CreateHttpPollerOptions } from '@azure/core-lro'; +import { HttpResponse } from '@azure-rest/core-client'; import { OperationState } from '@azure/core-lro'; +import { Paged } from '@azure/core-paging'; import { PagedAsyncIterableIterator } from '@azure/core-paging'; -import { SimplePollerLike } from '@azure/core-lro'; +import { PathUncheckedResponse } from '@azure-rest/core-client'; +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 type ActionType = string; +export type ActionTypeOutput = string; // @public (undocumented) -export class AppComplianceAutomationToolForMicrosoft365 extends coreClient.ServiceClient { - // (undocumented) - $host: string; - constructor(credentials: coreAuth.TokenCredential, options?: AppComplianceAutomationToolForMicrosoft365OptionalParams); - // (undocumented) - apiVersion: string; - // (undocumented) - evidence: Evidence; - // (undocumented) - operations: Operations; - // (undocumented) - providerActions: ProviderActions; - // (undocumented) - report: Report_2; - // (undocumented) - scopingConfiguration: ScopingConfiguration; - // (undocumented) - snapshot: Snapshot; - // (undocumented) - webhook: Webhook; -} +export type AppComplianceAutomationClient = Client & { + path: Routes; +}; // @public -export interface AppComplianceAutomationToolForMicrosoft365OptionalParams extends coreClient.ServiceClientOptions { - $host?: string; +export interface AppComplianceAutomationClientOptions extends ClientOptions { apiVersion?: string; - endpoint?: string; +} + +// @public +export interface AzureEntityResource extends Resource { +} + +// @public +export interface AzureEntityResourceOutput extends ResourceOutput { + readonly etag?: string; } // @public export interface Category { +} + +// @public +export interface CategoryOutput { readonly categoryName?: string; - readonly categoryStatus?: CategoryStatus; - readonly controlFamilies?: ControlFamily[]; + readonly categoryStatus?: CategoryStatusOutput; + readonly controlFamilies?: Array; } // @public export type CategoryStatus = string; +// @public +export type CategoryStatusOutput = string; + // @public export interface CertSyncRecord { certificationStatus?: string; - controls?: ControlSyncRecord[]; + controls?: Array; + ingestionStatus?: string; + offerGuid?: string; +} + +// @public +export interface CertSyncRecordOutput { + certificationStatus?: string; + controls?: Array; ingestionStatus?: string; offerGuid?: string; } // @public -export type CheckNameAvailabilityReason = string; +export type CheckNameAvailabilityReasonOutput = string; // @public export interface CheckNameAvailabilityRequest { @@ -71,23 +84,23 @@ export interface CheckNameAvailabilityRequest { } // @public -export interface CheckNameAvailabilityResponse { +export interface CheckNameAvailabilityResponseOutput { message?: string; nameAvailable?: boolean; - reason?: CheckNameAvailabilityReason; + reason?: CheckNameAvailabilityReasonOutput; } // @public -export interface ComplianceReportItem { +export interface ComplianceReportItemOutput { readonly categoryName?: string; readonly controlFamilyName?: string; readonly controlId?: string; readonly controlName?: string; - readonly controlStatus?: ControlStatus; + readonly controlStatus?: ControlStatusOutput; readonly resourceId?: string; - readonly resourceOrigin?: ResourceOrigin; - readonly resourceStatus?: ResourceStatus; - readonly resourceStatusChangeDate?: Date; + readonly resourceOrigin?: ResourceOriginOutput; + readonly resourceStatus?: ResourceStatusOutput; + readonly resourceStatusChangeDate?: string; readonly resourceType?: string; readonly responsibilityDescription?: string; readonly responsibilityTitle?: string; @@ -95,781 +108,1301 @@ export interface ComplianceReportItem { // @public export interface ComplianceResult { - readonly categories?: Category[]; +} + +// @public +export interface ComplianceResultOutput { + readonly categories?: Array; readonly complianceName?: string; } // @public export type ContentType = string; +// @public +export type ContentTypeOutput = string; + // @public export interface Control { - readonly controlDescription?: string; - readonly controlDescriptionHyperLink?: string; - readonly controlFullName?: string; - readonly controlId?: string; - readonly controlName?: string; - readonly controlStatus?: ControlStatus; - readonly responsibilities?: Responsibility[]; } // @public export interface ControlFamily { +} + +// @public +export interface ControlFamilyOutput { readonly controlFamilyName?: string; - readonly controlFamilyStatus?: ControlFamilyStatus; - readonly controls?: Control[]; + readonly controlFamilyStatus?: ControlFamilyStatusOutput; + readonly controls?: Array; } // @public export type ControlFamilyStatus = string; // @public -export type ControlStatus = string; +export type ControlFamilyStatusOutput = string; // @public -export interface ControlSyncRecord { - controlId?: string; - controlStatus?: string; +export interface ControlOutput { + readonly controlDescription?: string; + readonly controlDescriptionHyperLink?: string; + readonly controlFullName?: string; + readonly controlId?: string; + readonly controlName?: string; + readonly controlStatus?: ControlStatusOutput; + readonly responsibilities?: Array; } // @public -export type CreatedByType = string; +export type ControlStatus = string; // @public -export type DeliveryStatus = string; +export type ControlStatusOutput = string; // @public -export interface DownloadResponse { - readonly complianceDetailedPdfReport?: DownloadResponseComplianceDetailedPdfReport; - readonly compliancePdfReport?: DownloadResponseCompliancePdfReport; - readonly complianceReport?: ComplianceReportItem[]; - readonly resourceList?: ResourceItem[]; +export interface ControlSyncRecord { + controlId?: string; + controlStatus?: string; } // @public -export interface DownloadResponseComplianceDetailedPdfReport { - readonly sasUri?: string; +export interface ControlSyncRecordOutput { + controlId?: string; + controlStatus?: string; } // @public -export interface DownloadResponseCompliancePdfReport { - readonly sasUri?: string; -} +function createClient(credentials: TokenCredential, { apiVersion, ...options }?: AppComplianceAutomationClientOptions): AppComplianceAutomationClient; +export default createClient; // @public -export type DownloadType = string; +export type CreatedByType = string; // @public -export type EnableSslVerification = string; +export type CreatedByTypeOutput = string; // @public -export interface ErrorAdditionalInfo { - readonly info?: Record; - readonly type?: string; -} +export type DeliveryStatus = string; // @public -export interface ErrorDetail { - readonly additionalInfo?: ErrorAdditionalInfo[]; - readonly code?: string; - readonly details?: ErrorDetail[]; - readonly message?: string; - readonly target?: string; -} +export type DeliveryStatusOutput = string; // @public -export interface ErrorResponse { - error?: ErrorDetail; +export interface DownloadResponseComplianceDetailedPdfReportOutput { + readonly sasUri?: string; } // @public -export interface Evidence { - createOrUpdate(reportName: string, evidenceName: string, properties: EvidenceResource, options?: EvidenceCreateOrUpdateOptionalParams): Promise; - delete(reportName: string, evidenceName: string, options?: EvidenceDeleteOptionalParams): Promise; - download(reportName: string, evidenceName: string, body: EvidenceFileDownloadRequest, options?: EvidenceDownloadOptionalParams): Promise; - get(reportName: string, evidenceName: string, options?: EvidenceGetOptionalParams): Promise; - listByReport(reportName: string, options?: EvidenceListByReportOptionalParams): PagedAsyncIterableIterator; +export interface DownloadResponseCompliancePdfReportOutput { + readonly sasUri?: string; } // @public -export interface EvidenceCreateOrUpdateOptionalParams extends coreClient.OperationOptions { - offerGuid?: string; - reportCreatorTenantId?: string; +export interface DownloadResponseOutput { + readonly complianceDetailedPdfReport?: DownloadResponseComplianceDetailedPdfReportOutput; + readonly compliancePdfReport?: DownloadResponseCompliancePdfReportOutput; + readonly complianceReport?: Array; + readonly resourceList?: Array; } // @public -export type EvidenceCreateOrUpdateResponse = EvidenceResource; +export type DownloadType = string; // @public -export interface EvidenceDeleteOptionalParams extends coreClient.OperationOptions { -} +export type EnableSslVerification = string; // @public -export interface EvidenceDownloadOptionalParams extends coreClient.OperationOptions { -} +export type EnableSslVerificationOutput = string; // @public -export type EvidenceDownloadResponse = EvidenceFileDownloadResponse; +export interface ErrorAdditionalInfoOutput { + readonly info?: Record; + readonly type?: string; +} // @public -export interface EvidenceFileDownloadRequest { - offerGuid?: string; - reportCreatorTenantId?: string; +export interface ErrorDetailOutput { + readonly additionalInfo?: Array; + readonly code?: string; + readonly details?: Array; + readonly message?: string; + readonly target?: string; } // @public -export interface EvidenceFileDownloadResponse { - readonly evidenceFile?: EvidenceFileDownloadResponseEvidenceFile; +export interface ErrorResponseOutput { + error?: ErrorDetailOutput; } // @public -export interface EvidenceFileDownloadResponseEvidenceFile { - readonly url?: string; +export interface EvidenceCreateOrUpdate200Response extends HttpResponse { + // (undocumented) + body: EvidenceResourceOutput; + // (undocumented) + status: "200"; } // @public -export interface EvidenceGetOptionalParams extends coreClient.OperationOptions { +export interface EvidenceCreateOrUpdate201Response extends HttpResponse { + // (undocumented) + body: EvidenceResourceOutput; + // (undocumented) + status: "201"; } -// @public -export type EvidenceGetResponse = EvidenceResource; +// @public (undocumented) +export interface EvidenceCreateOrUpdateBodyParam { + body: EvidenceResource; +} -// @public -export interface EvidenceListByReportNextOptionalParams extends coreClient.OperationOptions { +// @public (undocumented) +export interface EvidenceCreateOrUpdateDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; } -// @public -export type EvidenceListByReportNextResponse = EvidenceResourceListResult; +// @public (undocumented) +export type EvidenceCreateOrUpdateParameters = EvidenceCreateOrUpdateQueryParam & EvidenceCreateOrUpdateBodyParam & RequestParameters; -// @public -export interface EvidenceListByReportOptionalParams extends coreClient.OperationOptions { - filter?: string; +// @public (undocumented) +export interface EvidenceCreateOrUpdateQueryParam { + // (undocumented) + queryParameters?: EvidenceCreateOrUpdateQueryParamProperties; +} + +// @public (undocumented) +export interface EvidenceCreateOrUpdateQueryParamProperties { offerGuid?: string; - orderby?: string; reportCreatorTenantId?: string; - select?: string; - skipToken?: string; - top?: number; } // @public -export type EvidenceListByReportResponse = EvidenceResourceListResult; - -// @public -export interface EvidenceProperties { - controlId?: string; - evidenceType?: EvidenceType; - extraData?: string; - filePath: string; - readonly provisioningState?: ProvisioningState; - responsibilityId?: string; +export interface EvidenceDelete200Response extends HttpResponse { + // (undocumented) + status: "200"; } // @public -export interface EvidenceResource extends ProxyResource { - properties: EvidenceProperties; +export interface EvidenceDelete204Response extends HttpResponse { + // (undocumented) + status: "204"; } -// @public -export interface EvidenceResourceListResult { - nextLink?: string; - value: EvidenceResource[]; +// @public (undocumented) +export interface EvidenceDeleteDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; } -// @public -export type EvidenceType = string; +// @public (undocumented) +export type EvidenceDeleteParameters = RequestParameters; -// @public -export interface GetCollectionCountRequest { - type?: string; +// @public (undocumented) +export interface EvidenceDownload { + post(options: EvidenceDownloadParameters): StreamableMethod; } // @public -export interface GetCollectionCountResponse { - count?: number; +export interface EvidenceDownload200Response extends HttpResponse { + // (undocumented) + body: EvidenceFileDownloadResponseOutput; + // (undocumented) + status: "200"; } -// @public -export function getContinuationToken(page: unknown): string | undefined; - -// @public -export interface GetOverviewStatusRequest { - type?: string; +// @public (undocumented) +export interface EvidenceDownloadBodyParam { + body: EvidenceFileDownloadRequest; } -// @public -export interface GetOverviewStatusResponse { - statusList?: StatusItem[]; +// @public (undocumented) +export interface EvidenceDownloadDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; } -// @public -export type InputType = string; - -// @public -export type IsRecommendSolution = string; +// @public (undocumented) +export type EvidenceDownloadParameters = EvidenceDownloadBodyParam & RequestParameters; // @public -export enum KnownActionType { - Internal = "Internal" +export interface EvidenceFileDownloadRequest { + offerGuid?: string; + reportCreatorTenantId?: string; } // @public -export enum KnownCategoryStatus { - Failed = "Failed", - NotApplicable = "NotApplicable", - Passed = "Passed", - PendingApproval = "PendingApproval" +export interface EvidenceFileDownloadResponseEvidenceFileOutput { + readonly url?: string; } // @public -export enum KnownCheckNameAvailabilityReason { - AlreadyExists = "AlreadyExists", - Invalid = "Invalid" +export interface EvidenceFileDownloadResponseOutput { + readonly evidenceFile?: EvidenceFileDownloadResponseEvidenceFileOutput; } -// @public -export enum KnownContentType { - ApplicationJson = "application/json" +// @public (undocumented) +export interface EvidenceGet { + delete(options?: EvidenceDeleteParameters): StreamableMethod; + get(options?: EvidenceGetParameters): StreamableMethod; + put(options: EvidenceCreateOrUpdateParameters): StreamableMethod; } // @public -export enum KnownControlFamilyStatus { - Failed = "Failed", - NotApplicable = "NotApplicable", - Passed = "Passed", - PendingApproval = "PendingApproval" +export interface EvidenceGet200Response extends HttpResponse { + // (undocumented) + body: EvidenceResourceOutput; + // (undocumented) + status: "200"; } -// @public -export enum KnownControlStatus { - Failed = "Failed", - NotApplicable = "NotApplicable", - Passed = "Passed", - PendingApproval = "PendingApproval" +// @public (undocumented) +export interface EvidenceGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; } -// @public -export enum KnownCreatedByType { - Application = "Application", - Key = "Key", - ManagedIdentity = "ManagedIdentity", - User = "User" -} +// @public (undocumented) +export type EvidenceGetParameters = RequestParameters; -// @public -export enum KnownDeliveryStatus { - Failed = "Failed", - NotStarted = "NotStarted", - Succeeded = "Succeeded" +// @public (undocumented) +export interface EvidenceListByReport { + get(options?: EvidenceListByReportParameters): StreamableMethod; } // @public -export enum KnownDownloadType { - ComplianceDetailedPdfReport = "ComplianceDetailedPdfReport", - CompliancePdfReport = "CompliancePdfReport", - ComplianceReport = "ComplianceReport", - ResourceList = "ResourceList" +export interface EvidenceListByReport200Response extends HttpResponse { + // (undocumented) + body: EvidenceResourceListResultOutput; + // (undocumented) + status: "200"; } -// @public -export enum KnownEnableSslVerification { - False = "false", - True = "true" +// @public (undocumented) +export interface EvidenceListByReportDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; } -// @public -export enum KnownEvidenceType { - AutoCollectedEvidence = "AutoCollectedEvidence", - Data = "Data", - File = "File" -} +// @public (undocumented) +export type EvidenceListByReportParameters = EvidenceListByReportQueryParam & RequestParameters; -// @public -export enum KnownInputType { - Boolean = "Boolean", - Date = "Date", - Email = "Email", - Group = "Group", - MultilineText = "MultilineText", - MultiSelectCheckbox = "MultiSelectCheckbox", - MultiSelectDropdown = "MultiSelectDropdown", - MultiSelectDropdownCustom = "MultiSelectDropdownCustom", - None = "None", - Number = "Number", - SingleSelectDropdown = "SingleSelectDropdown", - SingleSelection = "SingleSelection", - Telephone = "Telephone", - Text = "Text", - Upload = "Upload", - Url = "Url", - YearPicker = "YearPicker", - YesNoNa = "YesNoNa" +// @public (undocumented) +export interface EvidenceListByReportQueryParam { + // (undocumented) + queryParameters?: EvidenceListByReportQueryParamProperties; } -// @public -export enum KnownIsRecommendSolution { - False = "false", - True = "true" +// @public (undocumented) +export interface EvidenceListByReportQueryParamProperties { + $filter?: string; + $orderby?: string; + $select?: string; + $skipToken?: string; + $top?: number; + offerGuid?: string; + reportCreatorTenantId?: string; } // @public -export enum KnownNotificationEvent { - AssessmentFailure = "assessment_failure", - GenerateSnapshotFailed = "generate_snapshot_failed", - GenerateSnapshotSuccess = "generate_snapshot_success", - ReportConfigurationChanges = "report_configuration_changes", - ReportDeletion = "report_deletion" +export interface EvidenceProperties { + controlId?: string; + evidenceType?: EvidenceType; + extraData?: string; + filePath: string; + responsibilityId?: string; } // @public -export enum KnownOrigin { - System = "system", - User = "user", - UserSystem = "user,system" +export interface EvidencePropertiesOutput { + controlId?: string; + evidenceType?: EvidenceTypeOutput; + extraData?: string; + filePath: string; + readonly provisioningState?: ProvisioningStateOutput; + responsibilityId?: string; } // @public -export enum KnownProvisioningState { - Canceled = "Canceled", - Creating = "Creating", - Deleting = "Deleting", - Failed = "Failed", - Fixing = "Fixing", - Succeeded = "Succeeded", - Updating = "Updating", - Verifying = "Verifying" +export interface EvidenceResource extends ProxyResource { + properties: EvidenceProperties; } // @public -export enum KnownReportStatus { - Active = "Active", - Disabled = "Disabled", - Failed = "Failed", - Reviewing = "Reviewing" -} +export type EvidenceResourceListResultOutput = Paged; // @public -export enum KnownResourceOrigin { - AWS = "AWS", - Azure = "Azure", - GCP = "GCP" +export interface EvidenceResourceOutput extends ProxyResourceOutput { + properties: EvidencePropertiesOutput; } // @public -export enum KnownResourceStatus { - Healthy = "Healthy", - Unhealthy = "Unhealthy" -} +export type EvidenceType = string; // @public -export enum KnownResponsibilityEnvironment { - AWS = "AWS", - Azure = "Azure", - GCP = "GCP", - General = "General" -} +export type EvidenceTypeOutput = string; // @public -export enum KnownResponsibilitySeverity { - High = "High", - Low = "Low", - Medium = "Medium" +export interface ExtensionResource extends Resource { } // @public -export enum KnownResponsibilityStatus { - Failed = "Failed", - NotApplicable = "NotApplicable", - Passed = "Passed", - PendingApproval = "PendingApproval" +export interface ExtensionResourceOutput extends ResourceOutput { } // @public -export enum KnownResponsibilityType { - Automated = "Automated", - Manual = "Manual", - ScopedManual = "ScopedManual" -} +export type GetArrayType = T extends Array ? TData : never; // @public -export enum KnownResult { - Failed = "Failed", - Succeeded = "Succeeded" +export interface GetCollectionCountRequest { + type?: string; } // @public -export enum KnownRule { - AzureApplication = "AzureApplication", - CharLength = "CharLength", - CreditCardPCI = "CreditCardPCI", - Domains = "Domains", - DynamicDropdown = "DynamicDropdown", - PreventNonEnglishChar = "PreventNonEnglishChar", - PublicSOX = "PublicSOX", - PublisherVerification = "PublisherVerification", - Required = "Required", - Url = "Url", - Urls = "Urls", - USPrivacyShield = "USPrivacyShield", - ValidEmail = "ValidEmail", - ValidGuid = "ValidGuid" +export interface GetCollectionCountResponseOutput { + count?: number; } // @public -export enum KnownSendAllEvents { - False = "false", - True = "true" -} +export function getLongRunningPoller(client: Client, initialResponse: ReportCreateOrUpdate200Response | ReportCreateOrUpdate201Response | ReportCreateOrUpdateDefaultResponse, options?: CreateHttpPollerOptions>): Promise, TResult>>; -// @public -export enum KnownUpdateWebhookKey { - False = "false", - True = "true" -} +// @public (undocumented) +export function getLongRunningPoller(client: Client, initialResponse: ReportUpdate200Response | ReportUpdate202Response | ReportUpdateDefaultResponse, options?: CreateHttpPollerOptions>): Promise, TResult>>; -// @public -export enum KnownWebhookKeyEnabled { - False = "false", - True = "true" -} +// @public (undocumented) +export function getLongRunningPoller(client: Client, initialResponse: ReportDelete202Response | ReportDelete204Response | ReportDeleteDefaultResponse, options?: CreateHttpPollerOptions>): Promise, TResult>>; -// @public -export enum KnownWebhookStatus { - Disabled = "Disabled", - Enabled = "Enabled" -} +// @public (undocumented) +export function getLongRunningPoller(client: Client, initialResponse: ReportSyncCertRecord200Response | ReportSyncCertRecord202Response | ReportSyncCertRecordDefaultResponse, options?: CreateHttpPollerOptions>): Promise, TResult>>; -// @public -export interface ListInUseStorageAccountsRequest { - subscriptionIds?: string[]; -} +// @public (undocumented) +export function getLongRunningPoller(client: Client, initialResponse: ReportFix200Response | ReportFix202Response | ReportFixDefaultResponse, options?: CreateHttpPollerOptions>): Promise, TResult>>; -// @public -export interface ListInUseStorageAccountsResponse { - storageAccountList?: StorageInfo[]; -} +// @public (undocumented) +export function getLongRunningPoller(client: Client, initialResponse: ReportVerify200Response | ReportVerify202Response | ReportVerifyDefaultResponse, options?: CreateHttpPollerOptions>): Promise, TResult>>; -// @public -export type NotificationEvent = string; +// @public (undocumented) +export function getLongRunningPoller(client: Client, initialResponse: SnapshotDownload200Response | SnapshotDownload202Response | SnapshotDownloadDefaultResponse, options?: CreateHttpPollerOptions>): Promise, TResult>>; -// @public -export interface OnboardRequest { - subscriptionIds: string[]; -} +// @public (undocumented) +export function getLongRunningPoller(client: Client, initialResponse: ProviderActionsOnboard200Response | ProviderActionsOnboard202Response | ProviderActionsOnboardDefaultResponse, options?: CreateHttpPollerOptions>): Promise, TResult>>; -// @public -export interface OnboardResponse { - subscriptionIds?: string[]; -} +// @public (undocumented) +export function getLongRunningPoller(client: Client, initialResponse: ProviderActionsTriggerEvaluation200Response | ProviderActionsTriggerEvaluation202Response | ProviderActionsTriggerEvaluationDefaultResponse, options?: CreateHttpPollerOptions>): Promise, TResult>>; // @public -export interface Operation { - readonly actionType?: ActionType; - display?: OperationDisplay; - readonly isDataAction?: boolean; - readonly name?: string; - readonly origin?: Origin; +export interface GetOverviewStatusRequest { + type?: string; } // @public -export interface OperationDisplay { - readonly description?: string; - readonly operation?: string; - readonly provider?: string; - readonly resource?: string; +export interface GetOverviewStatusResponseOutput { + statusList?: Array; } // @public -export interface OperationListResult { - readonly nextLink?: string; - readonly value?: Operation[]; -} +export type GetPage = (pageLink: string, maxPageSize?: number) => Promise<{ + page: TPage; + nextPageLink?: string; +}>; // @public -export interface Operations { - list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator; +export interface Identity { + type?: ResourceIdentityType; } // @public -export interface OperationsListNextOptionalParams extends coreClient.OperationOptions { +export interface IdentityOutput { + readonly principalId?: string; + readonly tenantId?: string; + type?: ResourceIdentityTypeOutput; } // @public -export type OperationsListNextResponse = OperationListResult; +export type InputTypeOutput = string; // @public -export interface OperationsListOptionalParams extends coreClient.OperationOptions { -} +export type IsRecommendSolution = string; // @public -export type OperationsListResponse = OperationListResult; +export type IsRecommendSolutionOutput = string; -// @public -export type Origin = string; +// @public (undocumented) +export function isUnexpected(response: ReportGet200Response | ReportGetDefaultResponse): response is ReportGetDefaultResponse; -// @public -export interface OverviewStatus { - readonly failedCount?: number; - readonly manualCount?: number; - readonly notApplicableCount?: number; - readonly passedCount?: number; - readonly pendingCount?: number; -} +// @public (undocumented) +export function isUnexpected(response: ReportCreateOrUpdate200Response | ReportCreateOrUpdate201Response | ReportCreateOrUpdateLogicalResponse | ReportCreateOrUpdateDefaultResponse): response is ReportCreateOrUpdateDefaultResponse; -// @public -export interface ProviderActions { - beginOnboard(body: OnboardRequest, options?: ProviderActionsOnboardOptionalParams): Promise, ProviderActionsOnboardResponse>>; - beginOnboardAndWait(body: OnboardRequest, options?: ProviderActionsOnboardOptionalParams): Promise; - beginTriggerEvaluation(body: TriggerEvaluationRequest, options?: ProviderActionsTriggerEvaluationOptionalParams): Promise, ProviderActionsTriggerEvaluationResponse>>; - beginTriggerEvaluationAndWait(body: TriggerEvaluationRequest, options?: ProviderActionsTriggerEvaluationOptionalParams): Promise; - checkNameAvailability(body: CheckNameAvailabilityRequest, options?: ProviderActionsCheckNameAvailabilityOptionalParams): Promise; - getCollectionCount(body: GetCollectionCountRequest, options?: ProviderActionsGetCollectionCountOptionalParams): Promise; - getOverviewStatus(body: GetOverviewStatusRequest, options?: ProviderActionsGetOverviewStatusOptionalParams): Promise; - listInUseStorageAccounts(body: ListInUseStorageAccountsRequest, options?: ProviderActionsListInUseStorageAccountsOptionalParams): Promise; -} +// @public (undocumented) +export function isUnexpected(response: ReportUpdate200Response | ReportUpdate202Response | ReportUpdateLogicalResponse | ReportUpdateDefaultResponse): response is ReportUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ReportDelete202Response | ReportDelete204Response | ReportDeleteLogicalResponse | ReportDeleteDefaultResponse): response is ReportDeleteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ReportList200Response | ReportListDefaultResponse): response is ReportListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ReportSyncCertRecord200Response | ReportSyncCertRecord202Response | ReportSyncCertRecordLogicalResponse | ReportSyncCertRecordDefaultResponse): response is ReportSyncCertRecordDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ReportCheckNameAvailability200Response | ReportCheckNameAvailabilityDefaultResponse): response is ReportCheckNameAvailabilityDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ReportFix200Response | ReportFix202Response | ReportFixLogicalResponse | ReportFixDefaultResponse): response is ReportFixDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ReportGetScopingQuestions200Response | ReportGetScopingQuestionsDefaultResponse): response is ReportGetScopingQuestionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ReportVerify200Response | ReportVerify202Response | ReportVerifyLogicalResponse | ReportVerifyDefaultResponse): response is ReportVerifyDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebhookGet200Response | WebhookGetDefaultResponse): response is WebhookGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebhookCreateOrUpdate200Response | WebhookCreateOrUpdate201Response | WebhookCreateOrUpdateDefaultResponse): response is WebhookCreateOrUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebhookUpdate200Response | WebhookUpdateDefaultResponse): response is WebhookUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebhookDelete200Response | WebhookDelete204Response | WebhookDeleteDefaultResponse): response is WebhookDeleteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebhookList200Response | WebhookListDefaultResponse): response is WebhookListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: SnapshotGet200Response | SnapshotGetDefaultResponse): response is SnapshotGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: SnapshotList200Response | SnapshotListDefaultResponse): response is SnapshotListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: SnapshotDownload200Response | SnapshotDownload202Response | SnapshotDownloadLogicalResponse | SnapshotDownloadDefaultResponse): response is SnapshotDownloadDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ScopingConfigurationGet200Response | ScopingConfigurationGetDefaultResponse): response is ScopingConfigurationGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ScopingConfigurationCreateOrUpdate200Response | ScopingConfigurationCreateOrUpdate201Response | ScopingConfigurationCreateOrUpdateDefaultResponse): response is ScopingConfigurationCreateOrUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ScopingConfigurationDelete200Response | ScopingConfigurationDelete204Response | ScopingConfigurationDeleteDefaultResponse): response is ScopingConfigurationDeleteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ScopingConfigurationList200Response | ScopingConfigurationListDefaultResponse): response is ScopingConfigurationListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: EvidenceGet200Response | EvidenceGetDefaultResponse): response is EvidenceGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: EvidenceCreateOrUpdate200Response | EvidenceCreateOrUpdate201Response | EvidenceCreateOrUpdateDefaultResponse): response is EvidenceCreateOrUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: EvidenceDelete200Response | EvidenceDelete204Response | EvidenceDeleteDefaultResponse): response is EvidenceDeleteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: EvidenceListByReport200Response | EvidenceListByReportDefaultResponse): response is EvidenceListByReportDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: EvidenceDownload200Response | EvidenceDownloadDefaultResponse): response is EvidenceDownloadDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: OperationsList200Response | OperationsListDefaultResponse): response is OperationsListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ProviderActionsCheckNameAvailability200Response | ProviderActionsCheckNameAvailabilityDefaultResponse): response is ProviderActionsCheckNameAvailabilityDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ProviderActionsGetCollectionCount200Response | ProviderActionsGetCollectionCountDefaultResponse): response is ProviderActionsGetCollectionCountDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ProviderActionsGetOverviewStatus200Response | ProviderActionsGetOverviewStatusDefaultResponse): response is ProviderActionsGetOverviewStatusDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ProviderActionsOnboard200Response | ProviderActionsOnboard202Response | ProviderActionsOnboardLogicalResponse | ProviderActionsOnboardDefaultResponse): response is ProviderActionsOnboardDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ProviderActionsTriggerEvaluation200Response | ProviderActionsTriggerEvaluation202Response | ProviderActionsTriggerEvaluationLogicalResponse | ProviderActionsTriggerEvaluationDefaultResponse): response is ProviderActionsTriggerEvaluationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ProviderActionsListInUseStorageAccounts200Response | ProviderActionsListInUseStorageAccountsDefaultResponse): response is ProviderActionsListInUseStorageAccountsDefaultResponse; + +// @public +export interface ListInUseStorageAccountsRequest { + subscriptionIds?: string[]; +} + +// @public +export interface ListInUseStorageAccountsResponseOutput { + storageAccountList?: Array; +} + +// @public +export type NotificationEvent = string; + +// @public +export type NotificationEventOutput = string; + +// @public +export interface OnboardRequest { + subscriptionIds: string[]; +} + +// @public +export interface OnboardResponseOutput { + subscriptionIds?: string[]; +} + +// @public +export interface OperationDisplayOutput { + readonly description?: string; + readonly operation?: string; + readonly provider?: string; + readonly resource?: string; +} + +// @public +export type OperationListResultOutput = Paged; + +// @public +export interface OperationOutput { + actionType?: ActionTypeOutput; + readonly display?: OperationDisplayOutput; + readonly isDataAction?: boolean; + readonly name?: string; + readonly origin?: OriginOutput; +} + +// @public (undocumented) +export interface OperationsList { + get(options?: OperationsListParameters): StreamableMethod; +} + +// @public +export interface OperationsList200Response extends HttpResponse { + // (undocumented) + body: OperationListResultOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface OperationsListDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type OperationsListParameters = RequestParameters; + +// @public +export type OriginOutput = string; + +// @public +export interface OverviewStatus { +} + +// @public +export interface OverviewStatusOutput { + readonly failedCount?: number; + readonly manualCount?: number; + readonly notApplicableCount?: number; + readonly passedCount?: number; + readonly pendingCount?: number; +} + +// @public +export function paginate(client: Client, initialResponse: TResponse, options?: PagingOptions): PagedAsyncIterableIterator>; + +// @public +export type PaginateReturn = TResult extends { + body: { + value?: infer TPage; + }; +} ? GetArrayType : Array; + +// @public +export interface PagingOptions { + customGetPage?: GetPage[]>; +} + +// @public +export interface Plan { + name: string; + product: string; + promotionCode?: string; + publisher: string; + version?: string; +} + +// @public +export interface PlanOutput { + name: string; + product: string; + promotionCode?: string; + publisher: string; + version?: string; +} + +// @public +export interface PrivateEndpoint { +} + +// @public +export interface PrivateEndpointConnection extends Resource { + properties?: PrivateEndpointConnectionProperties; +} + +// @public +export interface PrivateEndpointConnectionOutput extends ResourceOutput { + properties?: PrivateEndpointConnectionPropertiesOutput; +} + +// @public +export interface PrivateEndpointConnectionProperties { + privateEndpoint?: PrivateEndpoint; + privateLinkServiceConnectionState: PrivateLinkServiceConnectionState; +} + +// @public +export interface PrivateEndpointConnectionPropertiesOutput { + privateEndpoint?: PrivateEndpointOutput; + privateLinkServiceConnectionState: PrivateLinkServiceConnectionStateOutput; + readonly provisioningState?: PrivateEndpointConnectionProvisioningStateOutput; +} + +// @public +export type PrivateEndpointConnectionProvisioningState = string; + +// @public +export type PrivateEndpointConnectionProvisioningStateOutput = string; + +// @public +export interface PrivateEndpointOutput { + readonly id?: string; +} + +// @public +export type PrivateEndpointServiceConnectionStatus = string; + +// @public +export type PrivateEndpointServiceConnectionStatusOutput = string; + +// @public +export interface PrivateLinkResource extends Resource { + properties?: PrivateLinkResourceProperties; +} + +// @public +export interface PrivateLinkResourceOutput extends ResourceOutput { + properties?: PrivateLinkResourcePropertiesOutput; +} // @public -export interface ProviderActionsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions { +export interface PrivateLinkResourceProperties { + requiredZoneNames?: string[]; } // @public -export type ProviderActionsCheckNameAvailabilityResponse = CheckNameAvailabilityResponse; +export interface PrivateLinkResourcePropertiesOutput { + readonly groupId?: string; + readonly requiredMembers?: string[]; + requiredZoneNames?: string[]; +} // @public -export interface ProviderActionsGetCollectionCountOptionalParams extends coreClient.OperationOptions { +export interface PrivateLinkServiceConnectionState { + actionsRequired?: string; + description?: string; + status?: PrivateEndpointServiceConnectionStatus; } // @public -export type ProviderActionsGetCollectionCountResponse = GetCollectionCountResponse; +export interface PrivateLinkServiceConnectionStateOutput { + actionsRequired?: string; + description?: string; + status?: PrivateEndpointServiceConnectionStatusOutput; +} + +// @public (undocumented) +export interface ProviderActionsCheckNameAvailability { + post(options: ProviderActionsCheckNameAvailabilityParameters): StreamableMethod; +} // @public -export interface ProviderActionsGetOverviewStatusOptionalParams extends coreClient.OperationOptions { +export interface ProviderActionsCheckNameAvailability200Response extends HttpResponse { + // (undocumented) + body: CheckNameAvailabilityResponseOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface ProviderActionsCheckNameAvailabilityBodyParam { + body: CheckNameAvailabilityRequest; +} + +// @public (undocumented) +export interface ProviderActionsCheckNameAvailabilityDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type ProviderActionsCheckNameAvailabilityParameters = ProviderActionsCheckNameAvailabilityBodyParam & RequestParameters; + +// @public (undocumented) +export interface ProviderActionsGetCollectionCount { + post(options: ProviderActionsGetCollectionCountParameters): StreamableMethod; } // @public -export type ProviderActionsGetOverviewStatusResponse = GetOverviewStatusResponse; +export interface ProviderActionsGetCollectionCount200Response extends HttpResponse { + // (undocumented) + body: GetCollectionCountResponseOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface ProviderActionsGetCollectionCountBodyParam { + body: GetCollectionCountRequest; +} + +// @public (undocumented) +export interface ProviderActionsGetCollectionCountDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type ProviderActionsGetCollectionCountParameters = ProviderActionsGetCollectionCountBodyParam & RequestParameters; + +// @public (undocumented) +export interface ProviderActionsGetOverviewStatus { + post(options: ProviderActionsGetOverviewStatusParameters): StreamableMethod; +} // @public -export interface ProviderActionsListInUseStorageAccountsOptionalParams extends coreClient.OperationOptions { +export interface ProviderActionsGetOverviewStatus200Response extends HttpResponse { + // (undocumented) + body: GetOverviewStatusResponseOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface ProviderActionsGetOverviewStatusBodyParam { + body: GetOverviewStatusRequest; +} + +// @public (undocumented) +export interface ProviderActionsGetOverviewStatusDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type ProviderActionsGetOverviewStatusParameters = ProviderActionsGetOverviewStatusBodyParam & RequestParameters; + +// @public (undocumented) +export interface ProviderActionsListInUseStorageAccounts { + post(options: ProviderActionsListInUseStorageAccountsParameters): StreamableMethod; } // @public -export type ProviderActionsListInUseStorageAccountsResponse = ListInUseStorageAccountsResponse; +export interface ProviderActionsListInUseStorageAccounts200Response extends HttpResponse { + // (undocumented) + body: ListInUseStorageAccountsResponseOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface ProviderActionsListInUseStorageAccountsBodyParam { + body: ListInUseStorageAccountsRequest; +} + +// @public (undocumented) +export interface ProviderActionsListInUseStorageAccountsDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type ProviderActionsListInUseStorageAccountsParameters = ProviderActionsListInUseStorageAccountsBodyParam & RequestParameters; + +// @public (undocumented) +export interface ProviderActionsOnboard { + post(options: ProviderActionsOnboardParameters): StreamableMethod; +} // @public -export interface ProviderActionsOnboardHeaders { +export interface ProviderActionsOnboard200Response extends HttpResponse { + // (undocumented) + body: OnboardResponseOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface ProviderActionsOnboard202Headers { + "retry-after"?: number; location?: string; - retryAfter?: number; } // @public -export interface ProviderActionsOnboardOptionalParams extends coreClient.OperationOptions { - resumeFrom?: string; - updateIntervalInMs?: number; +export interface ProviderActionsOnboard202Response extends HttpResponse { + // (undocumented) + headers: RawHttpHeaders & ProviderActionsOnboard202Headers; + // (undocumented) + status: "202"; +} + +// @public (undocumented) +export interface ProviderActionsOnboardBodyParam { + body: OnboardRequest; +} + +// @public (undocumented) +export interface ProviderActionsOnboardDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; } // @public -export type ProviderActionsOnboardResponse = OnboardResponse; +export interface ProviderActionsOnboardLogicalResponse extends HttpResponse { + // (undocumented) + body: OnboardResponseOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export type ProviderActionsOnboardParameters = ProviderActionsOnboardBodyParam & RequestParameters; + +// @public (undocumented) +export interface ProviderActionsTriggerEvaluation { + post(options: ProviderActionsTriggerEvaluationParameters): StreamableMethod; +} // @public -export interface ProviderActionsTriggerEvaluationHeaders { +export interface ProviderActionsTriggerEvaluation200Response extends HttpResponse { + // (undocumented) + body: TriggerEvaluationResponseOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface ProviderActionsTriggerEvaluation202Headers { + "retry-after"?: number; location?: string; - retryAfter?: number; } // @public -export interface ProviderActionsTriggerEvaluationOptionalParams extends coreClient.OperationOptions { - resumeFrom?: string; - updateIntervalInMs?: number; +export interface ProviderActionsTriggerEvaluation202Response extends HttpResponse { + // (undocumented) + headers: RawHttpHeaders & ProviderActionsTriggerEvaluation202Headers; + // (undocumented) + status: "202"; +} + +// @public (undocumented) +export interface ProviderActionsTriggerEvaluationBodyParam { + body: TriggerEvaluationRequest; +} + +// @public (undocumented) +export interface ProviderActionsTriggerEvaluationDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; +} + +// @public +export interface ProviderActionsTriggerEvaluationLogicalResponse extends HttpResponse { + // (undocumented) + body: TriggerEvaluationResponseOutput; + // (undocumented) + status: "200"; } +// @public (undocumented) +export type ProviderActionsTriggerEvaluationParameters = ProviderActionsTriggerEvaluationBodyParam & RequestParameters; + +// @public +export type ProvisioningState = string; + // @public -export type ProviderActionsTriggerEvaluationResponse = TriggerEvaluationResponse; +export type ProvisioningStateOutput = string; // @public -export type ProvisioningState = string; +export interface ProxyResource extends Resource { +} // @public -export interface ProxyResource extends Resource { +export interface ProxyResourceOutput extends ResourceOutput { } // @public -export interface QuickAssessment { +export interface QuickAssessmentOutput { readonly description?: string; readonly displayName?: string; readonly remediationLink?: string; readonly resourceId?: string; - readonly resourceStatus?: ResourceStatus; + readonly resourceStatus?: ResourceStatusOutput; readonly responsibilityId?: string; - readonly timestamp?: Date; + readonly timestamp?: string; } // @public export interface Recommendation { +} + +// @public +export interface RecommendationOutput { readonly recommendationId?: string; readonly recommendationShortName?: string; - readonly recommendationSolutions?: RecommendationSolution[]; + readonly recommendationSolutions?: Array; } // @public export interface RecommendationSolution { - readonly isRecommendSolution?: IsRecommendSolution; +} + +// @public +export interface RecommendationSolutionOutput { + readonly isRecommendSolution?: IsRecommendSolutionOutput; readonly recommendationSolutionContent?: string; readonly recommendationSolutionIndex?: string; } +// @public (undocumented) +export interface ReportCheckNameAvailability { + post(options: ReportCheckNameAvailabilityParameters): StreamableMethod; +} + // @public -interface Report_2 { - beginCreateOrUpdate(reportName: string, properties: ReportResource, options?: ReportCreateOrUpdateOptionalParams): Promise, ReportCreateOrUpdateResponse>>; - beginCreateOrUpdateAndWait(reportName: string, properties: ReportResource, options?: ReportCreateOrUpdateOptionalParams): Promise; - beginDelete(reportName: string, options?: ReportDeleteOptionalParams): Promise, ReportDeleteResponse>>; - beginDeleteAndWait(reportName: string, options?: ReportDeleteOptionalParams): Promise; - beginFix(reportName: string, options?: ReportFixOptionalParams): Promise, ReportFixResponse>>; - beginFixAndWait(reportName: string, options?: ReportFixOptionalParams): Promise; - beginSyncCertRecord(reportName: string, body: SyncCertRecordRequest, options?: ReportSyncCertRecordOptionalParams): Promise, ReportSyncCertRecordResponse>>; - beginSyncCertRecordAndWait(reportName: string, body: SyncCertRecordRequest, options?: ReportSyncCertRecordOptionalParams): Promise; - beginUpdate(reportName: string, properties: ReportResourcePatch, options?: ReportUpdateOptionalParams): Promise, ReportUpdateResponse>>; - beginUpdateAndWait(reportName: string, properties: ReportResourcePatch, options?: ReportUpdateOptionalParams): Promise; - beginVerify(reportName: string, options?: ReportVerifyOptionalParams): Promise, ReportVerifyResponse>>; - beginVerifyAndWait(reportName: string, options?: ReportVerifyOptionalParams): Promise; - get(reportName: string, options?: ReportGetOptionalParams): Promise; - getScopingQuestions(reportName: string, options?: ReportGetScopingQuestionsOptionalParams): Promise; - list(options?: ReportListOptionalParams): PagedAsyncIterableIterator; - nestedResourceCheckNameAvailability(reportName: string, body: CheckNameAvailabilityRequest, options?: ReportNestedResourceCheckNameAvailabilityOptionalParams): Promise; +export interface ReportCheckNameAvailability200Response extends HttpResponse { + // (undocumented) + body: CheckNameAvailabilityResponseOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface ReportCheckNameAvailabilityBodyParam { + body: CheckNameAvailabilityRequest; +} + +// @public (undocumented) +export interface ReportCheckNameAvailabilityDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; } -export { Report_2 as Report } + +// @public (undocumented) +export type ReportCheckNameAvailabilityParameters = ReportCheckNameAvailabilityBodyParam & RequestParameters; // @public export interface ReportComplianceStatus { - readonly m365?: OverviewStatus; } // @public -export interface ReportCreateOrUpdateHeaders { - retryAfter?: number; +export interface ReportComplianceStatusOutput { + readonly m365?: OverviewStatusOutput; } // @public -export interface ReportCreateOrUpdateOptionalParams extends coreClient.OperationOptions { - resumeFrom?: string; - updateIntervalInMs?: number; +export interface ReportCreateOrUpdate200Response extends HttpResponse { + // (undocumented) + body: ReportResourceOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface ReportCreateOrUpdate201Headers { + "retry-after"?: number; } // @public -export type ReportCreateOrUpdateResponse = ReportResource; +export interface ReportCreateOrUpdate201Response extends HttpResponse { + // (undocumented) + body: ReportResourceOutput; + // (undocumented) + headers: RawHttpHeaders & ReportCreateOrUpdate201Headers; + // (undocumented) + status: "201"; +} + +// @public (undocumented) +export interface ReportCreateOrUpdateBodyParam { + body: ReportResource; +} + +// @public (undocumented) +export interface ReportCreateOrUpdateDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; +} // @public -export interface ReportDeleteHeaders { +export interface ReportCreateOrUpdateLogicalResponse extends HttpResponse { + // (undocumented) + body: ReportResourceOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export type ReportCreateOrUpdateParameters = ReportCreateOrUpdateBodyParam & RequestParameters; + +// @public (undocumented) +export interface ReportDelete202Headers { + "retry-after"?: number; location?: string; - retryAfter?: number; } // @public -export interface ReportDeleteOptionalParams extends coreClient.OperationOptions { - resumeFrom?: string; - updateIntervalInMs?: number; +export interface ReportDelete202Response extends HttpResponse { + // (undocumented) + headers: RawHttpHeaders & ReportDelete202Headers; + // (undocumented) + status: "202"; +} + +// @public +export interface ReportDelete204Response extends HttpResponse { + // (undocumented) + status: "204"; +} + +// @public (undocumented) +export interface ReportDeleteDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; } // @public -export type ReportDeleteResponse = ReportDeleteHeaders; +export interface ReportDeleteLogicalResponse extends HttpResponse { + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export type ReportDeleteParameters = RequestParameters; + +// @public (undocumented) +export interface ReportFix { + post(options: ReportFixParameters): StreamableMethod; +} // @public -export interface ReportFixHeaders { +export interface ReportFix200Response extends HttpResponse { + // (undocumented) + body: ReportFixResultOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface ReportFix202Headers { + "retry-after"?: number; location?: string; - retryAfter?: number; } // @public -export interface ReportFixOptionalParams extends coreClient.OperationOptions { - resumeFrom?: string; - updateIntervalInMs?: number; +export interface ReportFix202Response extends HttpResponse { + // (undocumented) + headers: RawHttpHeaders & ReportFix202Headers; + // (undocumented) + status: "202"; +} + +// @public (undocumented) +export interface ReportFixDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; } // @public -export type ReportFixResponse = ReportFixResult; +export interface ReportFixLogicalResponse extends HttpResponse { + // (undocumented) + body: ReportFixResultOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export type ReportFixParameters = RequestParameters; // @public -export interface ReportFixResult { +export interface ReportFixResultOutput { readonly reason?: string; - readonly result?: Result; + readonly result?: ResultOutput; } -// @public -export interface ReportGetOptionalParams extends coreClient.OperationOptions { +// @public (undocumented) +export interface ReportGet { + delete(options?: ReportDeleteParameters): StreamableMethod; + get(options?: ReportGetParameters): StreamableMethod; + patch(options: ReportUpdateParameters): StreamableMethod; + put(options: ReportCreateOrUpdateParameters): StreamableMethod; } // @public -export type ReportGetResponse = ReportResource; +export interface ReportGet200Response extends HttpResponse { + // (undocumented) + body: ReportResourceOutput; + // (undocumented) + status: "200"; +} -// @public -export interface ReportGetScopingQuestionsOptionalParams extends coreClient.OperationOptions { +// @public (undocumented) +export interface ReportGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; } -// @public -export type ReportGetScopingQuestionsResponse = ScopingQuestions; +// @public (undocumented) +export type ReportGetParameters = RequestParameters; -// @public -export interface ReportListNextOptionalParams extends coreClient.OperationOptions { +// @public (undocumented) +export interface ReportGetScopingQuestions { + post(options: ReportGetScopingQuestionsParameters): StreamableMethod; } // @public -export type ReportListNextResponse = ReportResourceListResult; +export interface ReportGetScopingQuestions200Response extends HttpResponse { + // (undocumented) + body: ScopingQuestionsOutput; + // (undocumented) + status: "200"; +} -// @public -export interface ReportListOptionalParams extends coreClient.OperationOptions { - filter?: string; - offerGuid?: string; - orderby?: string; - reportCreatorTenantId?: string; - select?: string; - skipToken?: string; - top?: number; +// @public (undocumented) +export interface ReportGetScopingQuestionsDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; } -// @public -export type ReportListResponse = ReportResourceListResult; +// @public (undocumented) +export type ReportGetScopingQuestionsParameters = RequestParameters; -// @public -export interface ReportNestedResourceCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions { +// @public (undocumented) +export interface ReportList { + get(options?: ReportListParameters): StreamableMethod; } // @public -export type ReportNestedResourceCheckNameAvailabilityResponse = CheckNameAvailabilityResponse; +export interface ReportList200Response extends HttpResponse { + // (undocumented) + body: ReportResourceListResultOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface ReportListDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type ReportListParameters = ReportListQueryParam & RequestParameters; + +// @public (undocumented) +export interface ReportListQueryParam { + // (undocumented) + queryParameters?: ReportListQueryParamProperties; +} + +// @public (undocumented) +export interface ReportListQueryParamProperties { + $filter?: string; + $orderby?: string; + $select?: string; + $skipToken?: string; + $top?: number; + offerGuid?: string; + reportCreatorTenantId?: string; +} // @public export interface ReportPatchProperties { - readonly certRecords?: CertSyncRecord[]; - readonly complianceStatus?: ReportComplianceStatus; - readonly errors?: string[]; - readonly lastTriggerTime?: Date; - readonly nextTriggerTime?: Date; offerGuid?: string; - readonly provisioningState?: ProvisioningState; - resources?: ResourceMetadata[]; - readonly status?: ReportStatus; + resources?: Array; storageInfo?: StorageInfo; - readonly subscriptions?: string[]; - readonly tenantId?: string; timeZone?: string; - triggerTime?: Date; + triggerTime?: Date | string; } // @public export interface ReportProperties { - readonly certRecords?: CertSyncRecord[]; - readonly complianceStatus?: ReportComplianceStatus; - readonly errors?: string[]; - readonly lastTriggerTime?: Date; - readonly nextTriggerTime?: Date; offerGuid?: string; - readonly provisioningState?: ProvisioningState; - resources: ResourceMetadata[]; - readonly status?: ReportStatus; + resources: Array; storageInfo?: StorageInfo; + timeZone: string; + triggerTime: Date | string; +} + +// @public +export interface ReportPropertiesOutput { + readonly certRecords?: Array; + readonly complianceStatus?: ReportComplianceStatusOutput; + readonly errors?: string[]; + readonly lastTriggerTime?: string; + readonly nextTriggerTime?: string; + offerGuid?: string; + readonly provisioningState?: ProvisioningStateOutput; + resources: Array; + readonly status?: ReportStatusOutput; + storageInfo?: StorageInfoOutput; readonly subscriptions?: string[]; readonly tenantId?: string; timeZone: string; - triggerTime: Date; + triggerTime: string; } // @public @@ -878,9 +1411,11 @@ export interface ReportResource extends ProxyResource { } // @public -export interface ReportResourceListResult { - nextLink?: string; - value: ReportResource[]; +export type ReportResourceListResultOutput = Paged; + +// @public +export interface ReportResourceOutput extends ProxyResourceOutput { + properties: ReportPropertiesOutput; } // @public @@ -892,133 +1427,337 @@ export interface ReportResourcePatch { export type ReportStatus = string; // @public -export interface ReportSyncCertRecordHeaders { +export type ReportStatusOutput = string; + +// @public (undocumented) +export interface ReportSyncCertRecord { + post(options: ReportSyncCertRecordParameters): StreamableMethod; +} + +// @public +export interface ReportSyncCertRecord200Response extends HttpResponse { + // (undocumented) + body: SyncCertRecordResponseOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface ReportSyncCertRecord202Headers { + "retry-after"?: number; location?: string; - retryAfter?: number; } // @public -export interface ReportSyncCertRecordOptionalParams extends coreClient.OperationOptions { - resumeFrom?: string; - updateIntervalInMs?: number; +export interface ReportSyncCertRecord202Response extends HttpResponse { + // (undocumented) + headers: RawHttpHeaders & ReportSyncCertRecord202Headers; + // (undocumented) + status: "202"; +} + +// @public (undocumented) +export interface ReportSyncCertRecordBodyParam { + body: SyncCertRecordRequest; +} + +// @public (undocumented) +export interface ReportSyncCertRecordDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; } // @public -export type ReportSyncCertRecordResponse = SyncCertRecordResponse; +export interface ReportSyncCertRecordLogicalResponse extends HttpResponse { + // (undocumented) + body: SyncCertRecordResponseOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export type ReportSyncCertRecordParameters = ReportSyncCertRecordBodyParam & RequestParameters; // @public -export interface ReportUpdateHeaders { +export interface ReportUpdate200Response extends HttpResponse { + // (undocumented) + body: ReportResourceOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface ReportUpdate202Headers { + "retry-after"?: number; location?: string; - retryAfter?: number; } // @public -export interface ReportUpdateOptionalParams extends coreClient.OperationOptions { - resumeFrom?: string; - updateIntervalInMs?: number; +export interface ReportUpdate202Response extends HttpResponse { + // (undocumented) + headers: RawHttpHeaders & ReportUpdate202Headers; + // (undocumented) + status: "202"; +} + +// @public (undocumented) +export interface ReportUpdateBodyParam { + body: ReportResourcePatch; +} + +// @public (undocumented) +export interface ReportUpdateDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; } // @public -export type ReportUpdateResponse = ReportResource; +export interface ReportUpdateLogicalResponse extends HttpResponse { + // (undocumented) + body: ReportResourceOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export type ReportUpdateParameters = ReportUpdateBodyParam & RequestParameters; // @public -export interface ReportVerificationResult { +export interface ReportVerificationResultOutput { readonly reason?: string; - readonly result?: Result; + readonly result?: ResultOutput; +} + +// @public (undocumented) +export interface ReportVerify { + post(options: ReportVerifyParameters): StreamableMethod; } // @public -export interface ReportVerifyHeaders { +export interface ReportVerify200Response extends HttpResponse { + // (undocumented) + body: ReportVerificationResultOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface ReportVerify202Headers { + "retry-after"?: number; location?: string; - retryAfter?: number; } // @public -export interface ReportVerifyOptionalParams extends coreClient.OperationOptions { - resumeFrom?: string; - updateIntervalInMs?: number; +export interface ReportVerify202Response extends HttpResponse { + // (undocumented) + headers: RawHttpHeaders & ReportVerify202Headers; + // (undocumented) + status: "202"; +} + +// @public (undocumented) +export interface ReportVerifyDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; } // @public -export type ReportVerifyResponse = ReportVerificationResult; +export interface ReportVerifyLogicalResponse extends HttpResponse { + // (undocumented) + body: ReportVerificationResultOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export type ReportVerifyParameters = RequestParameters; // @public export interface Resource { +} + +// @public +export type ResourceIdentityType = "SystemAssigned"; + +// @public +export type ResourceIdentityTypeOutput = "SystemAssigned"; + +// @public +export interface ResourceItemOutput { + readonly resourceGroup?: string; + readonly resourceId?: string; + readonly resourceType?: string; + readonly subscriptionId?: string; +} + +// @public +export interface ResourceMetadata { + accountId?: string; + resourceId: string; + resourceKind?: string; + resourceOrigin?: ResourceOrigin; + resourceType?: string; +} + +// @public +export interface ResourceMetadataOutput { + accountId?: string; + resourceId: string; + resourceKind?: string; + resourceOrigin?: ResourceOriginOutput; + resourceType?: string; +} + +// @public +export interface ResourceModelWithAllowedPropertySet extends TrackedResource { + eTag?: string; + // (undocumented) + identity?: Identity; + kind?: string; + managedBy?: string; + // (undocumented) + plan?: Plan; + // (undocumented) + sku?: Sku; +} + +// @public +export interface ResourceModelWithAllowedPropertySetOutput extends TrackedResourceOutput { + eTag?: string; + // (undocumented) + identity?: IdentityOutput; + kind?: string; + managedBy?: string; + // (undocumented) + plan?: PlanOutput; + // (undocumented) + sku?: SkuOutput; +} + +// @public +export type ResourceOrigin = string; + +// @public +export type ResourceOriginOutput = string; + +// @public +export interface ResourceOutput { readonly id?: string; readonly name?: string; - readonly systemData?: SystemData; + readonly systemData?: SystemDataOutput; readonly type?: string; } // @public -export interface ResourceItem { - readonly resourceGroup?: string; - readonly resourceId?: string; - readonly resourceType?: string; - readonly subscriptionId?: string; -} +export type ResourceStatus = string; + +// @public +export type ResourceStatusOutput = string; // @public -export interface ResourceMetadata { - accountId?: string; - resourceId: string; - resourceKind?: string; - resourceOrigin?: ResourceOrigin; - resourceType?: string; +export interface Responsibility { + evidenceFiles?: string[]; + failedResourceCount?: number; + totalResourceCount?: number; } // @public -export type ResourceOrigin = string; +export type ResponsibilityEnvironment = string; // @public -export type ResourceStatus = string; +export type ResponsibilityEnvironmentOutput = string; // @public -export interface Responsibility { +export interface ResponsibilityOutput { evidenceFiles?: string[]; failedResourceCount?: number; readonly guidance?: string; readonly justification?: string; - readonly recommendationList?: Recommendation[]; - readonly resourceList?: ResponsibilityResource[]; + readonly recommendationList?: Array; + readonly resourceList?: Array; readonly responsibilityDescription?: string; - readonly responsibilityEnvironment?: ResponsibilityEnvironment; + readonly responsibilityEnvironment?: ResponsibilityEnvironmentOutput; readonly responsibilityId?: string; - readonly responsibilitySeverity?: ResponsibilitySeverity; - readonly responsibilityStatus?: ResponsibilityStatus; + readonly responsibilitySeverity?: ResponsibilitySeverityOutput; + readonly responsibilityStatus?: ResponsibilityStatusOutput; readonly responsibilityTitle?: string; - readonly responsibilityType?: ResponsibilityType; + readonly responsibilityType?: ResponsibilityTypeOutput; totalResourceCount?: number; } // @public -export type ResponsibilityEnvironment = string; +export interface ResponsibilityResource { + recommendationIds?: string[]; +} // @public -export interface ResponsibilityResource { +export interface ResponsibilityResourceOutput { readonly accountId?: string; recommendationIds?: string[]; readonly resourceId?: string; - readonly resourceOrigin?: ResourceOrigin; - readonly resourceStatus?: ResourceStatus; - readonly resourceStatusChangeDate?: Date; + readonly resourceOrigin?: ResourceOriginOutput; + readonly resourceStatus?: ResourceStatusOutput; + readonly resourceStatusChangeDate?: string; readonly resourceType?: string; } // @public export type ResponsibilitySeverity = string; +// @public +export type ResponsibilitySeverityOutput = string; + // @public export type ResponsibilityStatus = string; +// @public +export type ResponsibilityStatusOutput = string; + // @public export type ResponsibilityType = string; // @public -export type Result = string; +export type ResponsibilityTypeOutput = string; // @public -export type Rule = string; +export type ResultOutput = string; + +// @public (undocumented) +export interface Routes { + (path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}", reportName: string): ReportGet; + (path: "/providers/Microsoft.AppComplianceAutomation/reports"): ReportList; + (path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/syncCertRecord", reportName: string): ReportSyncCertRecord; + (path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/checkNameAvailability", reportName: string): ReportCheckNameAvailability; + (path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/fix", reportName: string): ReportFix; + (path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/getScopingQuestions", reportName: string): ReportGetScopingQuestions; + (path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/verify", reportName: string): ReportVerify; + (path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks/{webhookName}", reportName: string, webhookName: string): WebhookGet; + (path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks", reportName: string): WebhookList; + (path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/snapshots/{snapshotName}", reportName: string, snapshotName: string): SnapshotGet; + (path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/snapshots", reportName: string): SnapshotList; + (path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/snapshots/{snapshotName}/download", reportName: string, snapshotName: string): SnapshotDownload; + (path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/scopingConfigurations/{scopingConfigurationName}", reportName: string, scopingConfigurationName: string): ScopingConfigurationGet; + (path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/scopingConfigurations", reportName: string): ScopingConfigurationList; + (path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences/{evidenceName}", reportName: string, evidenceName: string): EvidenceGet; + (path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences", reportName: string): EvidenceListByReport; + (path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences/{evidenceName}/download", reportName: string, evidenceName: string): EvidenceDownload; + (path: "/providers/Microsoft.AppComplianceAutomation/operations"): OperationsList; + (path: "/providers/Microsoft.AppComplianceAutomation/checkNameAvailability"): ProviderActionsCheckNameAvailability; + (path: "/providers/Microsoft.AppComplianceAutomation/getCollectionCount"): ProviderActionsGetCollectionCount; + (path: "/providers/Microsoft.AppComplianceAutomation/getOverviewStatus"): ProviderActionsGetOverviewStatus; + (path: "/providers/Microsoft.AppComplianceAutomation/onboard"): ProviderActionsOnboard; + (path: "/providers/Microsoft.AppComplianceAutomation/triggerEvaluation"): ProviderActionsTriggerEvaluation; + (path: "/providers/Microsoft.AppComplianceAutomation/listInUseStorageAccounts"): ProviderActionsListInUseStorageAccounts; +} + +// @public +export type RuleOutput = string; // @public export interface ScopingAnswer { @@ -1027,49 +1766,125 @@ export interface ScopingAnswer { } // @public -export interface ScopingConfiguration { - createOrUpdate(reportName: string, scopingConfigurationName: string, properties: ScopingConfigurationResource, options?: ScopingConfigurationCreateOrUpdateOptionalParams): Promise; - delete(reportName: string, scopingConfigurationName: string, options?: ScopingConfigurationDeleteOptionalParams): Promise; - get(reportName: string, scopingConfigurationName: string, options?: ScopingConfigurationGetOptionalParams): Promise; - list(reportName: string, options?: ScopingConfigurationListOptionalParams): PagedAsyncIterableIterator; +export interface ScopingAnswerOutput { + answers: string[]; + questionId: string; } // @public -export interface ScopingConfigurationCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +export interface ScopingConfigurationCreateOrUpdate200Response extends HttpResponse { + // (undocumented) + body: ScopingConfigurationResourceOutput; + // (undocumented) + status: "200"; } // @public -export type ScopingConfigurationCreateOrUpdateResponse = ScopingConfigurationResource; +export interface ScopingConfigurationCreateOrUpdate201Response extends HttpResponse { + // (undocumented) + body: ScopingConfigurationResourceOutput; + // (undocumented) + status: "201"; +} -// @public -export interface ScopingConfigurationDeleteOptionalParams extends coreClient.OperationOptions { +// @public (undocumented) +export interface ScopingConfigurationCreateOrUpdateBodyParam { + body: ScopingConfigurationResource; } -// @public -export interface ScopingConfigurationGetOptionalParams extends coreClient.OperationOptions { +// @public (undocumented) +export interface ScopingConfigurationCreateOrUpdateDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; } -// @public -export type ScopingConfigurationGetResponse = ScopingConfigurationResource; +// @public (undocumented) +export type ScopingConfigurationCreateOrUpdateParameters = ScopingConfigurationCreateOrUpdateBodyParam & RequestParameters; // @public -export interface ScopingConfigurationListNextOptionalParams extends coreClient.OperationOptions { +export interface ScopingConfigurationDelete200Response extends HttpResponse { + // (undocumented) + status: "200"; } // @public -export type ScopingConfigurationListNextResponse = ScopingConfigurationResourceListResult; +export interface ScopingConfigurationDelete204Response extends HttpResponse { + // (undocumented) + status: "204"; +} + +// @public (undocumented) +export interface ScopingConfigurationDeleteDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type ScopingConfigurationDeleteParameters = RequestParameters; + +// @public (undocumented) +export interface ScopingConfigurationGet { + delete(options?: ScopingConfigurationDeleteParameters): StreamableMethod; + get(options?: ScopingConfigurationGetParameters): StreamableMethod; + put(options: ScopingConfigurationCreateOrUpdateParameters): StreamableMethod; +} // @public -export interface ScopingConfigurationListOptionalParams extends coreClient.OperationOptions { +export interface ScopingConfigurationGet200Response extends HttpResponse { + // (undocumented) + body: ScopingConfigurationResourceOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface ScopingConfigurationGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type ScopingConfigurationGetParameters = RequestParameters; + +// @public (undocumented) +export interface ScopingConfigurationList { + get(options?: ScopingConfigurationListParameters): StreamableMethod; } // @public -export type ScopingConfigurationListResponse = ScopingConfigurationResourceListResult; +export interface ScopingConfigurationList200Response extends HttpResponse { + // (undocumented) + body: ScopingConfigurationResourceListResultOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface ScopingConfigurationListDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type ScopingConfigurationListParameters = RequestParameters; // @public export interface ScopingConfigurationProperties { - answers?: ScopingAnswer[]; - readonly provisioningState?: ProvisioningState; + answers?: Array; +} + +// @public +export interface ScopingConfigurationPropertiesOutput { + answers?: Array; + readonly provisioningState?: ProvisioningStateOutput; } // @public @@ -1078,49 +1893,131 @@ export interface ScopingConfigurationResource extends ProxyResource { } // @public -export interface ScopingConfigurationResourceListResult { - nextLink?: string; - value: ScopingConfigurationResource[]; +export type ScopingConfigurationResourceListResultOutput = Paged; + +// @public +export interface ScopingConfigurationResourceOutput extends ProxyResourceOutput { + properties: ScopingConfigurationPropertiesOutput; } // @public -export interface ScopingQuestion { - readonly inputType: InputType; +export interface ScopingQuestionOutput { + readonly inputType: InputTypeOutput; readonly optionIds: string[]; readonly questionId: string; - readonly rules: Rule[]; + readonly rules: RuleOutput[]; readonly showSubQuestionsValue?: string; readonly superiorQuestionId?: string; } // @public -export interface ScopingQuestions { - questions?: ScopingQuestion[]; +export interface ScopingQuestionsOutput { + questions?: Array; } // @public export type SendAllEvents = string; // @public -export interface Snapshot { - beginDownload(reportName: string, snapshotName: string, body: SnapshotDownloadRequest, options?: SnapshotDownloadOptionalParams): Promise, SnapshotDownloadResponse>>; - beginDownloadAndWait(reportName: string, snapshotName: string, body: SnapshotDownloadRequest, options?: SnapshotDownloadOptionalParams): Promise; - get(reportName: string, snapshotName: string, options?: SnapshotGetOptionalParams): Promise; - list(reportName: string, options?: SnapshotListOptionalParams): PagedAsyncIterableIterator; +export type SendAllEventsOutput = string; + +// @public +export interface SimplePollerLike, TResult> { + getOperationState(): TState; + getResult(): TResult | undefined; + isDone(): boolean; + // @deprecated + isStopped(): boolean; + onProgress(callback: (state: TState) => void): CancelOnProgress; + poll(options?: { + abortSignal?: AbortSignalLike; + }): Promise; + pollUntilDone(pollOptions?: { + abortSignal?: AbortSignalLike; + }): Promise; + serialize(): Promise; + // @deprecated + stopPolling(): void; + submitted(): Promise; + // @deprecated + toString(): string; +} + +// @public +export interface Sku { + capacity?: number; + family?: string; + name: string; + size?: string; + tier?: SkuTier; +} + +// @public +export interface SkuOutput { + capacity?: number; + family?: string; + name: string; + size?: string; + tier?: SkuTierOutput; +} + +// @public +export type SkuTier = "Free" | "Basic" | "Standard" | "Premium"; + +// @public +export type SkuTierOutput = "Free" | "Basic" | "Standard" | "Premium"; + +// @public (undocumented) +export interface SnapshotDownload { + post(options: SnapshotDownloadParameters): StreamableMethod; } // @public -export interface SnapshotDownloadHeaders { +export interface SnapshotDownload200Response extends HttpResponse { + // (undocumented) + body: DownloadResponseOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface SnapshotDownload202Headers { + "retry-after"?: number; location?: string; - retryAfter?: number; } // @public -export interface SnapshotDownloadOptionalParams extends coreClient.OperationOptions { - resumeFrom?: string; - updateIntervalInMs?: number; +export interface SnapshotDownload202Response extends HttpResponse { + // (undocumented) + headers: RawHttpHeaders & SnapshotDownload202Headers; + // (undocumented) + status: "202"; +} + +// @public (undocumented) +export interface SnapshotDownloadBodyParam { + body: SnapshotDownloadRequest; +} + +// @public (undocumented) +export interface SnapshotDownloadDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; +} + +// @public +export interface SnapshotDownloadLogicalResponse extends HttpResponse { + // (undocumented) + body: DownloadResponseOutput; + // (undocumented) + status: "200"; } +// @public (undocumented) +export type SnapshotDownloadParameters = SnapshotDownloadBodyParam & RequestParameters; + // @public export interface SnapshotDownloadRequest { downloadType: DownloadType; @@ -1128,44 +2025,82 @@ export interface SnapshotDownloadRequest { reportCreatorTenantId?: string; } -// @public -export type SnapshotDownloadResponse = DownloadResponse; +// @public (undocumented) +export interface SnapshotGet { + get(options?: SnapshotGetParameters): StreamableMethod; +} // @public -export interface SnapshotGetOptionalParams extends coreClient.OperationOptions { +export interface SnapshotGet200Response extends HttpResponse { + // (undocumented) + body: SnapshotResourceOutput; + // (undocumented) + status: "200"; } -// @public -export type SnapshotGetResponse = SnapshotResource; +// @public (undocumented) +export interface SnapshotGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; +} -// @public -export interface SnapshotListNextOptionalParams extends coreClient.OperationOptions { +// @public (undocumented) +export type SnapshotGetParameters = RequestParameters; + +// @public (undocumented) +export interface SnapshotList { + get(options?: SnapshotListParameters): StreamableMethod; } // @public -export type SnapshotListNextResponse = SnapshotResourceListResult; +export interface SnapshotList200Response extends HttpResponse { + // (undocumented) + body: SnapshotResourceListResultOutput; + // (undocumented) + status: "200"; +} -// @public -export interface SnapshotListOptionalParams extends coreClient.OperationOptions { - filter?: string; +// @public (undocumented) +export interface SnapshotListDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type SnapshotListParameters = SnapshotListQueryParam & RequestParameters; + +// @public (undocumented) +export interface SnapshotListQueryParam { + // (undocumented) + queryParameters?: SnapshotListQueryParamProperties; +} + +// @public (undocumented) +export interface SnapshotListQueryParamProperties { + $filter?: string; + $orderby?: string; + $select?: string; + $skipToken?: string; + $top?: number; offerGuid?: string; - orderby?: string; reportCreatorTenantId?: string; - select?: string; - skipToken?: string; - top?: number; } // @public -export type SnapshotListResponse = SnapshotResourceListResult; +export interface SnapshotProperties { +} // @public -export interface SnapshotProperties { - readonly complianceResults?: ComplianceResult[]; - readonly createdAt?: Date; - readonly provisioningState?: ProvisioningState; - readonly reportProperties?: ReportProperties; - readonly reportSystemData?: SystemData; +export interface SnapshotPropertiesOutput { + readonly complianceResults?: Array; + readonly createdAt?: string; + readonly provisioningState?: ProvisioningStateOutput; + readonly reportProperties?: ReportPropertiesOutput; + readonly reportSystemData?: SystemDataOutput; readonly snapshotName?: string; } @@ -1175,13 +2110,15 @@ export interface SnapshotResource extends ProxyResource { } // @public -export interface SnapshotResourceListResult { - nextLink?: string; - value: SnapshotResource[]; +export type SnapshotResourceListResultOutput = Paged; + +// @public +export interface SnapshotResourceOutput extends ProxyResourceOutput { + properties?: SnapshotPropertiesOutput; } // @public -export interface StatusItem { +export interface StatusItemOutput { statusName?: string; statusValue?: string; } @@ -1194,32 +2131,62 @@ export interface StorageInfo { subscriptionId?: string; } +// @public +export interface StorageInfoOutput { + accountName?: string; + location?: string; + resourceGroup?: string; + subscriptionId?: string; +} + // @public export interface SyncCertRecordRequest { certRecord: CertSyncRecord; } // @public -export interface SyncCertRecordResponse { - certRecord?: CertSyncRecord; +export interface SyncCertRecordResponseOutput { + certRecord?: CertSyncRecordOutput; } // @public export interface SystemData { - createdAt?: Date; + createdAt?: Date | string; createdBy?: string; createdByType?: CreatedByType; - lastModifiedAt?: Date; + lastModifiedAt?: Date | string; lastModifiedBy?: string; lastModifiedByType?: CreatedByType; } // @public -export interface TriggerEvaluationProperty { - readonly evaluationEndTime?: Date; - quickAssessments?: QuickAssessment[]; +export interface SystemDataOutput { + createdAt?: string; + createdBy?: string; + createdByType?: CreatedByTypeOutput; + lastModifiedAt?: string; + lastModifiedBy?: string; + lastModifiedByType?: CreatedByTypeOutput; +} + +// @public +export interface TrackedResource extends Resource { + location: string; + tags?: Record; +} + +// @public +export interface TrackedResourceOutput extends ResourceOutput { + location: string; + tags?: Record; +} + +// @public +export interface TriggerEvaluationPropertyOutput { + readonly evaluationEndTime?: string; + quickAssessments?: Array; resourceIds?: string[]; - readonly triggerTime?: Date; + readonly triggerTime?: string; } // @public @@ -1228,79 +2195,172 @@ export interface TriggerEvaluationRequest { } // @public -export interface TriggerEvaluationResponse { - properties?: TriggerEvaluationProperty; +export interface TriggerEvaluationResponseOutput { + properties?: TriggerEvaluationPropertyOutput; } // @public export type UpdateWebhookKey = string; // @public -export interface Webhook { - createOrUpdate(reportName: string, webhookName: string, properties: WebhookResource, options?: WebhookCreateOrUpdateOptionalParams): Promise; - delete(reportName: string, webhookName: string, options?: WebhookDeleteOptionalParams): Promise; - get(reportName: string, webhookName: string, options?: WebhookGetOptionalParams): Promise; - list(reportName: string, options?: WebhookListOptionalParams): PagedAsyncIterableIterator; - update(reportName: string, webhookName: string, properties: WebhookResourcePatch, options?: WebhookUpdateOptionalParams): Promise; -} +export type UpdateWebhookKeyOutput = string; // @public -export interface WebhookCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +export interface WebhookCreateOrUpdate200Response extends HttpResponse { + // (undocumented) + body: WebhookResourceOutput; + // (undocumented) + status: "200"; } // @public -export type WebhookCreateOrUpdateResponse = WebhookResource; +export interface WebhookCreateOrUpdate201Response extends HttpResponse { + // (undocumented) + body: WebhookResourceOutput; + // (undocumented) + status: "201"; +} + +// @public (undocumented) +export interface WebhookCreateOrUpdateBodyParam { + body: WebhookResource; +} + +// @public (undocumented) +export interface WebhookCreateOrUpdateDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type WebhookCreateOrUpdateParameters = WebhookCreateOrUpdateBodyParam & RequestParameters; // @public -export interface WebhookDeleteOptionalParams extends coreClient.OperationOptions { +export interface WebhookDelete200Response extends HttpResponse { + // (undocumented) + status: "200"; } // @public -export interface WebhookGetOptionalParams extends coreClient.OperationOptions { +export interface WebhookDelete204Response extends HttpResponse { + // (undocumented) + status: "204"; +} + +// @public (undocumented) +export interface WebhookDeleteDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type WebhookDeleteParameters = RequestParameters; + +// @public (undocumented) +export interface WebhookGet { + delete(options?: WebhookDeleteParameters): StreamableMethod; + get(options?: WebhookGetParameters): StreamableMethod; + patch(options: WebhookUpdateParameters): StreamableMethod; + put(options: WebhookCreateOrUpdateParameters): StreamableMethod; } // @public -export type WebhookGetResponse = WebhookResource; +export interface WebhookGet200Response extends HttpResponse { + // (undocumented) + body: WebhookResourceOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface WebhookGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type WebhookGetParameters = RequestParameters; // @public export type WebhookKeyEnabled = string; // @public -export interface WebhookListNextOptionalParams extends coreClient.OperationOptions { +export type WebhookKeyEnabledOutput = string; + +// @public (undocumented) +export interface WebhookList { + get(options?: WebhookListParameters): StreamableMethod; } // @public -export type WebhookListNextResponse = WebhookResourceListResult; +export interface WebhookList200Response extends HttpResponse { + // (undocumented) + body: WebhookResourceListResultOutput; + // (undocumented) + status: "200"; +} -// @public -export interface WebhookListOptionalParams extends coreClient.OperationOptions { - filter?: string; +// @public (undocumented) +export interface WebhookListDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type WebhookListParameters = WebhookListQueryParam & RequestParameters; + +// @public (undocumented) +export interface WebhookListQueryParam { + // (undocumented) + queryParameters?: WebhookListQueryParamProperties; +} + +// @public (undocumented) +export interface WebhookListQueryParamProperties { + $filter?: string; + $orderby?: string; + $select?: string; + $skipToken?: string; + $top?: number; offerGuid?: string; - orderby?: string; reportCreatorTenantId?: string; - select?: string; - skipToken?: string; - top?: number; } -// @public -export type WebhookListResponse = WebhookResourceListResult; - // @public export interface WebhookProperties { contentType?: ContentType; - readonly deliveryStatus?: DeliveryStatus; enableSslVerification?: EnableSslVerification; events?: NotificationEvent[]; payloadUrl?: string; - readonly provisioningState?: ProvisioningState; sendAllEvents?: SendAllEvents; status?: WebhookStatus; - readonly tenantId?: string; updateWebhookKey?: UpdateWebhookKey; + webhookKey?: string; +} + +// @public +export interface WebhookPropertiesOutput { + contentType?: ContentTypeOutput; + readonly deliveryStatus?: DeliveryStatusOutput; + enableSslVerification?: EnableSslVerificationOutput; + events?: NotificationEventOutput[]; + payloadUrl?: string; + readonly provisioningState?: ProvisioningStateOutput; + sendAllEvents?: SendAllEventsOutput; + status?: WebhookStatusOutput; + readonly tenantId?: string; + updateWebhookKey?: UpdateWebhookKeyOutput; readonly webhookId?: string; webhookKey?: string; - readonly webhookKeyEnabled?: WebhookKeyEnabled; + readonly webhookKeyEnabled?: WebhookKeyEnabledOutput; } // @public @@ -1309,9 +2369,11 @@ export interface WebhookResource extends ProxyResource { } // @public -export interface WebhookResourceListResult { - nextLink?: string; - value: WebhookResource[]; +export type WebhookResourceListResultOutput = Paged; + +// @public +export interface WebhookResourceOutput extends ProxyResourceOutput { + properties: WebhookPropertiesOutput; } // @public @@ -1323,11 +2385,31 @@ export interface WebhookResourcePatch { export type WebhookStatus = string; // @public -export interface WebhookUpdateOptionalParams extends coreClient.OperationOptions { -} +export type WebhookStatusOutput = string; // @public -export type WebhookUpdateResponse = WebhookResource; +export interface WebhookUpdate200Response extends HttpResponse { + // (undocumented) + body: WebhookResourceOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface WebhookUpdateBodyParam { + body: WebhookResourcePatch; +} + +// @public (undocumented) +export interface WebhookUpdateDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponseOutput; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type WebhookUpdateParameters = WebhookUpdateBodyParam & RequestParameters; // (No @packageDocumentation comment for this package) diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/sample.env b/sdk/appcomplianceautomation/arm-appcomplianceautomation/sample.env deleted file mode 100644 index 672847a3fea0..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/sample.env +++ /dev/null @@ -1,4 +0,0 @@ -# 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/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/evidenceCreateOrUpdateSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/evidenceCreateOrUpdateSample.ts deleted file mode 100644 index c034a37c8ec8..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/evidenceCreateOrUpdateSample.ts +++ /dev/null @@ -1,45 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Create or Update an evidence a specified report - * - * @summary Create or Update an evidence a specified report - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_CreateOrUpdate.json - */ -async function evidenceCreateOrUpdate() { - const reportName = "testReportName"; - const evidenceName = "evidence1"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.evidence.createOrUpdate(reportName, evidenceName, - { - "properties": { - "controlId": "Operational_Security_10", - "evidenceType": "File", - "filePath": "/test-byos/evidence1.png", - "responsibilityId": "authorized_ip_ranges_should_be_defined_on_kubernetes_services" - } - } - ); - console.log(result); -} - -async function main() { - evidenceCreateOrUpdate(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/evidenceDeleteSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/evidenceDeleteSample.ts deleted file mode 100644 index 2769fce413c6..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/evidenceDeleteSample.ts +++ /dev/null @@ -1,36 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Delete an existent evidence from a specified report - * - * @summary Delete an existent evidence from a specified report - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_Delete.json - */ -async function evidenceDelete() { - const reportName = "testReportName"; - const evidenceName = "evidence1"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.evidence.delete(reportName, evidenceName); - console.log(result); -} - -async function main() { - evidenceDelete(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/evidenceDownloadSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/evidenceDownloadSample.ts deleted file mode 100644 index 25732dd5fffa..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/evidenceDownloadSample.ts +++ /dev/null @@ -1,41 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Download evidence file. - * - * @summary Download evidence file. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_Download.json - */ -async function evidenceDownload() { - const reportName = "testReportName"; - const evidenceName = "evidence1"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.evidence.download(reportName, evidenceName, - { - "offerGuid": "00000000-0000-0000-0000-000000000000", - "reportCreatorTenantId": "00000000-0000-0000-0000-000000000000" - } - ); - console.log(result); -} - -async function main() { - evidenceDownload(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/evidenceGetSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/evidenceGetSample.ts deleted file mode 100644 index 90dc70c4484d..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/evidenceGetSample.ts +++ /dev/null @@ -1,36 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Get the evidence metadata - * - * @summary Get the evidence metadata - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_Get.json - */ -async function evidenceGet() { - const reportName = "testReportName"; - const evidenceName = "evidence1"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.evidence.get(reportName, evidenceName); - console.log(result); -} - -async function main() { - evidenceGet(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/evidenceListByReportSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/evidenceListByReportSample.ts deleted file mode 100644 index 71077ba55a79..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/evidenceListByReportSample.ts +++ /dev/null @@ -1,38 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Returns a paginated list of evidences for a specified report. - * - * @summary Returns a paginated list of evidences for a specified report. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_ListByReport.json - */ -async function evidenceListByReport() { - const reportName = "reportName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const resArray = new Array(); - for await (let item of client.evidence.listByReport(reportName)) { - resArray.push(item); - } - console.log(resArray); -} - -async function main() { - evidenceListByReport(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/operationsListSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/operationsListSample.ts deleted file mode 100644 index 5b309da24bcd..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/operationsListSample.ts +++ /dev/null @@ -1,37 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to List the operations for the provider - * - * @summary List the operations for the provider - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Operations_List.json - */ -async function operationsList() { - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const resArray = new Array(); - for await (let item of client.operations.list()) { - resArray.push(item); - } - console.log(resArray); -} - -async function main() { - operationsList(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/providerActionsCheckNameAvailabilitySample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/providerActionsCheckNameAvailabilitySample.ts deleted file mode 100644 index 7821e01e824b..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/providerActionsCheckNameAvailabilitySample.ts +++ /dev/null @@ -1,37 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Check if the given name is available for a report. - * - * @summary Check if the given name is available for a report. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_CheckNameAvailability.json - */ -async function reportCheckNameAvailability() { - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.providerActions.checkNameAvailability({ - "name": "reportABC", - "type": "Microsoft.AppComplianceAutomation/reports" - }); - console.log(result); -} - -async function main() { - reportCheckNameAvailability(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/providerActionsGetCollectionCountSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/providerActionsGetCollectionCountSample.ts deleted file mode 100644 index 8e93fb0798e6..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/providerActionsGetCollectionCountSample.ts +++ /dev/null @@ -1,36 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Get the count of reports. - * - * @summary Get the count of reports. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_GetCollectionCount.json - */ -async function reportGetCollectionCount() { - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.providerActions.getCollectionCount({ - "type": "Microsoft.AppComplianceAutomation/reports" - }); - console.log(result); -} - -async function main() { - reportGetCollectionCount(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/providerActionsGetOverviewStatusSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/providerActionsGetOverviewStatusSample.ts deleted file mode 100644 index 35b13c7f3bee..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/providerActionsGetOverviewStatusSample.ts +++ /dev/null @@ -1,36 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Get the resource overview status. - * - * @summary Get the resource overview status. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_GetOverviewStatus.json - */ -async function reportGetOverviewStatus() { - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.providerActions.getOverviewStatus({ - "type": "Microsoft.AppComplianceAutomation/reports" - }); - console.log(result); -} - -async function main() { - reportGetOverviewStatus(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/providerActionsListInUseStorageAccountsSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/providerActionsListInUseStorageAccountsSample.ts deleted file mode 100644 index aebcd2ae5e4f..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/providerActionsListInUseStorageAccountsSample.ts +++ /dev/null @@ -1,53 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to List the storage accounts which are in use by related reports - * - * @summary List the storage accounts which are in use by related reports - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ListInUseStorageAccountsWithSubscriptions.json - */ -async function listInUseStorageAccountsWithSubscriptions() { - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.providerActions.listInUseStorageAccounts({ - "subscriptionIds": [ - "0000000-0000-0000-0000-000000000001", - "0000000-0000-0000-0000-000000000002" - ] - }); - console.log(result); -} - -/** - * This sample demonstrates how to List the storage accounts which are in use by related reports - * - * @summary List the storage accounts which are in use by related reports - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ListInUseStorageAccountsWithoutSubscriptions.json - */ -async function listInUseStorageAccountsWithoutSubscriptions() { - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.providerActions.listInUseStorageAccounts({}); - console.log(result); -} - -async function main() { - listInUseStorageAccountsWithSubscriptions(); - listInUseStorageAccountsWithoutSubscriptions(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/providerActionsOnboardSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/providerActionsOnboardSample.ts deleted file mode 100644 index cfc00499469f..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/providerActionsOnboardSample.ts +++ /dev/null @@ -1,39 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Onboard given subscriptions to Microsoft.AppComplianceAutomation provider. - * - * @summary Onboard given subscriptions to Microsoft.AppComplianceAutomation provider. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Onboard.json - */ -async function onboard() { - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.providerActions.beginOnboardAndWait({ - "subscriptionIds": [ - "00000000-0000-0000-0000-000000000000", - "00000000-0000-0000-0000-000000000001" - ] - }); - console.log(result); -} - -async function main() { - onboard(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/providerActionsTriggerEvaluationSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/providerActionsTriggerEvaluationSample.ts deleted file mode 100644 index e4d9da9871d6..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/providerActionsTriggerEvaluationSample.ts +++ /dev/null @@ -1,38 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Trigger quick evaluation for the given subscriptions. - * - * @summary Trigger quick evaluation for the given subscriptions. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/TriggerEvaluation.json - */ -async function triggerEvaluation() { - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.providerActions.beginTriggerEvaluationAndWait({ - "resourceIds": [ - "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService" - ] - }); - console.log(result); -} - -async function main() { - triggerEvaluation(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportCreateOrUpdateSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportCreateOrUpdateSample.ts deleted file mode 100644 index ce3816bf1ecb..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportCreateOrUpdateSample.ts +++ /dev/null @@ -1,56 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report. - * - * @summary Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_CreateOrUpdate.json - */ -async function reportCreateOrUpdate() { - const reportName = "testReportName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.report.beginCreateOrUpdateAndWait(reportName, - { - "properties": { - "offerGuid": "00000000-0000-0000-0000-000000000001,00000000-0000-0000-0000-000000000002", - "resources": [ - { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService", - "resourceOrigin": "Azure", - "resourceType": "Microsoft.SignalRService/SignalR" - } - ], - "storageInfo": { - "accountName": "testStorageAccount", - "location": "East US", - "resourceGroup": "testResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "timeZone": "GMT Standard Time", - "triggerTime": new Date("2022-03-04T05:00:00.000Z") - } - } - ); - console.log(result); -} - -async function main() { - reportCreateOrUpdate(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportDeleteSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportDeleteSample.ts deleted file mode 100644 index 6ab60d2310b3..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportDeleteSample.ts +++ /dev/null @@ -1,35 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Delete an AppComplianceAutomation report. - * - * @summary Delete an AppComplianceAutomation report. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Delete.json - */ -async function reportDelete() { - const reportName = "testReportName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.report.beginDeleteAndWait(reportName); - console.log(result); -} - -async function main() { - reportDelete(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportFixSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportFixSample.ts deleted file mode 100644 index e5f46e06b5d3..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportFixSample.ts +++ /dev/null @@ -1,35 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service unregistered, automation removed. - * - * @summary Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service unregistered, automation removed. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Fix.json - */ -async function reportFix() { - const reportName = "testReport"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.report.beginFixAndWait(reportName); - console.log(result); -} - -async function main() { - reportFix(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportGetSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportGetSample.ts deleted file mode 100644 index b3cc566ba5f7..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportGetSample.ts +++ /dev/null @@ -1,35 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Get the AppComplianceAutomation report and its properties. - * - * @summary Get the AppComplianceAutomation report and its properties. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Get.json - */ -async function reportGet() { - const reportName = "testReport"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.report.get(reportName); - console.log(result); -} - -async function main() { - reportGet(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportGetScopingQuestionsSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportGetScopingQuestionsSample.ts deleted file mode 100644 index 2ec8c684088a..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportGetScopingQuestionsSample.ts +++ /dev/null @@ -1,35 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service unregistered, automation removed. - * - * @summary Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service unregistered, automation removed. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_GetScopingQuestions.json - */ -async function reportGetScopingQuestions() { - const reportName = "testReportName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.report.getScopingQuestions(reportName); - console.log(result); -} - -async function main() { - reportGetScopingQuestions(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportListSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportListSample.ts deleted file mode 100644 index 079613e219cf..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportListSample.ts +++ /dev/null @@ -1,50 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - ReportListOptionalParams, - AppComplianceAutomationToolForMicrosoft365, -} from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Get the AppComplianceAutomation report list for the tenant. - * - * @summary Get the AppComplianceAutomation report list for the tenant. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_List.json - */ -async function reportList() { - const skipToken = "1"; - const top = 100; - const offerGuid = "00000000-0000-0000-0000-000000000000"; - const reportCreatorTenantId = "00000000-0000-0000-0000-000000000000"; - const options: ReportListOptionalParams = { - skipToken, - top, - offerGuid, - reportCreatorTenantId, - }; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const resArray = new Array(); - for await (let item of client.report.list(options)) { - resArray.push(item); - } - console.log(resArray); -} - -async function main() { - reportList(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportNestedResourceCheckNameAvailabilitySample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportNestedResourceCheckNameAvailabilitySample.ts deleted file mode 100644 index cf2d8d84534d..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportNestedResourceCheckNameAvailabilitySample.ts +++ /dev/null @@ -1,83 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots. - * - * @summary Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_NestedResourceCheckNameAvailability_Report_Evidence_Check_Name_Availability.json - */ -async function reportEvidenceCheckNameAvailability() { - const reportName = "reportABC"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = - await client.report.nestedResourceCheckNameAvailability(reportName, - { - "name": "evidenceABC", - "type": "Microsoft.AppComplianceAutomation/reports/evidences" - } - ); - console.log(result); -} - -/** - * This sample demonstrates how to Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots. - * - * @summary Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_NestedResourceCheckNameAvailability_Report_Snapshot_Check_Name_Availability.json - */ -async function reportSnapshotCheckNameAvailability() { - const reportName = "reportABC"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = - await client.report.nestedResourceCheckNameAvailability(reportName, - { - "name": "snapshotABC", - "type": "Microsoft.AppComplianceAutomation/reports/snapshots" - } - ); - console.log(result); -} - -/** - * This sample demonstrates how to Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots. - * - * @summary Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_NestedResourceCheckNameAvailability_Report_Webhook_Check_Name_Availability.json - */ -async function reportWebhookCheckNameAvailability() { - const reportName = "reportABC"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = - await client.report.nestedResourceCheckNameAvailability(reportName, - { - "name": "webhookABC", - "type": "Microsoft.AppComplianceAutomation/reports/webhooks" - } - ); - console.log(result); -} - -async function main() { - reportEvidenceCheckNameAvailability(); - reportSnapshotCheckNameAvailability(); - reportWebhookCheckNameAvailability(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportSyncCertRecordSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportSyncCertRecordSample.ts deleted file mode 100644 index d739e7d3d27f..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportSyncCertRecordSample.ts +++ /dev/null @@ -1,49 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Synchronize attestation record from app compliance. - * - * @summary Synchronize attestation record from app compliance. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_SyncCertRecord.json - */ -async function reportSyncCertRecord() { - const reportName = "testReportName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.report.beginSyncCertRecordAndWait(reportName, - { - "certRecord": { - "certificationStatus": "CertIngestion", - "controls": [ - { - "controlId": "Operational_Security_10", - "controlStatus": "Approved" - } - ], - "ingestionStatus": "EvidenceResubmitted", - "offerGuid": "00000000-0000-0000-0000-000000000001" - } - } - ); - console.log(result); -} - -async function main() { - reportSyncCertRecord(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportUpdateSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportUpdateSample.ts deleted file mode 100644 index ae66f20c643e..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportUpdateSample.ts +++ /dev/null @@ -1,62 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Update an exiting AppComplianceAutomation report. - * - * @summary Update an exiting AppComplianceAutomation report. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Update.json - */ -async function reportUpdate() { - const reportName = "testReportName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.report.beginUpdateAndWait(reportName, - { - "properties": { - "offerGuid": "00000000-0000-0000-0000-000000000001,00000000-0000-0000-0000-000000000002", - "resources": [ - { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService", - "resourceOrigin": "Azure", - "resourceType": "Microsoft.SignalRService/SignalR" - }, - { - "accountId": "000000000000", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/acat-aws/providers/microsoft.security/securityconnectors/acatawsconnector/securityentitydata/aws-iam-user-testuser", - "resourceOrigin": "AWS", - "resourceType": "iam.user" - } - ], - "storageInfo": { - "accountName": "testStorageAccount", - "location": "East US", - "resourceGroup": "testResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "timeZone": "GMT Standard Time", - "triggerTime": new Date("2022-03-04T05:00:00.000Z") - } - } - ); - console.log(result); -} - -async function main() { - reportUpdate(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportVerifySample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportVerifySample.ts deleted file mode 100644 index 1f41092b0e4a..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/reportVerifySample.ts +++ /dev/null @@ -1,35 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Verify the AppComplianceAutomation report health status. - * - * @summary Verify the AppComplianceAutomation report health status. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Verify.json - */ -async function reportVerify() { - const reportName = "testReport"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.report.beginVerifyAndWait(reportName); - console.log(result); -} - -async function main() { - reportVerify(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/scopingConfigurationCreateOrUpdateSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/scopingConfigurationCreateOrUpdateSample.ts deleted file mode 100644 index e98f0724b67e..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/scopingConfigurationCreateOrUpdateSample.ts +++ /dev/null @@ -1,59 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Get the AppComplianceAutomation scoping configuration of the specific report. - * - * @summary Get the AppComplianceAutomation scoping configuration of the specific report. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_CreateOrUpdate.json - */ -async function scopingConfigurationCreateOrUpdate() { - const reportName = "testReportName"; - const scopingConfigurationName = "default"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.scopingConfiguration.createOrUpdate( - reportName, - scopingConfigurationName, - { - "properties": { - "answers": [ - { - "answers": [ - "Azure" - ], - "questionId": "GEN20_hostingEnvironment" - }, - { - "answers": [], - "questionId": "DHP_G07_customerDataProcess" - }, - { - "answers": [], - "questionId": "Tier2InitSub_serviceCommunicate" - } - ] - } - } - ); - console.log(result); -} - -async function main() { - scopingConfigurationCreateOrUpdate(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/scopingConfigurationDeleteSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/scopingConfigurationDeleteSample.ts deleted file mode 100644 index f631b4d652b3..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/scopingConfigurationDeleteSample.ts +++ /dev/null @@ -1,39 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Clean the AppComplianceAutomation scoping configuration of the specific report. - * - * @summary Clean the AppComplianceAutomation scoping configuration of the specific report. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_Delete.json - */ -async function scopingConfigurationDelete() { - const reportName = "testReportName"; - const scopingConfigurationName = "default"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.scopingConfiguration.delete( - reportName, - scopingConfigurationName, - ); - console.log(result); -} - -async function main() { - scopingConfigurationDelete(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/scopingConfigurationGetSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/scopingConfigurationGetSample.ts deleted file mode 100644 index 1048fda7d9c0..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/scopingConfigurationGetSample.ts +++ /dev/null @@ -1,39 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Get the AppComplianceAutomation scoping configuration of the specific report. - * - * @summary Get the AppComplianceAutomation scoping configuration of the specific report. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_Get.json - */ -async function scopingConfiguration() { - const reportName = "testReportName"; - const scopingConfigurationName = "default"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.scopingConfiguration.get( - reportName, - scopingConfigurationName, - ); - console.log(result); -} - -async function main() { - scopingConfiguration(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/scopingConfigurationListSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/scopingConfigurationListSample.ts deleted file mode 100644 index 7b40433551fd..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/scopingConfigurationListSample.ts +++ /dev/null @@ -1,38 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Returns a list format of the singleton scopingConfiguration for a specified report. - * - * @summary Returns a list format of the singleton scopingConfiguration for a specified report. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_List.json - */ -async function scopingConfigurationList() { - const reportName = "testReportName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const resArray = new Array(); - for await (let item of client.scopingConfiguration.list(reportName)) { - resArray.push(item); - } - console.log(resArray); -} - -async function main() { - scopingConfigurationList(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/snapshotDownloadSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/snapshotDownloadSample.ts deleted file mode 100644 index 0bd838baf9d7..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/snapshotDownloadSample.ts +++ /dev/null @@ -1,116 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Download compliance needs from snapshot, like: Compliance Report, Resource List. - * - * @summary Download compliance needs from snapshot, like: Compliance Report, Resource List. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_Download_Snapshot_Download_Compliance_Detailed_Pdf_Report.json - */ -async function snapshotDownloadComplianceDetailedPdfReport() { - const reportName = "testReportName"; - const snapshotName = "testSnapshotName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.snapshot.beginDownloadAndWait( - reportName, - snapshotName, - { - "downloadType": "ComplianceDetailedPdfReport", - "offerGuid": "00000000-0000-0000-0000-000000000000", - "reportCreatorTenantId": "00000000-0000-0000-0000-000000000000" - } - ); - console.log(result); -} - -/** - * This sample demonstrates how to Download compliance needs from snapshot, like: Compliance Report, Resource List. - * - * @summary Download compliance needs from snapshot, like: Compliance Report, Resource List. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_Download_Snapshot_Download_Compliance_Pdf_Report.json - */ -async function snapshotDownloadCompliancePdfReport() { - const reportName = "testReportName"; - const snapshotName = "testSnapshotName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.snapshot.beginDownloadAndWait( - reportName, - snapshotName, - { - "downloadType": "CompliancePdfReport", - "offerGuid": "00000000-0000-0000-0000-000000000001", - "reportCreatorTenantId": "00000000-0000-0000-0000-000000000000" - } - ); - console.log(result); -} - -/** - * This sample demonstrates how to Download compliance needs from snapshot, like: Compliance Report, Resource List. - * - * @summary Download compliance needs from snapshot, like: Compliance Report, Resource List. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_Download_Snapshot_Download_Compliance_Report.json - */ -async function snapshotDownloadComplianceReport() { - const reportName = "testReportName"; - const snapshotName = "testSnapshotName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.snapshot.beginDownloadAndWait( - reportName, - snapshotName, - { - "downloadType": "ComplianceReport", - "offerGuid": "00000000-0000-0000-0000-000000000001", - "reportCreatorTenantId": "00000000-0000-0000-0000-000000000000" - } - ); - console.log(result); -} - -/** - * This sample demonstrates how to Download compliance needs from snapshot, like: Compliance Report, Resource List. - * - * @summary Download compliance needs from snapshot, like: Compliance Report, Resource List. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_Download_Snapshot_Download_Resource_List.json - */ -async function snapshotDownloadResourceList() { - const reportName = "testReportName"; - const snapshotName = "testSnapshotName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.snapshot.beginDownloadAndWait( - reportName, - snapshotName, - { - "downloadType": "ResourceList", - "offerGuid": "00000000-0000-0000-0000-000000000001", - "reportCreatorTenantId": "00000000-0000-0000-0000-000000000000" - } - ); - console.log(result); -} - -async function main() { - snapshotDownloadComplianceDetailedPdfReport(); - snapshotDownloadCompliancePdfReport(); - snapshotDownloadComplianceReport(); - snapshotDownloadResourceList(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/snapshotGetSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/snapshotGetSample.ts deleted file mode 100644 index 9e7c4a5ab48a..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/snapshotGetSample.ts +++ /dev/null @@ -1,36 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Get the AppComplianceAutomation snapshot and its properties. - * - * @summary Get the AppComplianceAutomation snapshot and its properties. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_Get.json - */ -async function snapshotGet() { - const reportName = "testReportName"; - const snapshotName = "testSnapshot"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.snapshot.get(reportName, snapshotName); - console.log(result); -} - -async function main() { - snapshotGet(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/snapshotListSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/snapshotListSample.ts deleted file mode 100644 index aead6cd8070f..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/snapshotListSample.ts +++ /dev/null @@ -1,51 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - SnapshotListOptionalParams, - AppComplianceAutomationToolForMicrosoft365, -} from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Get the AppComplianceAutomation snapshot list. - * - * @summary Get the AppComplianceAutomation snapshot list. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_List.json - */ -async function snapshotList() { - const skipToken = "1"; - const top = 100; - const offerGuid = "00000000-0000-0000-0000-000000000001"; - const reportCreatorTenantId = "00000000-0000-0000-0000-000000000000"; - const reportName = "testReportName"; - const options: SnapshotListOptionalParams = { - skipToken, - top, - offerGuid, - reportCreatorTenantId, - }; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const resArray = new Array(); - for await (let item of client.snapshot.list(reportName, options)) { - resArray.push(item); - } - console.log(resArray); -} - -async function main() { - snapshotList(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/webhookCreateOrUpdateSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/webhookCreateOrUpdateSample.ts deleted file mode 100644 index 4b244ff95861..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/webhookCreateOrUpdateSample.ts +++ /dev/null @@ -1,51 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Create a new AppComplianceAutomation webhook or update an exiting AppComplianceAutomation webhook. - * - * @summary Create a new AppComplianceAutomation webhook or update an exiting AppComplianceAutomation webhook. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_CreateOrUpdate.json - */ -async function webhookCreateOrUpdate() { - const reportName = "testReportName"; - const webhookName = "testWebhookName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.webhook.createOrUpdate(reportName, webhookName, - { - "properties": { - "contentType": "application/json", - "enableSslVerification": "true", - "events": [ - "generate_snapshot_failed" - ], - "payloadUrl": "https://example.com", - "sendAllEvents": "false", - "status": "Enabled", - "updateWebhookKey": "true", - "webhookKey": "00000000-0000-0000-0000-000000000000" - } - } - ); - console.log(result); -} - -async function main() { - webhookCreateOrUpdate(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/webhookDeleteSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/webhookDeleteSample.ts deleted file mode 100644 index 8ee74e288ed8..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/webhookDeleteSample.ts +++ /dev/null @@ -1,36 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Delete an AppComplianceAutomation webhook. - * - * @summary Delete an AppComplianceAutomation webhook. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_Delete.json - */ -async function webhookDelete() { - const reportName = "testReportName"; - const webhookName = "testWebhookName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.webhook.delete(reportName, webhookName); - console.log(result); -} - -async function main() { - webhookDelete(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/webhookGetSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/webhookGetSample.ts deleted file mode 100644 index 8120f301e857..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/webhookGetSample.ts +++ /dev/null @@ -1,36 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Get the AppComplianceAutomation webhook and its properties. - * - * @summary Get the AppComplianceAutomation webhook and its properties. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_Get.json - */ -async function webhookGet() { - const reportName = "testReportName"; - const webhookName = "testWebhookName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.webhook.get(reportName, webhookName); - console.log(result); -} - -async function main() { - webhookGet(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/webhookListSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/webhookListSample.ts deleted file mode 100644 index bcda540f859e..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/webhookListSample.ts +++ /dev/null @@ -1,44 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - WebhookListOptionalParams, - AppComplianceAutomationToolForMicrosoft365, -} from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Get the AppComplianceAutomation webhook list. - * - * @summary Get the AppComplianceAutomation webhook list. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_List.json - */ -async function webhookList() { - const skipToken = "1"; - const top = 100; - const reportName = "testReportName"; - const options: WebhookListOptionalParams = { skipToken, top }; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const resArray = new Array(); - for await (let item of client.webhook.list(reportName, options)) { - resArray.push(item); - } - console.log(resArray); -} - -async function main() { - webhookList(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/webhookUpdateSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/webhookUpdateSample.ts deleted file mode 100644 index d6a808f2f69e..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples-dev/webhookUpdateSample.ts +++ /dev/null @@ -1,51 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Update an exiting AppComplianceAutomation webhook. - * - * @summary Update an exiting AppComplianceAutomation webhook. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_Update.json - */ -async function webhookUpdate() { - const reportName = "testReportName"; - const webhookName = "testWebhookName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.webhook.update(reportName, webhookName, - { - "properties": { - "contentType": "application/json", - "enableSslVerification": "true", - "events": [ - "generate_snapshot_failed" - ], - "payloadUrl": "https://example.com", - "sendAllEvents": "false", - "status": "Enabled", - "updateWebhookKey": "true", - "webhookKey": "00000000-0000-0000-0000-000000000000" - } - } - ); - console.log(result); -} - -async function main() { - webhookUpdate(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/README.md b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/README.md deleted file mode 100644 index ee590de955b1..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/README.md +++ /dev/null @@ -1,116 +0,0 @@ -# client library samples for JavaScript - -These sample programs show how to use the JavaScript client libraries for in some common scenarios. - -| **File Name** | **Description** | -| ----------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [evidenceCreateOrUpdateSample.js][evidencecreateorupdatesample] | Create or Update an evidence a specified report x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_CreateOrUpdate.json | -| [evidenceDeleteSample.js][evidencedeletesample] | Delete an existent evidence from a specified report x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_Delete.json | -| [evidenceDownloadSample.js][evidencedownloadsample] | Download evidence file. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_Download.json | -| [evidenceGetSample.js][evidencegetsample] | Get the evidence metadata x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_Get.json | -| [evidenceListByReportSample.js][evidencelistbyreportsample] | Returns a paginated list of evidences for a specified report. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_ListByReport.json | -| [operationsListSample.js][operationslistsample] | List the operations for the provider x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Operations_List.json | -| [providerActionsCheckNameAvailabilitySample.js][provideractionschecknameavailabilitysample] | Check if the given name is available for a report. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_CheckNameAvailability.json | -| [providerActionsGetCollectionCountSample.js][provideractionsgetcollectioncountsample] | Get the count of reports. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_GetCollectionCount.json | -| [providerActionsGetOverviewStatusSample.js][provideractionsgetoverviewstatussample] | Get the resource overview status. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_GetOverviewStatus.json | -| [providerActionsListInUseStorageAccountsSample.js][provideractionslistinusestorageaccountssample] | List the storage accounts which are in use by related reports x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ListInUseStorageAccountsWithSubscriptions.json | -| [providerActionsOnboardSample.js][provideractionsonboardsample] | Onboard given subscriptions to Microsoft.AppComplianceAutomation provider. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Onboard.json | -| [providerActionsTriggerEvaluationSample.js][provideractionstriggerevaluationsample] | Trigger quick evaluation for the given subscriptions. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/TriggerEvaluation.json | -| [reportCreateOrUpdateSample.js][reportcreateorupdatesample] | Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_CreateOrUpdate.json | -| [reportDeleteSample.js][reportdeletesample] | Delete an AppComplianceAutomation report. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Delete.json | -| [reportFixSample.js][reportfixsample] | Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service unregistered, automation removed. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Fix.json | -| [reportGetSample.js][reportgetsample] | Get the AppComplianceAutomation report and its properties. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Get.json | -| [reportGetScopingQuestionsSample.js][reportgetscopingquestionssample] | Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service unregistered, automation removed. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_GetScopingQuestions.json | -| [reportListSample.js][reportlistsample] | Get the AppComplianceAutomation report list for the tenant. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_List.json | -| [reportNestedResourceCheckNameAvailabilitySample.js][reportnestedresourcechecknameavailabilitysample] | Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_NestedResourceCheckNameAvailability_Report_Evidence_Check_Name_Availability.json | -| [reportSyncCertRecordSample.js][reportsynccertrecordsample] | Synchronize attestation record from app compliance. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_SyncCertRecord.json | -| [reportUpdateSample.js][reportupdatesample] | Update an exiting AppComplianceAutomation report. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Update.json | -| [reportVerifySample.js][reportverifysample] | Verify the AppComplianceAutomation report health status. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Verify.json | -| [scopingConfigurationCreateOrUpdateSample.js][scopingconfigurationcreateorupdatesample] | Get the AppComplianceAutomation scoping configuration of the specific report. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_CreateOrUpdate.json | -| [scopingConfigurationDeleteSample.js][scopingconfigurationdeletesample] | Clean the AppComplianceAutomation scoping configuration of the specific report. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_Delete.json | -| [scopingConfigurationGetSample.js][scopingconfigurationgetsample] | Get the AppComplianceAutomation scoping configuration of the specific report. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_Get.json | -| [scopingConfigurationListSample.js][scopingconfigurationlistsample] | Returns a list format of the singleton scopingConfiguration for a specified report. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_List.json | -| [snapshotDownloadSample.js][snapshotdownloadsample] | Download compliance needs from snapshot, like: Compliance Report, Resource List. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_Download_Snapshot_Download_Compliance_Detailed_Pdf_Report.json | -| [snapshotGetSample.js][snapshotgetsample] | Get the AppComplianceAutomation snapshot and its properties. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_Get.json | -| [snapshotListSample.js][snapshotlistsample] | Get the AppComplianceAutomation snapshot list. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_List.json | -| [webhookCreateOrUpdateSample.js][webhookcreateorupdatesample] | Create a new AppComplianceAutomation webhook or update an exiting AppComplianceAutomation webhook. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_CreateOrUpdate.json | -| [webhookDeleteSample.js][webhookdeletesample] | Delete an AppComplianceAutomation webhook. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_Delete.json | -| [webhookGetSample.js][webhookgetsample] | Get the AppComplianceAutomation webhook and its properties. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_Get.json | -| [webhookListSample.js][webhooklistsample] | Get the AppComplianceAutomation webhook list. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_List.json | -| [webhookUpdateSample.js][webhookupdatesample] | Update an exiting AppComplianceAutomation webhook. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_Update.json | - -## Prerequisites - -The sample programs are compatible with [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule). - -You need [an Azure subscription][freesub] to run these sample programs. - -Samples retrieve credentials to access the service endpoint from environment variables. Alternatively, edit the source code to include the appropriate credentials. See each individual sample for details on which environment variables/credentials it requires to function. - -Adapting the samples to run in the browser may require some additional consideration. For details, please see the [package README][package]. - -## Setup - -To run the samples using the published version of the package: - -1. Install the dependencies using `npm`: - -```bash -npm install -``` - -2. Edit the file `sample.env`, adding the correct credentials to access the Azure service and run the samples. Then rename the file from `sample.env` to just `.env`. The sample programs will read this file automatically. - -3. Run whichever samples you like (note that some samples may require additional setup, see the table above): - -```bash -node evidenceCreateOrUpdateSample.js -``` - -Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform): - -```bash -npx cross-env node evidenceCreateOrUpdateSample.js -``` - -## Next Steps - -Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. - -[evidencecreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/evidenceCreateOrUpdateSample.js -[evidencedeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/evidenceDeleteSample.js -[evidencedownloadsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/evidenceDownloadSample.js -[evidencegetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/evidenceGetSample.js -[evidencelistbyreportsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/evidenceListByReportSample.js -[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/operationsListSample.js -[provideractionschecknameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/providerActionsCheckNameAvailabilitySample.js -[provideractionsgetcollectioncountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/providerActionsGetCollectionCountSample.js -[provideractionsgetoverviewstatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/providerActionsGetOverviewStatusSample.js -[provideractionslistinusestorageaccountssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/providerActionsListInUseStorageAccountsSample.js -[provideractionsonboardsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/providerActionsOnboardSample.js -[provideractionstriggerevaluationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/providerActionsTriggerEvaluationSample.js -[reportcreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportCreateOrUpdateSample.js -[reportdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportDeleteSample.js -[reportfixsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportFixSample.js -[reportgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportGetSample.js -[reportgetscopingquestionssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportGetScopingQuestionsSample.js -[reportlistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportListSample.js -[reportnestedresourcechecknameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportNestedResourceCheckNameAvailabilitySample.js -[reportsynccertrecordsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportSyncCertRecordSample.js -[reportupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportUpdateSample.js -[reportverifysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportVerifySample.js -[scopingconfigurationcreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/scopingConfigurationCreateOrUpdateSample.js -[scopingconfigurationdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/scopingConfigurationDeleteSample.js -[scopingconfigurationgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/scopingConfigurationGetSample.js -[scopingconfigurationlistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/scopingConfigurationListSample.js -[snapshotdownloadsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/snapshotDownloadSample.js -[snapshotgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/snapshotGetSample.js -[snapshotlistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/snapshotListSample.js -[webhookcreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/webhookCreateOrUpdateSample.js -[webhookdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/webhookDeleteSample.js -[webhookgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/webhookGetSample.js -[webhooklistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/webhookListSample.js -[webhookupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/webhookUpdateSample.js -[apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-appcomplianceautomation?view=azure-node-preview -[freesub]: https://azure.microsoft.com/free/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/README.md diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/evidenceCreateOrUpdateSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/evidenceCreateOrUpdateSample.js deleted file mode 100644 index 3e6d4017fbac..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/evidenceCreateOrUpdateSample.js +++ /dev/null @@ -1,43 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Create or Update an evidence a specified report - * - * @summary Create or Update an evidence a specified report - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_CreateOrUpdate.json - */ -async function evidenceCreateOrUpdate() { - const reportName = "testReportName"; - const evidenceName = "evidence1"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.evidence.createOrUpdate(reportName, evidenceName, { - properties: { - controlId: "Operational_Security_10", - evidenceType: "File", - filePath: "/test-byos/evidence1.png", - responsibilityId: "authorized_ip_ranges_should_be_defined_on_kubernetes_services", - }, - }); - console.log(result); -} - -async function main() { - evidenceCreateOrUpdate(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/evidenceDeleteSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/evidenceDeleteSample.js deleted file mode 100644 index 6c83bfb46aa1..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/evidenceDeleteSample.js +++ /dev/null @@ -1,36 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Delete an existent evidence from a specified report - * - * @summary Delete an existent evidence from a specified report - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_Delete.json - */ -async function evidenceDelete() { - const reportName = "testReportName"; - const evidenceName = "evidence1"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.evidence.delete(reportName, evidenceName); - console.log(result); -} - -async function main() { - evidenceDelete(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/evidenceDownloadSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/evidenceDownloadSample.js deleted file mode 100644 index 7c63a58b1b16..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/evidenceDownloadSample.js +++ /dev/null @@ -1,39 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Download evidence file. - * - * @summary Download evidence file. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_Download.json - */ -async function evidenceDownload() { - const reportName = "testReportName"; - const evidenceName = "evidence1"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.evidence.download(reportName, evidenceName, { - offerGuid: "00000000-0000-0000-0000-000000000000", - reportCreatorTenantId: "00000000-0000-0000-0000-000000000000", - }); - console.log(result); -} - -async function main() { - evidenceDownload(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/evidenceGetSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/evidenceGetSample.js deleted file mode 100644 index b6f2b5ceb757..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/evidenceGetSample.js +++ /dev/null @@ -1,36 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Get the evidence metadata - * - * @summary Get the evidence metadata - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_Get.json - */ -async function evidenceGet() { - const reportName = "testReportName"; - const evidenceName = "evidence1"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.evidence.get(reportName, evidenceName); - console.log(result); -} - -async function main() { - evidenceGet(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/evidenceListByReportSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/evidenceListByReportSample.js deleted file mode 100644 index 65b3838fccc9..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/evidenceListByReportSample.js +++ /dev/null @@ -1,38 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Returns a paginated list of evidences for a specified report. - * - * @summary Returns a paginated list of evidences for a specified report. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_ListByReport.json - */ -async function evidenceListByReport() { - const reportName = "reportName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const resArray = new Array(); - for await (let item of client.evidence.listByReport(reportName)) { - resArray.push(item); - } - console.log(resArray); -} - -async function main() { - evidenceListByReport(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/operationsListSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/operationsListSample.js deleted file mode 100644 index 78e9a759ff2e..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/operationsListSample.js +++ /dev/null @@ -1,37 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to List the operations for the provider - * - * @summary List the operations for the provider - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Operations_List.json - */ -async function operationsList() { - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const resArray = new Array(); - for await (let item of client.operations.list()) { - resArray.push(item); - } - console.log(resArray); -} - -async function main() { - operationsList(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/package.json b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/package.json deleted file mode 100644 index a93ebb60a743..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/package.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "@azure-samples/arm-appcomplianceautomation-js", - "private": true, - "version": "1.0.0", - "description": " client library samples for JavaScript", - "engines": { - "node": ">=18.0.0" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/Azure/azure-sdk-for-js.git", - "directory": "sdk/appcomplianceautomation/arm-appcomplianceautomation" - }, - "keywords": [ - "node", - "azure", - "typescript", - "browser", - "isomorphic" - ], - "author": "Microsoft Corporation", - "license": "MIT", - "bugs": { - "url": "https://github.com/Azure/azure-sdk-for-js/issues" - }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appcomplianceautomation/arm-appcomplianceautomation", - "dependencies": { - "@azure/arm-appcomplianceautomation": "latest", - "dotenv": "latest", - "@azure/identity": "^4.0.1" - } -} diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/providerActionsCheckNameAvailabilitySample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/providerActionsCheckNameAvailabilitySample.js deleted file mode 100644 index b0936cabe2ad..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/providerActionsCheckNameAvailabilitySample.js +++ /dev/null @@ -1,37 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Check if the given name is available for a report. - * - * @summary Check if the given name is available for a report. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_CheckNameAvailability.json - */ -async function reportCheckNameAvailability() { - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.providerActions.checkNameAvailability({ - name: "reportABC", - type: "Microsoft.AppComplianceAutomation/reports", - }); - console.log(result); -} - -async function main() { - reportCheckNameAvailability(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/providerActionsGetCollectionCountSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/providerActionsGetCollectionCountSample.js deleted file mode 100644 index e9458bdde150..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/providerActionsGetCollectionCountSample.js +++ /dev/null @@ -1,36 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Get the count of reports. - * - * @summary Get the count of reports. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_GetCollectionCount.json - */ -async function reportGetCollectionCount() { - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.providerActions.getCollectionCount({ - type: "Microsoft.AppComplianceAutomation/reports", - }); - console.log(result); -} - -async function main() { - reportGetCollectionCount(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/providerActionsGetOverviewStatusSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/providerActionsGetOverviewStatusSample.js deleted file mode 100644 index 9f4d5fbb0393..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/providerActionsGetOverviewStatusSample.js +++ /dev/null @@ -1,36 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Get the resource overview status. - * - * @summary Get the resource overview status. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_GetOverviewStatus.json - */ -async function reportGetOverviewStatus() { - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.providerActions.getOverviewStatus({ - type: "Microsoft.AppComplianceAutomation/reports", - }); - console.log(result); -} - -async function main() { - reportGetOverviewStatus(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/providerActionsListInUseStorageAccountsSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/providerActionsListInUseStorageAccountsSample.js deleted file mode 100644 index e96d24fc441f..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/providerActionsListInUseStorageAccountsSample.js +++ /dev/null @@ -1,50 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to List the storage accounts which are in use by related reports - * - * @summary List the storage accounts which are in use by related reports - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ListInUseStorageAccountsWithSubscriptions.json - */ -async function listInUseStorageAccountsWithSubscriptions() { - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.providerActions.listInUseStorageAccounts({ - subscriptionIds: ["0000000-0000-0000-0000-000000000001", "0000000-0000-0000-0000-000000000002"], - }); - console.log(result); -} - -/** - * This sample demonstrates how to List the storage accounts which are in use by related reports - * - * @summary List the storage accounts which are in use by related reports - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ListInUseStorageAccountsWithoutSubscriptions.json - */ -async function listInUseStorageAccountsWithoutSubscriptions() { - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.providerActions.listInUseStorageAccounts({}); - console.log(result); -} - -async function main() { - listInUseStorageAccountsWithSubscriptions(); - listInUseStorageAccountsWithoutSubscriptions(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/providerActionsOnboardSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/providerActionsOnboardSample.js deleted file mode 100644 index 15654244c07c..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/providerActionsOnboardSample.js +++ /dev/null @@ -1,39 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Onboard given subscriptions to Microsoft.AppComplianceAutomation provider. - * - * @summary Onboard given subscriptions to Microsoft.AppComplianceAutomation provider. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Onboard.json - */ -async function onboard() { - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.providerActions.beginOnboardAndWait({ - subscriptionIds: [ - "00000000-0000-0000-0000-000000000000", - "00000000-0000-0000-0000-000000000001", - ], - }); - console.log(result); -} - -async function main() { - onboard(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/providerActionsTriggerEvaluationSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/providerActionsTriggerEvaluationSample.js deleted file mode 100644 index bbd3e3bbafdd..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/providerActionsTriggerEvaluationSample.js +++ /dev/null @@ -1,38 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Trigger quick evaluation for the given subscriptions. - * - * @summary Trigger quick evaluation for the given subscriptions. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/TriggerEvaluation.json - */ -async function triggerEvaluation() { - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.providerActions.beginTriggerEvaluationAndWait({ - resourceIds: [ - "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService", - ], - }); - console.log(result); -} - -async function main() { - triggerEvaluation(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportCreateOrUpdateSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportCreateOrUpdateSample.js deleted file mode 100644 index e301a85ce356..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportCreateOrUpdateSample.js +++ /dev/null @@ -1,55 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report. - * - * @summary Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_CreateOrUpdate.json - */ -async function reportCreateOrUpdate() { - const reportName = "testReportName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.report.beginCreateOrUpdateAndWait(reportName, { - properties: { - offerGuid: "00000000-0000-0000-0000-000000000001,00000000-0000-0000-0000-000000000002", - resources: [ - { - resourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService", - resourceOrigin: "Azure", - resourceType: "Microsoft.SignalRService/SignalR", - }, - ], - storageInfo: { - accountName: "testStorageAccount", - location: "East US", - resourceGroup: "testResourceGroup", - subscriptionId: "00000000-0000-0000-0000-000000000000", - }, - timeZone: "GMT Standard Time", - triggerTime: new Date("2022-03-04T05:00:00.000Z"), - }, - }); - console.log(result); -} - -async function main() { - reportCreateOrUpdate(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportDeleteSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportDeleteSample.js deleted file mode 100644 index 0dd888c7adf1..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportDeleteSample.js +++ /dev/null @@ -1,35 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Delete an AppComplianceAutomation report. - * - * @summary Delete an AppComplianceAutomation report. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Delete.json - */ -async function reportDelete() { - const reportName = "testReportName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.report.beginDeleteAndWait(reportName); - console.log(result); -} - -async function main() { - reportDelete(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportFixSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportFixSample.js deleted file mode 100644 index c0adea36c003..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportFixSample.js +++ /dev/null @@ -1,35 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service unregistered, automation removed. - * - * @summary Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service unregistered, automation removed. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Fix.json - */ -async function reportFix() { - const reportName = "testReport"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.report.beginFixAndWait(reportName); - console.log(result); -} - -async function main() { - reportFix(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportGetSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportGetSample.js deleted file mode 100644 index cf4bde2bf8cd..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportGetSample.js +++ /dev/null @@ -1,35 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Get the AppComplianceAutomation report and its properties. - * - * @summary Get the AppComplianceAutomation report and its properties. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Get.json - */ -async function reportGet() { - const reportName = "testReport"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.report.get(reportName); - console.log(result); -} - -async function main() { - reportGet(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportGetScopingQuestionsSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportGetScopingQuestionsSample.js deleted file mode 100644 index 49426da87378..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportGetScopingQuestionsSample.js +++ /dev/null @@ -1,35 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service unregistered, automation removed. - * - * @summary Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service unregistered, automation removed. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_GetScopingQuestions.json - */ -async function reportGetScopingQuestions() { - const reportName = "testReportName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.report.getScopingQuestions(reportName); - console.log(result); -} - -async function main() { - reportGetScopingQuestions(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportListSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportListSample.js deleted file mode 100644 index 31e9fb40926b..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportListSample.js +++ /dev/null @@ -1,47 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Get the AppComplianceAutomation report list for the tenant. - * - * @summary Get the AppComplianceAutomation report list for the tenant. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_List.json - */ -async function reportList() { - const skipToken = "1"; - const top = 100; - const offerGuid = "00000000-0000-0000-0000-000000000000"; - const reportCreatorTenantId = "00000000-0000-0000-0000-000000000000"; - const options = { - skipToken, - top, - offerGuid, - reportCreatorTenantId, - }; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const resArray = new Array(); - for await (let item of client.report.list(options)) { - resArray.push(item); - } - console.log(resArray); -} - -async function main() { - reportList(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportNestedResourceCheckNameAvailabilitySample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportNestedResourceCheckNameAvailabilitySample.js deleted file mode 100644 index 61455a57f4d8..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportNestedResourceCheckNameAvailabilitySample.js +++ /dev/null @@ -1,74 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots. - * - * @summary Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_NestedResourceCheckNameAvailability_Report_Evidence_Check_Name_Availability.json - */ -async function reportEvidenceCheckNameAvailability() { - const reportName = "reportABC"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.report.nestedResourceCheckNameAvailability(reportName, { - name: "evidenceABC", - type: "Microsoft.AppComplianceAutomation/reports/evidences", - }); - console.log(result); -} - -/** - * This sample demonstrates how to Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots. - * - * @summary Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_NestedResourceCheckNameAvailability_Report_Snapshot_Check_Name_Availability.json - */ -async function reportSnapshotCheckNameAvailability() { - const reportName = "reportABC"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.report.nestedResourceCheckNameAvailability(reportName, { - name: "snapshotABC", - type: "Microsoft.AppComplianceAutomation/reports/snapshots", - }); - console.log(result); -} - -/** - * This sample demonstrates how to Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots. - * - * @summary Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_NestedResourceCheckNameAvailability_Report_Webhook_Check_Name_Availability.json - */ -async function reportWebhookCheckNameAvailability() { - const reportName = "reportABC"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.report.nestedResourceCheckNameAvailability(reportName, { - name: "webhookABC", - type: "Microsoft.AppComplianceAutomation/reports/webhooks", - }); - console.log(result); -} - -async function main() { - reportEvidenceCheckNameAvailability(); - reportSnapshotCheckNameAvailability(); - reportWebhookCheckNameAvailability(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportSyncCertRecordSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportSyncCertRecordSample.js deleted file mode 100644 index af38bdcf1837..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportSyncCertRecordSample.js +++ /dev/null @@ -1,47 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Synchronize attestation record from app compliance. - * - * @summary Synchronize attestation record from app compliance. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_SyncCertRecord.json - */ -async function reportSyncCertRecord() { - const reportName = "testReportName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.report.beginSyncCertRecordAndWait(reportName, { - certRecord: { - certificationStatus: "CertIngestion", - controls: [ - { - controlId: "Operational_Security_10", - controlStatus: "Approved", - }, - ], - ingestionStatus: "EvidenceResubmitted", - offerGuid: "00000000-0000-0000-0000-000000000001", - }, - }); - console.log(result); -} - -async function main() { - reportSyncCertRecord(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportUpdateSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportUpdateSample.js deleted file mode 100644 index 953abcb66810..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportUpdateSample.js +++ /dev/null @@ -1,62 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Update an exiting AppComplianceAutomation report. - * - * @summary Update an exiting AppComplianceAutomation report. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Update.json - */ -async function reportUpdate() { - const reportName = "testReportName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.report.beginUpdateAndWait(reportName, { - properties: { - offerGuid: "00000000-0000-0000-0000-000000000001,00000000-0000-0000-0000-000000000002", - resources: [ - { - resourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService", - resourceOrigin: "Azure", - resourceType: "Microsoft.SignalRService/SignalR", - }, - { - accountId: "000000000000", - resourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/acat-aws/providers/microsoft.security/securityconnectors/acatawsconnector/securityentitydata/aws-iam-user-testuser", - resourceOrigin: "AWS", - resourceType: "iam.user", - }, - ], - storageInfo: { - accountName: "testStorageAccount", - location: "East US", - resourceGroup: "testResourceGroup", - subscriptionId: "00000000-0000-0000-0000-000000000000", - }, - timeZone: "GMT Standard Time", - triggerTime: new Date("2022-03-04T05:00:00.000Z"), - }, - }); - console.log(result); -} - -async function main() { - reportUpdate(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportVerifySample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportVerifySample.js deleted file mode 100644 index 619b11310794..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/reportVerifySample.js +++ /dev/null @@ -1,35 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Verify the AppComplianceAutomation report health status. - * - * @summary Verify the AppComplianceAutomation report health status. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Verify.json - */ -async function reportVerify() { - const reportName = "testReport"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.report.beginVerifyAndWait(reportName); - console.log(result); -} - -async function main() { - reportVerify(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/sample.env b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/sample.env deleted file mode 100644 index 672847a3fea0..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/sample.env +++ /dev/null @@ -1,4 +0,0 @@ -# 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/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/scopingConfigurationCreateOrUpdateSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/scopingConfigurationCreateOrUpdateSample.js deleted file mode 100644 index f506a408e74d..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/scopingConfigurationCreateOrUpdateSample.js +++ /dev/null @@ -1,57 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Get the AppComplianceAutomation scoping configuration of the specific report. - * - * @summary Get the AppComplianceAutomation scoping configuration of the specific report. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_CreateOrUpdate.json - */ -async function scopingConfigurationCreateOrUpdate() { - const reportName = "testReportName"; - const scopingConfigurationName = "default"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.scopingConfiguration.createOrUpdate( - reportName, - scopingConfigurationName, - { - properties: { - answers: [ - { - answers: ["Azure"], - questionId: "GEN20_hostingEnvironment", - }, - { - answers: [], - questionId: "DHP_G07_customerDataProcess", - }, - { - answers: [], - questionId: "Tier2InitSub_serviceCommunicate", - }, - ], - }, - }, - ); - console.log(result); -} - -async function main() { - scopingConfigurationCreateOrUpdate(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/scopingConfigurationDeleteSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/scopingConfigurationDeleteSample.js deleted file mode 100644 index 12acdf632101..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/scopingConfigurationDeleteSample.js +++ /dev/null @@ -1,36 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Clean the AppComplianceAutomation scoping configuration of the specific report. - * - * @summary Clean the AppComplianceAutomation scoping configuration of the specific report. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_Delete.json - */ -async function scopingConfigurationDelete() { - const reportName = "testReportName"; - const scopingConfigurationName = "default"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.scopingConfiguration.delete(reportName, scopingConfigurationName); - console.log(result); -} - -async function main() { - scopingConfigurationDelete(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/scopingConfigurationGetSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/scopingConfigurationGetSample.js deleted file mode 100644 index 487243129242..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/scopingConfigurationGetSample.js +++ /dev/null @@ -1,36 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Get the AppComplianceAutomation scoping configuration of the specific report. - * - * @summary Get the AppComplianceAutomation scoping configuration of the specific report. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_Get.json - */ -async function scopingConfiguration() { - const reportName = "testReportName"; - const scopingConfigurationName = "default"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.scopingConfiguration.get(reportName, scopingConfigurationName); - console.log(result); -} - -async function main() { - scopingConfiguration(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/scopingConfigurationListSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/scopingConfigurationListSample.js deleted file mode 100644 index 48aaf0025f74..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/scopingConfigurationListSample.js +++ /dev/null @@ -1,38 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Returns a list format of the singleton scopingConfiguration for a specified report. - * - * @summary Returns a list format of the singleton scopingConfiguration for a specified report. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_List.json - */ -async function scopingConfigurationList() { - const reportName = "testReportName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const resArray = new Array(); - for await (let item of client.scopingConfiguration.list(reportName)) { - resArray.push(item); - } - console.log(resArray); -} - -async function main() { - scopingConfigurationList(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/snapshotDownloadSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/snapshotDownloadSample.js deleted file mode 100644 index 02237f91372a..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/snapshotDownloadSample.js +++ /dev/null @@ -1,100 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Download compliance needs from snapshot, like: Compliance Report, Resource List. - * - * @summary Download compliance needs from snapshot, like: Compliance Report, Resource List. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_Download_Snapshot_Download_Compliance_Detailed_Pdf_Report.json - */ -async function snapshotDownloadComplianceDetailedPdfReport() { - const reportName = "testReportName"; - const snapshotName = "testSnapshotName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.snapshot.beginDownloadAndWait(reportName, snapshotName, { - downloadType: "ComplianceDetailedPdfReport", - offerGuid: "00000000-0000-0000-0000-000000000000", - reportCreatorTenantId: "00000000-0000-0000-0000-000000000000", - }); - console.log(result); -} - -/** - * This sample demonstrates how to Download compliance needs from snapshot, like: Compliance Report, Resource List. - * - * @summary Download compliance needs from snapshot, like: Compliance Report, Resource List. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_Download_Snapshot_Download_Compliance_Pdf_Report.json - */ -async function snapshotDownloadCompliancePdfReport() { - const reportName = "testReportName"; - const snapshotName = "testSnapshotName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.snapshot.beginDownloadAndWait(reportName, snapshotName, { - downloadType: "CompliancePdfReport", - offerGuid: "00000000-0000-0000-0000-000000000001", - reportCreatorTenantId: "00000000-0000-0000-0000-000000000000", - }); - console.log(result); -} - -/** - * This sample demonstrates how to Download compliance needs from snapshot, like: Compliance Report, Resource List. - * - * @summary Download compliance needs from snapshot, like: Compliance Report, Resource List. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_Download_Snapshot_Download_Compliance_Report.json - */ -async function snapshotDownloadComplianceReport() { - const reportName = "testReportName"; - const snapshotName = "testSnapshotName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.snapshot.beginDownloadAndWait(reportName, snapshotName, { - downloadType: "ComplianceReport", - offerGuid: "00000000-0000-0000-0000-000000000001", - reportCreatorTenantId: "00000000-0000-0000-0000-000000000000", - }); - console.log(result); -} - -/** - * This sample demonstrates how to Download compliance needs from snapshot, like: Compliance Report, Resource List. - * - * @summary Download compliance needs from snapshot, like: Compliance Report, Resource List. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_Download_Snapshot_Download_Resource_List.json - */ -async function snapshotDownloadResourceList() { - const reportName = "testReportName"; - const snapshotName = "testSnapshotName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.snapshot.beginDownloadAndWait(reportName, snapshotName, { - downloadType: "ResourceList", - offerGuid: "00000000-0000-0000-0000-000000000001", - reportCreatorTenantId: "00000000-0000-0000-0000-000000000000", - }); - console.log(result); -} - -async function main() { - snapshotDownloadComplianceDetailedPdfReport(); - snapshotDownloadCompliancePdfReport(); - snapshotDownloadComplianceReport(); - snapshotDownloadResourceList(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/snapshotGetSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/snapshotGetSample.js deleted file mode 100644 index baec752cddd7..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/snapshotGetSample.js +++ /dev/null @@ -1,36 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Get the AppComplianceAutomation snapshot and its properties. - * - * @summary Get the AppComplianceAutomation snapshot and its properties. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_Get.json - */ -async function snapshotGet() { - const reportName = "testReportName"; - const snapshotName = "testSnapshot"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.snapshot.get(reportName, snapshotName); - console.log(result); -} - -async function main() { - snapshotGet(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/snapshotListSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/snapshotListSample.js deleted file mode 100644 index bee5ab01f6e7..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/snapshotListSample.js +++ /dev/null @@ -1,48 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Get the AppComplianceAutomation snapshot list. - * - * @summary Get the AppComplianceAutomation snapshot list. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_List.json - */ -async function snapshotList() { - const skipToken = "1"; - const top = 100; - const offerGuid = "00000000-0000-0000-0000-000000000001"; - const reportCreatorTenantId = "00000000-0000-0000-0000-000000000000"; - const reportName = "testReportName"; - const options = { - skipToken, - top, - offerGuid, - reportCreatorTenantId, - }; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const resArray = new Array(); - for await (let item of client.snapshot.list(reportName, options)) { - resArray.push(item); - } - console.log(resArray); -} - -async function main() { - snapshotList(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/webhookCreateOrUpdateSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/webhookCreateOrUpdateSample.js deleted file mode 100644 index a72bef178102..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/webhookCreateOrUpdateSample.js +++ /dev/null @@ -1,47 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Create a new AppComplianceAutomation webhook or update an exiting AppComplianceAutomation webhook. - * - * @summary Create a new AppComplianceAutomation webhook or update an exiting AppComplianceAutomation webhook. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_CreateOrUpdate.json - */ -async function webhookCreateOrUpdate() { - const reportName = "testReportName"; - const webhookName = "testWebhookName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.webhook.createOrUpdate(reportName, webhookName, { - properties: { - contentType: "application/json", - enableSslVerification: "true", - events: ["generate_snapshot_failed"], - payloadUrl: "https://example.com", - sendAllEvents: "false", - status: "Enabled", - updateWebhookKey: "true", - webhookKey: "00000000-0000-0000-0000-000000000000", - }, - }); - console.log(result); -} - -async function main() { - webhookCreateOrUpdate(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/webhookDeleteSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/webhookDeleteSample.js deleted file mode 100644 index f3f9689edcd2..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/webhookDeleteSample.js +++ /dev/null @@ -1,36 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Delete an AppComplianceAutomation webhook. - * - * @summary Delete an AppComplianceAutomation webhook. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_Delete.json - */ -async function webhookDelete() { - const reportName = "testReportName"; - const webhookName = "testWebhookName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.webhook.delete(reportName, webhookName); - console.log(result); -} - -async function main() { - webhookDelete(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/webhookGetSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/webhookGetSample.js deleted file mode 100644 index 0e228e8bdb20..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/webhookGetSample.js +++ /dev/null @@ -1,36 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Get the AppComplianceAutomation webhook and its properties. - * - * @summary Get the AppComplianceAutomation webhook and its properties. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_Get.json - */ -async function webhookGet() { - const reportName = "testReportName"; - const webhookName = "testWebhookName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.webhook.get(reportName, webhookName); - console.log(result); -} - -async function main() { - webhookGet(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/webhookListSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/webhookListSample.js deleted file mode 100644 index 543044041516..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/webhookListSample.js +++ /dev/null @@ -1,41 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Get the AppComplianceAutomation webhook list. - * - * @summary Get the AppComplianceAutomation webhook list. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_List.json - */ -async function webhookList() { - const skipToken = "1"; - const top = 100; - const reportName = "testReportName"; - const options = { skipToken, top }; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const resArray = new Array(); - for await (let item of client.webhook.list(reportName, options)) { - resArray.push(item); - } - console.log(resArray); -} - -async function main() { - webhookList(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/webhookUpdateSample.js b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/webhookUpdateSample.js deleted file mode 100644 index 180da6daacbd..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/javascript/webhookUpdateSample.js +++ /dev/null @@ -1,47 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { - AppComplianceAutomationToolForMicrosoft365, -} = require("@azure/arm-appcomplianceautomation"); -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -/** - * This sample demonstrates how to Update an exiting AppComplianceAutomation webhook. - * - * @summary Update an exiting AppComplianceAutomation webhook. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_Update.json - */ -async function webhookUpdate() { - const reportName = "testReportName"; - const webhookName = "testWebhookName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.webhook.update(reportName, webhookName, { - properties: { - contentType: "application/json", - enableSslVerification: "true", - events: ["generate_snapshot_failed"], - payloadUrl: "https://example.com", - sendAllEvents: "false", - status: "Enabled", - updateWebhookKey: "true", - webhookKey: "00000000-0000-0000-0000-000000000000", - }, - }); - console.log(result); -} - -async function main() { - webhookUpdate(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/README.md b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/README.md deleted file mode 100644 index d542e75c8358..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/README.md +++ /dev/null @@ -1,129 +0,0 @@ -# client library samples for TypeScript - -These sample programs show how to use the TypeScript client libraries for in some common scenarios. - -| **File Name** | **Description** | -| ----------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [evidenceCreateOrUpdateSample.ts][evidencecreateorupdatesample] | Create or Update an evidence a specified report x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_CreateOrUpdate.json | -| [evidenceDeleteSample.ts][evidencedeletesample] | Delete an existent evidence from a specified report x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_Delete.json | -| [evidenceDownloadSample.ts][evidencedownloadsample] | Download evidence file. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_Download.json | -| [evidenceGetSample.ts][evidencegetsample] | Get the evidence metadata x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_Get.json | -| [evidenceListByReportSample.ts][evidencelistbyreportsample] | Returns a paginated list of evidences for a specified report. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_ListByReport.json | -| [operationsListSample.ts][operationslistsample] | List the operations for the provider x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Operations_List.json | -| [providerActionsCheckNameAvailabilitySample.ts][provideractionschecknameavailabilitysample] | Check if the given name is available for a report. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_CheckNameAvailability.json | -| [providerActionsGetCollectionCountSample.ts][provideractionsgetcollectioncountsample] | Get the count of reports. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_GetCollectionCount.json | -| [providerActionsGetOverviewStatusSample.ts][provideractionsgetoverviewstatussample] | Get the resource overview status. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_GetOverviewStatus.json | -| [providerActionsListInUseStorageAccountsSample.ts][provideractionslistinusestorageaccountssample] | List the storage accounts which are in use by related reports x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ListInUseStorageAccountsWithSubscriptions.json | -| [providerActionsOnboardSample.ts][provideractionsonboardsample] | Onboard given subscriptions to Microsoft.AppComplianceAutomation provider. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Onboard.json | -| [providerActionsTriggerEvaluationSample.ts][provideractionstriggerevaluationsample] | Trigger quick evaluation for the given subscriptions. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/TriggerEvaluation.json | -| [reportCreateOrUpdateSample.ts][reportcreateorupdatesample] | Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_CreateOrUpdate.json | -| [reportDeleteSample.ts][reportdeletesample] | Delete an AppComplianceAutomation report. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Delete.json | -| [reportFixSample.ts][reportfixsample] | Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service unregistered, automation removed. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Fix.json | -| [reportGetSample.ts][reportgetsample] | Get the AppComplianceAutomation report and its properties. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Get.json | -| [reportGetScopingQuestionsSample.ts][reportgetscopingquestionssample] | Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service unregistered, automation removed. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_GetScopingQuestions.json | -| [reportListSample.ts][reportlistsample] | Get the AppComplianceAutomation report list for the tenant. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_List.json | -| [reportNestedResourceCheckNameAvailabilitySample.ts][reportnestedresourcechecknameavailabilitysample] | Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_NestedResourceCheckNameAvailability_Report_Evidence_Check_Name_Availability.json | -| [reportSyncCertRecordSample.ts][reportsynccertrecordsample] | Synchronize attestation record from app compliance. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_SyncCertRecord.json | -| [reportUpdateSample.ts][reportupdatesample] | Update an exiting AppComplianceAutomation report. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Update.json | -| [reportVerifySample.ts][reportverifysample] | Verify the AppComplianceAutomation report health status. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Verify.json | -| [scopingConfigurationCreateOrUpdateSample.ts][scopingconfigurationcreateorupdatesample] | Get the AppComplianceAutomation scoping configuration of the specific report. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_CreateOrUpdate.json | -| [scopingConfigurationDeleteSample.ts][scopingconfigurationdeletesample] | Clean the AppComplianceAutomation scoping configuration of the specific report. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_Delete.json | -| [scopingConfigurationGetSample.ts][scopingconfigurationgetsample] | Get the AppComplianceAutomation scoping configuration of the specific report. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_Get.json | -| [scopingConfigurationListSample.ts][scopingconfigurationlistsample] | Returns a list format of the singleton scopingConfiguration for a specified report. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_List.json | -| [snapshotDownloadSample.ts][snapshotdownloadsample] | Download compliance needs from snapshot, like: Compliance Report, Resource List. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_Download_Snapshot_Download_Compliance_Detailed_Pdf_Report.json | -| [snapshotGetSample.ts][snapshotgetsample] | Get the AppComplianceAutomation snapshot and its properties. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_Get.json | -| [snapshotListSample.ts][snapshotlistsample] | Get the AppComplianceAutomation snapshot list. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_List.json | -| [webhookCreateOrUpdateSample.ts][webhookcreateorupdatesample] | Create a new AppComplianceAutomation webhook or update an exiting AppComplianceAutomation webhook. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_CreateOrUpdate.json | -| [webhookDeleteSample.ts][webhookdeletesample] | Delete an AppComplianceAutomation webhook. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_Delete.json | -| [webhookGetSample.ts][webhookgetsample] | Get the AppComplianceAutomation webhook and its properties. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_Get.json | -| [webhookListSample.ts][webhooklistsample] | Get the AppComplianceAutomation webhook list. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_List.json | -| [webhookUpdateSample.ts][webhookupdatesample] | Update an exiting AppComplianceAutomation webhook. x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_Update.json | - -## Prerequisites - -The sample programs are compatible with [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule). - -Before running the samples in Node, they must be compiled to JavaScript using the TypeScript compiler. For more information on TypeScript, see the [TypeScript documentation][typescript]. Install the TypeScript compiler using: - -```bash -npm install -g typescript -``` - -You need [an Azure subscription][freesub] to run these sample programs. - -Samples retrieve credentials to access the service endpoint from environment variables. Alternatively, edit the source code to include the appropriate credentials. See each individual sample for details on which environment variables/credentials it requires to function. - -Adapting the samples to run in the browser may require some additional consideration. For details, please see the [package README][package]. - -## Setup - -To run the samples using the published version of the package: - -1. Install the dependencies using `npm`: - -```bash -npm install -``` - -2. Compile the samples: - -```bash -npm run build -``` - -3. Edit the file `sample.env`, adding the correct credentials to access the Azure service and run the samples. Then rename the file from `sample.env` to just `.env`. The sample programs will read this file automatically. - -4. Run whichever samples you like (note that some samples may require additional setup, see the table above): - -```bash -node dist/evidenceCreateOrUpdateSample.js -``` - -Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform): - -```bash -npx cross-env node dist/evidenceCreateOrUpdateSample.js -``` - -## Next Steps - -Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. - -[evidencecreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/evidenceCreateOrUpdateSample.ts -[evidencedeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/evidenceDeleteSample.ts -[evidencedownloadsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/evidenceDownloadSample.ts -[evidencegetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/evidenceGetSample.ts -[evidencelistbyreportsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/evidenceListByReportSample.ts -[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/operationsListSample.ts -[provideractionschecknameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/providerActionsCheckNameAvailabilitySample.ts -[provideractionsgetcollectioncountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/providerActionsGetCollectionCountSample.ts -[provideractionsgetoverviewstatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/providerActionsGetOverviewStatusSample.ts -[provideractionslistinusestorageaccountssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/providerActionsListInUseStorageAccountsSample.ts -[provideractionsonboardsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/providerActionsOnboardSample.ts -[provideractionstriggerevaluationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/providerActionsTriggerEvaluationSample.ts -[reportcreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportCreateOrUpdateSample.ts -[reportdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportDeleteSample.ts -[reportfixsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportFixSample.ts -[reportgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportGetSample.ts -[reportgetscopingquestionssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportGetScopingQuestionsSample.ts -[reportlistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportListSample.ts -[reportnestedresourcechecknameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportNestedResourceCheckNameAvailabilitySample.ts -[reportsynccertrecordsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportSyncCertRecordSample.ts -[reportupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportUpdateSample.ts -[reportverifysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportVerifySample.ts -[scopingconfigurationcreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/scopingConfigurationCreateOrUpdateSample.ts -[scopingconfigurationdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/scopingConfigurationDeleteSample.ts -[scopingconfigurationgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/scopingConfigurationGetSample.ts -[scopingconfigurationlistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/scopingConfigurationListSample.ts -[snapshotdownloadsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/snapshotDownloadSample.ts -[snapshotgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/snapshotGetSample.ts -[snapshotlistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/snapshotListSample.ts -[webhookcreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/webhookCreateOrUpdateSample.ts -[webhookdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/webhookDeleteSample.ts -[webhookgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/webhookGetSample.ts -[webhooklistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/webhookListSample.ts -[webhookupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/webhookUpdateSample.ts -[apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-appcomplianceautomation?view=azure-node-preview -[freesub]: https://azure.microsoft.com/free/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appcomplianceautomation/arm-appcomplianceautomation/README.md -[typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/package.json b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/package.json deleted file mode 100644 index 693596866867..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/package.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "@azure-samples/arm-appcomplianceautomation-ts", - "private": true, - "version": "1.0.0", - "description": " client library samples for TypeScript", - "engines": { - "node": ">=18.0.0" - }, - "scripts": { - "build": "tsc", - "prebuild": "rimraf dist/" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/Azure/azure-sdk-for-js.git", - "directory": "sdk/appcomplianceautomation/arm-appcomplianceautomation" - }, - "keywords": [ - "node", - "azure", - "typescript", - "browser", - "isomorphic" - ], - "author": "Microsoft Corporation", - "license": "MIT", - "bugs": { - "url": "https://github.com/Azure/azure-sdk-for-js/issues" - }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appcomplianceautomation/arm-appcomplianceautomation", - "dependencies": { - "@azure/arm-appcomplianceautomation": "latest", - "dotenv": "latest", - "@azure/identity": "^4.0.1" - }, - "devDependencies": { - "@types/node": "^18.0.0", - "typescript": "~5.5.3", - "rimraf": "latest" - } -} diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/sample.env b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/sample.env deleted file mode 100644 index 672847a3fea0..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/sample.env +++ /dev/null @@ -1,4 +0,0 @@ -# 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/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/evidenceCreateOrUpdateSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/evidenceCreateOrUpdateSample.ts deleted file mode 100644 index c034a37c8ec8..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/evidenceCreateOrUpdateSample.ts +++ /dev/null @@ -1,45 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Create or Update an evidence a specified report - * - * @summary Create or Update an evidence a specified report - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_CreateOrUpdate.json - */ -async function evidenceCreateOrUpdate() { - const reportName = "testReportName"; - const evidenceName = "evidence1"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.evidence.createOrUpdate(reportName, evidenceName, - { - "properties": { - "controlId": "Operational_Security_10", - "evidenceType": "File", - "filePath": "/test-byos/evidence1.png", - "responsibilityId": "authorized_ip_ranges_should_be_defined_on_kubernetes_services" - } - } - ); - console.log(result); -} - -async function main() { - evidenceCreateOrUpdate(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/evidenceDeleteSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/evidenceDeleteSample.ts deleted file mode 100644 index 2769fce413c6..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/evidenceDeleteSample.ts +++ /dev/null @@ -1,36 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Delete an existent evidence from a specified report - * - * @summary Delete an existent evidence from a specified report - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_Delete.json - */ -async function evidenceDelete() { - const reportName = "testReportName"; - const evidenceName = "evidence1"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.evidence.delete(reportName, evidenceName); - console.log(result); -} - -async function main() { - evidenceDelete(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/evidenceDownloadSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/evidenceDownloadSample.ts deleted file mode 100644 index 25732dd5fffa..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/evidenceDownloadSample.ts +++ /dev/null @@ -1,41 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Download evidence file. - * - * @summary Download evidence file. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_Download.json - */ -async function evidenceDownload() { - const reportName = "testReportName"; - const evidenceName = "evidence1"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.evidence.download(reportName, evidenceName, - { - "offerGuid": "00000000-0000-0000-0000-000000000000", - "reportCreatorTenantId": "00000000-0000-0000-0000-000000000000" - } - ); - console.log(result); -} - -async function main() { - evidenceDownload(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/evidenceGetSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/evidenceGetSample.ts deleted file mode 100644 index 90dc70c4484d..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/evidenceGetSample.ts +++ /dev/null @@ -1,36 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Get the evidence metadata - * - * @summary Get the evidence metadata - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_Get.json - */ -async function evidenceGet() { - const reportName = "testReportName"; - const evidenceName = "evidence1"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.evidence.get(reportName, evidenceName); - console.log(result); -} - -async function main() { - evidenceGet(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/evidenceListByReportSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/evidenceListByReportSample.ts deleted file mode 100644 index 71077ba55a79..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/evidenceListByReportSample.ts +++ /dev/null @@ -1,38 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Returns a paginated list of evidences for a specified report. - * - * @summary Returns a paginated list of evidences for a specified report. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_ListByReport.json - */ -async function evidenceListByReport() { - const reportName = "reportName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const resArray = new Array(); - for await (let item of client.evidence.listByReport(reportName)) { - resArray.push(item); - } - console.log(resArray); -} - -async function main() { - evidenceListByReport(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/operationsListSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/operationsListSample.ts deleted file mode 100644 index 5b309da24bcd..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/operationsListSample.ts +++ /dev/null @@ -1,37 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to List the operations for the provider - * - * @summary List the operations for the provider - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Operations_List.json - */ -async function operationsList() { - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const resArray = new Array(); - for await (let item of client.operations.list()) { - resArray.push(item); - } - console.log(resArray); -} - -async function main() { - operationsList(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/providerActionsCheckNameAvailabilitySample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/providerActionsCheckNameAvailabilitySample.ts deleted file mode 100644 index 7821e01e824b..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/providerActionsCheckNameAvailabilitySample.ts +++ /dev/null @@ -1,37 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Check if the given name is available for a report. - * - * @summary Check if the given name is available for a report. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_CheckNameAvailability.json - */ -async function reportCheckNameAvailability() { - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.providerActions.checkNameAvailability({ - "name": "reportABC", - "type": "Microsoft.AppComplianceAutomation/reports" - }); - console.log(result); -} - -async function main() { - reportCheckNameAvailability(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/providerActionsGetCollectionCountSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/providerActionsGetCollectionCountSample.ts deleted file mode 100644 index 8e93fb0798e6..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/providerActionsGetCollectionCountSample.ts +++ /dev/null @@ -1,36 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Get the count of reports. - * - * @summary Get the count of reports. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_GetCollectionCount.json - */ -async function reportGetCollectionCount() { - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.providerActions.getCollectionCount({ - "type": "Microsoft.AppComplianceAutomation/reports" - }); - console.log(result); -} - -async function main() { - reportGetCollectionCount(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/providerActionsGetOverviewStatusSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/providerActionsGetOverviewStatusSample.ts deleted file mode 100644 index 35b13c7f3bee..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/providerActionsGetOverviewStatusSample.ts +++ /dev/null @@ -1,36 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Get the resource overview status. - * - * @summary Get the resource overview status. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_GetOverviewStatus.json - */ -async function reportGetOverviewStatus() { - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.providerActions.getOverviewStatus({ - "type": "Microsoft.AppComplianceAutomation/reports" - }); - console.log(result); -} - -async function main() { - reportGetOverviewStatus(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/providerActionsListInUseStorageAccountsSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/providerActionsListInUseStorageAccountsSample.ts deleted file mode 100644 index aebcd2ae5e4f..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/providerActionsListInUseStorageAccountsSample.ts +++ /dev/null @@ -1,53 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to List the storage accounts which are in use by related reports - * - * @summary List the storage accounts which are in use by related reports - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ListInUseStorageAccountsWithSubscriptions.json - */ -async function listInUseStorageAccountsWithSubscriptions() { - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.providerActions.listInUseStorageAccounts({ - "subscriptionIds": [ - "0000000-0000-0000-0000-000000000001", - "0000000-0000-0000-0000-000000000002" - ] - }); - console.log(result); -} - -/** - * This sample demonstrates how to List the storage accounts which are in use by related reports - * - * @summary List the storage accounts which are in use by related reports - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ListInUseStorageAccountsWithoutSubscriptions.json - */ -async function listInUseStorageAccountsWithoutSubscriptions() { - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.providerActions.listInUseStorageAccounts({}); - console.log(result); -} - -async function main() { - listInUseStorageAccountsWithSubscriptions(); - listInUseStorageAccountsWithoutSubscriptions(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/providerActionsOnboardSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/providerActionsOnboardSample.ts deleted file mode 100644 index cfc00499469f..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/providerActionsOnboardSample.ts +++ /dev/null @@ -1,39 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Onboard given subscriptions to Microsoft.AppComplianceAutomation provider. - * - * @summary Onboard given subscriptions to Microsoft.AppComplianceAutomation provider. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Onboard.json - */ -async function onboard() { - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.providerActions.beginOnboardAndWait({ - "subscriptionIds": [ - "00000000-0000-0000-0000-000000000000", - "00000000-0000-0000-0000-000000000001" - ] - }); - console.log(result); -} - -async function main() { - onboard(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/providerActionsTriggerEvaluationSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/providerActionsTriggerEvaluationSample.ts deleted file mode 100644 index e4d9da9871d6..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/providerActionsTriggerEvaluationSample.ts +++ /dev/null @@ -1,38 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Trigger quick evaluation for the given subscriptions. - * - * @summary Trigger quick evaluation for the given subscriptions. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/TriggerEvaluation.json - */ -async function triggerEvaluation() { - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.providerActions.beginTriggerEvaluationAndWait({ - "resourceIds": [ - "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService" - ] - }); - console.log(result); -} - -async function main() { - triggerEvaluation(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportCreateOrUpdateSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportCreateOrUpdateSample.ts deleted file mode 100644 index ce3816bf1ecb..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportCreateOrUpdateSample.ts +++ /dev/null @@ -1,56 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report. - * - * @summary Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_CreateOrUpdate.json - */ -async function reportCreateOrUpdate() { - const reportName = "testReportName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.report.beginCreateOrUpdateAndWait(reportName, - { - "properties": { - "offerGuid": "00000000-0000-0000-0000-000000000001,00000000-0000-0000-0000-000000000002", - "resources": [ - { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService", - "resourceOrigin": "Azure", - "resourceType": "Microsoft.SignalRService/SignalR" - } - ], - "storageInfo": { - "accountName": "testStorageAccount", - "location": "East US", - "resourceGroup": "testResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "timeZone": "GMT Standard Time", - "triggerTime": new Date("2022-03-04T05:00:00.000Z") - } - } - ); - console.log(result); -} - -async function main() { - reportCreateOrUpdate(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportDeleteSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportDeleteSample.ts deleted file mode 100644 index 6ab60d2310b3..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportDeleteSample.ts +++ /dev/null @@ -1,35 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Delete an AppComplianceAutomation report. - * - * @summary Delete an AppComplianceAutomation report. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Delete.json - */ -async function reportDelete() { - const reportName = "testReportName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.report.beginDeleteAndWait(reportName); - console.log(result); -} - -async function main() { - reportDelete(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportFixSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportFixSample.ts deleted file mode 100644 index e5f46e06b5d3..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportFixSample.ts +++ /dev/null @@ -1,35 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service unregistered, automation removed. - * - * @summary Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service unregistered, automation removed. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Fix.json - */ -async function reportFix() { - const reportName = "testReport"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.report.beginFixAndWait(reportName); - console.log(result); -} - -async function main() { - reportFix(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportGetSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportGetSample.ts deleted file mode 100644 index b3cc566ba5f7..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportGetSample.ts +++ /dev/null @@ -1,35 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Get the AppComplianceAutomation report and its properties. - * - * @summary Get the AppComplianceAutomation report and its properties. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Get.json - */ -async function reportGet() { - const reportName = "testReport"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.report.get(reportName); - console.log(result); -} - -async function main() { - reportGet(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportGetScopingQuestionsSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportGetScopingQuestionsSample.ts deleted file mode 100644 index 2ec8c684088a..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportGetScopingQuestionsSample.ts +++ /dev/null @@ -1,35 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service unregistered, automation removed. - * - * @summary Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service unregistered, automation removed. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_GetScopingQuestions.json - */ -async function reportGetScopingQuestions() { - const reportName = "testReportName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.report.getScopingQuestions(reportName); - console.log(result); -} - -async function main() { - reportGetScopingQuestions(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportListSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportListSample.ts deleted file mode 100644 index 079613e219cf..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportListSample.ts +++ /dev/null @@ -1,50 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - ReportListOptionalParams, - AppComplianceAutomationToolForMicrosoft365, -} from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Get the AppComplianceAutomation report list for the tenant. - * - * @summary Get the AppComplianceAutomation report list for the tenant. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_List.json - */ -async function reportList() { - const skipToken = "1"; - const top = 100; - const offerGuid = "00000000-0000-0000-0000-000000000000"; - const reportCreatorTenantId = "00000000-0000-0000-0000-000000000000"; - const options: ReportListOptionalParams = { - skipToken, - top, - offerGuid, - reportCreatorTenantId, - }; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const resArray = new Array(); - for await (let item of client.report.list(options)) { - resArray.push(item); - } - console.log(resArray); -} - -async function main() { - reportList(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportNestedResourceCheckNameAvailabilitySample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportNestedResourceCheckNameAvailabilitySample.ts deleted file mode 100644 index cf2d8d84534d..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportNestedResourceCheckNameAvailabilitySample.ts +++ /dev/null @@ -1,83 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots. - * - * @summary Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_NestedResourceCheckNameAvailability_Report_Evidence_Check_Name_Availability.json - */ -async function reportEvidenceCheckNameAvailability() { - const reportName = "reportABC"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = - await client.report.nestedResourceCheckNameAvailability(reportName, - { - "name": "evidenceABC", - "type": "Microsoft.AppComplianceAutomation/reports/evidences" - } - ); - console.log(result); -} - -/** - * This sample demonstrates how to Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots. - * - * @summary Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_NestedResourceCheckNameAvailability_Report_Snapshot_Check_Name_Availability.json - */ -async function reportSnapshotCheckNameAvailability() { - const reportName = "reportABC"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = - await client.report.nestedResourceCheckNameAvailability(reportName, - { - "name": "snapshotABC", - "type": "Microsoft.AppComplianceAutomation/reports/snapshots" - } - ); - console.log(result); -} - -/** - * This sample demonstrates how to Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots. - * - * @summary Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_NestedResourceCheckNameAvailability_Report_Webhook_Check_Name_Availability.json - */ -async function reportWebhookCheckNameAvailability() { - const reportName = "reportABC"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = - await client.report.nestedResourceCheckNameAvailability(reportName, - { - "name": "webhookABC", - "type": "Microsoft.AppComplianceAutomation/reports/webhooks" - } - ); - console.log(result); -} - -async function main() { - reportEvidenceCheckNameAvailability(); - reportSnapshotCheckNameAvailability(); - reportWebhookCheckNameAvailability(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportSyncCertRecordSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportSyncCertRecordSample.ts deleted file mode 100644 index d739e7d3d27f..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportSyncCertRecordSample.ts +++ /dev/null @@ -1,49 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Synchronize attestation record from app compliance. - * - * @summary Synchronize attestation record from app compliance. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_SyncCertRecord.json - */ -async function reportSyncCertRecord() { - const reportName = "testReportName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.report.beginSyncCertRecordAndWait(reportName, - { - "certRecord": { - "certificationStatus": "CertIngestion", - "controls": [ - { - "controlId": "Operational_Security_10", - "controlStatus": "Approved" - } - ], - "ingestionStatus": "EvidenceResubmitted", - "offerGuid": "00000000-0000-0000-0000-000000000001" - } - } - ); - console.log(result); -} - -async function main() { - reportSyncCertRecord(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportUpdateSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportUpdateSample.ts deleted file mode 100644 index ae66f20c643e..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportUpdateSample.ts +++ /dev/null @@ -1,62 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Update an exiting AppComplianceAutomation report. - * - * @summary Update an exiting AppComplianceAutomation report. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Update.json - */ -async function reportUpdate() { - const reportName = "testReportName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.report.beginUpdateAndWait(reportName, - { - "properties": { - "offerGuid": "00000000-0000-0000-0000-000000000001,00000000-0000-0000-0000-000000000002", - "resources": [ - { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService", - "resourceOrigin": "Azure", - "resourceType": "Microsoft.SignalRService/SignalR" - }, - { - "accountId": "000000000000", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/acat-aws/providers/microsoft.security/securityconnectors/acatawsconnector/securityentitydata/aws-iam-user-testuser", - "resourceOrigin": "AWS", - "resourceType": "iam.user" - } - ], - "storageInfo": { - "accountName": "testStorageAccount", - "location": "East US", - "resourceGroup": "testResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "timeZone": "GMT Standard Time", - "triggerTime": new Date("2022-03-04T05:00:00.000Z") - } - } - ); - console.log(result); -} - -async function main() { - reportUpdate(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportVerifySample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportVerifySample.ts deleted file mode 100644 index 1f41092b0e4a..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/reportVerifySample.ts +++ /dev/null @@ -1,35 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Verify the AppComplianceAutomation report health status. - * - * @summary Verify the AppComplianceAutomation report health status. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Verify.json - */ -async function reportVerify() { - const reportName = "testReport"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.report.beginVerifyAndWait(reportName); - console.log(result); -} - -async function main() { - reportVerify(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/scopingConfigurationCreateOrUpdateSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/scopingConfigurationCreateOrUpdateSample.ts deleted file mode 100644 index e98f0724b67e..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/scopingConfigurationCreateOrUpdateSample.ts +++ /dev/null @@ -1,59 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Get the AppComplianceAutomation scoping configuration of the specific report. - * - * @summary Get the AppComplianceAutomation scoping configuration of the specific report. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_CreateOrUpdate.json - */ -async function scopingConfigurationCreateOrUpdate() { - const reportName = "testReportName"; - const scopingConfigurationName = "default"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.scopingConfiguration.createOrUpdate( - reportName, - scopingConfigurationName, - { - "properties": { - "answers": [ - { - "answers": [ - "Azure" - ], - "questionId": "GEN20_hostingEnvironment" - }, - { - "answers": [], - "questionId": "DHP_G07_customerDataProcess" - }, - { - "answers": [], - "questionId": "Tier2InitSub_serviceCommunicate" - } - ] - } - } - ); - console.log(result); -} - -async function main() { - scopingConfigurationCreateOrUpdate(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/scopingConfigurationDeleteSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/scopingConfigurationDeleteSample.ts deleted file mode 100644 index f631b4d652b3..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/scopingConfigurationDeleteSample.ts +++ /dev/null @@ -1,39 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Clean the AppComplianceAutomation scoping configuration of the specific report. - * - * @summary Clean the AppComplianceAutomation scoping configuration of the specific report. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_Delete.json - */ -async function scopingConfigurationDelete() { - const reportName = "testReportName"; - const scopingConfigurationName = "default"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.scopingConfiguration.delete( - reportName, - scopingConfigurationName, - ); - console.log(result); -} - -async function main() { - scopingConfigurationDelete(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/scopingConfigurationGetSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/scopingConfigurationGetSample.ts deleted file mode 100644 index 1048fda7d9c0..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/scopingConfigurationGetSample.ts +++ /dev/null @@ -1,39 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Get the AppComplianceAutomation scoping configuration of the specific report. - * - * @summary Get the AppComplianceAutomation scoping configuration of the specific report. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_Get.json - */ -async function scopingConfiguration() { - const reportName = "testReportName"; - const scopingConfigurationName = "default"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.scopingConfiguration.get( - reportName, - scopingConfigurationName, - ); - console.log(result); -} - -async function main() { - scopingConfiguration(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/scopingConfigurationListSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/scopingConfigurationListSample.ts deleted file mode 100644 index 7b40433551fd..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/scopingConfigurationListSample.ts +++ /dev/null @@ -1,38 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Returns a list format of the singleton scopingConfiguration for a specified report. - * - * @summary Returns a list format of the singleton scopingConfiguration for a specified report. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_List.json - */ -async function scopingConfigurationList() { - const reportName = "testReportName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const resArray = new Array(); - for await (let item of client.scopingConfiguration.list(reportName)) { - resArray.push(item); - } - console.log(resArray); -} - -async function main() { - scopingConfigurationList(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/snapshotDownloadSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/snapshotDownloadSample.ts deleted file mode 100644 index 0bd838baf9d7..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/snapshotDownloadSample.ts +++ /dev/null @@ -1,116 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Download compliance needs from snapshot, like: Compliance Report, Resource List. - * - * @summary Download compliance needs from snapshot, like: Compliance Report, Resource List. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_Download_Snapshot_Download_Compliance_Detailed_Pdf_Report.json - */ -async function snapshotDownloadComplianceDetailedPdfReport() { - const reportName = "testReportName"; - const snapshotName = "testSnapshotName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.snapshot.beginDownloadAndWait( - reportName, - snapshotName, - { - "downloadType": "ComplianceDetailedPdfReport", - "offerGuid": "00000000-0000-0000-0000-000000000000", - "reportCreatorTenantId": "00000000-0000-0000-0000-000000000000" - } - ); - console.log(result); -} - -/** - * This sample demonstrates how to Download compliance needs from snapshot, like: Compliance Report, Resource List. - * - * @summary Download compliance needs from snapshot, like: Compliance Report, Resource List. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_Download_Snapshot_Download_Compliance_Pdf_Report.json - */ -async function snapshotDownloadCompliancePdfReport() { - const reportName = "testReportName"; - const snapshotName = "testSnapshotName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.snapshot.beginDownloadAndWait( - reportName, - snapshotName, - { - "downloadType": "CompliancePdfReport", - "offerGuid": "00000000-0000-0000-0000-000000000001", - "reportCreatorTenantId": "00000000-0000-0000-0000-000000000000" - } - ); - console.log(result); -} - -/** - * This sample demonstrates how to Download compliance needs from snapshot, like: Compliance Report, Resource List. - * - * @summary Download compliance needs from snapshot, like: Compliance Report, Resource List. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_Download_Snapshot_Download_Compliance_Report.json - */ -async function snapshotDownloadComplianceReport() { - const reportName = "testReportName"; - const snapshotName = "testSnapshotName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.snapshot.beginDownloadAndWait( - reportName, - snapshotName, - { - "downloadType": "ComplianceReport", - "offerGuid": "00000000-0000-0000-0000-000000000001", - "reportCreatorTenantId": "00000000-0000-0000-0000-000000000000" - } - ); - console.log(result); -} - -/** - * This sample demonstrates how to Download compliance needs from snapshot, like: Compliance Report, Resource List. - * - * @summary Download compliance needs from snapshot, like: Compliance Report, Resource List. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_Download_Snapshot_Download_Resource_List.json - */ -async function snapshotDownloadResourceList() { - const reportName = "testReportName"; - const snapshotName = "testSnapshotName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.snapshot.beginDownloadAndWait( - reportName, - snapshotName, - { - "downloadType": "ResourceList", - "offerGuid": "00000000-0000-0000-0000-000000000001", - "reportCreatorTenantId": "00000000-0000-0000-0000-000000000000" - } - ); - console.log(result); -} - -async function main() { - snapshotDownloadComplianceDetailedPdfReport(); - snapshotDownloadCompliancePdfReport(); - snapshotDownloadComplianceReport(); - snapshotDownloadResourceList(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/snapshotGetSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/snapshotGetSample.ts deleted file mode 100644 index 9e7c4a5ab48a..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/snapshotGetSample.ts +++ /dev/null @@ -1,36 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Get the AppComplianceAutomation snapshot and its properties. - * - * @summary Get the AppComplianceAutomation snapshot and its properties. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_Get.json - */ -async function snapshotGet() { - const reportName = "testReportName"; - const snapshotName = "testSnapshot"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.snapshot.get(reportName, snapshotName); - console.log(result); -} - -async function main() { - snapshotGet(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/snapshotListSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/snapshotListSample.ts deleted file mode 100644 index aead6cd8070f..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/snapshotListSample.ts +++ /dev/null @@ -1,51 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - SnapshotListOptionalParams, - AppComplianceAutomationToolForMicrosoft365, -} from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Get the AppComplianceAutomation snapshot list. - * - * @summary Get the AppComplianceAutomation snapshot list. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_List.json - */ -async function snapshotList() { - const skipToken = "1"; - const top = 100; - const offerGuid = "00000000-0000-0000-0000-000000000001"; - const reportCreatorTenantId = "00000000-0000-0000-0000-000000000000"; - const reportName = "testReportName"; - const options: SnapshotListOptionalParams = { - skipToken, - top, - offerGuid, - reportCreatorTenantId, - }; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const resArray = new Array(); - for await (let item of client.snapshot.list(reportName, options)) { - resArray.push(item); - } - console.log(resArray); -} - -async function main() { - snapshotList(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/webhookCreateOrUpdateSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/webhookCreateOrUpdateSample.ts deleted file mode 100644 index 4b244ff95861..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/webhookCreateOrUpdateSample.ts +++ /dev/null @@ -1,51 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Create a new AppComplianceAutomation webhook or update an exiting AppComplianceAutomation webhook. - * - * @summary Create a new AppComplianceAutomation webhook or update an exiting AppComplianceAutomation webhook. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_CreateOrUpdate.json - */ -async function webhookCreateOrUpdate() { - const reportName = "testReportName"; - const webhookName = "testWebhookName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.webhook.createOrUpdate(reportName, webhookName, - { - "properties": { - "contentType": "application/json", - "enableSslVerification": "true", - "events": [ - "generate_snapshot_failed" - ], - "payloadUrl": "https://example.com", - "sendAllEvents": "false", - "status": "Enabled", - "updateWebhookKey": "true", - "webhookKey": "00000000-0000-0000-0000-000000000000" - } - } - ); - console.log(result); -} - -async function main() { - webhookCreateOrUpdate(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/webhookDeleteSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/webhookDeleteSample.ts deleted file mode 100644 index 8ee74e288ed8..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/webhookDeleteSample.ts +++ /dev/null @@ -1,36 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Delete an AppComplianceAutomation webhook. - * - * @summary Delete an AppComplianceAutomation webhook. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_Delete.json - */ -async function webhookDelete() { - const reportName = "testReportName"; - const webhookName = "testWebhookName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.webhook.delete(reportName, webhookName); - console.log(result); -} - -async function main() { - webhookDelete(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/webhookGetSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/webhookGetSample.ts deleted file mode 100644 index 8120f301e857..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/webhookGetSample.ts +++ /dev/null @@ -1,36 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Get the AppComplianceAutomation webhook and its properties. - * - * @summary Get the AppComplianceAutomation webhook and its properties. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_Get.json - */ -async function webhookGet() { - const reportName = "testReportName"; - const webhookName = "testWebhookName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.webhook.get(reportName, webhookName); - console.log(result); -} - -async function main() { - webhookGet(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/webhookListSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/webhookListSample.ts deleted file mode 100644 index bcda540f859e..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/webhookListSample.ts +++ /dev/null @@ -1,44 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - WebhookListOptionalParams, - AppComplianceAutomationToolForMicrosoft365, -} from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Get the AppComplianceAutomation webhook list. - * - * @summary Get the AppComplianceAutomation webhook list. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_List.json - */ -async function webhookList() { - const skipToken = "1"; - const top = 100; - const reportName = "testReportName"; - const options: WebhookListOptionalParams = { skipToken, top }; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const resArray = new Array(); - for await (let item of client.webhook.list(reportName, options)) { - resArray.push(item); - } - console.log(resArray); -} - -async function main() { - webhookList(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/webhookUpdateSample.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/webhookUpdateSample.ts deleted file mode 100644 index d6a808f2f69e..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/src/webhookUpdateSample.ts +++ /dev/null @@ -1,51 +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. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AppComplianceAutomationToolForMicrosoft365 } from "@azure/arm-appcomplianceautomation"; -import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); - -/** - * This sample demonstrates how to Update an exiting AppComplianceAutomation webhook. - * - * @summary Update an exiting AppComplianceAutomation webhook. - * x-ms-original-file: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_Update.json - */ -async function webhookUpdate() { - const reportName = "testReportName"; - const webhookName = "testWebhookName"; - const credential = new DefaultAzureCredential(); - const client = new AppComplianceAutomationToolForMicrosoft365(credential); - const result = await client.webhook.update(reportName, webhookName, - { - "properties": { - "contentType": "application/json", - "enableSslVerification": "true", - "events": [ - "generate_snapshot_failed" - ], - "payloadUrl": "https://example.com", - "sendAllEvents": "false", - "status": "Enabled", - "updateWebhookKey": "true", - "webhookKey": "00000000-0000-0000-0000-000000000000" - } - } - ); - console.log(result); -} - -async function main() { - webhookUpdate(); -} - -main().catch(console.error); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/tsconfig.json b/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/tsconfig.json deleted file mode 100644 index 984eed535aa8..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/samples/v1/typescript/tsconfig.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "compilerOptions": { - "target": "ES2020", - "module": "commonjs", - "moduleResolution": "node", - "resolveJsonModule": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "strict": true, - "alwaysStrict": true, - "outDir": "dist", - "rootDir": "src" - }, - "include": [ - "src/**/*.ts" - ] -} diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/appComplianceAutomationClient.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/appComplianceAutomationClient.ts new file mode 100644 index 000000000000..bdbc447c843a --- /dev/null +++ b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/appComplianceAutomationClient.ts @@ -0,0 +1,69 @@ +// 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 { AppComplianceAutomationClient } from "./clientDefinitions.js"; + +/** The optional parameters for the client */ +export interface AppComplianceAutomationClientOptions extends ClientOptions { + /** The api version option of the client */ + apiVersion?: string; +} + +/** + * Initialize a new instance of `AppComplianceAutomationClient` + * @param credentials - uniquely identify client credential + * @param options - the parameter for all optional parameters + */ +export default function createClient( + credentials: TokenCredential, + { + apiVersion = "2024-06-27", + ...options + }: AppComplianceAutomationClientOptions = {}, +): AppComplianceAutomationClient { + const endpointUrl = + options.endpoint ?? options.baseUrl ?? `https://management.azure.com`; + const userAgentInfo = `azsdk-js-arm-appcomplianceautomation-rest/1.0.0-beta.1`; + 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 AppComplianceAutomationClient; + + 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/appcomplianceautomation/arm-appcomplianceautomation/src/appComplianceAutomationToolForMicrosoft365.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/appComplianceAutomationToolForMicrosoft365.ts deleted file mode 100644 index c47febcb6ace..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/appComplianceAutomationToolForMicrosoft365.ts +++ /dev/null @@ -1,161 +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 * 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 { - ProviderActionsImpl, - OperationsImpl, - ReportImpl, - EvidenceImpl, - ScopingConfigurationImpl, - SnapshotImpl, - WebhookImpl, -} from "./operations"; -import { - ProviderActions, - Operations, - Report, - Evidence, - ScopingConfiguration, - Snapshot, - Webhook, -} from "./operationsInterfaces"; -import { AppComplianceAutomationToolForMicrosoft365OptionalParams } from "./models"; - -export class AppComplianceAutomationToolForMicrosoft365 extends coreClient.ServiceClient { - $host: string; - apiVersion: string; - - /** - * Initializes a new instance of the AppComplianceAutomationToolForMicrosoft365 class. - * @param credentials Subscription credentials which uniquely identify client subscription. - * @param options The parameter options - */ - constructor( - credentials: coreAuth.TokenCredential, - options?: AppComplianceAutomationToolForMicrosoft365OptionalParams, - ) { - if (credentials === undefined) { - throw new Error("'credentials' cannot be null"); - } - - // Initializing default values for options - if (!options) { - options = {}; - } - const defaults: AppComplianceAutomationToolForMicrosoft365OptionalParams = { - requestContentType: "application/json; charset=utf-8", - credential: credentials, - }; - - const packageDetails = `azsdk-js-arm-appcomplianceautomation/1.0.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, - }, - }), - ); - } - - // Assigning values to Constant parameters - this.$host = options.$host || "https://management.azure.com"; - this.apiVersion = options.apiVersion || "2024-06-27"; - this.providerActions = new ProviderActionsImpl(this); - this.operations = new OperationsImpl(this); - this.report = new ReportImpl(this); - this.evidence = new EvidenceImpl(this); - this.scopingConfiguration = new ScopingConfigurationImpl(this); - this.snapshot = new SnapshotImpl(this); - this.webhook = new WebhookImpl(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); - } - - providerActions: ProviderActions; - operations: Operations; - report: Report; - evidence: Evidence; - scopingConfiguration: ScopingConfiguration; - snapshot: Snapshot; - webhook: Webhook; -} diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/clientDefinitions.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/clientDefinitions.ts new file mode 100644 index 000000000000..ec98042b518f --- /dev/null +++ b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/clientDefinitions.ts @@ -0,0 +1,543 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { + ReportGetParameters, + ReportCreateOrUpdateParameters, + ReportUpdateParameters, + ReportDeleteParameters, + ReportListParameters, + ReportSyncCertRecordParameters, + ReportCheckNameAvailabilityParameters, + ReportFixParameters, + ReportGetScopingQuestionsParameters, + ReportVerifyParameters, + WebhookGetParameters, + WebhookCreateOrUpdateParameters, + WebhookUpdateParameters, + WebhookDeleteParameters, + WebhookListParameters, + SnapshotGetParameters, + SnapshotListParameters, + SnapshotDownloadParameters, + ScopingConfigurationGetParameters, + ScopingConfigurationCreateOrUpdateParameters, + ScopingConfigurationDeleteParameters, + ScopingConfigurationListParameters, + EvidenceGetParameters, + EvidenceCreateOrUpdateParameters, + EvidenceDeleteParameters, + EvidenceListByReportParameters, + EvidenceDownloadParameters, + OperationsListParameters, + ProviderActionsCheckNameAvailabilityParameters, + ProviderActionsGetCollectionCountParameters, + ProviderActionsGetOverviewStatusParameters, + ProviderActionsOnboardParameters, + ProviderActionsTriggerEvaluationParameters, + ProviderActionsListInUseStorageAccountsParameters, +} from "./parameters.js"; +import { + ReportGet200Response, + ReportGetDefaultResponse, + ReportCreateOrUpdate200Response, + ReportCreateOrUpdate201Response, + ReportCreateOrUpdateDefaultResponse, + ReportUpdate200Response, + ReportUpdate202Response, + ReportUpdateDefaultResponse, + ReportDelete202Response, + ReportDelete204Response, + ReportDeleteDefaultResponse, + ReportList200Response, + ReportListDefaultResponse, + ReportSyncCertRecord200Response, + ReportSyncCertRecord202Response, + ReportSyncCertRecordDefaultResponse, + ReportCheckNameAvailability200Response, + ReportCheckNameAvailabilityDefaultResponse, + ReportFix200Response, + ReportFix202Response, + ReportFixDefaultResponse, + ReportGetScopingQuestions200Response, + ReportGetScopingQuestionsDefaultResponse, + ReportVerify200Response, + ReportVerify202Response, + ReportVerifyDefaultResponse, + WebhookGet200Response, + WebhookGetDefaultResponse, + WebhookCreateOrUpdate200Response, + WebhookCreateOrUpdate201Response, + WebhookCreateOrUpdateDefaultResponse, + WebhookUpdate200Response, + WebhookUpdateDefaultResponse, + WebhookDelete200Response, + WebhookDelete204Response, + WebhookDeleteDefaultResponse, + WebhookList200Response, + WebhookListDefaultResponse, + SnapshotGet200Response, + SnapshotGetDefaultResponse, + SnapshotList200Response, + SnapshotListDefaultResponse, + SnapshotDownload200Response, + SnapshotDownload202Response, + SnapshotDownloadDefaultResponse, + ScopingConfigurationGet200Response, + ScopingConfigurationGetDefaultResponse, + ScopingConfigurationCreateOrUpdate200Response, + ScopingConfigurationCreateOrUpdate201Response, + ScopingConfigurationCreateOrUpdateDefaultResponse, + ScopingConfigurationDelete200Response, + ScopingConfigurationDelete204Response, + ScopingConfigurationDeleteDefaultResponse, + ScopingConfigurationList200Response, + ScopingConfigurationListDefaultResponse, + EvidenceGet200Response, + EvidenceGetDefaultResponse, + EvidenceCreateOrUpdate200Response, + EvidenceCreateOrUpdate201Response, + EvidenceCreateOrUpdateDefaultResponse, + EvidenceDelete200Response, + EvidenceDelete204Response, + EvidenceDeleteDefaultResponse, + EvidenceListByReport200Response, + EvidenceListByReportDefaultResponse, + EvidenceDownload200Response, + EvidenceDownloadDefaultResponse, + OperationsList200Response, + OperationsListDefaultResponse, + ProviderActionsCheckNameAvailability200Response, + ProviderActionsCheckNameAvailabilityDefaultResponse, + ProviderActionsGetCollectionCount200Response, + ProviderActionsGetCollectionCountDefaultResponse, + ProviderActionsGetOverviewStatus200Response, + ProviderActionsGetOverviewStatusDefaultResponse, + ProviderActionsOnboard200Response, + ProviderActionsOnboard202Response, + ProviderActionsOnboardDefaultResponse, + ProviderActionsTriggerEvaluation200Response, + ProviderActionsTriggerEvaluation202Response, + ProviderActionsTriggerEvaluationDefaultResponse, + ProviderActionsListInUseStorageAccounts200Response, + ProviderActionsListInUseStorageAccountsDefaultResponse, +} from "./responses.js"; +import { Client, StreamableMethod } from "@azure-rest/core-client"; + +export interface ReportGet { + /** Get the AppComplianceAutomation report and its properties. */ + get( + options?: ReportGetParameters, + ): StreamableMethod; + /** Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report. */ + put( + options: ReportCreateOrUpdateParameters, + ): StreamableMethod< + | ReportCreateOrUpdate200Response + | ReportCreateOrUpdate201Response + | ReportCreateOrUpdateDefaultResponse + >; + /** Update an exiting AppComplianceAutomation report. */ + patch( + options: ReportUpdateParameters, + ): StreamableMethod< + | ReportUpdate200Response + | ReportUpdate202Response + | ReportUpdateDefaultResponse + >; + /** Delete an AppComplianceAutomation report. */ + delete( + options?: ReportDeleteParameters, + ): StreamableMethod< + | ReportDelete202Response + | ReportDelete204Response + | ReportDeleteDefaultResponse + >; +} + +export interface ReportList { + /** Get the AppComplianceAutomation report list for the tenant. */ + get( + options?: ReportListParameters, + ): StreamableMethod; +} + +export interface ReportSyncCertRecord { + /** Synchronize attestation record from app compliance. */ + post( + options: ReportSyncCertRecordParameters, + ): StreamableMethod< + | ReportSyncCertRecord200Response + | ReportSyncCertRecord202Response + | ReportSyncCertRecordDefaultResponse + >; +} + +export interface ReportCheckNameAvailability { + /** Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots. */ + post( + options: ReportCheckNameAvailabilityParameters, + ): StreamableMethod< + | ReportCheckNameAvailability200Response + | ReportCheckNameAvailabilityDefaultResponse + >; +} + +export interface ReportFix { + /** Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service unregistered, automation removed. */ + post( + options: ReportFixParameters, + ): StreamableMethod< + ReportFix200Response | ReportFix202Response | ReportFixDefaultResponse + >; +} + +export interface ReportGetScopingQuestions { + /** Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service unregistered, automation removed. */ + post( + options: ReportGetScopingQuestionsParameters, + ): StreamableMethod< + | ReportGetScopingQuestions200Response + | ReportGetScopingQuestionsDefaultResponse + >; +} + +export interface ReportVerify { + /** Verify the AppComplianceAutomation report health status. */ + post( + options: ReportVerifyParameters, + ): StreamableMethod< + | ReportVerify200Response + | ReportVerify202Response + | ReportVerifyDefaultResponse + >; +} + +export interface WebhookGet { + /** Get the AppComplianceAutomation webhook and its properties. */ + get( + options?: WebhookGetParameters, + ): StreamableMethod; + /** Create a new AppComplianceAutomation webhook or update an exiting AppComplianceAutomation webhook. */ + put( + options: WebhookCreateOrUpdateParameters, + ): StreamableMethod< + | WebhookCreateOrUpdate200Response + | WebhookCreateOrUpdate201Response + | WebhookCreateOrUpdateDefaultResponse + >; + /** Update an exiting AppComplianceAutomation webhook. */ + patch( + options: WebhookUpdateParameters, + ): StreamableMethod; + /** Delete an AppComplianceAutomation webhook. */ + delete( + options?: WebhookDeleteParameters, + ): StreamableMethod< + | WebhookDelete200Response + | WebhookDelete204Response + | WebhookDeleteDefaultResponse + >; +} + +export interface WebhookList { + /** Get the AppComplianceAutomation webhook list. */ + get( + options?: WebhookListParameters, + ): StreamableMethod; +} + +export interface SnapshotGet { + /** Get the AppComplianceAutomation snapshot and its properties. */ + get( + options?: SnapshotGetParameters, + ): StreamableMethod; +} + +export interface SnapshotList { + /** Get the AppComplianceAutomation snapshot list. */ + get( + options?: SnapshotListParameters, + ): StreamableMethod; +} + +export interface SnapshotDownload { + /** Download compliance needs from snapshot, like: Compliance Report, Resource List. */ + post( + options: SnapshotDownloadParameters, + ): StreamableMethod< + | SnapshotDownload200Response + | SnapshotDownload202Response + | SnapshotDownloadDefaultResponse + >; +} + +export interface ScopingConfigurationGet { + /** Get the AppComplianceAutomation scoping configuration of the specific report. */ + get( + options?: ScopingConfigurationGetParameters, + ): StreamableMethod< + ScopingConfigurationGet200Response | ScopingConfigurationGetDefaultResponse + >; + /** Get the AppComplianceAutomation scoping configuration of the specific report. */ + put( + options: ScopingConfigurationCreateOrUpdateParameters, + ): StreamableMethod< + | ScopingConfigurationCreateOrUpdate200Response + | ScopingConfigurationCreateOrUpdate201Response + | ScopingConfigurationCreateOrUpdateDefaultResponse + >; + /** Clean the AppComplianceAutomation scoping configuration of the specific report. */ + delete( + options?: ScopingConfigurationDeleteParameters, + ): StreamableMethod< + | ScopingConfigurationDelete200Response + | ScopingConfigurationDelete204Response + | ScopingConfigurationDeleteDefaultResponse + >; +} + +export interface ScopingConfigurationList { + /** Returns a list format of the singleton scopingConfiguration for a specified report. */ + get( + options?: ScopingConfigurationListParameters, + ): StreamableMethod< + | ScopingConfigurationList200Response + | ScopingConfigurationListDefaultResponse + >; +} + +export interface EvidenceGet { + /** Get the evidence metadata */ + get( + options?: EvidenceGetParameters, + ): StreamableMethod; + /** Create or Update an evidence a specified report */ + put( + options: EvidenceCreateOrUpdateParameters, + ): StreamableMethod< + | EvidenceCreateOrUpdate200Response + | EvidenceCreateOrUpdate201Response + | EvidenceCreateOrUpdateDefaultResponse + >; + /** Delete an existent evidence from a specified report */ + delete( + options?: EvidenceDeleteParameters, + ): StreamableMethod< + | EvidenceDelete200Response + | EvidenceDelete204Response + | EvidenceDeleteDefaultResponse + >; +} + +export interface EvidenceListByReport { + /** Returns a paginated list of evidences for a specified report. */ + get( + options?: EvidenceListByReportParameters, + ): StreamableMethod< + EvidenceListByReport200Response | EvidenceListByReportDefaultResponse + >; +} + +export interface EvidenceDownload { + /** Download evidence file. */ + post( + options: EvidenceDownloadParameters, + ): StreamableMethod< + EvidenceDownload200Response | EvidenceDownloadDefaultResponse + >; +} + +export interface OperationsList { + /** List the operations for the provider */ + get( + options?: OperationsListParameters, + ): StreamableMethod< + OperationsList200Response | OperationsListDefaultResponse + >; +} + +export interface ProviderActionsCheckNameAvailability { + /** Check if the given name is available for a report. */ + post( + options: ProviderActionsCheckNameAvailabilityParameters, + ): StreamableMethod< + | ProviderActionsCheckNameAvailability200Response + | ProviderActionsCheckNameAvailabilityDefaultResponse + >; +} + +export interface ProviderActionsGetCollectionCount { + /** Get the count of reports. */ + post( + options: ProviderActionsGetCollectionCountParameters, + ): StreamableMethod< + | ProviderActionsGetCollectionCount200Response + | ProviderActionsGetCollectionCountDefaultResponse + >; +} + +export interface ProviderActionsGetOverviewStatus { + /** Get the resource overview status. */ + post( + options: ProviderActionsGetOverviewStatusParameters, + ): StreamableMethod< + | ProviderActionsGetOverviewStatus200Response + | ProviderActionsGetOverviewStatusDefaultResponse + >; +} + +export interface ProviderActionsOnboard { + /** Onboard given subscriptions to Microsoft.AppComplianceAutomation provider. */ + post( + options: ProviderActionsOnboardParameters, + ): StreamableMethod< + | ProviderActionsOnboard200Response + | ProviderActionsOnboard202Response + | ProviderActionsOnboardDefaultResponse + >; +} + +export interface ProviderActionsTriggerEvaluation { + /** Trigger quick evaluation for the given subscriptions. */ + post( + options: ProviderActionsTriggerEvaluationParameters, + ): StreamableMethod< + | ProviderActionsTriggerEvaluation200Response + | ProviderActionsTriggerEvaluation202Response + | ProviderActionsTriggerEvaluationDefaultResponse + >; +} + +export interface ProviderActionsListInUseStorageAccounts { + /** List the storage accounts which are in use by related reports */ + post( + options: ProviderActionsListInUseStorageAccountsParameters, + ): StreamableMethod< + | ProviderActionsListInUseStorageAccounts200Response + | ProviderActionsListInUseStorageAccountsDefaultResponse + >; +} + +export interface Routes { + /** Resource for '/providers/Microsoft.AppComplianceAutomation/reports/\{reportName\}' has methods for the following verbs: get, put, patch, delete */ + ( + path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}", + reportName: string, + ): ReportGet; + /** Resource for '/providers/Microsoft.AppComplianceAutomation/reports' has methods for the following verbs: get */ + (path: "/providers/Microsoft.AppComplianceAutomation/reports"): ReportList; + /** Resource for '/providers/Microsoft.AppComplianceAutomation/reports/\{reportName\}/syncCertRecord' has methods for the following verbs: post */ + ( + path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/syncCertRecord", + reportName: string, + ): ReportSyncCertRecord; + /** Resource for '/providers/Microsoft.AppComplianceAutomation/reports/\{reportName\}/checkNameAvailability' has methods for the following verbs: post */ + ( + path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/checkNameAvailability", + reportName: string, + ): ReportCheckNameAvailability; + /** Resource for '/providers/Microsoft.AppComplianceAutomation/reports/\{reportName\}/fix' has methods for the following verbs: post */ + ( + path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/fix", + reportName: string, + ): ReportFix; + /** Resource for '/providers/Microsoft.AppComplianceAutomation/reports/\{reportName\}/getScopingQuestions' has methods for the following verbs: post */ + ( + path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/getScopingQuestions", + reportName: string, + ): ReportGetScopingQuestions; + /** Resource for '/providers/Microsoft.AppComplianceAutomation/reports/\{reportName\}/verify' has methods for the following verbs: post */ + ( + path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/verify", + reportName: string, + ): ReportVerify; + /** Resource for '/providers/Microsoft.AppComplianceAutomation/reports/\{reportName\}/webhooks/\{webhookName\}' has methods for the following verbs: get, put, patch, delete */ + ( + path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks/{webhookName}", + reportName: string, + webhookName: string, + ): WebhookGet; + /** Resource for '/providers/Microsoft.AppComplianceAutomation/reports/\{reportName\}/webhooks' has methods for the following verbs: get */ + ( + path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks", + reportName: string, + ): WebhookList; + /** Resource for '/providers/Microsoft.AppComplianceAutomation/reports/\{reportName\}/snapshots/\{snapshotName\}' has methods for the following verbs: get */ + ( + path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/snapshots/{snapshotName}", + reportName: string, + snapshotName: string, + ): SnapshotGet; + /** Resource for '/providers/Microsoft.AppComplianceAutomation/reports/\{reportName\}/snapshots' has methods for the following verbs: get */ + ( + path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/snapshots", + reportName: string, + ): SnapshotList; + /** Resource for '/providers/Microsoft.AppComplianceAutomation/reports/\{reportName\}/snapshots/\{snapshotName\}/download' has methods for the following verbs: post */ + ( + path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/snapshots/{snapshotName}/download", + reportName: string, + snapshotName: string, + ): SnapshotDownload; + /** Resource for '/providers/Microsoft.AppComplianceAutomation/reports/\{reportName\}/scopingConfigurations/\{scopingConfigurationName\}' has methods for the following verbs: get, put, delete */ + ( + path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/scopingConfigurations/{scopingConfigurationName}", + reportName: string, + scopingConfigurationName: string, + ): ScopingConfigurationGet; + /** Resource for '/providers/Microsoft.AppComplianceAutomation/reports/\{reportName\}/scopingConfigurations' has methods for the following verbs: get */ + ( + path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/scopingConfigurations", + reportName: string, + ): ScopingConfigurationList; + /** Resource for '/providers/Microsoft.AppComplianceAutomation/reports/\{reportName\}/evidences/\{evidenceName\}' has methods for the following verbs: get, put, delete */ + ( + path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences/{evidenceName}", + reportName: string, + evidenceName: string, + ): EvidenceGet; + /** Resource for '/providers/Microsoft.AppComplianceAutomation/reports/\{reportName\}/evidences' has methods for the following verbs: get */ + ( + path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences", + reportName: string, + ): EvidenceListByReport; + /** Resource for '/providers/Microsoft.AppComplianceAutomation/reports/\{reportName\}/evidences/\{evidenceName\}/download' has methods for the following verbs: post */ + ( + path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences/{evidenceName}/download", + reportName: string, + evidenceName: string, + ): EvidenceDownload; + /** Resource for '/providers/Microsoft.AppComplianceAutomation/operations' has methods for the following verbs: get */ + ( + path: "/providers/Microsoft.AppComplianceAutomation/operations", + ): OperationsList; + /** Resource for '/providers/Microsoft.AppComplianceAutomation/checkNameAvailability' has methods for the following verbs: post */ + ( + path: "/providers/Microsoft.AppComplianceAutomation/checkNameAvailability", + ): ProviderActionsCheckNameAvailability; + /** Resource for '/providers/Microsoft.AppComplianceAutomation/getCollectionCount' has methods for the following verbs: post */ + ( + path: "/providers/Microsoft.AppComplianceAutomation/getCollectionCount", + ): ProviderActionsGetCollectionCount; + /** Resource for '/providers/Microsoft.AppComplianceAutomation/getOverviewStatus' has methods for the following verbs: post */ + ( + path: "/providers/Microsoft.AppComplianceAutomation/getOverviewStatus", + ): ProviderActionsGetOverviewStatus; + /** Resource for '/providers/Microsoft.AppComplianceAutomation/onboard' has methods for the following verbs: post */ + ( + path: "/providers/Microsoft.AppComplianceAutomation/onboard", + ): ProviderActionsOnboard; + /** Resource for '/providers/Microsoft.AppComplianceAutomation/triggerEvaluation' has methods for the following verbs: post */ + ( + path: "/providers/Microsoft.AppComplianceAutomation/triggerEvaluation", + ): ProviderActionsTriggerEvaluation; + /** Resource for '/providers/Microsoft.AppComplianceAutomation/listInUseStorageAccounts' has methods for the following verbs: post */ + ( + path: "/providers/Microsoft.AppComplianceAutomation/listInUseStorageAccounts", + ): ProviderActionsListInUseStorageAccounts; +} + +export type AppComplianceAutomationClient = Client & { + path: Routes; +}; diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/index.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/index.ts index e6e45b675a92..999833648b57 100644 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/index.ts +++ b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/index.ts @@ -1,13 +1,16 @@ -/* - * 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. -/// -export { getContinuationToken } from "./pagingHelper"; -export * from "./models"; -export { AppComplianceAutomationToolForMicrosoft365 } from "./appComplianceAutomationToolForMicrosoft365"; -export * from "./operationsInterfaces"; +import AppComplianceAutomationClient from "./appComplianceAutomationClient.js"; + +export * from "./appComplianceAutomationClient.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 AppComplianceAutomationClient; diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/isUnexpected.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/isUnexpected.ts new file mode 100644 index 000000000000..b9b5f86a4bd1 --- /dev/null +++ b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/isUnexpected.ts @@ -0,0 +1,578 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { + ReportGet200Response, + ReportGetDefaultResponse, + ReportCreateOrUpdate200Response, + ReportCreateOrUpdate201Response, + ReportCreateOrUpdateLogicalResponse, + ReportCreateOrUpdateDefaultResponse, + ReportUpdate200Response, + ReportUpdate202Response, + ReportUpdateLogicalResponse, + ReportUpdateDefaultResponse, + ReportDelete202Response, + ReportDelete204Response, + ReportDeleteLogicalResponse, + ReportDeleteDefaultResponse, + ReportList200Response, + ReportListDefaultResponse, + ReportSyncCertRecord200Response, + ReportSyncCertRecord202Response, + ReportSyncCertRecordLogicalResponse, + ReportSyncCertRecordDefaultResponse, + ReportCheckNameAvailability200Response, + ReportCheckNameAvailabilityDefaultResponse, + ReportFix200Response, + ReportFix202Response, + ReportFixLogicalResponse, + ReportFixDefaultResponse, + ReportGetScopingQuestions200Response, + ReportGetScopingQuestionsDefaultResponse, + ReportVerify200Response, + ReportVerify202Response, + ReportVerifyLogicalResponse, + ReportVerifyDefaultResponse, + WebhookGet200Response, + WebhookGetDefaultResponse, + WebhookCreateOrUpdate200Response, + WebhookCreateOrUpdate201Response, + WebhookCreateOrUpdateDefaultResponse, + WebhookUpdate200Response, + WebhookUpdateDefaultResponse, + WebhookDelete200Response, + WebhookDelete204Response, + WebhookDeleteDefaultResponse, + WebhookList200Response, + WebhookListDefaultResponse, + SnapshotGet200Response, + SnapshotGetDefaultResponse, + SnapshotList200Response, + SnapshotListDefaultResponse, + SnapshotDownload200Response, + SnapshotDownload202Response, + SnapshotDownloadLogicalResponse, + SnapshotDownloadDefaultResponse, + ScopingConfigurationGet200Response, + ScopingConfigurationGetDefaultResponse, + ScopingConfigurationCreateOrUpdate200Response, + ScopingConfigurationCreateOrUpdate201Response, + ScopingConfigurationCreateOrUpdateDefaultResponse, + ScopingConfigurationDelete200Response, + ScopingConfigurationDelete204Response, + ScopingConfigurationDeleteDefaultResponse, + ScopingConfigurationList200Response, + ScopingConfigurationListDefaultResponse, + EvidenceGet200Response, + EvidenceGetDefaultResponse, + EvidenceCreateOrUpdate200Response, + EvidenceCreateOrUpdate201Response, + EvidenceCreateOrUpdateDefaultResponse, + EvidenceDelete200Response, + EvidenceDelete204Response, + EvidenceDeleteDefaultResponse, + EvidenceListByReport200Response, + EvidenceListByReportDefaultResponse, + EvidenceDownload200Response, + EvidenceDownloadDefaultResponse, + OperationsList200Response, + OperationsListDefaultResponse, + ProviderActionsCheckNameAvailability200Response, + ProviderActionsCheckNameAvailabilityDefaultResponse, + ProviderActionsGetCollectionCount200Response, + ProviderActionsGetCollectionCountDefaultResponse, + ProviderActionsGetOverviewStatus200Response, + ProviderActionsGetOverviewStatusDefaultResponse, + ProviderActionsOnboard200Response, + ProviderActionsOnboard202Response, + ProviderActionsOnboardLogicalResponse, + ProviderActionsOnboardDefaultResponse, + ProviderActionsTriggerEvaluation200Response, + ProviderActionsTriggerEvaluation202Response, + ProviderActionsTriggerEvaluationLogicalResponse, + ProviderActionsTriggerEvaluationDefaultResponse, + ProviderActionsListInUseStorageAccounts200Response, + ProviderActionsListInUseStorageAccountsDefaultResponse, +} from "./responses.js"; + +const responseMap: Record = { + "GET /providers/Microsoft.AppComplianceAutomation/reports/{reportName}": [ + "200", + ], + "PUT /providers/Microsoft.AppComplianceAutomation/reports/{reportName}": [ + "200", + "201", + ], + "PATCH /providers/Microsoft.AppComplianceAutomation/reports/{reportName}": [ + "200", + "202", + ], + "DELETE /providers/Microsoft.AppComplianceAutomation/reports/{reportName}": [ + "202", + "204", + ], + "GET /providers/Microsoft.AppComplianceAutomation/reports": ["200"], + "GET /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/syncCertRecord": + ["200", "202"], + "POST /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/syncCertRecord": + ["200", "202"], + "POST /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/checkNameAvailability": + ["200"], + "GET /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/fix": [ + "200", + "202", + ], + "POST /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/fix": + ["200", "202"], + "POST /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/getScopingQuestions": + ["200"], + "GET /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/verify": + ["200", "202"], + "POST /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/verify": + ["200", "202"], + "GET /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks/{webhookName}": + ["200"], + "PUT /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks/{webhookName}": + ["200", "201"], + "PATCH /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks/{webhookName}": + ["200"], + "DELETE /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks/{webhookName}": + ["200", "204"], + "GET /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks": + ["200"], + "GET /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/snapshots/{snapshotName}": + ["200"], + "GET /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/snapshots": + ["200"], + "GET /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/snapshots/{snapshotName}/download": + ["200", "202"], + "POST /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/snapshots/{snapshotName}/download": + ["200", "202"], + "GET /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/scopingConfigurations/{scopingConfigurationName}": + ["200"], + "PUT /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/scopingConfigurations/{scopingConfigurationName}": + ["200", "201"], + "DELETE /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/scopingConfigurations/{scopingConfigurationName}": + ["200", "204"], + "GET /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/scopingConfigurations": + ["200"], + "GET /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences/{evidenceName}": + ["200"], + "PUT /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences/{evidenceName}": + ["200", "201"], + "DELETE /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences/{evidenceName}": + ["200", "204"], + "GET /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences": + ["200"], + "POST /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences/{evidenceName}/download": + ["200"], + "GET /providers/Microsoft.AppComplianceAutomation/operations": ["200"], + "POST /providers/Microsoft.AppComplianceAutomation/checkNameAvailability": [ + "200", + ], + "POST /providers/Microsoft.AppComplianceAutomation/getCollectionCount": [ + "200", + ], + "POST /providers/Microsoft.AppComplianceAutomation/getOverviewStatus": [ + "200", + ], + "GET /providers/Microsoft.AppComplianceAutomation/onboard": ["200", "202"], + "POST /providers/Microsoft.AppComplianceAutomation/onboard": ["200", "202"], + "GET /providers/Microsoft.AppComplianceAutomation/triggerEvaluation": [ + "200", + "202", + ], + "POST /providers/Microsoft.AppComplianceAutomation/triggerEvaluation": [ + "200", + "202", + ], + "POST /providers/Microsoft.AppComplianceAutomation/listInUseStorageAccounts": + ["200"], +}; + +export function isUnexpected( + response: ReportGet200Response | ReportGetDefaultResponse, +): response is ReportGetDefaultResponse; +export function isUnexpected( + response: + | ReportCreateOrUpdate200Response + | ReportCreateOrUpdate201Response + | ReportCreateOrUpdateLogicalResponse + | ReportCreateOrUpdateDefaultResponse, +): response is ReportCreateOrUpdateDefaultResponse; +export function isUnexpected( + response: + | ReportUpdate200Response + | ReportUpdate202Response + | ReportUpdateLogicalResponse + | ReportUpdateDefaultResponse, +): response is ReportUpdateDefaultResponse; +export function isUnexpected( + response: + | ReportDelete202Response + | ReportDelete204Response + | ReportDeleteLogicalResponse + | ReportDeleteDefaultResponse, +): response is ReportDeleteDefaultResponse; +export function isUnexpected( + response: ReportList200Response | ReportListDefaultResponse, +): response is ReportListDefaultResponse; +export function isUnexpected( + response: + | ReportSyncCertRecord200Response + | ReportSyncCertRecord202Response + | ReportSyncCertRecordLogicalResponse + | ReportSyncCertRecordDefaultResponse, +): response is ReportSyncCertRecordDefaultResponse; +export function isUnexpected( + response: + | ReportCheckNameAvailability200Response + | ReportCheckNameAvailabilityDefaultResponse, +): response is ReportCheckNameAvailabilityDefaultResponse; +export function isUnexpected( + response: + | ReportFix200Response + | ReportFix202Response + | ReportFixLogicalResponse + | ReportFixDefaultResponse, +): response is ReportFixDefaultResponse; +export function isUnexpected( + response: + | ReportGetScopingQuestions200Response + | ReportGetScopingQuestionsDefaultResponse, +): response is ReportGetScopingQuestionsDefaultResponse; +export function isUnexpected( + response: + | ReportVerify200Response + | ReportVerify202Response + | ReportVerifyLogicalResponse + | ReportVerifyDefaultResponse, +): response is ReportVerifyDefaultResponse; +export function isUnexpected( + response: WebhookGet200Response | WebhookGetDefaultResponse, +): response is WebhookGetDefaultResponse; +export function isUnexpected( + response: + | WebhookCreateOrUpdate200Response + | WebhookCreateOrUpdate201Response + | WebhookCreateOrUpdateDefaultResponse, +): response is WebhookCreateOrUpdateDefaultResponse; +export function isUnexpected( + response: WebhookUpdate200Response | WebhookUpdateDefaultResponse, +): response is WebhookUpdateDefaultResponse; +export function isUnexpected( + response: + | WebhookDelete200Response + | WebhookDelete204Response + | WebhookDeleteDefaultResponse, +): response is WebhookDeleteDefaultResponse; +export function isUnexpected( + response: WebhookList200Response | WebhookListDefaultResponse, +): response is WebhookListDefaultResponse; +export function isUnexpected( + response: SnapshotGet200Response | SnapshotGetDefaultResponse, +): response is SnapshotGetDefaultResponse; +export function isUnexpected( + response: SnapshotList200Response | SnapshotListDefaultResponse, +): response is SnapshotListDefaultResponse; +export function isUnexpected( + response: + | SnapshotDownload200Response + | SnapshotDownload202Response + | SnapshotDownloadLogicalResponse + | SnapshotDownloadDefaultResponse, +): response is SnapshotDownloadDefaultResponse; +export function isUnexpected( + response: + | ScopingConfigurationGet200Response + | ScopingConfigurationGetDefaultResponse, +): response is ScopingConfigurationGetDefaultResponse; +export function isUnexpected( + response: + | ScopingConfigurationCreateOrUpdate200Response + | ScopingConfigurationCreateOrUpdate201Response + | ScopingConfigurationCreateOrUpdateDefaultResponse, +): response is ScopingConfigurationCreateOrUpdateDefaultResponse; +export function isUnexpected( + response: + | ScopingConfigurationDelete200Response + | ScopingConfigurationDelete204Response + | ScopingConfigurationDeleteDefaultResponse, +): response is ScopingConfigurationDeleteDefaultResponse; +export function isUnexpected( + response: + | ScopingConfigurationList200Response + | ScopingConfigurationListDefaultResponse, +): response is ScopingConfigurationListDefaultResponse; +export function isUnexpected( + response: EvidenceGet200Response | EvidenceGetDefaultResponse, +): response is EvidenceGetDefaultResponse; +export function isUnexpected( + response: + | EvidenceCreateOrUpdate200Response + | EvidenceCreateOrUpdate201Response + | EvidenceCreateOrUpdateDefaultResponse, +): response is EvidenceCreateOrUpdateDefaultResponse; +export function isUnexpected( + response: + | EvidenceDelete200Response + | EvidenceDelete204Response + | EvidenceDeleteDefaultResponse, +): response is EvidenceDeleteDefaultResponse; +export function isUnexpected( + response: + | EvidenceListByReport200Response + | EvidenceListByReportDefaultResponse, +): response is EvidenceListByReportDefaultResponse; +export function isUnexpected( + response: EvidenceDownload200Response | EvidenceDownloadDefaultResponse, +): response is EvidenceDownloadDefaultResponse; +export function isUnexpected( + response: OperationsList200Response | OperationsListDefaultResponse, +): response is OperationsListDefaultResponse; +export function isUnexpected( + response: + | ProviderActionsCheckNameAvailability200Response + | ProviderActionsCheckNameAvailabilityDefaultResponse, +): response is ProviderActionsCheckNameAvailabilityDefaultResponse; +export function isUnexpected( + response: + | ProviderActionsGetCollectionCount200Response + | ProviderActionsGetCollectionCountDefaultResponse, +): response is ProviderActionsGetCollectionCountDefaultResponse; +export function isUnexpected( + response: + | ProviderActionsGetOverviewStatus200Response + | ProviderActionsGetOverviewStatusDefaultResponse, +): response is ProviderActionsGetOverviewStatusDefaultResponse; +export function isUnexpected( + response: + | ProviderActionsOnboard200Response + | ProviderActionsOnboard202Response + | ProviderActionsOnboardLogicalResponse + | ProviderActionsOnboardDefaultResponse, +): response is ProviderActionsOnboardDefaultResponse; +export function isUnexpected( + response: + | ProviderActionsTriggerEvaluation200Response + | ProviderActionsTriggerEvaluation202Response + | ProviderActionsTriggerEvaluationLogicalResponse + | ProviderActionsTriggerEvaluationDefaultResponse, +): response is ProviderActionsTriggerEvaluationDefaultResponse; +export function isUnexpected( + response: + | ProviderActionsListInUseStorageAccounts200Response + | ProviderActionsListInUseStorageAccountsDefaultResponse, +): response is ProviderActionsListInUseStorageAccountsDefaultResponse; +export function isUnexpected( + response: + | ReportGet200Response + | ReportGetDefaultResponse + | ReportCreateOrUpdate200Response + | ReportCreateOrUpdate201Response + | ReportCreateOrUpdateLogicalResponse + | ReportCreateOrUpdateDefaultResponse + | ReportUpdate200Response + | ReportUpdate202Response + | ReportUpdateLogicalResponse + | ReportUpdateDefaultResponse + | ReportDelete202Response + | ReportDelete204Response + | ReportDeleteLogicalResponse + | ReportDeleteDefaultResponse + | ReportList200Response + | ReportListDefaultResponse + | ReportSyncCertRecord200Response + | ReportSyncCertRecord202Response + | ReportSyncCertRecordLogicalResponse + | ReportSyncCertRecordDefaultResponse + | ReportCheckNameAvailability200Response + | ReportCheckNameAvailabilityDefaultResponse + | ReportFix200Response + | ReportFix202Response + | ReportFixLogicalResponse + | ReportFixDefaultResponse + | ReportGetScopingQuestions200Response + | ReportGetScopingQuestionsDefaultResponse + | ReportVerify200Response + | ReportVerify202Response + | ReportVerifyLogicalResponse + | ReportVerifyDefaultResponse + | WebhookGet200Response + | WebhookGetDefaultResponse + | WebhookCreateOrUpdate200Response + | WebhookCreateOrUpdate201Response + | WebhookCreateOrUpdateDefaultResponse + | WebhookUpdate200Response + | WebhookUpdateDefaultResponse + | WebhookDelete200Response + | WebhookDelete204Response + | WebhookDeleteDefaultResponse + | WebhookList200Response + | WebhookListDefaultResponse + | SnapshotGet200Response + | SnapshotGetDefaultResponse + | SnapshotList200Response + | SnapshotListDefaultResponse + | SnapshotDownload200Response + | SnapshotDownload202Response + | SnapshotDownloadLogicalResponse + | SnapshotDownloadDefaultResponse + | ScopingConfigurationGet200Response + | ScopingConfigurationGetDefaultResponse + | ScopingConfigurationCreateOrUpdate200Response + | ScopingConfigurationCreateOrUpdate201Response + | ScopingConfigurationCreateOrUpdateDefaultResponse + | ScopingConfigurationDelete200Response + | ScopingConfigurationDelete204Response + | ScopingConfigurationDeleteDefaultResponse + | ScopingConfigurationList200Response + | ScopingConfigurationListDefaultResponse + | EvidenceGet200Response + | EvidenceGetDefaultResponse + | EvidenceCreateOrUpdate200Response + | EvidenceCreateOrUpdate201Response + | EvidenceCreateOrUpdateDefaultResponse + | EvidenceDelete200Response + | EvidenceDelete204Response + | EvidenceDeleteDefaultResponse + | EvidenceListByReport200Response + | EvidenceListByReportDefaultResponse + | EvidenceDownload200Response + | EvidenceDownloadDefaultResponse + | OperationsList200Response + | OperationsListDefaultResponse + | ProviderActionsCheckNameAvailability200Response + | ProviderActionsCheckNameAvailabilityDefaultResponse + | ProviderActionsGetCollectionCount200Response + | ProviderActionsGetCollectionCountDefaultResponse + | ProviderActionsGetOverviewStatus200Response + | ProviderActionsGetOverviewStatusDefaultResponse + | ProviderActionsOnboard200Response + | ProviderActionsOnboard202Response + | ProviderActionsOnboardLogicalResponse + | ProviderActionsOnboardDefaultResponse + | ProviderActionsTriggerEvaluation200Response + | ProviderActionsTriggerEvaluation202Response + | ProviderActionsTriggerEvaluationLogicalResponse + | ProviderActionsTriggerEvaluationDefaultResponse + | ProviderActionsListInUseStorageAccounts200Response + | ProviderActionsListInUseStorageAccountsDefaultResponse, +): response is + | ReportGetDefaultResponse + | ReportCreateOrUpdateDefaultResponse + | ReportUpdateDefaultResponse + | ReportDeleteDefaultResponse + | ReportListDefaultResponse + | ReportSyncCertRecordDefaultResponse + | ReportCheckNameAvailabilityDefaultResponse + | ReportFixDefaultResponse + | ReportGetScopingQuestionsDefaultResponse + | ReportVerifyDefaultResponse + | WebhookGetDefaultResponse + | WebhookCreateOrUpdateDefaultResponse + | WebhookUpdateDefaultResponse + | WebhookDeleteDefaultResponse + | WebhookListDefaultResponse + | SnapshotGetDefaultResponse + | SnapshotListDefaultResponse + | SnapshotDownloadDefaultResponse + | ScopingConfigurationGetDefaultResponse + | ScopingConfigurationCreateOrUpdateDefaultResponse + | ScopingConfigurationDeleteDefaultResponse + | ScopingConfigurationListDefaultResponse + | EvidenceGetDefaultResponse + | EvidenceCreateOrUpdateDefaultResponse + | EvidenceDeleteDefaultResponse + | EvidenceListByReportDefaultResponse + | EvidenceDownloadDefaultResponse + | OperationsListDefaultResponse + | ProviderActionsCheckNameAvailabilityDefaultResponse + | ProviderActionsGetCollectionCountDefaultResponse + | ProviderActionsGetOverviewStatusDefaultResponse + | ProviderActionsOnboardDefaultResponse + | ProviderActionsTriggerEvaluationDefaultResponse + | ProviderActionsListInUseStorageAccountsDefaultResponse { + 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/appcomplianceautomation/arm-appcomplianceautomation/src/logger.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/logger.ts new file mode 100644 index 000000000000..9c922e5523d0 --- /dev/null +++ b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/logger.ts @@ -0,0 +1,5 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { createClientLogger } from "@azure/logger"; +export const logger = createClientLogger("arm-appcomplianceautomation"); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/lroImpl.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/lroImpl.ts deleted file mode 100644 index b27f5ac7209b..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/lroImpl.ts +++ /dev/null @@ -1,42 +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. - */ - -// 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/appcomplianceautomation/arm-appcomplianceautomation/src/models.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/models.ts new file mode 100644 index 000000000000..e9a486089e98 --- /dev/null +++ b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/models.ts @@ -0,0 +1,508 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +/** A class represent an AppComplianceAutomation report resource. */ +export interface ReportResource extends ProxyResource { + /** Report property. */ + properties: ReportProperties; +} + +/** Create Report's properties. */ +export interface ReportProperties { + /** Report collection trigger time. */ + triggerTime: Date | string; + /** + * Report collection trigger time's time zone, the available list can be obtained by executing "Get-TimeZone -ListAvailable" in PowerShell. + * An example of valid timezone id is "Pacific Standard Time". + */ + timeZone: string; + /** List of resource data. */ + resources: Array; + /** A list of comma-separated offerGuids indicates a series of offerGuids that map to the report. For example, "00000000-0000-0000-0000-000000000001,00000000-0000-0000-0000-000000000002" and "00000000-0000-0000-0000-000000000003". */ + offerGuid?: string; + /** The information of 'bring your own storage' binding to the report */ + storageInfo?: StorageInfo; +} + +/** Single resource Id's metadata. */ +export interface ResourceMetadata { + /** Resource Id - e.g. "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1". */ + resourceId: string; + /** Resource type. e.g. "Microsoft.Compute/virtualMachines" */ + resourceType?: string; + /** Resource kind. */ + resourceKind?: string; + /** + * Resource Origin. + * + * Possible values: "Azure", "AWS", "GCP" + */ + resourceOrigin?: ResourceOrigin; + /** Account Id. For example - the AWS account id. */ + accountId?: string; +} + +/** A list which includes all the compliance result for one report. */ +export interface ReportComplianceStatus {} + +/** The overview of the compliance result for one report. */ +export interface OverviewStatus {} + +/** The information of 'bring your own storage' account binding to the report */ +export interface StorageInfo { + /** The subscription id which 'bring your own storage' account belongs to */ + subscriptionId?: string; + /** The resourceGroup which 'bring your own storage' account belongs to */ + resourceGroup?: string; + /** 'bring your own storage' account name */ + accountName?: string; + /** The region of 'bring your own storage' account */ + location?: string; +} + +/** A class represent the certification record synchronized from app compliance. */ +export interface CertSyncRecord { + /** The offerGuid which mapping to the reports. */ + offerGuid?: string; + /** Indicates the status of certification process. */ + certificationStatus?: string; + /** Indicates the status of compliance process. */ + ingestionStatus?: string; + /** The control records list to be synchronized. */ + controls?: Array; +} + +/** A class represent the control record synchronized from app compliance. */ +export interface ControlSyncRecord { + /** The Id of the control. e.g. "Operational_Security_10" */ + controlId?: string; + /** Control status synchronized from app compliance. */ + controlStatus?: 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 {} + +/** 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 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; +} + +/** Properties of a private link resource. */ +export interface PrivateLinkResourceProperties { + /** The private link resource private link DNS zone name. */ + requiredZoneNames?: string[]; +} + +/** 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; +} + +/** A class represent an AppComplianceAutomation webhook resource. */ +export interface WebhookResource extends ProxyResource { + /** Webhook property. */ + properties: WebhookProperties; +} + +/** Webhook properties. */ +export interface WebhookProperties { + /** + * Webhook status. + * + * Possible values: "Enabled", "Disabled" + */ + status?: WebhookStatus; + /** + * whether to send notification under any event. + * + * Possible values: "true", "false" + */ + sendAllEvents?: SendAllEvents; + /** under which event notification should be sent. */ + events?: NotificationEvent[]; + /** webhook payload url */ + payloadUrl?: string; + /** + * content type + * + * Possible values: "application/json" + */ + contentType?: ContentType; + /** webhook secret token. If not set, this field value is null; otherwise, please set a string value. */ + webhookKey?: string; + /** + * whether to update webhookKey. + * + * Possible values: "true", "false" + */ + updateWebhookKey?: UpdateWebhookKey; + /** + * whether to enable ssl verification + * + * Possible values: "true", "false" + */ + enableSslVerification?: EnableSslVerification; +} + +/** A class represent a AppComplianceAutomation snapshot resource. */ +export interface SnapshotResource extends ProxyResource { + /** Snapshot's property. */ + properties?: SnapshotProperties; +} + +/** Snapshot's properties. */ +export interface SnapshotProperties {} + +/** A class represent the compliance result. */ +export interface ComplianceResult {} + +/** A class represent the compliance category. */ +export interface Category {} + +/** A class represent the control family. */ +export interface ControlFamily {} + +/** A class represent the control. */ +export interface Control {} + +/** A class represent the customer responsibility. */ +export interface Responsibility { + /** The count of all failed resources. */ + failedResourceCount?: number; + /** The count of all resources. */ + totalResourceCount?: number; + /** List of evidence file url. */ + evidenceFiles?: string[]; +} + +/** A class represent the resource. */ +export interface ResponsibilityResource { + /** List of recommendation id. */ + recommendationIds?: string[]; +} + +/** A class represent the recommendation. */ +export interface Recommendation {} + +/** A class represent the recommendation solution. */ +export interface RecommendationSolution {} + +/** A class represent an AppComplianceAutomation scoping configuration resource. */ +export interface ScopingConfigurationResource extends ProxyResource { + /** ScopingConfiguration property. */ + properties: ScopingConfigurationProperties; +} + +/** ScopingConfiguration's properties. */ +export interface ScopingConfigurationProperties { + /** List of scoping question answers. */ + answers?: Array; +} + +/** Scoping answer. */ +export interface ScopingAnswer { + /** Question id. */ + questionId: string; + /** Question answer value list. */ + answers: string[]; +} + +/** A class represent an AppComplianceAutomation evidence resource. */ +export interface EvidenceResource extends ProxyResource { + /** Evidence property. */ + properties: EvidenceProperties; +} + +/** Evidence's properties. */ +export interface EvidenceProperties { + /** + * Evidence type. + * + * Possible values: "File", "AutoCollectedEvidence", "Data" + */ + evidenceType?: EvidenceType; + /** The path of the file in storage. */ + filePath: string; + /** Extra data considered as evidence. */ + extraData?: string; + /** Control id. */ + controlId?: string; + /** Responsibility id. */ + responsibilityId?: string; +} + +/** A class represent a AppComplianceAutomation report resource update properties. */ +export interface ReportResourcePatch { + /** Report property. */ + properties?: ReportPatchProperties; +} + +/** Patch Report's properties. */ +export interface ReportPatchProperties { + /** Report collection trigger time. */ + triggerTime?: Date | string; + /** + * Report collection trigger time's time zone, the available list can be obtained by executing "Get-TimeZone -ListAvailable" in PowerShell. + * An example of valid timezone id is "Pacific Standard Time". + */ + timeZone?: string; + /** List of resource data. */ + resources?: Array; + /** A list of comma-separated offerGuids indicates a series of offerGuids that map to the report. For example, "00000000-0000-0000-0000-000000000001,00000000-0000-0000-0000-000000000002" and "00000000-0000-0000-0000-000000000003". */ + offerGuid?: string; + /** The information of 'bring your own storage' binding to the report */ + storageInfo?: StorageInfo; +} + +/** Synchronize certification record request. */ +export interface SyncCertRecordRequest { + /** certification record to be synchronized. */ + certRecord: CertSyncRecord; +} + +/** 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; +} + +/** A class represent a AppComplianceAutomation webhook resource update properties. */ +export interface WebhookResourcePatch { + /** Webhook property. */ + properties?: WebhookProperties; +} + +/** Snapshot's download request. */ +export interface SnapshotDownloadRequest { + /** Tenant id. */ + reportCreatorTenantId?: string; + /** + * Indicates the download type. + * + * Possible values: "ComplianceReport", "CompliancePdfReport", "ComplianceDetailedPdfReport", "ResourceList" + */ + downloadType: DownloadType; + /** The offerGuid which mapping to the reports. */ + offerGuid?: string; +} + +/** Evidence file's download request. */ +export interface EvidenceFileDownloadRequest { + /** Tenant id. */ + reportCreatorTenantId?: string; + /** The offerGuid which mapping to the reports. */ + offerGuid?: string; +} + +/** Get collection count's request object. */ +export interface GetCollectionCountRequest { + /** The resource type. */ + type?: string; +} + +/** Get overview status request object. */ +export interface GetOverviewStatusRequest { + /** The resource type. */ + type?: string; +} + +/** Parameters for onboard operation */ +export interface OnboardRequest { + /** List of subscription ids to be onboarded */ + subscriptionIds: string[]; +} + +/** Trigger evaluation request. */ +export interface TriggerEvaluationRequest { + /** List of resource ids to be evaluated */ + resourceIds: string[]; +} + +/** Parameters for listing in use storage accounts operation. If subscription list is null, it will check the user's all subscriptions. */ +export interface ListInUseStorageAccountsRequest { + /** List of subscription ids to be query. If the list is null or empty, the API will query all the subscriptions of the user. */ + subscriptionIds?: string[]; +} + +/** Alias for ResourceOrigin */ +export type ResourceOrigin = string; +/** Alias for ReportStatus */ +export type ReportStatus = string; +/** Alias for ProvisioningState */ +export type ProvisioningState = 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"; +/** Alias for PrivateEndpointServiceConnectionStatus */ +export type PrivateEndpointServiceConnectionStatus = string; +/** Alias for PrivateEndpointConnectionProvisioningState */ +export type PrivateEndpointConnectionProvisioningState = string; +/** Alias for WebhookStatus */ +export type WebhookStatus = string; +/** Alias for SendAllEvents */ +export type SendAllEvents = string; +/** Alias for NotificationEvent */ +export type NotificationEvent = string; +/** Alias for ContentType */ +export type ContentType = string; +/** Alias for UpdateWebhookKey */ +export type UpdateWebhookKey = string; +/** Alias for WebhookKeyEnabled */ +export type WebhookKeyEnabled = string; +/** Alias for EnableSslVerification */ +export type EnableSslVerification = string; +/** Alias for DeliveryStatus */ +export type DeliveryStatus = string; +/** Alias for CategoryStatus */ +export type CategoryStatus = string; +/** Alias for ControlFamilyStatus */ +export type ControlFamilyStatus = string; +/** Alias for ControlStatus */ +export type ControlStatus = string; +/** Alias for ResponsibilityType */ +export type ResponsibilityType = string; +/** Alias for ResponsibilitySeverity */ +export type ResponsibilitySeverity = string; +/** Alias for ResponsibilityStatus */ +export type ResponsibilityStatus = string; +/** Alias for ResponsibilityEnvironment */ +export type ResponsibilityEnvironment = string; +/** Alias for ResourceStatus */ +export type ResourceStatus = string; +/** Alias for IsRecommendSolution */ +export type IsRecommendSolution = string; +/** Alias for EvidenceType */ +export type EvidenceType = string; +/** Alias for DownloadType */ +export type DownloadType = string; diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/models/index.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/models/index.ts deleted file mode 100644 index 23439076add3..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/models/index.ts +++ /dev/null @@ -1,2350 +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 * as coreClient from "@azure/core-client"; - -/** 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; -} - -/** 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; -} - -/** Get collection count's request object. */ -export interface GetCollectionCountRequest { - /** The resource type. */ - type?: string; -} - -/** The get collection count response. */ -export interface GetCollectionCountResponse { - /** The count of the specified resource. */ - count?: number; -} - -/** Get overview status request object. */ -export interface GetOverviewStatusRequest { - /** The resource type. */ - type?: string; -} - -/** The get overview status response. */ -export interface GetOverviewStatusResponse { - /** List of different status items. */ - statusList?: StatusItem[]; -} - -/** Single status. */ -export interface StatusItem { - /** Status name - e.g. "Active", "Failed". */ - statusName?: string; - /** Status value. e.g. "100", or "100%". */ - statusValue?: string; -} - -/** Parameters for listing in use storage accounts operation. If subscription list is null, it will check the user's all subscriptions. */ -export interface ListInUseStorageAccountsRequest { - /** List of subscription ids to be query. If the list is null or empty, the API will query all the subscriptions of the user. */ - subscriptionIds?: string[]; -} - -/** Parameters for listing in use storage accounts operation. If subscription list is null, it will check the user's all subscriptions. */ -export interface ListInUseStorageAccountsResponse { - /** The storage account list which in use in related reports. */ - storageAccountList?: StorageInfo[]; -} - -/** The information of 'bring your own storage' account binding to the report */ -export interface StorageInfo { - /** The subscription id which 'bring your own storage' account belongs to */ - subscriptionId?: string; - /** The resourceGroup which 'bring your own storage' account belongs to */ - resourceGroup?: string; - /** 'bring your own storage' account name */ - accountName?: string; - /** The region of 'bring your own storage' account */ - location?: string; -} - -/** Parameters for onboard operation */ -export interface OnboardRequest { - /** List of subscription ids to be onboarded */ - subscriptionIds: string[]; -} - -/** Success. The response indicates given subscriptions has been onboarded. */ -export interface OnboardResponse { - /** List of subscription ids that are onboarded */ - subscriptionIds?: 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 { - /** - * 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; -} - -/** The response of a ReportResource list operation. */ -export interface ReportResourceListResult { - /** The ReportResource items on this page */ - value: ReportResource[]; - /** The link to the next page of items */ - nextLink?: string; -} - -/** Create Report's properties. */ -export interface ReportProperties { - /** Report collection trigger time. */ - triggerTime: Date; - /** - * Report collection trigger time's time zone, the available list can be obtained by executing "Get-TimeZone -ListAvailable" in PowerShell. - * An example of valid timezone id is "Pacific Standard Time". - */ - timeZone: string; - /** List of resource data. */ - resources: ResourceMetadata[]; - /** - * Report status. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly status?: ReportStatus; - /** - * List of report error codes. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly errors?: string[]; - /** - * Report's tenant id. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly tenantId?: string; - /** A list of comma-separated offerGuids indicates a series of offerGuids that map to the report. For example, "00000000-0000-0000-0000-000000000001,00000000-0000-0000-0000-000000000002" and "00000000-0000-0000-0000-000000000003". */ - offerGuid?: string; - /** - * Report next collection trigger time. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextTriggerTime?: Date; - /** - * Report last collection trigger time. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly lastTriggerTime?: Date; - /** - * List of subscription Ids. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly subscriptions?: string[]; - /** - * Report compliance status. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly complianceStatus?: ReportComplianceStatus; - /** The information of 'bring your own storage' binding to the report */ - storageInfo?: StorageInfo; - /** - * List of synchronized certification records. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly certRecords?: CertSyncRecord[]; - /** - * Azure lifecycle management - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: ProvisioningState; -} - -/** Single resource Id's metadata. */ -export interface ResourceMetadata { - /** Resource Id - e.g. "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1". */ - resourceId: string; - /** Resource type. e.g. "Microsoft.Compute/virtualMachines" */ - resourceType?: string; - /** Resource kind. */ - resourceKind?: string; - /** Resource Origin. */ - resourceOrigin?: ResourceOrigin; - /** Account Id. For example - the AWS account id. */ - accountId?: string; -} - -/** A list which includes all the compliance result for one report. */ -export interface ReportComplianceStatus { - /** - * The Microsoft 365 certification name. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly m365?: OverviewStatus; -} - -/** The overview of the compliance result for one report. */ -export interface OverviewStatus { - /** - * The count of all passed control. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly passedCount?: number; - /** - * The count of all failed control. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly failedCount?: number; - /** - * The count of all manual control. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly manualCount?: number; - /** - * The count of all not applicable control. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly notApplicableCount?: number; - /** - * The count of all pending for approval control. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly pendingCount?: number; -} - -/** A class represent the certification record synchronized from app compliance. */ -export interface CertSyncRecord { - /** The offerGuid which mapping to the reports. */ - offerGuid?: string; - /** Indicates the status of certification process. */ - certificationStatus?: string; - /** Indicates the status of compliance process. */ - ingestionStatus?: string; - /** The control records list to be synchronized. */ - controls?: ControlSyncRecord[]; -} - -/** A class represent the control record synchronized from app compliance. */ -export interface ControlSyncRecord { - /** The Id of the control. e.g. "Operational_Security_10" */ - controlId?: string; - /** Control status synchronized from app compliance. */ - controlStatus?: 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} - * 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; -} - -/** A class represent a AppComplianceAutomation report resource update properties. */ -export interface ReportResourcePatch { - /** Report property. */ - properties?: ReportPatchProperties; -} - -/** Patch Report's properties. */ -export interface ReportPatchProperties { - /** Report collection trigger time. */ - triggerTime?: Date; - /** - * Report collection trigger time's time zone, the available list can be obtained by executing "Get-TimeZone -ListAvailable" in PowerShell. - * An example of valid timezone id is "Pacific Standard Time". - */ - timeZone?: string; - /** List of resource data. */ - resources?: ResourceMetadata[]; - /** - * Report status. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly status?: ReportStatus; - /** - * List of report error codes. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly errors?: string[]; - /** - * Report's tenant id. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly tenantId?: string; - /** A list of comma-separated offerGuids indicates a series of offerGuids that map to the report. For example, "00000000-0000-0000-0000-000000000001,00000000-0000-0000-0000-000000000002" and "00000000-0000-0000-0000-000000000003". */ - offerGuid?: string; - /** - * Report next collection trigger time. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextTriggerTime?: Date; - /** - * Report last collection trigger time. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly lastTriggerTime?: Date; - /** - * List of subscription Ids. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly subscriptions?: string[]; - /** - * Report compliance status. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly complianceStatus?: ReportComplianceStatus; - /** The information of 'bring your own storage' binding to the report */ - storageInfo?: StorageInfo; - /** - * List of synchronized certification records. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly certRecords?: CertSyncRecord[]; - /** - * Azure lifecycle management - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: ProvisioningState; -} - -/** The response of a EvidenceResource list operation. */ -export interface EvidenceResourceListResult { - /** The EvidenceResource items on this page */ - value: EvidenceResource[]; - /** The link to the next page of items */ - nextLink?: string; -} - -/** Evidence's properties. */ -export interface EvidenceProperties { - /** Evidence type. */ - evidenceType?: EvidenceType; - /** The path of the file in storage. */ - filePath: string; - /** Extra data considered as evidence. */ - extraData?: string; - /** Control id. */ - controlId?: string; - /** Responsibility id. */ - responsibilityId?: string; - /** - * Azure lifecycle management - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: ProvisioningState; -} - -/** Evidence file's download request. */ -export interface EvidenceFileDownloadRequest { - /** Tenant id. */ - reportCreatorTenantId?: string; - /** The offerGuid which mapping to the reports. */ - offerGuid?: string; -} - -/** Object that includes all the possible response for the evidence file download operation. */ -export interface EvidenceFileDownloadResponse { - /** - * The uri of evidence file - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly evidenceFile?: EvidenceFileDownloadResponseEvidenceFile; -} - -/** The uri of evidence file */ -export interface EvidenceFileDownloadResponseEvidenceFile { - /** - * The url of evidence file - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly url?: string; -} - -/** Report fix result. */ -export interface ReportFixResult { - /** - * Indicates whether the fix action is Succeeded or Failed. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly result?: Result; - /** - * If the report fix action failed, to indicate the detailed failed reason. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly reason?: string; -} - -/** Scoping question list. */ -export interface ScopingQuestions { - /** List of scoping questions. */ - questions?: ScopingQuestion[]; -} - -/** The definition of a scoping question. */ -export interface ScopingQuestion { - /** - * Question id. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly questionId: string; - /** - * Superior question id. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly superiorQuestionId?: string; - /** - * Input type of the question answer. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly inputType: InputType; - /** - * Option id list. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly optionIds: string[]; - /** - * The rule of the question. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly rules: Rule[]; - /** - * The answer value to show the sub questions. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly showSubQuestionsValue?: string; -} - -/** The response of a ScopingConfigurationResource list operation. */ -export interface ScopingConfigurationResourceListResult { - /** The ScopingConfigurationResource items on this page */ - value: ScopingConfigurationResource[]; - /** The link to the next page of items */ - nextLink?: string; -} - -/** ScopingConfiguration's properties. */ -export interface ScopingConfigurationProperties { - /** List of scoping question answers. */ - answers?: ScopingAnswer[]; - /** - * Azure lifecycle management - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: ProvisioningState; -} - -/** Scoping answer. */ -export interface ScopingAnswer { - /** Question id. */ - questionId: string; - /** Question answer value list. */ - answers: string[]; -} - -/** The response of a SnapshotResource list operation. */ -export interface SnapshotResourceListResult { - /** The SnapshotResource items on this page */ - value: SnapshotResource[]; - /** The link to the next page of items */ - nextLink?: string; -} - -/** Snapshot's properties. */ -export interface SnapshotProperties { - /** - * Snapshot name. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly snapshotName?: string; - /** - * The timestamp of resource creation (UTC). - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly createdAt?: Date; - /** - * Azure lifecycle management - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: ProvisioningState; - /** - * The report essential info. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly reportProperties?: ReportProperties; - /** - * Metadata pertaining to creation and last modification of the resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly reportSystemData?: SystemData; - /** - * List of compliance results. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly complianceResults?: ComplianceResult[]; -} - -/** A class represent the compliance result. */ -export interface ComplianceResult { - /** - * The name of the compliance. e.g. "M365" - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly complianceName?: string; - /** - * List of categories. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly categories?: Category[]; -} - -/** A class represent the compliance category. */ -export interface Category { - /** - * The name of the compliance category. e.g. "Operational Security" - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly categoryName?: string; - /** - * Category status. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly categoryStatus?: CategoryStatus; - /** - * List of control families. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly controlFamilies?: ControlFamily[]; -} - -/** A class represent the control family. */ -export interface ControlFamily { - /** - * The name of the control family. e.g. "Malware Protection - Anti-Virus" - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly controlFamilyName?: string; - /** - * The control family status - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly controlFamilyStatus?: ControlFamilyStatus; - /** - * List of controls. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly controls?: Control[]; -} - -/** A class represent the control. */ -export interface Control { - /** - * The Id of the control. e.g. "Operational_Security_10" - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly controlId?: string; - /** - * The name of the control. e.g. "Unsupported OS and Software." - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly controlName?: string; - /** - * The full name of the control. e.g. "Validate that unsupported operating systems and software components are not in use." - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly controlFullName?: string; - /** - * The control's description - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly controlDescription?: string; - /** - * The hyper link to the control's description'. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly controlDescriptionHyperLink?: string; - /** - * Control status. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly controlStatus?: ControlStatus; - /** - * List of customer responsibility. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly responsibilities?: Responsibility[]; -} - -/** A class represent the customer responsibility. */ -export interface Responsibility { - /** - * The id of the customer responsibility. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly responsibilityId?: string; - /** - * The title of the customer responsibility. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly responsibilityTitle?: string; - /** - * The description of the customer responsibility. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly responsibilityDescription?: string; - /** - * The type of customer responsibility. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly responsibilityType?: ResponsibilityType; - /** - * The severity level of this customer responsibility. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly responsibilitySeverity?: ResponsibilitySeverity; - /** - * The status of this customer responsibility. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly responsibilityStatus?: ResponsibilityStatus; - /** - * The supported cloud environment of this customer responsibility. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly responsibilityEnvironment?: ResponsibilityEnvironment; - /** The count of all failed resources. */ - failedResourceCount?: number; - /** The count of all resources. */ - totalResourceCount?: number; - /** - * List of resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resourceList?: ResponsibilityResource[]; - /** - * List of recommendation. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly recommendationList?: Recommendation[]; - /** - * The evidence upload guidance description. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly guidance?: string; - /** - * The justification given by the user to clarify the reason. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly justification?: string; - /** List of evidence file url. */ - evidenceFiles?: string[]; -} - -/** A class represent the resource. */ -export interface ResponsibilityResource { - /** - * The Id of the resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resourceId?: string; - /** - * Account Id. For example - AWS account Id. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly accountId?: string; - /** - * The type of the resource. e.g. "Microsoft.SignalRService/SignalR" - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resourceType?: string; - /** - * Resource origin. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resourceOrigin?: ResourceOrigin; - /** - * Resource status. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resourceStatus?: ResourceStatus; - /** - * The status change date for the resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resourceStatusChangeDate?: Date; - /** List of recommendation id. */ - recommendationIds?: string[]; -} - -/** A class represent the recommendation. */ -export interface Recommendation { - /** - * The Id of the recommendation. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly recommendationId?: string; - /** - * The short name of the recommendation. e.g. "Invalid TLS config" - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly recommendationShortName?: string; - /** - * List of recommendation solutions. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly recommendationSolutions?: RecommendationSolution[]; -} - -/** A class represent the recommendation solution. */ -export interface RecommendationSolution { - /** - * The index of the recommendation solution. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly recommendationSolutionIndex?: string; - /** - * The detail steps of the recommendation solution. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly recommendationSolutionContent?: string; - /** - * Indicates whether this solution is the recommended. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly isRecommendSolution?: IsRecommendSolution; -} - -/** Snapshot's download request. */ -export interface SnapshotDownloadRequest { - /** Tenant id. */ - reportCreatorTenantId?: string; - /** Indicates the download type. */ - downloadType: DownloadType; - /** The offerGuid which mapping to the reports. */ - offerGuid?: string; -} - -/** Object that includes all the possible response for the download operation. */ -export interface DownloadResponse { - /** - * Resource list of the report - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resourceList?: ResourceItem[]; - /** - * List of the compliance result - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly complianceReport?: ComplianceReportItem[]; - /** - * Compliance pdf report - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly compliancePdfReport?: DownloadResponseCompliancePdfReport; - /** - * The detailed compliance pdf report - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly complianceDetailedPdfReport?: DownloadResponseComplianceDetailedPdfReport; -} - -/** Resource Id. */ -export interface ResourceItem { - /** - * The subscription Id of this resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly subscriptionId?: string; - /** - * The resource group name of this resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resourceGroup?: string; - /** - * The resource type of this resource. e.g. "Microsoft.SignalRService/SignalR" - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resourceType?: string; - /** - * The resource Id - e.g. "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1". - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resourceId?: string; -} - -/** Object that includes all the content for single compliance result. */ -export interface ComplianceReportItem { - /** - * The category name. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly categoryName?: string; - /** - * The control family name. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly controlFamilyName?: string; - /** - * The control Id - e.g. "1". - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly controlId?: string; - /** - * The control name. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly controlName?: string; - /** - * Control status. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly controlStatus?: ControlStatus; - /** - * The title of the customer responsibility. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly responsibilityTitle?: string; - /** - * The description of the customer responsibility. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly responsibilityDescription?: string; - /** - * The Id of the resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resourceId?: string; - /** - * The type of the resource. e.g. "Microsoft.SignalRService/SignalR" - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resourceType?: string; - /** - * Resource origin. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resourceOrigin?: ResourceOrigin; - /** - * Resource status. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resourceStatus?: ResourceStatus; - /** - * The status change date for the resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resourceStatusChangeDate?: Date; -} - -/** Compliance pdf report */ -export interface DownloadResponseCompliancePdfReport { - /** - * The uri of compliance pdf report - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly sasUri?: string; -} - -/** The detailed compliance pdf report */ -export interface DownloadResponseComplianceDetailedPdfReport { - /** - * The uri of detailed compliance pdf report - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly sasUri?: string; -} - -/** Synchronize certification record request. */ -export interface SyncCertRecordRequest { - /** certification record to be synchronized. */ - certRecord: CertSyncRecord; -} - -/** Synchronize certification record response. */ -export interface SyncCertRecordResponse { - /** certification record synchronized. */ - certRecord?: CertSyncRecord; -} - -/** Report health status verification result. */ -export interface ReportVerificationResult { - /** - * Indicates whether the report verification action is Succeeded or Failed. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly result?: Result; - /** - * If the report verification action failed, to indicate the detailed failed reason. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly reason?: string; -} - -/** The response of a WebhookResource list operation. */ -export interface WebhookResourceListResult { - /** The WebhookResource items on this page */ - value: WebhookResource[]; - /** The link to the next page of items */ - nextLink?: string; -} - -/** Webhook properties. */ -export interface WebhookProperties { - /** - * Webhook id in database. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly webhookId?: string; - /** Webhook status. */ - status?: WebhookStatus; - /** - * Tenant id. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly tenantId?: string; - /** whether to send notification under any event. */ - sendAllEvents?: SendAllEvents; - /** under which event notification should be sent. */ - events?: NotificationEvent[]; - /** webhook payload url */ - payloadUrl?: string; - /** content type */ - contentType?: ContentType; - /** webhook secret token. If not set, this field value is null; otherwise, please set a string value. */ - webhookKey?: string; - /** whether to update webhookKey. */ - updateWebhookKey?: UpdateWebhookKey; - /** - * whether webhookKey is enabled. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly webhookKeyEnabled?: WebhookKeyEnabled; - /** whether to enable ssl verification */ - enableSslVerification?: EnableSslVerification; - /** - * webhook deliveryStatus - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly deliveryStatus?: DeliveryStatus; - /** - * Azure Resource Provisioning State - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: ProvisioningState; -} - -/** A class represent a AppComplianceAutomation webhook resource update properties. */ -export interface WebhookResourcePatch { - /** Webhook property. */ - properties?: WebhookProperties; -} - -/** Trigger evaluation request. */ -export interface TriggerEvaluationRequest { - /** List of resource ids to be evaluated */ - resourceIds: string[]; -} - -/** Trigger evaluation response. */ -export interface TriggerEvaluationResponse { - /** trigger evaluation property. */ - properties?: TriggerEvaluationProperty; -} - -/** Trigger evaluation response. */ -export interface TriggerEvaluationProperty { - /** - * The time when the evaluation is triggered. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly triggerTime?: Date; - /** - * The time when the evaluation is end. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly evaluationEndTime?: Date; - /** List of resource ids to be evaluated */ - resourceIds?: string[]; - /** List of quick assessments */ - quickAssessments?: QuickAssessment[]; -} - -/** A class represent the quick assessment. */ -export interface QuickAssessment { - /** - * Resource id. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resourceId?: string; - /** - * Responsibility id. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly responsibilityId?: string; - /** - * The timestamp of resource creation (UTC). - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly timestamp?: Date; - /** - * Quick assessment status. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resourceStatus?: ResourceStatus; - /** - * Quick assessment display name. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly displayName?: string; - /** - * Quick assessment display name. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly description?: string; - /** - * Link to remediation steps for this quick assessment. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly remediationLink?: 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 {} - -/** A class represent an AppComplianceAutomation report resource. */ -export interface ReportResource extends ProxyResource { - /** Report property. */ - properties: ReportProperties; -} - -/** A class represent an AppComplianceAutomation evidence resource. */ -export interface EvidenceResource extends ProxyResource { - /** Evidence property. */ - properties: EvidenceProperties; -} - -/** A class represent an AppComplianceAutomation scoping configuration resource. */ -export interface ScopingConfigurationResource extends ProxyResource { - /** ScopingConfiguration property. */ - properties: ScopingConfigurationProperties; -} - -/** A class represent a AppComplianceAutomation snapshot resource. */ -export interface SnapshotResource extends ProxyResource { - /** Snapshot's property. */ - properties?: SnapshotProperties; -} - -/** A class represent an AppComplianceAutomation webhook resource. */ -export interface WebhookResource extends ProxyResource { - /** Webhook property. */ - properties: WebhookProperties; -} - -/** Defines headers for ProviderActions_onboard operation. */ -export interface ProviderActionsOnboardHeaders { - /** 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 ProviderActions_triggerEvaluation operation. */ -export interface ProviderActionsTriggerEvaluationHeaders { - /** 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 Report_createOrUpdate operation. */ -export interface ReportCreateOrUpdateHeaders { - /** The Retry-After header can indicate how long the client should wait before polling the operation status. */ - retryAfter?: number; -} - -/** Defines headers for Report_update operation. */ -export interface ReportUpdateHeaders { - /** 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 Report_delete operation. */ -export interface ReportDeleteHeaders { - /** 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 Report_fix operation. */ -export interface ReportFixHeaders { - /** 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 Report_syncCertRecord operation. */ -export interface ReportSyncCertRecordHeaders { - /** 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 Report_verify operation. */ -export interface ReportVerifyHeaders { - /** 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 Snapshot_download operation. */ -export interface SnapshotDownloadHeaders { - /** 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 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 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 ResourceOrigin} that the service accepts. */ -export enum KnownResourceOrigin { - /** The resource is from Azure. */ - Azure = "Azure", - /** The resource is from AWS. */ - AWS = "AWS", - /** The resource is from GCP. */ - GCP = "GCP", -} - -/** - * Defines values for ResourceOrigin. \ - * {@link KnownResourceOrigin} can be used interchangeably with ResourceOrigin, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Azure**: The resource is from Azure. \ - * **AWS**: The resource is from AWS. \ - * **GCP**: The resource is from GCP. - */ -export type ResourceOrigin = string; - -/** Known values of {@link ReportStatus} that the service accepts. */ -export enum KnownReportStatus { - /** The report is active. */ - Active = "Active", - /** The report is failed. */ - Failed = "Failed", - /** The report is under reviewing. */ - Reviewing = "Reviewing", - /** The report is disabled. */ - Disabled = "Disabled", -} - -/** - * Defines values for ReportStatus. \ - * {@link KnownReportStatus} can be used interchangeably with ReportStatus, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Active**: The report is active. \ - * **Failed**: The report is failed. \ - * **Reviewing**: The report is under reviewing. \ - * **Disabled**: The report is disabled. - */ -export type ReportStatus = string; - -/** Known values of {@link ProvisioningState} that the service accepts. */ -export enum KnownProvisioningState { - /** The provision is succeeded. */ - Succeeded = "Succeeded", - /** The provision is failed. */ - Failed = "Failed", - /** The provision is canceled. */ - Canceled = "Canceled", - /** The creation is in progress. */ - Creating = "Creating", - /** The deletion is in progress. */ - Deleting = "Deleting", - /** The fix of the resource in progress. */ - Fixing = "Fixing", - /** The verification of the resource in progress. */ - Verifying = "Verifying", - /** The update of the resource in progress. */ - Updating = "Updating", -} - -/** - * 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**: The provision is succeeded. \ - * **Failed**: The provision is failed. \ - * **Canceled**: The provision is canceled. \ - * **Creating**: The creation is in progress. \ - * **Deleting**: The deletion is in progress. \ - * **Fixing**: The fix of the resource in progress. \ - * **Verifying**: The verification of the resource in progress. \ - * **Updating**: The update of the resource in progress. - */ -export type ProvisioningState = 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 EvidenceType} that the service accepts. */ -export enum KnownEvidenceType { - /** The evidence is a file. */ - File = "File", - /** The evidence auto collected by App Compliance Automation. */ - AutoCollectedEvidence = "AutoCollectedEvidence", - /** The evidence is data. */ - Data = "Data", -} - -/** - * Defines values for EvidenceType. \ - * {@link KnownEvidenceType} can be used interchangeably with EvidenceType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **File**: The evidence is a file. \ - * **AutoCollectedEvidence**: The evidence auto collected by App Compliance Automation. \ - * **Data**: The evidence is data. - */ -export type EvidenceType = string; - -/** Known values of {@link Result} that the service accepts. */ -export enum KnownResult { - /** The result is succeeded. */ - Succeeded = "Succeeded", - /** The result is failed. */ - Failed = "Failed", -} - -/** - * Defines values for Result. \ - * {@link KnownResult} can be used interchangeably with Result, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Succeeded**: The result is succeeded. \ - * **Failed**: The result is failed. - */ -export type Result = string; - -/** Known values of {@link InputType} that the service accepts. */ -export enum KnownInputType { - /** The input type is a text box. */ - None = "None", - /** The input content is text string. */ - Text = "Text", - /** The input content should be an email address. */ - Email = "Email", - /** The input content should be multiline text. */ - MultilineText = "MultilineText", - /** The input content should be a URL. */ - Url = "Url", - /** The input content should be a number. */ - Number = "Number", - /** The input content should be a boolean. */ - Boolean = "Boolean", - /** The input content should be a telephone number. */ - Telephone = "Telephone", - /** The input content should be Yes, No or Na. */ - YesNoNa = "YesNoNa", - /** The input content should be a date. */ - Date = "Date", - /** The input content is a Year, pick from the dropdown list. */ - YearPicker = "YearPicker", - /** The input content is a single result seleted from the options. */ - SingleSelection = "SingleSelection", - /** The input content is a single result seleted from the dropdown options. */ - SingleSelectDropdown = "SingleSelectDropdown", - /** The input content are multiple results seleted from the checkboxes. */ - MultiSelectCheckbox = "MultiSelectCheckbox", - /** The input content are multiple results seleted from the dropdown options. */ - MultiSelectDropdown = "MultiSelectDropdown", - /** The input content are result seleted from the custom dropdown options. */ - MultiSelectDropdownCustom = "MultiSelectDropdownCustom", - /** The input content is a group of answers. */ - Group = "Group", - /** The input content is a uploaded file. */ - Upload = "Upload", -} - -/** - * Defines values for InputType. \ - * {@link KnownInputType} can be used interchangeably with InputType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **None**: The input type is a text box. \ - * **Text**: The input content is text string. \ - * **Email**: The input content should be an email address. \ - * **MultilineText**: The input content should be multiline text. \ - * **Url**: The input content should be a URL. \ - * **Number**: The input content should be a number. \ - * **Boolean**: The input content should be a boolean. \ - * **Telephone**: The input content should be a telephone number. \ - * **YesNoNa**: The input content should be Yes, No or Na. \ - * **Date**: The input content should be a date. \ - * **YearPicker**: The input content is a Year, pick from the dropdown list. \ - * **SingleSelection**: The input content is a single result seleted from the options. \ - * **SingleSelectDropdown**: The input content is a single result seleted from the dropdown options. \ - * **MultiSelectCheckbox**: The input content are multiple results seleted from the checkboxes. \ - * **MultiSelectDropdown**: The input content are multiple results seleted from the dropdown options. \ - * **MultiSelectDropdownCustom**: The input content are result seleted from the custom dropdown options. \ - * **Group**: The input content is a group of answers. \ - * **Upload**: The input content is a uploaded file. - */ -export type InputType = string; - -/** Known values of {@link Rule} that the service accepts. */ -export enum KnownRule { - /** The question is required to answer. */ - Required = "Required", - /** The question answer length is limited. */ - CharLength = "CharLength", - /** The question answer should be an Url. */ - Url = "Url", - /** The question answer should be Urls. */ - Urls = "Urls", - /** The question answer should be domains. */ - Domains = "Domains", - /** The question answer should be a UsPrivacyShield. */ - USPrivacyShield = "USPrivacyShield", - /** The question answer should be a PublicSOX. */ - PublicSOX = "PublicSOX", - /** The question answer should be a CreditCardPCI. */ - CreditCardPCI = "CreditCardPCI", - /** The question answer should be an AzureApplication. */ - AzureApplication = "AzureApplication", - /** The question answer should be a valid guid. */ - ValidGuid = "ValidGuid", - /** The question answer should be publisher verification. */ - PublisherVerification = "PublisherVerification", - /** The question answer should be dynamic dropdown. */ - DynamicDropdown = "DynamicDropdown", - /** The question answer should prevent non-english char. */ - PreventNonEnglishChar = "PreventNonEnglishChar", - /** The question answer should be a valid email. */ - ValidEmail = "ValidEmail", -} - -/** - * Defines values for Rule. \ - * {@link KnownRule} can be used interchangeably with Rule, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Required**: The question is required to answer. \ - * **CharLength**: The question answer length is limited. \ - * **Url**: The question answer should be an Url. \ - * **Urls**: The question answer should be Urls. \ - * **Domains**: The question answer should be domains. \ - * **USPrivacyShield**: The question answer should be a UsPrivacyShield. \ - * **PublicSOX**: The question answer should be a PublicSOX. \ - * **CreditCardPCI**: The question answer should be a CreditCardPCI. \ - * **AzureApplication**: The question answer should be an AzureApplication. \ - * **ValidGuid**: The question answer should be a valid guid. \ - * **PublisherVerification**: The question answer should be publisher verification. \ - * **DynamicDropdown**: The question answer should be dynamic dropdown. \ - * **PreventNonEnglishChar**: The question answer should prevent non-english char. \ - * **ValidEmail**: The question answer should be a valid email. - */ -export type Rule = string; - -/** Known values of {@link CategoryStatus} that the service accepts. */ -export enum KnownCategoryStatus { - /** The category is passed. */ - Passed = "Passed", - /** The category is failed. */ - Failed = "Failed", - /** The category is not applicable. */ - NotApplicable = "NotApplicable", - /** The category is pending for approval. */ - PendingApproval = "PendingApproval", -} - -/** - * Defines values for CategoryStatus. \ - * {@link KnownCategoryStatus} can be used interchangeably with CategoryStatus, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Passed**: The category is passed. \ - * **Failed**: The category is failed. \ - * **NotApplicable**: The category is not applicable. \ - * **PendingApproval**: The category is pending for approval. - */ -export type CategoryStatus = string; - -/** Known values of {@link ControlFamilyStatus} that the service accepts. */ -export enum KnownControlFamilyStatus { - /** The control family is passed. */ - Passed = "Passed", - /** The control family is failed. */ - Failed = "Failed", - /** The control family is not applicable. */ - NotApplicable = "NotApplicable", - /** The control family is pending for approval. */ - PendingApproval = "PendingApproval", -} - -/** - * Defines values for ControlFamilyStatus. \ - * {@link KnownControlFamilyStatus} can be used interchangeably with ControlFamilyStatus, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Passed**: The control family is passed. \ - * **Failed**: The control family is failed. \ - * **NotApplicable**: The control family is not applicable. \ - * **PendingApproval**: The control family is pending for approval. - */ -export type ControlFamilyStatus = string; - -/** Known values of {@link ControlStatus} that the service accepts. */ -export enum KnownControlStatus { - /** The control is passed. */ - Passed = "Passed", - /** The control is failed. */ - Failed = "Failed", - /** The control is not applicable. */ - NotApplicable = "NotApplicable", - /** The control is pending for approval. */ - PendingApproval = "PendingApproval", -} - -/** - * Defines values for ControlStatus. \ - * {@link KnownControlStatus} can be used interchangeably with ControlStatus, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Passed**: The control is passed. \ - * **Failed**: The control is failed. \ - * **NotApplicable**: The control is not applicable. \ - * **PendingApproval**: The control is pending for approval. - */ -export type ControlStatus = string; - -/** Known values of {@link ResponsibilityType} that the service accepts. */ -export enum KnownResponsibilityType { - /** The responsibility is automated. */ - Automated = "Automated", - /** The responsibility is scoped manual. */ - ScopedManual = "ScopedManual", - /** The responsibility is manual. */ - Manual = "Manual", -} - -/** - * Defines values for ResponsibilityType. \ - * {@link KnownResponsibilityType} can be used interchangeably with ResponsibilityType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Automated**: The responsibility is automated. \ - * **ScopedManual**: The responsibility is scoped manual. \ - * **Manual**: The responsibility is manual. - */ -export type ResponsibilityType = string; - -/** Known values of {@link ResponsibilitySeverity} that the service accepts. */ -export enum KnownResponsibilitySeverity { - /** The responsibility is high severity. */ - High = "High", - /** The responsibility is medium severity. */ - Medium = "Medium", - /** The responsibility is low severity. */ - Low = "Low", -} - -/** - * Defines values for ResponsibilitySeverity. \ - * {@link KnownResponsibilitySeverity} can be used interchangeably with ResponsibilitySeverity, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **High**: The responsibility is high severity. \ - * **Medium**: The responsibility is medium severity. \ - * **Low**: The responsibility is low severity. - */ -export type ResponsibilitySeverity = string; - -/** Known values of {@link ResponsibilityStatus} that the service accepts. */ -export enum KnownResponsibilityStatus { - /** The responsibility is passed. */ - Passed = "Passed", - /** The responsibility is failed. */ - Failed = "Failed", - /** The responsibility is not applicable. */ - NotApplicable = "NotApplicable", - /** The responsibility is pending for approval. */ - PendingApproval = "PendingApproval", -} - -/** - * Defines values for ResponsibilityStatus. \ - * {@link KnownResponsibilityStatus} can be used interchangeably with ResponsibilityStatus, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Passed**: The responsibility is passed. \ - * **Failed**: The responsibility is failed. \ - * **NotApplicable**: The responsibility is not applicable. \ - * **PendingApproval**: The responsibility is pending for approval. - */ -export type ResponsibilityStatus = string; - -/** Known values of {@link ResponsibilityEnvironment} that the service accepts. */ -export enum KnownResponsibilityEnvironment { - /** The responsibility is supported in Azure. */ - Azure = "Azure", - /** The responsibility is supported in AWS. */ - AWS = "AWS", - /** The responsibility is supported in GCP. */ - GCP = "GCP", - /** The responsibility is general requirement of all environment. */ - General = "General", -} - -/** - * Defines values for ResponsibilityEnvironment. \ - * {@link KnownResponsibilityEnvironment} can be used interchangeably with ResponsibilityEnvironment, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Azure**: The responsibility is supported in Azure. \ - * **AWS**: The responsibility is supported in AWS. \ - * **GCP**: The responsibility is supported in GCP. \ - * **General**: The responsibility is general requirement of all environment. - */ -export type ResponsibilityEnvironment = string; - -/** Known values of {@link ResourceStatus} that the service accepts. */ -export enum KnownResourceStatus { - /** The resource is healthy. */ - Healthy = "Healthy", - /** The resource is unhealthy. */ - Unhealthy = "Unhealthy", -} - -/** - * Defines values for ResourceStatus. \ - * {@link KnownResourceStatus} can be used interchangeably with ResourceStatus, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Healthy**: The resource is healthy. \ - * **Unhealthy**: The resource is unhealthy. - */ -export type ResourceStatus = string; - -/** Known values of {@link IsRecommendSolution} that the service accepts. */ -export enum KnownIsRecommendSolution { - /** This solution is the recommended. */ - True = "true", - /** This solution is not the recommended. */ - False = "false", -} - -/** - * Defines values for IsRecommendSolution. \ - * {@link KnownIsRecommendSolution} can be used interchangeably with IsRecommendSolution, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **true**: This solution is the recommended. \ - * **false**: This solution is not the recommended. - */ -export type IsRecommendSolution = string; - -/** Known values of {@link DownloadType} that the service accepts. */ -export enum KnownDownloadType { - /** Download the compliance report. */ - ComplianceReport = "ComplianceReport", - /** Download the compliance pdf report. */ - CompliancePdfReport = "CompliancePdfReport", - /** Download the detailed compliance pdf report. */ - ComplianceDetailedPdfReport = "ComplianceDetailedPdfReport", - /** Download the resource list of the report. */ - ResourceList = "ResourceList", -} - -/** - * Defines values for DownloadType. \ - * {@link KnownDownloadType} can be used interchangeably with DownloadType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **ComplianceReport**: Download the compliance report. \ - * **CompliancePdfReport**: Download the compliance pdf report. \ - * **ComplianceDetailedPdfReport**: Download the detailed compliance pdf report. \ - * **ResourceList**: Download the resource list of the report. - */ -export type DownloadType = string; - -/** Known values of {@link WebhookStatus} that the service accepts. */ -export enum KnownWebhookStatus { - /** The webhook is enabled. */ - Enabled = "Enabled", - /** The webhook is disabled. */ - Disabled = "Disabled", -} - -/** - * Defines values for WebhookStatus. \ - * {@link KnownWebhookStatus} can be used interchangeably with WebhookStatus, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Enabled**: The webhook is enabled. \ - * **Disabled**: The webhook is disabled. - */ -export type WebhookStatus = string; - -/** Known values of {@link SendAllEvents} that the service accepts. */ -export enum KnownSendAllEvents { - /** Need send notification under any event. */ - True = "true", - /** No need to send notification under any event. */ - False = "false", -} - -/** - * Defines values for SendAllEvents. \ - * {@link KnownSendAllEvents} can be used interchangeably with SendAllEvents, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **true**: Need send notification under any event. \ - * **false**: No need to send notification under any event. - */ -export type SendAllEvents = string; - -/** Known values of {@link NotificationEvent} that the service accepts. */ -export enum KnownNotificationEvent { - /** The subscribed report's snapshot is successfully generated. */ - GenerateSnapshotSuccess = "generate_snapshot_success", - /** The subscribed report's snapshot is failed to generate. */ - GenerateSnapshotFailed = "generate_snapshot_failed", - /** The subscribed report failed while collecting the assessments. */ - AssessmentFailure = "assessment_failure", - /** The subscribed report's configuration is changed. */ - ReportConfigurationChanges = "report_configuration_changes", - /** The subscribed report is deleted. */ - ReportDeletion = "report_deletion", -} - -/** - * Defines values for NotificationEvent. \ - * {@link KnownNotificationEvent} can be used interchangeably with NotificationEvent, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **generate_snapshot_success**: The subscribed report's snapshot is successfully generated. \ - * **generate_snapshot_failed**: The subscribed report's snapshot is failed to generate. \ - * **assessment_failure**: The subscribed report failed while collecting the assessments. \ - * **report_configuration_changes**: The subscribed report's configuration is changed. \ - * **report_deletion**: The subscribed report is deleted. - */ -export type NotificationEvent = string; - -/** Known values of {@link ContentType} that the service accepts. */ -export enum KnownContentType { - /** The content type is application\/json. */ - ApplicationJson = "application/json", -} - -/** - * Defines values for ContentType. \ - * {@link KnownContentType} can be used interchangeably with ContentType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **application\/json**: The content type is application\/json. - */ -export type ContentType = string; - -/** Known values of {@link UpdateWebhookKey} that the service accepts. */ -export enum KnownUpdateWebhookKey { - /** Need update the webhook key. */ - True = "true", - /** No need to update the webhook key. */ - False = "false", -} - -/** - * Defines values for UpdateWebhookKey. \ - * {@link KnownUpdateWebhookKey} can be used interchangeably with UpdateWebhookKey, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **true**: Need update the webhook key. \ - * **false**: No need to update the webhook key. - */ -export type UpdateWebhookKey = string; - -/** Known values of {@link WebhookKeyEnabled} that the service accepts. */ -export enum KnownWebhookKeyEnabled { - /** The webhookKey is enabled. */ - True = "true", - /** The webhookKey is not enabled. */ - False = "false", -} - -/** - * Defines values for WebhookKeyEnabled. \ - * {@link KnownWebhookKeyEnabled} can be used interchangeably with WebhookKeyEnabled, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **true**: The webhookKey is enabled. \ - * **false**: The webhookKey is not enabled. - */ -export type WebhookKeyEnabled = string; - -/** Known values of {@link EnableSslVerification} that the service accepts. */ -export enum KnownEnableSslVerification { - /** The ssl verification is enabled. */ - True = "true", - /** The ssl verification is not enabled. */ - False = "false", -} - -/** - * Defines values for EnableSslVerification. \ - * {@link KnownEnableSslVerification} can be used interchangeably with EnableSslVerification, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **true**: The ssl verification is enabled. \ - * **false**: The ssl verification is not enabled. - */ -export type EnableSslVerification = string; - -/** Known values of {@link DeliveryStatus} that the service accepts. */ -export enum KnownDeliveryStatus { - /** The webhook is delivered successfully. */ - Succeeded = "Succeeded", - /** The webhook is failed to deliver. */ - Failed = "Failed", - /** The webhook is not delivered. */ - NotStarted = "NotStarted", -} - -/** - * Defines values for DeliveryStatus. \ - * {@link KnownDeliveryStatus} can be used interchangeably with DeliveryStatus, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Succeeded**: The webhook is delivered successfully. \ - * **Failed**: The webhook is failed to deliver. \ - * **NotStarted**: The webhook is not delivered. - */ -export type DeliveryStatus = string; - -/** Optional parameters. */ -export interface ProviderActionsCheckNameAvailabilityOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the checkNameAvailability operation. */ -export type ProviderActionsCheckNameAvailabilityResponse = - CheckNameAvailabilityResponse; - -/** Optional parameters. */ -export interface ProviderActionsGetCollectionCountOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the getCollectionCount operation. */ -export type ProviderActionsGetCollectionCountResponse = - GetCollectionCountResponse; - -/** Optional parameters. */ -export interface ProviderActionsGetOverviewStatusOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the getOverviewStatus operation. */ -export type ProviderActionsGetOverviewStatusResponse = - GetOverviewStatusResponse; - -/** Optional parameters. */ -export interface ProviderActionsListInUseStorageAccountsOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listInUseStorageAccounts operation. */ -export type ProviderActionsListInUseStorageAccountsResponse = - ListInUseStorageAccountsResponse; - -/** Optional parameters. */ -export interface ProviderActionsOnboardOptionalParams - 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 onboard operation. */ -export type ProviderActionsOnboardResponse = OnboardResponse; - -/** Optional parameters. */ -export interface ProviderActionsTriggerEvaluationOptionalParams - 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 triggerEvaluation operation. */ -export type ProviderActionsTriggerEvaluationResponse = - TriggerEvaluationResponse; - -/** 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 ReportListOptionalParams extends coreClient.OperationOptions { - /** Skip over when retrieving results. */ - skipToken?: string; - /** Number of elements to return when retrieving results. */ - top?: number; - /** OData Select statement. Limits the properties on each entry to just those requested, e.g. ?$select=reportName,id. */ - select?: string; - /** The filter to apply on the operation. */ - filter?: string; - /** OData order by query option. */ - orderby?: string; - /** The offerGuid which mapping to the reports. */ - offerGuid?: string; - /** The tenant id of the report creator. */ - reportCreatorTenantId?: string; -} - -/** Contains response data for the list operation. */ -export type ReportListResponse = ReportResourceListResult; - -/** Optional parameters. */ -export interface ReportGetOptionalParams extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type ReportGetResponse = ReportResource; - -/** Optional parameters. */ -export interface ReportCreateOrUpdateOptionalParams - 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 ReportCreateOrUpdateResponse = ReportResource; - -/** Optional parameters. */ -export interface ReportUpdateOptionalParams - 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 ReportUpdateResponse = ReportResource; - -/** Optional parameters. */ -export interface ReportDeleteOptionalParams - 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 ReportDeleteResponse = ReportDeleteHeaders; - -/** Optional parameters. */ -export interface ReportNestedResourceCheckNameAvailabilityOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the nestedResourceCheckNameAvailability operation. */ -export type ReportNestedResourceCheckNameAvailabilityResponse = - CheckNameAvailabilityResponse; - -/** Optional parameters. */ -export interface ReportFixOptionalParams 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 fix operation. */ -export type ReportFixResponse = ReportFixResult; - -/** Optional parameters. */ -export interface ReportGetScopingQuestionsOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the getScopingQuestions operation. */ -export type ReportGetScopingQuestionsResponse = ScopingQuestions; - -/** Optional parameters. */ -export interface ReportSyncCertRecordOptionalParams - 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 syncCertRecord operation. */ -export type ReportSyncCertRecordResponse = SyncCertRecordResponse; - -/** Optional parameters. */ -export interface ReportVerifyOptionalParams - 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 verify operation. */ -export type ReportVerifyResponse = ReportVerificationResult; - -/** Optional parameters. */ -export interface ReportListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type ReportListNextResponse = ReportResourceListResult; - -/** Optional parameters. */ -export interface EvidenceListByReportOptionalParams - extends coreClient.OperationOptions { - /** Skip over when retrieving results. */ - skipToken?: string; - /** Number of elements to return when retrieving results. */ - top?: number; - /** OData Select statement. Limits the properties on each entry to just those requested, e.g. ?$select=reportName,id. */ - select?: string; - /** The filter to apply on the operation. */ - filter?: string; - /** OData order by query option. */ - orderby?: string; - /** The offerGuid which mapping to the reports. */ - offerGuid?: string; - /** The tenant id of the report creator. */ - reportCreatorTenantId?: string; -} - -/** Contains response data for the listByReport operation. */ -export type EvidenceListByReportResponse = EvidenceResourceListResult; - -/** Optional parameters. */ -export interface EvidenceGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type EvidenceGetResponse = EvidenceResource; - -/** Optional parameters. */ -export interface EvidenceCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { - /** The offerGuid which mapping to the reports. */ - offerGuid?: string; - /** The tenant id of the report creator. */ - reportCreatorTenantId?: string; -} - -/** Contains response data for the createOrUpdate operation. */ -export type EvidenceCreateOrUpdateResponse = EvidenceResource; - -/** Optional parameters. */ -export interface EvidenceDeleteOptionalParams - extends coreClient.OperationOptions {} - -/** Optional parameters. */ -export interface EvidenceDownloadOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the download operation. */ -export type EvidenceDownloadResponse = EvidenceFileDownloadResponse; - -/** Optional parameters. */ -export interface EvidenceListByReportNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listByReportNext operation. */ -export type EvidenceListByReportNextResponse = EvidenceResourceListResult; - -/** Optional parameters. */ -export interface ScopingConfigurationListOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the list operation. */ -export type ScopingConfigurationListResponse = - ScopingConfigurationResourceListResult; - -/** Optional parameters. */ -export interface ScopingConfigurationGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type ScopingConfigurationGetResponse = ScopingConfigurationResource; - -/** Optional parameters. */ -export interface ScopingConfigurationCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the createOrUpdate operation. */ -export type ScopingConfigurationCreateOrUpdateResponse = - ScopingConfigurationResource; - -/** Optional parameters. */ -export interface ScopingConfigurationDeleteOptionalParams - extends coreClient.OperationOptions {} - -/** Optional parameters. */ -export interface ScopingConfigurationListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type ScopingConfigurationListNextResponse = - ScopingConfigurationResourceListResult; - -/** Optional parameters. */ -export interface SnapshotListOptionalParams - extends coreClient.OperationOptions { - /** Skip over when retrieving results. */ - skipToken?: string; - /** Number of elements to return when retrieving results. */ - top?: number; - /** OData Select statement. Limits the properties on each entry to just those requested, e.g. ?$select=reportName,id. */ - select?: string; - /** The filter to apply on the operation. */ - filter?: string; - /** OData order by query option. */ - orderby?: string; - /** The offerGuid which mapping to the reports. */ - offerGuid?: string; - /** The tenant id of the report creator. */ - reportCreatorTenantId?: string; -} - -/** Contains response data for the list operation. */ -export type SnapshotListResponse = SnapshotResourceListResult; - -/** Optional parameters. */ -export interface SnapshotGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type SnapshotGetResponse = SnapshotResource; - -/** Optional parameters. */ -export interface SnapshotDownloadOptionalParams - 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 download operation. */ -export type SnapshotDownloadResponse = DownloadResponse; - -/** Optional parameters. */ -export interface SnapshotListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type SnapshotListNextResponse = SnapshotResourceListResult; - -/** Optional parameters. */ -export interface WebhookListOptionalParams extends coreClient.OperationOptions { - /** Skip over when retrieving results. */ - skipToken?: string; - /** Number of elements to return when retrieving results. */ - top?: number; - /** OData Select statement. Limits the properties on each entry to just those requested, e.g. ?$select=reportName,id. */ - select?: string; - /** The filter to apply on the operation. */ - filter?: string; - /** OData order by query option. */ - orderby?: string; - /** The offerGuid which mapping to the reports. */ - offerGuid?: string; - /** The tenant id of the report creator. */ - reportCreatorTenantId?: string; -} - -/** Contains response data for the list operation. */ -export type WebhookListResponse = WebhookResourceListResult; - -/** Optional parameters. */ -export interface WebhookGetOptionalParams extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type WebhookGetResponse = WebhookResource; - -/** Optional parameters. */ -export interface WebhookCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the createOrUpdate operation. */ -export type WebhookCreateOrUpdateResponse = WebhookResource; - -/** Optional parameters. */ -export interface WebhookUpdateOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the update operation. */ -export type WebhookUpdateResponse = WebhookResource; - -/** Optional parameters. */ -export interface WebhookDeleteOptionalParams - extends coreClient.OperationOptions {} - -/** Optional parameters. */ -export interface WebhookListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type WebhookListNextResponse = WebhookResourceListResult; - -/** Optional parameters. */ -export interface AppComplianceAutomationToolForMicrosoft365OptionalParams - extends coreClient.ServiceClientOptions { - /** server parameter */ - $host?: string; - /** Api Version */ - apiVersion?: string; - /** Overrides client endpoint. */ - endpoint?: string; -} diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/models/mappers.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/models/mappers.ts deleted file mode 100644 index afbf5b75b1e7..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/models/mappers.ts +++ /dev/null @@ -1,2700 +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 * as coreClient from "@azure/core-client"; - -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 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 GetCollectionCountRequest: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "GetCollectionCountRequest", - modelProperties: { - type: { - serializedName: "type", - type: { - name: "String", - }, - }, - }, - }, -}; - -export const GetCollectionCountResponse: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "GetCollectionCountResponse", - modelProperties: { - count: { - serializedName: "count", - type: { - name: "Number", - }, - }, - }, - }, -}; - -export const GetOverviewStatusRequest: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "GetOverviewStatusRequest", - modelProperties: { - type: { - serializedName: "type", - type: { - name: "String", - }, - }, - }, - }, -}; - -export const GetOverviewStatusResponse: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "GetOverviewStatusResponse", - modelProperties: { - statusList: { - serializedName: "statusList", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "StatusItem", - }, - }, - }, - }, - }, - }, -}; - -export const StatusItem: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "StatusItem", - modelProperties: { - statusName: { - serializedName: "statusName", - type: { - name: "String", - }, - }, - statusValue: { - serializedName: "statusValue", - type: { - name: "String", - }, - }, - }, - }, -}; - -export const ListInUseStorageAccountsRequest: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ListInUseStorageAccountsRequest", - modelProperties: { - subscriptionIds: { - serializedName: "subscriptionIds", - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - }, - }, -}; - -export const ListInUseStorageAccountsResponse: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ListInUseStorageAccountsResponse", - modelProperties: { - storageAccountList: { - serializedName: "storageAccountList", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "StorageInfo", - }, - }, - }, - }, - }, - }, -}; - -export const StorageInfo: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "StorageInfo", - modelProperties: { - subscriptionId: { - serializedName: "subscriptionId", - type: { - name: "String", - }, - }, - resourceGroup: { - serializedName: "resourceGroup", - type: { - name: "String", - }, - }, - accountName: { - serializedName: "accountName", - type: { - name: "String", - }, - }, - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - }, - }, -}; - -export const OnboardRequest: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OnboardRequest", - modelProperties: { - subscriptionIds: { - serializedName: "subscriptionIds", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - }, - }, -}; - -export const OnboardResponse: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OnboardResponse", - modelProperties: { - subscriptionIds: { - serializedName: "subscriptionIds", - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - }, - }, -}; - -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 ReportResourceListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ReportResourceListResult", - modelProperties: { - value: { - serializedName: "value", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ReportResource", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, - }, - }, -}; - -export const ReportProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ReportProperties", - modelProperties: { - triggerTime: { - serializedName: "triggerTime", - required: true, - type: { - name: "DateTime", - }, - }, - timeZone: { - serializedName: "timeZone", - required: true, - type: { - name: "String", - }, - }, - resources: { - serializedName: "resources", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceMetadata", - }, - }, - }, - }, - status: { - serializedName: "status", - readOnly: true, - type: { - name: "String", - }, - }, - errors: { - serializedName: "errors", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - tenantId: { - serializedName: "tenantId", - readOnly: true, - type: { - name: "String", - }, - }, - offerGuid: { - serializedName: "offerGuid", - type: { - name: "String", - }, - }, - nextTriggerTime: { - serializedName: "nextTriggerTime", - readOnly: true, - type: { - name: "DateTime", - }, - }, - lastTriggerTime: { - serializedName: "lastTriggerTime", - readOnly: true, - type: { - name: "DateTime", - }, - }, - subscriptions: { - serializedName: "subscriptions", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - complianceStatus: { - serializedName: "complianceStatus", - type: { - name: "Composite", - className: "ReportComplianceStatus", - }, - }, - storageInfo: { - serializedName: "storageInfo", - type: { - name: "Composite", - className: "StorageInfo", - }, - }, - certRecords: { - serializedName: "certRecords", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CertSyncRecord", - }, - }, - }, - }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const ResourceMetadata: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ResourceMetadata", - modelProperties: { - resourceId: { - serializedName: "resourceId", - required: true, - type: { - name: "String", - }, - }, - resourceType: { - serializedName: "resourceType", - type: { - name: "String", - }, - }, - resourceKind: { - serializedName: "resourceKind", - type: { - name: "String", - }, - }, - resourceOrigin: { - serializedName: "resourceOrigin", - type: { - name: "String", - }, - }, - accountId: { - serializedName: "accountId", - type: { - name: "String", - }, - }, - }, - }, -}; - -export const ReportComplianceStatus: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ReportComplianceStatus", - modelProperties: { - m365: { - serializedName: "m365", - type: { - name: "Composite", - className: "OverviewStatus", - }, - }, - }, - }, -}; - -export const OverviewStatus: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OverviewStatus", - modelProperties: { - passedCount: { - serializedName: "passedCount", - readOnly: true, - type: { - name: "Number", - }, - }, - failedCount: { - serializedName: "failedCount", - readOnly: true, - type: { - name: "Number", - }, - }, - manualCount: { - serializedName: "manualCount", - readOnly: true, - type: { - name: "Number", - }, - }, - notApplicableCount: { - serializedName: "notApplicableCount", - readOnly: true, - type: { - name: "Number", - }, - }, - pendingCount: { - serializedName: "pendingCount", - readOnly: true, - type: { - name: "Number", - }, - }, - }, - }, -}; - -export const CertSyncRecord: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CertSyncRecord", - modelProperties: { - offerGuid: { - constraints: { - MinLength: 1, - }, - serializedName: "offerGuid", - type: { - name: "String", - }, - }, - certificationStatus: { - serializedName: "certificationStatus", - type: { - name: "String", - }, - }, - ingestionStatus: { - serializedName: "ingestionStatus", - type: { - name: "String", - }, - }, - controls: { - serializedName: "controls", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ControlSyncRecord", - }, - }, - }, - }, - }, - }, -}; - -export const ControlSyncRecord: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ControlSyncRecord", - modelProperties: { - controlId: { - serializedName: "controlId", - type: { - name: "String", - }, - }, - controlStatus: { - serializedName: "controlStatus", - 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 ReportResourcePatch: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ReportResourcePatch", - modelProperties: { - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "ReportPatchProperties", - }, - }, - }, - }, -}; - -export const ReportPatchProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ReportPatchProperties", - modelProperties: { - triggerTime: { - serializedName: "triggerTime", - type: { - name: "DateTime", - }, - }, - timeZone: { - serializedName: "timeZone", - type: { - name: "String", - }, - }, - resources: { - serializedName: "resources", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceMetadata", - }, - }, - }, - }, - status: { - serializedName: "status", - readOnly: true, - type: { - name: "String", - }, - }, - errors: { - serializedName: "errors", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - tenantId: { - serializedName: "tenantId", - readOnly: true, - type: { - name: "String", - }, - }, - offerGuid: { - serializedName: "offerGuid", - type: { - name: "String", - }, - }, - nextTriggerTime: { - serializedName: "nextTriggerTime", - readOnly: true, - type: { - name: "DateTime", - }, - }, - lastTriggerTime: { - serializedName: "lastTriggerTime", - readOnly: true, - type: { - name: "DateTime", - }, - }, - subscriptions: { - serializedName: "subscriptions", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - complianceStatus: { - serializedName: "complianceStatus", - type: { - name: "Composite", - className: "ReportComplianceStatus", - }, - }, - storageInfo: { - serializedName: "storageInfo", - type: { - name: "Composite", - className: "StorageInfo", - }, - }, - certRecords: { - serializedName: "certRecords", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CertSyncRecord", - }, - }, - }, - }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const EvidenceResourceListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EvidenceResourceListResult", - modelProperties: { - value: { - serializedName: "value", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EvidenceResource", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, - }, - }, -}; - -export const EvidenceProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EvidenceProperties", - modelProperties: { - evidenceType: { - serializedName: "evidenceType", - type: { - name: "String", - }, - }, - filePath: { - serializedName: "filePath", - required: true, - type: { - name: "String", - }, - }, - extraData: { - serializedName: "extraData", - type: { - name: "String", - }, - }, - controlId: { - serializedName: "controlId", - type: { - name: "String", - }, - }, - responsibilityId: { - serializedName: "responsibilityId", - type: { - name: "String", - }, - }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const EvidenceFileDownloadRequest: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EvidenceFileDownloadRequest", - modelProperties: { - reportCreatorTenantId: { - serializedName: "reportCreatorTenantId", - type: { - name: "String", - }, - }, - offerGuid: { - constraints: { - MinLength: 1, - }, - serializedName: "offerGuid", - type: { - name: "String", - }, - }, - }, - }, -}; - -export const EvidenceFileDownloadResponse: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EvidenceFileDownloadResponse", - modelProperties: { - evidenceFile: { - serializedName: "evidenceFile", - type: { - name: "Composite", - className: "EvidenceFileDownloadResponseEvidenceFile", - }, - }, - }, - }, -}; - -export const EvidenceFileDownloadResponseEvidenceFile: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "EvidenceFileDownloadResponseEvidenceFile", - modelProperties: { - url: { - serializedName: "url", - readOnly: true, - type: { - name: "String", - }, - }, - }, - }, - }; - -export const ReportFixResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ReportFixResult", - modelProperties: { - result: { - serializedName: "result", - readOnly: true, - type: { - name: "String", - }, - }, - reason: { - serializedName: "reason", - readOnly: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const ScopingQuestions: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ScopingQuestions", - modelProperties: { - questions: { - serializedName: "questions", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ScopingQuestion", - }, - }, - }, - }, - }, - }, -}; - -export const ScopingQuestion: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ScopingQuestion", - modelProperties: { - questionId: { - serializedName: "questionId", - required: true, - readOnly: true, - type: { - name: "String", - }, - }, - superiorQuestionId: { - serializedName: "superiorQuestionId", - readOnly: true, - type: { - name: "String", - }, - }, - inputType: { - serializedName: "inputType", - required: true, - readOnly: true, - type: { - name: "String", - }, - }, - optionIds: { - serializedName: "optionIds", - required: true, - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - rules: { - serializedName: "rules", - required: true, - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - showSubQuestionsValue: { - serializedName: "showSubQuestionsValue", - readOnly: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const ScopingConfigurationResourceListResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ScopingConfigurationResourceListResult", - modelProperties: { - value: { - serializedName: "value", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ScopingConfigurationResource", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const ScopingConfigurationProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ScopingConfigurationProperties", - modelProperties: { - answers: { - serializedName: "answers", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ScopingAnswer", - }, - }, - }, - }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const ScopingAnswer: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ScopingAnswer", - modelProperties: { - questionId: { - constraints: { - Pattern: new RegExp("^[-a-zA-Z0-9_]{1,50}$"), - }, - serializedName: "questionId", - required: true, - type: { - name: "String", - }, - }, - answers: { - serializedName: "answers", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - }, - }, -}; - -export const SnapshotResourceListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SnapshotResourceListResult", - modelProperties: { - value: { - serializedName: "value", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SnapshotResource", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, - }, - }, -}; - -export const SnapshotProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SnapshotProperties", - modelProperties: { - snapshotName: { - serializedName: "snapshotName", - readOnly: true, - type: { - name: "String", - }, - }, - createdAt: { - serializedName: "createdAt", - readOnly: true, - type: { - name: "DateTime", - }, - }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, - type: { - name: "String", - }, - }, - reportProperties: { - serializedName: "reportProperties", - type: { - name: "Composite", - className: "ReportProperties", - }, - }, - reportSystemData: { - serializedName: "reportSystemData", - type: { - name: "Composite", - className: "SystemData", - }, - }, - complianceResults: { - serializedName: "complianceResults", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComplianceResult", - }, - }, - }, - }, - }, - }, -}; - -export const ComplianceResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComplianceResult", - modelProperties: { - complianceName: { - serializedName: "complianceName", - readOnly: true, - type: { - name: "String", - }, - }, - categories: { - serializedName: "categories", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Category", - }, - }, - }, - }, - }, - }, -}; - -export const Category: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Category", - modelProperties: { - categoryName: { - serializedName: "categoryName", - readOnly: true, - type: { - name: "String", - }, - }, - categoryStatus: { - serializedName: "categoryStatus", - readOnly: true, - type: { - name: "String", - }, - }, - controlFamilies: { - serializedName: "controlFamilies", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ControlFamily", - }, - }, - }, - }, - }, - }, -}; - -export const ControlFamily: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ControlFamily", - modelProperties: { - controlFamilyName: { - serializedName: "controlFamilyName", - readOnly: true, - type: { - name: "String", - }, - }, - controlFamilyStatus: { - serializedName: "controlFamilyStatus", - readOnly: true, - type: { - name: "String", - }, - }, - controls: { - serializedName: "controls", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Control", - }, - }, - }, - }, - }, - }, -}; - -export const Control: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Control", - modelProperties: { - controlId: { - serializedName: "controlId", - readOnly: true, - type: { - name: "String", - }, - }, - controlName: { - serializedName: "controlName", - readOnly: true, - type: { - name: "String", - }, - }, - controlFullName: { - serializedName: "controlFullName", - readOnly: true, - type: { - name: "String", - }, - }, - controlDescription: { - serializedName: "controlDescription", - readOnly: true, - type: { - name: "String", - }, - }, - controlDescriptionHyperLink: { - serializedName: "controlDescriptionHyperLink", - readOnly: true, - type: { - name: "String", - }, - }, - controlStatus: { - serializedName: "controlStatus", - readOnly: true, - type: { - name: "String", - }, - }, - responsibilities: { - serializedName: "responsibilities", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Responsibility", - }, - }, - }, - }, - }, - }, -}; - -export const Responsibility: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Responsibility", - modelProperties: { - responsibilityId: { - serializedName: "responsibilityId", - readOnly: true, - type: { - name: "String", - }, - }, - responsibilityTitle: { - serializedName: "responsibilityTitle", - readOnly: true, - type: { - name: "String", - }, - }, - responsibilityDescription: { - serializedName: "responsibilityDescription", - readOnly: true, - type: { - name: "String", - }, - }, - responsibilityType: { - serializedName: "responsibilityType", - readOnly: true, - type: { - name: "String", - }, - }, - responsibilitySeverity: { - serializedName: "responsibilitySeverity", - readOnly: true, - type: { - name: "String", - }, - }, - responsibilityStatus: { - serializedName: "responsibilityStatus", - readOnly: true, - type: { - name: "String", - }, - }, - responsibilityEnvironment: { - serializedName: "responsibilityEnvironment", - readOnly: true, - type: { - name: "String", - }, - }, - failedResourceCount: { - serializedName: "failedResourceCount", - type: { - name: "Number", - }, - }, - totalResourceCount: { - serializedName: "totalResourceCount", - type: { - name: "Number", - }, - }, - resourceList: { - serializedName: "resourceList", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResponsibilityResource", - }, - }, - }, - }, - recommendationList: { - serializedName: "recommendationList", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Recommendation", - }, - }, - }, - }, - guidance: { - serializedName: "guidance", - readOnly: true, - type: { - name: "String", - }, - }, - justification: { - serializedName: "justification", - readOnly: true, - type: { - name: "String", - }, - }, - evidenceFiles: { - serializedName: "evidenceFiles", - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - }, - }, -}; - -export const ResponsibilityResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ResponsibilityResource", - modelProperties: { - resourceId: { - serializedName: "resourceId", - readOnly: true, - type: { - name: "String", - }, - }, - accountId: { - serializedName: "accountId", - readOnly: true, - type: { - name: "String", - }, - }, - resourceType: { - serializedName: "resourceType", - readOnly: true, - type: { - name: "String", - }, - }, - resourceOrigin: { - serializedName: "resourceOrigin", - readOnly: true, - type: { - name: "String", - }, - }, - resourceStatus: { - serializedName: "resourceStatus", - readOnly: true, - type: { - name: "String", - }, - }, - resourceStatusChangeDate: { - serializedName: "resourceStatusChangeDate", - readOnly: true, - type: { - name: "DateTime", - }, - }, - recommendationIds: { - serializedName: "recommendationIds", - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - }, - }, -}; - -export const Recommendation: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Recommendation", - modelProperties: { - recommendationId: { - serializedName: "recommendationId", - readOnly: true, - type: { - name: "String", - }, - }, - recommendationShortName: { - serializedName: "recommendationShortName", - readOnly: true, - type: { - name: "String", - }, - }, - recommendationSolutions: { - serializedName: "recommendationSolutions", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RecommendationSolution", - }, - }, - }, - }, - }, - }, -}; - -export const RecommendationSolution: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RecommendationSolution", - modelProperties: { - recommendationSolutionIndex: { - serializedName: "recommendationSolutionIndex", - readOnly: true, - type: { - name: "String", - }, - }, - recommendationSolutionContent: { - serializedName: "recommendationSolutionContent", - readOnly: true, - type: { - name: "String", - }, - }, - isRecommendSolution: { - serializedName: "isRecommendSolution", - readOnly: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const SnapshotDownloadRequest: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SnapshotDownloadRequest", - modelProperties: { - reportCreatorTenantId: { - serializedName: "reportCreatorTenantId", - type: { - name: "String", - }, - }, - downloadType: { - serializedName: "downloadType", - required: true, - type: { - name: "String", - }, - }, - offerGuid: { - constraints: { - MinLength: 1, - }, - serializedName: "offerGuid", - type: { - name: "String", - }, - }, - }, - }, -}; - -export const DownloadResponse: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DownloadResponse", - modelProperties: { - resourceList: { - serializedName: "resourceList", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceItem", - }, - }, - }, - }, - complianceReport: { - serializedName: "complianceReport", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComplianceReportItem", - }, - }, - }, - }, - compliancePdfReport: { - serializedName: "compliancePdfReport", - type: { - name: "Composite", - className: "DownloadResponseCompliancePdfReport", - }, - }, - complianceDetailedPdfReport: { - serializedName: "complianceDetailedPdfReport", - type: { - name: "Composite", - className: "DownloadResponseComplianceDetailedPdfReport", - }, - }, - }, - }, -}; - -export const ResourceItem: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ResourceItem", - modelProperties: { - subscriptionId: { - serializedName: "subscriptionId", - readOnly: true, - type: { - name: "String", - }, - }, - resourceGroup: { - serializedName: "resourceGroup", - readOnly: true, - type: { - name: "String", - }, - }, - resourceType: { - serializedName: "resourceType", - readOnly: true, - type: { - name: "String", - }, - }, - resourceId: { - serializedName: "resourceId", - readOnly: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const ComplianceReportItem: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComplianceReportItem", - modelProperties: { - categoryName: { - serializedName: "categoryName", - readOnly: true, - type: { - name: "String", - }, - }, - controlFamilyName: { - serializedName: "controlFamilyName", - readOnly: true, - type: { - name: "String", - }, - }, - controlId: { - serializedName: "controlId", - readOnly: true, - type: { - name: "String", - }, - }, - controlName: { - serializedName: "controlName", - readOnly: true, - type: { - name: "String", - }, - }, - controlStatus: { - serializedName: "controlStatus", - readOnly: true, - type: { - name: "String", - }, - }, - responsibilityTitle: { - serializedName: "responsibilityTitle", - readOnly: true, - type: { - name: "String", - }, - }, - responsibilityDescription: { - serializedName: "responsibilityDescription", - readOnly: true, - type: { - name: "String", - }, - }, - resourceId: { - serializedName: "resourceId", - readOnly: true, - type: { - name: "String", - }, - }, - resourceType: { - serializedName: "resourceType", - readOnly: true, - type: { - name: "String", - }, - }, - resourceOrigin: { - serializedName: "resourceOrigin", - readOnly: true, - type: { - name: "String", - }, - }, - resourceStatus: { - serializedName: "resourceStatus", - readOnly: true, - type: { - name: "String", - }, - }, - resourceStatusChangeDate: { - serializedName: "resourceStatusChangeDate", - readOnly: true, - type: { - name: "DateTime", - }, - }, - }, - }, -}; - -export const DownloadResponseCompliancePdfReport: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DownloadResponseCompliancePdfReport", - modelProperties: { - sasUri: { - serializedName: "sasUri", - readOnly: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const DownloadResponseComplianceDetailedPdfReport: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "DownloadResponseComplianceDetailedPdfReport", - modelProperties: { - sasUri: { - serializedName: "sasUri", - readOnly: true, - type: { - name: "String", - }, - }, - }, - }, - }; - -export const SyncCertRecordRequest: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SyncCertRecordRequest", - modelProperties: { - certRecord: { - serializedName: "certRecord", - type: { - name: "Composite", - className: "CertSyncRecord", - }, - }, - }, - }, -}; - -export const SyncCertRecordResponse: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SyncCertRecordResponse", - modelProperties: { - certRecord: { - serializedName: "certRecord", - type: { - name: "Composite", - className: "CertSyncRecord", - }, - }, - }, - }, -}; - -export const ReportVerificationResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ReportVerificationResult", - modelProperties: { - result: { - serializedName: "result", - readOnly: true, - type: { - name: "String", - }, - }, - reason: { - serializedName: "reason", - readOnly: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const WebhookResourceListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WebhookResourceListResult", - modelProperties: { - value: { - serializedName: "value", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "WebhookResource", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, - }, - }, -}; - -export const WebhookProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WebhookProperties", - modelProperties: { - webhookId: { - serializedName: "webhookId", - readOnly: true, - type: { - name: "String", - }, - }, - status: { - serializedName: "status", - type: { - name: "String", - }, - }, - tenantId: { - serializedName: "tenantId", - readOnly: true, - type: { - name: "String", - }, - }, - sendAllEvents: { - serializedName: "sendAllEvents", - type: { - name: "String", - }, - }, - events: { - serializedName: "events", - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - payloadUrl: { - constraints: { - Pattern: new RegExp("^(http(s)?:\\/\\/)[\\S]{0,64994}$"), - }, - serializedName: "payloadUrl", - type: { - name: "String", - }, - }, - contentType: { - serializedName: "contentType", - type: { - name: "String", - }, - }, - webhookKey: { - constraints: { - Pattern: new RegExp("^.{0,2048}$"), - }, - serializedName: "webhookKey", - type: { - name: "String", - }, - }, - updateWebhookKey: { - serializedName: "updateWebhookKey", - type: { - name: "String", - }, - }, - webhookKeyEnabled: { - serializedName: "webhookKeyEnabled", - readOnly: true, - type: { - name: "String", - }, - }, - enableSslVerification: { - serializedName: "enableSslVerification", - type: { - name: "String", - }, - }, - deliveryStatus: { - serializedName: "deliveryStatus", - readOnly: true, - type: { - name: "String", - }, - }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const WebhookResourcePatch: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WebhookResourcePatch", - modelProperties: { - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "WebhookProperties", - }, - }, - }, - }, -}; - -export const TriggerEvaluationRequest: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TriggerEvaluationRequest", - modelProperties: { - resourceIds: { - serializedName: "resourceIds", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - }, - }, -}; - -export const TriggerEvaluationResponse: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TriggerEvaluationResponse", - modelProperties: { - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "TriggerEvaluationProperty", - }, - }, - }, - }, -}; - -export const TriggerEvaluationProperty: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TriggerEvaluationProperty", - modelProperties: { - triggerTime: { - serializedName: "triggerTime", - readOnly: true, - type: { - name: "DateTime", - }, - }, - evaluationEndTime: { - serializedName: "evaluationEndTime", - readOnly: true, - type: { - name: "DateTime", - }, - }, - resourceIds: { - serializedName: "resourceIds", - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - quickAssessments: { - serializedName: "quickAssessments", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "QuickAssessment", - }, - }, - }, - }, - }, - }, -}; - -export const QuickAssessment: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "QuickAssessment", - modelProperties: { - resourceId: { - serializedName: "resourceId", - readOnly: true, - type: { - name: "String", - }, - }, - responsibilityId: { - serializedName: "responsibilityId", - readOnly: true, - type: { - name: "String", - }, - }, - timestamp: { - serializedName: "timestamp", - readOnly: true, - type: { - name: "DateTime", - }, - }, - resourceStatus: { - serializedName: "resourceStatus", - readOnly: true, - type: { - name: "String", - }, - }, - displayName: { - serializedName: "displayName", - readOnly: true, - type: { - name: "String", - }, - }, - description: { - serializedName: "description", - readOnly: true, - type: { - name: "String", - }, - }, - remediationLink: { - serializedName: "remediationLink", - readOnly: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const ProxyResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ProxyResource", - modelProperties: { - ...Resource.type.modelProperties, - }, - }, -}; - -export const ReportResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ReportResource", - modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "ReportProperties", - }, - }, - }, - }, -}; - -export const EvidenceResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EvidenceResource", - modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "EvidenceProperties", - }, - }, - }, - }, -}; - -export const ScopingConfigurationResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ScopingConfigurationResource", - modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "ScopingConfigurationProperties", - }, - }, - }, - }, -}; - -export const SnapshotResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SnapshotResource", - modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "SnapshotProperties", - }, - }, - }, - }, -}; - -export const WebhookResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WebhookResource", - modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "WebhookProperties", - }, - }, - }, - }, -}; - -export const ProviderActionsOnboardHeaders: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ProviderActionsOnboardHeaders", - modelProperties: { - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - serializedName: "retry-after", - type: { - name: "Number", - }, - }, - }, - }, -}; - -export const ProviderActionsTriggerEvaluationHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ProviderActionsTriggerEvaluationHeaders", - modelProperties: { - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - serializedName: "retry-after", - type: { - name: "Number", - }, - }, - }, - }, - }; - -export const ReportCreateOrUpdateHeaders: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ReportCreateOrUpdateHeaders", - modelProperties: { - retryAfter: { - serializedName: "retry-after", - type: { - name: "Number", - }, - }, - }, - }, -}; - -export const ReportUpdateHeaders: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ReportUpdateHeaders", - modelProperties: { - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - serializedName: "retry-after", - type: { - name: "Number", - }, - }, - }, - }, -}; - -export const ReportDeleteHeaders: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ReportDeleteHeaders", - modelProperties: { - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - serializedName: "retry-after", - type: { - name: "Number", - }, - }, - }, - }, -}; - -export const ReportFixHeaders: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ReportFixHeaders", - modelProperties: { - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - serializedName: "retry-after", - type: { - name: "Number", - }, - }, - }, - }, -}; - -export const ReportSyncCertRecordHeaders: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ReportSyncCertRecordHeaders", - modelProperties: { - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - serializedName: "retry-after", - type: { - name: "Number", - }, - }, - }, - }, -}; - -export const ReportVerifyHeaders: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ReportVerifyHeaders", - modelProperties: { - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - serializedName: "retry-after", - type: { - name: "Number", - }, - }, - }, - }, -}; - -export const SnapshotDownloadHeaders: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SnapshotDownloadHeaders", - modelProperties: { - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - serializedName: "retry-after", - type: { - name: "Number", - }, - }, - }, - }, -}; diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/models/parameters.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/models/parameters.ts deleted file mode 100644 index f778070504f9..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/models/parameters.ts +++ /dev/null @@ -1,324 +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 { - OperationParameter, - OperationURLParameter, - OperationQueryParameter, -} from "@azure/core-client"; -import { - CheckNameAvailabilityRequest as CheckNameAvailabilityRequestMapper, - GetCollectionCountRequest as GetCollectionCountRequestMapper, - GetOverviewStatusRequest as GetOverviewStatusRequestMapper, - ListInUseStorageAccountsRequest as ListInUseStorageAccountsRequestMapper, - OnboardRequest as OnboardRequestMapper, - TriggerEvaluationRequest as TriggerEvaluationRequestMapper, - ReportResource as ReportResourceMapper, - ReportResourcePatch as ReportResourcePatchMapper, - SyncCertRecordRequest as SyncCertRecordRequestMapper, - EvidenceResource as EvidenceResourceMapper, - EvidenceFileDownloadRequest as EvidenceFileDownloadRequestMapper, - ScopingConfigurationResource as ScopingConfigurationResourceMapper, - SnapshotDownloadRequest as SnapshotDownloadRequestMapper, - WebhookResource as WebhookResourceMapper, - WebhookResourcePatch as WebhookResourcePatchMapper, -} from "../models/mappers"; - -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 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-06-27", - isConstant: true, - serializedName: "api-version", - type: { - name: "String", - }, - }, -}; - -export const body1: OperationParameter = { - parameterPath: "body", - mapper: GetCollectionCountRequestMapper, -}; - -export const body2: OperationParameter = { - parameterPath: "body", - mapper: GetOverviewStatusRequestMapper, -}; - -export const body3: OperationParameter = { - parameterPath: "body", - mapper: ListInUseStorageAccountsRequestMapper, -}; - -export const body4: OperationParameter = { - parameterPath: "body", - mapper: OnboardRequestMapper, -}; - -export const body5: OperationParameter = { - parameterPath: "body", - mapper: TriggerEvaluationRequestMapper, -}; - -export const nextLink: OperationURLParameter = { - parameterPath: "nextLink", - mapper: { - serializedName: "nextLink", - required: true, - type: { - name: "String", - }, - }, - skipEncoding: true, -}; - -export const skipToken: OperationQueryParameter = { - parameterPath: ["options", "skipToken"], - mapper: { - serializedName: "$skipToken", - type: { - name: "String", - }, - }, -}; - -export const top: OperationQueryParameter = { - parameterPath: ["options", "top"], - mapper: { - constraints: { - InclusiveMaximum: 100, - InclusiveMinimum: 1, - }, - serializedName: "$top", - type: { - name: "Number", - }, - }, -}; - -export const select: OperationQueryParameter = { - parameterPath: ["options", "select"], - mapper: { - constraints: { - MinLength: 1, - }, - serializedName: "$select", - type: { - name: "String", - }, - }, -}; - -export const filter: OperationQueryParameter = { - parameterPath: ["options", "filter"], - mapper: { - constraints: { - MinLength: 1, - }, - serializedName: "$filter", - type: { - name: "String", - }, - }, -}; - -export const orderby: OperationQueryParameter = { - parameterPath: ["options", "orderby"], - mapper: { - constraints: { - MinLength: 1, - }, - serializedName: "$orderby", - type: { - name: "String", - }, - }, -}; - -export const offerGuid: OperationQueryParameter = { - parameterPath: ["options", "offerGuid"], - mapper: { - constraints: { - MinLength: 1, - }, - serializedName: "offerGuid", - type: { - name: "String", - }, - }, -}; - -export const reportCreatorTenantId: OperationQueryParameter = { - parameterPath: ["options", "reportCreatorTenantId"], - mapper: { - constraints: { - MinLength: 1, - }, - serializedName: "reportCreatorTenantId", - type: { - name: "String", - }, - }, -}; - -export const reportName: OperationURLParameter = { - parameterPath: "reportName", - mapper: { - constraints: { - Pattern: new RegExp("^[-a-zA-Z0-9_]{1,50}$"), - }, - serializedName: "reportName", - required: true, - type: { - name: "String", - }, - }, -}; - -export const properties: OperationParameter = { - parameterPath: "properties", - mapper: ReportResourceMapper, -}; - -export const properties1: OperationParameter = { - parameterPath: "properties", - mapper: ReportResourcePatchMapper, -}; - -export const body6: OperationParameter = { - parameterPath: "body", - mapper: SyncCertRecordRequestMapper, -}; - -export const evidenceName: OperationURLParameter = { - parameterPath: "evidenceName", - mapper: { - constraints: { - Pattern: new RegExp("^[a-zA-Z0-9-_.]+$"), - }, - serializedName: "evidenceName", - required: true, - type: { - name: "String", - }, - }, -}; - -export const properties2: OperationParameter = { - parameterPath: "properties", - mapper: EvidenceResourceMapper, -}; - -export const body7: OperationParameter = { - parameterPath: "body", - mapper: EvidenceFileDownloadRequestMapper, -}; - -export const scopingConfigurationName: OperationURLParameter = { - parameterPath: "scopingConfigurationName", - mapper: { - constraints: { - Pattern: new RegExp("^[a-zA-Z0-9_]*$"), - }, - serializedName: "scopingConfigurationName", - required: true, - type: { - name: "String", - }, - }, -}; - -export const properties3: OperationParameter = { - parameterPath: "properties", - mapper: ScopingConfigurationResourceMapper, -}; - -export const snapshotName: OperationURLParameter = { - parameterPath: "snapshotName", - mapper: { - constraints: { - Pattern: new RegExp("^[a-zA-Z0-9-_]{1,64}$"), - }, - serializedName: "snapshotName", - required: true, - type: { - name: "String", - }, - }, -}; - -export const body8: OperationParameter = { - parameterPath: "body", - mapper: SnapshotDownloadRequestMapper, -}; - -export const webhookName: OperationURLParameter = { - parameterPath: "webhookName", - mapper: { - constraints: { - Pattern: new RegExp("^[-a-zA-Z0-9_]{1,50}$"), - }, - serializedName: "webhookName", - required: true, - type: { - name: "String", - }, - }, -}; - -export const properties4: OperationParameter = { - parameterPath: "properties", - mapper: WebhookResourceMapper, -}; - -export const properties5: OperationParameter = { - parameterPath: "properties", - mapper: WebhookResourcePatchMapper, -}; diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operations/evidence.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operations/evidence.ts deleted file mode 100644 index b0f8a1885b3e..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operations/evidence.ts +++ /dev/null @@ -1,343 +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 { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; -import { setContinuationToken } from "../pagingHelper"; -import { Evidence } from "../operationsInterfaces"; -import * as coreClient from "@azure/core-client"; -import * as Mappers from "../models/mappers"; -import * as Parameters from "../models/parameters"; -import { AppComplianceAutomationToolForMicrosoft365 } from "../appComplianceAutomationToolForMicrosoft365"; -import { - EvidenceResource, - EvidenceListByReportNextOptionalParams, - EvidenceListByReportOptionalParams, - EvidenceListByReportResponse, - EvidenceGetOptionalParams, - EvidenceGetResponse, - EvidenceCreateOrUpdateOptionalParams, - EvidenceCreateOrUpdateResponse, - EvidenceDeleteOptionalParams, - EvidenceFileDownloadRequest, - EvidenceDownloadOptionalParams, - EvidenceDownloadResponse, - EvidenceListByReportNextResponse, -} from "../models"; - -/// -/** Class containing Evidence operations. */ -export class EvidenceImpl implements Evidence { - private readonly client: AppComplianceAutomationToolForMicrosoft365; - - /** - * Initialize a new instance of the class Evidence class. - * @param client Reference to the service client - */ - constructor(client: AppComplianceAutomationToolForMicrosoft365) { - this.client = client; - } - - /** - * Returns a paginated list of evidences for a specified report. - * @param reportName Report Name. - * @param options The options parameters. - */ - public listByReport( - reportName: string, - options?: EvidenceListByReportOptionalParams, - ): PagedAsyncIterableIterator { - const iter = this.listByReportPagingAll(reportName, 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.listByReportPagingPage(reportName, options, settings); - }, - }; - } - - private async *listByReportPagingPage( - reportName: string, - options?: EvidenceListByReportOptionalParams, - settings?: PageSettings, - ): AsyncIterableIterator { - let result: EvidenceListByReportResponse; - let continuationToken = settings?.continuationToken; - if (!continuationToken) { - result = await this._listByReport(reportName, options); - let page = result.value || []; - continuationToken = result.nextLink; - setContinuationToken(page, continuationToken); - yield page; - } - while (continuationToken) { - result = await this._listByReportNext( - reportName, - continuationToken, - options, - ); - continuationToken = result.nextLink; - let page = result.value || []; - setContinuationToken(page, continuationToken); - yield page; - } - } - - private async *listByReportPagingAll( - reportName: string, - options?: EvidenceListByReportOptionalParams, - ): AsyncIterableIterator { - for await (const page of this.listByReportPagingPage(reportName, options)) { - yield* page; - } - } - - /** - * Returns a paginated list of evidences for a specified report. - * @param reportName Report Name. - * @param options The options parameters. - */ - private _listByReport( - reportName: string, - options?: EvidenceListByReportOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { reportName, options }, - listByReportOperationSpec, - ); - } - - /** - * Get the evidence metadata - * @param reportName Report Name. - * @param evidenceName The evidence name. - * @param options The options parameters. - */ - get( - reportName: string, - evidenceName: string, - options?: EvidenceGetOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { reportName, evidenceName, options }, - getOperationSpec, - ); - } - - /** - * Create or Update an evidence a specified report - * @param reportName Report Name. - * @param evidenceName The evidence name. - * @param properties Parameters for the create or update operation - * @param options The options parameters. - */ - createOrUpdate( - reportName: string, - evidenceName: string, - properties: EvidenceResource, - options?: EvidenceCreateOrUpdateOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { reportName, evidenceName, properties, options }, - createOrUpdateOperationSpec, - ); - } - - /** - * Delete an existent evidence from a specified report - * @param reportName Report Name. - * @param evidenceName The evidence name. - * @param options The options parameters. - */ - delete( - reportName: string, - evidenceName: string, - options?: EvidenceDeleteOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { reportName, evidenceName, options }, - deleteOperationSpec, - ); - } - - /** - * Download evidence file. - * @param reportName Report Name. - * @param evidenceName The evidence name. - * @param body Parameters for the query operation - * @param options The options parameters. - */ - download( - reportName: string, - evidenceName: string, - body: EvidenceFileDownloadRequest, - options?: EvidenceDownloadOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { reportName, evidenceName, body, options }, - downloadOperationSpec, - ); - } - - /** - * ListByReportNext - * @param reportName Report Name. - * @param nextLink The nextLink from the previous successful call to the ListByReport method. - * @param options The options parameters. - */ - private _listByReportNext( - reportName: string, - nextLink: string, - options?: EvidenceListByReportNextOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { reportName, nextLink, options }, - listByReportNextOperationSpec, - ); - } -} -// Operation Specifications -const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); - -const listByReportOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.EvidenceResourceListResult, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skipToken, - Parameters.top, - Parameters.select, - Parameters.filter, - Parameters.orderby, - Parameters.offerGuid, - Parameters.reportCreatorTenantId, - ], - urlParameters: [Parameters.$host, Parameters.reportName], - headerParameters: [Parameters.accept], - serializer, -}; -const getOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences/{evidenceName}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.EvidenceResource, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.reportName, - Parameters.evidenceName, - ], - headerParameters: [Parameters.accept], - serializer, -}; -const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences/{evidenceName}", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.EvidenceResource, - }, - 201: { - bodyMapper: Mappers.EvidenceResource, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - requestBody: Parameters.properties2, - queryParameters: [ - Parameters.apiVersion, - Parameters.offerGuid, - Parameters.reportCreatorTenantId, - ], - urlParameters: [ - Parameters.$host, - Parameters.reportName, - Parameters.evidenceName, - ], - headerParameters: [Parameters.contentType, Parameters.accept], - mediaType: "json", - serializer, -}; -const deleteOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences/{evidenceName}", - httpMethod: "DELETE", - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.reportName, - Parameters.evidenceName, - ], - headerParameters: [Parameters.accept], - serializer, -}; -const downloadOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences/{evidenceName}/download", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.EvidenceFileDownloadResponse, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - requestBody: Parameters.body7, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.reportName, - Parameters.evidenceName, - ], - headerParameters: [Parameters.contentType, Parameters.accept], - mediaType: "json", - serializer, -}; -const listByReportNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.EvidenceResourceListResult, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.reportName], - headerParameters: [Parameters.accept], - serializer, -}; diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operations/index.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operations/index.ts deleted file mode 100644 index 6b113b0728d3..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operations/index.ts +++ /dev/null @@ -1,15 +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. - */ - -export * from "./providerActions"; -export * from "./operations"; -export * from "./report"; -export * from "./evidence"; -export * from "./scopingConfiguration"; -export * from "./snapshot"; -export * from "./webhook"; diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operations/operations.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operations/operations.ts deleted file mode 100644 index 5c381f68fa0f..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operations/operations.ts +++ /dev/null @@ -1,149 +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 { 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 { AppComplianceAutomationToolForMicrosoft365 } from "../appComplianceAutomationToolForMicrosoft365"; -import { - Operation, - OperationsListNextOptionalParams, - OperationsListOptionalParams, - OperationsListResponse, - OperationsListNextResponse, -} from "../models"; - -/// -/** Class containing Operations operations. */ -export class OperationsImpl implements Operations { - private readonly client: AppComplianceAutomationToolForMicrosoft365; - - /** - * Initialize a new instance of the class Operations class. - * @param client Reference to the service client - */ - constructor(client: AppComplianceAutomationToolForMicrosoft365) { - 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.AppComplianceAutomation/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/appcomplianceautomation/arm-appcomplianceautomation/src/operations/providerActions.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operations/providerActions.ts deleted file mode 100644 index dff46b2f29d6..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operations/providerActions.ts +++ /dev/null @@ -1,405 +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 { ProviderActions } from "../operationsInterfaces"; -import * as coreClient from "@azure/core-client"; -import * as Mappers from "../models/mappers"; -import * as Parameters from "../models/parameters"; -import { AppComplianceAutomationToolForMicrosoft365 } from "../appComplianceAutomationToolForMicrosoft365"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; -import { createLroSpec } from "../lroImpl"; -import { - CheckNameAvailabilityRequest, - ProviderActionsCheckNameAvailabilityOptionalParams, - ProviderActionsCheckNameAvailabilityResponse, - GetCollectionCountRequest, - ProviderActionsGetCollectionCountOptionalParams, - ProviderActionsGetCollectionCountResponse, - GetOverviewStatusRequest, - ProviderActionsGetOverviewStatusOptionalParams, - ProviderActionsGetOverviewStatusResponse, - ListInUseStorageAccountsRequest, - ProviderActionsListInUseStorageAccountsOptionalParams, - ProviderActionsListInUseStorageAccountsResponse, - OnboardRequest, - ProviderActionsOnboardOptionalParams, - ProviderActionsOnboardResponse, - TriggerEvaluationRequest, - ProviderActionsTriggerEvaluationOptionalParams, - ProviderActionsTriggerEvaluationResponse, -} from "../models"; - -/** Class containing ProviderActions operations. */ -export class ProviderActionsImpl implements ProviderActions { - private readonly client: AppComplianceAutomationToolForMicrosoft365; - - /** - * Initialize a new instance of the class ProviderActions class. - * @param client Reference to the service client - */ - constructor(client: AppComplianceAutomationToolForMicrosoft365) { - this.client = client; - } - - /** - * Check if the given name is available for a report. - * @param body The content of the action request - * @param options The options parameters. - */ - checkNameAvailability( - body: CheckNameAvailabilityRequest, - options?: ProviderActionsCheckNameAvailabilityOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { body, options }, - checkNameAvailabilityOperationSpec, - ); - } - - /** - * Get the count of reports. - * @param body The content of the action request - * @param options The options parameters. - */ - getCollectionCount( - body: GetCollectionCountRequest, - options?: ProviderActionsGetCollectionCountOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { body, options }, - getCollectionCountOperationSpec, - ); - } - - /** - * Get the resource overview status. - * @param body The content of the action request - * @param options The options parameters. - */ - getOverviewStatus( - body: GetOverviewStatusRequest, - options?: ProviderActionsGetOverviewStatusOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { body, options }, - getOverviewStatusOperationSpec, - ); - } - - /** - * List the storage accounts which are in use by related reports - * @param body The content of the action request - * @param options The options parameters. - */ - listInUseStorageAccounts( - body: ListInUseStorageAccountsRequest, - options?: ProviderActionsListInUseStorageAccountsOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { body, options }, - listInUseStorageAccountsOperationSpec, - ); - } - - /** - * Onboard given subscriptions to Microsoft.AppComplianceAutomation provider. - * @param body The content of the action request - * @param options The options parameters. - */ - async beginOnboard( - body: OnboardRequest, - options?: ProviderActionsOnboardOptionalParams, - ): Promise< - SimplePollerLike< - OperationState, - ProviderActionsOnboardResponse - > - > { - 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: { body, options }, - spec: onboardOperationSpec, - }); - const poller = await createHttpPoller< - ProviderActionsOnboardResponse, - OperationState - >(lro, { - restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs, - resourceLocationConfig: "location", - }); - await poller.poll(); - return poller; - } - - /** - * Onboard given subscriptions to Microsoft.AppComplianceAutomation provider. - * @param body The content of the action request - * @param options The options parameters. - */ - async beginOnboardAndWait( - body: OnboardRequest, - options?: ProviderActionsOnboardOptionalParams, - ): Promise { - const poller = await this.beginOnboard(body, options); - return poller.pollUntilDone(); - } - - /** - * Trigger quick evaluation for the given subscriptions. - * @param body The content of the action request - * @param options The options parameters. - */ - async beginTriggerEvaluation( - body: TriggerEvaluationRequest, - options?: ProviderActionsTriggerEvaluationOptionalParams, - ): Promise< - SimplePollerLike< - OperationState, - ProviderActionsTriggerEvaluationResponse - > - > { - 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: { body, options }, - spec: triggerEvaluationOperationSpec, - }); - const poller = await createHttpPoller< - ProviderActionsTriggerEvaluationResponse, - OperationState - >(lro, { - restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs, - resourceLocationConfig: "location", - }); - await poller.poll(); - return poller; - } - - /** - * Trigger quick evaluation for the given subscriptions. - * @param body The content of the action request - * @param options The options parameters. - */ - async beginTriggerEvaluationAndWait( - body: TriggerEvaluationRequest, - options?: ProviderActionsTriggerEvaluationOptionalParams, - ): Promise { - const poller = await this.beginTriggerEvaluation(body, options); - return poller.pollUntilDone(); - } -} -// Operation Specifications -const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); - -const checkNameAvailabilityOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/checkNameAvailability", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.CheckNameAvailabilityResponse, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - requestBody: Parameters.body, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host], - headerParameters: [Parameters.contentType, Parameters.accept], - mediaType: "json", - serializer, -}; -const getCollectionCountOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/getCollectionCount", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.GetCollectionCountResponse, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - requestBody: Parameters.body1, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host], - headerParameters: [Parameters.contentType, Parameters.accept], - mediaType: "json", - serializer, -}; -const getOverviewStatusOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/getOverviewStatus", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.GetOverviewStatusResponse, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - requestBody: Parameters.body2, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host], - headerParameters: [Parameters.contentType, Parameters.accept], - mediaType: "json", - serializer, -}; -const listInUseStorageAccountsOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/listInUseStorageAccounts", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.ListInUseStorageAccountsResponse, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - requestBody: Parameters.body3, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host], - headerParameters: [Parameters.contentType, Parameters.accept], - mediaType: "json", - serializer, -}; -const onboardOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/onboard", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.OnboardResponse, - }, - 201: { - bodyMapper: Mappers.OnboardResponse, - }, - 202: { - bodyMapper: Mappers.OnboardResponse, - }, - 204: { - bodyMapper: Mappers.OnboardResponse, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - requestBody: Parameters.body4, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host], - headerParameters: [Parameters.contentType, Parameters.accept], - mediaType: "json", - serializer, -}; -const triggerEvaluationOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/triggerEvaluation", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.TriggerEvaluationResponse, - }, - 201: { - bodyMapper: Mappers.TriggerEvaluationResponse, - }, - 202: { - bodyMapper: Mappers.TriggerEvaluationResponse, - }, - 204: { - bodyMapper: Mappers.TriggerEvaluationResponse, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - requestBody: Parameters.body5, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host], - headerParameters: [Parameters.contentType, Parameters.accept], - mediaType: "json", - serializer, -}; diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operations/report.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operations/report.ts deleted file mode 100644 index bdef05242d52..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operations/report.ts +++ /dev/null @@ -1,938 +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 { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; -import { setContinuationToken } from "../pagingHelper"; -import { Report } from "../operationsInterfaces"; -import * as coreClient from "@azure/core-client"; -import * as Mappers from "../models/mappers"; -import * as Parameters from "../models/parameters"; -import { AppComplianceAutomationToolForMicrosoft365 } from "../appComplianceAutomationToolForMicrosoft365"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; -import { createLroSpec } from "../lroImpl"; -import { - ReportResource, - ReportListNextOptionalParams, - ReportListOptionalParams, - ReportListResponse, - ReportGetOptionalParams, - ReportGetResponse, - ReportCreateOrUpdateOptionalParams, - ReportCreateOrUpdateResponse, - ReportResourcePatch, - ReportUpdateOptionalParams, - ReportUpdateResponse, - ReportDeleteOptionalParams, - ReportDeleteResponse, - CheckNameAvailabilityRequest, - ReportNestedResourceCheckNameAvailabilityOptionalParams, - ReportNestedResourceCheckNameAvailabilityResponse, - ReportFixOptionalParams, - ReportFixResponse, - ReportGetScopingQuestionsOptionalParams, - ReportGetScopingQuestionsResponse, - SyncCertRecordRequest, - ReportSyncCertRecordOptionalParams, - ReportSyncCertRecordResponse, - ReportVerifyOptionalParams, - ReportVerifyResponse, - ReportListNextResponse, -} from "../models"; - -/// -/** Class containing Report operations. */ -export class ReportImpl implements Report { - private readonly client: AppComplianceAutomationToolForMicrosoft365; - - /** - * Initialize a new instance of the class Report class. - * @param client Reference to the service client - */ - constructor(client: AppComplianceAutomationToolForMicrosoft365) { - this.client = client; - } - - /** - * Get the AppComplianceAutomation report list for the tenant. - * @param options The options parameters. - */ - public list( - options?: ReportListOptionalParams, - ): 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?: ReportListOptionalParams, - settings?: PageSettings, - ): AsyncIterableIterator { - let result: ReportListResponse; - 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?: ReportListOptionalParams, - ): AsyncIterableIterator { - for await (const page of this.listPagingPage(options)) { - yield* page; - } - } - - /** - * Get the AppComplianceAutomation report list for the tenant. - * @param options The options parameters. - */ - private _list( - options?: ReportListOptionalParams, - ): Promise { - return this.client.sendOperationRequest({ options }, listOperationSpec); - } - - /** - * Get the AppComplianceAutomation report and its properties. - * @param reportName Report Name. - * @param options The options parameters. - */ - get( - reportName: string, - options?: ReportGetOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { reportName, options }, - getOperationSpec, - ); - } - - /** - * Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report. - * @param reportName Report Name. - * @param properties Parameters for the create or update operation - * @param options The options parameters. - */ - async beginCreateOrUpdate( - reportName: string, - properties: ReportResource, - options?: ReportCreateOrUpdateOptionalParams, - ): Promise< - SimplePollerLike< - OperationState, - ReportCreateOrUpdateResponse - > - > { - 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: { reportName, properties, options }, - spec: createOrUpdateOperationSpec, - }); - const poller = await createHttpPoller< - ReportCreateOrUpdateResponse, - OperationState - >(lro, { - restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs, - resourceLocationConfig: "azure-async-operation", - }); - await poller.poll(); - return poller; - } - - /** - * Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report. - * @param reportName Report Name. - * @param properties Parameters for the create or update operation - * @param options The options parameters. - */ - async beginCreateOrUpdateAndWait( - reportName: string, - properties: ReportResource, - options?: ReportCreateOrUpdateOptionalParams, - ): Promise { - const poller = await this.beginCreateOrUpdate( - reportName, - properties, - options, - ); - return poller.pollUntilDone(); - } - - /** - * Update an exiting AppComplianceAutomation report. - * @param reportName Report Name. - * @param properties Parameters for the create or update operation - * @param options The options parameters. - */ - async beginUpdate( - reportName: string, - properties: ReportResourcePatch, - options?: ReportUpdateOptionalParams, - ): Promise< - SimplePollerLike, ReportUpdateResponse> - > { - 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: { reportName, properties, options }, - spec: updateOperationSpec, - }); - const poller = await createHttpPoller< - ReportUpdateResponse, - OperationState - >(lro, { - restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs, - resourceLocationConfig: "location", - }); - await poller.poll(); - return poller; - } - - /** - * Update an exiting AppComplianceAutomation report. - * @param reportName Report Name. - * @param properties Parameters for the create or update operation - * @param options The options parameters. - */ - async beginUpdateAndWait( - reportName: string, - properties: ReportResourcePatch, - options?: ReportUpdateOptionalParams, - ): Promise { - const poller = await this.beginUpdate(reportName, properties, options); - return poller.pollUntilDone(); - } - - /** - * Delete an AppComplianceAutomation report. - * @param reportName Report Name. - * @param options The options parameters. - */ - async beginDelete( - reportName: string, - options?: ReportDeleteOptionalParams, - ): Promise< - SimplePollerLike, ReportDeleteResponse> - > { - 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: { reportName, options }, - spec: deleteOperationSpec, - }); - const poller = await createHttpPoller< - ReportDeleteResponse, - OperationState - >(lro, { - restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs, - resourceLocationConfig: "location", - }); - await poller.poll(); - return poller; - } - - /** - * Delete an AppComplianceAutomation report. - * @param reportName Report Name. - * @param options The options parameters. - */ - async beginDeleteAndWait( - reportName: string, - options?: ReportDeleteOptionalParams, - ): Promise { - const poller = await this.beginDelete(reportName, options); - return poller.pollUntilDone(); - } - - /** - * Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots. - * @param reportName Report Name. - * @param body NameAvailabilityRequest object. - * @param options The options parameters. - */ - nestedResourceCheckNameAvailability( - reportName: string, - body: CheckNameAvailabilityRequest, - options?: ReportNestedResourceCheckNameAvailabilityOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { reportName, body, options }, - nestedResourceCheckNameAvailabilityOperationSpec, - ); - } - - /** - * Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service - * unregistered, automation removed. - * @param reportName Report Name. - * @param options The options parameters. - */ - async beginFix( - reportName: string, - options?: ReportFixOptionalParams, - ): Promise< - SimplePollerLike, ReportFixResponse> - > { - 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: { reportName, options }, - spec: fixOperationSpec, - }); - const poller = await createHttpPoller< - ReportFixResponse, - OperationState - >(lro, { - restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs, - resourceLocationConfig: "location", - }); - await poller.poll(); - return poller; - } - - /** - * Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service - * unregistered, automation removed. - * @param reportName Report Name. - * @param options The options parameters. - */ - async beginFixAndWait( - reportName: string, - options?: ReportFixOptionalParams, - ): Promise { - const poller = await this.beginFix(reportName, options); - return poller.pollUntilDone(); - } - - /** - * Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service - * unregistered, automation removed. - * @param reportName Report Name. - * @param options The options parameters. - */ - getScopingQuestions( - reportName: string, - options?: ReportGetScopingQuestionsOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { reportName, options }, - getScopingQuestionsOperationSpec, - ); - } - - /** - * Synchronize attestation record from app compliance. - * @param reportName Report Name. - * @param body Parameters for synchronize certification record operation - * @param options The options parameters. - */ - async beginSyncCertRecord( - reportName: string, - body: SyncCertRecordRequest, - options?: ReportSyncCertRecordOptionalParams, - ): Promise< - SimplePollerLike< - OperationState, - ReportSyncCertRecordResponse - > - > { - 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: { reportName, body, options }, - spec: syncCertRecordOperationSpec, - }); - const poller = await createHttpPoller< - ReportSyncCertRecordResponse, - OperationState - >(lro, { - restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs, - resourceLocationConfig: "location", - }); - await poller.poll(); - return poller; - } - - /** - * Synchronize attestation record from app compliance. - * @param reportName Report Name. - * @param body Parameters for synchronize certification record operation - * @param options The options parameters. - */ - async beginSyncCertRecordAndWait( - reportName: string, - body: SyncCertRecordRequest, - options?: ReportSyncCertRecordOptionalParams, - ): Promise { - const poller = await this.beginSyncCertRecord(reportName, body, options); - return poller.pollUntilDone(); - } - - /** - * Verify the AppComplianceAutomation report health status. - * @param reportName Report Name. - * @param options The options parameters. - */ - async beginVerify( - reportName: string, - options?: ReportVerifyOptionalParams, - ): Promise< - SimplePollerLike, ReportVerifyResponse> - > { - 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: { reportName, options }, - spec: verifyOperationSpec, - }); - const poller = await createHttpPoller< - ReportVerifyResponse, - OperationState - >(lro, { - restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs, - resourceLocationConfig: "location", - }); - await poller.poll(); - return poller; - } - - /** - * Verify the AppComplianceAutomation report health status. - * @param reportName Report Name. - * @param options The options parameters. - */ - async beginVerifyAndWait( - reportName: string, - options?: ReportVerifyOptionalParams, - ): Promise { - const poller = await this.beginVerify(reportName, 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?: ReportListNextOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { nextLink, options }, - listNextOperationSpec, - ); - } -} -// Operation Specifications -const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); - -const listOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/reports", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ReportResourceListResult, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skipToken, - Parameters.top, - Parameters.select, - Parameters.filter, - Parameters.orderby, - Parameters.offerGuid, - Parameters.reportCreatorTenantId, - ], - urlParameters: [Parameters.$host], - headerParameters: [Parameters.accept], - serializer, -}; -const getOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ReportResource, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host, Parameters.reportName], - headerParameters: [Parameters.accept], - serializer, -}; -const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.ReportResource, - }, - 201: { - bodyMapper: Mappers.ReportResource, - }, - 202: { - bodyMapper: Mappers.ReportResource, - }, - 204: { - bodyMapper: Mappers.ReportResource, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - requestBody: Parameters.properties, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host, Parameters.reportName], - headerParameters: [Parameters.contentType, Parameters.accept], - mediaType: "json", - serializer, -}; -const updateOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}", - httpMethod: "PATCH", - responses: { - 200: { - bodyMapper: Mappers.ReportResource, - }, - 201: { - bodyMapper: Mappers.ReportResource, - }, - 202: { - bodyMapper: Mappers.ReportResource, - }, - 204: { - bodyMapper: Mappers.ReportResource, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - requestBody: Parameters.properties1, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host, Parameters.reportName], - headerParameters: [Parameters.contentType, Parameters.accept], - mediaType: "json", - serializer, -}; -const deleteOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}", - httpMethod: "DELETE", - responses: { - 200: { - headersMapper: Mappers.ReportDeleteHeaders, - }, - 201: { - headersMapper: Mappers.ReportDeleteHeaders, - }, - 202: { - headersMapper: Mappers.ReportDeleteHeaders, - }, - 204: { - headersMapper: Mappers.ReportDeleteHeaders, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host, Parameters.reportName], - headerParameters: [Parameters.accept], - serializer, -}; -const nestedResourceCheckNameAvailabilityOperationSpec: coreClient.OperationSpec = - { - path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/checkNameAvailability", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.CheckNameAvailabilityResponse, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - requestBody: Parameters.body, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host, Parameters.reportName], - headerParameters: [Parameters.contentType, Parameters.accept], - mediaType: "json", - serializer, - }; -const fixOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/fix", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.ReportFixResult, - }, - 201: { - bodyMapper: Mappers.ReportFixResult, - }, - 202: { - bodyMapper: Mappers.ReportFixResult, - }, - 204: { - bodyMapper: Mappers.ReportFixResult, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host, Parameters.reportName], - headerParameters: [Parameters.accept], - serializer, -}; -const getScopingQuestionsOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/getScopingQuestions", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.ScopingQuestions, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host, Parameters.reportName], - headerParameters: [Parameters.accept], - serializer, -}; -const syncCertRecordOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/syncCertRecord", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.SyncCertRecordResponse, - }, - 201: { - bodyMapper: Mappers.SyncCertRecordResponse, - }, - 202: { - bodyMapper: Mappers.SyncCertRecordResponse, - }, - 204: { - bodyMapper: Mappers.SyncCertRecordResponse, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - requestBody: Parameters.body6, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host, Parameters.reportName], - headerParameters: [Parameters.contentType, Parameters.accept], - mediaType: "json", - serializer, -}; -const verifyOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/verify", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.ReportVerificationResult, - }, - 201: { - bodyMapper: Mappers.ReportVerificationResult, - }, - 202: { - bodyMapper: Mappers.ReportVerificationResult, - }, - 204: { - bodyMapper: Mappers.ReportVerificationResult, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host, Parameters.reportName], - headerParameters: [Parameters.accept], - serializer, -}; -const listNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ReportResourceListResult, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - urlParameters: [Parameters.$host, Parameters.nextLink], - headerParameters: [Parameters.accept], - serializer, -}; diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operations/scopingConfiguration.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operations/scopingConfiguration.ts deleted file mode 100644 index 74df939b9d43..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operations/scopingConfiguration.ts +++ /dev/null @@ -1,283 +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 { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; -import { setContinuationToken } from "../pagingHelper"; -import { ScopingConfiguration } from "../operationsInterfaces"; -import * as coreClient from "@azure/core-client"; -import * as Mappers from "../models/mappers"; -import * as Parameters from "../models/parameters"; -import { AppComplianceAutomationToolForMicrosoft365 } from "../appComplianceAutomationToolForMicrosoft365"; -import { - ScopingConfigurationResource, - ScopingConfigurationListNextOptionalParams, - ScopingConfigurationListOptionalParams, - ScopingConfigurationListResponse, - ScopingConfigurationGetOptionalParams, - ScopingConfigurationGetResponse, - ScopingConfigurationCreateOrUpdateOptionalParams, - ScopingConfigurationCreateOrUpdateResponse, - ScopingConfigurationDeleteOptionalParams, - ScopingConfigurationListNextResponse, -} from "../models"; - -/// -/** Class containing ScopingConfiguration operations. */ -export class ScopingConfigurationImpl implements ScopingConfiguration { - private readonly client: AppComplianceAutomationToolForMicrosoft365; - - /** - * Initialize a new instance of the class ScopingConfiguration class. - * @param client Reference to the service client - */ - constructor(client: AppComplianceAutomationToolForMicrosoft365) { - this.client = client; - } - - /** - * Returns a list format of the singleton scopingConfiguration for a specified report. - * @param reportName Report Name. - * @param options The options parameters. - */ - public list( - reportName: string, - options?: ScopingConfigurationListOptionalParams, - ): PagedAsyncIterableIterator { - const iter = this.listPagingAll(reportName, 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(reportName, options, settings); - }, - }; - } - - private async *listPagingPage( - reportName: string, - options?: ScopingConfigurationListOptionalParams, - settings?: PageSettings, - ): AsyncIterableIterator { - let result: ScopingConfigurationListResponse; - let continuationToken = settings?.continuationToken; - if (!continuationToken) { - result = await this._list(reportName, options); - let page = result.value || []; - continuationToken = result.nextLink; - setContinuationToken(page, continuationToken); - yield page; - } - while (continuationToken) { - result = await this._listNext(reportName, continuationToken, options); - continuationToken = result.nextLink; - let page = result.value || []; - setContinuationToken(page, continuationToken); - yield page; - } - } - - private async *listPagingAll( - reportName: string, - options?: ScopingConfigurationListOptionalParams, - ): AsyncIterableIterator { - for await (const page of this.listPagingPage(reportName, options)) { - yield* page; - } - } - - /** - * Returns a list format of the singleton scopingConfiguration for a specified report. - * @param reportName Report Name. - * @param options The options parameters. - */ - private _list( - reportName: string, - options?: ScopingConfigurationListOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { reportName, options }, - listOperationSpec, - ); - } - - /** - * Get the AppComplianceAutomation scoping configuration of the specific report. - * @param reportName Report Name. - * @param scopingConfigurationName The scoping configuration of the specific report. - * @param options The options parameters. - */ - get( - reportName: string, - scopingConfigurationName: string, - options?: ScopingConfigurationGetOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { reportName, scopingConfigurationName, options }, - getOperationSpec, - ); - } - - /** - * Get the AppComplianceAutomation scoping configuration of the specific report. - * @param reportName Report Name. - * @param scopingConfigurationName The scoping configuration of the specific report. - * @param properties Parameters for the create or update operation, this is a singleton resource, so - * please make sure you're using 'default' as the name. - * @param options The options parameters. - */ - createOrUpdate( - reportName: string, - scopingConfigurationName: string, - properties: ScopingConfigurationResource, - options?: ScopingConfigurationCreateOrUpdateOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { reportName, scopingConfigurationName, properties, options }, - createOrUpdateOperationSpec, - ); - } - - /** - * Clean the AppComplianceAutomation scoping configuration of the specific report. - * @param reportName Report Name. - * @param scopingConfigurationName The scoping configuration of the specific report. - * @param options The options parameters. - */ - delete( - reportName: string, - scopingConfigurationName: string, - options?: ScopingConfigurationDeleteOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { reportName, scopingConfigurationName, options }, - deleteOperationSpec, - ); - } - - /** - * ListNext - * @param reportName Report Name. - * @param nextLink The nextLink from the previous successful call to the List method. - * @param options The options parameters. - */ - private _listNext( - reportName: string, - nextLink: string, - options?: ScopingConfigurationListNextOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { reportName, nextLink, options }, - listNextOperationSpec, - ); - } -} -// Operation Specifications -const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); - -const listOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/scopingConfigurations", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ScopingConfigurationResourceListResult, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host, Parameters.reportName], - headerParameters: [Parameters.accept], - serializer, -}; -const getOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/scopingConfigurations/{scopingConfigurationName}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ScopingConfigurationResource, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.reportName, - Parameters.scopingConfigurationName, - ], - headerParameters: [Parameters.accept], - serializer, -}; -const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/scopingConfigurations/{scopingConfigurationName}", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.ScopingConfigurationResource, - }, - 201: { - bodyMapper: Mappers.ScopingConfigurationResource, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - requestBody: Parameters.properties3, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.reportName, - Parameters.scopingConfigurationName, - ], - headerParameters: [Parameters.contentType, Parameters.accept], - mediaType: "json", - serializer, -}; -const deleteOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/scopingConfigurations/{scopingConfigurationName}", - httpMethod: "DELETE", - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.reportName, - Parameters.scopingConfigurationName, - ], - headerParameters: [Parameters.accept], - serializer, -}; -const listNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ScopingConfigurationResourceListResult, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.reportName], - headerParameters: [Parameters.accept], - serializer, -}; diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operations/snapshot.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operations/snapshot.ts deleted file mode 100644 index 7a7f2c0c7217..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operations/snapshot.ts +++ /dev/null @@ -1,343 +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 { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; -import { setContinuationToken } from "../pagingHelper"; -import { Snapshot } from "../operationsInterfaces"; -import * as coreClient from "@azure/core-client"; -import * as Mappers from "../models/mappers"; -import * as Parameters from "../models/parameters"; -import { AppComplianceAutomationToolForMicrosoft365 } from "../appComplianceAutomationToolForMicrosoft365"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; -import { createLroSpec } from "../lroImpl"; -import { - SnapshotResource, - SnapshotListNextOptionalParams, - SnapshotListOptionalParams, - SnapshotListResponse, - SnapshotGetOptionalParams, - SnapshotGetResponse, - SnapshotDownloadRequest, - SnapshotDownloadOptionalParams, - SnapshotDownloadResponse, - SnapshotListNextResponse, -} from "../models"; - -/// -/** Class containing Snapshot operations. */ -export class SnapshotImpl implements Snapshot { - private readonly client: AppComplianceAutomationToolForMicrosoft365; - - /** - * Initialize a new instance of the class Snapshot class. - * @param client Reference to the service client - */ - constructor(client: AppComplianceAutomationToolForMicrosoft365) { - this.client = client; - } - - /** - * Get the AppComplianceAutomation snapshot list. - * @param reportName Report Name. - * @param options The options parameters. - */ - public list( - reportName: string, - options?: SnapshotListOptionalParams, - ): PagedAsyncIterableIterator { - const iter = this.listPagingAll(reportName, 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(reportName, options, settings); - }, - }; - } - - private async *listPagingPage( - reportName: string, - options?: SnapshotListOptionalParams, - settings?: PageSettings, - ): AsyncIterableIterator { - let result: SnapshotListResponse; - let continuationToken = settings?.continuationToken; - if (!continuationToken) { - result = await this._list(reportName, options); - let page = result.value || []; - continuationToken = result.nextLink; - setContinuationToken(page, continuationToken); - yield page; - } - while (continuationToken) { - result = await this._listNext(reportName, continuationToken, options); - continuationToken = result.nextLink; - let page = result.value || []; - setContinuationToken(page, continuationToken); - yield page; - } - } - - private async *listPagingAll( - reportName: string, - options?: SnapshotListOptionalParams, - ): AsyncIterableIterator { - for await (const page of this.listPagingPage(reportName, options)) { - yield* page; - } - } - - /** - * Get the AppComplianceAutomation snapshot list. - * @param reportName Report Name. - * @param options The options parameters. - */ - private _list( - reportName: string, - options?: SnapshotListOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { reportName, options }, - listOperationSpec, - ); - } - - /** - * Get the AppComplianceAutomation snapshot and its properties. - * @param reportName Report Name. - * @param snapshotName Snapshot Name. - * @param options The options parameters. - */ - get( - reportName: string, - snapshotName: string, - options?: SnapshotGetOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { reportName, snapshotName, options }, - getOperationSpec, - ); - } - - /** - * Download compliance needs from snapshot, like: Compliance Report, Resource List. - * @param reportName Report Name. - * @param snapshotName Snapshot Name. - * @param body Parameters for the query operation - * @param options The options parameters. - */ - async beginDownload( - reportName: string, - snapshotName: string, - body: SnapshotDownloadRequest, - options?: SnapshotDownloadOptionalParams, - ): Promise< - SimplePollerLike< - OperationState, - SnapshotDownloadResponse - > - > { - 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: { reportName, snapshotName, body, options }, - spec: downloadOperationSpec, - }); - const poller = await createHttpPoller< - SnapshotDownloadResponse, - OperationState - >(lro, { - restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs, - resourceLocationConfig: "location", - }); - await poller.poll(); - return poller; - } - - /** - * Download compliance needs from snapshot, like: Compliance Report, Resource List. - * @param reportName Report Name. - * @param snapshotName Snapshot Name. - * @param body Parameters for the query operation - * @param options The options parameters. - */ - async beginDownloadAndWait( - reportName: string, - snapshotName: string, - body: SnapshotDownloadRequest, - options?: SnapshotDownloadOptionalParams, - ): Promise { - const poller = await this.beginDownload( - reportName, - snapshotName, - body, - options, - ); - return poller.pollUntilDone(); - } - - /** - * ListNext - * @param reportName Report Name. - * @param nextLink The nextLink from the previous successful call to the List method. - * @param options The options parameters. - */ - private _listNext( - reportName: string, - nextLink: string, - options?: SnapshotListNextOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { reportName, nextLink, options }, - listNextOperationSpec, - ); - } -} -// Operation Specifications -const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); - -const listOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/snapshots", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.SnapshotResourceListResult, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skipToken, - Parameters.top, - Parameters.select, - Parameters.filter, - Parameters.orderby, - Parameters.offerGuid, - Parameters.reportCreatorTenantId, - ], - urlParameters: [Parameters.$host, Parameters.reportName], - headerParameters: [Parameters.accept], - serializer, -}; -const getOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/snapshots/{snapshotName}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.SnapshotResource, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.reportName, - Parameters.snapshotName, - ], - headerParameters: [Parameters.accept], - serializer, -}; -const downloadOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/snapshots/{snapshotName}/download", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.DownloadResponse, - }, - 201: { - bodyMapper: Mappers.DownloadResponse, - }, - 202: { - bodyMapper: Mappers.DownloadResponse, - }, - 204: { - bodyMapper: Mappers.DownloadResponse, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - requestBody: Parameters.body8, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.reportName, - Parameters.snapshotName, - ], - headerParameters: [Parameters.contentType, Parameters.accept], - mediaType: "json", - serializer, -}; -const listNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.SnapshotResourceListResult, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.reportName], - headerParameters: [Parameters.accept], - serializer, -}; diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operations/webhook.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operations/webhook.ts deleted file mode 100644 index 448c51edea96..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operations/webhook.ts +++ /dev/null @@ -1,335 +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 { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; -import { setContinuationToken } from "../pagingHelper"; -import { Webhook } from "../operationsInterfaces"; -import * as coreClient from "@azure/core-client"; -import * as Mappers from "../models/mappers"; -import * as Parameters from "../models/parameters"; -import { AppComplianceAutomationToolForMicrosoft365 } from "../appComplianceAutomationToolForMicrosoft365"; -import { - WebhookResource, - WebhookListNextOptionalParams, - WebhookListOptionalParams, - WebhookListResponse, - WebhookGetOptionalParams, - WebhookGetResponse, - WebhookCreateOrUpdateOptionalParams, - WebhookCreateOrUpdateResponse, - WebhookResourcePatch, - WebhookUpdateOptionalParams, - WebhookUpdateResponse, - WebhookDeleteOptionalParams, - WebhookListNextResponse, -} from "../models"; - -/// -/** Class containing Webhook operations. */ -export class WebhookImpl implements Webhook { - private readonly client: AppComplianceAutomationToolForMicrosoft365; - - /** - * Initialize a new instance of the class Webhook class. - * @param client Reference to the service client - */ - constructor(client: AppComplianceAutomationToolForMicrosoft365) { - this.client = client; - } - - /** - * Get the AppComplianceAutomation webhook list. - * @param reportName Report Name. - * @param options The options parameters. - */ - public list( - reportName: string, - options?: WebhookListOptionalParams, - ): PagedAsyncIterableIterator { - const iter = this.listPagingAll(reportName, 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(reportName, options, settings); - }, - }; - } - - private async *listPagingPage( - reportName: string, - options?: WebhookListOptionalParams, - settings?: PageSettings, - ): AsyncIterableIterator { - let result: WebhookListResponse; - let continuationToken = settings?.continuationToken; - if (!continuationToken) { - result = await this._list(reportName, options); - let page = result.value || []; - continuationToken = result.nextLink; - setContinuationToken(page, continuationToken); - yield page; - } - while (continuationToken) { - result = await this._listNext(reportName, continuationToken, options); - continuationToken = result.nextLink; - let page = result.value || []; - setContinuationToken(page, continuationToken); - yield page; - } - } - - private async *listPagingAll( - reportName: string, - options?: WebhookListOptionalParams, - ): AsyncIterableIterator { - for await (const page of this.listPagingPage(reportName, options)) { - yield* page; - } - } - - /** - * Get the AppComplianceAutomation webhook list. - * @param reportName Report Name. - * @param options The options parameters. - */ - private _list( - reportName: string, - options?: WebhookListOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { reportName, options }, - listOperationSpec, - ); - } - - /** - * Get the AppComplianceAutomation webhook and its properties. - * @param reportName Report Name. - * @param webhookName Webhook Name. - * @param options The options parameters. - */ - get( - reportName: string, - webhookName: string, - options?: WebhookGetOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { reportName, webhookName, options }, - getOperationSpec, - ); - } - - /** - * Create a new AppComplianceAutomation webhook or update an exiting AppComplianceAutomation webhook. - * @param reportName Report Name. - * @param webhookName Webhook Name. - * @param properties Parameters for the create or update operation - * @param options The options parameters. - */ - createOrUpdate( - reportName: string, - webhookName: string, - properties: WebhookResource, - options?: WebhookCreateOrUpdateOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { reportName, webhookName, properties, options }, - createOrUpdateOperationSpec, - ); - } - - /** - * Update an exiting AppComplianceAutomation webhook. - * @param reportName Report Name. - * @param webhookName Webhook Name. - * @param properties Parameters for the create or update operation - * @param options The options parameters. - */ - update( - reportName: string, - webhookName: string, - properties: WebhookResourcePatch, - options?: WebhookUpdateOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { reportName, webhookName, properties, options }, - updateOperationSpec, - ); - } - - /** - * Delete an AppComplianceAutomation webhook. - * @param reportName Report Name. - * @param webhookName Webhook Name. - * @param options The options parameters. - */ - delete( - reportName: string, - webhookName: string, - options?: WebhookDeleteOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { reportName, webhookName, options }, - deleteOperationSpec, - ); - } - - /** - * ListNext - * @param reportName Report Name. - * @param nextLink The nextLink from the previous successful call to the List method. - * @param options The options parameters. - */ - private _listNext( - reportName: string, - nextLink: string, - options?: WebhookListNextOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { reportName, nextLink, options }, - listNextOperationSpec, - ); - } -} -// Operation Specifications -const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); - -const listOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.WebhookResourceListResult, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skipToken, - Parameters.top, - Parameters.select, - Parameters.filter, - Parameters.orderby, - Parameters.offerGuid, - Parameters.reportCreatorTenantId, - ], - urlParameters: [Parameters.$host, Parameters.reportName], - headerParameters: [Parameters.accept], - serializer, -}; -const getOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks/{webhookName}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.WebhookResource, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.reportName, - Parameters.webhookName, - ], - headerParameters: [Parameters.accept], - serializer, -}; -const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks/{webhookName}", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.WebhookResource, - }, - 201: { - bodyMapper: Mappers.WebhookResource, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - requestBody: Parameters.properties4, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.reportName, - Parameters.webhookName, - ], - headerParameters: [Parameters.contentType, Parameters.accept], - mediaType: "json", - serializer, -}; -const updateOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks/{webhookName}", - httpMethod: "PATCH", - responses: { - 200: { - bodyMapper: Mappers.WebhookResource, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - requestBody: Parameters.properties5, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.reportName, - Parameters.webhookName, - ], - headerParameters: [Parameters.contentType, Parameters.accept], - mediaType: "json", - serializer, -}; -const deleteOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks/{webhookName}", - httpMethod: "DELETE", - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.reportName, - Parameters.webhookName, - ], - headerParameters: [Parameters.accept], - serializer, -}; -const listNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.WebhookResourceListResult, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.reportName], - headerParameters: [Parameters.accept], - serializer, -}; diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operationsInterfaces/evidence.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operationsInterfaces/evidence.ts deleted file mode 100644 index 0f76490cf501..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operationsInterfaces/evidence.ts +++ /dev/null @@ -1,83 +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 { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { - EvidenceResource, - EvidenceListByReportOptionalParams, - EvidenceGetOptionalParams, - EvidenceGetResponse, - EvidenceCreateOrUpdateOptionalParams, - EvidenceCreateOrUpdateResponse, - EvidenceDeleteOptionalParams, - EvidenceFileDownloadRequest, - EvidenceDownloadOptionalParams, - EvidenceDownloadResponse, -} from "../models"; - -/// -/** Interface representing a Evidence. */ -export interface Evidence { - /** - * Returns a paginated list of evidences for a specified report. - * @param reportName Report Name. - * @param options The options parameters. - */ - listByReport( - reportName: string, - options?: EvidenceListByReportOptionalParams, - ): PagedAsyncIterableIterator; - /** - * Get the evidence metadata - * @param reportName Report Name. - * @param evidenceName The evidence name. - * @param options The options parameters. - */ - get( - reportName: string, - evidenceName: string, - options?: EvidenceGetOptionalParams, - ): Promise; - /** - * Create or Update an evidence a specified report - * @param reportName Report Name. - * @param evidenceName The evidence name. - * @param properties Parameters for the create or update operation - * @param options The options parameters. - */ - createOrUpdate( - reportName: string, - evidenceName: string, - properties: EvidenceResource, - options?: EvidenceCreateOrUpdateOptionalParams, - ): Promise; - /** - * Delete an existent evidence from a specified report - * @param reportName Report Name. - * @param evidenceName The evidence name. - * @param options The options parameters. - */ - delete( - reportName: string, - evidenceName: string, - options?: EvidenceDeleteOptionalParams, - ): Promise; - /** - * Download evidence file. - * @param reportName Report Name. - * @param evidenceName The evidence name. - * @param body Parameters for the query operation - * @param options The options parameters. - */ - download( - reportName: string, - evidenceName: string, - body: EvidenceFileDownloadRequest, - options?: EvidenceDownloadOptionalParams, - ): Promise; -} diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operationsInterfaces/index.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operationsInterfaces/index.ts deleted file mode 100644 index 6b113b0728d3..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operationsInterfaces/index.ts +++ /dev/null @@ -1,15 +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. - */ - -export * from "./providerActions"; -export * from "./operations"; -export * from "./report"; -export * from "./evidence"; -export * from "./scopingConfiguration"; -export * from "./snapshot"; -export * from "./webhook"; diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operationsInterfaces/operations.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operationsInterfaces/operations.ts deleted file mode 100644 index 251f5f582e64..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operationsInterfaces/operations.ts +++ /dev/null @@ -1,22 +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 { 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/appcomplianceautomation/arm-appcomplianceautomation/src/operationsInterfaces/providerActions.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operationsInterfaces/providerActions.ts deleted file mode 100644 index 7cd4a18ef9cb..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operationsInterfaces/providerActions.ts +++ /dev/null @@ -1,115 +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 { SimplePollerLike, OperationState } from "@azure/core-lro"; -import { - CheckNameAvailabilityRequest, - ProviderActionsCheckNameAvailabilityOptionalParams, - ProviderActionsCheckNameAvailabilityResponse, - GetCollectionCountRequest, - ProviderActionsGetCollectionCountOptionalParams, - ProviderActionsGetCollectionCountResponse, - GetOverviewStatusRequest, - ProviderActionsGetOverviewStatusOptionalParams, - ProviderActionsGetOverviewStatusResponse, - ListInUseStorageAccountsRequest, - ProviderActionsListInUseStorageAccountsOptionalParams, - ProviderActionsListInUseStorageAccountsResponse, - OnboardRequest, - ProviderActionsOnboardOptionalParams, - ProviderActionsOnboardResponse, - TriggerEvaluationRequest, - ProviderActionsTriggerEvaluationOptionalParams, - ProviderActionsTriggerEvaluationResponse, -} from "../models"; - -/** Interface representing a ProviderActions. */ -export interface ProviderActions { - /** - * Check if the given name is available for a report. - * @param body The content of the action request - * @param options The options parameters. - */ - checkNameAvailability( - body: CheckNameAvailabilityRequest, - options?: ProviderActionsCheckNameAvailabilityOptionalParams, - ): Promise; - /** - * Get the count of reports. - * @param body The content of the action request - * @param options The options parameters. - */ - getCollectionCount( - body: GetCollectionCountRequest, - options?: ProviderActionsGetCollectionCountOptionalParams, - ): Promise; - /** - * Get the resource overview status. - * @param body The content of the action request - * @param options The options parameters. - */ - getOverviewStatus( - body: GetOverviewStatusRequest, - options?: ProviderActionsGetOverviewStatusOptionalParams, - ): Promise; - /** - * List the storage accounts which are in use by related reports - * @param body The content of the action request - * @param options The options parameters. - */ - listInUseStorageAccounts( - body: ListInUseStorageAccountsRequest, - options?: ProviderActionsListInUseStorageAccountsOptionalParams, - ): Promise; - /** - * Onboard given subscriptions to Microsoft.AppComplianceAutomation provider. - * @param body The content of the action request - * @param options The options parameters. - */ - beginOnboard( - body: OnboardRequest, - options?: ProviderActionsOnboardOptionalParams, - ): Promise< - SimplePollerLike< - OperationState, - ProviderActionsOnboardResponse - > - >; - /** - * Onboard given subscriptions to Microsoft.AppComplianceAutomation provider. - * @param body The content of the action request - * @param options The options parameters. - */ - beginOnboardAndWait( - body: OnboardRequest, - options?: ProviderActionsOnboardOptionalParams, - ): Promise; - /** - * Trigger quick evaluation for the given subscriptions. - * @param body The content of the action request - * @param options The options parameters. - */ - beginTriggerEvaluation( - body: TriggerEvaluationRequest, - options?: ProviderActionsTriggerEvaluationOptionalParams, - ): Promise< - SimplePollerLike< - OperationState, - ProviderActionsTriggerEvaluationResponse - > - >; - /** - * Trigger quick evaluation for the given subscriptions. - * @param body The content of the action request - * @param options The options parameters. - */ - beginTriggerEvaluationAndWait( - body: TriggerEvaluationRequest, - options?: ProviderActionsTriggerEvaluationOptionalParams, - ): Promise; -} diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operationsInterfaces/report.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operationsInterfaces/report.ts deleted file mode 100644 index ebb5553d706d..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operationsInterfaces/report.ts +++ /dev/null @@ -1,217 +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 { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { SimplePollerLike, OperationState } from "@azure/core-lro"; -import { - ReportResource, - ReportListOptionalParams, - ReportGetOptionalParams, - ReportGetResponse, - ReportCreateOrUpdateOptionalParams, - ReportCreateOrUpdateResponse, - ReportResourcePatch, - ReportUpdateOptionalParams, - ReportUpdateResponse, - ReportDeleteOptionalParams, - ReportDeleteResponse, - CheckNameAvailabilityRequest, - ReportNestedResourceCheckNameAvailabilityOptionalParams, - ReportNestedResourceCheckNameAvailabilityResponse, - ReportFixOptionalParams, - ReportFixResponse, - ReportGetScopingQuestionsOptionalParams, - ReportGetScopingQuestionsResponse, - SyncCertRecordRequest, - ReportSyncCertRecordOptionalParams, - ReportSyncCertRecordResponse, - ReportVerifyOptionalParams, - ReportVerifyResponse, -} from "../models"; - -/// -/** Interface representing a Report. */ -export interface Report { - /** - * Get the AppComplianceAutomation report list for the tenant. - * @param options The options parameters. - */ - list( - options?: ReportListOptionalParams, - ): PagedAsyncIterableIterator; - /** - * Get the AppComplianceAutomation report and its properties. - * @param reportName Report Name. - * @param options The options parameters. - */ - get( - reportName: string, - options?: ReportGetOptionalParams, - ): Promise; - /** - * Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report. - * @param reportName Report Name. - * @param properties Parameters for the create or update operation - * @param options The options parameters. - */ - beginCreateOrUpdate( - reportName: string, - properties: ReportResource, - options?: ReportCreateOrUpdateOptionalParams, - ): Promise< - SimplePollerLike< - OperationState, - ReportCreateOrUpdateResponse - > - >; - /** - * Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report. - * @param reportName Report Name. - * @param properties Parameters for the create or update operation - * @param options The options parameters. - */ - beginCreateOrUpdateAndWait( - reportName: string, - properties: ReportResource, - options?: ReportCreateOrUpdateOptionalParams, - ): Promise; - /** - * Update an exiting AppComplianceAutomation report. - * @param reportName Report Name. - * @param properties Parameters for the create or update operation - * @param options The options parameters. - */ - beginUpdate( - reportName: string, - properties: ReportResourcePatch, - options?: ReportUpdateOptionalParams, - ): Promise< - SimplePollerLike, ReportUpdateResponse> - >; - /** - * Update an exiting AppComplianceAutomation report. - * @param reportName Report Name. - * @param properties Parameters for the create or update operation - * @param options The options parameters. - */ - beginUpdateAndWait( - reportName: string, - properties: ReportResourcePatch, - options?: ReportUpdateOptionalParams, - ): Promise; - /** - * Delete an AppComplianceAutomation report. - * @param reportName Report Name. - * @param options The options parameters. - */ - beginDelete( - reportName: string, - options?: ReportDeleteOptionalParams, - ): Promise< - SimplePollerLike, ReportDeleteResponse> - >; - /** - * Delete an AppComplianceAutomation report. - * @param reportName Report Name. - * @param options The options parameters. - */ - beginDeleteAndWait( - reportName: string, - options?: ReportDeleteOptionalParams, - ): Promise; - /** - * Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots. - * @param reportName Report Name. - * @param body NameAvailabilityRequest object. - * @param options The options parameters. - */ - nestedResourceCheckNameAvailability( - reportName: string, - body: CheckNameAvailabilityRequest, - options?: ReportNestedResourceCheckNameAvailabilityOptionalParams, - ): Promise; - /** - * Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service - * unregistered, automation removed. - * @param reportName Report Name. - * @param options The options parameters. - */ - beginFix( - reportName: string, - options?: ReportFixOptionalParams, - ): Promise< - SimplePollerLike, ReportFixResponse> - >; - /** - * Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service - * unregistered, automation removed. - * @param reportName Report Name. - * @param options The options parameters. - */ - beginFixAndWait( - reportName: string, - options?: ReportFixOptionalParams, - ): Promise; - /** - * Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service - * unregistered, automation removed. - * @param reportName Report Name. - * @param options The options parameters. - */ - getScopingQuestions( - reportName: string, - options?: ReportGetScopingQuestionsOptionalParams, - ): Promise; - /** - * Synchronize attestation record from app compliance. - * @param reportName Report Name. - * @param body Parameters for synchronize certification record operation - * @param options The options parameters. - */ - beginSyncCertRecord( - reportName: string, - body: SyncCertRecordRequest, - options?: ReportSyncCertRecordOptionalParams, - ): Promise< - SimplePollerLike< - OperationState, - ReportSyncCertRecordResponse - > - >; - /** - * Synchronize attestation record from app compliance. - * @param reportName Report Name. - * @param body Parameters for synchronize certification record operation - * @param options The options parameters. - */ - beginSyncCertRecordAndWait( - reportName: string, - body: SyncCertRecordRequest, - options?: ReportSyncCertRecordOptionalParams, - ): Promise; - /** - * Verify the AppComplianceAutomation report health status. - * @param reportName Report Name. - * @param options The options parameters. - */ - beginVerify( - reportName: string, - options?: ReportVerifyOptionalParams, - ): Promise< - SimplePollerLike, ReportVerifyResponse> - >; - /** - * Verify the AppComplianceAutomation report health status. - * @param reportName Report Name. - * @param options The options parameters. - */ - beginVerifyAndWait( - reportName: string, - options?: ReportVerifyOptionalParams, - ): Promise; -} diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operationsInterfaces/scopingConfiguration.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operationsInterfaces/scopingConfiguration.ts deleted file mode 100644 index fdd770d57a54..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operationsInterfaces/scopingConfiguration.ts +++ /dev/null @@ -1,68 +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 { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { - ScopingConfigurationResource, - ScopingConfigurationListOptionalParams, - ScopingConfigurationGetOptionalParams, - ScopingConfigurationGetResponse, - ScopingConfigurationCreateOrUpdateOptionalParams, - ScopingConfigurationCreateOrUpdateResponse, - ScopingConfigurationDeleteOptionalParams, -} from "../models"; - -/// -/** Interface representing a ScopingConfiguration. */ -export interface ScopingConfiguration { - /** - * Returns a list format of the singleton scopingConfiguration for a specified report. - * @param reportName Report Name. - * @param options The options parameters. - */ - list( - reportName: string, - options?: ScopingConfigurationListOptionalParams, - ): PagedAsyncIterableIterator; - /** - * Get the AppComplianceAutomation scoping configuration of the specific report. - * @param reportName Report Name. - * @param scopingConfigurationName The scoping configuration of the specific report. - * @param options The options parameters. - */ - get( - reportName: string, - scopingConfigurationName: string, - options?: ScopingConfigurationGetOptionalParams, - ): Promise; - /** - * Get the AppComplianceAutomation scoping configuration of the specific report. - * @param reportName Report Name. - * @param scopingConfigurationName The scoping configuration of the specific report. - * @param properties Parameters for the create or update operation, this is a singleton resource, so - * please make sure you're using 'default' as the name. - * @param options The options parameters. - */ - createOrUpdate( - reportName: string, - scopingConfigurationName: string, - properties: ScopingConfigurationResource, - options?: ScopingConfigurationCreateOrUpdateOptionalParams, - ): Promise; - /** - * Clean the AppComplianceAutomation scoping configuration of the specific report. - * @param reportName Report Name. - * @param scopingConfigurationName The scoping configuration of the specific report. - * @param options The options parameters. - */ - delete( - reportName: string, - scopingConfigurationName: string, - options?: ScopingConfigurationDeleteOptionalParams, - ): Promise; -} diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operationsInterfaces/snapshot.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operationsInterfaces/snapshot.ts deleted file mode 100644 index 8b28ec06e3cc..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operationsInterfaces/snapshot.ts +++ /dev/null @@ -1,75 +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 { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { SimplePollerLike, OperationState } from "@azure/core-lro"; -import { - SnapshotResource, - SnapshotListOptionalParams, - SnapshotGetOptionalParams, - SnapshotGetResponse, - SnapshotDownloadRequest, - SnapshotDownloadOptionalParams, - SnapshotDownloadResponse, -} from "../models"; - -/// -/** Interface representing a Snapshot. */ -export interface Snapshot { - /** - * Get the AppComplianceAutomation snapshot list. - * @param reportName Report Name. - * @param options The options parameters. - */ - list( - reportName: string, - options?: SnapshotListOptionalParams, - ): PagedAsyncIterableIterator; - /** - * Get the AppComplianceAutomation snapshot and its properties. - * @param reportName Report Name. - * @param snapshotName Snapshot Name. - * @param options The options parameters. - */ - get( - reportName: string, - snapshotName: string, - options?: SnapshotGetOptionalParams, - ): Promise; - /** - * Download compliance needs from snapshot, like: Compliance Report, Resource List. - * @param reportName Report Name. - * @param snapshotName Snapshot Name. - * @param body Parameters for the query operation - * @param options The options parameters. - */ - beginDownload( - reportName: string, - snapshotName: string, - body: SnapshotDownloadRequest, - options?: SnapshotDownloadOptionalParams, - ): Promise< - SimplePollerLike< - OperationState, - SnapshotDownloadResponse - > - >; - /** - * Download compliance needs from snapshot, like: Compliance Report, Resource List. - * @param reportName Report Name. - * @param snapshotName Snapshot Name. - * @param body Parameters for the query operation - * @param options The options parameters. - */ - beginDownloadAndWait( - reportName: string, - snapshotName: string, - body: SnapshotDownloadRequest, - options?: SnapshotDownloadOptionalParams, - ): Promise; -} diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operationsInterfaces/webhook.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operationsInterfaces/webhook.ts deleted file mode 100644 index 728da861ee26..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/operationsInterfaces/webhook.ts +++ /dev/null @@ -1,83 +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 { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { - WebhookResource, - WebhookListOptionalParams, - WebhookGetOptionalParams, - WebhookGetResponse, - WebhookCreateOrUpdateOptionalParams, - WebhookCreateOrUpdateResponse, - WebhookResourcePatch, - WebhookUpdateOptionalParams, - WebhookUpdateResponse, - WebhookDeleteOptionalParams, -} from "../models"; - -/// -/** Interface representing a Webhook. */ -export interface Webhook { - /** - * Get the AppComplianceAutomation webhook list. - * @param reportName Report Name. - * @param options The options parameters. - */ - list( - reportName: string, - options?: WebhookListOptionalParams, - ): PagedAsyncIterableIterator; - /** - * Get the AppComplianceAutomation webhook and its properties. - * @param reportName Report Name. - * @param webhookName Webhook Name. - * @param options The options parameters. - */ - get( - reportName: string, - webhookName: string, - options?: WebhookGetOptionalParams, - ): Promise; - /** - * Create a new AppComplianceAutomation webhook or update an exiting AppComplianceAutomation webhook. - * @param reportName Report Name. - * @param webhookName Webhook Name. - * @param properties Parameters for the create or update operation - * @param options The options parameters. - */ - createOrUpdate( - reportName: string, - webhookName: string, - properties: WebhookResource, - options?: WebhookCreateOrUpdateOptionalParams, - ): Promise; - /** - * Update an exiting AppComplianceAutomation webhook. - * @param reportName Report Name. - * @param webhookName Webhook Name. - * @param properties Parameters for the create or update operation - * @param options The options parameters. - */ - update( - reportName: string, - webhookName: string, - properties: WebhookResourcePatch, - options?: WebhookUpdateOptionalParams, - ): Promise; - /** - * Delete an AppComplianceAutomation webhook. - * @param reportName Report Name. - * @param webhookName Webhook Name. - * @param options The options parameters. - */ - delete( - reportName: string, - webhookName: string, - options?: WebhookDeleteOptionalParams, - ): Promise; -} diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/outputModels.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/outputModels.ts new file mode 100644 index 000000000000..bc72c91c6baa --- /dev/null +++ b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/outputModels.ts @@ -0,0 +1,974 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { Paged } from "@azure/core-paging"; + +/** A class represent an AppComplianceAutomation report resource. */ +export interface ReportResourceOutput extends ProxyResourceOutput { + /** Report property. */ + properties: ReportPropertiesOutput; +} + +/** Create Report's properties. */ +export interface ReportPropertiesOutput { + /** Report collection trigger time. */ + triggerTime: string; + /** + * Report collection trigger time's time zone, the available list can be obtained by executing "Get-TimeZone -ListAvailable" in PowerShell. + * An example of valid timezone id is "Pacific Standard Time". + */ + timeZone: string; + /** List of resource data. */ + resources: Array; + /** + * Report status. + * + * Possible values: "Active", "Failed", "Reviewing", "Disabled" + */ + readonly status?: ReportStatusOutput; + /** List of report error codes. */ + readonly errors?: string[]; + /** Report's tenant id. */ + readonly tenantId?: string; + /** A list of comma-separated offerGuids indicates a series of offerGuids that map to the report. For example, "00000000-0000-0000-0000-000000000001,00000000-0000-0000-0000-000000000002" and "00000000-0000-0000-0000-000000000003". */ + offerGuid?: string; + /** Report next collection trigger time. */ + readonly nextTriggerTime?: string; + /** Report last collection trigger time. */ + readonly lastTriggerTime?: string; + /** List of subscription Ids. */ + readonly subscriptions?: string[]; + /** Report compliance status. */ + readonly complianceStatus?: ReportComplianceStatusOutput; + /** The information of 'bring your own storage' binding to the report */ + storageInfo?: StorageInfoOutput; + /** List of synchronized certification records. */ + readonly certRecords?: Array; + /** + * Azure lifecycle management + * + * Possible values: "Succeeded", "Failed", "Canceled", "Creating", "Deleting", "Fixing", "Verifying", "Updating" + */ + readonly provisioningState?: ProvisioningStateOutput; +} + +/** Single resource Id's metadata. */ +export interface ResourceMetadataOutput { + /** Resource Id - e.g. "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1". */ + resourceId: string; + /** Resource type. e.g. "Microsoft.Compute/virtualMachines" */ + resourceType?: string; + /** Resource kind. */ + resourceKind?: string; + /** + * Resource Origin. + * + * Possible values: "Azure", "AWS", "GCP" + */ + resourceOrigin?: ResourceOriginOutput; + /** Account Id. For example - the AWS account id. */ + accountId?: string; +} + +/** A list which includes all the compliance result for one report. */ +export interface ReportComplianceStatusOutput { + /** The Microsoft 365 certification name. */ + readonly m365?: OverviewStatusOutput; +} + +/** The overview of the compliance result for one report. */ +export interface OverviewStatusOutput { + /** The count of all passed control. */ + readonly passedCount?: number; + /** The count of all failed control. */ + readonly failedCount?: number; + /** The count of all manual control. */ + readonly manualCount?: number; + /** The count of all not applicable control. */ + readonly notApplicableCount?: number; + /** The count of all pending for approval control. */ + readonly pendingCount?: number; +} + +/** The information of 'bring your own storage' account binding to the report */ +export interface StorageInfoOutput { + /** The subscription id which 'bring your own storage' account belongs to */ + subscriptionId?: string; + /** The resourceGroup which 'bring your own storage' account belongs to */ + resourceGroup?: string; + /** 'bring your own storage' account name */ + accountName?: string; + /** The region of 'bring your own storage' account */ + location?: string; +} + +/** A class represent the certification record synchronized from app compliance. */ +export interface CertSyncRecordOutput { + /** The offerGuid which mapping to the reports. */ + offerGuid?: string; + /** Indicates the status of certification process. */ + certificationStatus?: string; + /** Indicates the status of compliance process. */ + ingestionStatus?: string; + /** The control records list to be synchronized. */ + controls?: Array; +} + +/** A class represent the control record synchronized from app compliance. */ +export interface ControlSyncRecordOutput { + /** The Id of the control. e.g. "Operational_Security_10" */ + controlId?: string; + /** Control status synchronized from app compliance. */ + controlStatus?: 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 {} + +/** 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 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; +} + +/** 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 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 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; +} + +/** A class represent an AppComplianceAutomation webhook resource. */ +export interface WebhookResourceOutput extends ProxyResourceOutput { + /** Webhook property. */ + properties: WebhookPropertiesOutput; +} + +/** Webhook properties. */ +export interface WebhookPropertiesOutput { + /** Webhook id in database. */ + readonly webhookId?: string; + /** + * Webhook status. + * + * Possible values: "Enabled", "Disabled" + */ + status?: WebhookStatusOutput; + /** Tenant id. */ + readonly tenantId?: string; + /** + * whether to send notification under any event. + * + * Possible values: "true", "false" + */ + sendAllEvents?: SendAllEventsOutput; + /** under which event notification should be sent. */ + events?: NotificationEventOutput[]; + /** webhook payload url */ + payloadUrl?: string; + /** + * content type + * + * Possible values: "application/json" + */ + contentType?: ContentTypeOutput; + /** webhook secret token. If not set, this field value is null; otherwise, please set a string value. */ + webhookKey?: string; + /** + * whether to update webhookKey. + * + * Possible values: "true", "false" + */ + updateWebhookKey?: UpdateWebhookKeyOutput; + /** + * whether webhookKey is enabled. + * + * Possible values: "true", "false" + */ + readonly webhookKeyEnabled?: WebhookKeyEnabledOutput; + /** + * whether to enable ssl verification + * + * Possible values: "true", "false" + */ + enableSslVerification?: EnableSslVerificationOutput; + /** + * webhook deliveryStatus + * + * Possible values: "Succeeded", "Failed", "NotStarted" + */ + readonly deliveryStatus?: DeliveryStatusOutput; + /** + * Azure Resource Provisioning State + * + * Possible values: "Succeeded", "Failed", "Canceled", "Creating", "Deleting", "Fixing", "Verifying", "Updating" + */ + readonly provisioningState?: ProvisioningStateOutput; +} + +/** A class represent a AppComplianceAutomation snapshot resource. */ +export interface SnapshotResourceOutput extends ProxyResourceOutput { + /** Snapshot's property. */ + properties?: SnapshotPropertiesOutput; +} + +/** Snapshot's properties. */ +export interface SnapshotPropertiesOutput { + /** Snapshot name. */ + readonly snapshotName?: string; + /** The timestamp of resource creation (UTC). */ + readonly createdAt?: string; + /** + * Azure lifecycle management + * + * Possible values: "Succeeded", "Failed", "Canceled", "Creating", "Deleting", "Fixing", "Verifying", "Updating" + */ + readonly provisioningState?: ProvisioningStateOutput; + /** The report essential info. */ + readonly reportProperties?: ReportPropertiesOutput; + /** Metadata pertaining to creation and last modification of the resource. */ + readonly reportSystemData?: SystemDataOutput; + /** List of compliance results. */ + readonly complianceResults?: Array; +} + +/** A class represent the compliance result. */ +export interface ComplianceResultOutput { + /** The name of the compliance. e.g. "M365" */ + readonly complianceName?: string; + /** List of categories. */ + readonly categories?: Array; +} + +/** A class represent the compliance category. */ +export interface CategoryOutput { + /** The name of the compliance category. e.g. "Operational Security" */ + readonly categoryName?: string; + /** + * Category status. + * + * Possible values: "Passed", "Failed", "NotApplicable", "PendingApproval" + */ + readonly categoryStatus?: CategoryStatusOutput; + /** List of control families. */ + readonly controlFamilies?: Array; +} + +/** A class represent the control family. */ +export interface ControlFamilyOutput { + /** The name of the control family. e.g. "Malware Protection - Anti-Virus" */ + readonly controlFamilyName?: string; + /** + * The control family status + * + * Possible values: "Passed", "Failed", "NotApplicable", "PendingApproval" + */ + readonly controlFamilyStatus?: ControlFamilyStatusOutput; + /** List of controls. */ + readonly controls?: Array; +} + +/** A class represent the control. */ +export interface ControlOutput { + /** The Id of the control. e.g. "Operational_Security_10" */ + readonly controlId?: string; + /** The name of the control. e.g. "Unsupported OS and Software." */ + readonly controlName?: string; + /** The full name of the control. e.g. "Validate that unsupported operating systems and software components are not in use." */ + readonly controlFullName?: string; + /** The control's description */ + readonly controlDescription?: string; + /** The hyper link to the control's description'. */ + readonly controlDescriptionHyperLink?: string; + /** + * Control status. + * + * Possible values: "Passed", "Failed", "NotApplicable", "PendingApproval" + */ + readonly controlStatus?: ControlStatusOutput; + /** List of customer responsibility. */ + readonly responsibilities?: Array; +} + +/** A class represent the customer responsibility. */ +export interface ResponsibilityOutput { + /** The id of the customer responsibility. */ + readonly responsibilityId?: string; + /** The title of the customer responsibility. */ + readonly responsibilityTitle?: string; + /** The description of the customer responsibility. */ + readonly responsibilityDescription?: string; + /** + * The type of customer responsibility. + * + * Possible values: "Automated", "ScopedManual", "Manual" + */ + readonly responsibilityType?: ResponsibilityTypeOutput; + /** + * The severity level of this customer responsibility. + * + * Possible values: "High", "Medium", "Low" + */ + readonly responsibilitySeverity?: ResponsibilitySeverityOutput; + /** + * The status of this customer responsibility. + * + * Possible values: "Passed", "Failed", "NotApplicable", "PendingApproval" + */ + readonly responsibilityStatus?: ResponsibilityStatusOutput; + /** + * The supported cloud environment of this customer responsibility. + * + * Possible values: "Azure", "AWS", "GCP", "General" + */ + readonly responsibilityEnvironment?: ResponsibilityEnvironmentOutput; + /** The count of all failed resources. */ + failedResourceCount?: number; + /** The count of all resources. */ + totalResourceCount?: number; + /** List of resource. */ + readonly resourceList?: Array; + /** List of recommendation. */ + readonly recommendationList?: Array; + /** The evidence upload guidance description. */ + readonly guidance?: string; + /** The justification given by the user to clarify the reason. */ + readonly justification?: string; + /** List of evidence file url. */ + evidenceFiles?: string[]; +} + +/** A class represent the resource. */ +export interface ResponsibilityResourceOutput { + /** The Id of the resource. */ + readonly resourceId?: string; + /** Account Id. For example - AWS account Id. */ + readonly accountId?: string; + /** The type of the resource. e.g. "Microsoft.SignalRService/SignalR" */ + readonly resourceType?: string; + /** + * Resource origin. + * + * Possible values: "Azure", "AWS", "GCP" + */ + readonly resourceOrigin?: ResourceOriginOutput; + /** + * Resource status. + * + * Possible values: "Healthy", "Unhealthy" + */ + readonly resourceStatus?: ResourceStatusOutput; + /** The status change date for the resource. */ + readonly resourceStatusChangeDate?: string; + /** List of recommendation id. */ + recommendationIds?: string[]; +} + +/** A class represent the recommendation. */ +export interface RecommendationOutput { + /** The Id of the recommendation. */ + readonly recommendationId?: string; + /** The short name of the recommendation. e.g. "Invalid TLS config" */ + readonly recommendationShortName?: string; + /** List of recommendation solutions. */ + readonly recommendationSolutions?: Array; +} + +/** A class represent the recommendation solution. */ +export interface RecommendationSolutionOutput { + /** The index of the recommendation solution. */ + readonly recommendationSolutionIndex?: string; + /** The detail steps of the recommendation solution. */ + readonly recommendationSolutionContent?: string; + /** + * Indicates whether this solution is the recommended. + * + * Possible values: "true", "false" + */ + readonly isRecommendSolution?: IsRecommendSolutionOutput; +} + +/** A class represent an AppComplianceAutomation scoping configuration resource. */ +export interface ScopingConfigurationResourceOutput + extends ProxyResourceOutput { + /** ScopingConfiguration property. */ + properties: ScopingConfigurationPropertiesOutput; +} + +/** ScopingConfiguration's properties. */ +export interface ScopingConfigurationPropertiesOutput { + /** List of scoping question answers. */ + answers?: Array; + /** + * Azure lifecycle management + * + * Possible values: "Succeeded", "Failed", "Canceled", "Creating", "Deleting", "Fixing", "Verifying", "Updating" + */ + readonly provisioningState?: ProvisioningStateOutput; +} + +/** Scoping answer. */ +export interface ScopingAnswerOutput { + /** Question id. */ + questionId: string; + /** Question answer value list. */ + answers: string[]; +} + +/** A class represent an AppComplianceAutomation evidence resource. */ +export interface EvidenceResourceOutput extends ProxyResourceOutput { + /** Evidence property. */ + properties: EvidencePropertiesOutput; +} + +/** Evidence's properties. */ +export interface EvidencePropertiesOutput { + /** + * Evidence type. + * + * Possible values: "File", "AutoCollectedEvidence", "Data" + */ + evidenceType?: EvidenceTypeOutput; + /** The path of the file in storage. */ + filePath: string; + /** Extra data considered as evidence. */ + extraData?: string; + /** Control id. */ + controlId?: string; + /** Responsibility id. */ + responsibilityId?: string; + /** + * Azure lifecycle management + * + * Possible values: "Succeeded", "Failed", "Canceled", "Creating", "Deleting", "Fixing", "Verifying", "Updating" + */ + readonly provisioningState?: ProvisioningStateOutput; +} + +/** 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; +} + +/** Synchronize certification record response. */ +export interface SyncCertRecordResponseOutput { + /** certification record synchronized. */ + certRecord?: CertSyncRecordOutput; +} + +/** 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; +} + +/** Report fix result. */ +export interface ReportFixResultOutput { + /** + * Indicates whether the fix action is Succeeded or Failed. + * + * Possible values: "Succeeded", "Failed" + */ + readonly result?: ResultOutput; + /** If the report fix action failed, to indicate the detailed failed reason. */ + readonly reason?: string; +} + +/** Scoping question list. */ +export interface ScopingQuestionsOutput { + /** List of scoping questions. */ + questions?: Array; +} + +/** The definition of a scoping question. */ +export interface ScopingQuestionOutput { + /** Question id. */ + readonly questionId: string; + /** Superior question id. */ + readonly superiorQuestionId?: string; + /** + * Input type of the question answer. + * + * Possible values: "None", "Text", "Email", "MultilineText", "Url", "Number", "Boolean", "Telephone", "YesNoNa", "Date", "YearPicker", "SingleSelection", "SingleSelectDropdown", "MultiSelectCheckbox", "MultiSelectDropdown", "MultiSelectDropdownCustom", "Group", "Upload" + */ + readonly inputType: InputTypeOutput; + /** Option id list. */ + readonly optionIds: string[]; + /** The rule of the question. */ + readonly rules: RuleOutput[]; + /** The answer value to show the sub questions. */ + readonly showSubQuestionsValue?: string; +} + +/** Report health status verification result. */ +export interface ReportVerificationResultOutput { + /** + * Indicates whether the report verification action is Succeeded or Failed. + * + * Possible values: "Succeeded", "Failed" + */ + readonly result?: ResultOutput; + /** If the report verification action failed, to indicate the detailed failed reason. */ + readonly reason?: string; +} + +/** Object that includes all the possible response for the download operation. */ +export interface DownloadResponseOutput { + /** Resource list of the report */ + readonly resourceList?: Array; + /** List of the compliance result */ + readonly complianceReport?: Array; + /** Compliance pdf report */ + readonly compliancePdfReport?: DownloadResponseCompliancePdfReportOutput; + /** The detailed compliance pdf report */ + readonly complianceDetailedPdfReport?: DownloadResponseComplianceDetailedPdfReportOutput; +} + +/** Resource Id. */ +export interface ResourceItemOutput { + /** The subscription Id of this resource. */ + readonly subscriptionId?: string; + /** The resource group name of this resource. */ + readonly resourceGroup?: string; + /** The resource type of this resource. e.g. "Microsoft.SignalRService/SignalR" */ + readonly resourceType?: string; + /** The resource Id - e.g. "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1". */ + readonly resourceId?: string; +} + +/** Object that includes all the content for single compliance result. */ +export interface ComplianceReportItemOutput { + /** The category name. */ + readonly categoryName?: string; + /** The control family name. */ + readonly controlFamilyName?: string; + /** The control Id - e.g. "1". */ + readonly controlId?: string; + /** The control name. */ + readonly controlName?: string; + /** + * Control status. + * + * Possible values: "Passed", "Failed", "NotApplicable", "PendingApproval" + */ + readonly controlStatus?: ControlStatusOutput; + /** The title of the customer responsibility. */ + readonly responsibilityTitle?: string; + /** The description of the customer responsibility. */ + readonly responsibilityDescription?: string; + /** The Id of the resource. */ + readonly resourceId?: string; + /** The type of the resource. e.g. "Microsoft.SignalRService/SignalR" */ + readonly resourceType?: string; + /** + * Resource origin. + * + * Possible values: "Azure", "AWS", "GCP" + */ + readonly resourceOrigin?: ResourceOriginOutput; + /** + * Resource status. + * + * Possible values: "Healthy", "Unhealthy" + */ + readonly resourceStatus?: ResourceStatusOutput; + /** The status change date for the resource. */ + readonly resourceStatusChangeDate?: string; +} + +/** Compliance pdf report */ +export interface DownloadResponseCompliancePdfReportOutput { + /** The uri of compliance pdf report */ + readonly sasUri?: string; +} + +/** The detailed compliance pdf report */ +export interface DownloadResponseComplianceDetailedPdfReportOutput { + /** The uri of detailed compliance pdf report */ + readonly sasUri?: string; +} + +/** Object that includes all the possible response for the evidence file download operation. */ +export interface EvidenceFileDownloadResponseOutput { + /** The uri of evidence file */ + readonly evidenceFile?: EvidenceFileDownloadResponseEvidenceFileOutput; +} + +/** The uri of evidence file */ +export interface EvidenceFileDownloadResponseEvidenceFileOutput { + /** The url of evidence file */ + readonly url?: string; +} + +/** 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; +} + +/** The get collection count response. */ +export interface GetCollectionCountResponseOutput { + /** The count of the specified resource. */ + count?: number; +} + +/** The get overview status response. */ +export interface GetOverviewStatusResponseOutput { + /** List of different status items. */ + statusList?: Array; +} + +/** Single status. */ +export interface StatusItemOutput { + /** Status name - e.g. "Active", "Failed". */ + statusName?: string; + /** Status value. e.g. "100", or "100%". */ + statusValue?: string; +} + +/** Success. The response indicates given subscriptions has been onboarded. */ +export interface OnboardResponseOutput { + /** List of subscription ids that are onboarded */ + subscriptionIds?: string[]; +} + +/** Trigger evaluation response. */ +export interface TriggerEvaluationResponseOutput { + /** trigger evaluation property. */ + properties?: TriggerEvaluationPropertyOutput; +} + +/** Trigger evaluation response. */ +export interface TriggerEvaluationPropertyOutput { + /** The time when the evaluation is triggered. */ + readonly triggerTime?: string; + /** The time when the evaluation is end. */ + readonly evaluationEndTime?: string; + /** List of resource ids to be evaluated */ + resourceIds?: string[]; + /** List of quick assessments */ + quickAssessments?: Array; +} + +/** A class represent the quick assessment. */ +export interface QuickAssessmentOutput { + /** Resource id. */ + readonly resourceId?: string; + /** Responsibility id. */ + readonly responsibilityId?: string; + /** The timestamp of resource creation (UTC). */ + readonly timestamp?: string; + /** + * Quick assessment status. + * + * Possible values: "Healthy", "Unhealthy" + */ + readonly resourceStatus?: ResourceStatusOutput; + /** Quick assessment display name. */ + readonly displayName?: string; + /** Quick assessment display name. */ + readonly description?: string; + /** Link to remediation steps for this quick assessment. */ + readonly remediationLink?: string; +} + +/** Parameters for listing in use storage accounts operation. If subscription list is null, it will check the user's all subscriptions. */ +export interface ListInUseStorageAccountsResponseOutput { + /** The storage account list which in use in related reports. */ + storageAccountList?: Array; +} + +/** Alias for ResourceOriginOutput */ +export type ResourceOriginOutput = string; +/** Alias for ReportStatusOutput */ +export type ReportStatusOutput = string; +/** Alias for ProvisioningStateOutput */ +export type ProvisioningStateOutput = 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"; +/** Alias for PrivateEndpointServiceConnectionStatusOutput */ +export type PrivateEndpointServiceConnectionStatusOutput = string; +/** Alias for PrivateEndpointConnectionProvisioningStateOutput */ +export type PrivateEndpointConnectionProvisioningStateOutput = string; +/** Alias for WebhookStatusOutput */ +export type WebhookStatusOutput = string; +/** Alias for SendAllEventsOutput */ +export type SendAllEventsOutput = string; +/** Alias for NotificationEventOutput */ +export type NotificationEventOutput = string; +/** Alias for ContentTypeOutput */ +export type ContentTypeOutput = string; +/** Alias for UpdateWebhookKeyOutput */ +export type UpdateWebhookKeyOutput = string; +/** Alias for WebhookKeyEnabledOutput */ +export type WebhookKeyEnabledOutput = string; +/** Alias for EnableSslVerificationOutput */ +export type EnableSslVerificationOutput = string; +/** Alias for DeliveryStatusOutput */ +export type DeliveryStatusOutput = string; +/** Alias for CategoryStatusOutput */ +export type CategoryStatusOutput = string; +/** Alias for ControlFamilyStatusOutput */ +export type ControlFamilyStatusOutput = string; +/** Alias for ControlStatusOutput */ +export type ControlStatusOutput = string; +/** Alias for ResponsibilityTypeOutput */ +export type ResponsibilityTypeOutput = string; +/** Alias for ResponsibilitySeverityOutput */ +export type ResponsibilitySeverityOutput = string; +/** Alias for ResponsibilityStatusOutput */ +export type ResponsibilityStatusOutput = string; +/** Alias for ResponsibilityEnvironmentOutput */ +export type ResponsibilityEnvironmentOutput = string; +/** Alias for ResourceStatusOutput */ +export type ResourceStatusOutput = string; +/** Alias for IsRecommendSolutionOutput */ +export type IsRecommendSolutionOutput = string; +/** Alias for EvidenceTypeOutput */ +export type EvidenceTypeOutput = string; +/** The response of a ReportResource list operation. */ +export type ReportResourceListResultOutput = Paged; +/** Alias for CheckNameAvailabilityReasonOutput */ +export type CheckNameAvailabilityReasonOutput = string; +/** Alias for ResultOutput */ +export type ResultOutput = string; +/** Alias for InputTypeOutput */ +export type InputTypeOutput = string; +/** Alias for RuleOutput */ +export type RuleOutput = string; +/** The response of a WebhookResource list operation. */ +export type WebhookResourceListResultOutput = Paged; +/** The response of a SnapshotResource list operation. */ +export type SnapshotResourceListResultOutput = Paged; +/** The response of a ScopingConfigurationResource list operation. */ +export type ScopingConfigurationResourceListResultOutput = + Paged; +/** The response of a EvidenceResource list operation. */ +export type EvidenceResourceListResultOutput = Paged; +/** 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; diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/paginateHelper.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/paginateHelper.ts new file mode 100644 index 000000000000..3aac141db0e7 --- /dev/null +++ b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/paginateHelper.ts @@ -0,0 +1,154 @@ +// 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/appcomplianceautomation/arm-appcomplianceautomation/src/pagingHelper.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/pagingHelper.ts deleted file mode 100644 index 205cccc26592..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/pagingHelper.ts +++ /dev/null @@ -1,39 +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. - */ - -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/appcomplianceautomation/arm-appcomplianceautomation/src/parameters.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/parameters.ts new file mode 100644 index 000000000000..a84582ab39f9 --- /dev/null +++ b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/parameters.ts @@ -0,0 +1,269 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { RequestParameters } from "@azure-rest/core-client"; +import { + ReportResource, + ReportResourcePatch, + SyncCertRecordRequest, + CheckNameAvailabilityRequest, + WebhookResource, + WebhookResourcePatch, + SnapshotDownloadRequest, + ScopingConfigurationResource, + EvidenceResource, + EvidenceFileDownloadRequest, + GetCollectionCountRequest, + GetOverviewStatusRequest, + OnboardRequest, + TriggerEvaluationRequest, + ListInUseStorageAccountsRequest, +} from "./models.js"; + +export type ReportGetParameters = RequestParameters; + +export interface ReportCreateOrUpdateBodyParam { + /** Parameters for the create or update operation */ + body: ReportResource; +} + +export type ReportCreateOrUpdateParameters = ReportCreateOrUpdateBodyParam & + RequestParameters; + +export interface ReportUpdateBodyParam { + /** Parameters for the create or update operation */ + body: ReportResourcePatch; +} + +export type ReportUpdateParameters = ReportUpdateBodyParam & RequestParameters; +export type ReportDeleteParameters = RequestParameters; + +export interface ReportListQueryParamProperties { + /** Skip over when retrieving results. */ + $skipToken?: string; + /** Number of elements to return when retrieving results. */ + $top?: number; + /** OData Select statement. Limits the properties on each entry to just those requested, e.g. ?$select=reportName,id. */ + $select?: string; + /** The filter to apply on the operation. */ + $filter?: string; + /** OData order by query option. */ + $orderby?: string; + /** The offerGuid which mapping to the reports. */ + offerGuid?: string; + /** The tenant id of the report creator. */ + reportCreatorTenantId?: string; +} + +export interface ReportListQueryParam { + queryParameters?: ReportListQueryParamProperties; +} + +export type ReportListParameters = ReportListQueryParam & RequestParameters; + +export interface ReportSyncCertRecordBodyParam { + /** Parameters for synchronize certification record operation */ + body: SyncCertRecordRequest; +} + +export type ReportSyncCertRecordParameters = ReportSyncCertRecordBodyParam & + RequestParameters; + +export interface ReportCheckNameAvailabilityBodyParam { + /** NameAvailabilityRequest object. */ + body: CheckNameAvailabilityRequest; +} + +export type ReportCheckNameAvailabilityParameters = + ReportCheckNameAvailabilityBodyParam & RequestParameters; +export type ReportFixParameters = RequestParameters; +export type ReportGetScopingQuestionsParameters = RequestParameters; +export type ReportVerifyParameters = RequestParameters; +export type WebhookGetParameters = RequestParameters; + +export interface WebhookCreateOrUpdateBodyParam { + /** Parameters for the create or update operation */ + body: WebhookResource; +} + +export type WebhookCreateOrUpdateParameters = WebhookCreateOrUpdateBodyParam & + RequestParameters; + +export interface WebhookUpdateBodyParam { + /** Parameters for the create or update operation */ + body: WebhookResourcePatch; +} + +export type WebhookUpdateParameters = WebhookUpdateBodyParam & + RequestParameters; +export type WebhookDeleteParameters = RequestParameters; + +export interface WebhookListQueryParamProperties { + /** Skip over when retrieving results. */ + $skipToken?: string; + /** Number of elements to return when retrieving results. */ + $top?: number; + /** OData Select statement. Limits the properties on each entry to just those requested, e.g. ?$select=reportName,id. */ + $select?: string; + /** The filter to apply on the operation. */ + $filter?: string; + /** OData order by query option. */ + $orderby?: string; + /** The offerGuid which mapping to the reports. */ + offerGuid?: string; + /** The tenant id of the report creator. */ + reportCreatorTenantId?: string; +} + +export interface WebhookListQueryParam { + queryParameters?: WebhookListQueryParamProperties; +} + +export type WebhookListParameters = WebhookListQueryParam & RequestParameters; +export type SnapshotGetParameters = RequestParameters; + +export interface SnapshotListQueryParamProperties { + /** Skip over when retrieving results. */ + $skipToken?: string; + /** Number of elements to return when retrieving results. */ + $top?: number; + /** OData Select statement. Limits the properties on each entry to just those requested, e.g. ?$select=reportName,id. */ + $select?: string; + /** The filter to apply on the operation. */ + $filter?: string; + /** OData order by query option. */ + $orderby?: string; + /** The offerGuid which mapping to the reports. */ + offerGuid?: string; + /** The tenant id of the report creator. */ + reportCreatorTenantId?: string; +} + +export interface SnapshotListQueryParam { + queryParameters?: SnapshotListQueryParamProperties; +} + +export type SnapshotListParameters = SnapshotListQueryParam & RequestParameters; + +export interface SnapshotDownloadBodyParam { + /** Parameters for the query operation */ + body: SnapshotDownloadRequest; +} + +export type SnapshotDownloadParameters = SnapshotDownloadBodyParam & + RequestParameters; +export type ScopingConfigurationGetParameters = RequestParameters; + +export interface ScopingConfigurationCreateOrUpdateBodyParam { + /** Parameters for the create or update operation, this is a singleton resource, so please make sure you're using 'default' as the name. */ + body: ScopingConfigurationResource; +} + +export type ScopingConfigurationCreateOrUpdateParameters = + ScopingConfigurationCreateOrUpdateBodyParam & RequestParameters; +export type ScopingConfigurationDeleteParameters = RequestParameters; +export type ScopingConfigurationListParameters = RequestParameters; +export type EvidenceGetParameters = RequestParameters; + +export interface EvidenceCreateOrUpdateBodyParam { + /** Parameters for the create or update operation */ + body: EvidenceResource; +} + +export interface EvidenceCreateOrUpdateQueryParamProperties { + /** The offerGuid which mapping to the reports. */ + offerGuid?: string; + /** The tenant id of the report creator. */ + reportCreatorTenantId?: string; +} + +export interface EvidenceCreateOrUpdateQueryParam { + queryParameters?: EvidenceCreateOrUpdateQueryParamProperties; +} + +export type EvidenceCreateOrUpdateParameters = + EvidenceCreateOrUpdateQueryParam & + EvidenceCreateOrUpdateBodyParam & + RequestParameters; +export type EvidenceDeleteParameters = RequestParameters; + +export interface EvidenceListByReportQueryParamProperties { + /** Skip over when retrieving results. */ + $skipToken?: string; + /** Number of elements to return when retrieving results. */ + $top?: number; + /** OData Select statement. Limits the properties on each entry to just those requested, e.g. ?$select=reportName,id. */ + $select?: string; + /** The filter to apply on the operation. */ + $filter?: string; + /** OData order by query option. */ + $orderby?: string; + /** The offerGuid which mapping to the reports. */ + offerGuid?: string; + /** The tenant id of the report creator. */ + reportCreatorTenantId?: string; +} + +export interface EvidenceListByReportQueryParam { + queryParameters?: EvidenceListByReportQueryParamProperties; +} + +export type EvidenceListByReportParameters = EvidenceListByReportQueryParam & + RequestParameters; + +export interface EvidenceDownloadBodyParam { + /** Parameters for the query operation */ + body: EvidenceFileDownloadRequest; +} + +export type EvidenceDownloadParameters = EvidenceDownloadBodyParam & + RequestParameters; +export type OperationsListParameters = RequestParameters; + +export interface ProviderActionsCheckNameAvailabilityBodyParam { + /** The content of the action request */ + body: CheckNameAvailabilityRequest; +} + +export type ProviderActionsCheckNameAvailabilityParameters = + ProviderActionsCheckNameAvailabilityBodyParam & RequestParameters; + +export interface ProviderActionsGetCollectionCountBodyParam { + /** The content of the action request */ + body: GetCollectionCountRequest; +} + +export type ProviderActionsGetCollectionCountParameters = + ProviderActionsGetCollectionCountBodyParam & RequestParameters; + +export interface ProviderActionsGetOverviewStatusBodyParam { + /** The content of the action request */ + body: GetOverviewStatusRequest; +} + +export type ProviderActionsGetOverviewStatusParameters = + ProviderActionsGetOverviewStatusBodyParam & RequestParameters; + +export interface ProviderActionsOnboardBodyParam { + /** The content of the action request */ + body: OnboardRequest; +} + +export type ProviderActionsOnboardParameters = ProviderActionsOnboardBodyParam & + RequestParameters; + +export interface ProviderActionsTriggerEvaluationBodyParam { + /** The content of the action request */ + body: TriggerEvaluationRequest; +} + +export type ProviderActionsTriggerEvaluationParameters = + ProviderActionsTriggerEvaluationBodyParam & RequestParameters; + +export interface ProviderActionsListInUseStorageAccountsBodyParam { + /** The content of the action request */ + body: ListInUseStorageAccountsRequest; +} + +export type ProviderActionsListInUseStorageAccountsParameters = + ProviderActionsListInUseStorageAccountsBodyParam & RequestParameters; diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/pollingHelper.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/pollingHelper.ts new file mode 100644 index 000000000000..d79c50663614 --- /dev/null +++ b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/pollingHelper.ts @@ -0,0 +1,343 @@ +// 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 { + ReportCreateOrUpdate200Response, + ReportCreateOrUpdate201Response, + ReportCreateOrUpdateDefaultResponse, + ReportCreateOrUpdateLogicalResponse, + ReportUpdate200Response, + ReportUpdate202Response, + ReportUpdateDefaultResponse, + ReportUpdateLogicalResponse, + ReportDelete202Response, + ReportDelete204Response, + ReportDeleteDefaultResponse, + ReportDeleteLogicalResponse, + ReportSyncCertRecord200Response, + ReportSyncCertRecord202Response, + ReportSyncCertRecordDefaultResponse, + ReportSyncCertRecordLogicalResponse, + ReportFix200Response, + ReportFix202Response, + ReportFixDefaultResponse, + ReportFixLogicalResponse, + ReportVerify200Response, + ReportVerify202Response, + ReportVerifyDefaultResponse, + ReportVerifyLogicalResponse, + SnapshotDownload200Response, + SnapshotDownload202Response, + SnapshotDownloadDefaultResponse, + SnapshotDownloadLogicalResponse, + ProviderActionsOnboard200Response, + ProviderActionsOnboard202Response, + ProviderActionsOnboardDefaultResponse, + ProviderActionsOnboardLogicalResponse, + ProviderActionsTriggerEvaluation200Response, + ProviderActionsTriggerEvaluation202Response, + ProviderActionsTriggerEvaluationDefaultResponse, + ProviderActionsTriggerEvaluationLogicalResponse, +} from "./responses.js"; + +/** + * A simple poller that can be used to poll a long running operation. + */ +export interface SimplePollerLike< + TState extends OperationState, + 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 + | ReportCreateOrUpdateLogicalResponse + | ReportCreateOrUpdateDefaultResponse, +>( + client: Client, + initialResponse: + | ReportCreateOrUpdate200Response + | ReportCreateOrUpdate201Response + | ReportCreateOrUpdateDefaultResponse, + options?: CreateHttpPollerOptions>, +): Promise, TResult>>; +export async function getLongRunningPoller< + TResult extends ReportUpdateLogicalResponse | ReportUpdateDefaultResponse, +>( + client: Client, + initialResponse: + | ReportUpdate200Response + | ReportUpdate202Response + | ReportUpdateDefaultResponse, + options?: CreateHttpPollerOptions>, +): Promise, TResult>>; +export async function getLongRunningPoller< + TResult extends ReportDeleteLogicalResponse | ReportDeleteDefaultResponse, +>( + client: Client, + initialResponse: + | ReportDelete202Response + | ReportDelete204Response + | ReportDeleteDefaultResponse, + options?: CreateHttpPollerOptions>, +): Promise, TResult>>; +export async function getLongRunningPoller< + TResult extends + | ReportSyncCertRecordLogicalResponse + | ReportSyncCertRecordDefaultResponse, +>( + client: Client, + initialResponse: + | ReportSyncCertRecord200Response + | ReportSyncCertRecord202Response + | ReportSyncCertRecordDefaultResponse, + options?: CreateHttpPollerOptions>, +): Promise, TResult>>; +export async function getLongRunningPoller< + TResult extends ReportFixLogicalResponse | ReportFixDefaultResponse, +>( + client: Client, + initialResponse: + | ReportFix200Response + | ReportFix202Response + | ReportFixDefaultResponse, + options?: CreateHttpPollerOptions>, +): Promise, TResult>>; +export async function getLongRunningPoller< + TResult extends ReportVerifyLogicalResponse | ReportVerifyDefaultResponse, +>( + client: Client, + initialResponse: + | ReportVerify200Response + | ReportVerify202Response + | ReportVerifyDefaultResponse, + options?: CreateHttpPollerOptions>, +): Promise, TResult>>; +export async function getLongRunningPoller< + TResult extends + | SnapshotDownloadLogicalResponse + | SnapshotDownloadDefaultResponse, +>( + client: Client, + initialResponse: + | SnapshotDownload200Response + | SnapshotDownload202Response + | SnapshotDownloadDefaultResponse, + options?: CreateHttpPollerOptions>, +): Promise, TResult>>; +export async function getLongRunningPoller< + TResult extends + | ProviderActionsOnboardLogicalResponse + | ProviderActionsOnboardDefaultResponse, +>( + client: Client, + initialResponse: + | ProviderActionsOnboard200Response + | ProviderActionsOnboard202Response + | ProviderActionsOnboardDefaultResponse, + options?: CreateHttpPollerOptions>, +): Promise, TResult>>; +export async function getLongRunningPoller< + TResult extends + | ProviderActionsTriggerEvaluationLogicalResponse + | ProviderActionsTriggerEvaluationDefaultResponse, +>( + client: Client, + initialResponse: + | ProviderActionsTriggerEvaluation200Response + | ProviderActionsTriggerEvaluation202Response + | ProviderActionsTriggerEvaluationDefaultResponse, + 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/appcomplianceautomation/arm-appcomplianceautomation/src/responses.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/responses.ts new file mode 100644 index 000000000000..d8ace5db439b --- /dev/null +++ b/sdk/appcomplianceautomation/arm-appcomplianceautomation/src/responses.ts @@ -0,0 +1,620 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { RawHttpHeaders } from "@azure/core-rest-pipeline"; +import { HttpResponse } from "@azure-rest/core-client"; +import { + ReportResourceOutput, + ErrorResponseOutput, + ReportResourceListResultOutput, + SyncCertRecordResponseOutput, + CheckNameAvailabilityResponseOutput, + ReportFixResultOutput, + ScopingQuestionsOutput, + ReportVerificationResultOutput, + WebhookResourceOutput, + WebhookResourceListResultOutput, + SnapshotResourceOutput, + SnapshotResourceListResultOutput, + DownloadResponseOutput, + ScopingConfigurationResourceOutput, + ScopingConfigurationResourceListResultOutput, + EvidenceResourceOutput, + EvidenceResourceListResultOutput, + EvidenceFileDownloadResponseOutput, + OperationListResultOutput, + GetCollectionCountResponseOutput, + GetOverviewStatusResponseOutput, + OnboardResponseOutput, + TriggerEvaluationResponseOutput, + ListInUseStorageAccountsResponseOutput, +} from "./outputModels.js"; + +/** Azure operation completed successfully. */ +export interface ReportGet200Response extends HttpResponse { + status: "200"; + body: ReportResourceOutput; +} + +export interface ReportGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** Resource 'ReportResource' update operation succeeded */ +export interface ReportCreateOrUpdate200Response extends HttpResponse { + status: "200"; + body: ReportResourceOutput; +} + +export interface ReportCreateOrUpdate201Headers { + /** The Retry-After header can indicate how long the client should wait before polling the operation status. */ + "retry-after"?: number; +} + +/** Resource 'ReportResource' create operation succeeded */ +export interface ReportCreateOrUpdate201Response extends HttpResponse { + status: "201"; + body: ReportResourceOutput; + headers: RawHttpHeaders & ReportCreateOrUpdate201Headers; +} + +export interface ReportCreateOrUpdateDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** The final response for long-running createOrUpdate operation */ +export interface ReportCreateOrUpdateLogicalResponse extends HttpResponse { + status: "200"; + body: ReportResourceOutput; +} + +/** Azure operation completed successfully. */ +export interface ReportUpdate200Response extends HttpResponse { + status: "200"; + body: ReportResourceOutput; +} + +export interface ReportUpdate202Headers { + /** 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 ReportUpdate202Response extends HttpResponse { + status: "202"; + headers: RawHttpHeaders & ReportUpdate202Headers; +} + +export interface ReportUpdateDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** The final response for long-running update operation */ +export interface ReportUpdateLogicalResponse extends HttpResponse { + status: "200"; + body: ReportResourceOutput; +} + +export interface ReportDelete202Headers { + /** 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 ReportDelete202Response extends HttpResponse { + status: "202"; + headers: RawHttpHeaders & ReportDelete202Headers; +} + +/** Resource does not exist. */ +export interface ReportDelete204Response extends HttpResponse { + status: "204"; +} + +export interface ReportDeleteDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** The final response for long-running delete operation */ +export interface ReportDeleteLogicalResponse extends HttpResponse { + status: "200"; +} + +/** Azure operation completed successfully. */ +export interface ReportList200Response extends HttpResponse { + status: "200"; + body: ReportResourceListResultOutput; +} + +export interface ReportListDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** Azure operation completed successfully. */ +export interface ReportSyncCertRecord200Response extends HttpResponse { + status: "200"; + body: SyncCertRecordResponseOutput; +} + +export interface ReportSyncCertRecord202Headers { + /** 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 ReportSyncCertRecord202Response extends HttpResponse { + status: "202"; + headers: RawHttpHeaders & ReportSyncCertRecord202Headers; +} + +export interface ReportSyncCertRecordDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** The final response for long-running syncCertRecord operation */ +export interface ReportSyncCertRecordLogicalResponse extends HttpResponse { + status: "200"; + body: SyncCertRecordResponseOutput; +} + +/** Azure operation completed successfully. */ +export interface ReportCheckNameAvailability200Response extends HttpResponse { + status: "200"; + body: CheckNameAvailabilityResponseOutput; +} + +export interface ReportCheckNameAvailabilityDefaultResponse + extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** Azure operation completed successfully. */ +export interface ReportFix200Response extends HttpResponse { + status: "200"; + body: ReportFixResultOutput; +} + +export interface ReportFix202Headers { + /** 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 ReportFix202Response extends HttpResponse { + status: "202"; + headers: RawHttpHeaders & ReportFix202Headers; +} + +export interface ReportFixDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** The final response for long-running fix operation */ +export interface ReportFixLogicalResponse extends HttpResponse { + status: "200"; + body: ReportFixResultOutput; +} + +/** Azure operation completed successfully. */ +export interface ReportGetScopingQuestions200Response extends HttpResponse { + status: "200"; + body: ScopingQuestionsOutput; +} + +export interface ReportGetScopingQuestionsDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** Azure operation completed successfully. */ +export interface ReportVerify200Response extends HttpResponse { + status: "200"; + body: ReportVerificationResultOutput; +} + +export interface ReportVerify202Headers { + /** 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 ReportVerify202Response extends HttpResponse { + status: "202"; + headers: RawHttpHeaders & ReportVerify202Headers; +} + +export interface ReportVerifyDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** The final response for long-running verify operation */ +export interface ReportVerifyLogicalResponse extends HttpResponse { + status: "200"; + body: ReportVerificationResultOutput; +} + +/** Azure operation completed successfully. */ +export interface WebhookGet200Response extends HttpResponse { + status: "200"; + body: WebhookResourceOutput; +} + +export interface WebhookGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** Resource 'WebhookResource' update operation succeeded */ +export interface WebhookCreateOrUpdate200Response extends HttpResponse { + status: "200"; + body: WebhookResourceOutput; +} + +/** Resource 'WebhookResource' create operation succeeded */ +export interface WebhookCreateOrUpdate201Response extends HttpResponse { + status: "201"; + body: WebhookResourceOutput; +} + +export interface WebhookCreateOrUpdateDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** Azure operation completed successfully. */ +export interface WebhookUpdate200Response extends HttpResponse { + status: "200"; + body: WebhookResourceOutput; +} + +export interface WebhookUpdateDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** Resource deleted successfully. */ +export interface WebhookDelete200Response extends HttpResponse { + status: "200"; +} + +/** Resource does not exist. */ +export interface WebhookDelete204Response extends HttpResponse { + status: "204"; +} + +export interface WebhookDeleteDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** Azure operation completed successfully. */ +export interface WebhookList200Response extends HttpResponse { + status: "200"; + body: WebhookResourceListResultOutput; +} + +export interface WebhookListDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** Azure operation completed successfully. */ +export interface SnapshotGet200Response extends HttpResponse { + status: "200"; + body: SnapshotResourceOutput; +} + +export interface SnapshotGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** Azure operation completed successfully. */ +export interface SnapshotList200Response extends HttpResponse { + status: "200"; + body: SnapshotResourceListResultOutput; +} + +export interface SnapshotListDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** Azure operation completed successfully. */ +export interface SnapshotDownload200Response extends HttpResponse { + status: "200"; + body: DownloadResponseOutput; +} + +export interface SnapshotDownload202Headers { + /** 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 SnapshotDownload202Response extends HttpResponse { + status: "202"; + headers: RawHttpHeaders & SnapshotDownload202Headers; +} + +export interface SnapshotDownloadDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** The final response for long-running download operation */ +export interface SnapshotDownloadLogicalResponse extends HttpResponse { + status: "200"; + body: DownloadResponseOutput; +} + +/** Azure operation completed successfully. */ +export interface ScopingConfigurationGet200Response extends HttpResponse { + status: "200"; + body: ScopingConfigurationResourceOutput; +} + +export interface ScopingConfigurationGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** Resource 'ScopingConfigurationResource' update operation succeeded */ +export interface ScopingConfigurationCreateOrUpdate200Response + extends HttpResponse { + status: "200"; + body: ScopingConfigurationResourceOutput; +} + +/** Resource 'ScopingConfigurationResource' create operation succeeded */ +export interface ScopingConfigurationCreateOrUpdate201Response + extends HttpResponse { + status: "201"; + body: ScopingConfigurationResourceOutput; +} + +export interface ScopingConfigurationCreateOrUpdateDefaultResponse + extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** Resource deleted successfully. */ +export interface ScopingConfigurationDelete200Response extends HttpResponse { + status: "200"; +} + +/** Resource does not exist. */ +export interface ScopingConfigurationDelete204Response extends HttpResponse { + status: "204"; +} + +export interface ScopingConfigurationDeleteDefaultResponse + extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** Azure operation completed successfully. */ +export interface ScopingConfigurationList200Response extends HttpResponse { + status: "200"; + body: ScopingConfigurationResourceListResultOutput; +} + +export interface ScopingConfigurationListDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** Azure operation completed successfully. */ +export interface EvidenceGet200Response extends HttpResponse { + status: "200"; + body: EvidenceResourceOutput; +} + +export interface EvidenceGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** Resource 'EvidenceResource' update operation succeeded */ +export interface EvidenceCreateOrUpdate200Response extends HttpResponse { + status: "200"; + body: EvidenceResourceOutput; +} + +/** Resource 'EvidenceResource' create operation succeeded */ +export interface EvidenceCreateOrUpdate201Response extends HttpResponse { + status: "201"; + body: EvidenceResourceOutput; +} + +export interface EvidenceCreateOrUpdateDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** Resource deleted successfully. */ +export interface EvidenceDelete200Response extends HttpResponse { + status: "200"; +} + +/** Resource does not exist. */ +export interface EvidenceDelete204Response extends HttpResponse { + status: "204"; +} + +export interface EvidenceDeleteDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** Azure operation completed successfully. */ +export interface EvidenceListByReport200Response extends HttpResponse { + status: "200"; + body: EvidenceResourceListResultOutput; +} + +export interface EvidenceListByReportDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** Azure operation completed successfully. */ +export interface EvidenceDownload200Response extends HttpResponse { + status: "200"; + body: EvidenceFileDownloadResponseOutput; +} + +export interface EvidenceDownloadDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** 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 ProviderActionsCheckNameAvailability200Response + extends HttpResponse { + status: "200"; + body: CheckNameAvailabilityResponseOutput; +} + +export interface ProviderActionsCheckNameAvailabilityDefaultResponse + extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** Azure operation completed successfully. */ +export interface ProviderActionsGetCollectionCount200Response + extends HttpResponse { + status: "200"; + body: GetCollectionCountResponseOutput; +} + +export interface ProviderActionsGetCollectionCountDefaultResponse + extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** Azure operation completed successfully. */ +export interface ProviderActionsGetOverviewStatus200Response + extends HttpResponse { + status: "200"; + body: GetOverviewStatusResponseOutput; +} + +export interface ProviderActionsGetOverviewStatusDefaultResponse + extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** Azure operation completed successfully. */ +export interface ProviderActionsOnboard200Response extends HttpResponse { + status: "200"; + body: OnboardResponseOutput; +} + +export interface ProviderActionsOnboard202Headers { + /** 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 ProviderActionsOnboard202Response extends HttpResponse { + status: "202"; + headers: RawHttpHeaders & ProviderActionsOnboard202Headers; +} + +export interface ProviderActionsOnboardDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** The final response for long-running onboard operation */ +export interface ProviderActionsOnboardLogicalResponse extends HttpResponse { + status: "200"; + body: OnboardResponseOutput; +} + +/** Azure operation completed successfully. */ +export interface ProviderActionsTriggerEvaluation200Response + extends HttpResponse { + status: "200"; + body: TriggerEvaluationResponseOutput; +} + +export interface ProviderActionsTriggerEvaluation202Headers { + /** 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 ProviderActionsTriggerEvaluation202Response + extends HttpResponse { + status: "202"; + headers: RawHttpHeaders & ProviderActionsTriggerEvaluation202Headers; +} + +export interface ProviderActionsTriggerEvaluationDefaultResponse + extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} + +/** The final response for long-running triggerEvaluation operation */ +export interface ProviderActionsTriggerEvaluationLogicalResponse + extends HttpResponse { + status: "200"; + body: TriggerEvaluationResponseOutput; +} + +/** Azure operation completed successfully. */ +export interface ProviderActionsListInUseStorageAccounts200Response + extends HttpResponse { + status: "200"; + body: ListInUseStorageAccountsResponseOutput; +} + +export interface ProviderActionsListInUseStorageAccountsDefaultResponse + extends HttpResponse { + status: string; + body: ErrorResponseOutput; +} diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/test/appcomplianceautomation_operations_test.spec.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/test/appcomplianceautomation_operations_test.spec.ts deleted file mode 100644 index e65946e11ca7..000000000000 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/test/appcomplianceautomation_operations_test.spec.ts +++ /dev/null @@ -1,70 +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, - RecorderStartOptions, - delay, - isPlaybackMode, -} from "@azure-tools/test-recorder"; -import { createTestCredential } from "@azure-tools/test-credential"; -import { assert } from "chai"; -import { Context } from "mocha"; -import { AppComplianceAutomationToolForMicrosoft365 } from "../src/appComplianceAutomationToolForMicrosoft365" - -const replaceableVariables: Record = { - SUBSCRIPTION_ID: "88888888-8888-8888-8888-888888888888" -}; - -const recorderOptions: 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 - ], -}; - -export const testPollingOptions = { - updateIntervalInMs: isPlaybackMode() ? 0 : undefined, -}; - -describe("appcomplianceautomation test", () => { - let recorder: Recorder; - let subscriptionId: string; - let client: AppComplianceAutomationToolForMicrosoft365; - let location: string; - let resourceGroup: string; - let resourcename: string; - - beforeEach(async function (this: Context) { - recorder = new Recorder(this.currentTest); - await recorder.start(recorderOptions); - subscriptionId = env.SUBSCRIPTION_ID || ''; - // This is an example of how the environment variables are used - const credential = createTestCredential(); - client = new AppComplianceAutomationToolForMicrosoft365(credential, recorder.configureClientOptions({})); - location = "eastus"; - resourceGroup = "myjstest"; - resourcename = "resourcetest"; - - }); - - afterEach(async function () { - 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); - }); - -}) diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/test/public/sampleTest.spec.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/test/public/sampleTest.spec.ts new file mode 100644 index 000000000000..344657d6f17e --- /dev/null +++ b/sdk/appcomplianceautomation/arm-appcomplianceautomation/test/public/sampleTest.spec.ts @@ -0,0 +1,21 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { createRecorder } from "./utils/recordedClient.js"; +import { assert, beforeEach, afterEach, it, describe } from "vitest"; + +describe("My test", () => { + // let recorder: Recorder; + + beforeEach(async function () { + // recorder = await createRecorder(this); + }); + + afterEach(async function () { + // await recorder.stop(); + }); + + it("sample test", async function () { + assert.equal(1, 1); + }); +}); diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/test/public/utils/recordedClient.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/test/public/utils/recordedClient.ts new file mode 100644 index 000000000000..a4d8acf86259 --- /dev/null +++ b/sdk/appcomplianceautomation/arm-appcomplianceautomation/test/public/utils/recordedClient.ts @@ -0,0 +1,29 @@ +// 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, +}; + +/** + * 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/appcomplianceautomation/arm-appcomplianceautomation/tsconfig.browser.config.json b/sdk/appcomplianceautomation/arm-appcomplianceautomation/tsconfig.browser.config.json new file mode 100644 index 000000000000..1b37aebc5457 --- /dev/null +++ b/sdk/appcomplianceautomation/arm-appcomplianceautomation/tsconfig.browser.config.json @@ -0,0 +1,10 @@ +{ + "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/appcomplianceautomation/arm-appcomplianceautomation/tsconfig.json b/sdk/appcomplianceautomation/arm-appcomplianceautomation/tsconfig.json index 1795f632f0eb..efea3e9fbd2e 100644 --- a/sdk/appcomplianceautomation/arm-appcomplianceautomation/tsconfig.json +++ b/sdk/appcomplianceautomation/arm-appcomplianceautomation/tsconfig.json @@ -1,33 +1,15 @@ { + "extends": "../../../tsconfig", "compilerOptions": { - "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, - "paths": { - "@azure/arm-appcomplianceautomation": [ - "./src/index" - ] - } + "module": "NodeNext", + "moduleResolution": "NodeNext", + "rootDir": "." }, "include": [ "./src/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts" - ], - "exclude": [ - "node_modules" + "./src/**/*.mts", + "./src/**/*.cts", + "test/**/*.ts", + "./test/**/*.ts" ] -} \ No newline at end of file +} diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/tsp-location.yaml b/sdk/appcomplianceautomation/arm-appcomplianceautomation/tsp-location.yaml new file mode 100644 index 000000000000..1141cd689974 --- /dev/null +++ b/sdk/appcomplianceautomation/arm-appcomplianceautomation/tsp-location.yaml @@ -0,0 +1,5 @@ +directory: specification/appcomplianceautomation/AppComplianceAutomation.Management +commit: 748b20b884014edb8a0177fac940738055450290 +additionalDirectories: [] +repo: test-repo-billy/azure-rest-api-specs + diff --git a/sdk/appcomplianceautomation/arm-appcomplianceautomation/vitest.browser.config.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/vitest.browser.config.ts new file mode 100644 index 000000000000..eda90c3ea96b --- /dev/null +++ b/sdk/appcomplianceautomation/arm-appcomplianceautomation/vitest.browser.config.ts @@ -0,0 +1,37 @@ +// 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/appcomplianceautomation/arm-appcomplianceautomation/vitest.config.ts b/sdk/appcomplianceautomation/arm-appcomplianceautomation/vitest.config.ts new file mode 100644 index 000000000000..7928f980b01c --- /dev/null +++ b/sdk/appcomplianceautomation/arm-appcomplianceautomation/vitest.config.ts @@ -0,0 +1,33 @@ +// 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, + }, +});