From f608cf3490918ad5d2ae3f4e094a94b66c996015 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 30 May 2024 06:35:52 +0000 Subject: [PATCH] CodeGen from PR 26644 in Azure/azure-rest-api-specs Merge 5bf267a768138ae7f6056f66e0eef8e142718f5e into fba917faefdd37873aea9eb998b8f114c5e5b7c5 --- common/config/rush/pnpm-lock.yaml | 777 ++-- sdk/scvmm/arm-scvmm/CHANGELOG.md | 36 +- sdk/scvmm/arm-scvmm/LICENSE | 2 +- sdk/scvmm/arm-scvmm/README.md | 26 +- sdk/scvmm/arm-scvmm/_meta.json | 10 +- sdk/scvmm/arm-scvmm/package.json | 36 +- sdk/scvmm/arm-scvmm/review/arm-scvmm.api.md | 1050 +++-- sdk/scvmm/arm-scvmm/src/index.ts | 2 +- sdk/scvmm/arm-scvmm/src/lroImpl.ts | 54 +- sdk/scvmm/arm-scvmm/src/models/index.ts | 2396 ++++++---- sdk/scvmm/arm-scvmm/src/models/mappers.ts | 3909 ++++++++++------- sdk/scvmm/arm-scvmm/src/models/parameters.ts | 353 +- .../src/operations/availabilitySets.ts | 649 +-- sdk/scvmm/arm-scvmm/src/operations/clouds.ts | 630 +-- .../arm-scvmm/src/operations/guestAgents.ts | 365 ++ sdk/scvmm/arm-scvmm/src/operations/index.ts | 10 +- .../src/operations/inventoryItems.ts | 249 +- .../arm-scvmm/src/operations/operations.ts | 50 +- .../src/operations/virtualMachineInstances.ts | 1239 ++++++ .../src/operations/virtualMachineTemplates.ts | 612 +-- .../src/operations/virtualMachines.ts | 1354 ------ .../src/operations/virtualNetworks.ts | 602 +-- .../vmInstanceHybridIdentityMetadatas.ts | 215 + .../arm-scvmm/src/operations/vmmServers.ts | 635 +-- .../operationsInterfaces/availabilitySets.ts | 136 +- .../src/operationsInterfaces/clouds.ts | 129 +- .../src/operationsInterfaces/guestAgents.ts | 78 + .../src/operationsInterfaces/index.ts | 10 +- .../operationsInterfaces/inventoryItems.ts | 62 +- .../src/operationsInterfaces/operations.ts | 11 +- .../virtualMachineInstances.ts | 295 ++ .../virtualMachineTemplates.ts | 108 +- .../operationsInterfaces/virtualMachines.ts | 277 -- .../operationsInterfaces/virtualNetworks.ts | 108 +- .../vmInstanceHybridIdentityMetadatas.ts | 38 + .../src/operationsInterfaces/vmmServers.ts | 134 +- sdk/scvmm/arm-scvmm/src/pagingHelper.ts | 2 +- .../arm-scvmm/src/{scvmm.ts => scVmm.ts} | 107 +- sdk/scvmm/arm-scvmm/test/sampleTest.ts | 12 +- sdk/scvmm/arm-scvmm/tsconfig.json | 10 +- 40 files changed, 9658 insertions(+), 7120 deletions(-) create mode 100644 sdk/scvmm/arm-scvmm/src/operations/guestAgents.ts create mode 100644 sdk/scvmm/arm-scvmm/src/operations/virtualMachineInstances.ts delete mode 100644 sdk/scvmm/arm-scvmm/src/operations/virtualMachines.ts create mode 100644 sdk/scvmm/arm-scvmm/src/operations/vmInstanceHybridIdentityMetadatas.ts create mode 100644 sdk/scvmm/arm-scvmm/src/operationsInterfaces/guestAgents.ts create mode 100644 sdk/scvmm/arm-scvmm/src/operationsInterfaces/virtualMachineInstances.ts delete mode 100644 sdk/scvmm/arm-scvmm/src/operationsInterfaces/virtualMachines.ts create mode 100644 sdk/scvmm/arm-scvmm/src/operationsInterfaces/vmInstanceHybridIdentityMetadatas.ts rename sdk/scvmm/arm-scvmm/src/{scvmm.ts => scVmm.ts} (70%) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 40f897639d66..a648b29c0e7d 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -11027,7 +11027,7 @@ packages: dev: false file:projects/abort-controller.tgz: - resolution: {integrity: sha512-QZ0E3RZB7pUg1bZN5ItGSjX9TUZc+boHlKqirCXSsH8IzCA8TBWImWCYFzXDIMhnk5DZQZUd7+S5MoTWtNqANA==, tarball: file:projects/abort-controller.tgz} + resolution: {integrity: sha512-QyNMkQBrSPMQA1WJFyuFJMd14vykwwDw7955MmKvLopfcjj+sewnzO4+bIaNC9DwROFRiY8oHGD1HZc7fABncg==, tarball: file:projects/abort-controller.tgz} name: '@rush-temp/abort-controller' version: 0.0.0 dependencies: @@ -11059,7 +11059,7 @@ packages: dev: false file:projects/agrifood-farming.tgz: - resolution: {integrity: sha512-HZSx6lhjPi5qHvHdGJccgLOkO81zZ1uPpbrb/XHkIDJYEgZKztojGreO4E/YfNCWywHBz9HcH2VwcnXG5Dd3kw==, tarball: file:projects/agrifood-farming.tgz} + resolution: {integrity: sha512-YIKoS//F+JC5Z5U03+oik6ddqcAUnyYDkanBpy0t6pKx/mrIkSpw+lVv575Mt911JnxS4GzjMskGBwtoelNVSw==, tarball: file:projects/agrifood-farming.tgz} name: '@rush-temp/agrifood-farming' version: 0.0.0 dependencies: @@ -11106,7 +11106,7 @@ packages: dev: false file:projects/ai-anomaly-detector.tgz: - resolution: {integrity: sha512-iCAJGraXxuPI6HnvhvqvAEsc6J/bDEv5oJf79EEH+aEgVxoX7j8l2utPd3HZUQcS0fy6PvZS0SoKxaV8o6kleQ==, tarball: file:projects/ai-anomaly-detector.tgz} + resolution: {integrity: sha512-NIN7uMdpYqfkcL6RqgMwImlrU/cYjQaUThas3kTdOiyYJVB1+i88KSNP0vkn5yhiHuA9Tg/PagvkiBisV+NEtg==, tarball: file:projects/ai-anomaly-detector.tgz} name: '@rush-temp/ai-anomaly-detector' version: 0.0.0 dependencies: @@ -11153,7 +11153,7 @@ packages: dev: false file:projects/ai-content-safety.tgz: - resolution: {integrity: sha512-TMcjYfnMtjYkygH9JvMeRQ6/0tushS9oAbPiK8HQXvgfqAdEHfIX14eABYavFiBPOUiuodNriCrXF3OsnHroaQ==, tarball: file:projects/ai-content-safety.tgz} + resolution: {integrity: sha512-e3gc7GLlQFLoH5AOBQKbXBDg0CiRDL+HTvlQgKgoMuays937daJUZ0bPNahhGiUVmD39PmmcPRSKWNJaFSE9LQ==, tarball: file:projects/ai-content-safety.tgz} name: '@rush-temp/ai-content-safety' version: 0.0.0 dependencies: @@ -11198,7 +11198,7 @@ packages: dev: false file:projects/ai-document-intelligence.tgz: - resolution: {integrity: sha512-F0qhC9gs36W1qaV+CqxLt36IB8nHJlEzUNxix/VzmLKtD8V3mniIkpshChzYiebnJNjbxpwGTq+xt/bouutU6Q==, tarball: file:projects/ai-document-intelligence.tgz} + resolution: {integrity: sha512-O9KnUHux32czxiSlcW374f0zP9DdGzzXaabJZuYiomrLGUU8201g6s26DKRzcgsNL/JG8eq4M67mikOYiSnkkg==, tarball: file:projects/ai-document-intelligence.tgz} name: '@rush-temp/ai-document-intelligence' version: 0.0.0 dependencies: @@ -11245,7 +11245,7 @@ packages: dev: false file:projects/ai-document-translator.tgz: - resolution: {integrity: sha512-Vf7Fo170U5+VKVsZlQB7o8PSsjaoROE5O1knRdMAx6HvIvBT8J8DLMk2MLcxLbLn/u4SNu6DdB21AwyIVf6Nog==, tarball: file:projects/ai-document-translator.tgz} + resolution: {integrity: sha512-bFjyePKkhsvdY3PQfILXwbzQ3dSKvIvWNz7di+J9n2dunU3VEE35QNWt92V8rBFVsTyjblGqdbEFRPVg+U9wtA==, tarball: file:projects/ai-document-translator.tgz} name: '@rush-temp/ai-document-translator' version: 0.0.0 dependencies: @@ -11290,7 +11290,7 @@ packages: dev: false file:projects/ai-form-recognizer.tgz: - resolution: {integrity: sha512-8YLmzSpFghgvblc3nHGSAkb1t99w6YFPK5LwycwDzoXSbm8v34TaMe//RC/A73OjaLJt6peCDSsXkVU/KcJddA==, tarball: file:projects/ai-form-recognizer.tgz} + resolution: {integrity: sha512-K9BlR/HQSbQPbwEAgCqPPDIKEZ30WKLt+Xteh9jEsA7pImFX1nYLBqJIhG+jw/JVMhRkOmtaDsl+RN0FOJmKCw==, tarball: file:projects/ai-form-recognizer.tgz} name: '@rush-temp/ai-form-recognizer' version: 0.0.0 dependencies: @@ -11339,7 +11339,7 @@ packages: dev: false file:projects/ai-language-conversations.tgz: - resolution: {integrity: sha512-y38041Ljdkb8VoAZ0hkf5qCrl6nTVeoQogPMipCxamrWXrj1aYBGgyVmuefZvI/P17kXE9I81zqrrrawYnGm4Q==, tarball: file:projects/ai-language-conversations.tgz} + resolution: {integrity: sha512-brgEmjbbi4zBMY2W4ori3NJoiMNFUXTlPqW9v90z6vD+nai+GQzAzYO6IzMl1WC8A4kSdImKXePvK8BWRXY2Zg==, tarball: file:projects/ai-language-conversations.tgz} name: '@rush-temp/ai-language-conversations' version: 0.0.0 dependencies: @@ -11389,7 +11389,7 @@ packages: dev: false file:projects/ai-language-text.tgz: - resolution: {integrity: sha512-4Mp2wIsSdCqKIdF6x5Muz0VeTwNMNJuLAyYFP0u6MMi54YjG6YN7AO0/Ojy8irIhKHYjMtYgyzcjVBQKUsmY9A==, tarball: file:projects/ai-language-text.tgz} + resolution: {integrity: sha512-y6j25M99pYlSstK3r+7DsGkfbXzx7DlAcWfiy9EWcHzp7/BRZ/Dg177z5S4lohg+Jd/9JGGFaxpNIcECH1HTNA==, tarball: file:projects/ai-language-text.tgz} name: '@rush-temp/ai-language-text' version: 0.0.0 dependencies: @@ -11438,7 +11438,7 @@ packages: dev: false file:projects/ai-language-textauthoring.tgz: - resolution: {integrity: sha512-6nr5OO05e+OLV++CpNwQeJiDe117qAcNaLsW6+TUEB5JlgfPV7GQjflepC9nW0UP7bM/Usjxe/1D5/uqJQA9Vg==, tarball: file:projects/ai-language-textauthoring.tgz} + resolution: {integrity: sha512-4SPopXyXGIBZl/+zClplXf5AcN8/WSICaaI+51NQ56xccla9T+K+UtJJPjfq763q1BAiAPGLOYyJRW0UDmh1aQ==, tarball: file:projects/ai-language-textauthoring.tgz} name: '@rush-temp/ai-language-textauthoring' version: 0.0.0 dependencies: @@ -11465,7 +11465,7 @@ packages: dev: false file:projects/ai-metrics-advisor.tgz: - resolution: {integrity: sha512-eGjg+bP9U9y4AsSuJTTQJXr1k2csDmjD/6ZZnySt0KkrjJheCO4xh22geeSvkuEJBHyodoDy8YDN+LhOuggx7w==, tarball: file:projects/ai-metrics-advisor.tgz} + resolution: {integrity: sha512-XIzn2uwGPF4f/p7zQ16REsiz9ONPfc2nt0aL/G1p+7kavtRwesAc6zjNxx5kmQu07IuN1GOaW75za3EsfiGcoQ==, tarball: file:projects/ai-metrics-advisor.tgz} name: '@rush-temp/ai-metrics-advisor' version: 0.0.0 dependencies: @@ -11510,7 +11510,7 @@ packages: dev: false file:projects/ai-text-analytics.tgz: - resolution: {integrity: sha512-aisDCcckty5/Qw10RuHTrbDf8kf0WgTR1WcAgQ9REcu9h8Gmm3YHaom0CYHiFmIz1zk4RTII4RUQcthYbFM5pg==, tarball: file:projects/ai-text-analytics.tgz} + resolution: {integrity: sha512-ihwgmnQpcNkQOaZssCcb7vo90Q9NGp8yw3GIFrbsaq7jeOzo51oplw/C7+gWVMc97eRI2ohE7uVygaIfOiwAug==, tarball: file:projects/ai-text-analytics.tgz} name: '@rush-temp/ai-text-analytics' version: 0.0.0 dependencies: @@ -11558,7 +11558,7 @@ packages: dev: false file:projects/ai-translation-text.tgz: - resolution: {integrity: sha512-TwO9ZrOIhwXstbhTsU9mTvzm6Cr7Gaa+HDt/4CkUsyRXyltW97WSQ0czdMoZS3+icSErRJYRprBS2IyO04KoZA==, tarball: file:projects/ai-translation-text.tgz} + resolution: {integrity: sha512-nGLU9Cy/C48q4NQH/g2PCch0u+lw/vQjTssiVpNKc+NOFKQliTF/TFkkXevsAcanh8elPXKT1gp560CEBD44rw==, tarball: file:projects/ai-translation-text.tgz} name: '@rush-temp/ai-translation-text' version: 0.0.0 dependencies: @@ -11603,7 +11603,7 @@ packages: dev: false file:projects/ai-vision-face.tgz: - resolution: {integrity: sha512-xMirTG6eo+aHspvpR9xI6AM0wOqn9DBwLZEwWt1KMnJ8jxGsocfviMoufkl6ZreaxMqfBbUEYEk8ZrpgitdBZA==, tarball: file:projects/ai-vision-face.tgz} + resolution: {integrity: sha512-LWudf7lKl88RNyLHOr5ExrksdBjzVyQ8xDZah1Aw+1Tm0tdJz0RLOPizwqo0zfoIscEU3+nB+CmVQVFCtmKQOA==, tarball: file:projects/ai-vision-face.tgz} name: '@rush-temp/ai-vision-face' version: 0.0.0 dependencies: @@ -11641,7 +11641,7 @@ packages: dev: false file:projects/ai-vision-image-analysis.tgz: - resolution: {integrity: sha512-XoJviqs0EVB+5vHHC8cukN0rC+ze+fdGdhtyfyR949LXDZa/9npCnpu1cuZFaPoSK0eu+vYxOJi/kZA3Ar6Tag==, tarball: file:projects/ai-vision-image-analysis.tgz} + resolution: {integrity: sha512-iTZJIfDxQPc54T9fL9/8QK4wb+1w/2+K7eh2MZn903yAG08gnhXzLXk6rC+VlqEaiItmLZr7RLBHWmKGaYsGYQ==, tarball: file:projects/ai-vision-image-analysis.tgz} name: '@rush-temp/ai-vision-image-analysis' version: 0.0.0 dependencies: @@ -11686,7 +11686,7 @@ packages: dev: false file:projects/api-management-custom-widgets-scaffolder.tgz: - resolution: {integrity: sha512-JbBeeqxT29/SMna+CRVXEaTh6A23O9GMDd8djYxz5bdFEhWxGwqvYVos0V/6pp82Ohmp57shkbg0t9y5urOubA==, tarball: file:projects/api-management-custom-widgets-scaffolder.tgz} + resolution: {integrity: sha512-lMLjThvDdunhTGs97/cZydb8QqJM9THIOU83yszP/TU5pRgQgJ1hbTSkENYZevGdnRvo2KF8u4tkRepwT+GBzg==, tarball: file:projects/api-management-custom-widgets-scaffolder.tgz} name: '@rush-temp/api-management-custom-widgets-scaffolder' version: 0.0.0 dependencies: @@ -11728,7 +11728,7 @@ packages: dev: false file:projects/api-management-custom-widgets-tools.tgz: - resolution: {integrity: sha512-fRrbQBQLd8yZNoZLM2bVchzax18ri041vIt9m42eFaLioP1KZesMVobBkEqf6qVhFOn47TMju9SFMfSMmQ3Idw==, tarball: file:projects/api-management-custom-widgets-tools.tgz} + resolution: {integrity: sha512-pjIub72PGhWxnGf2w/fDNSFgqU/Kx6xZrbxUAYMRypxSCuPhERVPDT6tu2bakNa6o31u5NPuEm2lg5VtIfS7eA==, tarball: file:projects/api-management-custom-widgets-tools.tgz} name: '@rush-temp/api-management-custom-widgets-tools' version: 0.0.0 dependencies: @@ -11765,7 +11765,7 @@ packages: dev: false file:projects/app-configuration.tgz: - resolution: {integrity: sha512-xS3GFMp6rhn0j3PLEFnWq5O0vL8ANSw5a3DM5JT3jdITPTBd2iJC/9Ntyh9aj74yMz13rGal+w17Px+qOKhaxA==, tarball: file:projects/app-configuration.tgz} + resolution: {integrity: sha512-VNYxYcU7mbxAE0503atyo5jvkr/g0b8GVZBcE2JTFh6VMWXHZRtaUmwTPYmHFwwJ7Lr5mubT1GKvpTvfUJCq6w==, tarball: file:projects/app-configuration.tgz} name: '@rush-temp/app-configuration' version: 0.0.0 dependencies: @@ -11807,7 +11807,7 @@ packages: dev: false file:projects/arm-advisor.tgz: - resolution: {integrity: sha512-4n/AKXjIFLfkmxdcXVmi6ZsOeyVJe7MhJVu9hmVAPf1C5fTOZDqCjKDiZ6UoySFVQwA5J9SeSvrt4DEaNrK5xw==, tarball: file:projects/arm-advisor.tgz} + resolution: {integrity: sha512-0hN4zHzXqSx4Sv/N3QEL7ahjbTXvrmO05r3y6GPMNq+6AlLl7uHTAD6DfCHpSYlaV+lLQq+ODveQKUSYx3Ya4w==, tarball: file:projects/arm-advisor.tgz} name: '@rush-temp/arm-advisor' version: 0.0.0 dependencies: @@ -11835,7 +11835,7 @@ packages: dev: false file:projects/arm-agrifood.tgz: - resolution: {integrity: sha512-46uFsEF53m7H7vEkK9M5QgqcBxKNw0odYTixjlf6I7kkjGFgQX0388Yjd8eTdsBbAI6HY59uaJPHWEzAVkatwQ==, tarball: file:projects/arm-agrifood.tgz} + resolution: {integrity: sha512-DtgnjSI/ClXFSU+VynFUq66VKFdk9zXSpKyCZ9zCoo97F7+ZTQY7p1idG+HPAMiluIyUugPBfDW2IQN/hFFVrg==, tarball: file:projects/arm-agrifood.tgz} name: '@rush-temp/arm-agrifood' version: 0.0.0 dependencies: @@ -11864,7 +11864,7 @@ packages: dev: false file:projects/arm-analysisservices.tgz: - resolution: {integrity: sha512-hpMtD6tCsrz/UQkre+nKHCWWEiOkl287AIdOzU3FRO+frq8fvZ2dJ4ROs9XAPmvv7V3YittnVVxyWUhGILmhjw==, tarball: file:projects/arm-analysisservices.tgz} + resolution: {integrity: sha512-5BpkKa44miE0VH587+jqxINWYLsMGmM3Bkg6QBfGdVwqFgrq4sZKSPpquoPLt4K/nQnHUBTs3RNpMZuP+UQYWA==, tarball: file:projects/arm-analysisservices.tgz} name: '@rush-temp/arm-analysisservices' version: 0.0.0 dependencies: @@ -11893,7 +11893,7 @@ packages: dev: false file:projects/arm-apicenter.tgz: - resolution: {integrity: sha512-/PQPMfrsBKFGoVPRTpVmlLoV9j5cYZjNYxLUj9B9+VL7CljtvIKIQvNW1frmOA9UBD/tMpU1hO54Skv0zof/9Q==, tarball: file:projects/arm-apicenter.tgz} + resolution: {integrity: sha512-03HM2Bx6+knOBc8hvWGtEOupSEUOWeNfVxcu5OcyKKQc96xXOtLbIFXkUQM8QImTyT90ryRzaeyB9pRrK0ssIw==, tarball: file:projects/arm-apicenter.tgz} name: '@rush-temp/arm-apicenter' version: 0.0.0 dependencies: @@ -11923,7 +11923,7 @@ packages: dev: false file:projects/arm-apimanagement.tgz: - resolution: {integrity: sha512-qw5NGvTpjnkp19UXOPslhDhzsuhT/c8l0XerShkRA4hUdQnVRbVjiUSvAIa6j29dhykPU5Gd2T0RNz8VIFPHbg==, tarball: file:projects/arm-apimanagement.tgz} + resolution: {integrity: sha512-VcsQqKmS1ZQKutAnylSiR0i6H+AvZAiVdbhJC89+73jAN10m424/aT5LlI+vikD3yyfSiRxKfD60qauCRzKFog==, tarball: file:projects/arm-apimanagement.tgz} name: '@rush-temp/arm-apimanagement' version: 0.0.0 dependencies: @@ -11953,7 +11953,7 @@ packages: dev: false file:projects/arm-appcomplianceautomation.tgz: - resolution: {integrity: sha512-kAYEheOc/6MjuSrvSaoxOGHfmMj8PuZDQfyjnzLdHloUtPaczM7hixmZtqAcUJcPvq42U7Rycq3QtgWf34yA5g==, tarball: file:projects/arm-appcomplianceautomation.tgz} + resolution: {integrity: sha512-9sn969aZYnAGicmEOTkxX3+sAgDLqVugjhsuu9OEzop8QVFY3xk+YjH1Tg8DoAcDQ9NRg106o/8cMhJSFyrsFg==, tarball: file:projects/arm-appcomplianceautomation.tgz} name: '@rush-temp/arm-appcomplianceautomation' version: 0.0.0 dependencies: @@ -11982,7 +11982,7 @@ packages: dev: false file:projects/arm-appconfiguration.tgz: - resolution: {integrity: sha512-iapgi1DwZGcDL6Oy1VNg80Nl4xWiQ1LiTinbcnY53ACteC3jP5QxMWa7R6GJtU9xOgTtPWHTXX9Zutw1tc2dvg==, tarball: file:projects/arm-appconfiguration.tgz} + resolution: {integrity: sha512-vhMz0aVWBB5i61Y4ed6CiBDJkOBrIr+qoDLxUXas47SkbyrA03rEQ0TbNkQAP22ragEVSAD+XK400hLSOjsL2Q==, tarball: file:projects/arm-appconfiguration.tgz} name: '@rush-temp/arm-appconfiguration' version: 0.0.0 dependencies: @@ -12012,7 +12012,7 @@ packages: dev: false file:projects/arm-appcontainers.tgz: - resolution: {integrity: sha512-aO1U72geingTSGhKO7bj/QxqeyF1suw86Rc/hnIGj5a91e+41mwTX0p0JW/d0MNelVfXwWfNJIgbRvVibllqhA==, tarball: file:projects/arm-appcontainers.tgz} + resolution: {integrity: sha512-5CdbeO1IFlnvg6IK3AmC4+lAcpYv1ETJE91Yfpk33AzVi90PPVlmnZ8i0pMBkUdYWl9rqxeZHwEZf7YK/vULcQ==, tarball: file:projects/arm-appcontainers.tgz} name: '@rush-temp/arm-appcontainers' version: 0.0.0 dependencies: @@ -12042,7 +12042,7 @@ packages: dev: false file:projects/arm-appinsights.tgz: - resolution: {integrity: sha512-0vRtSGFW0eqMFp4ErlCMkiCGYqeCsmfegVz3R2EjMyqS+vydUI5OKtQWRgG3c8kacxbeC3lh7pDz87w2v3f9bQ==, tarball: file:projects/arm-appinsights.tgz} + resolution: {integrity: sha512-0pblb4YxNqqK85WDJh+AURSCDOFrMozw6E7NM0pw4eB4AQ3iRz2UlTgyx+Z/Sb56uZVM7gTUxFtj3AiSWUZoVA==, tarball: file:projects/arm-appinsights.tgz} name: '@rush-temp/arm-appinsights' version: 0.0.0 dependencies: @@ -12069,7 +12069,7 @@ packages: dev: false file:projects/arm-appplatform.tgz: - resolution: {integrity: sha512-a2FqK4wHZahTc6S8Mdj9sMUw+Hp9dscWJhJQBGCnxGlTkl7Z5yMgGT8oR1TJR8AfvrWlRCeqNeu8KAioPcS0wQ==, tarball: file:projects/arm-appplatform.tgz} + resolution: {integrity: sha512-tR5b5dY+3RToVwVjqVz9TjAeeusanyWLdjba0PKXInK5vfFDtlq3MmQsdk0uRcGleUw4wQgwY/zWHYfz5x7jOA==, tarball: file:projects/arm-appplatform.tgz} name: '@rush-temp/arm-appplatform' version: 0.0.0 dependencies: @@ -12099,7 +12099,7 @@ packages: dev: false file:projects/arm-appservice-1.tgz: - resolution: {integrity: sha512-6tSKM0h7zjubB649Rf1vVd4OruJ4ogoqN60KPnqFZ7+31XWb3uFTlw51mdUSYv1oEPs/sEDTi2b/opNsJ7VMeA==, tarball: file:projects/arm-appservice-1.tgz} + resolution: {integrity: sha512-ty0dMNeEV6BYj7X9wqgW86iHPuaXcM0lAES4/XffcGi7IzZVfuzg0li8Vena/FOmW2SlqDDmxT0/RJNMNnLKaQ==, tarball: file:projects/arm-appservice-1.tgz} name: '@rush-temp/arm-appservice-1' version: 0.0.0 dependencies: @@ -12129,7 +12129,7 @@ packages: dev: false file:projects/arm-appservice-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-whUX2YPHhh1/1B8yijOZ+MVaMny4mzXsvIeYbeTimDlH5dH4rZyo5NCfoNa2tP7cPqKMYuMmS7TR+CZH+JhH6g==, tarball: file:projects/arm-appservice-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-Apz1K4e7aesryi0AOP34AxNltFvAPsP45TV+2XenHAxNl5ygfZT+CFnFOFZfJCNgk/Ewh/QqL6vQIRvzr4MDwQ==, 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: @@ -12159,7 +12159,7 @@ packages: dev: false file:projects/arm-appservice.tgz: - resolution: {integrity: sha512-TZ+pwPsX4jXB9tKeA/BvuZ5VLmc9U5zyHyMwzJKzvqkwfOX9hRW3UvW4k3kVftlX2Rqrn4fFQwVZiZjfXMOfIg==, tarball: file:projects/arm-appservice.tgz} + resolution: {integrity: sha512-tlVIi+9KEEe1c396LdNzAp1KE387pmk8aLu1cjg2G3KjYdp5f2WVI7L9H8RNGCtTrwPv2Hg97Z8txnwe5E9YjQ==, tarball: file:projects/arm-appservice.tgz} name: '@rush-temp/arm-appservice' version: 0.0.0 dependencies: @@ -12205,7 +12205,7 @@ packages: dev: false file:projects/arm-astro.tgz: - resolution: {integrity: sha512-PKjfzziOiYxgAA0a4ZIpFY1qlLuIzQ3CzkIZNyk6vQuPRRVq61xoNhM3FyQvtXJkitiCb8Loh/30YyL/QiPHgA==, tarball: file:projects/arm-astro.tgz} + resolution: {integrity: sha512-ma2TgG60LV1yItrVF4C7B087d+k0tSs/jjPfArugBJUka1AKfJddjKblL+1nWra/V3GjdtON7mif9wzTcfcV9Q==, tarball: file:projects/arm-astro.tgz} name: '@rush-temp/arm-astro' version: 0.0.0 dependencies: @@ -12235,7 +12235,7 @@ packages: dev: false file:projects/arm-attestation.tgz: - resolution: {integrity: sha512-4F9tLM3y4f0vvq49n1pSLDJaEUcKZ9QIvKMrtH5egIdNeYgh7vLYM9rfpMHJTA2CiowYWyg7sgPXa5JDmkEvlg==, tarball: file:projects/arm-attestation.tgz} + resolution: {integrity: sha512-ZpKkQ7nL15UcYHsPuO94vmMWx5YvBUls1OY/j9MFmof1LP8FgPACfD9TIScidhM7ZAkN5l+zMlwRTB6mWIIE1g==, tarball: file:projects/arm-attestation.tgz} name: '@rush-temp/arm-attestation' version: 0.0.0 dependencies: @@ -12262,7 +12262,7 @@ packages: dev: false file:projects/arm-authorization-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-DqP28/Rs+gO7bSS66OpdWldz09504z1uzoDKQM9PZqR7pcaMxNObnRPjM2vlfGRsPBLvWjKBlunHBG9fXYbesg==, tarball: file:projects/arm-authorization-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-M1upRU0MOdHmzaU4l4K2SxdJ0CJOAyPbSMEEh7yZqAoC/I7IkfB+JA0x4uwqUMJq9ivHLpZQG8VLrpfRMhaUQA==, 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: @@ -12290,7 +12290,7 @@ packages: dev: false file:projects/arm-authorization.tgz: - resolution: {integrity: sha512-qSxeQYBN1XKMBYY+cVj3+biEV06litUjNR+KOol+ZtCSj241Y0oP13JrlE0SrxPXYYaOj+U4GKcDqbBhwF/RKA==, tarball: file:projects/arm-authorization.tgz} + resolution: {integrity: sha512-nfy8arolZejYYp2RM3UjjrMiHyykaAPVfBXzGEF+xf+vOPVvf8kWakESduqWY8HghbMnGE/Nf5q5ge8GDm97Wg==, tarball: file:projects/arm-authorization.tgz} name: '@rush-temp/arm-authorization' version: 0.0.0 dependencies: @@ -12320,7 +12320,7 @@ packages: dev: false file:projects/arm-automanage.tgz: - resolution: {integrity: sha512-lq87gvc5pAYa1/MAeQLaviX9fc33iq/2D/pi4gteOf+bbx6NZJOWKSAiWthJGosZutv3ds3nBQ91GwiWdQMWRg==, tarball: file:projects/arm-automanage.tgz} + resolution: {integrity: sha512-ds3ivqdQDfHHDy09XwQWiCSKLtbh2eLK02WzJHAwLe/AUYSsmrrAKwbxWchjWmJKsBGLOxPelHDUBhseIBZBRg==, tarball: file:projects/arm-automanage.tgz} name: '@rush-temp/arm-automanage' version: 0.0.0 dependencies: @@ -12348,7 +12348,7 @@ packages: dev: false file:projects/arm-automation.tgz: - resolution: {integrity: sha512-Hop/T9O6fMv+7I96zSAL5BNao3YeUE19LGUDuBJZZR+tPbL6meodzAaEoZhSrFgepY1RmPxonuMN3X0UGtYniw==, tarball: file:projects/arm-automation.tgz} + resolution: {integrity: sha512-SJQRTguNauleDan4YtWkjJC3DD+VtCOUnljoO8htFtIith3PluNsMFT9oOxiHrqsv8+wJ20KDZ17mjwYyNq95g==, tarball: file:projects/arm-automation.tgz} name: '@rush-temp/arm-automation' version: 0.0.0 dependencies: @@ -12378,7 +12378,7 @@ packages: dev: false file:projects/arm-avs.tgz: - resolution: {integrity: sha512-mTOS9gnSgQeVjaXOODq73/MxYLvfL+gotRZ8G7yixnLelChfDK96qyaYnIBluZLAKQJ+UNyYjpNla4YhheFrQg==, tarball: file:projects/arm-avs.tgz} + resolution: {integrity: sha512-a18JtfHB9CiIXMyh+bqd1UHcjJqfomgibayRWgUemCeH6t9W7PWHYlIq5+0V/8MtjuJa2Mjrc0v8npl2t50qTA==, tarball: file:projects/arm-avs.tgz} name: '@rush-temp/arm-avs' version: 0.0.0 dependencies: @@ -12408,7 +12408,7 @@ packages: dev: false file:projects/arm-azureadexternalidentities.tgz: - resolution: {integrity: sha512-nmhJXSdVKJJdhkfFDcGdVj770fTQDy/Sl6ShPydOJzvpHG4+pudqysik4HW/ftlEVmlAm+KcRKTviSsxIpWy9A==, tarball: file:projects/arm-azureadexternalidentities.tgz} + resolution: {integrity: sha512-TU9BGdnHF5ib87zgQHQyDr+ftp0o3af8SaTG9v55+D7Wz4NKEME5j2DqK1i1jnUUBobtlCj8DidS/8Mm/8ElRw==, tarball: file:projects/arm-azureadexternalidentities.tgz} name: '@rush-temp/arm-azureadexternalidentities' version: 0.0.0 dependencies: @@ -12437,7 +12437,7 @@ packages: dev: false file:projects/arm-azurestack.tgz: - resolution: {integrity: sha512-hu9x6gVISMUJx6VDeZAQbWxQEvdOVB+DmzRVkhgYVIZr+BzbWtaj1IHuLZM6h+3PPYhfGyls303vnPb32TKehw==, tarball: file:projects/arm-azurestack.tgz} + resolution: {integrity: sha512-+XjcjuES/pBub1qxpRJVJc/rh5MDzvt7x2lL/+1HqhN0TUgzoUq/vYv+hgRtvFQTLJGOHULccTBvQGJAqsZFCA==, tarball: file:projects/arm-azurestack.tgz} name: '@rush-temp/arm-azurestack' version: 0.0.0 dependencies: @@ -12464,7 +12464,7 @@ packages: dev: false file:projects/arm-azurestackhci.tgz: - resolution: {integrity: sha512-nLRq05d5Sl0851EDg18dmJ13RSjc6ieZKCcIdB8ilS8v8SuHFZxFKh/5gZvgVGFBFgOZNwVPUKZ3tezWk/JVPA==, tarball: file:projects/arm-azurestackhci.tgz} + resolution: {integrity: sha512-YKx28o5Lmc3QIWJT1D6EJ+xHmCIa88iiRl0fkmzS6ri1ZpaD1jbt5YBmT9H/F18wPQ/D2dR9bhtiaq9ht6mWdw==, tarball: file:projects/arm-azurestackhci.tgz} name: '@rush-temp/arm-azurestackhci' version: 0.0.0 dependencies: @@ -12494,7 +12494,7 @@ packages: dev: false file:projects/arm-baremetalinfrastructure.tgz: - resolution: {integrity: sha512-guuc6MMlWahsA5b57gRskL4v1prXdCAmWiFo4Rv0ANpF22qAxrMRV/5i8O3oCZSv8ExdgSVBj+BmLVBR+BWsQQ==, tarball: file:projects/arm-baremetalinfrastructure.tgz} + resolution: {integrity: sha512-MHM8KKCWsz6p5pWBa+ni+wEtDRS87r3T1RalaYNjWicFwj4PNIA4bps3AgXnrMMgJqZlVO0JNgp1EKbSfeX48g==, tarball: file:projects/arm-baremetalinfrastructure.tgz} name: '@rush-temp/arm-baremetalinfrastructure' version: 0.0.0 dependencies: @@ -12524,7 +12524,7 @@ packages: dev: false file:projects/arm-batch.tgz: - resolution: {integrity: sha512-EHowwGdBPNvp4oIMAOQXNPSFr3mMko7qfWr43Q4eH+sNBj6YPft0k+USkWyOQ2lcKOTBF0SddisrOUd/7jn0bw==, tarball: file:projects/arm-batch.tgz} + resolution: {integrity: sha512-sJ7cHVAQxUZ+/gkh1e4dSMSXKQmT0whaTnswSrfXCr0MYW6LbfDKwEyRIkW6Yet6hzIIdAB9erddf8zdxjbNfg==, tarball: file:projects/arm-batch.tgz} name: '@rush-temp/arm-batch' version: 0.0.0 dependencies: @@ -12554,7 +12554,7 @@ packages: dev: false file:projects/arm-billing.tgz: - resolution: {integrity: sha512-uY/GXYonZIqqgk7DLTkc9ejZQ4MMaKn6T1hH2/WAKbblDvxubI/oWYWEPrUxveAObAZEaDOI8cBctfrzLeeeeA==, tarball: file:projects/arm-billing.tgz} + resolution: {integrity: sha512-GUc3kXnlOoK2tGKsyEPEy4M39kkRrFUB0a4Ja+LlRsX5ia1/b6RuIjliBf+ArgsGtN4mQtgbNQRSrAkfp9f4vw==, tarball: file:projects/arm-billing.tgz} name: '@rush-temp/arm-billing' version: 0.0.0 dependencies: @@ -12583,7 +12583,7 @@ packages: dev: false file:projects/arm-billingbenefits.tgz: - resolution: {integrity: sha512-3ZtaCA+1LSMf5cMqtZLXjir3NvjaE1Zz0JRdo1SeGdG2net0Wl8OXL/LgHqme/M+vNVfet7uv2yw8pB2u5Gixw==, tarball: file:projects/arm-billingbenefits.tgz} + resolution: {integrity: sha512-Eq6rb2WZ6pvbw8caLmTH6C6HiU/Ku9XkC0181tbgMf+MASmsIj3sM3FvE2l0Hmlc546wRkX2w3YBBfJcGw/ZVA==, tarball: file:projects/arm-billingbenefits.tgz} name: '@rush-temp/arm-billingbenefits' version: 0.0.0 dependencies: @@ -12612,7 +12612,7 @@ packages: dev: false file:projects/arm-botservice.tgz: - resolution: {integrity: sha512-G2MhZd6mXFj8U2E72/U9LSL1iqHv1nqlgcL5otZR8wq4KBhpVSaRRDHx5LpW9TOlQ+OzP1Ydnko/Mu0oKWvYHg==, tarball: file:projects/arm-botservice.tgz} + resolution: {integrity: sha512-6lrDqa5ijtWtJ3ROUk0vnTfTQ3Iiu1M4JM0Ar7xYAbXd1nv1i1Ggb8mJuJhQ+iCVMHNs5eXMFVEZgiMNJ4TsaA==, tarball: file:projects/arm-botservice.tgz} name: '@rush-temp/arm-botservice' version: 0.0.0 dependencies: @@ -12642,7 +12642,7 @@ packages: dev: false file:projects/arm-cdn.tgz: - resolution: {integrity: sha512-bwve/TRV3QK91p0HCg5fYZ6H5mIFIChusBt+s2G8r5WTs2xGhvcxANsFimxkUTSK0I21bmqNvJO5pxx94YH3IQ==, tarball: file:projects/arm-cdn.tgz} + resolution: {integrity: sha512-cQZtpoog9FVwc/Tf9gqbv3f4tdMFO2hdnY24eGUAGqnJP7G8THm88e3NAA0WBfphlR/nC1HbfbBgFfM8GnsazQ==, tarball: file:projects/arm-cdn.tgz} name: '@rush-temp/arm-cdn' version: 0.0.0 dependencies: @@ -12672,7 +12672,7 @@ packages: dev: false file:projects/arm-changeanalysis.tgz: - resolution: {integrity: sha512-RopFbyzc+xCSkChS/TRZS2/Jc2gz20n+Ci7IEF5yf/HVOW1hk2o2zbI97LUh3R0E7Vah4VRdmJcC10/PiND7YA==, tarball: file:projects/arm-changeanalysis.tgz} + resolution: {integrity: sha512-ZDolxwkx6zE6VYo6pBRoC0hMViB4ZTb+vwtK2IU0mw2/Wbi95um2IyzP90c/QBSvLam/DC8xRVdVWNgUhkOVmw==, tarball: file:projects/arm-changeanalysis.tgz} name: '@rush-temp/arm-changeanalysis' version: 0.0.0 dependencies: @@ -12699,7 +12699,7 @@ packages: dev: false file:projects/arm-changes.tgz: - resolution: {integrity: sha512-lCTdOatplptheBSSJBDGoqHZ07REfY+HjVeUJFqyZq7O5tBs7T3C4B647gztgwRGwCdpZuLhbzoOUnAVuLmjhg==, tarball: file:projects/arm-changes.tgz} + resolution: {integrity: sha512-pZhlztz/mqUH7gyprhhAUI4W6Qig9MZJSok5A0LRH4Fxcnzx2uUlVUn7u2Xf/VLcHcpHfaJLFLGURQHeO3HnHg==, tarball: file:projects/arm-changes.tgz} name: '@rush-temp/arm-changes' version: 0.0.0 dependencies: @@ -12726,7 +12726,7 @@ packages: dev: false file:projects/arm-chaos.tgz: - resolution: {integrity: sha512-sU++TWVH6yYx7AlGU2P9vb3zgV7ZHXauGcyqEXDafNPavJvz0Efq82cqOxNDVKcgEPJ3LAQGvhA6uf+mXQ9xcw==, tarball: file:projects/arm-chaos.tgz} + resolution: {integrity: sha512-Tvz4NRZorCynnGHunqsg1GsvC+JKyZcFABURmpXYX+YTYUzW/0u7zIU/qC07St3KZLKxsmHl0J2GHQe9vOtj3g==, tarball: file:projects/arm-chaos.tgz} name: '@rush-temp/arm-chaos' version: 0.0.0 dependencies: @@ -12757,7 +12757,7 @@ packages: dev: false file:projects/arm-cognitiveservices.tgz: - resolution: {integrity: sha512-eVHMyz50I9iAgHKmvGnFcHSKt+Ue/BO14h5QVcn4hWRJj8MMS+AiGKdcmy5xAGW4/l7AZrY/MJPaLQUB05CgYQ==, tarball: file:projects/arm-cognitiveservices.tgz} + resolution: {integrity: sha512-d4L6DkRzWiD0z713gSD3attJGYO5hJ5ym37WbWbf4vjAeN/xQo5V54cvj+LwNb2448qVaHgnzNFDklpZMRSvCQ==, tarball: file:projects/arm-cognitiveservices.tgz} name: '@rush-temp/arm-cognitiveservices' version: 0.0.0 dependencies: @@ -12787,7 +12787,7 @@ packages: dev: false file:projects/arm-commerce-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-sYqIy6shQSmpsDwAucMGZHPyztLjnpwGjHI9CC3iUQwgc58EbwAqe/Cv1SkfJLYRlVSVcvmpRVB650I8StaXIQ==, tarball: file:projects/arm-commerce-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-eimMoCEXqNCN/uBQ2qYqOdVWXXytkbDm8lijw+G5qw6Zj4g80mVWTHebNU/mzfqM/LdlBIjgKQTlgY0tC1l44A==, 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: @@ -12815,7 +12815,7 @@ packages: dev: false file:projects/arm-commerce.tgz: - resolution: {integrity: sha512-5iiFDyT1o4aX4V2+FSHDPgjUYJWw1laPRpXWUlj7i+aWysMwqTsgvNdcip0Ov2sYb4nTxE6xET58qGwVaXobwg==, tarball: file:projects/arm-commerce.tgz} + resolution: {integrity: sha512-UkGfaswQUf4IrCsIafxZm1pZdm6ARzhwuWY7wdHS9UNPKBOUN/s33ajLHYgswGxeCWMF9yM0bpKtB2CdwcRoSg==, tarball: file:projects/arm-commerce.tgz} name: '@rush-temp/arm-commerce' version: 0.0.0 dependencies: @@ -12842,7 +12842,7 @@ packages: dev: false file:projects/arm-commitmentplans.tgz: - resolution: {integrity: sha512-vCIt4Y3MOl70j9eEj/Aa7Xvigmyqzh4/l8fMJznWdTQWoieCbu3IYhF9gqkBdMPitdiBbIZTBngAbxpCSYNFoA==, tarball: file:projects/arm-commitmentplans.tgz} + resolution: {integrity: sha512-HcWHFGs3LkI2cObWbHBgyLbtkUANRx/CcpQB94Ij1bRecNnKlECSYUWO/Sbaa/KuM0gRC4Qe5qMhF8hJZx6TCw==, tarball: file:projects/arm-commitmentplans.tgz} name: '@rush-temp/arm-commitmentplans' version: 0.0.0 dependencies: @@ -12869,7 +12869,7 @@ packages: dev: false file:projects/arm-communication.tgz: - resolution: {integrity: sha512-SZl0h9qRxxIedVdvEXUmJ6SzYggsek9T0HjDpWWQH8/WaU4kPP7tOUDOvVwGmu4Y1HfZ+J8TMfxCxEz2a7hJPA==, tarball: file:projects/arm-communication.tgz} + resolution: {integrity: sha512-ZHGKr0y2aKvxmZ/n9R1GveuVTXpxuuGCxF72dfIDbWY2f057+xVojBh5RUi0a6DvQwA3qxwrztZ8DSNRxsKDVQ==, tarball: file:projects/arm-communication.tgz} name: '@rush-temp/arm-communication' version: 0.0.0 dependencies: @@ -12899,7 +12899,7 @@ packages: dev: false file:projects/arm-compute-1.tgz: - resolution: {integrity: sha512-Nn/kOyVC0eXuzUaWD8RBfQc4AhoMhISBWsOp0zBylsW+/394F4R5EMZ6sLYSPedqK8323hZYJM0E2Q0oTK4Aqw==, tarball: file:projects/arm-compute-1.tgz} + resolution: {integrity: sha512-D5urrfqEdVKKBCW/Z9tNK8m9M56W0IjKOhRWCutVSUoAziqB/JuRP0KCKgaqomEeDX4j0xQwXSmWo7SueqNpkw==, tarball: file:projects/arm-compute-1.tgz} name: '@rush-temp/arm-compute-1' version: 0.0.0 dependencies: @@ -12930,7 +12930,7 @@ packages: dev: false file:projects/arm-compute-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-QgesjisprNmFJvRUxfjNj3jmTMGggBQkSzFAlxOBrddPmmrxgOpiR77b8MBLg1bxtP5C4IfNYS3CqIOYVwNIag==, tarball: file:projects/arm-compute-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-WXIdu4X6gR2UKY3M1JON39/Zpau9HOvduoeYJCTD08tUa3j0UgOhQRm5Vup1M8rGfVVvmBTHXiP5MIyEIhUr8A==, 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: @@ -12960,7 +12960,7 @@ packages: dev: false file:projects/arm-compute.tgz: - resolution: {integrity: sha512-ayS77Ztox2i7yCBld3HpfQ/618UH6P2ImLR3rDlI3t5O0hxfxTWMhXl3CnJ33znD7o2aiFof/z5kc30RCkGTpw==, tarball: file:projects/arm-compute.tgz} + resolution: {integrity: sha512-C6YIc6rBW1tCZ2KOCe58SuxgPbwwX76X1koD4na8WgV4/LvapBROHlZ/ZiWziK+7wCMn7msg2yIvisJf17Fsxw==, tarball: file:projects/arm-compute.tgz} name: '@rush-temp/arm-compute' version: 0.0.0 dependencies: @@ -13007,7 +13007,7 @@ packages: dev: false file:projects/arm-confidentialledger.tgz: - resolution: {integrity: sha512-PxPlIFyWJfww6m8WDQSiJb1g8FQrGOqqFgj06zGEKXlXJPpOxY9x0kvfFk0ZLV4t2XKf2VTdjhZTZjfjx9xSwg==, tarball: file:projects/arm-confidentialledger.tgz} + resolution: {integrity: sha512-vw9tyQrxgn/u61pr4GtAF1R4zmQ/UP0ORXJHKQ5rc757o8tOo76WWTZCJHT9FUYA8ciTSoTNShTHeRxb1YRfaQ==, tarball: file:projects/arm-confidentialledger.tgz} name: '@rush-temp/arm-confidentialledger' version: 0.0.0 dependencies: @@ -13038,7 +13038,7 @@ packages: dev: false file:projects/arm-confluent.tgz: - resolution: {integrity: sha512-+zshbbjMcl87yuPPlnT6evvsRpYvqbYCilnNxKhbyDwcXqi6EBlFn+1kQWot9jo2qCd5QaIMk9+QbC9HUWqzZw==, tarball: file:projects/arm-confluent.tgz} + resolution: {integrity: sha512-+x51mU5Nar6WM4zihTTvonFGKpdVivQ+zw3fJsagt4qxTyrE9DUeGONQPC5H02e5+eQIJ2COHosU/ke7E6Ij+g==, tarball: file:projects/arm-confluent.tgz} name: '@rush-temp/arm-confluent' version: 0.0.0 dependencies: @@ -13068,7 +13068,7 @@ packages: dev: false file:projects/arm-connectedvmware.tgz: - resolution: {integrity: sha512-+UeqKircD5Uz4XV7Na6l7fr7zkqsT2eB/Ky+0iqK3aN3xcwIu08empCUBbUarkR8tviLZy95Tq6gro+KJgBabA==, tarball: file:projects/arm-connectedvmware.tgz} + resolution: {integrity: sha512-Apk/DxbCgdHvRMIYCXkTFXP6JWehXKX1OmAHOad/B9d5GcVp3/5tbWCKG1BBj7pOyQrsZgfhpo7imy1pY9/yoQ==, tarball: file:projects/arm-connectedvmware.tgz} name: '@rush-temp/arm-connectedvmware' version: 0.0.0 dependencies: @@ -13098,7 +13098,7 @@ packages: dev: false file:projects/arm-consumption.tgz: - resolution: {integrity: sha512-7z4Dk0TnOxXF7frKJzg5I8P/nZWmexC9OjcIghnHSwT6CLgXr9GHC8okGAnFeOocRjp24jQMjsdwVV+wD+IDZw==, tarball: file:projects/arm-consumption.tgz} + resolution: {integrity: sha512-v6xA9WG28R+kxnnTRE3IG7q11bNX9BKXbyDUw4DNejhOUqUc3UjUh43v+QGbxR92ExYVQ0EReN7q7j/kqDNjVg==, tarball: file:projects/arm-consumption.tgz} name: '@rush-temp/arm-consumption' version: 0.0.0 dependencies: @@ -13126,7 +13126,7 @@ packages: dev: false file:projects/arm-containerinstance.tgz: - resolution: {integrity: sha512-WCTpwaTBk262FJ78fGedaNxIDTi+FQuiTh7iHD0h+ghDy24TdE9srZsqyzjcg+NserV5qLL/eFfvzCRHT4Ntuw==, tarball: file:projects/arm-containerinstance.tgz} + resolution: {integrity: sha512-3mMkcPusCa6a8iJROcHsObRjtQcIKv4XuP6KasQgRi19s9En+rJNzuodSfsiQj+dwVghRtzyUj+ofZL8lIVkXg==, tarball: file:projects/arm-containerinstance.tgz} name: '@rush-temp/arm-containerinstance' version: 0.0.0 dependencies: @@ -13156,7 +13156,7 @@ packages: dev: false file:projects/arm-containerregistry.tgz: - resolution: {integrity: sha512-MolrfLN9TrbxtKNL6RN5yNImxfPjPZe+1iBqcqJt2e0m8xZTIPKK+wy3ZyedtadqLWggDAwZmV1uOLcJfHBSxA==, tarball: file:projects/arm-containerregistry.tgz} + resolution: {integrity: sha512-7CgRwvWspXFXdo0FJswk4HgHC939oqEKHFY8r2b8Xo6lNNEHl51XtafQ69Kf27z/skI9S0R1OXzC0Wfmt8ynqQ==, tarball: file:projects/arm-containerregistry.tgz} name: '@rush-temp/arm-containerregistry' version: 0.0.0 dependencies: @@ -13186,7 +13186,7 @@ packages: dev: false file:projects/arm-containerservice-1.tgz: - resolution: {integrity: sha512-lcy1x8kEIaWqqfZ0ujELtUSa5U9RRUE5n7yWw/6eMTrdLZbjSVuzz8qn9YaVf3Ml7qmzu4wCWLSzBd9apa9ucw==, tarball: file:projects/arm-containerservice-1.tgz} + resolution: {integrity: sha512-bVKsJu2e9fy1EjBEN/vO7eFlpm02g8DwmZ/rKGqmwz/LOtUJtSMCSLhmlhl95Y17ywnvCwm/fi0nLhsH1kVHEw==, tarball: file:projects/arm-containerservice-1.tgz} name: '@rush-temp/arm-containerservice-1' version: 0.0.0 dependencies: @@ -13217,7 +13217,7 @@ packages: dev: false file:projects/arm-containerservice.tgz: - resolution: {integrity: sha512-CugJuth+DWxuFenbrg5aYFGuYp6oWV6OTjXdGeoj1lPTCMJUO5iXcrzxG6gLeYDiPNC2YGMaLICTMmjcQH0v7w==, tarball: file:projects/arm-containerservice.tgz} + resolution: {integrity: sha512-PCEUlYKqJyQwq4Hj7lXk67hx3+fLgVmfCqGDgCANbT/FK+P+xhIj1TYfJYctwB7YmfMR6BYBWHZHzG5EKJnhKQ==, tarball: file:projects/arm-containerservice.tgz} name: '@rush-temp/arm-containerservice' version: 0.0.0 dependencies: @@ -13263,7 +13263,7 @@ packages: dev: false file:projects/arm-containerservicefleet.tgz: - resolution: {integrity: sha512-SwL5MEYHqVIS52ZwjCeumsnAKEr4swmPkkFzuVCt5WrTS0pSr4r8rd7UiQ4VddiE7HxRTawmy75L+um9YM0oug==, tarball: file:projects/arm-containerservicefleet.tgz} + resolution: {integrity: sha512-VeNVu3tsABaIRltjExfGfVhyaOC+vO2cHZYHulMZ2OrCiOTc1aWyM6ol4bj0f0Z6CMVFNPvaKZ3lLqEup5cM8Q==, tarball: file:projects/arm-containerservicefleet.tgz} name: '@rush-temp/arm-containerservicefleet' version: 0.0.0 dependencies: @@ -13294,7 +13294,7 @@ packages: dev: false file:projects/arm-cosmosdb.tgz: - resolution: {integrity: sha512-MBnV/yL0ri+7ZnXoqtKJQficryQtw0NgOh3d5zdiW7/HYYpSnF65IohykUO2vOzwjEmce25okqBqoNGpjXel3A==, tarball: file:projects/arm-cosmosdb.tgz} + resolution: {integrity: sha512-0GmexNX2WYEF5vM92xms5x6JnwsC9yCxEitcsOehf2mgK1deh+VhSyRevXLfsZNoPFp78GRmlmDazc0xsRjLqA==, tarball: file:projects/arm-cosmosdb.tgz} name: '@rush-temp/arm-cosmosdb' version: 0.0.0 dependencies: @@ -13324,7 +13324,7 @@ packages: dev: false file:projects/arm-cosmosdbforpostgresql.tgz: - resolution: {integrity: sha512-VHujh2x7NL1et6EcueAdTBTV84QviU89M+wexmWGaC4ZVEMIFMKpOESnhnAIKM4Y1FCxGFj30Sad0UshUOTaDQ==, tarball: file:projects/arm-cosmosdbforpostgresql.tgz} + resolution: {integrity: sha512-wd2KsqFf8doHQnsNxYh160NFeM9Dn5W9io2YVkFFU5xniloidALVDFJc07JXOQkI2mEEk1Q09sxGg8K/cU0VPQ==, tarball: file:projects/arm-cosmosdbforpostgresql.tgz} name: '@rush-temp/arm-cosmosdbforpostgresql' version: 0.0.0 dependencies: @@ -13354,7 +13354,7 @@ packages: dev: false file:projects/arm-costmanagement.tgz: - resolution: {integrity: sha512-6V1wMP6Y4nBoEEffsFzr7kWK7qphUzQlk4EnFwUGafn02wFFxyDgx9wcdwQlP7rrjIx8QPLN2oEzt8bWgU9ILQ==, tarball: file:projects/arm-costmanagement.tgz} + resolution: {integrity: sha512-KcErI+4j55rRFTkKW6MANtjeMaQtxQHtWlbqwOPw46wTS6HKqy9YqtyKRe4MTmZ6XkcCCpVaJc/CiE1pHk3OhA==, tarball: file:projects/arm-costmanagement.tgz} name: '@rush-temp/arm-costmanagement' version: 0.0.0 dependencies: @@ -13384,7 +13384,7 @@ packages: dev: false file:projects/arm-customerinsights.tgz: - resolution: {integrity: sha512-YmwjtMTKmzpTQkqVmb+ZTQ8Kvf06d2EaxqmPUyNPpKU9ds8txurhoDOgPghrj+lZuvYkm57aq3avJUfVaKL9Jw==, tarball: file:projects/arm-customerinsights.tgz} + resolution: {integrity: sha512-sDKJ0LkulPFnlZ/GEut59G5P/jp3dhD8GRZx2KakC9dppmxyRUIkz0Opa9ksbFUSPwT1+ttaXwQ7i5L6wOA/Cw==, tarball: file:projects/arm-customerinsights.tgz} name: '@rush-temp/arm-customerinsights' version: 0.0.0 dependencies: @@ -13413,7 +13413,7 @@ packages: dev: false file:projects/arm-dashboard.tgz: - resolution: {integrity: sha512-tKQ0zRFpV3V/0bf6QpyeBONJSH0W9SAbmKgD4uE8H0HU7zv9310fH84kPTWq+spin4d2NjUd8YnCdUbMIh98HA==, tarball: file:projects/arm-dashboard.tgz} + resolution: {integrity: sha512-ltP+T71iJ+sPFehN6Cj6Fq01oLvbjQHOMNEcDlGCI6aBHlWnpJ6tTnkoUhIJb25z39+FNI4B8R1IsyeuTkTRFA==, tarball: file:projects/arm-dashboard.tgz} name: '@rush-temp/arm-dashboard' version: 0.0.0 dependencies: @@ -13443,7 +13443,7 @@ packages: dev: false file:projects/arm-databox.tgz: - resolution: {integrity: sha512-snUXe8dRruI803cP/dmoxiTZekgs9AtM3KxKbukIe1jXZl+WZP1/dwlwuWV6b0ZUdM0dF5NhPQc/ZHAK4NQ32A==, tarball: file:projects/arm-databox.tgz} + resolution: {integrity: sha512-8QeMKJtTyDYFHj3wEdpFpEeoGH06JGhgyWXQHeLrK0lDXYF7dmYBy7lh5cT9E5tOUSElD7CMoR4pFvHr+qAo2A==, tarball: file:projects/arm-databox.tgz} name: '@rush-temp/arm-databox' version: 0.0.0 dependencies: @@ -13473,7 +13473,7 @@ packages: dev: false file:projects/arm-databoxedge-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-lEscrgwUaJMfxAqMj2F1udK2fx1SZ8aUxg5yii1Li60IEwQBtp0LxIeoo9FaaV4I5GCRs9RlFm6RHiB7lpUWyA==, tarball: file:projects/arm-databoxedge-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-zMSXvOkHZPQkNJmAL/7KaWDcs0dz743OmclpuMZCKp67rN3Mob4saRJreWV7voQO6XWLs0Jq2jOb8gVDsN1/fQ==, 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: @@ -13503,7 +13503,7 @@ packages: dev: false file:projects/arm-databoxedge.tgz: - resolution: {integrity: sha512-u659UHJSXGrhBl0omxiJbpFtpkPndFD7J+nXByTfOSa4j5o38O8WA18Ba/8xI4iWvrw+0Ox+yZxgfuQazGEsPg==, tarball: file:projects/arm-databoxedge.tgz} + resolution: {integrity: sha512-nyhPt4fzPfbcf+HnUWwMupeK8xB4Ut1A3fHELerAn3i8iKINx6Hg89Zz09noCvhiL+02R/mmlsQFN/M4YTXAyg==, tarball: file:projects/arm-databoxedge.tgz} name: '@rush-temp/arm-databoxedge' version: 0.0.0 dependencies: @@ -13532,7 +13532,7 @@ packages: dev: false file:projects/arm-databricks.tgz: - resolution: {integrity: sha512-a/puaALij3Tah7sNgeeYJ6aRnJ734NzRGq7A/zbbNXCxIHDy/QrPBNbB1IeYQlANv1KD7ycAH20lW7Y8NvQQYQ==, tarball: file:projects/arm-databricks.tgz} + resolution: {integrity: sha512-lMdYf/Z7WhXhcAsNzhapfOG3nhgXiu6YUtvIADLHoER4qfaBkDpQ55MOc9YFiEW4nX6E+9/LVohiCkjrc3Eibg==, tarball: file:projects/arm-databricks.tgz} name: '@rush-temp/arm-databricks' version: 0.0.0 dependencies: @@ -13562,7 +13562,7 @@ packages: dev: false file:projects/arm-datacatalog.tgz: - resolution: {integrity: sha512-Ra3wEWxRKYAtX8ykcEp915iHKHRRZS04euo0VwENXd5aXjhuUJbqm0mj9kD4YGxVKoE0osbzw44G9/5NyidB6Q==, tarball: file:projects/arm-datacatalog.tgz} + resolution: {integrity: sha512-eJSf81DsGvWlXj1NSij3KPFlguH/eMZSIUFtz+3cSsYxiedE4DBn453fgeHVJFxgfWoYsAkCLALvAnDTwscw1g==, tarball: file:projects/arm-datacatalog.tgz} name: '@rush-temp/arm-datacatalog' version: 0.0.0 dependencies: @@ -13591,7 +13591,7 @@ packages: dev: false file:projects/arm-datadog.tgz: - resolution: {integrity: sha512-nOd/hVOhSZAZsLEAxd+UjcP4KvvTurGl6eqqVWY0OjiRd/PyFkMbtaITibwS2HPW22m9HmlKfNNyekI5qt7bOA==, tarball: file:projects/arm-datadog.tgz} + resolution: {integrity: sha512-iQ8KtMGT45+VQFGh3ulDeiE+uJhkSBl6HmfrhTr76FCscJhvSMktI1QmgEfZoFRink5Xmm3o5yklk7QlV8hkmQ==, tarball: file:projects/arm-datadog.tgz} name: '@rush-temp/arm-datadog' version: 0.0.0 dependencies: @@ -13621,7 +13621,7 @@ packages: dev: false file:projects/arm-datafactory.tgz: - resolution: {integrity: sha512-VDuETRwbnM4xjDPT4pjRJkjAMZBoWUIOx1VX4OSZ2AIMvKsr+TUDFyzzPAOixloCEMIFIDjyRaG9DCCDvgPsGQ==, tarball: file:projects/arm-datafactory.tgz} + resolution: {integrity: sha512-FjLDdtqvucdf/sqBmRdcmjjBylhFV45VRdzHbMBlSWE75MMDyUOPINbmv0X0FYEZo0RhqcUQwqfSpVQA1AAM4g==, tarball: file:projects/arm-datafactory.tgz} name: '@rush-temp/arm-datafactory' version: 0.0.0 dependencies: @@ -13651,7 +13651,7 @@ packages: dev: false file:projects/arm-datalake-analytics.tgz: - resolution: {integrity: sha512-AMSYDgYccWyW/UIAynADo5Ewt6K5RQMFjv2MEA9xgOBXq+g469U+Hir7r5a5gvaVcPyQCJfHCNxVjjTv/+rHiQ==, tarball: file:projects/arm-datalake-analytics.tgz} + resolution: {integrity: sha512-vKXRT+CQplO68riVniiSLXMDDoVYfwcfR+fcg3NHiAimADXhQe2V2Dih1MN031mkJjZErxzi4xD01BqG8C1Kew==, tarball: file:projects/arm-datalake-analytics.tgz} name: '@rush-temp/arm-datalake-analytics' version: 0.0.0 dependencies: @@ -13680,7 +13680,7 @@ packages: dev: false file:projects/arm-datamigration.tgz: - resolution: {integrity: sha512-VLjPktB+2zBqGv48KYV8FpZnsNys1jPA7cHSZU83dbjPv63CJTvKCX1AUB03rv/P25tJiJF6qvb4DJAsxBemLQ==, tarball: file:projects/arm-datamigration.tgz} + resolution: {integrity: sha512-+VMNTU22qzKTLQ94Kau820B3Y5TvMfa1rWbuH2s4G/1nLJYoHaAzV+ajv+UYrkPYyKdtA+1+Y8UtMp0FF5//CQ==, tarball: file:projects/arm-datamigration.tgz} name: '@rush-temp/arm-datamigration' version: 0.0.0 dependencies: @@ -13709,7 +13709,7 @@ packages: dev: false file:projects/arm-dataprotection.tgz: - resolution: {integrity: sha512-F7qlpUrI5wiqm2I1jBVsA42a1mW2k3PvbwFO37g4db40TQhXVVdnTDtDtFKzVpXtSbtH0z6YgTKXJiPv9y0mpQ==, tarball: file:projects/arm-dataprotection.tgz} + resolution: {integrity: sha512-+nt63ddgjPdgZJBqZMuMSxon5cePtnG3tCDhPH10ByO/IhZCJK7CrboEjIIJ5/fIO0juwI3j4B3pMFSTnglNUg==, tarball: file:projects/arm-dataprotection.tgz} name: '@rush-temp/arm-dataprotection' version: 0.0.0 dependencies: @@ -13739,7 +13739,7 @@ packages: dev: false file:projects/arm-defendereasm.tgz: - resolution: {integrity: sha512-HcgsirIIZynG70wdTGMbmYOYdS63gpbnZcWg4Y80k88ELhOC9NRvkGjWPJeMrhzoMX8Jh0CmIFzTwSL5wVDtjg==, tarball: file:projects/arm-defendereasm.tgz} + resolution: {integrity: sha512-IbBJX+hNSDUJgF1WKrOP4URCzZ9khaY6oss4/QDv90TPxd4LleJYLGIkkQtpRvVaUR4S8HaQPFx0O+nrCz2DYw==, tarball: file:projects/arm-defendereasm.tgz} name: '@rush-temp/arm-defendereasm' version: 0.0.0 dependencies: @@ -13769,7 +13769,7 @@ packages: dev: false file:projects/arm-deploymentmanager.tgz: - resolution: {integrity: sha512-Bm46oafgnuo6Ebu8/Jpn90Fv5cXrfv3suZW+Na57iup6cvWjqcV0h1B435KVJvQHspV77UBfMRX2lRYGM9d1iw==, tarball: file:projects/arm-deploymentmanager.tgz} + resolution: {integrity: sha512-QOXOZmT9PsI11iE7MIupB4GLj1EQ+3x5WwyeqNKnLex7nxsOJ9xXbqQL3MtlT+asX6Z4ds4BnxXIfHB7XHWaMQ==, tarball: file:projects/arm-deploymentmanager.tgz} name: '@rush-temp/arm-deploymentmanager' version: 0.0.0 dependencies: @@ -13798,7 +13798,7 @@ packages: dev: false file:projects/arm-desktopvirtualization.tgz: - resolution: {integrity: sha512-/YWvP5NfU3QE2dkMZKrs5x6DcKR1paPJ6ISX9XDtNUaiD4O+cpPPkDOM/YdknHiSPq6/v/kdPDMaIAl/POev5g==, tarball: file:projects/arm-desktopvirtualization.tgz} + resolution: {integrity: sha512-g1LYZ8+LQpok5ISdWIEG3l400smC8D1TPrcFULQ02XAiNtIMvpFW/IYvhDmsksC4tHRITRYXc7KgDioJOFIluA==, tarball: file:projects/arm-desktopvirtualization.tgz} name: '@rush-temp/arm-desktopvirtualization' version: 0.0.0 dependencies: @@ -13826,7 +13826,7 @@ packages: dev: false file:projects/arm-devcenter.tgz: - resolution: {integrity: sha512-J97BX6K+lMu4HJhmixnsP7RDmH+WceVUEVVVNmnD1AL7NsSQNffeB08FTlOY9gp+lC6OH7BOjg9eAvTFouzFrQ==, tarball: file:projects/arm-devcenter.tgz} + resolution: {integrity: sha512-RfoFaKu+F1HRy0q1C7nnZe8xxIAuhLCYcu3m/KXmP1D3WhCBPfoIN1hWWTgZdOq28A8V9zHr3o3SbxgltsJMUA==, tarball: file:projects/arm-devcenter.tgz} name: '@rush-temp/arm-devcenter' version: 0.0.0 dependencies: @@ -13857,7 +13857,7 @@ packages: dev: false file:projects/arm-devhub.tgz: - resolution: {integrity: sha512-B9u6Zgdya9u5MxIOugcDp27+KM2Nq7vrXeLfBMGgE8N51mc3VfCeOjRt1evb+iUV8Px2V+3sQaJoSWTx//l4nA==, tarball: file:projects/arm-devhub.tgz} + resolution: {integrity: sha512-ihxaGfsco83NJ/QMJXTAMXdAh0VDeFACvo3+2bu+HNAK8u1DZ5nGOwcrQ4dw/vebel8muS3NX1LmsrkGHMvayQ==, tarball: file:projects/arm-devhub.tgz} name: '@rush-temp/arm-devhub' version: 0.0.0 dependencies: @@ -13885,7 +13885,7 @@ packages: dev: false file:projects/arm-deviceprovisioningservices.tgz: - resolution: {integrity: sha512-fPXigdpTLteooNYED9V1N2UlxNAXrmfBomjjXZ2q2JcyF3EoUYxDoTKHWeS0yO4QZpnbwzOWe+eZozqkzTzpgQ==, tarball: file:projects/arm-deviceprovisioningservices.tgz} + resolution: {integrity: sha512-q3tf5V9yIuxRvQ1sohYMHue4Qwik4tEIU3ayIWRoKk2CreKt5erqtdNV3xw/JYBh7T5uNxtMJ0MqZy57efFmQw==, tarball: file:projects/arm-deviceprovisioningservices.tgz} name: '@rush-temp/arm-deviceprovisioningservices' version: 0.0.0 dependencies: @@ -13915,7 +13915,7 @@ packages: dev: false file:projects/arm-deviceregistry.tgz: - resolution: {integrity: sha512-toHqmdPrJICQwcFEKLymTrqxLBiROPBFSa6j0i/JVmlHkInLdy2GlSWkF6CZ7E38vA1XOEE3jhWGQBprSFqUPA==, tarball: file:projects/arm-deviceregistry.tgz} + resolution: {integrity: sha512-GMatDE35xznBxFn9laqbhVBpsD9fWlvPw44+kLqxvtOAH3cJRWVPTOwT4NjQ3aUJ0rMmVbwoEE0CqEzNpmy+SA==, tarball: file:projects/arm-deviceregistry.tgz} name: '@rush-temp/arm-deviceregistry' version: 0.0.0 dependencies: @@ -13946,7 +13946,7 @@ packages: dev: false file:projects/arm-deviceupdate.tgz: - resolution: {integrity: sha512-2JWF01Gx7PkrE6+TuHEfLEifSrFT70mZhKvNsumHbhfjVnqxdr1Ez8iKwufg612TsOs625BbhqSmKeXjnvhKkg==, tarball: file:projects/arm-deviceupdate.tgz} + resolution: {integrity: sha512-nGATzy00/K1b/tEtCbAXAu63eUHBWS91PfiuLRFq7BhRDoqQGs7HWfQpbyZH8bP4VrMNUBuBxvMyMVLIi4dDaw==, tarball: file:projects/arm-deviceupdate.tgz} name: '@rush-temp/arm-deviceupdate' version: 0.0.0 dependencies: @@ -13976,7 +13976,7 @@ packages: dev: false file:projects/arm-devspaces.tgz: - resolution: {integrity: sha512-4S6jJOao/eo9J1EnWIE/vkYtlYLRsTdMWryGe6ILyq3JGfQj7LIvuB9gT6r3yVI4oDhzo25/u7lVUTMSLhJ/wQ==, tarball: file:projects/arm-devspaces.tgz} + resolution: {integrity: sha512-9iDDxpR5zqvJlS3n6zW+onhkxIJk+YmFsUWyBecH12XIrj0gMN+f5E/NqCiXkAD4TH5Y12bZlkouAhOFsOMlag==, tarball: file:projects/arm-devspaces.tgz} name: '@rush-temp/arm-devspaces' version: 0.0.0 dependencies: @@ -14005,7 +14005,7 @@ packages: dev: false file:projects/arm-devtestlabs.tgz: - resolution: {integrity: sha512-2M5eXFlLwhRRPBoIg+5NeZQJbn+PehVoMHr3Yj8AJxZRq8eV5ph/KDAZGgQu7+5wXOvkJlYqFu0H1FOYux7utw==, tarball: file:projects/arm-devtestlabs.tgz} + resolution: {integrity: sha512-t1o0kYdnLvFZzDXA0IsUxO46u8AT0BphgYNJ8tzHlO9fCjB044Sqb6M+UVTQdfrOT7WBwsrnr8WrcEHWp1UGPQ==, tarball: file:projects/arm-devtestlabs.tgz} name: '@rush-temp/arm-devtestlabs' version: 0.0.0 dependencies: @@ -14034,7 +14034,7 @@ packages: dev: false file:projects/arm-digitaltwins.tgz: - resolution: {integrity: sha512-YplI71s7/1v8NZTIpVuqS/JrwfFBbDS+FyMUA9cyJpJwFXrjxlIUa2N96dg114SXVU+ayOBFn/Zwa/TbrKEE3Q==, tarball: file:projects/arm-digitaltwins.tgz} + resolution: {integrity: sha512-EranoD4p+qG/E2PzoeFNBhJSbzWwTFEd1AlLI6ryAQAZVBVyx5Z+AlLuube9/XqdHSD06c1zF8Hsfqx3ZBnjmg==, tarball: file:projects/arm-digitaltwins.tgz} name: '@rush-temp/arm-digitaltwins' version: 0.0.0 dependencies: @@ -14064,7 +14064,7 @@ packages: dev: false file:projects/arm-dns-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-puTccKzXOg2TcqUeWjD1P433WWa9p2JLLU5gTxNbf2NK11GHXbOQMtHBeaYLJCH0eggjJ+j0ZTEtulMwzALvFA==, tarball: file:projects/arm-dns-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-7D54OU32Z0KkJgHsAxsuznXvlUxm1xwPMywRnqpFHcguO/Jhfs5UHuPquo/SotN/Z9mzy/n/dratn9chbrZksg==, 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: @@ -14094,7 +14094,7 @@ packages: dev: false file:projects/arm-dns.tgz: - resolution: {integrity: sha512-2TpCBBHq/YII1z/4AI02OfdYVvsfR3fnThp0yrz2pa+YZDFlVnF9iSaQjY9y0nf+GrNxS4+LQfuhmGKnQ8GASQ==, tarball: file:projects/arm-dns.tgz} + resolution: {integrity: sha512-YO3sDFIvn4Bpgl5ZpOPrq1Ek8f+5I4UqyWmTHZL1SF+Mi5a5IsVVmsXxsG0kXxnMHTnYVUDzyld/LRdbHPxOVQ==, tarball: file:projects/arm-dns.tgz} name: '@rush-temp/arm-dns' version: 0.0.0 dependencies: @@ -14123,7 +14123,7 @@ packages: dev: false file:projects/arm-dnsresolver.tgz: - resolution: {integrity: sha512-WPnP45iTq+XsrYZEkIwvKNwFk8nb6av2qRb2TK8gXul69suB1JGPAypeGRp+fzCAPPTxSS5ZpnGupey77mof9A==, tarball: file:projects/arm-dnsresolver.tgz} + resolution: {integrity: sha512-QLLTYoBkr1z0LoEvmgvOwY3Q3fIKhcVbDbzxy9kA3Vs9RuTrppPTIO+tqaWyhJnYI45L+hIh4htum1trJgWW9Q==, tarball: file:projects/arm-dnsresolver.tgz} name: '@rush-temp/arm-dnsresolver' version: 0.0.0 dependencies: @@ -14153,7 +14153,7 @@ packages: dev: false file:projects/arm-domainservices.tgz: - resolution: {integrity: sha512-y2TwdjdgZtrSqxhNdXa1fh+adR4GN7sM9381MIVTTTnfq7VteJdjHiyI2zP+28+yd/OBs3Pn/HquQ56JnD5MOw==, tarball: file:projects/arm-domainservices.tgz} + resolution: {integrity: sha512-UNquG1uLduui/bsLZFDb21AWnzrgWBaXJ5hdsXRF/VyZITYcOUFyPauGAFPGPI2p2BHVSil2+/v09cf+czteqA==, tarball: file:projects/arm-domainservices.tgz} name: '@rush-temp/arm-domainservices' version: 0.0.0 dependencies: @@ -14182,7 +14182,7 @@ packages: dev: false file:projects/arm-dynatrace.tgz: - resolution: {integrity: sha512-+hGk+JXugRBu9sBFrGl0JfIT+PrySTodjHD9fr2ArwL2bqFL8UFwlH3n9MtH0+LOG7U2CN5yW4/OgFVALiSwng==, tarball: file:projects/arm-dynatrace.tgz} + resolution: {integrity: sha512-R9SJXYpYB2Ua8EAwEwWv6QTjiwwFS8i5QsjF0D/8HJtZNlqOZaLX4vx6x7tQYw41vl+469wJSbncWe4C+6ZqnQ==, tarball: file:projects/arm-dynatrace.tgz} name: '@rush-temp/arm-dynatrace' version: 0.0.0 dependencies: @@ -14212,7 +14212,7 @@ packages: dev: false file:projects/arm-education.tgz: - resolution: {integrity: sha512-Qqlz8rELb2bWq/KLoxlwYoiWaQ8Ehd1+NdINgMK+nYfp3D7xHm0ozOdE1xf0Wxz/YZYOZqjaLk+HNt9dbm9WpQ==, tarball: file:projects/arm-education.tgz} + resolution: {integrity: sha512-C0LxLuYw4xahWek1OKlHKI718dMNZPLNGL3/PyLtoucSmLXjn/yhgUxE04bh5mdE+A9odMHRjJ78bEm40qhdtQ==, tarball: file:projects/arm-education.tgz} name: '@rush-temp/arm-education' version: 0.0.0 dependencies: @@ -14240,7 +14240,7 @@ packages: dev: false file:projects/arm-elastic.tgz: - resolution: {integrity: sha512-iLn+bFeBy1IO4fdGJcsg49SIxyRpijW4N+dlh+Fvy0ShqpRbpWFqjQ4EWgWMTd98uVfUqEZpYFk1z2ZSCoZjDg==, tarball: file:projects/arm-elastic.tgz} + resolution: {integrity: sha512-2B0zGaJ5R4SA8txjmWWLOg5phXICznoiWTjz+RuM8G5P/x9KTmTTP9T3UizRBhwyC3LbIF16PNQKkWWnHWxqrg==, tarball: file:projects/arm-elastic.tgz} name: '@rush-temp/arm-elastic' version: 0.0.0 dependencies: @@ -14270,7 +14270,7 @@ packages: dev: false file:projects/arm-elasticsan.tgz: - resolution: {integrity: sha512-ljH3lrw4sb4HnyYgXpTMgKqV8xPeLtvbPiyKElZz5Yhcqj5H/dyIK4f/C5lvvb2x1n+mMG3IARBr5N2ivP3xbw==, tarball: file:projects/arm-elasticsan.tgz} + resolution: {integrity: sha512-zvCkdQoyVuG4Zx5O9Y7AiTArUfOedmG5bzM8AzpDQafNtr+vlV1/ZPOLjYBI8kslwSwnPLC3KQRrAL5NcqKeMg==, tarball: file:projects/arm-elasticsan.tgz} name: '@rush-temp/arm-elasticsan' version: 0.0.0 dependencies: @@ -14300,7 +14300,7 @@ packages: dev: false file:projects/arm-eventgrid.tgz: - resolution: {integrity: sha512-SBg+EdbHb3brYOJEg7K3FncdcRqpw3Kjok97H7YEp1+LLiR1Kkr8IpM/N/VM1O3SL1OESMaruN9Z3l76jtSghg==, tarball: file:projects/arm-eventgrid.tgz} + resolution: {integrity: sha512-VAKwwYr2niyvPwPy+YZcblxWLPOtNBAm+ew5isJGF+VslMXttOcPrpxO2HLfloWhyNVE+lnDYRY/eI3MpwJ7cw==, tarball: file:projects/arm-eventgrid.tgz} name: '@rush-temp/arm-eventgrid' version: 0.0.0 dependencies: @@ -14330,7 +14330,7 @@ packages: dev: false file:projects/arm-eventhub-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-qzVdVaTfgLtst7T/pk5XOxLdepfarqRUjlrmWO2iQtOm+Arww0HRSsKWMnuQ5WhzT4+BoZ09Ksawo5Zs1tUT4w==, tarball: file:projects/arm-eventhub-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-E3MXCJtV2hnEmKIaglR6PDVVMTxuJzWvN02riT70/oSCJZf3+Bn/8/mYhlpcNa9bWpCvyhbVSM6Akh+pALArkQ==, 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: @@ -14360,7 +14360,7 @@ packages: dev: false file:projects/arm-eventhub.tgz: - resolution: {integrity: sha512-PCnuzFGByYDof8EOomRy2CjenUACmyHYNCmeGoZ1z/k59Lc5LwbiFtT0CIkYYEPepoDjsoOgExOj9n1qmpmoTA==, tarball: file:projects/arm-eventhub.tgz} + resolution: {integrity: sha512-eFi8c4l061RY7uVhCUlUqLaQLpc+7+pTotzkTuTsJTZMCuDJ1H7eKE3UVAx7vz0eifrk8kTIBs7akMD9VQulmA==, tarball: file:projects/arm-eventhub.tgz} name: '@rush-temp/arm-eventhub' version: 0.0.0 dependencies: @@ -14391,7 +14391,7 @@ packages: dev: false file:projects/arm-extendedlocation.tgz: - resolution: {integrity: sha512-1ZMyToYOdRG+YJmL8+gLt49n8RlSMT9b+mXkKI5u4HK4sWWK8cWYstGJkMJN1MPsBFtBUbbrtAMZLd28LJUNTQ==, tarball: file:projects/arm-extendedlocation.tgz} + resolution: {integrity: sha512-LceP/1USDcz1tf2RhWdc2I3t/uPElqMNAfyaaHRexOheV8vNKpJn7ObPzzGS8goLShsHkI9n9u0joVIjimA/6w==, tarball: file:projects/arm-extendedlocation.tgz} name: '@rush-temp/arm-extendedlocation' version: 0.0.0 dependencies: @@ -14421,7 +14421,7 @@ packages: dev: false file:projects/arm-features.tgz: - resolution: {integrity: sha512-PDygRDKd4PLZjk48aP0A+r6ubtXejTobxaGdKjPTsbIrkggyNV8xE4vY3WYGG7AnD1e8iHlqBZrFqgp7az8MHw==, tarball: file:projects/arm-features.tgz} + resolution: {integrity: sha512-3ycCgl4d3XZbt4m3r7tquXPQfx2pPAuqvLEMiw85HjJsIb54H2ORoAE3m2wJY/hmG7FHhkPqR8muLzSMvcZCqQ==, tarball: file:projects/arm-features.tgz} name: '@rush-temp/arm-features' version: 0.0.0 dependencies: @@ -14448,7 +14448,7 @@ packages: dev: false file:projects/arm-fluidrelay.tgz: - resolution: {integrity: sha512-u5WlYU1+A90w9J/pf2ga5HqM5hYMlWcGdhi3EtS/m9L2r7hExnEQuqtDLHW8QJfvpWllmpQFYMymM6rrYEWJzQ==, tarball: file:projects/arm-fluidrelay.tgz} + resolution: {integrity: sha512-vCmPCN35aDh3Wnd3ssJsZsU2ir1ZM1rB7ksraiQlJn/E5LngbWoLpiE3dftRPl93v9Ly6i1AOTti8M6z9KgHiQ==, tarball: file:projects/arm-fluidrelay.tgz} name: '@rush-temp/arm-fluidrelay' version: 0.0.0 dependencies: @@ -14476,7 +14476,7 @@ packages: dev: false file:projects/arm-frontdoor.tgz: - resolution: {integrity: sha512-oW3bKOjWUopBurqelzxq8dDR1lpyOZvdAVzw2gHfUQmN0WPQoY5iTk2qrlRvhmyNyls4hcICNBGqy8JhC8z5jg==, tarball: file:projects/arm-frontdoor.tgz} + resolution: {integrity: sha512-ILJlWJMp6OJ4jHz5v1pI665HzCytXl0zdwlmWlNGcJIQxvP5+3sU4p40TyNLTpM/5pTCvi6inoZi+UqVFtEf/Q==, tarball: file:projects/arm-frontdoor.tgz} name: '@rush-temp/arm-frontdoor' version: 0.0.0 dependencies: @@ -14506,7 +14506,7 @@ packages: dev: false file:projects/arm-graphservices.tgz: - resolution: {integrity: sha512-IJ1lDOuVu6aQCmCOlIIKeHoRrz8b+4BM5PU7Jz6fkcHHhdzQA9ScDO/k4pGTT9wjLSebJ50JZfDJIgMU/D/Aig==, tarball: file:projects/arm-graphservices.tgz} + resolution: {integrity: sha512-5pY0z+IzynK0cSa5D3TclvPDBZ4nVcLMowdHbefQHH358A004ir9oy3FwmB+9QuYtI+E2wbQwA11eEoj6cGNWQ==, tarball: file:projects/arm-graphservices.tgz} name: '@rush-temp/arm-graphservices' version: 0.0.0 dependencies: @@ -14536,7 +14536,7 @@ packages: dev: false file:projects/arm-guestconfiguration.tgz: - resolution: {integrity: sha512-GTpbrpDPK7vVJRuni6sEBAm2ItIPX9M3wLAJZV76z6gHvXrIEO7iGXbSzsO2tT5RCGWLb40nEKZWSNS81UktxQ==, tarball: file:projects/arm-guestconfiguration.tgz} + resolution: {integrity: sha512-82nPs+USq76GjO07wOI/87RpOCdSVmx2EfMsqOzzOAGmG/cufZ667cRljuP6aAaFBoDmMHeC0axAZRKscjpNMA==, tarball: file:projects/arm-guestconfiguration.tgz} name: '@rush-temp/arm-guestconfiguration' version: 0.0.0 dependencies: @@ -14565,7 +14565,7 @@ packages: dev: false file:projects/arm-hanaonazure.tgz: - resolution: {integrity: sha512-9zK9QdmF4kyJn7ieuLlX6vDE4ZjALN9+djnWyxZeh1P9aCFCvvbTOMb+vLJ7qCKXmEeND8EESAAN8g7X8IYCLQ==, tarball: file:projects/arm-hanaonazure.tgz} + resolution: {integrity: sha512-Vu0e+PrWLwtu3aDDUWnhM/KSQDz6jFG+HH/4xyFtWPhSLaUJvXyLZQoqwFRBBAfBaeRpgMuMBy2gXS6hKgQkQA==, tarball: file:projects/arm-hanaonazure.tgz} name: '@rush-temp/arm-hanaonazure' version: 0.0.0 dependencies: @@ -14594,7 +14594,7 @@ packages: dev: false file:projects/arm-hardwaresecuritymodules.tgz: - resolution: {integrity: sha512-7uHWsKMvJispT4rmr8FPAkUCyH/GP1xkpgi7TCvtxf8lwb+LMETPMUlKhnxhNVEE5OnX0KNdBPayVGMHJABxhA==, tarball: file:projects/arm-hardwaresecuritymodules.tgz} + resolution: {integrity: sha512-B8yOjFh0QlXIjSTnH/1jdyEKOAwvXVhUF9ktcvkwVyGVII3fokmCkPBvSj7ZZEuic6prMpEcRho4f3BwisqZcA==, tarball: file:projects/arm-hardwaresecuritymodules.tgz} name: '@rush-temp/arm-hardwaresecuritymodules' version: 0.0.0 dependencies: @@ -14624,7 +14624,7 @@ packages: dev: false file:projects/arm-hdinsight.tgz: - resolution: {integrity: sha512-ZyIP4xbAU03gBLfnQevPPpfyXy4FrAax8p2tlebKdCttEN88Td3mgAdrssoyrh9FxcpLzJZitPEG/MUhT38eVQ==, tarball: file:projects/arm-hdinsight.tgz} + resolution: {integrity: sha512-l8bZjUD9fo4yL/LwVsR76ewzZqT+UnVCZYfMAEa826YgHu8hyA6FCe2P32f1YudoheCK/jiEi+q+j/UGw9r6dQ==, tarball: file:projects/arm-hdinsight.tgz} name: '@rush-temp/arm-hdinsight' version: 0.0.0 dependencies: @@ -14654,7 +14654,7 @@ packages: dev: false file:projects/arm-hdinsightcontainers.tgz: - resolution: {integrity: sha512-ciQ1bxN92AunEanZh6Mp95nC8De2mkQogcJn8J1W0oGu+IiGWDdRuxHVFrPBzX1SGm45QGvchG1mUwFG08YwdA==, tarball: file:projects/arm-hdinsightcontainers.tgz} + resolution: {integrity: sha512-ebovHn3mwM2YvBI2084wConhknoAW/+i9YmbLYcDXvgxJbEERTm6n3i3WyMl715K5s3LZ/CS3tkGcNeWTTWwOQ==, tarball: file:projects/arm-hdinsightcontainers.tgz} name: '@rush-temp/arm-hdinsightcontainers' version: 0.0.0 dependencies: @@ -14684,7 +14684,7 @@ packages: dev: false file:projects/arm-healthbot.tgz: - resolution: {integrity: sha512-7qYfHt322X4WPNtZ973Rxtv/YvX1ChYD99FMgiBnYjH7RrRGsSKf/tYy6NFcYdGS/PpPIUAbfLYebtT809WVfQ==, tarball: file:projects/arm-healthbot.tgz} + resolution: {integrity: sha512-bwEzqpTT6a0mEF9+qnv+oj1rPlRxMYA+YuorhxZ3HJ7U5THINWkGgcnpFzN+F6lXz86Hc/lLGhxTo5rejO88Mg==, tarball: file:projects/arm-healthbot.tgz} name: '@rush-temp/arm-healthbot' version: 0.0.0 dependencies: @@ -14713,7 +14713,7 @@ packages: dev: false file:projects/arm-healthcareapis.tgz: - resolution: {integrity: sha512-TiuR4qgo+USsnf2DH/GdkvI3G5t1q0gFodLt0bpkBxT5SC9HtoLHv7GAf0GCIUKEvC9xaLcy+b2rEVFyKejNgA==, tarball: file:projects/arm-healthcareapis.tgz} + resolution: {integrity: sha512-ZZG6IphyTnxwUp1EumB2DcHPIJnwPAh0wyAJwcS7FXQkkQ+6DQetAl4EZKsNZn97J4mFDxYTPVj87I0/aHsb4Q==, tarball: file:projects/arm-healthcareapis.tgz} name: '@rush-temp/arm-healthcareapis' version: 0.0.0 dependencies: @@ -14743,7 +14743,7 @@ packages: dev: false file:projects/arm-hybridcompute.tgz: - resolution: {integrity: sha512-ZfqlB0Yw4fWwm9BUOA5rrdHuumwmYzx4yROMTBAizwlUJFsVVLr4p6S6A4f4GIiFxbSRmo4IsWSdRvkJxv2jsQ==, tarball: file:projects/arm-hybridcompute.tgz} + resolution: {integrity: sha512-mmfeBdLwjyRq/b9FslE4Z4COEJz+m7G9c5PA0FrzsIikkh26uF7TBU4T33R1uEABDbL65NH7nCWOncCgaJcN1g==, tarball: file:projects/arm-hybridcompute.tgz} name: '@rush-temp/arm-hybridcompute' version: 0.0.0 dependencies: @@ -14773,7 +14773,7 @@ packages: dev: false file:projects/arm-hybridconnectivity.tgz: - resolution: {integrity: sha512-33NtGiydGaoaJo0Ppz2V3/zs7O2iSdb6OWSigm/qdeGJd8EAD139QdFANdPmuwZI0kqlAtjcXm1LebDkXZyV7w==, tarball: file:projects/arm-hybridconnectivity.tgz} + resolution: {integrity: sha512-7+68Vak09tR2Jtm/9GDiYXZrLDrhpIgT/vs9fglyzLCfLWtfbQBB/fDLXEDfuo2SBzakHrvqHG5tY2fjKDJ9Qw==, tarball: file:projects/arm-hybridconnectivity.tgz} name: '@rush-temp/arm-hybridconnectivity' version: 0.0.0 dependencies: @@ -14801,7 +14801,7 @@ packages: dev: false file:projects/arm-hybridcontainerservice.tgz: - resolution: {integrity: sha512-RyxNvLyR1d24qi3s8hhdx8guBAkNL+jjxjnO5OQziuU45RbDqHvZVKnfDtGuUPbT75AKOAQz4BrfO7R5Dk91UA==, tarball: file:projects/arm-hybridcontainerservice.tgz} + resolution: {integrity: sha512-x+Di4bCuVNPVdcT5b+RKelPq8gjUXFmRKiNxfAe6gbFgfT4xnHmiibrn4QTWa7MoqNZ09w0oT7umF+XA8peSSw==, tarball: file:projects/arm-hybridcontainerservice.tgz} name: '@rush-temp/arm-hybridcontainerservice' version: 0.0.0 dependencies: @@ -14831,7 +14831,7 @@ packages: dev: false file:projects/arm-hybridkubernetes.tgz: - resolution: {integrity: sha512-0KsVUz3FuHC1bP+QAHA+5VlJ5ZYrM4SfUe5+fdlZlQ21XEbO+Abu+IsbAdNVKpkhGVISyZHavRrmwvlXYLQdmg==, tarball: file:projects/arm-hybridkubernetes.tgz} + resolution: {integrity: sha512-4H0CBCABnvQSHE1Kb0R26LOvSdYspBxb45tkmRYbtfH3X2FSUHR+a3wW409c2kAUXqy2U1uHyrMPUH5RV4cXxg==, tarball: file:projects/arm-hybridkubernetes.tgz} name: '@rush-temp/arm-hybridkubernetes' version: 0.0.0 dependencies: @@ -14860,7 +14860,7 @@ packages: dev: false file:projects/arm-hybridnetwork.tgz: - resolution: {integrity: sha512-kXX+OtHL1SedKE6yxLGJE9ILA8dxw45WIn0Q245tG4OFdH5RH0J+/sqNSxncwFvcfOwcG1f+CRORrdtE8xHrjA==, tarball: file:projects/arm-hybridnetwork.tgz} + resolution: {integrity: sha512-lQGRhFmb4TRdfzg5Y7/2MW2RdLlLiIAGPX9kIRPHS+ylHcnXhua3KhEZx5blp5gDWNm1KszQy5vCjib7Z+nrKQ==, tarball: file:projects/arm-hybridnetwork.tgz} name: '@rush-temp/arm-hybridnetwork' version: 0.0.0 dependencies: @@ -14890,7 +14890,7 @@ packages: dev: false file:projects/arm-imagebuilder.tgz: - resolution: {integrity: sha512-WIFbfyzDSlkPsWCn5rHregkO4lhLVIdvNMuT8xKIoxK+gNNLM7dBfzlGLz0kZ+vYoaNTCCc8lClaiEqAF4PTOw==, tarball: file:projects/arm-imagebuilder.tgz} + resolution: {integrity: sha512-ZhLDWmh649eA5wl/RujEO16BLPS7sqyEVck9r08TJVhbmn1Ocq4qAYzGqTuEtxJ1i519baUaVhEHyRb+nkik1w==, tarball: file:projects/arm-imagebuilder.tgz} name: '@rush-temp/arm-imagebuilder' version: 0.0.0 dependencies: @@ -14920,7 +14920,7 @@ packages: dev: false file:projects/arm-iotcentral.tgz: - resolution: {integrity: sha512-liQqudKElxS9BDABTXg+hbiIBssUx0hntlGZ2dXBaBT3gfaT1NMcKWyobXA3n4ASvEuRK1N+SfWmgMLYPFeYiA==, tarball: file:projects/arm-iotcentral.tgz} + resolution: {integrity: sha512-v/ogpxgSA5N8SXbn0xiJ9oqH5jKi7NPJ9+/3GQq/Ty+SaJzeqM9zw7jO7rlDG8uNYGXku7oAvOSgJKSk/v3rzQ==, tarball: file:projects/arm-iotcentral.tgz} name: '@rush-temp/arm-iotcentral' version: 0.0.0 dependencies: @@ -14949,7 +14949,7 @@ packages: dev: false file:projects/arm-iotfirmwaredefense.tgz: - resolution: {integrity: sha512-jopwhyZ+7uOVInGm3CsJUVgAX1BVoP3wIf1ZS6zb0pN+92JaMQer/xstHaqVSKTXRrYs7yhCj8Tz6HTDxjf6KA==, tarball: file:projects/arm-iotfirmwaredefense.tgz} + resolution: {integrity: sha512-Zk2iSKiwE7QCDIfugks3ynB3bqbGoVqIvWEIL8pUYGFXXyy0tKvzHWP21TsgXrA1Q4GH1H4To4Gkw2JOzqZkjw==, tarball: file:projects/arm-iotfirmwaredefense.tgz} name: '@rush-temp/arm-iotfirmwaredefense' version: 0.0.0 dependencies: @@ -14977,7 +14977,7 @@ packages: dev: false file:projects/arm-iothub-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-COAYXppMt5dZocsPTzpegFcmKcqWKujoIbOL13V3xaRiyDIpDRaQ1K/oaX54H/qX1iR6cSL6JYdECg36FC1a6g==, tarball: file:projects/arm-iothub-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-jyUCOh0VdDHdgl63j93JutWuEgTI+QS0ZXUJV0z/iPqzbwtNukpM2Z6n41i4f0KLRHiMNcTOA7AozQVnd+2bGg==, 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: @@ -15007,7 +15007,7 @@ packages: dev: false file:projects/arm-iothub.tgz: - resolution: {integrity: sha512-F43wiZ9thTfu7Ct7O3BSuPksSdqerD1hZvGsZAseZo56cgOE93PGkFFswJDhtiaIcPIdJn13iUDb9tFlVRcDmQ==, tarball: file:projects/arm-iothub.tgz} + resolution: {integrity: sha512-qzrpMniqY5UOLJu6Qul+qsNs/YxhAwFbhzbmFWa6Wk0KGTv2rlUTBeECRFo8jXvMjqegIvLWZfF9adcjv9rzng==, tarball: file:projects/arm-iothub.tgz} name: '@rush-temp/arm-iothub' version: 0.0.0 dependencies: @@ -15037,7 +15037,7 @@ packages: dev: false file:projects/arm-keyvault-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-eew0BowbeQlzkMjBteWwwGVPigBcMq78xpSZvEYZTi7WQtr4HOTa3KGZ/wftY9zZAiBdrltGEc8RRfR81WsXXA==, tarball: file:projects/arm-keyvault-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-6v73zZsCGr5vuPFshEDnnnLHYFqMlaiL401X7aAOaUukcct1rCx9u2pd74oEXK6UrTWSsLvww9e3Qfq+TTRLyQ==, 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: @@ -15067,7 +15067,7 @@ packages: dev: false file:projects/arm-keyvault.tgz: - resolution: {integrity: sha512-FOZUSIU9l2ZnzhLqgVfLIYa1ImGzLa5vSKWMUa78miYmL58AeH0Lcd7BdCI88wkxHx/91yoWf5I9mDdXgsjSyw==, tarball: file:projects/arm-keyvault.tgz} + resolution: {integrity: sha512-JxoREum8qt0mgqccEQyh+jwm2JS0YW3y+B2wJTZYGfI6sWuLSWoqclrsduHpypukNim9zBamgeJp+yWCJl2hMw==, tarball: file:projects/arm-keyvault.tgz} name: '@rush-temp/arm-keyvault' version: 0.0.0 dependencies: @@ -15097,7 +15097,7 @@ packages: dev: false file:projects/arm-kubernetesconfiguration.tgz: - resolution: {integrity: sha512-sNMfT8bUuIFOOjivbf8DVXD8im2EnrMCpJOYGlqFdq0WVXtvuqSL+RvRYwga22RKOrMqx0CxhOXjARl23IknUg==, tarball: file:projects/arm-kubernetesconfiguration.tgz} + resolution: {integrity: sha512-4CVrbqbP0K039Jg6tzMgLFKZVHBKIPyzYAtU6DCyRYhfRr3vo6b1fM5OkdPJkzRoB2GvM2o/EtTAecCja0PvVw==, tarball: file:projects/arm-kubernetesconfiguration.tgz} name: '@rush-temp/arm-kubernetesconfiguration' version: 0.0.0 dependencies: @@ -15127,7 +15127,7 @@ packages: dev: false file:projects/arm-kusto.tgz: - resolution: {integrity: sha512-bpn7fTzekBnNCG92rgD67AvEAeo/w1jsN9tngbXe5blnSSf2ACGfVyTqRhIZYMOv9qIzD7Y4RS5IWDAMPHiiyA==, tarball: file:projects/arm-kusto.tgz} + resolution: {integrity: sha512-wgEkqVFCMyY1fnNp6LAfjVTbMgv/GzFNJSOyGbxR+8GHLibUywm+/v+DYjLLM4C1x/ABYyQRLXaBN4Pme9+U4w==, tarball: file:projects/arm-kusto.tgz} name: '@rush-temp/arm-kusto' version: 0.0.0 dependencies: @@ -15157,7 +15157,7 @@ packages: dev: false file:projects/arm-labservices.tgz: - resolution: {integrity: sha512-mZ2e61/KOfqChADFU5tuI3at+jyuVA1LMNhqo7SFFqGbjXsyVG2TQ5Uu1Bm85ef6EFhXniPdek6RN3evJQU7ag==, tarball: file:projects/arm-labservices.tgz} + resolution: {integrity: sha512-2zW93uneDWOYO8ashXN/HjDQXW20jM042fJfbELQSXyT4Z5YW4EX+7EgWl6om+ow2T0CIHCP/3IwwVQZo6e1FA==, tarball: file:projects/arm-labservices.tgz} name: '@rush-temp/arm-labservices' version: 0.0.0 dependencies: @@ -15187,7 +15187,7 @@ packages: dev: false file:projects/arm-largeinstance.tgz: - resolution: {integrity: sha512-SRGvwa08A10+l5p39hAoYSPy53bSQTN1tt6UQbxtONAgF41Owohqovxo1ZL7eIOGvneurzT7Ca6hnWvhO8ft5w==, tarball: file:projects/arm-largeinstance.tgz} + resolution: {integrity: sha512-1abtiKgkUMW2qO1wjuIr8t5p1ez5b5LxFjh7EIvLjgCjMtVWjAMsELkRKArhenZxc/T+RO3rb7vN6V6YOpn95A==, tarball: file:projects/arm-largeinstance.tgz} name: '@rush-temp/arm-largeinstance' version: 0.0.0 dependencies: @@ -15217,7 +15217,7 @@ packages: dev: false file:projects/arm-links.tgz: - resolution: {integrity: sha512-5NNtprQi+wxcF1uWx1lX6vzHVH6XnTUSDPZfJjmZzNPEqbFqq3RUyx9zspsA3u8O5xlOLF6sFqchtrIPuw5NNg==, tarball: file:projects/arm-links.tgz} + resolution: {integrity: sha512-vy8pF5ciXYajsyasaTGaLi1/cPomCD7jWJ7CveZ24AZeogydkFcK2WzYqtdB8Pb97XpD2mDraUoj5xx1TpwpFA==, tarball: file:projects/arm-links.tgz} name: '@rush-temp/arm-links' version: 0.0.0 dependencies: @@ -15244,7 +15244,7 @@ packages: dev: false file:projects/arm-loadtesting.tgz: - resolution: {integrity: sha512-5EwqshTURIlvMXdl5du4+0EynIMBGTz4vkldCVr8QiA7QNkRYuBiYJz2TOl8Q76e+JxHF7pzApuCu4uOFh1UCw==, tarball: file:projects/arm-loadtesting.tgz} + resolution: {integrity: sha512-R9wxgbMIt+wUjNBh7MmEgPv7KSok8rVVxay2iskhcb2XJXq/0WqgyGmgj4KRHBpGQI07X2n1vUCyb/dcfD2UIg==, tarball: file:projects/arm-loadtesting.tgz} name: '@rush-temp/arm-loadtesting' version: 0.0.0 dependencies: @@ -15274,7 +15274,7 @@ packages: dev: false file:projects/arm-locks-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-kZM2uKjbiUzaGc7qL5ugE4qWtZCcPEFUPAXiQlHvxu6lmxZGTgbkOlsF/T1FSIHIDbX8IqMYQ43SADVgMlnyiw==, tarball: file:projects/arm-locks-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-npkoRV8xErVzd0ryHMqN6upbZIkqVEvv8XB7BXYvuDUI3ETV3/M6zJoQSzH6B/LrUDjSf00zD0EYNVFrCqmLfQ==, 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: @@ -15302,7 +15302,7 @@ packages: dev: false file:projects/arm-locks.tgz: - resolution: {integrity: sha512-mjbmRTflf6ZXnghr4Wu9n5VP6ZUJmkWYb5dw5abniZggG64eSwVFqs3QaiF2WCtQASWpXZHQba6B1R2JKecECw==, tarball: file:projects/arm-locks.tgz} + resolution: {integrity: sha512-Av96zFmv3nR8JzAtN4EGKH/A1Pe24/h45CERMLau5wt8SpfY15k8dxE1s5LQXZlsx35voHpKhYX9C6ae2FSIUw==, tarball: file:projects/arm-locks.tgz} name: '@rush-temp/arm-locks' version: 0.0.0 dependencies: @@ -15329,7 +15329,7 @@ packages: dev: false file:projects/arm-logic.tgz: - resolution: {integrity: sha512-EhSy+1o6u8q6V71ortV0/hu4s+D10gJTfc500gC4pDb3oRfSFfnNf+axzX33J5/5cpkTu2bPGP0ecUMaMRZTYA==, tarball: file:projects/arm-logic.tgz} + resolution: {integrity: sha512-uQzWPw1Yv8eLy1hERsrva/xoO5iSp5MkmIpBjdITtc8mLuil1hS4zCl8xB/OYslqWykgfH5P8f1p+Gm2zdoOKA==, tarball: file:projects/arm-logic.tgz} name: '@rush-temp/arm-logic' version: 0.0.0 dependencies: @@ -15359,7 +15359,7 @@ packages: dev: false file:projects/arm-machinelearning.tgz: - resolution: {integrity: sha512-thy6BFzmjm4ThMnc9eGuiWriz1xjR4uvuBByMceJBN/ckC0AEBILZFrGBZlRITK2iaLHoNx3kdpgNIKHo7iDFw==, tarball: file:projects/arm-machinelearning.tgz} + resolution: {integrity: sha512-su8W/qCwDf4JV0IEGQR8tBS4aaicsM0SfTHrUx8ZstvtiywpotIk/LLW067IHrZA7QtaF9wm/PQgURntMo/p7g==, tarball: file:projects/arm-machinelearning.tgz} name: '@rush-temp/arm-machinelearning' version: 0.0.0 dependencies: @@ -15390,7 +15390,7 @@ packages: dev: false file:projects/arm-machinelearningcompute.tgz: - resolution: {integrity: sha512-4fKtWqRorfXaqD06yzs3BPvUEK33lccaefiyoCi/31xwvbxv0Xm3WOHKGq4SmGlJnnZRLY7VeiVHQGSB95l3Yw==, tarball: file:projects/arm-machinelearningcompute.tgz} + resolution: {integrity: sha512-Pr2MlPj6JIdCJCtEBmXcOE7w90MHcYpc0frSs7BZDHZVlr8Mb4oAs7uee88YMC780SAflGanUuy2s1pDg0NJHg==, tarball: file:projects/arm-machinelearningcompute.tgz} name: '@rush-temp/arm-machinelearningcompute' version: 0.0.0 dependencies: @@ -15419,7 +15419,7 @@ packages: dev: false file:projects/arm-machinelearningexperimentation.tgz: - resolution: {integrity: sha512-JiD2oPcqdrXXjttSp0SyeVr6C4dKjcJkZNEN4PbG/zt4MGo3yjtZBHVJosg4o9tHeCL90auikg8PNbDiGRs22Q==, tarball: file:projects/arm-machinelearningexperimentation.tgz} + resolution: {integrity: sha512-2cVUdFg+jhB+MLfcDzRrV9urgLPTB4FSC9Ej7F8p6ltMc6VsuNacg1zhq5WcdfDxRotwJCsze1muba7lJPddPA==, tarball: file:projects/arm-machinelearningexperimentation.tgz} name: '@rush-temp/arm-machinelearningexperimentation' version: 0.0.0 dependencies: @@ -15447,7 +15447,7 @@ packages: dev: false file:projects/arm-maintenance.tgz: - resolution: {integrity: sha512-uWAdoC+TPAOMUsLfkbmojphe+9hx/EiU6OMs7L5u5FhXKj5kkLurJ++JeYHoFgqKWg+19sch+6/cIPVHmPhIRg==, tarball: file:projects/arm-maintenance.tgz} + resolution: {integrity: sha512-ELsrueGRlpvUssqLhdppqKPbbWeqs4U/P36gawNjAbvCUA+RHxJzGFg9MTJAueQT8c++dzCEwoK80P8cjHNxKQ==, tarball: file:projects/arm-maintenance.tgz} name: '@rush-temp/arm-maintenance' version: 0.0.0 dependencies: @@ -15476,7 +15476,7 @@ packages: dev: false file:projects/arm-managedapplications.tgz: - resolution: {integrity: sha512-2VyqpG1GcMKjP19wqZ78KLOFoZWjBGksMoE28rh5ZgmPRfz2uziHxCGVd8uIxn4hlKC5UdGQ9/pm8DX9i7CsyQ==, tarball: file:projects/arm-managedapplications.tgz} + resolution: {integrity: sha512-+50LikptoY340NILV2lHa4P+JZyoVlce1/DBiL+Yn7r26F3PhE85cma2F1xqhIYZijjfjr+8zB42oWzkiUOq2A==, tarball: file:projects/arm-managedapplications.tgz} name: '@rush-temp/arm-managedapplications' version: 0.0.0 dependencies: @@ -15506,7 +15506,7 @@ packages: dev: false file:projects/arm-managednetworkfabric.tgz: - resolution: {integrity: sha512-oTJQi0UNrEyd/N3Vf1l9Oz9TJuKrnzk8a+iBQIHDwce1xNxOtCxJ7IIVu5KJlyzkEoxINB1dxJGdDqqrzlr5vw==, tarball: file:projects/arm-managednetworkfabric.tgz} + resolution: {integrity: sha512-Yshd5V1ylytidTS9UQrr2IST7D37NN4f3XKkedKFkGwNKGPipF3VGOEuIdPiE22eJV6Esx/ZGJG2DGPj6vkHXQ==, tarball: file:projects/arm-managednetworkfabric.tgz} name: '@rush-temp/arm-managednetworkfabric' version: 0.0.0 dependencies: @@ -15536,7 +15536,7 @@ packages: dev: false file:projects/arm-managementgroups.tgz: - resolution: {integrity: sha512-vcRQc8Tj3wCWpRklJPUlA1K2+HXtRdUcsXa/gIYZA6G1Pm76A40545YsZiUriek9AxHvya6fUkED6HelVu7xNQ==, tarball: file:projects/arm-managementgroups.tgz} + resolution: {integrity: sha512-dTs5ht7anpkuJOI1Ll/tzI0YvT2luw5dqBTpM/9CSWZ7EO2J9sOn1Bn9mMXIml9w05wHVOUcxN5uMGqJq3kvaQ==, tarball: file:projects/arm-managementgroups.tgz} name: '@rush-temp/arm-managementgroups' version: 0.0.0 dependencies: @@ -15565,7 +15565,7 @@ packages: dev: false file:projects/arm-managementpartner.tgz: - resolution: {integrity: sha512-ZSHTa4THLaLN32eabB1MO3Ip5BR/eOdCeYLgDSQDItOXUZqAKlXb89YYUKdYBA2MWkif7c1vCi4UOAanf2H6+w==, tarball: file:projects/arm-managementpartner.tgz} + resolution: {integrity: sha512-ehiCqR0dzIEKHO3mi6tpKhDKovxqneE+buzfk8avTkteCqiUv8dBkAA1hCZxbMCm1MIiLelExELttwx1ST+cww==, tarball: file:projects/arm-managementpartner.tgz} name: '@rush-temp/arm-managementpartner' version: 0.0.0 dependencies: @@ -15593,7 +15593,7 @@ packages: dev: false file:projects/arm-maps.tgz: - resolution: {integrity: sha512-GCifC9yLva4dqyty06RQptzYuCev47p7e0WZNf88fJ3Qbb56laXOvM0MpLi0Tpv1GtgaYEOpAoM5o17u2JiiaQ==, tarball: file:projects/arm-maps.tgz} + resolution: {integrity: sha512-GY27bMXxjvyniMf3y7xwPQ73iZWeujAXu1oTAbBRL79cZrzFHeMpaqS2GUiof7JLu6pXg2XcW8vVqla1cEol5w==, tarball: file:projects/arm-maps.tgz} name: '@rush-temp/arm-maps' version: 0.0.0 dependencies: @@ -15621,7 +15621,7 @@ packages: dev: false file:projects/arm-mariadb.tgz: - resolution: {integrity: sha512-+pyF4nM7UOWcOP1ZissFsybkkLM/r2v1G+fPvWV4f7pBGDqhRHgH8qJ3JivqSpI8hsBHNX8DEcdGBPT8vEIrbA==, tarball: file:projects/arm-mariadb.tgz} + resolution: {integrity: sha512-N/HNyrlOZ5MvLUn/uII4OJiI+Z8csgFyaeXkqzjG4Lpnirao6wpwzuBQM33jwnPiT44ksG3YeNSxVvdDrgcEZA==, tarball: file:projects/arm-mariadb.tgz} name: '@rush-temp/arm-mariadb' version: 0.0.0 dependencies: @@ -15650,7 +15650,7 @@ packages: dev: false file:projects/arm-marketplaceordering.tgz: - resolution: {integrity: sha512-ANQmyDAjShNelT5M7ND1QZYpTo0+uFd/SP6kysNTNOyyX5ScNiYq8sItTsKe9V67rpFr69L+wYqmog5xUilgvg==, tarball: file:projects/arm-marketplaceordering.tgz} + resolution: {integrity: sha512-P+PmKuYxobQrMGJWkZwWuIq+3XmbBSX2i1Lap1fhT+RJ/MLAObDsKHpHH8iEyG4m/x66Fn7ccLE3+wKVqNtjnw==, tarball: file:projects/arm-marketplaceordering.tgz} name: '@rush-temp/arm-marketplaceordering' version: 0.0.0 dependencies: @@ -15678,7 +15678,7 @@ packages: dev: false file:projects/arm-mediaservices.tgz: - resolution: {integrity: sha512-4AWyKpM/JF27N34ss52OIrPSjaCLo1Q/MGg/kXSznZpvxy4eU1h3h2t72hDZKnEeS0NySMlk+16GYC7bmNbT9g==, tarball: file:projects/arm-mediaservices.tgz} + resolution: {integrity: sha512-m3mR/zUPGsuzSluz3JEG3S7SFx0N5l8S1f9LYtzEuGsy9lwA9Xg/STm2foIiNLyDc+eqv2nE3wsjt+CYrA4dJA==, tarball: file:projects/arm-mediaservices.tgz} name: '@rush-temp/arm-mediaservices' version: 0.0.0 dependencies: @@ -15708,7 +15708,7 @@ packages: dev: false file:projects/arm-migrate.tgz: - resolution: {integrity: sha512-Z9cyXCZTEXu2g+HJ2aVB8Nntq6X1owFcShWFeRwwAcahEmXXeAlUGIR9NOSXfOMSrUZXxQ+93zEmHml7voiQWg==, tarball: file:projects/arm-migrate.tgz} + resolution: {integrity: sha512-EsS1GvkgztGc6dhKLiNiKoE69zFVj5y18zLsh+Q8Yp1Fb2zUlcGPPRrHB00iLP4nQMQ6CnWMu9jCSUDDQL7Yyw==, tarball: file:projects/arm-migrate.tgz} name: '@rush-temp/arm-migrate' version: 0.0.0 dependencies: @@ -15736,7 +15736,7 @@ packages: dev: false file:projects/arm-migrationdiscoverysap.tgz: - resolution: {integrity: sha512-v0zAOwEAE/W61uyVkwoB7MgdW8XzfYmIIA8Oz6u9DoFzAaDf5XGtIgk50bnj93K6tBXRSCJ4zf4k3VLQL9CjTw==, tarball: file:projects/arm-migrationdiscoverysap.tgz} + resolution: {integrity: sha512-SaMywy514OIbO8uglvFt4/RpHEbC8lrLiHSPzFib/BtepfyCiy8PM1hTM3ZWM02LZ5ACmmwLe7OoHjb1pHvcXA==, tarball: file:projects/arm-migrationdiscoverysap.tgz} name: '@rush-temp/arm-migrationdiscoverysap' version: 0.0.0 dependencies: @@ -15766,7 +15766,7 @@ packages: dev: false file:projects/arm-mixedreality.tgz: - resolution: {integrity: sha512-VJUXWpYpcKBTTw+1liV8Jk0xgCvLt/MgKzzPTAMM+o/bJX3E1b/smDFnh5w6JWDCrbzu0+nRSNX84d6+U19lJQ==, tarball: file:projects/arm-mixedreality.tgz} + resolution: {integrity: sha512-5Vn/EXr5XUov9XuD2UYqduyPHiJ7Tko9dKKma4RRCQ1Uta6+127kscIJwzIR/Bk9ONR9OaDyE4cYLg6uMxy5ow==, tarball: file:projects/arm-mixedreality.tgz} name: '@rush-temp/arm-mixedreality' version: 0.0.0 dependencies: @@ -15793,7 +15793,7 @@ packages: dev: false file:projects/arm-mobilenetwork.tgz: - resolution: {integrity: sha512-oLlUZgJdQh72aFW6iJiCNSDNh5gx8080a1Di/9p94hjPuEnmEpM4irUJn+MoMq6MCzC1Ooadcyf1JZcw3sDlFw==, tarball: file:projects/arm-mobilenetwork.tgz} + resolution: {integrity: sha512-slUAJZvSsk1+EpqJ8YugCfBk8uqFbtwiB8oiq1+AZujWJgV6fjRqSVQFsF8NRrpMO+kqsGDWE87UM6RyJKvHbg==, tarball: file:projects/arm-mobilenetwork.tgz} name: '@rush-temp/arm-mobilenetwork' version: 0.0.0 dependencies: @@ -15823,7 +15823,7 @@ packages: dev: false file:projects/arm-monitor-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-gYGqHxDXms9/ZY+T2PYwVCru7G3Cnqsx8Eo/GBLYU+LGJog0rDGzxap1krGfbahuVYASdQUSkRXHb2iqAfOBsA==, tarball: file:projects/arm-monitor-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-mUeMDbFigcOs/MlAq31TLxGxgvVcgqFXbk+fbbX5qxZXUueq5UQvzXqMWWXM8RIMOZ/71xSpxFM9hAyX57vX4A==, 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: @@ -15851,7 +15851,7 @@ packages: dev: false file:projects/arm-monitor.tgz: - resolution: {integrity: sha512-09UUVoE80LzWIO+TnphdzZEp1ZdIy204GLs7DYKaLeSsj/GNrH11nrodNKsEPVGeCnG3AhlEWQdXqm8GDERgpA==, tarball: file:projects/arm-monitor.tgz} + resolution: {integrity: sha512-GxMkxv0+YNW6zXgoQP9xcN/gYWEWfPa6iWz6L0OkBDt8kyxprgmpsK3Dns5w5DssBUP8cwZ3l/RjRbfuhbdTiw==, tarball: file:projects/arm-monitor.tgz} name: '@rush-temp/arm-monitor' version: 0.0.0 dependencies: @@ -15881,7 +15881,7 @@ packages: dev: false file:projects/arm-msi.tgz: - resolution: {integrity: sha512-Y7Yc2DWhVYcE4zITuEA9QQ0KRQqNINQK5jfmTUvnJKkQ7i7Vz9UNFsuybhc7pMCY8fGyxY7WF+N3eV4qbMUl4A==, tarball: file:projects/arm-msi.tgz} + resolution: {integrity: sha512-juxLKgAMkdEBvXGWk86rXFrvuN3Czp+aAQ2uKjYMLkUG08vFvIYhgjcrPkiJU4BmTwLmr7Q9kiT0y+wpy4681A==, tarball: file:projects/arm-msi.tgz} name: '@rush-temp/arm-msi' version: 0.0.0 dependencies: @@ -15909,7 +15909,7 @@ packages: dev: false file:projects/arm-mysql-flexible.tgz: - resolution: {integrity: sha512-49rhWGCbko/ckP4uMwImY+XtPqAEuQxtSjaLK/cvWW/3n1VKS48T3gbNASQZgf6VnXlzfZwrLfc7gXZL+rMDpg==, tarball: file:projects/arm-mysql-flexible.tgz} + resolution: {integrity: sha512-yS3m42609T+EiBycy+D7W/xkeQp1SrtQTGTbP1AScRgiuvdu66KhXSD9DzOz5eXQsfJVtOeQ13ts+igbdrkMKQ==, tarball: file:projects/arm-mysql-flexible.tgz} name: '@rush-temp/arm-mysql-flexible' version: 0.0.0 dependencies: @@ -15939,7 +15939,7 @@ packages: dev: false file:projects/arm-mysql.tgz: - resolution: {integrity: sha512-3TJM5a2Qd8EeSIlKeKS39TyHde6bOLNK6gKmjFq7SkQSdEcqBX5vCfcG4p0WDw/+gKaA/MUzn8qF3m2CBgzf3Q==, tarball: file:projects/arm-mysql.tgz} + resolution: {integrity: sha512-nAVcgMcvjQSDpa+465azHocSkEPlaxd6GtkJZscPa7tTpkAz7oT5I9CjnenYDp9lXvok0u6TnOPxfmZ7tQG2lA==, tarball: file:projects/arm-mysql.tgz} name: '@rush-temp/arm-mysql' version: 0.0.0 dependencies: @@ -15968,7 +15968,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: @@ -15999,7 +15999,7 @@ packages: dev: false file:projects/arm-network-1.tgz: - resolution: {integrity: sha512-P0n6tUfbodiXYxvWI+EnYalaMc9HHM9JAlsiVO7atPdEyIDsA8I688l3nIfVAEEjpXpMaRvTXj7K1Z7TYrT+3A==, tarball: file:projects/arm-network-1.tgz} + resolution: {integrity: sha512-wEi3DraOYti+jaS9TaMu2Q7c+lVH+QZvohyYfbMto/rTNUTpg0evOwuRIhQcH2wDaGsiMMqA2nGegsQCn0yv0g==, tarball: file:projects/arm-network-1.tgz} name: '@rush-temp/arm-network-1' version: 0.0.0 dependencies: @@ -16029,7 +16029,7 @@ packages: dev: false file:projects/arm-network-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-SvG/3Ds71axm6f+QfuqRKl/+rHADZn54u3X73unhO0QWWbI2TuE/nxV/4fMvaLdJGyGzB35BunOHPfNmJJDmbg==, tarball: file:projects/arm-network-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-6UCazr/RscZFdpZZ1C4gh883WtXZJENsdhuVjeqOClo1Xh8++bPhs+iIPpZquRnzqiBLfnVY+0YEZMfp4DX8tw==, 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: @@ -16059,7 +16059,7 @@ packages: dev: false file:projects/arm-network.tgz: - resolution: {integrity: sha512-X0RkQ24Ptrta1BE/uUqf3sEwwzvi4tU4VZjhaDbQ1lXo3btD3QIFZ74D/yYGLoThzYqfVoMHJ0UFalKK9O+6dg==, tarball: file:projects/arm-network.tgz} + resolution: {integrity: sha512-s8TB5L7quHqZ+9d4ii7AdWrFxH8muUUzJq5WOEE6oIL40AIJoxlY/ZYN+BsA3oxOz5zoK3fvH+uG2T1y+GjqJQ==, tarball: file:projects/arm-network.tgz} name: '@rush-temp/arm-network' version: 0.0.0 dependencies: @@ -16105,7 +16105,7 @@ packages: dev: false file:projects/arm-networkanalytics.tgz: - resolution: {integrity: sha512-slnWBVpxw1dS7QIII5hBWkK2GoqDVy2BvohOuTSHDmJntEUvZvE4bcSR3ZiCOI1oIIA7PBWh4KVrSVQTHzgdAg==, tarball: file:projects/arm-networkanalytics.tgz} + resolution: {integrity: sha512-lLJd4/hABEwTZVahFDVcatGi4B1yO+cC41BEAE0Tk6tAIjNf0xbpfq5fjil0R6pCjTKm9aCJcpwSXmD74aeuhg==, tarball: file:projects/arm-networkanalytics.tgz} name: '@rush-temp/arm-networkanalytics' version: 0.0.0 dependencies: @@ -16135,7 +16135,7 @@ packages: dev: false file:projects/arm-networkcloud.tgz: - resolution: {integrity: sha512-lvZgPX3RMUmBKSRf7eXN+LirlVRXw0eQShBgZSYPHO0/r4LG2MLeHtyB0/rovC3oysUJw1Iq1Y01RDwyXdo3dg==, tarball: file:projects/arm-networkcloud.tgz} + resolution: {integrity: sha512-ijlDSaGTr47IHpVWSVwuy6goTfAb/Uxfyvtvp58nkmitytKt5t84WxbitlUUW4pPnv/3V6jyqSkPF7U88tZnrA==, tarball: file:projects/arm-networkcloud.tgz} name: '@rush-temp/arm-networkcloud' version: 0.0.0 dependencies: @@ -16165,7 +16165,7 @@ packages: dev: false file:projects/arm-networkfunction.tgz: - resolution: {integrity: sha512-s0Ey4RRYVM6wfkTmEwRtyH9B17rGFbvtqxL+QO1PUX13WcXI1K4F7Zs/3sIIj+BOSphlJHze4I6Q3GTG7sueNw==, tarball: file:projects/arm-networkfunction.tgz} + resolution: {integrity: sha512-hr888GcOBygLMmYWjrVS5gebE0w21XSQjFaLx7yQSx0J/yBBozBSZ7WA/X7Nsz6rG2qB8gE/nXw8gg4B6DA4Pg==, tarball: file:projects/arm-networkfunction.tgz} name: '@rush-temp/arm-networkfunction' version: 0.0.0 dependencies: @@ -16194,7 +16194,7 @@ packages: dev: false file:projects/arm-newrelicobservability.tgz: - resolution: {integrity: sha512-vx8WGfZY511F9Mf8zhCTL5hZgHcIV3wJ69R774P18DCwLoQRUtsW3QOpRFjxgq89lcY58BkpTqD/ltL7hnvneQ==, tarball: file:projects/arm-newrelicobservability.tgz} + resolution: {integrity: sha512-kdXO5tExkLuPBqPDGFLvlj6Ero/A+CAuYt+u8Neq4Wndd8D7N/a58AOo9laS4WxUSCi8+57pBKkiSFGehnLj2w==, tarball: file:projects/arm-newrelicobservability.tgz} name: '@rush-temp/arm-newrelicobservability' version: 0.0.0 dependencies: @@ -16224,7 +16224,7 @@ packages: dev: false file:projects/arm-nginx.tgz: - resolution: {integrity: sha512-jIddhfa43k50YepVWCQNLukwTW4oi+mIrDL67U226byMSFBh04XWh6/W27F78eaZw41FAjEVMggJQJbd0JGcLw==, tarball: file:projects/arm-nginx.tgz} + resolution: {integrity: sha512-VEsa80q55QvX2RToaUVNJEpGInjRPJE7SEOF4fT7f+HIQHDmiv0vnIF3G1uhpREAV6T7Mq5kHab1G8osdTPQAQ==, tarball: file:projects/arm-nginx.tgz} name: '@rush-temp/arm-nginx' version: 0.0.0 dependencies: @@ -16254,7 +16254,7 @@ packages: dev: false file:projects/arm-notificationhubs.tgz: - resolution: {integrity: sha512-ukqG0qcYHOoGLFAXiqaKM/aItkfCfrcMtOE84iUsdXvc6aHJTHXsrLO9gCF+PiR8SDpFF0NFCwfzvP0J2N+5qw==, tarball: file:projects/arm-notificationhubs.tgz} + resolution: {integrity: sha512-CFLzBmNzOHZhslniL/TUm5noJ4nPZ2oj80l6zVPkrD77JGbtczUaOzxPSXdQexa2XPa6hSmFUfUHvkUPhvKGtw==, tarball: file:projects/arm-notificationhubs.tgz} name: '@rush-temp/arm-notificationhubs' version: 0.0.0 dependencies: @@ -16284,7 +16284,7 @@ packages: dev: false file:projects/arm-oep.tgz: - resolution: {integrity: sha512-67fB7oz9f6H+BraPeYUSRiOVDR1F5xrh+JbINcxa7ptYz/4zJshguElxXcEBg7ZyHVzeE4+krS+15xo6FzpV5g==, tarball: file:projects/arm-oep.tgz} + resolution: {integrity: sha512-/R0GQoY1UNBAXEanM41umlrAcdkljv9hgryNj0c4Q1ozvP4udM0yCnn9IcfdUGZuKTSvqUYBwLuDZ1pLY6f4TA==, tarball: file:projects/arm-oep.tgz} name: '@rush-temp/arm-oep' version: 0.0.0 dependencies: @@ -16313,7 +16313,7 @@ packages: dev: false file:projects/arm-operationalinsights.tgz: - resolution: {integrity: sha512-sgljeojIGarB8Bd2zP7xCGOZOvz7qcjlyWjFI9Evtj+VsrBHGX1WFIl6AbGgZR9ERUoXj2Y3GYzvlLpcKCRgEQ==, tarball: file:projects/arm-operationalinsights.tgz} + resolution: {integrity: sha512-hXB82IJPZ+ol9Zfr5PgG7rh+Nutmk2lSEqMZW95NQMI3xPThYsH13g+tgaI7K2KitTD2VBeiFgh/DntuCf3Qqw==, tarball: file:projects/arm-operationalinsights.tgz} name: '@rush-temp/arm-operationalinsights' version: 0.0.0 dependencies: @@ -16343,7 +16343,7 @@ packages: dev: false file:projects/arm-operations.tgz: - resolution: {integrity: sha512-q2x6ndLC6coy0aHTEYL2ZMSywpcpVNbs0MqL/O+JGbeyamF1YMJHykbMjyg83PM56uSPxzNMLFI3pYqdbsp3gA==, tarball: file:projects/arm-operations.tgz} + resolution: {integrity: sha512-pIQra1/tX8tLRgyljVLKBUHzSshvtEu6f9j0X0uJhgLwXCUcOyAZSJGkQtCYXRfqR5AOUJYeewFJ+G97DN02oA==, tarball: file:projects/arm-operations.tgz} name: '@rush-temp/arm-operations' version: 0.0.0 dependencies: @@ -16372,7 +16372,7 @@ packages: dev: false file:projects/arm-oracledatabase.tgz: - resolution: {integrity: sha512-Zu18CpUqyK5BANM7bbY7dJA7THZfBKxs0ldcxLUpB1Hy9cIzhs+23cK7muKegpjR7jiBZE3smWiKxygcP5KLNA==, tarball: file:projects/arm-oracledatabase.tgz} + resolution: {integrity: sha512-FYkYYlFhVmlvtlhots1SlCCRRlc2/3lgDXYh0pOycttAQbThH+SwFVd2WNAsD83f25OfHxGIv4g7Pc4Arx7JjA==, tarball: file:projects/arm-oracledatabase.tgz} name: '@rush-temp/arm-oracledatabase' version: 0.0.0 dependencies: @@ -16403,7 +16403,7 @@ packages: dev: false file:projects/arm-orbital.tgz: - resolution: {integrity: sha512-XgaPFuu44TTP53vd6A8PBGRiID2WzXSAx3OYuo15MX2d3Ci02bMHSjsdJ9v1EIp7yFOjJLkJYYYa+C6arUr2AQ==, tarball: file:projects/arm-orbital.tgz} + resolution: {integrity: sha512-5R/ooM56PlrM6tZHDCd2Gbhj/dk54CFoNDfYyMdRdGEh1BXAhFNlNMhbfHqwTx7prY/uub1sywZAF9G4NEf9Sw==, tarball: file:projects/arm-orbital.tgz} name: '@rush-temp/arm-orbital' version: 0.0.0 dependencies: @@ -16433,7 +16433,7 @@ packages: dev: false file:projects/arm-paloaltonetworksngfw.tgz: - resolution: {integrity: sha512-W+/nuc9O6U93wD/Y5UzpCDzXwkMxJMLP9snCkv75J2XVqv4Y3A5J0X5GkfJ/X2RieM/rrfT/093peNxThVbGzQ==, tarball: file:projects/arm-paloaltonetworksngfw.tgz} + resolution: {integrity: sha512-kPZCjzy2lilHbWR9WTvT9vHrtyhlVo74kW7GVaC4KmuClG/7NLv6htQjWyOwmN619nV1e5Tt+LabezzrJj+ZoQ==, tarball: file:projects/arm-paloaltonetworksngfw.tgz} name: '@rush-temp/arm-paloaltonetworksngfw' version: 0.0.0 dependencies: @@ -16463,7 +16463,7 @@ packages: dev: false file:projects/arm-peering.tgz: - resolution: {integrity: sha512-KMl1ab84VdTYxE4wTctZDZ8Mljz3x0f+ITYS30M4J8IC6T0T1fN2HseENk9Aohmw6C2RpKgZhbpaw+SSwj4gDQ==, tarball: file:projects/arm-peering.tgz} + resolution: {integrity: sha512-4+FHl0yd8RfK63E1b6qXc6GVKDpKSdhkrWNyrjVW+UGbUxd89oobEz3uVocN2PLbFKk1XykX5M8P5tfXW0KMWw==, tarball: file:projects/arm-peering.tgz} name: '@rush-temp/arm-peering' version: 0.0.0 dependencies: @@ -16490,7 +16490,7 @@ packages: dev: false file:projects/arm-playwrighttesting.tgz: - resolution: {integrity: sha512-jvsyV0w0TVK3lV3+q7Jur8p5KsZBKJfMtkgQJ9NQeR2J2hfEWVB2xBZMlgEDOLw/xKRmt1DQzbGOXSwnVufpQA==, tarball: file:projects/arm-playwrighttesting.tgz} + resolution: {integrity: sha512-VCtjyZAd6HF4LRNwGZIb2aza8lYAhuYg0ZGzO79w6EWNSuab6US/ufZ7SHnM1IRL8ABUeFZH5yfQZ0qsPe0YcA==, tarball: file:projects/arm-playwrighttesting.tgz} name: '@rush-temp/arm-playwrighttesting' version: 0.0.0 dependencies: @@ -16520,7 +16520,7 @@ packages: dev: false file:projects/arm-policy-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-+CVJ6VZJ+3b7sfDoEtVhLyiUe+W6zdpj/cdc4inXZA8mRW+3xqU3qr4/UsyzyqErpdhx8Z8fWihuGuvsc9TM2A==, tarball: file:projects/arm-policy-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-wt2ZQ89QtMfiHgeEObNs3aTO9qSL3baSvG+qKcZHtrJSZeuL5g+LIPRfki1BEL/V1BiU5IamxaGoScqTmHhu1g==, 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: @@ -16548,7 +16548,7 @@ packages: dev: false file:projects/arm-policy.tgz: - resolution: {integrity: sha512-tevn+llcVa+h7PB9fDDZeQosXFFlgPvGVWeWtbAGzre7W5trMTmr0c96H5B5p1F8NZ+u1+bwE7zzhwhcOHFzKw==, tarball: file:projects/arm-policy.tgz} + resolution: {integrity: sha512-Ahle0wNx/lnFSlEh9rh9p3M60DsiVz1W9WcPpKBcgDkOVXo4Hn9Jz/VnEv211kiXn4En2Kqzoz/Skxzkv86AyA==, tarball: file:projects/arm-policy.tgz} name: '@rush-temp/arm-policy' version: 0.0.0 dependencies: @@ -16576,7 +16576,7 @@ packages: dev: false file:projects/arm-policyinsights.tgz: - resolution: {integrity: sha512-UfKMLXF/ipnrDcq4TwynZLFVaK9tfMdV9nxH8f3Jo0ke2G3XWh2d+kqhcEtdXv0EBpn9e0WB+Q4fJtROaCsbDg==, tarball: file:projects/arm-policyinsights.tgz} + resolution: {integrity: sha512-4Zoh6fnNuCkMt9E0p4s49SoSQp7Pm3/1UrEx9USsYoUJ9/ZOQsMnlRGsaqZMRBM7sLOBXlWM+etCOsP5xWoOxQ==, tarball: file:projects/arm-policyinsights.tgz} name: '@rush-temp/arm-policyinsights' version: 0.0.0 dependencies: @@ -16606,7 +16606,7 @@ packages: dev: false file:projects/arm-portal.tgz: - resolution: {integrity: sha512-FkDJkBIZ36EUmTExOygYZudg05zjFQOgjO10/t20fNADvVZwk8SnTwd8KEuvIIbTuFRj+5a117RerkrhGY2rzw==, tarball: file:projects/arm-portal.tgz} + resolution: {integrity: sha512-Uz0e9q4InfMO7xMab/rY9Ye+5gZr+WrkduLIllWqF8sIgbTEh9w1FyCvC5tUIAwA0/KZ2tOYANCzrxrYWsmgBg==, tarball: file:projects/arm-portal.tgz} name: '@rush-temp/arm-portal' version: 0.0.0 dependencies: @@ -16634,7 +16634,7 @@ packages: dev: false file:projects/arm-postgresql-flexible.tgz: - resolution: {integrity: sha512-CUbFXmQh6DciSrRNZEySqrGydRhdx6rCg519n8ZPUac3bje2HWwY9jXhENoI4JLuWRwB05caWt3w7gWQcj4QRg==, tarball: file:projects/arm-postgresql-flexible.tgz} + resolution: {integrity: sha512-zzcgPa1Hunj4Hu66k4NolAVYpvhcCVwPxQHpC1FtodosBgybNuf6t+U4t4Igz+2PO6gpo3HIGWaxSYcCrZnAJg==, tarball: file:projects/arm-postgresql-flexible.tgz} name: '@rush-temp/arm-postgresql-flexible' version: 0.0.0 dependencies: @@ -16664,7 +16664,7 @@ packages: dev: false file:projects/arm-postgresql.tgz: - resolution: {integrity: sha512-Y0k25n8HXyb/lOTZX1QAFrPlmEhqKkO+tr64olny8PPa6TLkMZivxJC8GZwku3MsaXmzBrvxZxLpmZF8Wn4xzQ==, tarball: file:projects/arm-postgresql.tgz} + resolution: {integrity: sha512-26Q3dnPk7WKt27UIfDwnSCmOfPaCSNwtRXgPiTuZdpeqTxeaTEuwYikJzIKzMKfuJg9UuH9dlwC9Xjo++X79bw==, tarball: file:projects/arm-postgresql.tgz} name: '@rush-temp/arm-postgresql' version: 0.0.0 dependencies: @@ -16693,7 +16693,7 @@ packages: dev: false file:projects/arm-powerbidedicated.tgz: - resolution: {integrity: sha512-dvSLDxvt5SFXvhcxVBWVIrYYRhX35n2MbI8fqsQVAXuRaGgdu28+UwTUrvG6T4lu4zxoPNJRnDbxDk3e2JOvFQ==, tarball: file:projects/arm-powerbidedicated.tgz} + resolution: {integrity: sha512-XmQAvxgm9s4UrXiZVVHsglTveeYkwaP0BsYNy633+s5Yyc3EnDm+legEkO6SetZs52OqHhiy5g9sY0bEf8UIqw==, tarball: file:projects/arm-powerbidedicated.tgz} name: '@rush-temp/arm-powerbidedicated' version: 0.0.0 dependencies: @@ -16723,7 +16723,7 @@ packages: dev: false file:projects/arm-powerbiembedded.tgz: - resolution: {integrity: sha512-ToKMpx4Np2fNZoeFArh2mDZo+KE1qSxNBJ4WhFgX4Gb5MxbHb374FKUd1twmkZfAIJSO5Kg/yhZrmgYHtKDFeg==, tarball: file:projects/arm-powerbiembedded.tgz} + resolution: {integrity: sha512-7p1NrmiRHonkjA1lzskPsp4gMevsRxbLRQ1y/d/eEWMJJw+WWaIlfNfzIPEFDOp0is7zUMRAGo+pqyHTDF6HIQ==, tarball: file:projects/arm-powerbiembedded.tgz} name: '@rush-temp/arm-powerbiembedded' version: 0.0.0 dependencies: @@ -16752,7 +16752,7 @@ packages: dev: false file:projects/arm-privatedns.tgz: - resolution: {integrity: sha512-OTeg4MOD1EfhZAgVLhDEFhA9j2tvnLIDI/CpUo7jRMTH/DKKXYC5y+EptiFKlh2gnp84AlxXhIc8P1NtoNVJiQ==, tarball: file:projects/arm-privatedns.tgz} + resolution: {integrity: sha512-XX/upsyOeVe+pwutokrJAbjS6FBKzy0vSINMXF357bORirkkD5zjMfQhjk5DrRmG9BlRSsaK88Q6+gF9EE5RWg==, tarball: file:projects/arm-privatedns.tgz} name: '@rush-temp/arm-privatedns' version: 0.0.0 dependencies: @@ -16782,7 +16782,7 @@ packages: dev: false file:projects/arm-purview.tgz: - resolution: {integrity: sha512-naRyqnZKSU320k5OZMtT53OB/O8WCb59y4lZKVh6rh6VIPJYh0zQGT52wCYLjVV3eSx7EWXeuJ8GiNKulH0b3g==, tarball: file:projects/arm-purview.tgz} + resolution: {integrity: sha512-uN1aSqCT6zuBzyEFvmC6lMPajX6WYjyR8tMgQ94xzA1+YBAoxJP6DFZqOtm/PLnWzGieYVi/FlBMH613jHdKmQ==, tarball: file:projects/arm-purview.tgz} name: '@rush-temp/arm-purview' version: 0.0.0 dependencies: @@ -16811,7 +16811,7 @@ packages: dev: false file:projects/arm-quantum.tgz: - resolution: {integrity: sha512-LG3bCRqDyrdDXRfaQWNoBK7iFdQ4QqN0+0bPoPfbxMOlas8xIBND+kmwPoq8PE1/aMs8+8U4UCH/6s7mGkMHbA==, tarball: file:projects/arm-quantum.tgz} + resolution: {integrity: sha512-JWcZ1aq6r6VOz8ER8AkRgtDgEi+yKvsqzG64iPIAumIg31xh5iPJB4QDrbUqc1C9vrHD8jyEI+9YiYmN8+t2Aw==, tarball: file:projects/arm-quantum.tgz} name: '@rush-temp/arm-quantum' version: 0.0.0 dependencies: @@ -16841,7 +16841,7 @@ packages: dev: false file:projects/arm-qumulo.tgz: - resolution: {integrity: sha512-J+JK5MpeGtm3Tp3zA0iEJj/++NMgjFNsI6x1wgsXzHm8wUYIVrrtZKsC5Z2XaTByQNZ3EcJLzjUxNTg+dCGTkA==, tarball: file:projects/arm-qumulo.tgz} + resolution: {integrity: sha512-en5X7IAftfR7D/KpQ/1gf/cPSJ2JF1kVTop/j6GgbynaJvYKyl49O67SGPTJYjUsNG9gRo+0CefGLGBtRSANzw==, tarball: file:projects/arm-qumulo.tgz} name: '@rush-temp/arm-qumulo' version: 0.0.0 dependencies: @@ -16871,7 +16871,7 @@ packages: dev: false file:projects/arm-quota.tgz: - resolution: {integrity: sha512-wEskdTED2UuHru5Ay5lYes6eC56jT+jR9uNLQfsOe/dFrDeRxw5rODFkvdVBz2Kv1COY4JmylFYJBRK0rpi0mg==, tarball: file:projects/arm-quota.tgz} + resolution: {integrity: sha512-kH13ggpSvR9YikQW8EwnlPf8qO+oRN8tZDiZDJwQRm1niSemDe1i2ZZ4dA8FXM9gfgu3MserjVWd51DIfMZyWg==, tarball: file:projects/arm-quota.tgz} name: '@rush-temp/arm-quota' version: 0.0.0 dependencies: @@ -16901,7 +16901,7 @@ packages: dev: false file:projects/arm-recoveryservices-siterecovery.tgz: - resolution: {integrity: sha512-NDknLKWM+Hy/DrMmHnNU59EbZ+2K7Abmdt2u5vMxc5HMf5vG+0r2y7JBr0UyUHek3UWEFrjohLCoaLrilZI08Q==, tarball: file:projects/arm-recoveryservices-siterecovery.tgz} + resolution: {integrity: sha512-VjGcZSfgYfFhRJvoLwGRmL5VFlWDLJZStlBWDpfZkS3S32TkBi/lcg0hldpA8JdxQFus9Q25fTZR98e0JMI/Ww==, tarball: file:projects/arm-recoveryservices-siterecovery.tgz} name: '@rush-temp/arm-recoveryservices-siterecovery' version: 0.0.0 dependencies: @@ -16931,7 +16931,7 @@ packages: dev: false file:projects/arm-recoveryservices.tgz: - resolution: {integrity: sha512-H9OANkU6/grQPxD2kzV3MESRUGXGwHFAw4LlFGHF0ICxbWd2bJRMiUihzXLv/mO0SVxGrxgm8SOursqwS6hDtg==, tarball: file:projects/arm-recoveryservices.tgz} + resolution: {integrity: sha512-9lE7A6o7sj8b5J93GJt4L3sKN6unlMMw59aaUrqHAIFRZu0hj5umT404Y5YPFrVJ9NybgxsbjtkY8V/WQue8uw==, tarball: file:projects/arm-recoveryservices.tgz} name: '@rush-temp/arm-recoveryservices' version: 0.0.0 dependencies: @@ -16962,7 +16962,7 @@ packages: dev: false file:projects/arm-recoveryservicesbackup.tgz: - resolution: {integrity: sha512-CteObJAA8vKLPbR+ynaFsGoBEkX+d8r++OANUGwjLZbXzeaKZ9at+4BV2/FzC4pvNLHRCMG4XhFmDgmRKABL5A==, tarball: file:projects/arm-recoveryservicesbackup.tgz} + resolution: {integrity: sha512-BqAWBHAiWqMP3n3RwDlet5Ff5i+uezG0EJV0o1M9/H4jeAhUfb6a1yH3E420h3p9n9lRCrMMwNZ5DPues3axkw==, tarball: file:projects/arm-recoveryservicesbackup.tgz} name: '@rush-temp/arm-recoveryservicesbackup' version: 0.0.0 dependencies: @@ -16994,7 +16994,7 @@ packages: dev: false file:projects/arm-recoveryservicesdatareplication.tgz: - resolution: {integrity: sha512-oG7WIQK9XQUwjxRsZTcpJ8PwMBvwG5ta6WaBtFgYtLpXq1C3mIZ9Ss9SMKYxPuWLhVLHUrX6LVygge8zb1xHsQ==, tarball: file:projects/arm-recoveryservicesdatareplication.tgz} + resolution: {integrity: sha512-cmFZ4npjn0zuzYThNnmXR0yBs5v8VHaJe9uvKO9qyP4d0rSjeB33EnjQWor8RfX42bDiZg8PMXdrxI/KMhDKfg==, tarball: file:projects/arm-recoveryservicesdatareplication.tgz} name: '@rush-temp/arm-recoveryservicesdatareplication' version: 0.0.0 dependencies: @@ -17024,7 +17024,7 @@ packages: dev: false file:projects/arm-rediscache.tgz: - resolution: {integrity: sha512-VEnR353jUSEns94E5E/1hHPAUbET+R78dbG26RA9bhLaoxy9cTru0FFb94YcOXWQXQD2YsdEl2dOK2gfoOQ6QQ==, tarball: file:projects/arm-rediscache.tgz} + resolution: {integrity: sha512-bsUUIGGbARpHKxWQORBuhokwDbDv7u45R77/q8+eVMytO7ByoYIzBNKkuBcK7aRazp2alODk26+ywl8DVppV/g==, tarball: file:projects/arm-rediscache.tgz} name: '@rush-temp/arm-rediscache' version: 0.0.0 dependencies: @@ -17055,7 +17055,7 @@ packages: dev: false file:projects/arm-redisenterprisecache.tgz: - resolution: {integrity: sha512-u6sO2BtK95EdzTlC7nWVrKD2UpnbFpx5Qr/QjiQvYR9smWqJYAOwYMEKY32QTcOK4ssUhT+6okiS97wmohxsYQ==, tarball: file:projects/arm-redisenterprisecache.tgz} + resolution: {integrity: sha512-9TTyQ69S5/l1ylqkUhQ6CkByPdmUktNR3sjX/8F6LA+MvdY2fbHaVUq1zKiKiCJ35Z5tjF+w+WmKPqJo96FmeQ==, tarball: file:projects/arm-redisenterprisecache.tgz} name: '@rush-temp/arm-redisenterprisecache' version: 0.0.0 dependencies: @@ -17085,7 +17085,7 @@ packages: dev: false file:projects/arm-relay.tgz: - resolution: {integrity: sha512-Vi4vA4PXI4rTCSRxr2C7T/rJrI0GHL+MaPYpePOQHGahAtWb07ZLJDh2/r7BBNaYNdwajabwDPgjvuDU6Q/P7A==, tarball: file:projects/arm-relay.tgz} + resolution: {integrity: sha512-Zqgzz40DFauREo1j7XqX+R74RWPZA3p3FiMDpv570MLowSi5Mhs8QnRsPL54YigJC3NxEsmPdBUvAdq7OHX8Qg==, tarball: file:projects/arm-relay.tgz} name: '@rush-temp/arm-relay' version: 0.0.0 dependencies: @@ -17115,7 +17115,7 @@ packages: dev: false file:projects/arm-reservations.tgz: - resolution: {integrity: sha512-nhfEt9S8ABacYJOvv/83nx0GYKidVSAMtIxj9bk34JkvV4w5VxdXaW/FESO5AY10Gc+ifckAz0INVOgBBwEnqg==, tarball: file:projects/arm-reservations.tgz} + resolution: {integrity: sha512-OzQsNQDm/6PWpjCyGNeJ35E74VUS3i2ei5DiVfLcLFWQHMEf0C5rvbeLzvQC8mAQsumGrtz6zIHLhVxqtmvKCg==, tarball: file:projects/arm-reservations.tgz} name: '@rush-temp/arm-reservations' version: 0.0.0 dependencies: @@ -17145,7 +17145,7 @@ packages: dev: false file:projects/arm-resourceconnector.tgz: - resolution: {integrity: sha512-gubo3fpTtg1NlFiW032jiO9ioQSQjaMQu3j2rcmNuzJA6JiwikrES6MFzPZiZEwNrT8PZGUgfkcwHVer7u5dCg==, tarball: file:projects/arm-resourceconnector.tgz} + resolution: {integrity: sha512-E0kaGMCX7XZQ6uS7t7U0tBbJEDsctlXQbDn2ARVFO6Y+5/MJXF9Uh9S9EjrWv4bIdq+fS7T0/jDbceP6OMgz7Q==, tarball: file:projects/arm-resourceconnector.tgz} name: '@rush-temp/arm-resourceconnector' version: 0.0.0 dependencies: @@ -17175,7 +17175,7 @@ packages: dev: false file:projects/arm-resourcegraph.tgz: - resolution: {integrity: sha512-xHFRPk2FvCS6P3W55nwmqtCPtlIUAecrTemUK5CbCjL1HhDv8QLSIcBwvdhEJkPVY1ASUTAazpK0hgqpZed99A==, tarball: file:projects/arm-resourcegraph.tgz} + resolution: {integrity: sha512-Awh1eMRlSVtj+O95hp8UmrWIhX2B6lPIAj+qIhrIMZY5NZF5oNj1OJ4q8q7HLWvyEkWYY/NM3C4cHX5Gg4/UXA==, tarball: file:projects/arm-resourcegraph.tgz} name: '@rush-temp/arm-resourcegraph' version: 0.0.0 dependencies: @@ -17202,7 +17202,7 @@ packages: dev: false file:projects/arm-resourcehealth.tgz: - resolution: {integrity: sha512-hqLRvdXWAWDyn9MCjNPw2Mw4BNccxVwvrn9/s4KaCsH1UA80GnRMY1QpXFn5JW8gtzqLGwZaUZeP3W2N0U8ZQQ==, tarball: file:projects/arm-resourcehealth.tgz} + resolution: {integrity: sha512-wDVa/5RrLM4j+1dg2+JdFV2OS2m52vPfZU2bsJeNYuOPcRKb7PUMBw30TutKCtNoqn2/7WAT2KDsaL/rcl0Qww==, tarball: file:projects/arm-resourcehealth.tgz} name: '@rush-temp/arm-resourcehealth' version: 0.0.0 dependencies: @@ -17230,7 +17230,7 @@ packages: dev: false file:projects/arm-resourcemover.tgz: - resolution: {integrity: sha512-9wCHZxITBFlPcaq2It0gqtb4CgBxTGrSnpbhjD2YPIdVS2WUrFua35Twlg/hO01xEdeFUNmDkxqi6zSdKBC4sA==, tarball: file:projects/arm-resourcemover.tgz} + resolution: {integrity: sha512-MeIINjpmNDkst/xMp0da1fZYT8HUmm+31L1oeaOPNkyOrMaRYdPkrRhoMtGvVJbHxCaeVZW5wAMVyyY/qdO+5Q==, tarball: file:projects/arm-resourcemover.tgz} name: '@rush-temp/arm-resourcemover' version: 0.0.0 dependencies: @@ -17260,7 +17260,7 @@ packages: dev: false file:projects/arm-resources-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-okC68UG2pfrVFsrNtwki3oozWSMdIo9vbceEYxWDTwW85Os3YrfTZI+DaZsVuz/r/0aHgSw+BHaqzr2reeArkw==, tarball: file:projects/arm-resources-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-s/KxziXhUXvIPHRol4WFO98+YmQcu1+12hzqOQmL8Mm1lJ21+OawKt35e9c6IJn7otVfYAzdJmBXKMYvdty6mg==, 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: @@ -17290,7 +17290,7 @@ packages: dev: false file:projects/arm-resources-subscriptions.tgz: - resolution: {integrity: sha512-KAz1rCuiZoyikMdjlm82HBCEYtI+Qj5M023TW5gaALHdqObN4mSTPioBCHCNPlsSHs05zOgn7J3c2mjdMzzU1w==, tarball: file:projects/arm-resources-subscriptions.tgz} + resolution: {integrity: sha512-bqxEx6rifKwElNxpMiFH1llEbqBKow8C/N8Ln77Fml8bPvqm2RYAwu6iDjfPqPu0hieGPHBhDIH5jDsRusuhNQ==, tarball: file:projects/arm-resources-subscriptions.tgz} name: '@rush-temp/arm-resources-subscriptions' version: 0.0.0 dependencies: @@ -17318,7 +17318,7 @@ packages: dev: false file:projects/arm-resources.tgz: - resolution: {integrity: sha512-DK5fZoVVp/hHE7Wlc8eOgTLrwCxWtv8uIRraux9kliFGkcv4G6JMVy6276kHOd0Pw5mF4dDOMYoF1fnRzLerrA==, tarball: file:projects/arm-resources.tgz} + resolution: {integrity: sha512-lk91CjLfdXcgHQT96k5N1GI3ESMuBEMJWD4MFTWDe+kRVZNGoYNaxkPY4IJ+jTr+P4F/BTDfbjJh3+WVDufQVw==, tarball: file:projects/arm-resources.tgz} name: '@rush-temp/arm-resources' version: 0.0.0 dependencies: @@ -17348,7 +17348,7 @@ packages: dev: false file:projects/arm-resourcesdeploymentstacks.tgz: - resolution: {integrity: sha512-vaLeR82fwmtOx04RBS0pepHbJXVE+qk6SeOg24ZMVUtcRRRzNrSoVtZHoMlAStoyimTEEDL4fTeRpxxmW0FqaQ==, tarball: file:projects/arm-resourcesdeploymentstacks.tgz} + resolution: {integrity: sha512-JCK5nD6vWwcsIyOUN6UzkiU184G8wxUzn3M477++LjChLjZqQ5tMvCbnnMVqN+nLB14eLpqQ6e9QIrY84yZ9gw==, tarball: file:projects/arm-resourcesdeploymentstacks.tgz} name: '@rush-temp/arm-resourcesdeploymentstacks' version: 0.0.0 dependencies: @@ -17378,7 +17378,7 @@ packages: dev: false file:projects/arm-scvmm.tgz: - resolution: {integrity: sha512-wk1V8WEl1GhY4hvEhwiCTqSiN0Z9K0OjhDAM/T2TZklV2D/IBtLj80mSWD7vbfs2lA02gSGRaDfFEmDgFc4m6A==, tarball: file:projects/arm-scvmm.tgz} + resolution: {integrity: sha512-o+v7OShabfMtoork9tkoVlhNJET4jejUA9Wa2BJ5efYar5WJTNFPLbuOwGivcWMLQ3JBvL/JNR2qw7gOoYtsmg==, tarball: file:projects/arm-scvmm.tgz} name: '@rush-temp/arm-scvmm' version: 0.0.0 dependencies: @@ -17399,6 +17399,7 @@ packages: rimraf: 5.0.7 ts-node: 10.9.2(@types/node@18.19.33)(typescript@5.4.5) tslib: 2.6.2 + tsx: 4.11.0 typescript: 5.4.5 uglify-js: 3.17.4 transitivePeerDependencies: @@ -17408,7 +17409,7 @@ packages: dev: false file:projects/arm-search.tgz: - resolution: {integrity: sha512-12cvCaslqBWdhOR+DPkVEsTM8iICi1eVltFeHp6W8ny4tBnBXEJ6AV8Ie9W5DNhBiq5fTX11hGsNU5dDpGgeEQ==, tarball: file:projects/arm-search.tgz} + resolution: {integrity: sha512-czQLEQQt8qZE/xx3DTrWf1w8e8QnKHKa6Xl3K32EO5oq3OwbAdY1EBtU1lmm7ooy/i+ZWJOOJItVxGABJzbrZw==, tarball: file:projects/arm-search.tgz} name: '@rush-temp/arm-search' version: 0.0.0 dependencies: @@ -17438,7 +17439,7 @@ packages: dev: false file:projects/arm-security.tgz: - resolution: {integrity: sha512-2vBN5Am03jIDkisfpDkibLkKhOJKwQ79q3b6suTJA9Kca1lzG/L0bAU4wbaqx15y3Sf0gLarmoc+bSQjeMXMVg==, tarball: file:projects/arm-security.tgz} + resolution: {integrity: sha512-dESEuK32eLQ6jl1f4REJzBJ4pB9loMu8LYZf/DedtSYVNQKWarggRyf7keZIqB+1QG/aGlLnE6hZZ/f31rRSOg==, tarball: file:projects/arm-security.tgz} name: '@rush-temp/arm-security' version: 0.0.0 dependencies: @@ -17469,7 +17470,7 @@ packages: dev: false file:projects/arm-securitydevops.tgz: - resolution: {integrity: sha512-7VP+xjC7SfISIr4TiLwoC9Ga3MGM/3eiT9IZKl7eH04aWPy7Skf2n5dWo9CZUAfdHXFiH2lUm+bAwu/Mk8fzLg==, tarball: file:projects/arm-securitydevops.tgz} + resolution: {integrity: sha512-YsLr0X/Qb4cxt70xx6MQnlrT4vasnZJxZ+7Dqh75sC623epcSnRO6+R2DeXVbcbSWLSMbpojRd+HpjaGDL8JBg==, tarball: file:projects/arm-securitydevops.tgz} name: '@rush-temp/arm-securitydevops' version: 0.0.0 dependencies: @@ -17499,7 +17500,7 @@ packages: dev: false file:projects/arm-securityinsight.tgz: - resolution: {integrity: sha512-XoDjznfDCpbW/oDhFqnOHgYDqGRiP1pzY9qRGOLa/Gv51OAOi35cQs6toeTZA2whfgWNsKVp8wxtdvuKr2ObMg==, tarball: file:projects/arm-securityinsight.tgz} + resolution: {integrity: sha512-7jlXfgEkaHLsFWl+AcYWzIW3z13MIdKV4PF+wjYAlmJ6OmnvQNpexslkGvkguWpxKXQJwChU7pWa+3tRMo6bzQ==, tarball: file:projects/arm-securityinsight.tgz} name: '@rush-temp/arm-securityinsight' version: 0.0.0 dependencies: @@ -17529,7 +17530,7 @@ packages: dev: false file:projects/arm-selfhelp.tgz: - resolution: {integrity: sha512-2hUPoU+gKUGR3eMSfcruhUC9Jv2icxCwcimPRk86Wskq2kETMxkklFwiI8y4E7OoJ8iftpbqBzp8RJTGlhdIaA==, tarball: file:projects/arm-selfhelp.tgz} + resolution: {integrity: sha512-Pn0xPEK+AyAnRIb2rRhJo7joLGsWHmWdB3u57ubZfZY1dxefWDzUMrWKpMv8r/YZqYuZ3QroHhpvP7+IwN7YPQ==, tarball: file:projects/arm-selfhelp.tgz} name: '@rush-temp/arm-selfhelp' version: 0.0.0 dependencies: @@ -17560,7 +17561,7 @@ packages: dev: false file:projects/arm-serialconsole.tgz: - resolution: {integrity: sha512-sewK0qoL//JqCcQuZKjWSnZ5hhK4VqIvHsPmkPs10mnxjaiXlJvXerUkzlHlDrS95HXMoHZcuwb//a1L8zswrg==, tarball: file:projects/arm-serialconsole.tgz} + resolution: {integrity: sha512-WeILsyd45/ywzHxyYqmXtflAR79LoIt5ncL5vgNENe1htk5YP4Zg2Ac3gP000L2pTx+d9ODAjVTkpMl0xqhWAQ==, tarball: file:projects/arm-serialconsole.tgz} name: '@rush-temp/arm-serialconsole' version: 0.0.0 dependencies: @@ -17587,7 +17588,7 @@ packages: dev: false file:projects/arm-servicebus.tgz: - resolution: {integrity: sha512-YRvmbxtMT5gUtrPLztYF4joVIKy1qnvpL2YzKMk641pUJ5Olok7AFpVyOyolA29CVOejYGxnmaqOu0x3ATf1+A==, tarball: file:projects/arm-servicebus.tgz} + resolution: {integrity: sha512-axh4NECqyvQewLwr5RlYMoJ4apoAM7Gg95CiRUSyuidG/1Uft7bttFKYWELS9YS2fcYgjqU4MHn/riVGRrv3fg==, tarball: file:projects/arm-servicebus.tgz} name: '@rush-temp/arm-servicebus' version: 0.0.0 dependencies: @@ -17617,7 +17618,7 @@ packages: dev: false file:projects/arm-servicefabric-1.tgz: - resolution: {integrity: sha512-omMAIhHV6H+a+9WkEocV2VTtMOLvKoPHTE6JtX6IBI4lQTYGWi/Idxehda+36tQzOPFy2fxbvAX0foLDVq7O5A==, tarball: file:projects/arm-servicefabric-1.tgz} + resolution: {integrity: sha512-BiZ6L6Benu3gc4nh+MZEQWNzKmGTBZ6KQkW/t0dsAbuYJjwo3yg+ZKv9gX5mzHdy+njyW9TBLfzrFOcbVfPxow==, tarball: file:projects/arm-servicefabric-1.tgz} name: '@rush-temp/arm-servicefabric-1' version: 0.0.0 dependencies: @@ -17647,7 +17648,7 @@ packages: dev: false file:projects/arm-servicefabric.tgz: - resolution: {integrity: sha512-lA0pdrClcfkUG2PO0mTlNzs7nK/5hoIldDE4iV9eIQoBa93vKvEXYJ0JhNjQ2xHAA/KGkE6qvgDuxjWPSKrF5Q==, tarball: file:projects/arm-servicefabric.tgz} + resolution: {integrity: sha512-JYWIjT+TstRhrbmqMWXqO4XUIBHafUsT1JqcrMywG9UN+LLybUZyUqW0IufPXMFa8r6r5+g++SCnFCl0gM8xzg==, tarball: file:projects/arm-servicefabric.tgz} name: '@rush-temp/arm-servicefabric' version: 0.0.0 dependencies: @@ -17693,7 +17694,7 @@ packages: dev: false file:projects/arm-servicefabricmesh.tgz: - resolution: {integrity: sha512-eqIDVkYoLNPtNhN8ad0PzzmZG3qLr7KJ47ddm3cKxMgWgfUhhArzKOy9gABscSaviRNZ1uBDhSVfGPylGSCDsg==, tarball: file:projects/arm-servicefabricmesh.tgz} + resolution: {integrity: sha512-T6sEWzGIyKSJMuUjXz08MCIrsv2YgbAL18thKKVkl6dLll/2ZsHqkw6ZyFT+OziMARhBWDqfWonN0aNDuI/UXA==, tarball: file:projects/arm-servicefabricmesh.tgz} name: '@rush-temp/arm-servicefabricmesh' version: 0.0.0 dependencies: @@ -17721,7 +17722,7 @@ packages: dev: false file:projects/arm-servicelinker.tgz: - resolution: {integrity: sha512-wdIGh6BHUsqYhBxuHSdGfzMwQZzSOMBBf0aMxu2ZZBsp0LhGmOQ0iC8ZYTh1irqJv25B41nZhteIHAb3MUsn+Q==, tarball: file:projects/arm-servicelinker.tgz} + resolution: {integrity: sha512-uKmGK/WjJHp5WV8jxU3FOYRYDV9Zg6KA9AvSFZJ+YXrjjVndOA8uNWzXwNOWLbDDWfBIt27JFNlhAE6jzhztTg==, tarball: file:projects/arm-servicelinker.tgz} name: '@rush-temp/arm-servicelinker' version: 0.0.0 dependencies: @@ -17751,7 +17752,7 @@ packages: dev: false file:projects/arm-servicemap.tgz: - resolution: {integrity: sha512-38POqclFYBeiOFevCdzDT6orHIbqstQiVBF/lINISJahsf5sniINdePeKQDgmBkeNnQe+Ha3rIFHrnLY+6sR/w==, tarball: file:projects/arm-servicemap.tgz} + resolution: {integrity: sha512-6RUYpKocHi9UaIzjrPU4I/60lvBlitc414KZu+YU4tUZoBDAPXQZXO9LuGyTyuheh6pHtsbZkFrYlacF5qYtGg==, tarball: file:projects/arm-servicemap.tgz} name: '@rush-temp/arm-servicemap' version: 0.0.0 dependencies: @@ -17779,7 +17780,7 @@ packages: dev: false file:projects/arm-servicenetworking.tgz: - resolution: {integrity: sha512-eCuZxtt5PU36HugZOkw1qOqD/FZABQhUr3dzgwkqaSnBpr4kklb+4jDh2oqfUw9qVGZMPuBRcJVCiHoOy6QKGw==, tarball: file:projects/arm-servicenetworking.tgz} + resolution: {integrity: sha512-rYEBxbAe2PP3o2BojmxRBIbP3FSsiTHUpbmUR2heoggfyGbnVPX6iS3nY+Hz7PrpSARDTY70JzLvoUT3XTTNWg==, tarball: file:projects/arm-servicenetworking.tgz} name: '@rush-temp/arm-servicenetworking' version: 0.0.0 dependencies: @@ -17809,7 +17810,7 @@ packages: dev: false file:projects/arm-signalr.tgz: - resolution: {integrity: sha512-8oM82J705NBisX9XMSfRclq1RzICRu+E7I5E/enG9YsPY5g5X1TEKAqMSJ1MtXZwwlgAx0fMzQTPQ01nPMw7bQ==, tarball: file:projects/arm-signalr.tgz} + resolution: {integrity: sha512-bVJcJyxkCshoHgttHBqYmpw45DtmUvuXULRyFY9/xg+K68+F8J2XPwiJtU5b12Z9iGLFrNbckjol72o1+LdOhw==, tarball: file:projects/arm-signalr.tgz} name: '@rush-temp/arm-signalr' version: 0.0.0 dependencies: @@ -17839,7 +17840,7 @@ packages: dev: false file:projects/arm-sphere.tgz: - resolution: {integrity: sha512-t7QrUdy9H9zZy1043PQ9RnGrSbFiW3Q6Vanw/3jfgaEYsh4A/RT+2HdmsqovWPh/VCV3wTiWTdrHaiuBG7zmdg==, tarball: file:projects/arm-sphere.tgz} + resolution: {integrity: sha512-a8XZBza5Lmh7gD6GF9YpRmjXEyBoRAgY7Cpq0tF0OpzOLlniApCqnJ4fPt02v2miueIo250nhy3QYmYxIViCAg==, tarball: file:projects/arm-sphere.tgz} name: '@rush-temp/arm-sphere' version: 0.0.0 dependencies: @@ -17869,7 +17870,7 @@ packages: dev: false file:projects/arm-springappdiscovery.tgz: - resolution: {integrity: sha512-IzofRQtHrYM2FSJvhvGMBEKFe/08jMG+DnRc246U8V7pAsCsXnsBP2++LcaLg2neFbe+UoScqJpS56QB+GdawQ==, tarball: file:projects/arm-springappdiscovery.tgz} + resolution: {integrity: sha512-bAB+/XUaz9E02/f93yfpFETKUiMHCxhGUwy6UhG/R5f63b7evQSQTEyb1r5gzrRgWOQBorbErJAsl2LNLM/Smg==, tarball: file:projects/arm-springappdiscovery.tgz} name: '@rush-temp/arm-springappdiscovery' version: 0.0.0 dependencies: @@ -17899,7 +17900,7 @@ packages: dev: false file:projects/arm-sql.tgz: - resolution: {integrity: sha512-Z+AzG0ghqfI2nmFxrs+vgdEYeVXPPHRx5TBRYuzspdN3RlPFp93ge062fg6LGgQROu3aNaXQjSdEYXS+rxYr2w==, tarball: file:projects/arm-sql.tgz} + resolution: {integrity: sha512-t3TsYjrYRmFVjxZZQ437BqSVNogVvUY4MGgUP+Yr30FnghvSE669fpTzsEyVnNBLtkxMfhyTnT2bwyu+VmAkmg==, tarball: file:projects/arm-sql.tgz} name: '@rush-temp/arm-sql' version: 0.0.0 dependencies: @@ -17930,7 +17931,7 @@ packages: dev: false file:projects/arm-sqlvirtualmachine.tgz: - resolution: {integrity: sha512-RnCeKRX2OFpjqRqjH80ijad+e0CeLl6xeGgoReu/FKEeiLslXMBTIh2hYNmBERCkY2mh/NR3sARta512kfOfqA==, tarball: file:projects/arm-sqlvirtualmachine.tgz} + resolution: {integrity: sha512-2xkxpXSZIkYM7g7C6s5+iKNBb5hmg2wS4HrNhD+eBwn3ed2ErvK+NbAQKRn8oa5m6UyL15IJuHXQnNyrpsd2OA==, tarball: file:projects/arm-sqlvirtualmachine.tgz} name: '@rush-temp/arm-sqlvirtualmachine' version: 0.0.0 dependencies: @@ -17960,7 +17961,7 @@ packages: dev: false file:projects/arm-standbypool.tgz: - resolution: {integrity: sha512-+o0rO2dCCLbj+2NRrFmfXwzFBZOy98O/4MxKPnTHTek0EPwR0LKZpAZ/V2NJQA/9VUB7nFUuLhFdoNj+746WUQ==, tarball: file:projects/arm-standbypool.tgz} + resolution: {integrity: sha512-BQaldyjX+Eyxs1JBGfqNVYEoGmUsqOitOnr1g8EWzzYTNNlpbp6nZJqXOEDhCKWP7uFZbz4xhId3W5bMpYMpww==, tarball: file:projects/arm-standbypool.tgz} name: '@rush-temp/arm-standbypool' version: 0.0.0 dependencies: @@ -17991,7 +17992,7 @@ packages: dev: false file:projects/arm-storage-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-0CPFYsogaHFn8uJH7NjnOewYFJSv0MbzNKVh9c5nCQLsyleiio/OJUxsaZfs/tF4iLPV+PbPQxigalljfhp1WA==, tarball: file:projects/arm-storage-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-H+eQpB0n0StajpR9RQJBqJA/8XhAbiOi8jVq438ccdC/VowrXs24LUSaDHbns8e/wXgSgOdkkSClcMi5vCOoLw==, 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: @@ -18021,7 +18022,7 @@ packages: dev: false file:projects/arm-storage.tgz: - resolution: {integrity: sha512-x6hu/nkzC4XCtAPRQz3c2uFh+SuqGmdlFjPGvmYtNbbkSFLt2X01dxNm+i+fhdteF5nrboraQymHWSSVEul1og==, tarball: file:projects/arm-storage.tgz} + resolution: {integrity: sha512-Dbww+oJFHkDel+MjnGLKiWG/X1XsUQrdPzGwdZiVb40EIIs+5dI2Ge/uuiNW7Wm5B1btiOUhG8bbJ3vlTX/xMA==, tarball: file:projects/arm-storage.tgz} name: '@rush-temp/arm-storage' version: 0.0.0 dependencies: @@ -18051,7 +18052,7 @@ packages: dev: false file:projects/arm-storageactions.tgz: - resolution: {integrity: sha512-Yjk94fKFktDMt2xiB8UovYuiJQnRN8EKX2mNh/SP0zgynxOR6ByxUT5IgQWchNaDdr/E0Rzg2Y6boJRf1N+lmw==, tarball: file:projects/arm-storageactions.tgz} + resolution: {integrity: sha512-52BOt5r0mcgSvrSHGx5/vqQJniOui9kc05Ys/RHLxWgMiiMOUxDR898doXz45EgURSHfuG+/Vyr9moTebro1IQ==, tarball: file:projects/arm-storageactions.tgz} name: '@rush-temp/arm-storageactions' version: 0.0.0 dependencies: @@ -18081,7 +18082,7 @@ packages: dev: false file:projects/arm-storagecache.tgz: - resolution: {integrity: sha512-9OpxPZSNt4bx1p/9E3qAEzdQ4CbIK40ZPLAHUinWXnikt+LuE1a9q18cpqo1rDkQp7nByAmcrtKRt44MeNUXaw==, tarball: file:projects/arm-storagecache.tgz} + resolution: {integrity: sha512-y9gXcI5J/snO/LIEWWWvy+TeVTtfND4sqBKpH3Bdptxxyu+OxUf4aT/OKXDnL1EYg9IJYvjBrV+7NB0aX0FQWw==, tarball: file:projects/arm-storagecache.tgz} name: '@rush-temp/arm-storagecache' version: 0.0.0 dependencies: @@ -18112,7 +18113,7 @@ packages: dev: false file:projects/arm-storageimportexport.tgz: - resolution: {integrity: sha512-5535CDDeSUHJkLK+9PUsgfKd02OKMr8tBI3374GB73QNmKekn91vl5fTvlpA1MkqI97YGmjy/PEJHteF7Uo5Zw==, tarball: file:projects/arm-storageimportexport.tgz} + resolution: {integrity: sha512-fSXFx6l9FC2QNNVUSg7ltlpK0BWiuX/3aKjMsOh7w2ouDlHbg/mp21bUb/XTrSOZSRnd42utDhC/wfRd/qs2vg==, tarball: file:projects/arm-storageimportexport.tgz} name: '@rush-temp/arm-storageimportexport' version: 0.0.0 dependencies: @@ -18140,7 +18141,7 @@ packages: dev: false file:projects/arm-storagemover.tgz: - resolution: {integrity: sha512-/wGv4mhzV8Bb0dAJFWZUUJZ7jfmSQUXo5C9okmbFwj5CuZKY+bVKThVS9zulAWMmxL80Ci6iFBktADJuOB8RJg==, tarball: file:projects/arm-storagemover.tgz} + resolution: {integrity: sha512-rdanPDfg1WUJnqw6NTXyJGqTS47URKy+Xb4zFldadGPqcXCvH5Bv+jsdH/lWl8N8X+NaF9EhLQpMKWERkMsZdw==, tarball: file:projects/arm-storagemover.tgz} name: '@rush-temp/arm-storagemover' version: 0.0.0 dependencies: @@ -18170,7 +18171,7 @@ packages: dev: false file:projects/arm-storagesync.tgz: - resolution: {integrity: sha512-mG3t8ObtCotR0yNn9w7VQ1iieg/jmNWFeNDIGxE+KJ/LFFU9hU2AiClXohhXsN/yNqQn9oqUSq0uAktMtQAxMA==, tarball: file:projects/arm-storagesync.tgz} + resolution: {integrity: sha512-rUKAq62G/GxJvsqTOSQRzx+QP9SzeFRXWWS0f8nH5ISXThQqLh6WONBpMIioBUs8yUc6XrtUajAM9nALuN9hdg==, tarball: file:projects/arm-storagesync.tgz} name: '@rush-temp/arm-storagesync' version: 0.0.0 dependencies: @@ -18199,7 +18200,7 @@ packages: dev: false file:projects/arm-storsimple1200series.tgz: - resolution: {integrity: sha512-gGuAca1T3DQgHTxR9Z0uotNFcWRnZi3+A7/SpXeXuA5Jq+9A2An3sn3VPUEH1a+lMK3lJ2g5fbcnCDqQ6tmQSw==, tarball: file:projects/arm-storsimple1200series.tgz} + resolution: {integrity: sha512-Cm/AruveyxQ/4wyBLwAyg2Z7cHqprIEur2aLoWmd+GlBN2w1M+nFIc5B8JpAOSYBEByBVT8K0Tby157epvVn9A==, tarball: file:projects/arm-storsimple1200series.tgz} name: '@rush-temp/arm-storsimple1200series' version: 0.0.0 dependencies: @@ -18228,7 +18229,7 @@ packages: dev: false file:projects/arm-storsimple8000series.tgz: - resolution: {integrity: sha512-Yqa/VPTg+RoktUpZuciBvS4V5fgpD9kImwxdoCGnK2cmwiCRIinJMH12OYh/RfVyJxDZdy46PiFEkGzZokDTpA==, tarball: file:projects/arm-storsimple8000series.tgz} + resolution: {integrity: sha512-nIyKADpAwewZwspfwiort9CmqG5ghTHmGuv0USkllSxuyBMjOKX9VRUqoqGiuvRLQV85P0YqwoLF65l1MRlsvA==, tarball: file:projects/arm-storsimple8000series.tgz} name: '@rush-temp/arm-storsimple8000series' version: 0.0.0 dependencies: @@ -18257,7 +18258,7 @@ packages: dev: false file:projects/arm-streamanalytics.tgz: - resolution: {integrity: sha512-YGfULehNVf8yQ9gxMrHJqpr0zs9C+RiPtZUC/+kJ+xGEFSvaYVrfyW9klHwXyZYuqMNOWlJSlXnzu3GFyEqbaQ==, tarball: file:projects/arm-streamanalytics.tgz} + resolution: {integrity: sha512-jnr0X00qm8PV19g8piPM6nnsdpONkFVJ3QeMFx0FcVETMreGRmr2k1MBdDvCYwy9LgjPGihHwtdug1C8K1+XcA==, tarball: file:projects/arm-streamanalytics.tgz} name: '@rush-temp/arm-streamanalytics' version: 0.0.0 dependencies: @@ -18287,7 +18288,7 @@ packages: dev: false file:projects/arm-subscriptions-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-6z8KqEUvJzd5HqNfwvED8v4DnxN4evWBbibcyjbPTiIAYG9S3eFf2LfbbOcZWUw9ur62nmeHB3HAEvlJeDpfDw==, tarball: file:projects/arm-subscriptions-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-K95ot/NVMi+aytzoX/GtflqiEf/jnYXPim1XDB1PzReVPm0eyNANwYEtb/VNUxRwpmKxGKSflctRydWwKv5M4Q==, 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: @@ -18315,7 +18316,7 @@ packages: dev: false file:projects/arm-subscriptions.tgz: - resolution: {integrity: sha512-Zhtswu6Azp+klzAOV7wLEPZXYmsldK+/WAfAH4qPetVgXzT8zLOLpM9Ie4sYTnj075pNrxNVzvLb3YciMiA1NA==, tarball: file:projects/arm-subscriptions.tgz} + resolution: {integrity: sha512-5d5gQ2CnowRVJE4+e6mG3EpJI9MirPlYpRx+aab9vzOlk6wUdAkf7CveYC1DYdePtWkjOD2O+maLd2n4j6aT2Q==, tarball: file:projects/arm-subscriptions.tgz} name: '@rush-temp/arm-subscriptions' version: 0.0.0 dependencies: @@ -18344,7 +18345,7 @@ packages: dev: false file:projects/arm-support.tgz: - resolution: {integrity: sha512-j3zImbzUXJ8ODRB6twJZSZglUAKUIdpYIPmxeHOR+1U/YaKuE1ad4UnMNaxNt31aqFjsoHnZKvvfqk7+b7BG0Q==, tarball: file:projects/arm-support.tgz} + resolution: {integrity: sha512-EZx9LOr4FvnzC3bqcuWjHo1Opm4bDSGesycx1/D38K98O4Fq/vGs6M0pILw0rp6lhYHh5mNo9jtZw3Ssjm2NAg==, tarball: file:projects/arm-support.tgz} name: '@rush-temp/arm-support' version: 0.0.0 dependencies: @@ -18374,7 +18375,7 @@ packages: dev: false file:projects/arm-synapse.tgz: - resolution: {integrity: sha512-vV3WDA5trPdYZ4KnOppgnZP8EB1maUYEkVn4z/rERC5cjF7I80riha3OKJ8GKO6ULfcapiIK7X46DFCi8KCQCg==, tarball: file:projects/arm-synapse.tgz} + resolution: {integrity: sha512-8I4iVKSvQZmOWSSFWsqaBgvpDN2rw3Vjfb+I3x7q1e1R5jMdrHOrQez5dwrDgtI1UKCGDpi6AqI9tTC+Ro8gGA==, tarball: file:projects/arm-synapse.tgz} name: '@rush-temp/arm-synapse' version: 0.0.0 dependencies: @@ -18404,7 +18405,7 @@ packages: dev: false file:projects/arm-templatespecs.tgz: - resolution: {integrity: sha512-89LoIr/8OqGj9fB4IXEFBTgyxz5KzuYSoNXrxPHhl5aTdiI4KtMSsYclNE67Klw8Gc2CiTtcqoM4lm3Mzj1gGQ==, tarball: file:projects/arm-templatespecs.tgz} + resolution: {integrity: sha512-/4f1WCCm69AA+DSzChKVuxHT24dpHwqujEE1sJXUa3LPcXwCu55AFmNrTPj3aTYW8ca/oiYq+NnrwUv1+/6DHQ==, tarball: file:projects/arm-templatespecs.tgz} name: '@rush-temp/arm-templatespecs' version: 0.0.0 dependencies: @@ -18431,7 +18432,7 @@ packages: dev: false file:projects/arm-timeseriesinsights.tgz: - resolution: {integrity: sha512-qnkkvmYPLux8evbgqjy8E48yAzW6uo335EKGeWaEZkZFWttz+NDrXx1AxDS1G64LuOb88M9i1b4e2g21mw6fXA==, tarball: file:projects/arm-timeseriesinsights.tgz} + resolution: {integrity: sha512-TePtcNhUU/by9QGgfBE7gV/HZnoOfB8zz9FqRE4k9jBw1dGOB1ZA7wpvWAKfSlMScs4SXDkxzIkuCmS4YP02RQ==, tarball: file:projects/arm-timeseriesinsights.tgz} name: '@rush-temp/arm-timeseriesinsights' version: 0.0.0 dependencies: @@ -18461,7 +18462,7 @@ packages: dev: false file:projects/arm-trafficmanager.tgz: - resolution: {integrity: sha512-pkmH7BWa5ICZaXmvUpsrnnLA3cWxXfTi+v0LcQLvj+FDAgLA1DMLy7eKEsofUPzgK3V7m/Bhqa97GH0CRswDRw==, tarball: file:projects/arm-trafficmanager.tgz} + resolution: {integrity: sha512-f6J0LlmjkuJqcI8gOx3XE7gYdUIonXGsd6AyBIEQOybJwRwiKy9JivZqIGdddQT2d/ztoQJSm9iosmgsYIRqag==, tarball: file:projects/arm-trafficmanager.tgz} name: '@rush-temp/arm-trafficmanager' version: 0.0.0 dependencies: @@ -18489,7 +18490,7 @@ packages: dev: false file:projects/arm-visualstudio.tgz: - resolution: {integrity: sha512-TDlAYlbpZa56iSFTG6JHAB81hQN3woPURzZKAX04qecRLYtG7+dDc43gpOGXr9scxYZyh/DgjUKxTbFlbMxZ1Q==, tarball: file:projects/arm-visualstudio.tgz} + resolution: {integrity: sha512-mRbTbNgi2nXKcvTqwmZzGUFZRhdZO/wvEWitn+qNa5AKo004pW4lFcStP/0wNAWbU9FxOz2/19HJcJAU7JN73g==, tarball: file:projects/arm-visualstudio.tgz} name: '@rush-temp/arm-visualstudio' version: 0.0.0 dependencies: @@ -18518,7 +18519,7 @@ packages: dev: false file:projects/arm-vmwarecloudsimple.tgz: - resolution: {integrity: sha512-q0gKszre4tmW2WC8ICjZv1GfnaQYuWovhpOGynCpTfvthbCNlAvyZy/uD4v7qFZ/DNjvfyIRDwL08FIJSP438A==, tarball: file:projects/arm-vmwarecloudsimple.tgz} + resolution: {integrity: sha512-mLljWv06iYqz0igUp3jqjyVPR7BiCcJxzvy29ImESgckI5/B43LAeOElM4Mcqm2MUL7iJzqtvVxdJOM6hRz9cQ==, tarball: file:projects/arm-vmwarecloudsimple.tgz} name: '@rush-temp/arm-vmwarecloudsimple' version: 0.0.0 dependencies: @@ -18548,7 +18549,7 @@ packages: dev: false file:projects/arm-voiceservices.tgz: - resolution: {integrity: sha512-NEqCLnoH034PyRhZoRcOaK7hYhbDaJLI/pYPHnut6fKIX156C4xZSv0SxZEsnngCsB6QwrtYoZVpxG9y0qIpEA==, tarball: file:projects/arm-voiceservices.tgz} + resolution: {integrity: sha512-9QZ6Qdx8TcgynoOzSFCOJK5X/67bv7XwBlJK3MjfUFIHlb3siF3NUrpw2x6Rk54wS5J029nKFbk0NWHehDQvrw==, tarball: file:projects/arm-voiceservices.tgz} name: '@rush-temp/arm-voiceservices' version: 0.0.0 dependencies: @@ -18578,7 +18579,7 @@ packages: dev: false file:projects/arm-webpubsub.tgz: - resolution: {integrity: sha512-3ggrHyfxhwhbBH8YNlHt7Bc/lvpZWqB1wLAMHrZbn/fUYwDEETwDTeA/x7842cnFzPp1DmbgSQBrznw6boSs0A==, tarball: file:projects/arm-webpubsub.tgz} + resolution: {integrity: sha512-Royoi1sbidwFMB2pWwZ0FSWrn+64GU/OluE27Bnu4KRHL/px7AGUynDMJxVC6JXyAy3jBlFEf2FP9+z4xYw2Sw==, tarball: file:projects/arm-webpubsub.tgz} name: '@rush-temp/arm-webpubsub' version: 0.0.0 dependencies: @@ -18608,7 +18609,7 @@ packages: dev: false file:projects/arm-webservices.tgz: - resolution: {integrity: sha512-fMfdnEnNJAk/ks1WuOF9xRwj65EyDuuJAV8tt0l/ouMmZGTOh9D1oT8kf7VOfE2S+j7EmaAtmS4CAbvHGuKE/Q==, tarball: file:projects/arm-webservices.tgz} + resolution: {integrity: sha512-C2/6j40wC05SRexUHBhbHkp5nzcdXHxVKs+40TH5jkfIe3UEd+hdBwUrXYD15elyhdWnCSBvwTmqo9/5e0XQ4Q==, tarball: file:projects/arm-webservices.tgz} name: '@rush-temp/arm-webservices' version: 0.0.0 dependencies: @@ -18637,7 +18638,7 @@ packages: dev: false file:projects/arm-workloads.tgz: - resolution: {integrity: sha512-4yjeKRL4+UqsnT1uCyP/mtMCE0a3tK/VU6ajQ9/MJl1LQ0ZEVgkB/Ik1qse1g80flhynf76DleZTVnpLnfrEEA==, tarball: file:projects/arm-workloads.tgz} + resolution: {integrity: sha512-aztLYedZiCg3pSlXx+CcWr5Y/qRy2Ht9siOHF7K/ij1WTqIuKMtz++On9A4rwiHxM/wJHeFUZvoLrMu/69HvVQ==, tarball: file:projects/arm-workloads.tgz} name: '@rush-temp/arm-workloads' version: 0.0.0 dependencies: @@ -18667,7 +18668,7 @@ packages: dev: false file:projects/arm-workloadssapvirtualinstance.tgz: - resolution: {integrity: sha512-6rX1UaHWQKXyOjzxwo/N2Sws14UfuU6MLdT18jTonfjVmFajTcpwVSz0xUOpCuf7hxUxGWxWuPRs7Y5vpXAFhg==, tarball: file:projects/arm-workloadssapvirtualinstance.tgz} + resolution: {integrity: sha512-tls24fzfDvRQiFskdWtT1/pGZyjlKXz3hfSCS4UMwCtlOy53jlhxyu1hXdUFDND0j9G2BKZCCJv3PmH7yBjT9w==, tarball: file:projects/arm-workloadssapvirtualinstance.tgz} name: '@rush-temp/arm-workloadssapvirtualinstance' version: 0.0.0 dependencies: @@ -18697,7 +18698,7 @@ packages: dev: false file:projects/arm-workspaces.tgz: - resolution: {integrity: sha512-g/ofzNN/gEh2H4nL3PZ77hHaARGgzCKbitvJ3VGp3r+JA9/e1dXq49CHWEjxaE3f6kmiR5Vuqmo9HqRn/3O3ng==, tarball: file:projects/arm-workspaces.tgz} + resolution: {integrity: sha512-epOWyxlK63o6PEll1bioPaLRwC+JMhCiaqb2KhQszufgP/NR65DiuUvJzscmP34asd7jJFTrP3WDLLSNMtIbjQ==, tarball: file:projects/arm-workspaces.tgz} name: '@rush-temp/arm-workspaces' version: 0.0.0 dependencies: @@ -18724,7 +18725,7 @@ packages: dev: false file:projects/attestation.tgz: - resolution: {integrity: sha512-Rhw6hDb4VTtUNH6gZ8DtOzx5h0Xc6GP8GHU6/Gn5uEqfZhO1gYO9oET6HblY+38a8xiinKx3jJrV9HFfj67kOw==, tarball: file:projects/attestation.tgz} + resolution: {integrity: sha512-BdzWdiyPO0s1506Cho1/SbZne6RqZHWcwKoNDpGmLIj0v+b92KWfBGGiVBH22qhk14yrs2uEPVkx83eNMZhrWg==, tarball: file:projects/attestation.tgz} name: '@rush-temp/attestation' version: 0.0.0 dependencies: @@ -18775,7 +18776,7 @@ packages: dev: false file:projects/communication-alpha-ids.tgz: - resolution: {integrity: sha512-ZnA1LD8oAtWgDUs3UwmgGfhJUulvZgVq9PtuO4oZc6qp+uW3dMqruFXTyfjcoXTJzcC3gM+yjHW5phc98jqBdg==, tarball: file:projects/communication-alpha-ids.tgz} + resolution: {integrity: sha512-GF2Y6y1LoPqC+KnWroIE8asHHFig/mWM+DqVNGBwDnU8ynjelMfr1L3YlD6lFqYfX1Qt82zi1QNwOTYBXFtj+g==, tarball: file:projects/communication-alpha-ids.tgz} name: '@rush-temp/communication-alpha-ids' version: 0.0.0 dependencies: @@ -18819,7 +18820,7 @@ packages: dev: false file:projects/communication-call-automation.tgz: - resolution: {integrity: sha512-N1TW9xs7zjhhmXOxnBlFrFJJCwm6Ee64UfhhZBhODbuH3hv/4uc+yb5t8QnaQZ0TJKsR2ai7D3rDOGvCVaQapw==, tarball: file:projects/communication-call-automation.tgz} + resolution: {integrity: sha512-zbGPNdUKPA/qhxd9WpepAa04xDLeLo0BDjFwJeLHbujy4YtI0rYNw/Q5yVKVCPvfEYTzrC4K1THhbq4fdXi0wA==, tarball: file:projects/communication-call-automation.tgz} name: '@rush-temp/communication-call-automation' version: 0.0.0 dependencies: @@ -18866,7 +18867,7 @@ packages: dev: false file:projects/communication-chat.tgz: - resolution: {integrity: sha512-LsbGjr9EW8VTWF/5INwJsD2jzswejO0PtWkeP9T3VW/gU7HjW6IrwSw0pvEeJJqgSAES/He5SJVkvmUrZRCpww==, tarball: file:projects/communication-chat.tgz} + resolution: {integrity: sha512-h6dvMTxQFeEy8XBMaCkCh6Gxx0qLmbaiijdxSHEYHP7M0e7X7v4ElVQ2ly+JgcGV/dNGYNCy6HW/37dMZvgl3g==, tarball: file:projects/communication-chat.tgz} name: '@rush-temp/communication-chat' version: 0.0.0 dependencies: @@ -18917,7 +18918,7 @@ packages: dev: false file:projects/communication-common.tgz: - resolution: {integrity: sha512-Y8j8dX2CZGGFAcNCg+HrM+n+lU4nRM/1ZeBiZgv1fOrCiVWgzjkOoZwe1CmSq/N7tyWxdayM77hvsG3Zr4bgsQ==, tarball: file:projects/communication-common.tgz} + resolution: {integrity: sha512-sc5Yo633aPaKeB93osm1BvDxZT1OyiLJZuN1ItnFgtAdXvT+zWegqoMhHhxM/1GoLnB6534XcdLFdJxmmJgf6A==, tarball: file:projects/communication-common.tgz} name: '@rush-temp/communication-common' version: 0.0.0 dependencies: @@ -18963,7 +18964,7 @@ packages: dev: false file:projects/communication-email.tgz: - resolution: {integrity: sha512-xRXEkhvXJ87SIsPLCjUr6ud+ZM5mcngwOy4k1vYemoPXeNeGrtT8xa4Xjfj+AcTZqGcSu0KnT7WN0ADTOOWUuA==, tarball: file:projects/communication-email.tgz} + resolution: {integrity: sha512-D13CUlblsMJD8aC/cT3mTzdScvSfvWy25TB2x1QaEryto9C2z7dljtTiDjoz1Ealg0KYWSiOp4Mo3qrVOuIOQw==, tarball: file:projects/communication-email.tgz} name: '@rush-temp/communication-email' version: 0.0.0 dependencies: @@ -19004,7 +19005,7 @@ packages: dev: false file:projects/communication-identity.tgz: - resolution: {integrity: sha512-4uqritVAYrFiioxH1rcq++mNWQawH3Ya+tY9B2qnrQutVUoXDZbOraOzGFb2sLlGhnzMrbtbShIrT28f4urQ2w==, tarball: file:projects/communication-identity.tgz} + resolution: {integrity: sha512-z+MBBl+IbW9YEWr0VGAdLEOaNssDhbjCnMi0F21Y/gaNpT9F3+BUDqmrQWeEZKcKCqDuJ+yHAKJM2uVDA0jh5w==, tarball: file:projects/communication-identity.tgz} name: '@rush-temp/communication-identity' version: 0.0.0 dependencies: @@ -19052,7 +19053,7 @@ packages: dev: false file:projects/communication-job-router-1.tgz: - resolution: {integrity: sha512-Q7ue32A+VikgZLbtUgyCWy6tj5LXwZDPJObBTmqCoWjgZvR7VoPeQsq+v/gmRpfgDEMhi8HQgHhuwDSacc7scw==, tarball: file:projects/communication-job-router-1.tgz} + resolution: {integrity: sha512-4Zrxzq4OXaj8cyD4+81bBTbEkzz3GZ/5Z7z9gCmt+pfqg3Srhp8K2DW3q5dRBA+qVp+41BHgemcYbgd6i3pSdA==, tarball: file:projects/communication-job-router-1.tgz} name: '@rush-temp/communication-job-router-1' version: 0.0.0 dependencies: @@ -19100,7 +19101,7 @@ packages: dev: false file:projects/communication-job-router.tgz: - resolution: {integrity: sha512-klta9bUdKjEnFpgRl+pyiBywhL61h9GHA7JltubD+8jeYvHJGdh8tR7nP8ctKTnHOSlEExiXOiWeBS63ASDuSQ==, tarball: file:projects/communication-job-router.tgz} + resolution: {integrity: sha512-sokqMYxVny5WF+K0xQNX2QXfXpm/HIAYnJhCJvGRg7Dtmw188Opz5FaEbNQJqTE9QR63BLvwPxwl2QhcdjXxhQ==, tarball: file:projects/communication-job-router.tgz} name: '@rush-temp/communication-job-router' version: 0.0.0 dependencies: @@ -19145,7 +19146,7 @@ packages: dev: false file:projects/communication-messages.tgz: - resolution: {integrity: sha512-bkn+U65q9nFSnYE8eLlstXs2qP2MaBaj4gWnQugCP3v+yqFgruH49Qn11wSQbXp4wPQfHZQK27w72xsYimr+ig==, tarball: file:projects/communication-messages.tgz} + resolution: {integrity: sha512-5FcJe41Mudz8/IS2m7PJybNtgtQSs8o3s+MxwqZcqJFtzBgNVSOgf+jHz+sD4x2hmoFoRrwmpBB3+wXqTEjaQw==, tarball: file:projects/communication-messages.tgz} name: '@rush-temp/communication-messages' version: 0.0.0 dependencies: @@ -19190,7 +19191,7 @@ packages: dev: false file:projects/communication-phone-numbers.tgz: - resolution: {integrity: sha512-JyBIVbh2ijFasLIuIo0IMPLyNd+Dr2v4Bl5+9rbh0Ky03HSzpmaU+l6DrYLNxMQe6Q/tE5ulOqy5kLgkITdpVw==, tarball: file:projects/communication-phone-numbers.tgz} + resolution: {integrity: sha512-Blk4AkEcr08EuTm/70Q9gHSSIaUP2USjZ67OseUtfWbCLPl+Nv/lQt8Nx8ko2FLzvLy/Ac7ZhljIasYQWyEEgA==, tarball: file:projects/communication-phone-numbers.tgz} name: '@rush-temp/communication-phone-numbers' version: 0.0.0 dependencies: @@ -19236,7 +19237,7 @@ packages: dev: false file:projects/communication-recipient-verification.tgz: - resolution: {integrity: sha512-iyzED4F1Ik+GblZhhrQVVCwrH8YuQPZ0p9CPZ/CSZHhhLoBeFxb8uvrKzFTTJTBhTIZZW6WynbllbsGU7WmaEQ==, tarball: file:projects/communication-recipient-verification.tgz} + resolution: {integrity: sha512-8mpiZ0/bBqFOYDyyCeAYWtIAIxxfvO8PMTKWGp1UxaN4Uug6d7S5UkemGEgHPXN4vsqe0T6u0Mt/MCUZFCO54A==, tarball: file:projects/communication-recipient-verification.tgz} name: '@rush-temp/communication-recipient-verification' version: 0.0.0 dependencies: @@ -19283,7 +19284,7 @@ packages: dev: false file:projects/communication-rooms.tgz: - resolution: {integrity: sha512-Hnl1LryTZTWTMT/hIKgFiJWa0vEym8WxNWMAr/DyMfUyjv2aEXT/LyqXQRsk7vuoAlfIE4cTvw4/EPbW/kM+uQ==, tarball: file:projects/communication-rooms.tgz} + resolution: {integrity: sha512-Hu1/wYt6JgeyEXDmykDMHA56FQxQcru2ehmExw596bBCb/erO6/C2SB4kCeDQ35aqt6cLcYBk8546gV8AF8KYQ==, tarball: file:projects/communication-rooms.tgz} name: '@rush-temp/communication-rooms' version: 0.0.0 dependencies: @@ -19318,7 +19319,7 @@ packages: dev: false file:projects/communication-short-codes.tgz: - resolution: {integrity: sha512-nn0V5SjYh82u7vuTx2WnEM069Hj+/v2i3njb8HWq/FQqEf7p+fSYttd2KzZ0QrsSrd76Z97zVhS/B8kRC9K/eA==, tarball: file:projects/communication-short-codes.tgz} + resolution: {integrity: sha512-N7gyHOC9iCgWZU6oVmTWqZ/8Rutgi6PBaAC3LK1PTBuTzxOhf/JzbrDQIzjPz30HiUE8UcxuwTvrQsPo0njPnw==, tarball: file:projects/communication-short-codes.tgz} name: '@rush-temp/communication-short-codes' version: 0.0.0 dependencies: @@ -19365,7 +19366,7 @@ packages: dev: false file:projects/communication-sms.tgz: - resolution: {integrity: sha512-hZyEGlHw4xSJazQOWmInKIfJ8fI5o0pPbZoVELotvsLviaAAmlMOleqL9QcSv1FgJyQGiWzuO6kNSHkoLCaJEA==, tarball: file:projects/communication-sms.tgz} + resolution: {integrity: sha512-MSRrfLDHFBDg93Suonv+kjnRRgTckoqXbSt+BjvxbiVYrobfgZeSbdVC7NYgNUhgYUx21AIc3xtTAg1HPgPGaw==, tarball: file:projects/communication-sms.tgz} name: '@rush-temp/communication-sms' version: 0.0.0 dependencies: @@ -19411,7 +19412,7 @@ packages: dev: false file:projects/communication-tiering.tgz: - resolution: {integrity: sha512-2AL9IUANZ+489U+yQsSmb29MF3KABWOmCyic5fpxbceYT69214dg05xnN1MIJ7zeu6HJEHgKLJf0CIIcRPv99w==, tarball: file:projects/communication-tiering.tgz} + resolution: {integrity: sha512-dU2612VMzblJyslu5Dv9cyeulP0W81HJXM1H2Nmo6lQYlbIxajCQnFUBX9BiW/f0WGtRR+R1vODJrgLoIbdXsw==, tarball: file:projects/communication-tiering.tgz} name: '@rush-temp/communication-tiering' version: 0.0.0 dependencies: @@ -19458,7 +19459,7 @@ packages: dev: false file:projects/communication-toll-free-verification.tgz: - resolution: {integrity: sha512-UhvIgPBuDKu+1RxioiHSLtyUQ7c7p+NixOJKPrnynlEm018oPZWrCnOWtXGoTVGvL1Kw+fRldF6OLAYHaeQSJg==, tarball: file:projects/communication-toll-free-verification.tgz} + resolution: {integrity: sha512-Ambimp5suKuebfSdRyVJjisXoHr58EL2Kl3oZjb+YbnoK4G3tt6QRk0FHyFC3/43l09R2Lo8Q840s2KwL6CWWA==, tarball: file:projects/communication-toll-free-verification.tgz} name: '@rush-temp/communication-toll-free-verification' version: 0.0.0 dependencies: @@ -19502,7 +19503,7 @@ packages: dev: false file:projects/confidential-ledger.tgz: - resolution: {integrity: sha512-M0m48BzBGnd0MOmj43UP91bmuHVxg0hPJAwQtFKiR/KWl2gwi1iznqCgqawWwarlRjcYhc9oILcnMEm6/3RWng==, tarball: file:projects/confidential-ledger.tgz} + resolution: {integrity: sha512-Ut50MU+bo4Sg9A2zSxUweR+O54hwTaZrh6JlkPY9T4+A+gb8lnJV3UKCw6YR4AK0RxeN1tgLPbxJUKiFW4xDkA==, tarball: file:projects/confidential-ledger.tgz} name: '@rush-temp/confidential-ledger' version: 0.0.0 dependencies: @@ -19532,7 +19533,7 @@ packages: dev: false file:projects/container-registry.tgz: - resolution: {integrity: sha512-Qy8TPCg6SNZLFu00dOFCCPe6DrUKM5RSAdNFkkCgdN4M6hzW9+MOVjQLb3KJBF+4uij3KdcxUcS50YQolhWuug==, tarball: file:projects/container-registry.tgz} + resolution: {integrity: sha512-TVzF8wfZ9XkRLVQLfhS4QLnR5qqwhIEUGWyetdwcAOL1Ew/C0QfARPJhtBRdr+8WsgY1gD+Vik5kwrh9WXlbMA==, tarball: file:projects/container-registry.tgz} name: '@rush-temp/container-registry' version: 0.0.0 dependencies: @@ -19577,7 +19578,7 @@ packages: dev: false file:projects/core-amqp.tgz: - resolution: {integrity: sha512-YH9Sn/bpoMO2RGgcFoNEKODpSzeekOk4egmdY06ziD6DRqrkAeNWLPAcKCcnO9N2kANNDcyZtXIiNRh9VE2XzA==, tarball: file:projects/core-amqp.tgz} + resolution: {integrity: sha512-6zOn7oCE3NYk9+sT/DFda1fdSa4OzmN6XaJF2zZb2L+3WQ+huO+cN1B8goQwJKVm99jc7E9Kjl4SfBJ7qUBWKg==, tarball: file:projects/core-amqp.tgz} name: '@rush-temp/core-amqp' version: 0.0.0 dependencies: @@ -19623,7 +19624,7 @@ packages: dev: false file:projects/core-auth.tgz: - resolution: {integrity: sha512-bCOyafzGH2z9gBKkzcjSR75mz1NHyYMERMSALiTOJDpeC8FuoGsCDrSOmR9/v+m2I55d6rygWYZk9VnB1q7jIw==, tarball: file:projects/core-auth.tgz} + resolution: {integrity: sha512-2jHUts5dcKEnt+X6MBU+aZe9MYqqoL5RM3rthz7wNMaW8caKbsnRJBa6b0ssWBn9GONdpjlc3TW3UevQSO75Fw==, tarball: file:projects/core-auth.tgz} name: '@rush-temp/core-auth' version: 0.0.0 dependencies: @@ -19655,7 +19656,7 @@ packages: dev: false file:projects/core-client-1.tgz: - resolution: {integrity: sha512-vFG3Xm6fMnllPJx8cckEsmZlTfc33U5U44I/EqT762Ueazm/sjd9XkOTNL3pFyz521bkjd195kDerHz6i1caqg==, tarball: file:projects/core-client-1.tgz} + resolution: {integrity: sha512-/RbXu9ILL43rbtkkPxC7xzA/gaoRE2FHHSHf/bwI3VT9zANOZAQsuYl5d0n+lwYW4Vad8fHxP7d1d7xe13a4eQ==, tarball: file:projects/core-client-1.tgz} name: '@rush-temp/core-client-1' version: 0.0.0 dependencies: @@ -19687,7 +19688,7 @@ packages: dev: false file:projects/core-client.tgz: - resolution: {integrity: sha512-9Y4Hv03ZUSxtVhWnB/7WjSi1hkaOM+KrxsR2j5QNYDFQgw+48tdNqEG85DA2le+mGNkLYD2Dm01gCcZ8tqt/dg==, tarball: file:projects/core-client.tgz} + resolution: {integrity: sha512-yHmavRIV6m8bfVDcpSOg7Q4ClPBzVriudR4lWN8C7c49gdQlyAnLNZoVCSdCTIO50ReoXsUPJ30++ktn2QXPew==, tarball: file:projects/core-client.tgz} name: '@rush-temp/core-client' version: 0.0.0 dependencies: @@ -19719,7 +19720,7 @@ packages: dev: false file:projects/core-http-compat.tgz: - resolution: {integrity: sha512-A7+R5Qx1Mq5u/5Ik5NiAthd1iaJRACoMZRQZra3kLXKbNhnuKBiORudmXWacniG8I3R5oBcATYdTrKdBZePOYA==, tarball: file:projects/core-http-compat.tgz} + resolution: {integrity: sha512-+ylx8gtst4Br/PciJYHYedyWYuZipQTeBTQVSKJIlthFF15rvLC+qWb9efu8r8sRK8m8q4VutW0vLkwZsq1QDw==, tarball: file:projects/core-http-compat.tgz} name: '@rush-temp/core-http-compat' version: 0.0.0 dependencies: @@ -19750,7 +19751,7 @@ packages: dev: false file:projects/core-lro.tgz: - resolution: {integrity: sha512-xNfjfxr11dP/YNkxldpQJXR4ULuN4LX2v9Bg/+/Xqd4A0Feh+c4o59Liofcbq8JRKJx9oM8c1OkJh/qbSb0Dcg==, tarball: file:projects/core-lro.tgz} + resolution: {integrity: sha512-y/TVvGrjbUii7Z0EVLiMJgYERMfr1mMl4iKBCps0DuaxsoV22moL12T5ZIsDwqEOAL/kKJDmBY6pqyNgU46Z6A==, tarball: file:projects/core-lro.tgz} name: '@rush-temp/core-lro' version: 0.0.0 dependencies: @@ -19782,7 +19783,7 @@ packages: dev: false file:projects/core-paging.tgz: - resolution: {integrity: sha512-JDsLQhIMx3gZeamuiAl2GQPTST/XnBwbyGK1qssPbnNiHQLpgW9pvdPixPuDp9hbLRROu1/nAPeN3hLyVDJ3SA==, tarball: file:projects/core-paging.tgz} + resolution: {integrity: sha512-olnU6yyiLN4KfwHZo51n60/ofrHacm8SHiwHtzdT8oxmiKT0b65KIAjwDo0R2/bO4yklcljuigppn09fExJRtg==, tarball: file:projects/core-paging.tgz} name: '@rush-temp/core-paging' version: 0.0.0 dependencies: @@ -19814,7 +19815,7 @@ packages: dev: false file:projects/core-rest-pipeline.tgz: - resolution: {integrity: sha512-4Ldthvl/QZZ2NOY3YcN85PYPZzVRUV8KE9rJgtbsUM5Lx3nv+TXJ8ms/r/FdYBxEalqwgfqR9FeMcLrKldfByA==, tarball: file:projects/core-rest-pipeline.tgz} + resolution: {integrity: sha512-JR+kVww42bMncvfSWGE2wAYwPbrYrTDwTN1E8aEGR+tOXPc/cnnlFu4A6muRyEkTW5MSYpMtmEG6No6nMmcJyQ==, tarball: file:projects/core-rest-pipeline.tgz} name: '@rush-temp/core-rest-pipeline' version: 0.0.0 dependencies: @@ -19848,7 +19849,7 @@ packages: dev: false file:projects/core-sse.tgz: - resolution: {integrity: sha512-q/WK/OEeGAqY9Z1InykYCwTDXlvYwMpuXtcaJf3CRFduO5uTNIAzE6Oow/g+MZj4PScJsb8um0OoA6yEbbcZtw==, tarball: file:projects/core-sse.tgz} + resolution: {integrity: sha512-DrUF1P0l7NtmOD7JTTCJDefaJxaaRTVm8uk0tkvrtAlGhq9zt8b4v+N5cGdOczuf/pnIK1hYQFayR5JI45Q4/w==, tarball: file:projects/core-sse.tgz} name: '@rush-temp/core-sse' version: 0.0.0 dependencies: @@ -19881,7 +19882,7 @@ packages: dev: false file:projects/core-tracing.tgz: - resolution: {integrity: sha512-ZnVM5XObxvdJpujx8hFYgwyujkVN4I/lmFEIYHBHPMIqz9op1ExD3fbWZ24UdS0sjwRVbfA2Iw5oCugAe3YG5g==, tarball: file:projects/core-tracing.tgz} + resolution: {integrity: sha512-U6ADeP6ytcDUCRx8HfzEqgNbj5GNKnrFSRUc2T98avvLzp58Li8KwVbeSkmNBQeSx5sp6+CkAkJOAWpG6soivQ==, tarball: file:projects/core-tracing.tgz} name: '@rush-temp/core-tracing' version: 0.0.0 dependencies: @@ -19913,7 +19914,7 @@ packages: dev: false file:projects/core-util.tgz: - resolution: {integrity: sha512-BEIq8Mts7uMOT797uhwA/DTD2NA/nYRMNaBJ8REjpZi0TXSxiXwVc2snguaPiAWAiLZl0RLtlGxtVlnAEGLbEw==, tarball: file:projects/core-util.tgz} + resolution: {integrity: sha512-eFRLe6IZejZwNUDxBC9JbG5JsrROVa8lLQT9wJepgRc/T6VHsigrHvQMmwHYA9ybp9n2r+uourgLjbryEe2qSQ==, tarball: file:projects/core-util.tgz} name: '@rush-temp/core-util' version: 0.0.0 dependencies: @@ -19945,7 +19946,7 @@ packages: dev: false file:projects/core-xml.tgz: - resolution: {integrity: sha512-7S8nEgU5KmSWmitmBY9gh0xLZHoVS/ixSWHNptOvY93kUj4EDoncE7cDQSwvsTZw4W9B1ydQbw6kyThRL97K1w==, tarball: file:projects/core-xml.tgz} + resolution: {integrity: sha512-G55wb8/1rk0vblDuHVaXdJGDka97QRcINhcimpcpB0vEACFY8BA1kipqe6fOzHTI+YPHHyCEz24/0rf650+tdw==, tarball: file:projects/core-xml.tgz} name: '@rush-temp/core-xml' version: 0.0.0 dependencies: @@ -19979,7 +19980,7 @@ packages: dev: false file:projects/cosmos.tgz: - resolution: {integrity: sha512-k8stQJDSHPXhmgkSNs/ulMJwPPnxXB/w5BgGtOWu9J9M+rjtGoPTiPsuwsNrUHEuz9xvroMdxbKLNJNXiHLu9A==, tarball: file:projects/cosmos.tgz} + resolution: {integrity: sha512-0v1bmTFRgXFJPRDMAZQPfOaYLBR7C71jqvceC2m0mWwR9ljvQKx2bxjAH3a6luieWIP22zOv1ozmYLm5c5coYA==, tarball: file:projects/cosmos.tgz} name: '@rush-temp/cosmos' version: 0.0.0 dependencies: @@ -20020,7 +20021,7 @@ packages: dev: false file:projects/data-tables.tgz: - resolution: {integrity: sha512-u5oqhA0j9Jw6vMUVntv72ZZkCudLYAaBulp6PIT9RSv14NumLHGLyREQnGDAXBXqmbe9+Vz4czFSwVtatqK4ng==, tarball: file:projects/data-tables.tgz} + resolution: {integrity: sha512-gy8athc1GjMM8SXSFbd/T97YL32IqLca+oEKELuftNQgXbdBcPqhXVZhLB1lsuKOdCvdw48N0MZWkitpAVC4Ag==, tarball: file:projects/data-tables.tgz} name: '@rush-temp/data-tables' version: 0.0.0 dependencies: @@ -20064,7 +20065,7 @@ packages: dev: false file:projects/defender-easm.tgz: - resolution: {integrity: sha512-o5DbhNz+IhKlcyejPVDXxvbYCVRV4MbYLR8iy+T2GJcnbtzj6ItonNv9UHUSBxdykBbFKdBSahgL5RZNyZ+o/g==, tarball: file:projects/defender-easm.tgz} + resolution: {integrity: sha512-3tDPav1BNGHWZC3iq29Shix/tC94el7P/kvaoROponvav7SVw00sNIt6D2Qu05uh05zohWkshB2LLPQ37bBxSA==, tarball: file:projects/defender-easm.tgz} name: '@rush-temp/defender-easm' version: 0.0.0 dependencies: @@ -20111,7 +20112,7 @@ packages: dev: false file:projects/dev-tool.tgz: - resolution: {integrity: sha512-mf1EMMPr+3cw+PHiJF9hmKT/H5T6Xi5lwY7NG+UWQGabk7qPuduoRwkQpG207CwH56Yrs1pan2Qs9AGWI1s+JA==, tarball: file:projects/dev-tool.tgz} + resolution: {integrity: sha512-Xef6yFTzkzY5FP/Q6/WfIxVXCW8Dn+le7XOCIXXnMxFNHI18pWKGWZQuvhH8kHO/dkyA2s7npvIVKW4PKas5gg==, tarball: file:projects/dev-tool.tgz} name: '@rush-temp/dev-tool' version: 0.0.0 dependencies: @@ -20178,7 +20179,7 @@ packages: dev: false file:projects/developer-devcenter.tgz: - resolution: {integrity: sha512-4z+opZKRojUiqm+wZuHN/9doh7MIKVD82NND6jhIktQcRhdtstrb5WKeJ4i3A/PVAWaN+925xo7Wze6NRG69cQ==, tarball: file:projects/developer-devcenter.tgz} + resolution: {integrity: sha512-GRggBbkEYxUauKL7c2WOu0k0DltSraNra0WVXMxu44EV993MdVz03SGBz9TyJDHh0hqNaAqo1rnxsQEm7vLTyg==, tarball: file:projects/developer-devcenter.tgz} name: '@rush-temp/developer-devcenter' version: 0.0.0 dependencies: @@ -20216,7 +20217,7 @@ packages: dev: false file:projects/digital-twins-core.tgz: - resolution: {integrity: sha512-PJUP7UgpEbZGTQ2O+RmNmdnzVDBCNVeeTIcIVPZdlt5X+x9GLI7AtGmy+Ne0szQ5mY/4OYVndrQtbVf2QXGjJA==, tarball: file:projects/digital-twins-core.tgz} + resolution: {integrity: sha512-rSgOH3WBvx7so7vtqYJXGpZtGY71AVPK4c5+KST8HR6/jNKWnG6+FExO7iO1063PAXwqXcGroTUlIwY+ZSILmg==, tarball: file:projects/digital-twins-core.tgz} name: '@rush-temp/digital-twins-core' version: 0.0.0 dependencies: @@ -20262,7 +20263,7 @@ packages: dev: false file:projects/eslint-plugin-azure-sdk-helper.tgz: - resolution: {integrity: sha512-YNm4dOiFi5b2OA2uLhpdFeM3VuyTgLz+wFL+hUyOXTBMg0D1hXpPGuxT+YiJnIg4eUfYn2YDx0BU35osi+8MIw==, tarball: file:projects/eslint-plugin-azure-sdk-helper.tgz} + resolution: {integrity: sha512-rpTPt1u9NIi8WT2oJjXuT+Q5gqfrQlOxhV6uGOPkOAMhj077WgQODUF0n06xuD2kcmkAXrzZAG+EJRyRIVhmlQ==, tarball: file:projects/eslint-plugin-azure-sdk-helper.tgz} name: '@rush-temp/eslint-plugin-azure-sdk-helper' version: 0.0.0 dependencies: @@ -20290,7 +20291,7 @@ packages: dev: false file:projects/eslint-plugin-azure-sdk.tgz: - resolution: {integrity: sha512-BgVEKs0EbFkVaVrCicDVSGVZxlK9maiTJY1nwpAmjVt7sihfBcMRAnwl3jGUXvLQtwsoXELm3RXnfWoHvFflzg==, tarball: file:projects/eslint-plugin-azure-sdk.tgz} + resolution: {integrity: sha512-obbVlbeaaeJiIFryOwAusinuQBblkSABG3gXuW1/nqlGslb4tdk5F8wUHy0B1YMSDGN1tH/hgjtsXHG5C6kN9A==, tarball: file:projects/eslint-plugin-azure-sdk.tgz} name: '@rush-temp/eslint-plugin-azure-sdk' version: 0.0.0 dependencies: @@ -20340,7 +20341,7 @@ packages: dev: false file:projects/event-hubs.tgz: - resolution: {integrity: sha512-PpKO2F0cVbAVmlibkwgzGv7LAJybNpc54lujfc8vgMw5RU1hNDPjaeOIj+P/Aa89+63EO23YxwRa86vWvTW9dw==, tarball: file:projects/event-hubs.tgz} + resolution: {integrity: sha512-mqaUvspYjI39cRH2RmYrcdoQn1iuukp9jA99HUktWUo36N2kg71xY9WAoXqvqYRq+e6BCgK4bBTN+QSdGXoCsA==, tarball: file:projects/event-hubs.tgz} name: '@rush-temp/event-hubs' version: 0.0.0 dependencies: @@ -20400,7 +20401,7 @@ packages: dev: false file:projects/eventgrid-namespaces.tgz: - resolution: {integrity: sha512-oiAWRRrmoR318AbKUXkaM+AW7To7EFZf05Wp4V8YwEcQy7LYB90eocuN7mC1EuYRW13TepAqcXQVPgfU7KQFVg==, tarball: file:projects/eventgrid-namespaces.tgz} + resolution: {integrity: sha512-6FHPXRSxkd2/Fh9+Bng4fN1qa444kTwMwKyD/l1KZiinlOYPXYWM5RIv1sSu46x5x64m7HD/kL0bfPqHB0Ul8w==, tarball: file:projects/eventgrid-namespaces.tgz} name: '@rush-temp/eventgrid-namespaces' version: 0.0.0 dependencies: @@ -20447,7 +20448,7 @@ packages: dev: false file:projects/eventgrid.tgz: - resolution: {integrity: sha512-7shUAEcQDMj67CrgI4QjwcXp5+eOrVvZUZ6vlz057PfpLWBwR7wwkMk7d9K34QWHyP+TT8kNUdmx2NfLMvWjaQ==, tarball: file:projects/eventgrid.tgz} + resolution: {integrity: sha512-v1UvBWcby0gwLiwBXSIMOZep3JZZ3kjxfIrwOpW45agBs9Nl08f8GLA34bnYRS6TpGY/nIPTN0fVCBUj+IU8MQ==, tarball: file:projects/eventgrid.tgz} name: '@rush-temp/eventgrid' version: 0.0.0 dependencies: @@ -20490,7 +20491,7 @@ packages: dev: false file:projects/eventhubs-checkpointstore-blob.tgz: - resolution: {integrity: sha512-gYOpBSzMBs/wUWGwU9ze5PTN+2Iz66I1Cplmz4PZ1tPyEx6QZRVc3gZabi2vfiGY8EEJM/zsOtmcxdTY57WejA==, tarball: file:projects/eventhubs-checkpointstore-blob.tgz} + resolution: {integrity: sha512-M+p6/rXzuCFLHAR5nGfvEDTn8znmr+2HQIWTSHVreJWIZu3wtCUeNHELFTQl4cmRw1pJFdE/94rH8BNmv2yk8w==, tarball: file:projects/eventhubs-checkpointstore-blob.tgz} name: '@rush-temp/eventhubs-checkpointstore-blob' version: 0.0.0 dependencies: @@ -20539,7 +20540,7 @@ packages: dev: false file:projects/eventhubs-checkpointstore-table.tgz: - resolution: {integrity: sha512-fDjdl55fWeyQcCEjqJAAAJdefgTioeDwLK9uWdQHdFPBBlYFPfgOBkd5+SwSU0MXItniMhYsfl+WcIVmPayL7Q==, tarball: file:projects/eventhubs-checkpointstore-table.tgz} + resolution: {integrity: sha512-YrNAGcbEHO/3iYMoX2Pr8lxgfx53Ggel7ub3N105kO0R2xTmS3z79ygC+wz9LpgQdPy7UtGgJEdiVQOJ99GDzw==, tarball: file:projects/eventhubs-checkpointstore-table.tgz} name: '@rush-temp/eventhubs-checkpointstore-table' version: 0.0.0 dependencies: @@ -20585,7 +20586,7 @@ packages: dev: false file:projects/functions-authentication-events.tgz: - resolution: {integrity: sha512-EBHC9eBFDkiTeu6Z+7AIxNE0TL6kjyQY4hGULO1CWsDF10RHW2+fDdb/OJ+zJQz/oVkShyMx/yzf2Ezt7AHfKg==, tarball: file:projects/functions-authentication-events.tgz} + resolution: {integrity: sha512-4mFhWOZES5SUB/2diTQQPQHRdO988Ns5UnRNV5r8disbYVg660Dd5X3Xq66Ry55mK2Bt0sfz1qOH9AHfkIOblw==, tarball: file:projects/functions-authentication-events.tgz} name: '@rush-temp/functions-authentication-events' version: 0.0.0 dependencies: @@ -20630,7 +20631,7 @@ packages: dev: false file:projects/health-insights-cancerprofiling.tgz: - resolution: {integrity: sha512-knSmGvR2vrh2PC6vk+0kTQ3FRRmD31neBGDCABqATHfI+NKzAY1KUJ6iBd4syBA9upFFkBRjYOT74l3P9tCASw==, tarball: file:projects/health-insights-cancerprofiling.tgz} + resolution: {integrity: sha512-288H2dapTauMnvVvXaD3DjwWR0zP6W/s/C8KiAZ5a+C1pf+ykPzQXZ0sl5E+0oj5P4AHkTiE1Nz2VbSPYRBzmw==, tarball: file:projects/health-insights-cancerprofiling.tgz} name: '@rush-temp/health-insights-cancerprofiling' version: 0.0.0 dependencies: @@ -20677,7 +20678,7 @@ packages: dev: false file:projects/health-insights-clinicalmatching.tgz: - resolution: {integrity: sha512-ikoz79TFUl/5jnayf0QfpcN6DfPm1LTsPgiIGoHklWAfV7OComuUkvYdhVEuZ8222CPNC1IPpn7C5z4noWS8qw==, tarball: file:projects/health-insights-clinicalmatching.tgz} + resolution: {integrity: sha512-RLEY5FsCQo/L6FJDqOZEuc25wMPACvXA3He6z5a2F/XDXJ1qB/Q7LQ2nZO2stf0dTXYCb1HIyP/xNIubhM1EEg==, tarball: file:projects/health-insights-clinicalmatching.tgz} name: '@rush-temp/health-insights-clinicalmatching' version: 0.0.0 dependencies: @@ -20724,7 +20725,7 @@ packages: dev: false file:projects/health-insights-radiologyinsights.tgz: - resolution: {integrity: sha512-xAM2kqKp9eRjzuQV4Obk+hv02S1J/DHcxuTLipVVPUSYsGU7neDsoxlhre/XmxAei7GhKj8mW1MeULxae54+fw==, tarball: file:projects/health-insights-radiologyinsights.tgz} + resolution: {integrity: sha512-y6flqr0Wkug13wsvIqyVnZqI54GZXtYQSmUT+ABT25Swnp98+h//aSe8WKoVI6OH3dyPrBfv6WfaUA06huxS/g==, tarball: file:projects/health-insights-radiologyinsights.tgz} name: '@rush-temp/health-insights-radiologyinsights' version: 0.0.0 dependencies: @@ -20771,7 +20772,7 @@ packages: dev: false file:projects/identity-broker.tgz: - resolution: {integrity: sha512-57sXv2WiScpT3AbpWmzAzUjdtGy63ukxyB0m4iS8K6R21n8o0+KXZU7siFFV7hRldzj2xUxYMMpgdedI0yrCXg==, tarball: file:projects/identity-broker.tgz} + resolution: {integrity: sha512-tsHuwfE3D/j446P8b5L9clN8QIamS8ilfn4nyHklU/DKRLeyzaqDyAgZ4HKsChBBXHIoEjLn3KI53u8ZnfnQmg==, tarball: file:projects/identity-broker.tgz} name: '@rush-temp/identity-broker' version: 0.0.0 dependencies: @@ -20799,7 +20800,7 @@ packages: dev: false file:projects/identity-cache-persistence.tgz: - resolution: {integrity: sha512-4d18eroBNxUQK0rIm4Hr+jf72gFG/Z2qtApwp+a0wqxR0GANOHZzm2W59mZg7bDIXqFTXYboB1jJ8lSc8tIOQw==, tarball: file:projects/identity-cache-persistence.tgz} + resolution: {integrity: sha512-2G9g3YR5pYi1MUour7OL2JV4u/AH2T3omZCaKA+IKr0AKQ71dM0jCof85MbC/l+dPOStytLq08M1U/46KBzbIw==, tarball: file:projects/identity-cache-persistence.tgz} name: '@rush-temp/identity-cache-persistence' version: 0.0.0 dependencies: @@ -20835,7 +20836,7 @@ packages: dev: false file:projects/identity-vscode.tgz: - resolution: {integrity: sha512-+bunzAGa/7EawRgBUQXKh92PeI0vIVxGaQW+lWZ5IMc+oDjGmlG2Ei/EIgkAW9jzJVhckCwk2/D7frXysJIYig==, tarball: file:projects/identity-vscode.tgz} + resolution: {integrity: sha512-IGrhmoRUb2ZhgG/m2deIfPIUSrehNpuyNwWRdOm8ims7ain7PQgpy9CSPMIcsq49LzRCllq9y9NcQ+D7fsHHZw==, tarball: file:projects/identity-vscode.tgz} name: '@rush-temp/identity-vscode' version: 0.0.0 dependencies: @@ -20870,7 +20871,7 @@ packages: dev: false file:projects/identity.tgz: - resolution: {integrity: sha512-u1dbgoew26XEWD36lWOTrU9z1fEV4bdc+pqGBG6ACxWJKXnWhxJH6WjdBsSFxI3SYtd8zcudAexxSdy+B0EOuQ==, tarball: file:projects/identity.tgz} + resolution: {integrity: sha512-hByUR/HYHlfBSNb+6QYjcOuIxsu1J1jbdR7YRiSdbXIZfjQ9ovVR5MaEwYVI5no6azfCiiBcEHdnVtn/rVx8Aw==, tarball: file:projects/identity.tgz} name: '@rush-temp/identity' version: 0.0.0 dependencies: @@ -20927,7 +20928,7 @@ packages: dev: false file:projects/iot-device-update.tgz: - resolution: {integrity: sha512-y8igara0nPLv+Svp/d4sVOePSqCMhQ4D4ls+qvYe7PK/dnKa0KHMLpD1mOOxck8cHng/0k4oxysdMlJKLp/JFA==, tarball: file:projects/iot-device-update.tgz} + resolution: {integrity: sha512-aLWF455OqyXe4AEKo503tZcquAANip3wKtTHmt218aCDpiH6yU9zVMO+fDGguF8y6wOTEajliTKG5YZgr8/aQQ==, tarball: file:projects/iot-device-update.tgz} name: '@rush-temp/iot-device-update' version: 0.0.0 dependencies: @@ -20974,7 +20975,7 @@ packages: dev: false file:projects/iot-modelsrepository.tgz: - resolution: {integrity: sha512-Z3r0s0MPewb2f8rUylf2xeUBdiM5MK9AFevBkBU/9z99pUjZyh1kvAk9zj0TQbHEJpuaGAw6fdFxvaZd0ye4gw==, tarball: file:projects/iot-modelsrepository.tgz} + resolution: {integrity: sha512-Mj6YTGX+Prxqr38w409U9syJ9cjHNcGTPFA41c21gposz3Sy25mD9hx/wwBFX4U1GsL5Jqub2g8aVyjtyd/IZg==, tarball: file:projects/iot-modelsrepository.tgz} name: '@rush-temp/iot-modelsrepository' version: 0.0.0 dependencies: @@ -21018,7 +21019,7 @@ packages: dev: false file:projects/keyvault-admin.tgz: - resolution: {integrity: sha512-vONPnewx6q8BuPkbnPduyYeHlChDqYqJO70vANam6CsFMN4zAyHWuHRCe7PchtOSgx0vzkl/YvG09kl2V7zuZA==, tarball: file:projects/keyvault-admin.tgz} + resolution: {integrity: sha512-WCiJvP3In04vn6vdmkeDvCYcJ9/Ze4JCmcc3ALCi1EMXt9/ZS7KDOBIY/f0mvvBlX+6Mo0jJrIrEBVedJNoISw==, tarball: file:projects/keyvault-admin.tgz} name: '@rush-temp/keyvault-admin' version: 0.0.0 dependencies: @@ -21051,7 +21052,7 @@ packages: dev: false file:projects/keyvault-certificates.tgz: - resolution: {integrity: sha512-Qwd98s2iMN4ZDxh8XLsert9imux/RrQnUV1NVwzxAaNd7K6dvhZOcOgsZrJQ/rSOkyM9/sVldVGEY/thRFecLw==, tarball: file:projects/keyvault-certificates.tgz} + resolution: {integrity: sha512-S23dQdwK1jnJwX1XoGiLrntDpG1kJRsPeXvbWo9WEZhOll+1zYWqGGDGj4trhDsIgDjBI+9zLDFSi/E1zg5jbw==, tarball: file:projects/keyvault-certificates.tgz} name: '@rush-temp/keyvault-certificates' version: 0.0.0 dependencies: @@ -21097,7 +21098,7 @@ packages: dev: false file:projects/keyvault-common.tgz: - resolution: {integrity: sha512-HZlDlQ+CmWc57EMgQAnEVW6T0KCD1aB0F26iV62uWvFFfGtPgNeT5H0f8YGTt64qnyWjVKcSch5RRReLmFY4GA==, tarball: file:projects/keyvault-common.tgz} + resolution: {integrity: sha512-qUpo5LZ1iwi7FQf6Qq0xYShwVlUb01cXDQ0jskosTo96ckDRMiX6G9edfJT8WgB2472yPcRa0XHshz6qwbasUA==, tarball: file:projects/keyvault-common.tgz} name: '@rush-temp/keyvault-common' version: 0.0.0 dependencies: @@ -21125,7 +21126,7 @@ packages: dev: false file:projects/keyvault-keys.tgz: - resolution: {integrity: sha512-aS1vKYQKlF2GV2cfqHc1H2/k3VoGwG1E/lTr5W/K91RgiyX2B3pRx2h3Ti7LIKRYvCiEEiMPk0jB+p0RuRVHoA==, tarball: file:projects/keyvault-keys.tgz} + resolution: {integrity: sha512-H3cD63NehEEMN5/3s3Jvf2SBccKPUYojw6Xz02NboizdtyksVK6rjGUgXxCSuLUnF49tqHdT4Jt41m8icLEYNg==, tarball: file:projects/keyvault-keys.tgz} name: '@rush-temp/keyvault-keys' version: 0.0.0 dependencies: @@ -21172,7 +21173,7 @@ packages: dev: false file:projects/keyvault-secrets.tgz: - resolution: {integrity: sha512-z6heC9EfNP0bWwSpepGq5HGqDkmDNBlekUq/6tEHK3EnjyJiUJHTHecq3gjY1BNt0H6c5HkKiu09x4LGtwAtew==, tarball: file:projects/keyvault-secrets.tgz} + resolution: {integrity: sha512-agHy9pw+tLm0Tpepc9C2TLz+IStKOHE8tOvHN88mDWl5beuZGRslN/jsfaog4bkeTRganPYOZqLBaLsg3/auHA==, tarball: file:projects/keyvault-secrets.tgz} name: '@rush-temp/keyvault-secrets' version: 0.0.0 dependencies: @@ -21216,7 +21217,7 @@ packages: dev: false file:projects/load-testing.tgz: - resolution: {integrity: sha512-6V0S3pIyGB+gIDspR+XRRlf8pRE5pi5HHGL29serWXBPDGM8D17jBuSQjwUvchKURVRy0VJad/sAnvtrqrzrzg==, tarball: file:projects/load-testing.tgz} + resolution: {integrity: sha512-cr2hScfeQgVdRAGOZcg1M9J7yX/6xehSxOEAxWsT+cVngt4TNdhYQUPtiN1oKuTKm9PswgXar0DQPrOJxtdKCQ==, tarball: file:projects/load-testing.tgz} name: '@rush-temp/load-testing' version: 0.0.0 dependencies: @@ -21265,7 +21266,7 @@ packages: dev: false file:projects/logger.tgz: - resolution: {integrity: sha512-DXdgDzzwRLpM45GbytE0xo7X2nzZEMBB4fXm6sQdzhx/oqi24eMMVOdHnXZ3UtgoOaHTKni5cgnEaW7ySJQxQQ==, tarball: file:projects/logger.tgz} + resolution: {integrity: sha512-wUuLbeDFqwh0hlDLDLsgXWTp0Z7UBbV23hPR/iw4e2RcSkQDF4MqJrUYkm7hNIuLkgUfiJU+OAXWySbftzu0Ig==, tarball: file:projects/logger.tgz} name: '@rush-temp/logger' version: 0.0.0 dependencies: @@ -21298,7 +21299,7 @@ packages: dev: false file:projects/maps-common.tgz: - resolution: {integrity: sha512-C0UH1u82g5SVN6aUh9HpbrTEV4yg+LR3zGsgGq+5DOlDQ7rLz2tyaKCf1hT13B5+xlko38jYB2sguwE8kAMs7w==, tarball: file:projects/maps-common.tgz} + resolution: {integrity: sha512-AQCdfMgx3/Vv0dlAhhnYTyIojwZlQr3joRLHxJB93H/fdUG4IFwvZggRjos0ckEzURgZjHQIwHFZwibS3S+G+g==, tarball: file:projects/maps-common.tgz} name: '@rush-temp/maps-common' version: 0.0.0 dependencies: @@ -21317,7 +21318,7 @@ packages: dev: false file:projects/maps-geolocation.tgz: - resolution: {integrity: sha512-+GGM8Da7UTLzmFpgdpBJNyRR8zf6kkYU/P+upwTKKPW4HSPTYTHJzv2F+AWSSNHCTHbEWukJItbmI9tAGMPP+g==, tarball: file:projects/maps-geolocation.tgz} + resolution: {integrity: sha512-Vm5Xi0fjf0xWw/Pthatr5dyiRt3z8+2b94gkiXFovEVfHEw9GE/mK72GGfi0EbzM1FTEoi4Y/exce+xLalTXAw==, tarball: file:projects/maps-geolocation.tgz} name: '@rush-temp/maps-geolocation' version: 0.0.0 dependencies: @@ -21363,7 +21364,7 @@ packages: dev: false file:projects/maps-render.tgz: - resolution: {integrity: sha512-v6aRlzZOvEjMpc4gkHkN5gAEzZCbb97P4Hc+icaPTPjqWFiKMKKTnhkvL0KtWfxBhfhYtTpVIb9yVlDG+VKJEQ==, tarball: file:projects/maps-render.tgz} + resolution: {integrity: sha512-+tq/A1pRzI6g2fcoVGFf4jGjoHEIDUX9LuOK4083oiPQ1roC7fFiGyhQaPmcbtpxPRQWT0KDfimXW3PWV5riFA==, tarball: file:projects/maps-render.tgz} name: '@rush-temp/maps-render' version: 0.0.0 dependencies: @@ -21409,7 +21410,7 @@ packages: dev: false file:projects/maps-route.tgz: - resolution: {integrity: sha512-f9kfTahoWAyKRaF4L8SKN3HUuHvSCaj+8IsSd/IpuuJ02PnDGBvLGdIxlgXEQCq4mia4mRTFIr6OoeYijp1gKg==, tarball: file:projects/maps-route.tgz} + resolution: {integrity: sha512-j6DD5KKmszXmTFhDqaKq6hDAWqtE6R1TON8TvF29nNSB0d0SCmAgyX/rJ5+bs615v7+wAL6/Hf35Ecg5KBZt7A==, tarball: file:projects/maps-route.tgz} name: '@rush-temp/maps-route' version: 0.0.0 dependencies: @@ -21456,7 +21457,7 @@ packages: dev: false file:projects/maps-search.tgz: - resolution: {integrity: sha512-4fwjw3YuPIQGvLdzaAPAbtkMHG4zkZ1lO2N+dVAXgOHYpABOELJaLfOBuFdy1jkuaysZEzd57ZbvxY/xU4VVMw==, tarball: file:projects/maps-search.tgz} + resolution: {integrity: sha512-7bpzMAvBQnyBwmflWrakVxhggSwFrhkR9+KmnLTa54w+l/Kk16Tf2NIv80TwaX/Waudp0amU1wz6bXAwUjl3cw==, tarball: file:projects/maps-search.tgz} name: '@rush-temp/maps-search' version: 0.0.0 dependencies: @@ -21503,7 +21504,7 @@ packages: dev: false file:projects/mixed-reality-authentication.tgz: - resolution: {integrity: sha512-xr6cEWU7r4iiDGpHx7qlntr8DF7G4y9SzSC0dVANd4KOIBuUQJc769wGoAFJJk+kZjpuE9ooAj//C9uV2FW7MA==, tarball: file:projects/mixed-reality-authentication.tgz} + resolution: {integrity: sha512-no5+L3eIuY6tuBpXwmnhEkVFcLcrz6I16PnheCRki3VmGKpUOlNV1BHT8f3cd9Oly7air1Typgc54Fc7tAw2nA==, tarball: file:projects/mixed-reality-authentication.tgz} name: '@rush-temp/mixed-reality-authentication' version: 0.0.0 dependencies: @@ -21546,7 +21547,7 @@ packages: dev: false file:projects/mixed-reality-remote-rendering.tgz: - resolution: {integrity: sha512-N27o70P/K3PKkRMvzfLRMEdA4PbiyZWKSJpT3+yiVs4qChH+UtljaLAQwaFeHXqQ/UoG3y6igQruvSnAbJAlkA==, tarball: file:projects/mixed-reality-remote-rendering.tgz} + resolution: {integrity: sha512-dhjLeKoVTB8SwN5a2jvZXDNI57wZyva66dPPrWY/s5UC8nXg9z4nsDYW7GP56qY+I8h9HXsSC43mFycIjw/dEg==, tarball: file:projects/mixed-reality-remote-rendering.tgz} name: '@rush-temp/mixed-reality-remote-rendering' version: 0.0.0 dependencies: @@ -21594,7 +21595,7 @@ packages: dev: false file:projects/mock-hub.tgz: - resolution: {integrity: sha512-2u15yJgthiFRvamHInxtcoPhxPynLh1lNdXF95NDdXlt4Eoqn1RumKuzrSX/PzIQEVU+OUrNAi9EmktTV395/A==, tarball: file:projects/mock-hub.tgz} + resolution: {integrity: sha512-HdkufUS5H4Ypr/1+cJ8EQcD9C30Jir9slYsZjgs9wCBhPHBtn8wOer0XDhSTJ4W4JnuR2XE3zc5JyHGeRZ2HKA==, tarball: file:projects/mock-hub.tgz} name: '@rush-temp/mock-hub' version: 0.0.0 dependencies: @@ -21614,7 +21615,7 @@ packages: dev: false file:projects/monitor-ingestion.tgz: - resolution: {integrity: sha512-fL3tQObZwLkNWleudftXuNCTXkiQN9BlzFvrqCaWJ9Jhs1fu5SrVLqUF+xZal1RgAqIqgAfPU4tgM688LnLd7A==, tarball: file:projects/monitor-ingestion.tgz} + resolution: {integrity: sha512-71XPUWsMg3wyJysCxcZmGn4dIaq57JdD4D8E1VBKBhmkVF0VwZ1r7ExZ3dtry0fKdoGY4MzcCH8jNpiAGIuHow==, tarball: file:projects/monitor-ingestion.tgz} name: '@rush-temp/monitor-ingestion' version: 0.0.0 dependencies: @@ -21663,7 +21664,7 @@ packages: dev: false file:projects/monitor-opentelemetry-exporter.tgz: - resolution: {integrity: sha512-RBEpLP5B1aAAf4iTK9r4N6g77n24F4zeaVZ0z9E6PFacbszFJ3h9I08r+w7KjSPKITOquC0+otdOJw2j/zsxvw==, tarball: file:projects/monitor-opentelemetry-exporter.tgz} + resolution: {integrity: sha512-iie/rpe9LvtyvBe5k+GaiVbKLqF3yO0+teFYtkSZteiXveFT/6MDpCyJn4R4a1+rvWAV+/6BrRezi7Lr5o56zA==, tarball: file:projects/monitor-opentelemetry-exporter.tgz} name: '@rush-temp/monitor-opentelemetry-exporter' version: 0.0.0 dependencies: @@ -21698,7 +21699,7 @@ packages: dev: false file:projects/monitor-opentelemetry.tgz: - resolution: {integrity: sha512-h+uhqPeVXpFWuwP2hECZ/VtNUBMda9US9itPi481shpCIS9lIXaTElGhR6+cdiasEfBgjOn5OW1jRks01yP2vw==, tarball: file:projects/monitor-opentelemetry.tgz} + resolution: {integrity: sha512-GsO6DeOxamDDxLohJX/Yaqdwm3R0YtMJaJAn3HS+AP2bcqWhCl/g4uq6lOh6WeNFNeKSaVM1izJTSXmjCdc/TA==, tarball: file:projects/monitor-opentelemetry.tgz} name: '@rush-temp/monitor-opentelemetry' version: 0.0.0 dependencies: @@ -21746,7 +21747,7 @@ packages: dev: false file:projects/monitor-query.tgz: - resolution: {integrity: sha512-HbWJ6LVOP5aHHrp0Ve4YP6TJ1sbzFMenebQu2Uy1OlsxjjxfZr0FbSj20aHxliyVxMGhMN107PL9YeoLqExrYQ==, tarball: file:projects/monitor-query.tgz} + resolution: {integrity: sha512-J/R5iGViGOeLIG0E1dTE8IHbzqXlfYF61wQUF2n7DEw7hwfM5x0Og2TPxF4sED+NgMBlYuedpxxQkVRx1Sb0eA==, tarball: file:projects/monitor-query.tgz} name: '@rush-temp/monitor-query' version: 0.0.0 dependencies: @@ -21791,7 +21792,7 @@ packages: dev: false file:projects/notification-hubs.tgz: - resolution: {integrity: sha512-VNk6zld7/oXfKhhFjUhDzBuspNUuYcbRRgewl8i/i/8UPWGgjvlqo9PLlm4/HvOKfdCFpSeYM/iAkxZosIC1Dg==, tarball: file:projects/notification-hubs.tgz} + resolution: {integrity: sha512-95O/bVHpvyMqV8yRtAWbqJbZU81KlQiQeT1EpLbV0bDZgz+xsZfHx5zBv77SwgUp8zwcT4Cu8iVq5PK50mSQHQ==, tarball: file:projects/notification-hubs.tgz} name: '@rush-temp/notification-hubs' version: 0.0.0 dependencies: @@ -21825,7 +21826,7 @@ packages: dev: false file:projects/openai-1.tgz: - resolution: {integrity: sha512-/hEWC93Y6dGctnxyu7/GluD2agiwmTNkPA3VqRdb59ocDjHt93+5RXdTWrVl3kFWgk1vzbf/4tgnG3M936ScvQ==, tarball: file:projects/openai-1.tgz} + resolution: {integrity: sha512-HX1Au1r6w5Y7cjcWqQmxe9iXgNvlFncM8w52xZt5l18mOqenpc8GWnauBGG2uFzCOJgjzOtmD1hILq5deq3WiQ==, tarball: file:projects/openai-1.tgz} name: '@rush-temp/openai-1' version: 0.0.0 dependencies: @@ -21870,7 +21871,7 @@ packages: dev: false file:projects/openai-assistants.tgz: - resolution: {integrity: sha512-HHjJ5/7nk0PjHl396f+p6z0wjxj4uT7/y0fgFnDn+/zt7UYZ5SAgH3p+hpPBbCWvLdw1JwRoks29LsOtTjDxQA==, tarball: file:projects/openai-assistants.tgz} + resolution: {integrity: sha512-wy+4izUGCLqL3oOVK5YwSrO/s8Hz2iRGEaQCOCsHlo6MfHw9K1wvZrqoVJh8jUtzygqZb8aygHLrHOZhtEeU6Q==, tarball: file:projects/openai-assistants.tgz} name: '@rush-temp/openai-assistants' version: 0.0.0 dependencies: @@ -21913,7 +21914,7 @@ packages: dev: false file:projects/openai.tgz: - resolution: {integrity: sha512-cokO7nL3WDl/VR3sTwekw0uMmjIjAIhpKruJjOkH5usVY3Hdaf+DKXY8PMTK3v8HuyGk8gulKTXofnQ0DxV2BQ==, tarball: file:projects/openai.tgz} + resolution: {integrity: sha512-e4pnCjShYvb0POzp1ehbHeltH9nSgLS8h2uBIaV1g8Fb+XFzgKMOS3WRn4Y6CsM9dIccAcUQ/InvnX1L3SL8bg==, tarball: file:projects/openai.tgz} name: '@rush-temp/openai' version: 0.0.0 dependencies: @@ -21935,7 +21936,7 @@ packages: dev: false file:projects/opentelemetry-instrumentation-azure-sdk.tgz: - resolution: {integrity: sha512-JZIZCjOmPbiKTkvQF7JtUNfbomWa6GE4a9ot6hvFA8PQmwN3WPb+0u7iEPt/rMIAASE+a6JkgHchQ+Q4PgOujA==, tarball: file:projects/opentelemetry-instrumentation-azure-sdk.tgz} + resolution: {integrity: sha512-vSVMVXdzHUQm/Ie+sV7/GgYfpw/co4bYdoyUd2I/IlRnm3VEMcMq8qnwU6SeWfYHvJBcGyPFh0/lI/hIY4hI7A==, tarball: file:projects/opentelemetry-instrumentation-azure-sdk.tgz} name: '@rush-temp/opentelemetry-instrumentation-azure-sdk' version: 0.0.0 dependencies: @@ -21979,7 +21980,7 @@ packages: dev: false file:projects/perf-ai-form-recognizer.tgz: - resolution: {integrity: sha512-ZEtTPnvyzdglFoCqn01JTvsOb325W4uINZxdHD/WxSin4L7mF4BmDYIYW1g0h0BDh4jRxqHTDn8beKxvVTMDhw==, tarball: file:projects/perf-ai-form-recognizer.tgz} + resolution: {integrity: sha512-jJ9yUz/wkp5aCq/JdNw9nQceFCSFZ4ZIrtO8Z1qUB9a5K4OCfYxX2L7xMFVFuwZG4ui0JKiBMzCQvpa/b5KlXw==, tarball: file:projects/perf-ai-form-recognizer.tgz} name: '@rush-temp/perf-ai-form-recognizer' version: 0.0.0 dependencies: @@ -21998,7 +21999,7 @@ packages: dev: false file:projects/perf-ai-language-text.tgz: - resolution: {integrity: sha512-FOyZLxDpzMeSUgh+by2vxRJy7A99mTEyeJrSx9UU4XMzjs+HxmRen4e/g+uPAu6Xy5PxrNz65Gc1deZ+EaBzxQ==, tarball: file:projects/perf-ai-language-text.tgz} + resolution: {integrity: sha512-Ezgs32oa+CFBKE/U+wsHmW7re9+AzSYxgqr0kUWjV3B2+uEDi4edGTf9LQdaQLjACpgL2EiqRue8lB8U2aoLZA==, tarball: file:projects/perf-ai-language-text.tgz} name: '@rush-temp/perf-ai-language-text' version: 0.0.0 dependencies: @@ -22017,7 +22018,7 @@ packages: dev: false file:projects/perf-ai-metrics-advisor.tgz: - resolution: {integrity: sha512-EI0v5BNYVGw+UEvxRTVY/Yg2Intp7uxcy3dcfHSzdbdxwfBKj/S3xdOTC3eJ9hPu2kd1OWJZ1A6K6OQENIIO+Q==, tarball: file:projects/perf-ai-metrics-advisor.tgz} + resolution: {integrity: sha512-FK3uwYwVG4JU0E55VPDHuHChwsuKHlDeBJ0xSAhvytpFRTdaBaZhVZgbEIi8M0Iu9kUKuKhtnLXtX2acK/givQ==, tarball: file:projects/perf-ai-metrics-advisor.tgz} name: '@rush-temp/perf-ai-metrics-advisor' version: 0.0.0 dependencies: @@ -22035,7 +22036,7 @@ packages: dev: false file:projects/perf-ai-text-analytics.tgz: - resolution: {integrity: sha512-a9EE2n2VBdwwJH3aWAfl4IAB6AG01qWhfv7AYoiEUkKNwFrr8j9m4ZW5VNKPnMjPFytIc7rfrygQrhffVzcNcg==, tarball: file:projects/perf-ai-text-analytics.tgz} + resolution: {integrity: sha512-COpqmIBzIBiBUxxxoftoMOQLNatd+D1Z8q6j1um6ZjC8RXldZ1dOcAmy8E8JhGTlzuW0dWDJX1HteJ0gruYhsg==, tarball: file:projects/perf-ai-text-analytics.tgz} name: '@rush-temp/perf-ai-text-analytics' version: 0.0.0 dependencies: @@ -22054,7 +22055,7 @@ packages: dev: false file:projects/perf-app-configuration.tgz: - resolution: {integrity: sha512-mBRrscrjyagQGNmhRBeA0zYUchSX3PKH40/VJsKpHAuGawxZeVymmoEjA3uQCblY8YYyF6b3rST9ifn8RYbKMQ==, tarball: file:projects/perf-app-configuration.tgz} + resolution: {integrity: sha512-m6LgfVtYJ9nxqnIXXiKcHgyvgBf5B185zWW7JPbbeVfQVmr5Xdzqkz0WXWc+CcTF++NpwNEspjcZORfD0IXTeQ==, tarball: file:projects/perf-app-configuration.tgz} name: '@rush-temp/perf-app-configuration' version: 0.0.0 dependencies: @@ -22073,7 +22074,7 @@ packages: dev: false file:projects/perf-container-registry.tgz: - resolution: {integrity: sha512-gR4YkZbX7kyqHh9gh/Vbo90HQPdw08Pt0GiAZdrPdM1FW1mVIoR5BeIIC3H9Fb82/LQ1I+oFg+FY2VIQNZb4kA==, tarball: file:projects/perf-container-registry.tgz} + resolution: {integrity: sha512-QL4EkBV+8EEZG1EmfGH87489mjfmN3k4niRUwi/C+aSiieE5QhTgFxgpu0MZTP3mHWpaGIbou3rGs0E/pRRN7A==, tarball: file:projects/perf-container-registry.tgz} name: '@rush-temp/perf-container-registry' version: 0.0.0 dependencies: @@ -22091,7 +22092,7 @@ packages: dev: false file:projects/perf-core-rest-pipeline.tgz: - resolution: {integrity: sha512-ZHZpAZ/Qz808jXB7P/dLhwmYFufP164O0TLqxpmqfXcaHphgpik5b4x5xMKXrb4WFT61XNFDvFXrdJf1Az7rYA==, tarball: file:projects/perf-core-rest-pipeline.tgz} + resolution: {integrity: sha512-t2vMC8YRmC3A5o9WHN80EqNbvUyLuYFoyewBkEsgx6ju9gI/nqhmSw9dqdT4fINFnzul/n4bFHJWAWPIhVToHQ==, tarball: file:projects/perf-core-rest-pipeline.tgz} name: '@rush-temp/perf-core-rest-pipeline' version: 0.0.0 dependencies: @@ -22113,7 +22114,7 @@ packages: dev: false file:projects/perf-data-tables.tgz: - resolution: {integrity: sha512-FYo4ko2VEcSKWnaLMm6WsCAUMI4LcXN428YMm2iUorgWvWyeado13sbE+SHjSKgzkh26eUXB0bupEEdQKKc7bg==, tarball: file:projects/perf-data-tables.tgz} + resolution: {integrity: sha512-FkJCM5n7DYsf2lzR3Ag2tqxiVn8GU6bZpAuZNIK6BZXLByrUUf8dk7NDYPXHwhs2NaZORzdXy6yNlLqJRHmWgw==, tarball: file:projects/perf-data-tables.tgz} name: '@rush-temp/perf-data-tables' version: 0.0.0 dependencies: @@ -22131,7 +22132,7 @@ packages: dev: false file:projects/perf-event-hubs.tgz: - resolution: {integrity: sha512-my2s1O4skXXIMxC89ecO1/eZlR3+IgNj4XN5vu3JG3a48TKuxiOw/EcTuaeFktt6xMo1dciv+LuYurbFSWh64A==, tarball: file:projects/perf-event-hubs.tgz} + resolution: {integrity: sha512-NtzbPTiRsQgWkCn0a8gkN0J+aKl4Dfl/K1fvOT4QfwzAWf3qaXtbmqvd9laMHajWej+1wo+Vu7tGLPM6hqpfZg==, tarball: file:projects/perf-event-hubs.tgz} name: '@rush-temp/perf-event-hubs' version: 0.0.0 dependencies: @@ -22152,7 +22153,7 @@ packages: dev: false file:projects/perf-eventgrid.tgz: - resolution: {integrity: sha512-a0a/rYZ7+OJo2V1ZNGNpyTkAPxxvTv+KFu7BUyms81FuggrrECUsybfwz3mbG8nIoh8UEB+BY5OXuyN48ZbZ0w==, tarball: file:projects/perf-eventgrid.tgz} + resolution: {integrity: sha512-mB74n6wsIzYFESIifHaaO32a80MTYZNkvhYb5rrHuzjTlqcZKfanZuBPdVAFHjy1m/KZeHVjX5CzY/rFpdD8sw==, tarball: file:projects/perf-eventgrid.tgz} name: '@rush-temp/perf-eventgrid' version: 0.0.0 dependencies: @@ -22170,7 +22171,7 @@ packages: dev: false file:projects/perf-identity.tgz: - resolution: {integrity: sha512-ls/twm+EOl5T0doFYMzDYU4JDQicBKNmr5A7HCHU8vxxzyIqibsMazv/4xtbYLrrdnxDr/wPJrUK5JIHwrBrfQ==, tarball: file:projects/perf-identity.tgz} + resolution: {integrity: sha512-XQArYtGAFPoEcI0kX2NbZE/gZ3mJxu+QEc56gZGoi3OkSLe8FfhrtrNJUMDlGdKaT3/LA5zA2R6exke5K2X4AA==, tarball: file:projects/perf-identity.tgz} name: '@rush-temp/perf-identity' version: 0.0.0 dependencies: @@ -22190,7 +22191,7 @@ packages: dev: false file:projects/perf-keyvault-certificates.tgz: - resolution: {integrity: sha512-MXHTJ5JP994gH9DA96KFQnYMHy0Isj5pWo2Idxs27Bw98WDXrU7CnRfSgxShc9RHwasnrj+ViyH4HTZiuzjdhQ==, tarball: file:projects/perf-keyvault-certificates.tgz} + resolution: {integrity: sha512-q3Uawn8d+iWGS1I45oh3pad1uR1ddbdtMWp08IxrNtovicdTBFVPTsk4upBNXdr+8bTbrVQcz87h42ke1UFsdg==, tarball: file:projects/perf-keyvault-certificates.tgz} name: '@rush-temp/perf-keyvault-certificates' version: 0.0.0 dependencies: @@ -22211,7 +22212,7 @@ packages: dev: false file:projects/perf-keyvault-keys.tgz: - resolution: {integrity: sha512-fp+0/ckF+tA4Fl0ZJTc5VLqRX39uwYuiSPqI2KTo6/FhkmW1Xj0nWAZoyp3KnNW7o2GmZLWnpmc7j0gWWDpkgQ==, tarball: file:projects/perf-keyvault-keys.tgz} + resolution: {integrity: sha512-CgY3i6+Vb6q/jmerEl84jsdSWMDM0leoZ5fZyBagT+IdtCCiO1oNSF94bh9ZBA0Mz3wR5cHzkD5Ty0ZicbtgxA==, tarball: file:projects/perf-keyvault-keys.tgz} name: '@rush-temp/perf-keyvault-keys' version: 0.0.0 dependencies: @@ -22232,7 +22233,7 @@ packages: dev: false file:projects/perf-keyvault-secrets.tgz: - resolution: {integrity: sha512-StJodfvLmN9ey/bqM3Y9hDshqy0B4wnon1KG9QiDV+th/oHSNZr0t8FXMXlH2ujdXLQ1N+f9pIwSXNQ/BypwmQ==, tarball: file:projects/perf-keyvault-secrets.tgz} + resolution: {integrity: sha512-JNWbkcZXkYmiUDl+KOXClXm4O4Af6bvgGEKh74FF/V6hRXe3Rs8ZyGujRD8dl8Q95TZ1mUcNGb4ukVfmX54VBw==, tarball: file:projects/perf-keyvault-secrets.tgz} name: '@rush-temp/perf-keyvault-secrets' version: 0.0.0 dependencies: @@ -22253,7 +22254,7 @@ packages: dev: false file:projects/perf-monitor-ingestion.tgz: - resolution: {integrity: sha512-2o8F1n6D0379E3Iygs3YuJNRHpml3bMIRh+7j71Ps/SE+6joKl7yXKky887BVuCS1RWCZ9vPRvWLmWGOGWLELw==, tarball: file:projects/perf-monitor-ingestion.tgz} + resolution: {integrity: sha512-VSOX6oZ+RlNALvdf5G5811p/m/sh1itoj2Rzf8IjWp4Um5Z6njZXM2sq1bjIQ9DOExSm7cA28AnB1xtxBKJ6fA==, tarball: file:projects/perf-monitor-ingestion.tgz} name: '@rush-temp/perf-monitor-ingestion' version: 0.0.0 dependencies: @@ -22272,7 +22273,7 @@ packages: dev: false file:projects/perf-monitor-opentelemetry.tgz: - resolution: {integrity: sha512-CcTaHO08tDr9UWe44ob9/YIl4PpsYsQ7GczD6UAprlHR/Rcb3+XP2VKktNr4QcUZhsu6KHM8Dui6KbLmtmUtMg==, tarball: file:projects/perf-monitor-opentelemetry.tgz} + resolution: {integrity: sha512-eLx2R+XBiqJCqDFDTLwL3/4neUY2xwvAykDkdnfFnRW0UKOK1I2Ja0erfXoOv+zKFigtLM4JLlYWp8t21LZkqw==, tarball: file:projects/perf-monitor-opentelemetry.tgz} name: '@rush-temp/perf-monitor-opentelemetry' version: 0.0.0 dependencies: @@ -22290,7 +22291,7 @@ packages: dev: false file:projects/perf-monitor-query.tgz: - resolution: {integrity: sha512-NNujDSiATIKn6j+HuDYdmKbkRzYrmq/o49zE5cWlmRjDip3Q5hSdY8fu7SMZ0C6Ru9ef2bfoNnj94DJBEnVfeA==, tarball: file:projects/perf-monitor-query.tgz} + resolution: {integrity: sha512-8KBD9rNLXhW7FoU0LgG615jeq7LYO2BHefUWi7LOlTxAejj1cfky7Dl+ViRGC8d7AoO7zUbXDYy0i+8W0Bp2Pw==, tarball: file:projects/perf-monitor-query.tgz} name: '@rush-temp/perf-monitor-query' version: 0.0.0 dependencies: @@ -22309,7 +22310,7 @@ packages: dev: false file:projects/perf-schema-registry-avro.tgz: - resolution: {integrity: sha512-3mr3ScRWDMFMjuiRuoDnfxAd3YriipKc3H5bORI34h9F0/QiuM3ZaQsbtRtH4UyUH+cEjsWMvKbcCkz6v4FI/g==, tarball: file:projects/perf-schema-registry-avro.tgz} + resolution: {integrity: sha512-q2myGYlOV//vWupwQiXpWaO8J7mIP2LS2xmgWEQuMSAnt4UIjBvPP9aLI8g0vu6fEbs/Vjf27ItzkWQ0UJV4Gg==, tarball: file:projects/perf-schema-registry-avro.tgz} name: '@rush-temp/perf-schema-registry-avro' version: 0.0.0 dependencies: @@ -22328,7 +22329,7 @@ packages: dev: false file:projects/perf-search-documents.tgz: - resolution: {integrity: sha512-QjbYe2HFEPsUWbmsPR+bXUhrk3PUxrcX4nYmiH4vQfvV2nV/rwh7lqpXSmxoiFRIqpFcXVGmPB2S+oNMeHP27w==, tarball: file:projects/perf-search-documents.tgz} + resolution: {integrity: sha512-Nl48GSRKt/yg0loArEeALXH5kKYSrL8cPs3vfwx7PdY2o/5KVxu7PNzadEIbhyg7sRu+FPR+/0SqwEY0zJreSQ==, tarball: file:projects/perf-search-documents.tgz} name: '@rush-temp/perf-search-documents' version: 0.0.0 dependencies: @@ -22348,7 +22349,7 @@ packages: dev: false file:projects/perf-service-bus.tgz: - resolution: {integrity: sha512-X95Hh6NnKKUcwXClbV9iQIxP+1FeXIRs0AvD3NXMctlvTTHFwCmy8MrjwSbOZmbzedg6oVE+8rEBdl4nQpeyZQ==, tarball: file:projects/perf-service-bus.tgz} + resolution: {integrity: sha512-uzOm6V4LesEx4etYTgPNSvTFLhdwb/HC7kDOTUJuD3YgCwu6SO1psK1q+yC7Y7hjXk9ZreKmSE3kpzcMuNIXLA==, tarball: file:projects/perf-service-bus.tgz} name: '@rush-temp/perf-service-bus' version: 0.0.0 dependencies: @@ -22368,7 +22369,7 @@ packages: dev: false file:projects/perf-storage-blob.tgz: - resolution: {integrity: sha512-gnVzxlY1vrAzRzZwxxYq0IpU2a7YPUY19+GM3mhITC1zWOgyJG34mkJgcxO7zIXPJe/4cVUQju5/2ffQ2SpU8w==, tarball: file:projects/perf-storage-blob.tgz} + resolution: {integrity: sha512-Jz4y+ZPirsfYMZ3A9Z5rHD8rqG2tX72FvG7+PCkVuaWszL5814GhXAO1HgHovagQzFYyqtYTmlBod4jiR8D2UA==, tarball: file:projects/perf-storage-blob.tgz} name: '@rush-temp/perf-storage-blob' version: 0.0.0 dependencies: @@ -22386,7 +22387,7 @@ packages: dev: false file:projects/perf-storage-file-datalake.tgz: - resolution: {integrity: sha512-IqNMSbO7Zr0HoLvLmtadH8jS8exN3/o/yV+wmm82TAfGWzvo+H/AAHsbDQwE9KOUnfGzeprtrXw/cAW2+m75DA==, tarball: file:projects/perf-storage-file-datalake.tgz} + resolution: {integrity: sha512-tofYs152ezkrv4HoggV0PK6q2THSgnPEtsXjU2xPX1ptV8015o1pNMb0Ida/CgHlFccTKmcWgq3xH2iA10fNyA==, tarball: file:projects/perf-storage-file-datalake.tgz} name: '@rush-temp/perf-storage-file-datalake' version: 0.0.0 dependencies: @@ -22406,7 +22407,7 @@ packages: dev: false file:projects/perf-storage-file-share.tgz: - resolution: {integrity: sha512-R//6vCw8iYaZIH9hz0Cdc+eL42f8/wFyQPERFgqX1m5pjAOs67OLZsURMisUTvRa3GfDLxf34WD0G5CAVVhNgA==, tarball: file:projects/perf-storage-file-share.tgz} + resolution: {integrity: sha512-PDcmow06NkRgxBuWrX0v469wUEPB33LC6ZoQNxG/G9lPwNJ9mv7RbP3jF0OFmdWS+K9gAbfPd554MHJ1nrSRvA==, tarball: file:projects/perf-storage-file-share.tgz} name: '@rush-temp/perf-storage-file-share' version: 0.0.0 dependencies: @@ -22426,7 +22427,7 @@ packages: dev: false file:projects/perf-template.tgz: - resolution: {integrity: sha512-wIgc9CTNbRy3/eZOC3EW1WpqPO/hqhVYGUIyb0QRFZtcnCNWOaXDf1jHTQWXuqnZigGkMi8I1R1plBvQS6XWcA==, tarball: file:projects/perf-template.tgz} + resolution: {integrity: sha512-gA0gzz4ta8i7VVDmi6MhYqsuWBxFX1Zu7r6Wcqt0DXRo7RUhlLoqXN4R/OTlCuSCXAwi+tXK67DBUpjn6s0Yww==, tarball: file:projects/perf-template.tgz} name: '@rush-temp/perf-template' version: 0.0.0 dependencies: @@ -22446,7 +22447,7 @@ packages: dev: false file:projects/purview-administration.tgz: - resolution: {integrity: sha512-KDYSKwHBdzABEFtMqb/2/6Vsnm5XvuVwSMXMb8zd/tDm8BH65dRAw6t9EEq8EocAYC6vRsyRoebpA+dcSgD2dA==, tarball: file:projects/purview-administration.tgz} + resolution: {integrity: sha512-KPCSRJo1TvsE63C2gWyD6YnTLYlp6MCg02IZEOhWQlvxzqXn9zRXkK4HYy9UOMsla5np0LWOICy9UI7ay9XB0Q==, tarball: file:projects/purview-administration.tgz} name: '@rush-temp/purview-administration' version: 0.0.0 dependencies: @@ -22490,7 +22491,7 @@ packages: dev: false file:projects/purview-catalog.tgz: - resolution: {integrity: sha512-BasykcFDPWO54MdS4LxZnSz1/WXbCwYjCvsY6iC+eFrF8k2y8lawUok37Be6gHA1IYOrnkngsAtLRc2EDS5ptg==, tarball: file:projects/purview-catalog.tgz} + resolution: {integrity: sha512-CEFBMxpRhBnH5GUGC1cetUyAwbPjLhQrubT1PEVmH3m1K7y/RjvNA/C1584nhRAcKCXkiTpz9ZrlPnHKcpksnA==, tarball: file:projects/purview-catalog.tgz} name: '@rush-temp/purview-catalog' version: 0.0.0 dependencies: @@ -22535,7 +22536,7 @@ packages: dev: false file:projects/purview-datamap.tgz: - resolution: {integrity: sha512-U53eAUPumCqhhoEb2TP7D6wjo7SIJA8oEFckjyWVD5sMat2mJ1Q9nO84wsisMDExbLCm3hK6uw7AP2E3iF8WNg==, tarball: file:projects/purview-datamap.tgz} + resolution: {integrity: sha512-F2Hg3geCAheNIHTiNghPPFJT+vkTULOn2YwU8I4mV07rpOECFjad5dh1POzEW81Sh9RzXtLWtXiL5HkSB2MmpA==, tarball: file:projects/purview-datamap.tgz} name: '@rush-temp/purview-datamap' version: 0.0.0 dependencies: @@ -22580,7 +22581,7 @@ packages: dev: false file:projects/purview-scanning.tgz: - resolution: {integrity: sha512-Esa2SINTL5mzkjpbXRoqvR72fityNkJaKI7tAeRm+fmESRFszjbXyk8+GW2t3LoL8YJUjrmgjh+3A1Ul/B2OOA==, tarball: file:projects/purview-scanning.tgz} + resolution: {integrity: sha512-MAFAgiwcmwLLmw5X+8HNE2xqkJwdUqqFKKeJLKodKVtjVhQO97L5jX3GqNozoXAS7eZjnQdi+P5k1PfbXq1S8Q==, tarball: file:projects/purview-scanning.tgz} name: '@rush-temp/purview-scanning' version: 0.0.0 dependencies: @@ -22624,7 +22625,7 @@ packages: dev: false file:projects/purview-sharing.tgz: - resolution: {integrity: sha512-p/+v9ovncMASEn/elUdJQ3wSheixHdZ6HB6wFvmSnRydQ0O9CLCtp6nORpe6dS3JVTFGR7LFWMUDM3Ew5U5x4A==, tarball: file:projects/purview-sharing.tgz} + resolution: {integrity: sha512-OVvpxQ/+9KDikIR6Hp5zmD+Xn69DfQhdFSq6mI6mu2DPDNurxAsjfRqA3JNnOOu8cIYvc3ExWMT+kAhz1brwPw==, tarball: file:projects/purview-sharing.tgz} name: '@rush-temp/purview-sharing' version: 0.0.0 dependencies: @@ -22671,7 +22672,7 @@ packages: dev: false file:projects/purview-workflow.tgz: - resolution: {integrity: sha512-ycpLTjwvL7FMcfvDTdvqlsTVqvAYzZ9u/J9PY0DAxzBs0+UQ5XzitubNi3F5RJrJ7WnztZeiexDaQl9rDiAkjg==, tarball: file:projects/purview-workflow.tgz} + resolution: {integrity: sha512-tLXH0ktZlWU1psUBOOAGcooyXT9CrRwD5E/vOW8hlW8VTWee0w43JxAZQdOe239tUQ6jww3a4b7kVe9CmtZQXQ==, tarball: file:projects/purview-workflow.tgz} name: '@rush-temp/purview-workflow' version: 0.0.0 dependencies: @@ -22716,7 +22717,7 @@ packages: dev: false file:projects/quantum-jobs.tgz: - resolution: {integrity: sha512-RtmI/ZJbREK0zj0aS3BtL1vnG39a0w/+fXI3EnN00gmltxPE9OXYYG6+SOIwaHFdEwBUbOfDTg/w/uo6YoGhRA==, tarball: file:projects/quantum-jobs.tgz} + resolution: {integrity: sha512-AsjNDZ4WiCTmdOLuUTvK0S00F8q5LfUP0U+KE++QzjntPqpT9Zcv3svszyU2UI1mfdHAhLP6Km0A6Go42n5mIQ==, tarball: file:projects/quantum-jobs.tgz} name: '@rush-temp/quantum-jobs' version: 0.0.0 dependencies: @@ -22763,7 +22764,7 @@ packages: dev: false file:projects/schema-registry-avro.tgz: - resolution: {integrity: sha512-Eq/e1qWzLdtru4Z3ROP30OjcMGDFfmdnlJM8ojayLHuwzqCLKAm0stHaBWbRgMYt8q3sFcbxMF/R9V6mqfJtwg==, tarball: file:projects/schema-registry-avro.tgz} + resolution: {integrity: sha512-Oh6qAF6SwMj17y8Wwv481WdcsoFOlWIQtshCitVeFN1kw5aYpjg464zDAuVJD3CG0cfEIRu/ZMZ6j32x+uXO+g==, tarball: file:projects/schema-registry-avro.tgz} name: '@rush-temp/schema-registry-avro' version: 0.0.0 dependencies: @@ -22815,7 +22816,7 @@ packages: dev: false file:projects/schema-registry-json.tgz: - resolution: {integrity: sha512-MR7BqzMim61d9FZGwBZPEeGUPDudpOqLgmCPqKvuP5HWFj+NcxqQluBndBCEuMvvkqt09ISWHF4R7uRB37944w==, tarball: file:projects/schema-registry-json.tgz} + resolution: {integrity: sha512-2ACA1zRgwS8SZN8tVRVL/crU+Kgq7u+hWkZkoPHaPL2eqUzdr0vwhvCIaYC58rtzgSVEe3oz5Db4wzWCQQ4+XA==, tarball: file:projects/schema-registry-json.tgz} name: '@rush-temp/schema-registry-json' version: 0.0.0 dependencies: @@ -22857,7 +22858,7 @@ packages: dev: false file:projects/schema-registry.tgz: - resolution: {integrity: sha512-P/MYVOZ8olpk/mJGxAyIQlOVUHudt+chAEPJ5/r+bvAi1I6nlArtZiysn4FGn+NpuqCYWhkZ5FJF4o091v0NGA==, tarball: file:projects/schema-registry.tgz} + resolution: {integrity: sha512-+YnP25zUKS/ECbiyOu5DgVWOWU2dtcP1BdbCEOLhqUADLWHr87svidmifiWtTzzsZ9szo93RQoiCY68gB7wJ3w==, tarball: file:projects/schema-registry.tgz} name: '@rush-temp/schema-registry' version: 0.0.0 dependencies: @@ -22897,7 +22898,7 @@ packages: dev: false file:projects/search-documents.tgz: - resolution: {integrity: sha512-rrxywwpWHVWVIv7Xm1kK1gQpHwQtlKpjdItNlFBJ600vjwKLzDyUxhiYSlfl8daICjJdig+n84lophu77HkSVg==, tarball: file:projects/search-documents.tgz} + resolution: {integrity: sha512-ZQw9u4Cswfsr15dSmjXDySU+O0a3VCOUz4Z9H0T1vp7oRfNKRtJNRiuiELp/JzKh7vhfrne0gei7Yw2qpmiVYQ==, tarball: file:projects/search-documents.tgz} name: '@rush-temp/search-documents' version: 0.0.0 dependencies: @@ -22943,7 +22944,7 @@ packages: dev: false file:projects/service-bus.tgz: - resolution: {integrity: sha512-RskmzljtQKZJFvquR9B9jgBu6UtYE+kVUl5aTwE2siJQ2ux2Jitd4YMhVEADm04k7IW75zlFD/cBJRc1rB8CaA==, tarball: file:projects/service-bus.tgz} + resolution: {integrity: sha512-VvEKQOrm7Twiogxs85i0KZ/fF+oEc4c7Gz1Cyw69eMcOK3w5FYv0U3ttdW7qkdFSwUeoSQWRCgcqlz2pFAmLPg==, tarball: file:projects/service-bus.tgz} name: '@rush-temp/service-bus' version: 0.0.0 dependencies: @@ -23004,7 +23005,7 @@ packages: dev: false file:projects/storage-blob-changefeed.tgz: - resolution: {integrity: sha512-Gp+UCjBva4S3RMBJDYFU1CzkmZuF8s3mQZrL2hh4smDJx69QPAeC7WUqjNnFF2pIV1O2m6Gb3LnOc+5nINptmQ==, tarball: file:projects/storage-blob-changefeed.tgz} + resolution: {integrity: sha512-aBxHdMHdi62S2QnkF/0ydoiHnP4+8aOQTo7yWrcBdKIeIwodAlV6yfQtbLKV3gCCtTVs0SX5lVRvWpBEVDyDBw==, tarball: file:projects/storage-blob-changefeed.tgz} name: '@rush-temp/storage-blob-changefeed' version: 0.0.0 dependencies: @@ -23054,7 +23055,7 @@ packages: dev: false file:projects/storage-blob.tgz: - resolution: {integrity: sha512-wnGBKBpHtPKawBixChAIefVI/HwYcuTpMz8TZr+5RXnHuRfYsMpuG29+py4NOLjlGpajyTQOKSu65UBr0j0L1Q==, tarball: file:projects/storage-blob.tgz} + resolution: {integrity: sha512-c4s3EabfteDM9U4zR8YFc/Lu11dKz9+tKdGeJWNaXcx9wA2G/COc0joc679ORNHtNsFoDiq2JgF7jWdwKloRQw==, tarball: file:projects/storage-blob.tgz} name: '@rush-temp/storage-blob' version: 0.0.0 dependencies: @@ -23102,7 +23103,7 @@ packages: dev: false file:projects/storage-file-datalake.tgz: - resolution: {integrity: sha512-WeNUGjFP2mKZNTfNvaV7ugigkCp50dX6sJ8lC2JoV8vL08H9/6w/wXzJOO3E5+PpRrqIjcQi/D8O8NWRTYMgpw==, tarball: file:projects/storage-file-datalake.tgz} + resolution: {integrity: sha512-jv6sHj2dDLzCesEEKlVYOFfOtL//+O7Whk+2vIkn0Mu4ve49Kg2Li6LbvQMSnZCZCrcwsHfp13u7BYuQTee5dg==, tarball: file:projects/storage-file-datalake.tgz} name: '@rush-temp/storage-file-datalake' version: 0.0.0 dependencies: @@ -23153,7 +23154,7 @@ packages: dev: false file:projects/storage-file-share.tgz: - resolution: {integrity: sha512-MW+5yYNjh6VHSAnniJUV9p5BGYQXhl93jwFf4T5ubHNSDH2MpYFFyj2Z3hK5q8WW3m/Pq0muMBY6BZW0rqYEnA==, tarball: file:projects/storage-file-share.tgz} + resolution: {integrity: sha512-XjuSsYRRKpbjrhuYUAE5YSI3Yg5/5ThWWQkp1cX5BIfoFGo/ee1Gqslr964QxaPldabqRguoa7VzaWIE8/EXgA==, tarball: file:projects/storage-file-share.tgz} name: '@rush-temp/storage-file-share' version: 0.0.0 dependencies: @@ -23202,7 +23203,7 @@ packages: dev: false file:projects/storage-internal-avro.tgz: - resolution: {integrity: sha512-IxiPSZBWFNOFu/spFMWhJfWFPr0Hmv0ymxPvFxd2rzzErBq7FtCLXG50WN3lF4NKAnJz0Zq1g/PCmfDm1A7QrQ==, tarball: file:projects/storage-internal-avro.tgz} + resolution: {integrity: sha512-4t/mfNU3cPSFrda4xICXkHWwpvKP2FvGrl6qNlY7mPGhZMoll8c2UfMdFYPEfXhRG3tFNYO3EG58wZjhvsU1uw==, tarball: file:projects/storage-internal-avro.tgz} name: '@rush-temp/storage-internal-avro' version: 0.0.0 dependencies: @@ -23245,7 +23246,7 @@ packages: dev: false file:projects/storage-queue.tgz: - resolution: {integrity: sha512-B5IbHm6p/UCAFTjIgwrQHKYtEHGiA+rxBYrmADRP3XGQyNxiaiEKPHbhWzTNJteXSH/QmkdcCTW0QlttynFdFg==, tarball: file:projects/storage-queue.tgz} + resolution: {integrity: sha512-y6G0zVVMu4/H4YUPGfGt+PU9Ca7hOiIL93t9mvugr9uP1DEznQEXlHDWE/YomBUj8Ko82iyNFHrbEn1sLz0dzw==, tarball: file:projects/storage-queue.tgz} name: '@rush-temp/storage-queue' version: 0.0.0 dependencies: @@ -23291,7 +23292,7 @@ packages: dev: false file:projects/synapse-access-control-1.tgz: - resolution: {integrity: sha512-wsawV3NYrXi5EvnkoUa5lW26x9ixfhWek/7GGy6cqjbLEoV9HKEwrW/PGTSa11nuflfUUJdnh/kE9/ZZnqhZFw==, tarball: file:projects/synapse-access-control-1.tgz} + resolution: {integrity: sha512-zaGVyaIBrK9tyHMXDLtaDoWtN5InTtO9YGwxNjkx9I+tk8Ks0j34GLoX43BvtX/ToQMIKrOeci7NnboJ7tXj3g==, tarball: file:projects/synapse-access-control-1.tgz} name: '@rush-temp/synapse-access-control-1' version: 0.0.0 dependencies: @@ -23337,7 +23338,7 @@ packages: dev: false file:projects/synapse-access-control.tgz: - resolution: {integrity: sha512-8vnpsFHik+27ge9j3KertZQ1W5W10SEpK5bQYQ5kUc+sj3XsIZMCkpMStwKqrIhJzd3yckQGlkLVOyigm0Udyw==, tarball: file:projects/synapse-access-control.tgz} + resolution: {integrity: sha512-5knc1WqJIw8b6eAEt8Bm88703RybGKDOMqJ7vGbnrMWooXjDmBUrc9DBrTjNjM6UHooqh1ChriAJ4iZW6GvFYg==, tarball: file:projects/synapse-access-control.tgz} name: '@rush-temp/synapse-access-control' version: 0.0.0 dependencies: @@ -23386,7 +23387,7 @@ packages: dev: false file:projects/synapse-artifacts.tgz: - resolution: {integrity: sha512-1L9Y4NbZCbyR1JQvXEuiynGBkIPnq8/bQndWVRdWqpcZQtr8m/q3O9qNUp4f+MWc+EUQlA08pWKVtrQgrwsVSg==, tarball: file:projects/synapse-artifacts.tgz} + resolution: {integrity: sha512-8V1BRLBWq3IS+QOGT37+/xcsBDa2x70z3zDrsjlP/8aZCFIVNHMPCgZNqMXK3Q3/B5AtjfZmj07Z6+BoTZejjQ==, tarball: file:projects/synapse-artifacts.tgz} name: '@rush-temp/synapse-artifacts' version: 0.0.0 dependencies: @@ -23437,7 +23438,7 @@ packages: dev: false file:projects/synapse-managed-private-endpoints.tgz: - resolution: {integrity: sha512-xI5pnusbNS3YF1Kt3Jqo2WfZ8/Zzn9bA5YheXdjSK1SlyzB4duH7sa+GqoYegd4sJiDO5RGk2FRIcrnc+LXiRA==, tarball: file:projects/synapse-managed-private-endpoints.tgz} + resolution: {integrity: sha512-t716orNaK2a57kim6vchh856W1ZJL+N1AeM5/MCjo+IyqJ7G/2xANrw2f6nA1jQhw9gYY4ltAjuXEpsRgwln0w==, tarball: file:projects/synapse-managed-private-endpoints.tgz} name: '@rush-temp/synapse-managed-private-endpoints' version: 0.0.0 dependencies: @@ -23480,7 +23481,7 @@ packages: dev: false file:projects/synapse-monitoring.tgz: - resolution: {integrity: sha512-JGvFLQaloQ6ooq4FDGXLE2VOq0E5LYF2B2S62zMKPb9lRl4px2Wk1JfjapwIzTck3vi5YNqLUQuI5ar3rRyYFQ==, tarball: file:projects/synapse-monitoring.tgz} + resolution: {integrity: sha512-dNdbppT+aoNAi1B0ihGofcFFQt/eEwx5XAC4Pm8QdFfpuAmdstaF//8q2h5z3DO4/hXNorIU1ZKiyXrczMsZlQ==, tarball: file:projects/synapse-monitoring.tgz} name: '@rush-temp/synapse-monitoring' version: 0.0.0 dependencies: @@ -23517,7 +23518,7 @@ packages: dev: false file:projects/synapse-spark.tgz: - resolution: {integrity: sha512-rgCNFUjX6R35CqxPoZxj/3N3ffGSQ6/TSTJHxHTmLGDSzS7KFVUuK1Sztw/pRGhTTSEBAMa/DZjV7lkIQOMdwQ==, tarball: file:projects/synapse-spark.tgz} + resolution: {integrity: sha512-1SsLxCbj4g1CxyXOyjA00O6fX4nso1IVDAllOlEypk2TMCKGMn8NVm15c3UTU0OILHMYDoukiCUpFvjpFYzC5g==, tarball: file:projects/synapse-spark.tgz} name: '@rush-temp/synapse-spark' version: 0.0.0 dependencies: @@ -23560,7 +23561,7 @@ packages: dev: false file:projects/template-dpg.tgz: - resolution: {integrity: sha512-era64OOVVbq7t8sO6CuyVXIMzWBhkJQuVHIYTqjH0jyQPkgbo8waOhwsfEz0sK7dGChhDniYlwP+vnFp/lu6lg==, tarball: file:projects/template-dpg.tgz} + resolution: {integrity: sha512-ssjfeFbOjK+WKB4w5KiaKD7rO6agOIPv/73YxRx53BQ1M/C54JDGijoIvphGhdZqRLO+25x57AphmNqTolhFBw==, tarball: file:projects/template-dpg.tgz} name: '@rush-temp/template-dpg' version: 0.0.0 dependencies: @@ -23603,7 +23604,7 @@ packages: dev: false file:projects/template.tgz: - resolution: {integrity: sha512-Z4jVfdc6F0pVx6TKZMxewtMI9hglqb9vQndoRzYF3+EzAwIulmw5+ukixt9UQSrUD/swoIgx6mxtVmHitSle7A==, tarball: file:projects/template.tgz} + resolution: {integrity: sha512-eKSJx2ZXbvSb94L5as0GWfbmA8IA9lw0+6yl/kFid2b/7OEmkuF5sguhxjIV85c+JaIBHYr1qmC/SNngPH9m/A==, tarball: file:projects/template.tgz} name: '@rush-temp/template' version: 0.0.0 dependencies: @@ -23641,7 +23642,7 @@ packages: dev: false file:projects/test-credential.tgz: - resolution: {integrity: sha512-cnqkP/8hJEC4wKnBQfZ4fJ7b5ycRsqA2iDWtEAYjJL90rRBIImhPwOGK5o2FMGQTyPeHPqtiL8oK4X7AOpwxKA==, tarball: file:projects/test-credential.tgz} + resolution: {integrity: sha512-8Ote+CSTzRrooFVH8YydipORldevCZKRiGewr+LUGX/d9GrYCCYjEHT4nz1lnINoXT0eSqu1NOpZHkeR46b8Lg==, tarball: file:projects/test-credential.tgz} name: '@rush-temp/test-credential' version: 0.0.0 dependencies: @@ -23660,7 +23661,7 @@ packages: dev: false file:projects/test-perf.tgz: - resolution: {integrity: sha512-ZwPBFlm7U2LjZCUqsJJrNubufkZA5WPNQvRqlj9yXXYaSrtQtcV8LutkBWMy3BTFP3QlPU/7Omj/MeLt7BNnBA==, tarball: file:projects/test-perf.tgz} + resolution: {integrity: sha512-eCcCwe+SGSmOt4GBA750BoYWLV7cnEc5E2Dn6D7aoszG9JtCnI1lsY66kFo5D4uLPzM1Kxoud6l5El9oCDyP2Q==, tarball: file:projects/test-perf.tgz} name: '@rush-temp/test-perf' version: 0.0.0 dependencies: @@ -23688,7 +23689,7 @@ packages: dev: false file:projects/test-recorder.tgz: - resolution: {integrity: sha512-qlOsal3Yvx1QrCLwKsxTE0dg1WKpjeZG9zhgNpFb1A9DUVTCb1DoHeUUFzNqDYd4CcLbcd1CTfFcl2UxLPyo7g==, tarball: file:projects/test-recorder.tgz} + resolution: {integrity: sha512-qfNIYuEB3D4HDHkMw51pBk0eN5HDsimcSbFBgI+UQtAn9RByPq+Ho52w6O3NwBmn/fSKvKh/4JR18PLTzCeRoQ==, tarball: file:projects/test-recorder.tgz} name: '@rush-temp/test-recorder' version: 0.0.0 dependencies: @@ -23724,7 +23725,7 @@ packages: dev: false file:projects/test-utils.tgz: - resolution: {integrity: sha512-u4u9CDY3LLHpKg7655DGRsaWaieW93zWY7S0K3e+VOzqwMfGtVPCynsjQ0pfH+7yWl2YuR4HA6Frnitfauq4JQ==, tarball: file:projects/test-utils.tgz} + resolution: {integrity: sha512-uf7jHfyR4w/5UiwsXP0XKAcm5RUaMgEfNS5No5hvB41Z64MtXXiHugen9N81PYuiEV5u9uXnMJ10YVJj4BD7Eg==, tarball: file:projects/test-utils.tgz} name: '@rush-temp/test-utils' version: 0.0.0 dependencies: @@ -23761,7 +23762,7 @@ packages: dev: false file:projects/ts-http-runtime.tgz: - resolution: {integrity: sha512-HXO7Lv/cwgn5X1kgOUzXUWEG4amdxRLrjwPFBKX/R7Zg7k3GjyTgDJTQ+pQkkc9rZd28xI+4EfnOKVulDojROQ==, tarball: file:projects/ts-http-runtime.tgz} + resolution: {integrity: sha512-K3f2DI85IyC5yyUspHmIy8YQrixNXouxaU7eeoLhs1YxuzeMseUGyR8NLS36w2iGkbgl8rLLh71cyd8oBCYjJA==, tarball: file:projects/ts-http-runtime.tgz} name: '@rush-temp/ts-http-runtime' version: 0.0.0 dependencies: @@ -23796,7 +23797,7 @@ packages: dev: false file:projects/vite-plugin-browser-test-map.tgz: - resolution: {integrity: sha512-qKZHdG8f3LTACHV3PdZsjAm8dC+A9GyANO24iYg7ATkihTPXf4nO8l7RR9Ur1bHkDyqqMq2AIosv0QhEH5pvnQ==, tarball: file:projects/vite-plugin-browser-test-map.tgz} + resolution: {integrity: sha512-mCraP3jfWR4/X9V0+o2LLCczyZ/MvB7LfMgdSJ+K2Fg0eg4CmjhL4QaQi24JrhG8BgqVmM7GumlmMkbafTwomA==, tarball: file:projects/vite-plugin-browser-test-map.tgz} name: '@rush-temp/vite-plugin-browser-test-map' version: 0.0.0 dependencies: @@ -23811,7 +23812,7 @@ packages: dev: false file:projects/web-pubsub-client-protobuf.tgz: - resolution: {integrity: sha512-78fsp+vmAxIE74iuFyRs0e7ryMjsgjK8DcivkyXZcH7WcvTCSpE+ufZ3g5y3wrjHxdfjUlytkmBYzBT8zlAafQ==, tarball: file:projects/web-pubsub-client-protobuf.tgz} + resolution: {integrity: sha512-Jiw3fDmmnF4baE9kfiYq+B+SQ354zM68svrpq3agVGpfIjXESUr+flBL5YhEn66fTKRfGTNvKqbIE1pupKP31w==, tarball: file:projects/web-pubsub-client-protobuf.tgz} name: '@rush-temp/web-pubsub-client-protobuf' version: 0.0.0 dependencies: @@ -23870,7 +23871,7 @@ packages: dev: false file:projects/web-pubsub-client.tgz: - resolution: {integrity: sha512-m+IY0VupXTyW3MIox9verksiyHQ4IxqeiUML2XtKJ/kB+g4xhSE2Xrr42HnL3izL9FLVxJrodBQXy/jVvFfakQ==, tarball: file:projects/web-pubsub-client.tgz} + resolution: {integrity: sha512-laYMEsCoTMSHz8WCDoiMDTWcYwDkFzS7+IaUT//G+gU4Zzv2KcQXOxs/PMVQyropNz6/NK/EisjJPVo0rxsYgQ==, tarball: file:projects/web-pubsub-client.tgz} name: '@rush-temp/web-pubsub-client' version: 0.0.0 dependencies: @@ -23924,7 +23925,7 @@ packages: dev: false file:projects/web-pubsub-express.tgz: - resolution: {integrity: sha512-F6zi+OEVdbjyA9WHbPYJ5IPxwqV4GftEL9ts0Un9XI69az7MRx4AzDqjBT2fMRRQqBev8nwSsFuaFjO/Ie5cDg==, tarball: file:projects/web-pubsub-express.tgz} + resolution: {integrity: sha512-JkCH8kWGJZffxvML9ilscmbLpAoEidWvxMaYI5na4tpbB/g/Zh1T6NnrGRgI3kQAu9O8XmCqd8I33ZreroQdJA==, tarball: file:projects/web-pubsub-express.tgz} name: '@rush-temp/web-pubsub-express' version: 0.0.0 dependencies: @@ -23959,7 +23960,7 @@ packages: dev: false file:projects/web-pubsub.tgz: - resolution: {integrity: sha512-swVtqxuR+FDz54JwOA4JSKFgsdum+CM+AmqBVg9d/yu5CNE0pdKDC86iMql1cV3jV+VYgIDn13ga/4F066soxw==, tarball: file:projects/web-pubsub.tgz} + resolution: {integrity: sha512-1+KD+A58E+Y1LQ+uhKwGoubA0zOZZC9wk0XqRgLGxe4g/VJ6UQ4ukAp3zMqDOKHVshFZGcu2uq/yxcVaS85Rsw==, tarball: file:projects/web-pubsub.tgz} name: '@rush-temp/web-pubsub' version: 0.0.0 dependencies: diff --git a/sdk/scvmm/arm-scvmm/CHANGELOG.md b/sdk/scvmm/arm-scvmm/CHANGELOG.md index be26e351a81f..732742b530af 100644 --- a/sdk/scvmm/arm-scvmm/CHANGELOG.md +++ b/sdk/scvmm/arm-scvmm/CHANGELOG.md @@ -1,37 +1,5 @@ # Release History - -## 1.0.0-beta.4 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes - -## 1.0.0-beta.3 (2023-02-01) - -**Features** - - - Exposes `getContinuationToken` helper function to extract continuation token - -**Bugs Fixed** - - - A series of small bug fixs relevant to authentication and apiVersion policy - -## 1.0.0-beta.2 (2022-07-14) - -**Features** - - - Added Interface CloudInventoryItem - - Added Interface InventoryItem - - Added Interface ProxyResource - - Added Interface VirtualMachineInventoryItem - - Added Interface VirtualMachineTemplateInventoryItem - - Added Interface VirtualNetworkInventoryItem - -## 1.0.0-beta.1 (2022-04-27) +## 1.0.0 (2024-05-30) -The package of @azure/arm-scvmm is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ). +The package of @azure/arm-scvmm 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/scvmm/arm-scvmm/LICENSE b/sdk/scvmm/arm-scvmm/LICENSE index 3a1d9b6f24f7..7d5934740965 100644 --- a/sdk/scvmm/arm-scvmm/LICENSE +++ b/sdk/scvmm/arm-scvmm/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2023 Microsoft +Copyright (c) 2024 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/scvmm/arm-scvmm/README.md b/sdk/scvmm/arm-scvmm/README.md index 13e0ff2843c0..dcf00c85311a 100644 --- a/sdk/scvmm/arm-scvmm/README.md +++ b/sdk/scvmm/arm-scvmm/README.md @@ -1,12 +1,12 @@ -# Azure Scvmm client library for JavaScript +# Azure ScVmm client library for JavaScript -This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure Scvmm client. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure ScVmm client. The Microsoft.ScVmm Rest API spec. [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/scvmm/arm-scvmm) | [Package (NPM)](https://www.npmjs.com/package/@azure/arm-scvmm) | -[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-scvmm?view=azure-node-preview) | +[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-scvmm) | [Samples](https://github.com/Azure-Samples/azure-samples-js-management) ## Getting started @@ -24,16 +24,16 @@ See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUP ### Install the `@azure/arm-scvmm` package -Install the Azure Scvmm client library for JavaScript with `npm`: +Install the Azure ScVmm client library for JavaScript with `npm`: ```bash npm install @azure/arm-scvmm ``` -### Create and authenticate a `Scvmm` +### Create and authenticate a `ScVmm` -To create a client object to access the Azure Scvmm API, you will need the `endpoint` of your Azure Scvmm resource and a `credential`. The Azure Scvmm client can use Azure Active Directory credentials to authenticate. -You can find the endpoint for your Azure Scvmm resource in the [Azure Portal][azure_portal]. +To create a client object to access the Azure ScVmm API, you will need the `endpoint` of your Azure ScVmm resource and a `credential`. The Azure ScVmm client can use Azure Active Directory credentials to authenticate. +You can find the endpoint for your Azure ScVmm resource in the [Azure Portal][azure_portal]. 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). @@ -43,25 +43,25 @@ To use the [DefaultAzureCredential][defaultazurecredential] provider shown below npm install @azure/identity ``` -You will also need to **register a new AAD application and grant access to Azure Scvmm** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions). +You will also need to **register a new AAD application and grant access to Azure ScVmm** 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 { Scvmm } = require("@azure/arm-scvmm"); +const { ScVmm } = require("@azure/arm-scvmm"); const { DefaultAzureCredential } = require("@azure/identity"); // For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details. const subscriptionId = "00000000-0000-0000-0000-000000000000"; -const client = new Scvmm(new DefaultAzureCredential(), subscriptionId); +const client = new ScVmm(new DefaultAzureCredential(), subscriptionId); // For client-side applications running in the browser, use this code instead: // const credential = new InteractiveBrowserCredential({ // tenantId: "", // clientId: "" // }); -// const client = new Scvmm(credential, subscriptionId); +// const client = new ScVmm(credential, subscriptionId); ``` @@ -70,9 +70,9 @@ To use this client library in the browser, first you need to use a bundler. For ## Key concepts -### Scvmm +### ScVmm -`Scvmm` is the primary interface for developers using the Azure Scvmm client library. Explore the methods on this client object to understand the different features of the Azure Scvmm service that you can access. +`ScVmm` is the primary interface for developers using the Azure ScVmm client library. Explore the methods on this client object to understand the different features of the Azure ScVmm service that you can access. ## Troubleshooting diff --git a/sdk/scvmm/arm-scvmm/_meta.json b/sdk/scvmm/arm-scvmm/_meta.json index a8ce742afb9d..598808fc9998 100644 --- a/sdk/scvmm/arm-scvmm/_meta.json +++ b/sdk/scvmm/arm-scvmm/_meta.json @@ -1,8 +1,8 @@ { - "commit": "96c6e14d4dfd2aef59a69a43185308567fec8c07", - "readme": "specification\\scvmm\\resource-manager\\readme.md", - "autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=F:\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\scvmm\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.7 --generate-sample=true", + "commit": "2426adf3e648d1709018f1d6844a5db404c789b2", + "readme": "specification/scvmm/resource-manager/readme.md", + "autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/scvmm/resource-manager/readme.md --use=@autorest/typescript@^6.0.12", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.6.0", - "use": "@autorest/typescript@6.0.0-rc.7" + "release_tool": "@azure-tools/js-sdk-release-tools@2.7.10", + "use": "@autorest/typescript@^6.0.12" } \ No newline at end of file diff --git a/sdk/scvmm/arm-scvmm/package.json b/sdk/scvmm/arm-scvmm/package.json index 7bf21426e5ba..53c4d1f2c946 100644 --- a/sdk/scvmm/arm-scvmm/package.json +++ b/sdk/scvmm/arm-scvmm/package.json @@ -2,18 +2,18 @@ "name": "@azure/arm-scvmm", "sdk-type": "mgmt", "author": "Microsoft Corporation", - "description": "A generated SDK for Scvmm.", - "version": "1.0.0-beta.4", + "description": "A generated SDK for ScVmm.", + "version": "1.0.0", "engines": { "node": ">=18.0.0" }, "dependencies": { - "@azure/core-lro": "^2.2.0", + "@azure/core-lro": "^2.5.4", "@azure/abort-controller": "^1.0.0", "@azure/core-paging": "^1.2.0", - "@azure/core-client": "^1.6.1", - "@azure/core-auth": "^1.3.0", - "@azure/core-rest-pipeline": "^1.8.0", + "@azure/core-client": "^1.7.0", + "@azure/core-auth": "^1.6.0", + "@azure/core-rest-pipeline": "^1.14.0", "tslib": "^2.2.0" }, "keywords": [ @@ -32,19 +32,20 @@ "mkdirp": "^3.0.1", "typescript": "~5.4.5", "uglify-js": "^3.4.9", - "rimraf": "^5.0.5", + "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.0.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", - "@azure/dev-tool": "^1.0.0", - "ts-node": "^10.0.0", - "@types/mocha": "^10.0.0" + "ts-node": "^10.0.0" }, "repository": { "type": "git", @@ -77,7 +78,6 @@ "pack": "npm pack 2>&1", "extract-api": "dev-tool run extract-api", "lint": "echo skipped", - "audit": "echo skipped", "clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", "build:node": "echo skipped", "build:browser": "echo skipped", @@ -100,19 +100,11 @@ "//metadata": { "constantPaths": [ { - "path": "src/scvmm.ts", + "path": "src/scVmm.ts", "prefix": "packageDetails" } ] }, "autoPublish": true, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/scvmm/arm-scvmm", - "//sampleConfiguration": { - "productName": "", - "productSlugs": [ - "azure" - ], - "disableDocsMs": true, - "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-scvmm?view=azure-node-preview" - } -} + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/scvmm/arm-scvmm" +} \ No newline at end of file diff --git a/sdk/scvmm/arm-scvmm/review/arm-scvmm.api.md b/sdk/scvmm/arm-scvmm/review/arm-scvmm.api.md index a14a01ba4da8..b9346adc5cd7 100644 --- a/sdk/scvmm/arm-scvmm/review/arm-scvmm.api.md +++ b/sdk/scvmm/arm-scvmm/review/arm-scvmm.api.md @@ -6,27 +6,20 @@ import * as coreAuth from '@azure/core-auth'; import * as coreClient from '@azure/core-client'; +import { OperationState } from '@azure/core-lro'; import { PagedAsyncIterableIterator } from '@azure/core-paging'; -import { PollerLike } from '@azure/core-lro'; -import { PollOperationState } from '@azure/core-lro'; +import { SimplePollerLike } from '@azure/core-lro'; + +// @public +export type ActionType = string; // @public export type AllocationMethod = string; // @public -export interface AvailabilitySet { - availabilitySetName?: string; - extendedLocation?: ExtendedLocation; - readonly id?: string; - location?: string; - readonly name?: string; - readonly provisioningState?: string; - readonly systemData?: SystemData; - tags?: { - [propertyName: string]: string; - }; - readonly type?: string; - vmmServerId?: string; +export interface AvailabilitySet extends TrackedResource { + extendedLocation: ExtendedLocation; + properties?: AvailabilitySetProperties; } // @public @@ -37,19 +30,26 @@ export interface AvailabilitySetListItem { // @public export interface AvailabilitySetListResult { - nextLink?: string; - value?: AvailabilitySet[]; + readonly nextLink?: string; + value: AvailabilitySet[]; +} + +// @public +export interface AvailabilitySetProperties { + availabilitySetName?: string; + readonly provisioningState?: ResourceProvisioningState; + vmmServerId?: string; } // @public export interface AvailabilitySets { - beginCreateOrUpdate(resourceGroupName: string, availabilitySetName: string, body: AvailabilitySet, options?: AvailabilitySetsCreateOrUpdateOptionalParams): Promise, AvailabilitySetsCreateOrUpdateResponse>>; - beginCreateOrUpdateAndWait(resourceGroupName: string, availabilitySetName: string, body: AvailabilitySet, options?: AvailabilitySetsCreateOrUpdateOptionalParams): Promise; - beginDelete(resourceGroupName: string, availabilitySetName: string, options?: AvailabilitySetsDeleteOptionalParams): Promise, void>>; - beginDeleteAndWait(resourceGroupName: string, availabilitySetName: string, options?: AvailabilitySetsDeleteOptionalParams): Promise; - beginUpdate(resourceGroupName: string, availabilitySetName: string, body: ResourcePatch, options?: AvailabilitySetsUpdateOptionalParams): Promise, AvailabilitySetsUpdateResponse>>; - beginUpdateAndWait(resourceGroupName: string, availabilitySetName: string, body: ResourcePatch, options?: AvailabilitySetsUpdateOptionalParams): Promise; - get(resourceGroupName: string, availabilitySetName: string, options?: AvailabilitySetsGetOptionalParams): Promise; + beginCreateOrUpdate(resourceGroupName: string, availabilitySetResourceName: string, resource: AvailabilitySet, options?: AvailabilitySetsCreateOrUpdateOptionalParams): Promise, AvailabilitySetsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, availabilitySetResourceName: string, resource: AvailabilitySet, options?: AvailabilitySetsCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, availabilitySetResourceName: string, options?: AvailabilitySetsDeleteOptionalParams): Promise, AvailabilitySetsDeleteResponse>>; + beginDeleteAndWait(resourceGroupName: string, availabilitySetResourceName: string, options?: AvailabilitySetsDeleteOptionalParams): Promise; + beginUpdate(resourceGroupName: string, availabilitySetResourceName: string, properties: AvailabilitySetTagsUpdate, options?: AvailabilitySetsUpdateOptionalParams): Promise, AvailabilitySetsUpdateResponse>>; + beginUpdateAndWait(resourceGroupName: string, availabilitySetResourceName: string, properties: AvailabilitySetTagsUpdate, options?: AvailabilitySetsUpdateOptionalParams): Promise; + get(resourceGroupName: string, availabilitySetResourceName: string, options?: AvailabilitySetsGetOptionalParams): Promise; listByResourceGroup(resourceGroupName: string, options?: AvailabilitySetsListByResourceGroupOptionalParams): PagedAsyncIterableIterator; listBySubscription(options?: AvailabilitySetsListBySubscriptionOptionalParams): PagedAsyncIterableIterator; } @@ -57,6 +57,7 @@ export interface AvailabilitySets { // @public export interface AvailabilitySetsCreateOrUpdateHeaders { azureAsyncOperation?: string; + retryAfter?: number; } // @public @@ -71,15 +72,20 @@ export type AvailabilitySetsCreateOrUpdateResponse = AvailabilitySet; // @public export interface AvailabilitySetsDeleteHeaders { azureAsyncOperation?: string; + location?: string; + retryAfter?: number; } // @public export interface AvailabilitySetsDeleteOptionalParams extends coreClient.OperationOptions { - force?: boolean; + force?: ForceDelete; resumeFrom?: string; updateIntervalInMs?: number; } +// @public +export type AvailabilitySetsDeleteResponse = AvailabilitySetsDeleteHeaders; + // @public export interface AvailabilitySetsGetOptionalParams extends coreClient.OperationOptions { } @@ -115,6 +121,12 @@ export interface AvailabilitySetsListBySubscriptionOptionalParams extends coreCl // @public export type AvailabilitySetsListBySubscriptionResponse = AvailabilitySetListResult; +// @public +export interface AvailabilitySetsUpdateHeaders { + location?: string; + retryAfter?: number; +} + // @public export interface AvailabilitySetsUpdateOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; @@ -124,39 +136,32 @@ export interface AvailabilitySetsUpdateOptionalParams extends coreClient.Operati // @public export type AvailabilitySetsUpdateResponse = AvailabilitySet; +// @public +export interface AvailabilitySetTagsUpdate { + tags?: { + [propertyName: string]: string; + }; +} + // @public export interface Checkpoint { - checkpointID?: string; + checkpointId?: string; description?: string; name?: string; - parentCheckpointID?: string; + parentCheckpointId?: string; } // @public -export interface Cloud { - readonly cloudCapacity?: CloudCapacity; - readonly cloudName?: string; +export interface Cloud extends TrackedResource { extendedLocation: ExtendedLocation; - readonly id?: string; - inventoryItemId?: string; - location: string; - readonly name?: string; - readonly provisioningState?: string; - readonly storageQoSPolicies?: StorageQoSPolicy[]; - readonly systemData?: SystemData; - tags?: { - [propertyName: string]: string; - }; - readonly type?: string; - uuid?: string; - vmmServerId?: string; + properties?: CloudProperties; } // @public export interface CloudCapacity { - cpuCount?: number; - memoryMB?: number; - vmCount?: number; + readonly cpuCount?: number; + readonly memoryMB?: number; + readonly vmCount?: number; } // @public @@ -166,23 +171,39 @@ export interface CloudInventoryItem extends InventoryItemProperties { // @public export interface CloudListResult { - nextLink?: string; - value?: Cloud[]; + readonly nextLink?: string; + value: Cloud[]; +} + +// @public +export interface CloudProperties { + readonly cloudCapacity?: CloudCapacity; + readonly cloudName?: string; + inventoryItemId?: string; + readonly provisioningState?: ResourceProvisioningState; + readonly storageQosPolicies?: StorageQosPolicy[]; + uuid?: string; + vmmServerId?: string; } // @public export interface Clouds { - beginCreateOrUpdate(resourceGroupName: string, cloudName: string, body: Cloud, options?: CloudsCreateOrUpdateOptionalParams): Promise, CloudsCreateOrUpdateResponse>>; - beginCreateOrUpdateAndWait(resourceGroupName: string, cloudName: string, body: Cloud, options?: CloudsCreateOrUpdateOptionalParams): Promise; - beginDelete(resourceGroupName: string, cloudName: string, options?: CloudsDeleteOptionalParams): Promise, void>>; - beginDeleteAndWait(resourceGroupName: string, cloudName: string, options?: CloudsDeleteOptionalParams): Promise; - beginUpdate(resourceGroupName: string, cloudName: string, body: ResourcePatch, options?: CloudsUpdateOptionalParams): Promise, CloudsUpdateResponse>>; - beginUpdateAndWait(resourceGroupName: string, cloudName: string, body: ResourcePatch, options?: CloudsUpdateOptionalParams): Promise; - get(resourceGroupName: string, cloudName: string, options?: CloudsGetOptionalParams): Promise; + beginCreateOrUpdate(resourceGroupName: string, cloudResourceName: string, resource: Cloud, options?: CloudsCreateOrUpdateOptionalParams): Promise, CloudsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, cloudResourceName: string, resource: Cloud, options?: CloudsCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, cloudResourceName: string, options?: CloudsDeleteOptionalParams): Promise, CloudsDeleteResponse>>; + beginDeleteAndWait(resourceGroupName: string, cloudResourceName: string, options?: CloudsDeleteOptionalParams): Promise; + beginUpdate(resourceGroupName: string, cloudResourceName: string, properties: CloudTagsUpdate, options?: CloudsUpdateOptionalParams): Promise, CloudsUpdateResponse>>; + beginUpdateAndWait(resourceGroupName: string, cloudResourceName: string, properties: CloudTagsUpdate, options?: CloudsUpdateOptionalParams): Promise; + get(resourceGroupName: string, cloudResourceName: string, options?: CloudsGetOptionalParams): Promise; listByResourceGroup(resourceGroupName: string, options?: CloudsListByResourceGroupOptionalParams): PagedAsyncIterableIterator; listBySubscription(options?: CloudsListBySubscriptionOptionalParams): PagedAsyncIterableIterator; } +// @public +export interface CloudsCreateOrUpdateHeaders { + retryAfter?: number; +} + // @public export interface CloudsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; @@ -192,13 +213,22 @@ export interface CloudsCreateOrUpdateOptionalParams extends coreClient.Operation // @public export type CloudsCreateOrUpdateResponse = Cloud; +// @public +export interface CloudsDeleteHeaders { + location?: string; + retryAfter?: number; +} + // @public export interface CloudsDeleteOptionalParams extends coreClient.OperationOptions { - force?: boolean; + force?: ForceDelete; resumeFrom?: string; updateIntervalInMs?: number; } +// @public +export type CloudsDeleteResponse = CloudsDeleteHeaders; + // @public export interface CloudsGetOptionalParams extends coreClient.OperationOptions { } @@ -234,6 +264,12 @@ export interface CloudsListBySubscriptionOptionalParams extends coreClient.Opera // @public export type CloudsListBySubscriptionResponse = CloudListResult; +// @public +export interface CloudsUpdateHeaders { + location?: string; + retryAfter?: number; +} + // @public export interface CloudsUpdateOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; @@ -243,25 +279,43 @@ export interface CloudsUpdateOptionalParams extends coreClient.OperationOptions // @public export type CloudsUpdateResponse = Cloud; +// @public +export interface CloudTagsUpdate { + tags?: { + [propertyName: string]: string; + }; +} + // @public export type CreatedByType = string; // @public export type CreateDiffDisk = string; +// @public +export type DeleteFromHost = string; + // @public export type DynamicMemoryEnabled = string; // @public -export interface ErrorDefinition { +export interface ErrorAdditionalInfo { + readonly info?: Record; + readonly type?: string; +} + +// @public +export interface ErrorDetail { + readonly additionalInfo?: ErrorAdditionalInfo[]; readonly code?: string; - readonly details?: ErrorDefinition[]; + readonly details?: ErrorDetail[]; readonly message?: string; + readonly target?: string; } // @public export interface ErrorResponse { - error?: ErrorDefinition; + error?: ErrorDetail; } // @public @@ -270,16 +324,95 @@ export interface ExtendedLocation { type?: string; } +// @public +export type ForceDelete = string; + // @public export function getContinuationToken(page: unknown): string | undefined; +// @public +export interface GuestAgent extends ProxyResource { + properties?: GuestAgentProperties; +} + +// @public +export interface GuestAgentListResult { + readonly nextLink?: string; + value: GuestAgent[]; +} + +// @public +export interface GuestAgentProperties { + credentials?: GuestCredential; + readonly customResourceName?: string; + httpProxyConfig?: HttpProxyConfiguration; + provisioningAction?: ProvisioningAction; + readonly provisioningState?: ResourceProvisioningState; + readonly status?: string; + readonly uuid?: string; +} + +// @public +export interface GuestAgents { + beginCreate(resourceUri: string, resource: GuestAgent, options?: GuestAgentsCreateOptionalParams): Promise, GuestAgentsCreateResponse>>; + beginCreateAndWait(resourceUri: string, resource: GuestAgent, options?: GuestAgentsCreateOptionalParams): Promise; + delete(resourceUri: string, options?: GuestAgentsDeleteOptionalParams): Promise; + get(resourceUri: string, options?: GuestAgentsGetOptionalParams): Promise; + listByVirtualMachineInstance(resourceUri: string, options?: GuestAgentsListByVirtualMachineInstanceOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface GuestAgentsCreateHeaders { + retryAfter?: number; +} + +// @public +export interface GuestAgentsCreateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type GuestAgentsCreateResponse = GuestAgent; + +// @public +export interface GuestAgentsDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface GuestAgentsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type GuestAgentsGetResponse = GuestAgent; + +// @public +export interface GuestAgentsListByVirtualMachineInstanceNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type GuestAgentsListByVirtualMachineInstanceNextResponse = GuestAgentListResult; + +// @public +export interface GuestAgentsListByVirtualMachineInstanceOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type GuestAgentsListByVirtualMachineInstanceResponse = GuestAgentListResult; + +// @public +export interface GuestCredential { + password: string; + username: string; +} + // @public export interface HardwareProfile { cpuCount?: number; dynamicMemoryEnabled?: DynamicMemoryEnabled; dynamicMemoryMaxMB?: number; dynamicMemoryMinMB?: number; - isHighlyAvailable?: string; + readonly isHighlyAvailable?: IsHighlyAvailable; limitCpuForMigration?: LimitCpuForMigration; memoryMB?: number; } @@ -294,15 +427,35 @@ export interface HardwareProfileUpdate { memoryMB?: number; } +// @public +export interface HttpProxyConfiguration { + httpsProxy?: string; +} + +// @public +export interface InfrastructureProfile { + biosGuid?: string; + readonly checkpoints?: Checkpoint[]; + checkpointType?: string; + cloudId?: string; + generation?: number; + inventoryItemId?: string; + readonly lastRestoredVmCheckpoint?: Checkpoint; + templateId?: string; + uuid?: string; + vmmServerId?: string; + vmName?: string; +} + +// @public +export interface InfrastructureProfileUpdate { + checkpointType?: string; +} + // @public export interface InventoryItem extends ProxyResource { - readonly inventoryItemName?: string; - inventoryType: InventoryType; kind?: string; - readonly managedResourceId?: string; - readonly provisioningState?: string; - readonly systemData?: SystemData; - readonly uuid?: string; + properties?: InventoryItemPropertiesUnion; } // @public @@ -311,29 +464,34 @@ export interface InventoryItemDetails { inventoryItemName?: string; } +// @public +export interface InventoryItemListResult { + readonly nextLink?: string; + value: InventoryItem[]; +} + // @public export interface InventoryItemProperties { readonly inventoryItemName?: string; - inventoryType: "Cloud" | "VirtualNetwork" | "VirtualMachineTemplate" | "VirtualMachine"; + inventoryType: "Cloud" | "VirtualMachine" | "VirtualMachineTemplate" | "VirtualNetwork"; readonly managedResourceId?: string; - readonly provisioningState?: string; + readonly provisioningState?: ResourceProvisioningState; readonly uuid?: string; } // @public (undocumented) -export type InventoryItemPropertiesUnion = InventoryItemProperties | CloudInventoryItem | VirtualNetworkInventoryItem | VirtualMachineTemplateInventoryItem | VirtualMachineInventoryItem; +export type InventoryItemPropertiesUnion = InventoryItemProperties | CloudInventoryItem | VirtualMachineInventoryItem | VirtualMachineTemplateInventoryItem | VirtualNetworkInventoryItem; // @public export interface InventoryItems { - create(resourceGroupName: string, vmmServerName: string, inventoryItemName: string, options?: InventoryItemsCreateOptionalParams): Promise; - delete(resourceGroupName: string, vmmServerName: string, inventoryItemName: string, options?: InventoryItemsDeleteOptionalParams): Promise; - get(resourceGroupName: string, vmmServerName: string, inventoryItemName: string, options?: InventoryItemsGetOptionalParams): Promise; - listByVMMServer(resourceGroupName: string, vmmServerName: string, options?: InventoryItemsListByVMMServerOptionalParams): PagedAsyncIterableIterator; + create(resourceGroupName: string, vmmServerName: string, inventoryItemResourceName: string, resource: InventoryItem, options?: InventoryItemsCreateOptionalParams): Promise; + delete(resourceGroupName: string, vmmServerName: string, inventoryItemResourceName: string, options?: InventoryItemsDeleteOptionalParams): Promise; + get(resourceGroupName: string, vmmServerName: string, inventoryItemResourceName: string, options?: InventoryItemsGetOptionalParams): Promise; + listByVmmServer(resourceGroupName: string, vmmServerName: string, options?: InventoryItemsListByVmmServerOptionalParams): PagedAsyncIterableIterator; } // @public export interface InventoryItemsCreateOptionalParams extends coreClient.OperationOptions { - body?: InventoryItem; } // @public @@ -351,24 +509,18 @@ export interface InventoryItemsGetOptionalParams extends coreClient.OperationOpt export type InventoryItemsGetResponse = InventoryItem; // @public -export interface InventoryItemsList { - nextLink?: string; - value: InventoryItem[]; -} - -// @public -export interface InventoryItemsListByVMMServerNextOptionalParams extends coreClient.OperationOptions { +export interface InventoryItemsListByVmmServerNextOptionalParams extends coreClient.OperationOptions { } // @public -export type InventoryItemsListByVMMServerNextResponse = InventoryItemsList; +export type InventoryItemsListByVmmServerNextResponse = InventoryItemListResult; // @public -export interface InventoryItemsListByVMMServerOptionalParams extends coreClient.OperationOptions { +export interface InventoryItemsListByVmmServerOptionalParams extends coreClient.OperationOptions { } // @public -export type InventoryItemsListByVMMServerResponse = InventoryItemsList; +export type InventoryItemsListByVmmServerResponse = InventoryItemListResult; // @public export type InventoryType = string; @@ -376,6 +528,14 @@ export type InventoryType = string; // @public export type IsCustomizable = string; +// @public +export type IsHighlyAvailable = string; + +// @public +export enum KnownActionType { + Internal = "Internal" +} + // @public export enum KnownAllocationMethod { Dynamic = "Dynamic", @@ -396,12 +556,24 @@ export enum KnownCreateDiffDisk { True = "true" } +// @public +export enum KnownDeleteFromHost { + False = "false", + True = "true" +} + // @public export enum KnownDynamicMemoryEnabled { False = "false", True = "true" } +// @public +export enum KnownForceDelete { + False = "false", + True = "true" +} + // @public export enum KnownInventoryType { Cloud = "Cloud", @@ -416,12 +588,25 @@ export enum KnownIsCustomizable { True = "true" } +// @public +export enum KnownIsHighlyAvailable { + False = "false", + True = "true" +} + // @public export enum KnownLimitCpuForMigration { False = "false", True = "true" } +// @public +export enum KnownOrigin { + System = "system", + User = "user", + UserSystem = "user,system" +} + // @public export enum KnownOsType { Linux = "Linux", @@ -429,11 +614,36 @@ export enum KnownOsType { Windows = "Windows" } +// @public +export enum KnownProvisioningAction { + Install = "install", + Repair = "repair", + Uninstall = "uninstall" +} + +// @public +export enum KnownResourceProvisioningState { + Accepted = "Accepted", + Canceled = "Canceled", + Created = "Created", + Deleting = "Deleting", + Failed = "Failed", + Provisioning = "Provisioning", + Succeeded = "Succeeded", + Updating = "Updating" +} + +// @public +export enum KnownSkipShutdown { + False = "false", + True = "true" +} + // @public export type LimitCpuForMigration = string; // @public -export interface NetworkInterfaces { +export interface NetworkInterface { readonly displayName?: string; readonly ipv4Addresses?: string[]; ipv4AddressType?: AllocationMethod; @@ -448,7 +658,7 @@ export interface NetworkInterfaces { } // @public -export interface NetworkInterfacesUpdate { +export interface NetworkInterfaceUpdate { ipv4AddressType?: AllocationMethod; ipv6AddressType?: AllocationMethod; macAddress?: string; @@ -460,17 +670,40 @@ export interface NetworkInterfacesUpdate { // @public export interface NetworkProfile { - networkInterfaces?: NetworkInterfaces[]; + networkInterfaces?: NetworkInterface[]; } // @public export interface NetworkProfileUpdate { - networkInterfaces?: NetworkInterfacesUpdate[]; + networkInterfaces?: NetworkInterfaceUpdate[]; +} + +// @public +export interface Operation { + readonly actionType?: ActionType; + display?: OperationDisplay; + readonly isDataAction?: boolean; + readonly name?: string; + readonly origin?: Origin; +} + +// @public +export interface OperationDisplay { + readonly description?: string; + readonly operation?: string; + readonly provider?: string; + readonly resource?: string; +} + +// @public +export interface OperationListResult { + readonly nextLink?: string; + readonly value?: Operation[]; } // @public export interface Operations { - list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator; + list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator; } // @public @@ -478,26 +711,33 @@ export interface OperationsListNextOptionalParams extends coreClient.OperationOp } // @public -export type OperationsListNextResponse = ResourceProviderOperationList; +export type OperationsListNextResponse = OperationListResult; // @public export interface OperationsListOptionalParams extends coreClient.OperationOptions { } // @public -export type OperationsListResponse = ResourceProviderOperationList; +export type OperationsListResponse = OperationListResult; + +// @public +export type Origin = string; // @public -export interface OsProfile { +export interface OsProfileForVmInstance { adminPassword?: string; computerName?: string; - readonly osName?: string; + readonly osSku?: string; readonly osType?: OsType; + readonly osVersion?: string; } // @public export type OsType = string; +// @public +export type ProvisioningAction = string; + // @public export interface ProxyResource extends Resource { } @@ -506,42 +746,19 @@ export interface ProxyResource extends Resource { export interface Resource { readonly id?: string; readonly name?: string; + readonly systemData?: SystemData; readonly type?: string; } // @public -export interface ResourcePatch { - tags?: { - [propertyName: string]: string; - }; -} - -// @public -export interface ResourceProviderOperation { - display?: ResourceProviderOperationDisplay; - isDataAction?: string; - name?: string; -} - -// @public -export interface ResourceProviderOperationDisplay { - description?: string; - operation?: string; - provider?: string; - resource?: string; -} - -// @public -export interface ResourceProviderOperationList { - nextLink?: string; - value?: ResourceProviderOperation[]; -} +export type ResourceProvisioningState = string; // @public (undocumented) -export class Scvmm extends coreClient.ServiceClient { +export class ScVmm extends coreClient.ServiceClient { // (undocumented) $host: string; - constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ScvmmOptionalParams); + constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ScVmmOptionalParams); + constructor(credentials: coreAuth.TokenCredential, options?: ScVmmOptionalParams); // (undocumented) apiVersion: string; // (undocumented) @@ -549,31 +766,38 @@ export class Scvmm extends coreClient.ServiceClient { // (undocumented) clouds: Clouds; // (undocumented) + guestAgents: GuestAgents; + // (undocumented) inventoryItems: InventoryItems; // (undocumented) operations: Operations; // (undocumented) - subscriptionId: string; + subscriptionId?: string; // (undocumented) - virtualMachines: VirtualMachines; + virtualMachineInstances: VirtualMachineInstances; // (undocumented) virtualMachineTemplates: VirtualMachineTemplates; // (undocumented) virtualNetworks: VirtualNetworks; // (undocumented) + vmInstanceHybridIdentityMetadatas: VmInstanceHybridIdentityMetadatas; + // (undocumented) vmmServers: VmmServers; } // @public -export interface ScvmmOptionalParams extends coreClient.ServiceClientOptions { +export interface ScVmmOptionalParams extends coreClient.ServiceClientOptions { $host?: string; apiVersion?: string; endpoint?: string; } +// @public +export type SkipShutdown = string; + // @public export interface StopVirtualMachineOptions { - skipShutdown?: boolean; + skipShutdown?: SkipShutdown; } // @public @@ -587,7 +811,7 @@ export interface StorageProfileUpdate { } // @public -export interface StorageQoSPolicy { +export interface StorageQosPolicy { bandwidthLimit?: number; id?: string; iopsMaximum?: number; @@ -597,7 +821,7 @@ export interface StorageQoSPolicy { } // @public -export interface StorageQoSPolicyDetails { +export interface StorageQosPolicyDetails { id?: string; name?: string; } @@ -612,6 +836,14 @@ export interface SystemData { lastModifiedByType?: CreatedByType; } +// @public +export interface TrackedResource extends Resource { + location: string; + tags?: { + [propertyName: string]: string; + }; +} + // @public export interface VirtualDisk { bus?: number; @@ -623,7 +855,7 @@ export interface VirtualDisk { lun?: number; readonly maxDiskSizeGB?: number; name?: string; - storageQoSPolicy?: StorageQoSPolicyDetails; + storageQosPolicy?: StorageQosPolicyDetails; templateDiskId?: string; readonly vhdFormatType?: string; vhdType?: string; @@ -638,39 +870,10 @@ export interface VirtualDiskUpdate { diskSizeGB?: number; lun?: number; name?: string; - storageQoSPolicy?: StorageQoSPolicyDetails; + storageQosPolicy?: StorageQosPolicyDetails; vhdType?: string; } -// @public -export interface VirtualMachine { - availabilitySets?: AvailabilitySetListItem[]; - checkpoints?: Checkpoint[]; - checkpointType?: string; - cloudId?: string; - extendedLocation: ExtendedLocation; - generation?: number; - hardwareProfile?: HardwareProfile; - readonly id?: string; - inventoryItemId?: string; - location: string; - readonly name?: string; - networkProfile?: NetworkProfile; - osProfile?: OsProfile; - readonly powerState?: string; - readonly provisioningState?: string; - storageProfile?: StorageProfile; - readonly systemData?: SystemData; - tags?: { - [propertyName: string]: string; - }; - templateId?: string; - readonly type?: string; - uuid?: string; - vmmServerId?: string; - vmName?: string; -} - // @public export interface VirtualMachineCreateCheckpoint { description?: string; @@ -683,181 +886,246 @@ export interface VirtualMachineDeleteCheckpoint { } // @public -export interface VirtualMachineInventoryItem extends InventoryItemProperties { - cloud?: InventoryItemDetails; - inventoryType: "VirtualMachine"; - ipAddresses?: string[]; - readonly osName?: string; - readonly osType?: OsType; - readonly powerState?: string; +export interface VirtualMachineInstance extends ProxyResource { + extendedLocation: ExtendedLocation; + properties?: VirtualMachineInstanceProperties; } // @public -export interface VirtualMachineListResult { - nextLink?: string; - value?: VirtualMachine[]; +export interface VirtualMachineInstanceListResult { + readonly nextLink?: string; + value: VirtualMachineInstance[]; } // @public -export interface VirtualMachineRestoreCheckpoint { - id?: string; +export interface VirtualMachineInstanceProperties { + availabilitySets?: AvailabilitySetListItem[]; + hardwareProfile?: HardwareProfile; + infrastructureProfile?: InfrastructureProfile; + networkProfile?: NetworkProfile; + osProfile?: OsProfileForVmInstance; + readonly powerState?: string; + readonly provisioningState?: ResourceProvisioningState; + storageProfile?: StorageProfile; } // @public -export interface VirtualMachines { - beginCreateCheckpoint(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesCreateCheckpointOptionalParams): Promise, void>>; - beginCreateCheckpointAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesCreateCheckpointOptionalParams): Promise; - beginCreateOrUpdate(resourceGroupName: string, virtualMachineName: string, body: VirtualMachine, options?: VirtualMachinesCreateOrUpdateOptionalParams): Promise, VirtualMachinesCreateOrUpdateResponse>>; - beginCreateOrUpdateAndWait(resourceGroupName: string, virtualMachineName: string, body: VirtualMachine, options?: VirtualMachinesCreateOrUpdateOptionalParams): Promise; - beginDelete(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesDeleteOptionalParams): Promise, void>>; - beginDeleteAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesDeleteOptionalParams): Promise; - beginDeleteCheckpoint(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesDeleteCheckpointOptionalParams): Promise, void>>; - beginDeleteCheckpointAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesDeleteCheckpointOptionalParams): Promise; - beginRestart(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesRestartOptionalParams): Promise, void>>; - beginRestartAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesRestartOptionalParams): Promise; - beginRestoreCheckpoint(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesRestoreCheckpointOptionalParams): Promise, void>>; - beginRestoreCheckpointAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesRestoreCheckpointOptionalParams): Promise; - beginStart(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesStartOptionalParams): Promise, void>>; - beginStartAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesStartOptionalParams): Promise; - beginStop(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesStopOptionalParams): Promise, void>>; - beginStopAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesStopOptionalParams): Promise; - beginUpdate(resourceGroupName: string, virtualMachineName: string, body: VirtualMachineUpdate, options?: VirtualMachinesUpdateOptionalParams): Promise, VirtualMachinesUpdateResponse>>; - beginUpdateAndWait(resourceGroupName: string, virtualMachineName: string, body: VirtualMachineUpdate, options?: VirtualMachinesUpdateOptionalParams): Promise; - get(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesGetOptionalParams): Promise; - listByResourceGroup(resourceGroupName: string, options?: VirtualMachinesListByResourceGroupOptionalParams): PagedAsyncIterableIterator; - listBySubscription(options?: VirtualMachinesListBySubscriptionOptionalParams): PagedAsyncIterableIterator; -} - -// @public -export interface VirtualMachinesCreateCheckpointOptionalParams extends coreClient.OperationOptions { - body?: VirtualMachineCreateCheckpoint; - resumeFrom?: string; - updateIntervalInMs?: number; +export interface VirtualMachineInstances { + beginCreateCheckpoint(resourceUri: string, body: VirtualMachineCreateCheckpoint, options?: VirtualMachineInstancesCreateCheckpointOptionalParams): Promise, VirtualMachineInstancesCreateCheckpointResponse>>; + beginCreateCheckpointAndWait(resourceUri: string, body: VirtualMachineCreateCheckpoint, options?: VirtualMachineInstancesCreateCheckpointOptionalParams): Promise; + beginCreateOrUpdate(resourceUri: string, resource: VirtualMachineInstance, options?: VirtualMachineInstancesCreateOrUpdateOptionalParams): Promise, VirtualMachineInstancesCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceUri: string, resource: VirtualMachineInstance, options?: VirtualMachineInstancesCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceUri: string, options?: VirtualMachineInstancesDeleteOptionalParams): Promise, VirtualMachineInstancesDeleteResponse>>; + beginDeleteAndWait(resourceUri: string, options?: VirtualMachineInstancesDeleteOptionalParams): Promise; + beginDeleteCheckpoint(resourceUri: string, body: VirtualMachineDeleteCheckpoint, options?: VirtualMachineInstancesDeleteCheckpointOptionalParams): Promise, VirtualMachineInstancesDeleteCheckpointResponse>>; + beginDeleteCheckpointAndWait(resourceUri: string, body: VirtualMachineDeleteCheckpoint, options?: VirtualMachineInstancesDeleteCheckpointOptionalParams): Promise; + beginRestart(resourceUri: string, options?: VirtualMachineInstancesRestartOptionalParams): Promise, VirtualMachineInstancesRestartResponse>>; + beginRestartAndWait(resourceUri: string, options?: VirtualMachineInstancesRestartOptionalParams): Promise; + beginRestoreCheckpoint(resourceUri: string, body: VirtualMachineRestoreCheckpoint, options?: VirtualMachineInstancesRestoreCheckpointOptionalParams): Promise, VirtualMachineInstancesRestoreCheckpointResponse>>; + beginRestoreCheckpointAndWait(resourceUri: string, body: VirtualMachineRestoreCheckpoint, options?: VirtualMachineInstancesRestoreCheckpointOptionalParams): Promise; + beginStart(resourceUri: string, options?: VirtualMachineInstancesStartOptionalParams): Promise, VirtualMachineInstancesStartResponse>>; + beginStartAndWait(resourceUri: string, options?: VirtualMachineInstancesStartOptionalParams): Promise; + beginStop(resourceUri: string, body: StopVirtualMachineOptions, options?: VirtualMachineInstancesStopOptionalParams): Promise, VirtualMachineInstancesStopResponse>>; + beginStopAndWait(resourceUri: string, body: StopVirtualMachineOptions, options?: VirtualMachineInstancesStopOptionalParams): Promise; + beginUpdate(resourceUri: string, properties: VirtualMachineInstanceUpdate, options?: VirtualMachineInstancesUpdateOptionalParams): Promise, VirtualMachineInstancesUpdateResponse>>; + beginUpdateAndWait(resourceUri: string, properties: VirtualMachineInstanceUpdate, options?: VirtualMachineInstancesUpdateOptionalParams): Promise; + get(resourceUri: string, options?: VirtualMachineInstancesGetOptionalParams): Promise; + list(resourceUri: string, options?: VirtualMachineInstancesListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface VirtualMachineInstancesCreateCheckpointHeaders { + location?: string; + retryAfter?: number; } // @public -export interface VirtualMachinesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +export interface VirtualMachineInstancesCreateCheckpointOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; updateIntervalInMs?: number; } // @public -export type VirtualMachinesCreateOrUpdateResponse = VirtualMachine; +export type VirtualMachineInstancesCreateCheckpointResponse = VirtualMachineInstancesCreateCheckpointHeaders; + +// @public +export interface VirtualMachineInstancesCreateOrUpdateHeaders { + retryAfter?: number; +} // @public -export interface VirtualMachinesDeleteCheckpointOptionalParams extends coreClient.OperationOptions { - body?: VirtualMachineDeleteCheckpoint; +export interface VirtualMachineInstancesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; updateIntervalInMs?: number; } // @public -export interface VirtualMachinesDeleteOptionalParams extends coreClient.OperationOptions { - force?: boolean; +export type VirtualMachineInstancesCreateOrUpdateResponse = VirtualMachineInstance; + +// @public +export interface VirtualMachineInstancesDeleteCheckpointHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface VirtualMachineInstancesDeleteCheckpointOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; - retain?: boolean; updateIntervalInMs?: number; } // @public -export interface VirtualMachinesGetOptionalParams extends coreClient.OperationOptions { -} +export type VirtualMachineInstancesDeleteCheckpointResponse = VirtualMachineInstancesDeleteCheckpointHeaders; // @public -export type VirtualMachinesGetResponse = VirtualMachine; +export interface VirtualMachineInstancesDeleteHeaders { + location?: string; + retryAfter?: number; +} // @public -export interface VirtualMachinesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions { +export interface VirtualMachineInstancesDeleteOptionalParams extends coreClient.OperationOptions { + deleteFromHost?: DeleteFromHost; + force?: ForceDelete; + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export type VirtualMachinesListByResourceGroupNextResponse = VirtualMachineListResult; +export type VirtualMachineInstancesDeleteResponse = VirtualMachineInstancesDeleteHeaders; // @public -export interface VirtualMachinesListByResourceGroupOptionalParams extends coreClient.OperationOptions { +export interface VirtualMachineInstancesGetOptionalParams extends coreClient.OperationOptions { } // @public -export type VirtualMachinesListByResourceGroupResponse = VirtualMachineListResult; +export type VirtualMachineInstancesGetResponse = VirtualMachineInstance; // @public -export interface VirtualMachinesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions { +export interface VirtualMachineInstancesListNextOptionalParams extends coreClient.OperationOptions { } // @public -export type VirtualMachinesListBySubscriptionNextResponse = VirtualMachineListResult; +export type VirtualMachineInstancesListNextResponse = VirtualMachineInstanceListResult; // @public -export interface VirtualMachinesListBySubscriptionOptionalParams extends coreClient.OperationOptions { +export interface VirtualMachineInstancesListOptionalParams extends coreClient.OperationOptions { } // @public -export type VirtualMachinesListBySubscriptionResponse = VirtualMachineListResult; +export type VirtualMachineInstancesListResponse = VirtualMachineInstanceListResult; + +// @public +export interface VirtualMachineInstancesRestartHeaders { + location?: string; + retryAfter?: number; +} // @public -export interface VirtualMachinesRestartOptionalParams extends coreClient.OperationOptions { +export interface VirtualMachineInstancesRestartOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; updateIntervalInMs?: number; } // @public -export interface VirtualMachinesRestoreCheckpointOptionalParams extends coreClient.OperationOptions { - body?: VirtualMachineRestoreCheckpoint; +export type VirtualMachineInstancesRestartResponse = VirtualMachineInstancesRestartHeaders; + +// @public +export interface VirtualMachineInstancesRestoreCheckpointHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface VirtualMachineInstancesRestoreCheckpointOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; updateIntervalInMs?: number; } // @public -export interface VirtualMachinesStartOptionalParams extends coreClient.OperationOptions { +export type VirtualMachineInstancesRestoreCheckpointResponse = VirtualMachineInstancesRestoreCheckpointHeaders; + +// @public +export interface VirtualMachineInstancesStartHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface VirtualMachineInstancesStartOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; updateIntervalInMs?: number; } // @public -export interface VirtualMachinesStopOptionalParams extends coreClient.OperationOptions { - body?: StopVirtualMachineOptions; +export type VirtualMachineInstancesStartResponse = VirtualMachineInstancesStartHeaders; + +// @public +export interface VirtualMachineInstancesStopHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface VirtualMachineInstancesStopOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; updateIntervalInMs?: number; } // @public -export interface VirtualMachinesUpdateOptionalParams extends coreClient.OperationOptions { +export type VirtualMachineInstancesStopResponse = VirtualMachineInstancesStopHeaders; + +// @public +export interface VirtualMachineInstancesUpdateHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface VirtualMachineInstancesUpdateOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; updateIntervalInMs?: number; } // @public -export type VirtualMachinesUpdateResponse = VirtualMachine; +export type VirtualMachineInstancesUpdateResponse = VirtualMachineInstance; // @public -export interface VirtualMachineTemplate { - readonly computerName?: string; - readonly cpuCount?: number; - readonly disks?: VirtualDisk[]; - readonly dynamicMemoryEnabled?: DynamicMemoryEnabled; - readonly dynamicMemoryMaxMB?: number; - readonly dynamicMemoryMinMB?: number; - extendedLocation: ExtendedLocation; - readonly generation?: number; - readonly id?: string; - inventoryItemId?: string; - readonly isCustomizable?: IsCustomizable; - readonly isHighlyAvailable?: string; - readonly limitCpuForMigration?: LimitCpuForMigration; - location: string; - readonly memoryMB?: number; - readonly name?: string; - readonly networkInterfaces?: NetworkInterfaces[]; +export interface VirtualMachineInstanceUpdate { + properties?: VirtualMachineInstanceUpdateProperties; +} + +// @public +export interface VirtualMachineInstanceUpdateProperties { + availabilitySets?: AvailabilitySetListItem[]; + hardwareProfile?: HardwareProfileUpdate; + infrastructureProfile?: InfrastructureProfileUpdate; + networkProfile?: NetworkProfileUpdate; + storageProfile?: StorageProfileUpdate; +} + +// @public +export interface VirtualMachineInventoryItem extends InventoryItemProperties { + readonly biosGuid?: string; + cloud?: InventoryItemDetails; + inventoryType: "VirtualMachine"; + ipAddresses?: string[]; + readonly managedMachineResourceId?: string; readonly osName?: string; readonly osType?: OsType; - readonly provisioningState?: string; - readonly systemData?: SystemData; - tags?: { - [propertyName: string]: string; - }; - readonly type?: string; - uuid?: string; - vmmServerId?: string; + readonly osVersion?: string; + readonly powerState?: string; +} + +// @public +export interface VirtualMachineRestoreCheckpoint { + id?: string; +} + +// @public +export interface VirtualMachineTemplate extends TrackedResource { + extendedLocation: ExtendedLocation; + properties?: VirtualMachineTemplateProperties; } // @public @@ -871,23 +1139,50 @@ export interface VirtualMachineTemplateInventoryItem extends InventoryItemProper // @public export interface VirtualMachineTemplateListResult { - nextLink?: string; - value?: VirtualMachineTemplate[]; + readonly nextLink?: string; + value: VirtualMachineTemplate[]; +} + +// @public +export interface VirtualMachineTemplateProperties { + readonly computerName?: string; + readonly cpuCount?: number; + readonly disks?: VirtualDisk[]; + readonly dynamicMemoryEnabled?: DynamicMemoryEnabled; + readonly dynamicMemoryMaxMB?: number; + readonly dynamicMemoryMinMB?: number; + readonly generation?: number; + inventoryItemId?: string; + readonly isCustomizable?: IsCustomizable; + readonly isHighlyAvailable?: IsHighlyAvailable; + readonly limitCpuForMigration?: LimitCpuForMigration; + readonly memoryMB?: number; + readonly networkInterfaces?: NetworkInterface[]; + readonly osName?: string; + readonly osType?: OsType; + readonly provisioningState?: ResourceProvisioningState; + uuid?: string; + vmmServerId?: string; } // @public export interface VirtualMachineTemplates { - beginCreateOrUpdate(resourceGroupName: string, virtualMachineTemplateName: string, body: VirtualMachineTemplate, options?: VirtualMachineTemplatesCreateOrUpdateOptionalParams): Promise, VirtualMachineTemplatesCreateOrUpdateResponse>>; - beginCreateOrUpdateAndWait(resourceGroupName: string, virtualMachineTemplateName: string, body: VirtualMachineTemplate, options?: VirtualMachineTemplatesCreateOrUpdateOptionalParams): Promise; - beginDelete(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesDeleteOptionalParams): Promise, void>>; - beginDeleteAndWait(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesDeleteOptionalParams): Promise; - beginUpdate(resourceGroupName: string, virtualMachineTemplateName: string, body: ResourcePatch, options?: VirtualMachineTemplatesUpdateOptionalParams): Promise, VirtualMachineTemplatesUpdateResponse>>; - beginUpdateAndWait(resourceGroupName: string, virtualMachineTemplateName: string, body: ResourcePatch, options?: VirtualMachineTemplatesUpdateOptionalParams): Promise; + beginCreateOrUpdate(resourceGroupName: string, virtualMachineTemplateName: string, resource: VirtualMachineTemplate, options?: VirtualMachineTemplatesCreateOrUpdateOptionalParams): Promise, VirtualMachineTemplatesCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, virtualMachineTemplateName: string, resource: VirtualMachineTemplate, options?: VirtualMachineTemplatesCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesDeleteOptionalParams): Promise, VirtualMachineTemplatesDeleteResponse>>; + beginDeleteAndWait(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesDeleteOptionalParams): Promise; + beginUpdate(resourceGroupName: string, virtualMachineTemplateName: string, properties: VirtualMachineTemplateTagsUpdate, options?: VirtualMachineTemplatesUpdateOptionalParams): Promise, VirtualMachineTemplatesUpdateResponse>>; + beginUpdateAndWait(resourceGroupName: string, virtualMachineTemplateName: string, properties: VirtualMachineTemplateTagsUpdate, options?: VirtualMachineTemplatesUpdateOptionalParams): Promise; get(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesGetOptionalParams): Promise; listByResourceGroup(resourceGroupName: string, options?: VirtualMachineTemplatesListByResourceGroupOptionalParams): PagedAsyncIterableIterator; listBySubscription(options?: VirtualMachineTemplatesListBySubscriptionOptionalParams): PagedAsyncIterableIterator; } +// @public +export interface VirtualMachineTemplatesCreateOrUpdateHeaders { + retryAfter?: number; +} + // @public export interface VirtualMachineTemplatesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; @@ -897,13 +1192,22 @@ export interface VirtualMachineTemplatesCreateOrUpdateOptionalParams extends cor // @public export type VirtualMachineTemplatesCreateOrUpdateResponse = VirtualMachineTemplate; +// @public +export interface VirtualMachineTemplatesDeleteHeaders { + location?: string; + retryAfter?: number; +} + // @public export interface VirtualMachineTemplatesDeleteOptionalParams extends coreClient.OperationOptions { - force?: boolean; + force?: ForceDelete; resumeFrom?: string; updateIntervalInMs?: number; } +// @public +export type VirtualMachineTemplatesDeleteResponse = VirtualMachineTemplatesDeleteHeaders; + // @public export interface VirtualMachineTemplatesGetOptionalParams extends coreClient.OperationOptions { } @@ -939,6 +1243,12 @@ export interface VirtualMachineTemplatesListBySubscriptionOptionalParams extends // @public export type VirtualMachineTemplatesListBySubscriptionResponse = VirtualMachineTemplateListResult; +// @public +export interface VirtualMachineTemplatesUpdateHeaders { + location?: string; + retryAfter?: number; +} + // @public export interface VirtualMachineTemplatesUpdateOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; @@ -949,37 +1259,16 @@ export interface VirtualMachineTemplatesUpdateOptionalParams extends coreClient. export type VirtualMachineTemplatesUpdateResponse = VirtualMachineTemplate; // @public -export interface VirtualMachineUpdate { - properties?: VirtualMachineUpdateProperties; +export interface VirtualMachineTemplateTagsUpdate { tags?: { [propertyName: string]: string; }; } // @public -export interface VirtualMachineUpdateProperties { - availabilitySets?: AvailabilitySetListItem[]; - hardwareProfile?: HardwareProfileUpdate; - networkProfile?: NetworkProfileUpdate; - storageProfile?: StorageProfileUpdate; -} - -// @public -export interface VirtualNetwork { +export interface VirtualNetwork extends TrackedResource { extendedLocation: ExtendedLocation; - readonly id?: string; - inventoryItemId?: string; - location: string; - readonly name?: string; - readonly networkName?: string; - readonly provisioningState?: string; - readonly systemData?: SystemData; - tags?: { - [propertyName: string]: string; - }; - readonly type?: string; - uuid?: string; - vmmServerId?: string; + properties?: VirtualNetworkProperties; } // @public @@ -989,23 +1278,37 @@ export interface VirtualNetworkInventoryItem extends InventoryItemProperties { // @public export interface VirtualNetworkListResult { - nextLink?: string; - value?: VirtualNetwork[]; + readonly nextLink?: string; + value: VirtualNetwork[]; +} + +// @public +export interface VirtualNetworkProperties { + inventoryItemId?: string; + readonly networkName?: string; + readonly provisioningState?: ResourceProvisioningState; + uuid?: string; + vmmServerId?: string; } // @public export interface VirtualNetworks { - beginCreateOrUpdate(resourceGroupName: string, virtualNetworkName: string, body: VirtualNetwork, options?: VirtualNetworksCreateOrUpdateOptionalParams): Promise, VirtualNetworksCreateOrUpdateResponse>>; - beginCreateOrUpdateAndWait(resourceGroupName: string, virtualNetworkName: string, body: VirtualNetwork, options?: VirtualNetworksCreateOrUpdateOptionalParams): Promise; - beginDelete(resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksDeleteOptionalParams): Promise, void>>; - beginDeleteAndWait(resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksDeleteOptionalParams): Promise; - beginUpdate(resourceGroupName: string, virtualNetworkName: string, body: ResourcePatch, options?: VirtualNetworksUpdateOptionalParams): Promise, VirtualNetworksUpdateResponse>>; - beginUpdateAndWait(resourceGroupName: string, virtualNetworkName: string, body: ResourcePatch, options?: VirtualNetworksUpdateOptionalParams): Promise; + beginCreateOrUpdate(resourceGroupName: string, virtualNetworkName: string, resource: VirtualNetwork, options?: VirtualNetworksCreateOrUpdateOptionalParams): Promise, VirtualNetworksCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, virtualNetworkName: string, resource: VirtualNetwork, options?: VirtualNetworksCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksDeleteOptionalParams): Promise, VirtualNetworksDeleteResponse>>; + beginDeleteAndWait(resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksDeleteOptionalParams): Promise; + beginUpdate(resourceGroupName: string, virtualNetworkName: string, properties: VirtualNetworkTagsUpdate, options?: VirtualNetworksUpdateOptionalParams): Promise, VirtualNetworksUpdateResponse>>; + beginUpdateAndWait(resourceGroupName: string, virtualNetworkName: string, properties: VirtualNetworkTagsUpdate, options?: VirtualNetworksUpdateOptionalParams): Promise; get(resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksGetOptionalParams): Promise; listByResourceGroup(resourceGroupName: string, options?: VirtualNetworksListByResourceGroupOptionalParams): PagedAsyncIterableIterator; listBySubscription(options?: VirtualNetworksListBySubscriptionOptionalParams): PagedAsyncIterableIterator; } +// @public +export interface VirtualNetworksCreateOrUpdateHeaders { + retryAfter?: number; +} + // @public export interface VirtualNetworksCreateOrUpdateOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; @@ -1015,13 +1318,22 @@ export interface VirtualNetworksCreateOrUpdateOptionalParams extends coreClient. // @public export type VirtualNetworksCreateOrUpdateResponse = VirtualNetwork; +// @public +export interface VirtualNetworksDeleteHeaders { + location?: string; + retryAfter?: number; +} + // @public export interface VirtualNetworksDeleteOptionalParams extends coreClient.OperationOptions { - force?: boolean; + force?: ForceDelete; resumeFrom?: string; updateIntervalInMs?: number; } +// @public +export type VirtualNetworksDeleteResponse = VirtualNetworksDeleteHeaders; + // @public export interface VirtualNetworksGetOptionalParams extends coreClient.OperationOptions { } @@ -1057,6 +1369,12 @@ export interface VirtualNetworksListBySubscriptionOptionalParams extends coreCli // @public export type VirtualNetworksListBySubscriptionResponse = VirtualNetworkListResult; +// @public +export interface VirtualNetworksUpdateHeaders { + location?: string; + retryAfter?: number; +} + // @public export interface VirtualNetworksUpdateOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; @@ -1067,49 +1385,103 @@ export interface VirtualNetworksUpdateOptionalParams extends coreClient.Operatio export type VirtualNetworksUpdateResponse = VirtualNetwork; // @public -export interface VMMServer { - readonly connectionStatus?: string; - credentials?: VMMServerPropertiesCredentials; - readonly errorMessage?: string; - extendedLocation: ExtendedLocation; - fqdn: string; - readonly id?: string; - location: string; - readonly name?: string; - port?: number; - readonly provisioningState?: string; - readonly systemData?: SystemData; +export interface VirtualNetworkTagsUpdate { tags?: { [propertyName: string]: string; }; - readonly type?: string; - readonly uuid?: string; - readonly version?: string; } // @public -export interface VMMServerListResult { - nextLink?: string; - value?: VMMServer[]; +export interface VmInstanceHybridIdentityMetadata extends ProxyResource { + properties?: VmInstanceHybridIdentityMetadataProperties; +} + +// @public +export interface VmInstanceHybridIdentityMetadataListResult { + readonly nextLink?: string; + value: VmInstanceHybridIdentityMetadata[]; +} + +// @public +export interface VmInstanceHybridIdentityMetadataProperties { + readonly provisioningState?: ResourceProvisioningState; + publicKey?: string; + resourceUid?: string; +} + +// @public +export interface VmInstanceHybridIdentityMetadatas { + get(resourceUri: string, options?: VmInstanceHybridIdentityMetadatasGetOptionalParams): Promise; + listByVirtualMachineInstance(resourceUri: string, options?: VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface VmInstanceHybridIdentityMetadatasGetOptionalParams extends coreClient.OperationOptions { } // @public -export interface VMMServerPropertiesCredentials { +export type VmInstanceHybridIdentityMetadatasGetResponse = VmInstanceHybridIdentityMetadata; + +// @public +export interface VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceNextResponse = VmInstanceHybridIdentityMetadataListResult; + +// @public +export interface VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceResponse = VmInstanceHybridIdentityMetadataListResult; + +// @public +export interface VmmCredential { password?: string; username?: string; } +// @public +export interface VmmServer extends TrackedResource { + extendedLocation: ExtendedLocation; + properties?: VmmServerProperties; +} + +// @public +export interface VmmServerListResult { + readonly nextLink?: string; + value: VmmServer[]; +} + +// @public +export interface VmmServerProperties { + readonly connectionStatus?: string; + credentials?: VmmCredential; + readonly errorMessage?: string; + fqdn: string; + port?: number; + readonly provisioningState?: ResourceProvisioningState; + readonly uuid?: string; + readonly version?: string; +} + // @public export interface VmmServers { - beginCreateOrUpdate(resourceGroupName: string, vmmServerName: string, body: VMMServer, options?: VmmServersCreateOrUpdateOptionalParams): Promise, VmmServersCreateOrUpdateResponse>>; - beginCreateOrUpdateAndWait(resourceGroupName: string, vmmServerName: string, body: VMMServer, options?: VmmServersCreateOrUpdateOptionalParams): Promise; - beginDelete(resourceGroupName: string, vmmServerName: string, options?: VmmServersDeleteOptionalParams): Promise, void>>; - beginDeleteAndWait(resourceGroupName: string, vmmServerName: string, options?: VmmServersDeleteOptionalParams): Promise; - beginUpdate(resourceGroupName: string, vmmServerName: string, body: ResourcePatch, options?: VmmServersUpdateOptionalParams): Promise, VmmServersUpdateResponse>>; - beginUpdateAndWait(resourceGroupName: string, vmmServerName: string, body: ResourcePatch, options?: VmmServersUpdateOptionalParams): Promise; + beginCreateOrUpdate(resourceGroupName: string, vmmServerName: string, resource: VmmServer, options?: VmmServersCreateOrUpdateOptionalParams): Promise, VmmServersCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, vmmServerName: string, resource: VmmServer, options?: VmmServersCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, vmmServerName: string, options?: VmmServersDeleteOptionalParams): Promise, VmmServersDeleteResponse>>; + beginDeleteAndWait(resourceGroupName: string, vmmServerName: string, options?: VmmServersDeleteOptionalParams): Promise; + beginUpdate(resourceGroupName: string, vmmServerName: string, properties: VmmServerTagsUpdate, options?: VmmServersUpdateOptionalParams): Promise, VmmServersUpdateResponse>>; + beginUpdateAndWait(resourceGroupName: string, vmmServerName: string, properties: VmmServerTagsUpdate, options?: VmmServersUpdateOptionalParams): Promise; get(resourceGroupName: string, vmmServerName: string, options?: VmmServersGetOptionalParams): Promise; - listByResourceGroup(resourceGroupName: string, options?: VmmServersListByResourceGroupOptionalParams): PagedAsyncIterableIterator; - listBySubscription(options?: VmmServersListBySubscriptionOptionalParams): PagedAsyncIterableIterator; + listByResourceGroup(resourceGroupName: string, options?: VmmServersListByResourceGroupOptionalParams): PagedAsyncIterableIterator; + listBySubscription(options?: VmmServersListBySubscriptionOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface VmmServersCreateOrUpdateHeaders { + retryAfter?: number; } // @public @@ -1119,49 +1491,64 @@ export interface VmmServersCreateOrUpdateOptionalParams extends coreClient.Opera } // @public -export type VmmServersCreateOrUpdateResponse = VMMServer; +export type VmmServersCreateOrUpdateResponse = VmmServer; + +// @public +export interface VmmServersDeleteHeaders { + location?: string; + retryAfter?: number; +} // @public export interface VmmServersDeleteOptionalParams extends coreClient.OperationOptions { - force?: boolean; + force?: ForceDelete; resumeFrom?: string; updateIntervalInMs?: number; } +// @public +export type VmmServersDeleteResponse = VmmServersDeleteHeaders; + // @public export interface VmmServersGetOptionalParams extends coreClient.OperationOptions { } // @public -export type VmmServersGetResponse = VMMServer; +export type VmmServersGetResponse = VmmServer; // @public export interface VmmServersListByResourceGroupNextOptionalParams extends coreClient.OperationOptions { } // @public -export type VmmServersListByResourceGroupNextResponse = VMMServerListResult; +export type VmmServersListByResourceGroupNextResponse = VmmServerListResult; // @public export interface VmmServersListByResourceGroupOptionalParams extends coreClient.OperationOptions { } // @public -export type VmmServersListByResourceGroupResponse = VMMServerListResult; +export type VmmServersListByResourceGroupResponse = VmmServerListResult; // @public export interface VmmServersListBySubscriptionNextOptionalParams extends coreClient.OperationOptions { } // @public -export type VmmServersListBySubscriptionNextResponse = VMMServerListResult; +export type VmmServersListBySubscriptionNextResponse = VmmServerListResult; // @public export interface VmmServersListBySubscriptionOptionalParams extends coreClient.OperationOptions { } // @public -export type VmmServersListBySubscriptionResponse = VMMServerListResult; +export type VmmServersListBySubscriptionResponse = VmmServerListResult; + +// @public +export interface VmmServersUpdateHeaders { + location?: string; + retryAfter?: number; +} // @public export interface VmmServersUpdateOptionalParams extends coreClient.OperationOptions { @@ -1170,7 +1557,14 @@ export interface VmmServersUpdateOptionalParams extends coreClient.OperationOpti } // @public -export type VmmServersUpdateResponse = VMMServer; +export type VmmServersUpdateResponse = VmmServer; + +// @public +export interface VmmServerTagsUpdate { + tags?: { + [propertyName: string]: string; + }; +} // (No @packageDocumentation comment for this package) diff --git a/sdk/scvmm/arm-scvmm/src/index.ts b/sdk/scvmm/arm-scvmm/src/index.ts index d557fa536514..aa31618ba97c 100644 --- a/sdk/scvmm/arm-scvmm/src/index.ts +++ b/sdk/scvmm/arm-scvmm/src/index.ts @@ -9,5 +9,5 @@ /// export { getContinuationToken } from "./pagingHelper"; export * from "./models"; -export { Scvmm } from "./scvmm"; +export { ScVmm } from "./scVmm"; export * from "./operationsInterfaces"; diff --git a/sdk/scvmm/arm-scvmm/src/lroImpl.ts b/sdk/scvmm/arm-scvmm/src/lroImpl.ts index 518d5f053b4e..b27f5ac7209b 100644 --- a/sdk/scvmm/arm-scvmm/src/lroImpl.ts +++ b/sdk/scvmm/arm-scvmm/src/lroImpl.ts @@ -6,29 +6,37 @@ * 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 class LroImpl implements LongRunningOperation { - constructor( - private sendOperationFn: (args: any, spec: any) => Promise>, - private args: Record, - private spec: { - readonly requestBody?: unknown; - readonly path?: string; - readonly httpMethod: string; - } & Record, - public requestPath: string = spec.path!, - public requestMethod: string = spec.httpMethod - ) {} - public async sendInitialRequest(): Promise> { - return this.sendOperationFn(this.args, this.spec); - } - public async sendPollRequest(path: string): Promise> { - const { requestBody, ...restSpec } = this.spec; - return this.sendOperationFn(this.args, { - ...restSpec, - path, - httpMethod: "GET" - }); - } +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/scvmm/arm-scvmm/src/models/index.ts b/sdk/scvmm/arm-scvmm/src/models/index.ts index c1048aaf1ee8..0286eb1e60e0 100644 --- a/sdk/scvmm/arm-scvmm/src/models/index.ts +++ b/sdk/scvmm/arm-scvmm/src/models/index.ts @@ -11,344 +11,206 @@ import * as coreClient from "@azure/core-client"; export type InventoryItemPropertiesUnion = | InventoryItemProperties | CloudInventoryItem - | VirtualNetworkInventoryItem + | VirtualMachineInventoryItem | VirtualMachineTemplateInventoryItem - | VirtualMachineInventoryItem; + | VirtualNetworkInventoryItem; -/** The VmmServers resource definition. */ -export interface VMMServer { - /** - * Resource Id - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly id?: string; - /** - * Resource Name - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly name?: string; +/** The response of a VirtualMachineInstance list operation. */ +export interface VirtualMachineInstanceListResult { + /** The VirtualMachineInstance items on this page */ + value: VirtualMachineInstance[]; /** - * Resource Type + * The link to the next page of items * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly type?: string; - /** Gets or sets the location. */ - location: string; - /** Resource tags */ - tags?: { [propertyName: string]: string }; - /** - * The system data. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly systemData?: SystemData; - /** The extended location. */ - extendedLocation: ExtendedLocation; - /** Credentials to connect to VMMServer. */ - credentials?: VMMServerPropertiesCredentials; - /** Fqdn is the hostname/ip of the vmmServer. */ - fqdn: string; - /** Port is the port on which the vmmServer is listening. */ - port?: number; - /** - * Gets or sets the connection status to the vmmServer. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly connectionStatus?: string; - /** - * Gets or sets any error message if connection to vmmServer is having any issue. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly errorMessage?: string; - /** - * Unique ID of vmmServer. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly uuid?: string; - /** - * Version is the version of the vmmSever. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly version?: string; - /** - * Gets or sets the provisioning state. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: string; -} - -/** Credentials to connect to VMMServer. */ -export interface VMMServerPropertiesCredentials { - /** Username to use to connect to VMMServer. */ - username?: string; - /** Credentials to use to connect to VMMServer. */ - password?: string; + readonly nextLink?: string; } -/** 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; -} - -/** The extended location. */ -export interface ExtendedLocation { - /** The extended location type. */ - type?: string; - /** The extended location name. */ - name?: string; -} - -/** Error response. */ -export interface ErrorResponse { - /** The error details. */ - error?: ErrorDefinition; -} - -/** Error definition. */ -export interface ErrorDefinition { - /** - * Service specific error code which serves as the substatus for the HTTP error code. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly code?: string; +/** Defines the resource properties. */ +export interface VirtualMachineInstanceProperties { + /** Availability Sets in vm. */ + availabilitySets?: AvailabilitySetListItem[]; + /** OS properties. */ + osProfile?: OsProfileForVmInstance; + /** Hardware properties. */ + hardwareProfile?: HardwareProfile; + /** Network properties. */ + networkProfile?: NetworkProfile; + /** Storage properties. */ + storageProfile?: StorageProfile; + /** Gets the infrastructure profile. */ + infrastructureProfile?: InfrastructureProfile; /** - * Description of the error. + * Gets the power state of the virtual machine. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly message?: string; + readonly powerState?: string; /** - * Internal error details. + * Provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly details?: ErrorDefinition[]; -} - -/** Object containing tags updates for patch operations. */ -export interface ResourcePatch { - /** Resource tags. */ - tags?: { [propertyName: string]: string }; -} - -/** List of VmmServers. */ -export interface VMMServerListResult { - /** List of VmmServers. */ - value?: VMMServer[]; - /** Url to follow for getting next page of resources. */ - nextLink?: string; -} - -/** Results of the request to list operations. */ -export interface ResourceProviderOperationList { - /** List of Operations. */ - value?: ResourceProviderOperation[]; - /** Url to follow for getting next page of resources. */ - nextLink?: string; + readonly provisioningState?: ResourceProvisioningState; } -/** Results of the request to list operations. */ -export interface ResourceProviderOperation { - /** Indicates whether the operation applies to data-plane. */ - isDataAction?: string; - /** Operation name, in format of {provider}/{resource}/{operation}. */ +/** Availability Set model */ +export interface AvailabilitySetListItem { + /** Gets the ARM Id of the microsoft.scvmm/availabilitySets resource. */ + id?: string; + /** Gets or sets the name of the availability set. */ name?: string; - /** Display metadata associated with the operation. */ - display?: ResourceProviderOperationDisplay; -} - -/** Display metadata associated with the operation. */ -export interface ResourceProviderOperationDisplay { - /** The resource provider. */ - provider?: string; - /** Resource on which the operation is performed. */ - resource?: string; - /** Type of operation: read, write, delete, etc. */ - operation?: string; - /** Description of this operation. */ - description?: string; } -/** The Clouds resource definition. */ -export interface Cloud { - /** - * Resource Id - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly id?: string; - /** - * Resource Name - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly name?: string; - /** - * Resource Type - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly type?: string; - /** Gets or sets the location. */ - location: string; - /** Resource tags */ - tags?: { [propertyName: string]: string }; +/** Defines the resource properties. */ +export interface OsProfileForVmInstance { /** - * The system data. - * NOTE: This property will not be serialized. It can only be populated by the server. + * Admin password of the virtual machine. + * This value contains a credential. Consider obscuring before showing to users */ - readonly systemData?: SystemData; - /** The extended location. */ - extendedLocation: ExtendedLocation; - /** Gets or sets the inventory Item ID for the resource. */ - inventoryItemId?: string; - /** Unique ID of the cloud. */ - uuid?: string; - /** ARM Id of the vmmServer resource in which this resource resides. */ - vmmServerId?: string; + adminPassword?: string; + /** Gets or sets computer name. */ + computerName?: string; /** - * Name of the cloud in VMMServer. + * Gets the type of the os. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly cloudName?: string; + readonly osType?: OsType; /** - * Capacity of the cloud. + * Gets os sku. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly cloudCapacity?: CloudCapacity; + readonly osSku?: string; /** - * List of QoS policies available for the cloud. + * Gets os version. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly storageQoSPolicies?: StorageQoSPolicy[]; + readonly osVersion?: string; +} + +/** Defines the resource properties. */ +export interface HardwareProfile { + /** MemoryMB is the size of a virtual machine's memory, in MB. */ + memoryMB?: number; + /** Gets or sets the number of vCPUs for the vm. */ + cpuCount?: number; + /** Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs. */ + limitCpuForMigration?: LimitCpuForMigration; + /** Gets or sets a value indicating whether to enable dynamic memory or not. */ + dynamicMemoryEnabled?: DynamicMemoryEnabled; + /** Gets or sets the max dynamic memory for the vm. */ + dynamicMemoryMaxMB?: number; + /** Gets or sets the min dynamic memory for the vm. */ + dynamicMemoryMinMB?: number; /** - * Gets or sets the provisioning state. + * Gets highly available property. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: string; + readonly isHighlyAvailable?: IsHighlyAvailable; } -/** Cloud Capacity model */ -export interface CloudCapacity { - /** CPUCount specifies the maximum number of CPUs that can be allocated in the cloud. */ - cpuCount?: number; - /** MemoryMB specifies a memory usage limit in megabytes. */ - memoryMB?: number; - /** VMCount gives the max number of VMs that can be deployed in the cloud. */ - vmCount?: number; +/** Defines the resource properties. */ +export interface NetworkProfile { + /** Gets or sets the list of network interfaces associated with the virtual machine. */ + networkInterfaces?: NetworkInterface[]; } -/** The StorageQoSPolicy definition. */ -export interface StorageQoSPolicy { - /** The name of the policy. */ +/** Network Interface model */ +export interface NetworkInterface { + /** Gets or sets the name of the network interface. */ name?: string; - /** The ID of the QoS policy. */ - id?: string; - /** The maximum IO operations per second. */ - iopsMaximum?: number; - /** The minimum IO operations per second. */ - iopsMinimum?: number; - /** The Bandwidth Limit for internet traffic. */ - bandwidthLimit?: number; - /** The underlying policy. */ - policyId?: string; -} - -/** List of Clouds. */ -export interface CloudListResult { - /** List of Clouds. */ - value?: Cloud[]; - /** Url to follow for getting next page of resources. */ - nextLink?: string; -} - -/** The VirtualNetworks resource definition. */ -export interface VirtualNetwork { - /** - * Resource Id - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly id?: string; /** - * Resource Name + * Gets the display name of the network interface as shown in the vmmServer. This is the fallback label for a NIC when the name is not set. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: string; + readonly displayName?: string; /** - * Resource Type + * Gets the nic ipv4 addresses. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly type?: string; - /** Gets or sets the location. */ - location: string; - /** Resource tags */ - tags?: { [propertyName: string]: string }; + readonly ipv4Addresses?: string[]; /** - * The system data. + * Gets the nic ipv6 addresses. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly systemData?: SystemData; - /** The extended location. */ - extendedLocation: ExtendedLocation; - /** Gets or sets the inventory Item ID for the resource. */ - inventoryItemId?: string; - /** Unique ID of the virtual network. */ - uuid?: string; - /** ARM Id of the vmmServer resource in which this resource resides. */ - vmmServerId?: string; + readonly ipv6Addresses?: string[]; + /** Gets or sets the nic MAC address. */ + macAddress?: string; + /** Gets or sets the ARM Id of the Microsoft.ScVmm/virtualNetwork resource to connect the nic. */ + virtualNetworkId?: string; /** - * Name of the virtual network in vmmServer. + * Gets the name of the virtual network in vmmServer that the nic is connected to. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly networkName?: string; - /** - * Gets or sets the provisioning state. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: string; + /** Gets or sets the ipv4 address type. */ + ipv4AddressType?: AllocationMethod; + /** Gets or sets the ipv6 address type. */ + ipv6AddressType?: AllocationMethod; + /** Gets or sets the mac address type. */ + macAddressType?: AllocationMethod; + /** Gets or sets the nic id. */ + nicId?: string; } -/** List of VirtualNetworks. */ -export interface VirtualNetworkListResult { - /** List of VirtualNetworks. */ - value?: VirtualNetwork[]; - /** Url to follow for getting next page of resources. */ - nextLink?: string; +/** Defines the resource properties. */ +export interface StorageProfile { + /** Gets or sets the list of virtual disks associated with the virtual machine. */ + disks?: VirtualDisk[]; } -/** The VirtualMachines resource definition. */ -export interface VirtualMachine { +/** Virtual disk model */ +export interface VirtualDisk { + /** Gets or sets the name of the disk. */ + name?: string; /** - * Resource Id + * Gets the display name of the virtual disk as shown in the vmmServer. This is the fallback label for a disk when the name is not set. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly id?: string; + readonly displayName?: string; + /** Gets or sets the disk id. */ + diskId?: string; + /** Gets or sets the disk total size. */ + diskSizeGB?: number; /** - * Resource Name + * Gets the max disk size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: string; + readonly maxDiskSizeGB?: number; + /** Gets or sets the disk bus. */ + bus?: number; + /** Gets or sets the disk lun. */ + lun?: number; + /** Gets or sets the disk bus type. */ + busType?: string; + /** Gets or sets the disk vhd type. */ + vhdType?: string; /** - * Resource Type + * Gets the disk volume type. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly type?: string; - /** Gets or sets the location. */ - location: string; - /** Resource tags */ - tags?: { [propertyName: string]: string }; + readonly volumeType?: string; /** - * The system data. + * Gets the disk vhd format type. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly systemData?: SystemData; - /** The extended location. */ - extendedLocation: ExtendedLocation; + readonly vhdFormatType?: string; + /** Gets or sets the disk id in the template. */ + templateDiskId?: string; + /** The QoS policy for the disk. */ + storageQosPolicy?: StorageQosPolicyDetails; + /** Gets or sets a value indicating diff disk. */ + createDiffDisk?: CreateDiffDisk; +} + +/** The StorageQoSPolicyDetails definition. */ +export interface StorageQosPolicyDetails { + /** The name of the policy. */ + name?: string; + /** The ID of the QoS policy. */ + id?: string; +} + +/** Specifies the vmmServer infrastructure specific settings for the virtual machine instance. */ +export interface InfrastructureProfile { /** Gets or sets the inventory Item ID for the resource. */ inventoryItemId?: string; /** ARM Id of the vmmServer resource in which this resource resides. */ @@ -357,217 +219,158 @@ export interface VirtualMachine { cloudId?: string; /** ARM Id of the template resource to use for deploying the vm. */ templateId?: string; - /** Type of checkpoint supported for the vm. */ - checkpointType?: string; - /** Checkpoints in the vm. */ - checkpoints?: Checkpoint[]; - /** Availability Sets in vm. */ - availabilitySets?: AvailabilitySetListItem[]; - /** OS properties. */ - osProfile?: OsProfile; - /** Hardware properties. */ - hardwareProfile?: HardwareProfile; - /** Network properties. */ - networkProfile?: NetworkProfile; - /** Storage properties. */ - storageProfile?: StorageProfile; - /** VMName is the name of VM on the SCVMM server. */ + /** VMName is the name of VM on the SCVmm server. */ vmName?: string; /** Unique ID of the virtual machine. */ uuid?: string; - /** Gets or sets the generation for the vm. */ - generation?: number; /** - * Gets the power state of the virtual machine. + * Last restored checkpoint in the vm. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly powerState?: string; + readonly lastRestoredVmCheckpoint?: Checkpoint; /** - * Gets or sets the provisioning state. + * Checkpoints in the vm. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: string; + readonly checkpoints?: Checkpoint[]; + /** Type of checkpoint supported for the vm. */ + checkpointType?: string; + /** Gets or sets the generation for the vm. */ + generation?: number; + /** Gets or sets the bios guid for the vm. */ + biosGuid?: string; } /** Defines the resource properties. */ export interface Checkpoint { /** Gets ID of parent of the checkpoint. */ - parentCheckpointID?: string; + parentCheckpointId?: string; /** Gets ID of the checkpoint. */ - checkpointID?: string; + checkpointId?: string; /** Gets name of the checkpoint. */ name?: string; /** Gets description of the checkpoint. */ description?: string; } -/** Availability Set model */ -export interface AvailabilitySetListItem { - /** Gets the ARM Id of the microsoft.scvmm/availabilitySets resource. */ - id?: string; - /** Gets or sets the name of the availability set. */ +/** The extended location. */ +export interface ExtendedLocation { + /** The extended location type. */ + type?: string; + /** The extended location name. */ name?: string; } -/** Defines the resource properties. */ -export interface OsProfile { - /** Admin password of the virtual machine. */ - adminPassword?: string; - /** Gets or sets computer name. */ - computerName?: string; +/** Common fields that are returned in the response for all Azure Resource Manager resources */ +export interface Resource { /** - * Gets or sets the type of the os. + * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly osType?: OsType; + readonly id?: string; /** - * Gets or sets os name. + * The name of the resource * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly osName?: string; -} - -/** Defines the resource properties. */ -export interface HardwareProfile { - /** MemoryMB is the size of a virtual machine's memory, in MB. */ - memoryMB?: number; - /** Gets or sets the number of vCPUs for the vm. */ - cpuCount?: number; - /** Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs. */ - limitCpuForMigration?: LimitCpuForMigration; - /** Gets or sets a value indicating whether to enable dynamic memory or not. */ - dynamicMemoryEnabled?: DynamicMemoryEnabled; - /** Gets or sets the max dynamic memory for the vm. */ - dynamicMemoryMaxMB?: number; - /** Gets or sets the min dynamic memory for the vm. */ - dynamicMemoryMinMB?: number; - /** Gets highly available property. */ - isHighlyAvailable?: string; -} - -/** Defines the resource properties. */ -export interface NetworkProfile { - /** Gets or sets the list of network interfaces associated with the virtual machine. */ - networkInterfaces?: NetworkInterfaces[]; -} - -/** Network Interface model */ -export interface NetworkInterfaces { - /** Gets or sets the name of the network interface. */ - name?: string; + readonly name?: string; /** - * Gets the display name of the network interface as shown in the vmmServer. This is the fallback label for a NIC when the name is not set. + * 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 displayName?: string; + 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; +} + +/** 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 { /** - * Gets or sets the nic ipv4 addresses. + * The error code. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly ipv4Addresses?: string[]; + readonly code?: string; /** - * Gets or sets the nic ipv6 addresses. + * The error message. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly ipv6Addresses?: string[]; - /** Gets or sets the nic MAC address. */ - macAddress?: string; - /** Gets or sets the ARM Id of the Microsoft.ScVmm/virtualNetwork resource to connect the nic. */ - virtualNetworkId?: string; + readonly message?: string; /** - * Gets or sets the name of the virtual network in vmmServer that the nic is connected to. + * The error target. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly networkName?: string; - /** Gets or sets the ipv4 address type. */ - ipv4AddressType?: AllocationMethod; - /** Gets or sets the ipv6 address type. */ - ipv6AddressType?: AllocationMethod; - /** Gets or sets the mac address type. */ - macAddressType?: AllocationMethod; - /** Gets or sets the nic id. */ - nicId?: string; -} - -/** Defines the resource properties. */ -export interface StorageProfile { - /** Gets or sets the list of virtual disks associated with the virtual machine. */ - disks?: VirtualDisk[]; -} - -/** Virtual disk model */ -export interface VirtualDisk { - /** Gets or sets the name of the disk. */ - name?: string; + readonly target?: string; /** - * Gets the display name of the virtual disk as shown in the vmmServer. This is the fallback label for a disk when the name is not set. + * The error details. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly displayName?: string; - /** Gets or sets the disk id. */ - diskId?: string; - /** Gets or sets the disk total size. */ - diskSizeGB?: number; + readonly details?: ErrorDetail[]; /** - * Gets or sets the max disk size. + * The error additional info. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly maxDiskSizeGB?: number; - /** Gets or sets the disk bus. */ - bus?: number; - /** Gets or sets the disk lun. */ - lun?: number; - /** Gets or sets the disk bus type. */ - busType?: string; - /** Gets or sets the disk vhd type. */ - vhdType?: string; + readonly additionalInfo?: ErrorAdditionalInfo[]; +} + +/** The resource management error additional info. */ +export interface ErrorAdditionalInfo { /** - * Gets or sets the disk volume type. + * The additional info type. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly volumeType?: string; + readonly type?: string; /** - * Gets the disk vhd format type. + * The additional info. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly vhdFormatType?: string; - /** Gets or sets the disk id in the template. */ - templateDiskId?: string; - /** The QoS policy for the disk. */ - storageQoSPolicy?: StorageQoSPolicyDetails; - /** Gets or sets a value indicating diff disk. */ - createDiffDisk?: CreateDiffDisk; -} - -/** The StorageQoSPolicyDetails definition. */ -export interface StorageQoSPolicyDetails { - /** The name of the policy. */ - name?: string; - /** The ID of the QoS policy. */ - id?: string; + readonly info?: Record; } -/** Defines the virtualMachineUpdate. */ -export interface VirtualMachineUpdate { - /** Defines the resource properties. */ - properties?: VirtualMachineUpdateProperties; - /** Gets or sets the Resource tags. */ - tags?: { [propertyName: string]: string }; +/** The type used for update operations of the VirtualMachineInstance. */ +export interface VirtualMachineInstanceUpdate { + /** The update properties of the VirtualMachineInstance. */ + properties?: VirtualMachineInstanceUpdateProperties; } -/** Defines the resource properties. */ -export interface VirtualMachineUpdateProperties { - /** Defines the resource properties. */ - hardwareProfile?: HardwareProfileUpdate; - /** Defines the resource properties. */ - storageProfile?: StorageProfileUpdate; - /** Defines the resource properties. */ - networkProfile?: NetworkProfileUpdate; +/** Virtual Machine Instance Properties Update model */ +export interface VirtualMachineInstanceUpdateProperties { /** Availability Sets in vm. */ availabilitySets?: AvailabilitySetListItem[]; + /** Hardware properties. */ + hardwareProfile?: HardwareProfileUpdate; + /** Network properties. */ + networkProfile?: NetworkProfileUpdate; + /** Storage properties. */ + storageProfile?: StorageProfileUpdate; + /** Gets the infrastructure profile. */ + infrastructureProfile?: InfrastructureProfileUpdate; } -/** Defines the resource properties. */ +/** Defines the resource update properties. */ export interface HardwareProfileUpdate { /** MemoryMB is the size of a virtual machine's memory, in MB. */ memoryMB?: number; @@ -583,13 +386,37 @@ export interface HardwareProfileUpdate { dynamicMemoryMinMB?: number; } -/** Defines the resource properties. */ +/** Defines the resource update properties. */ +export interface NetworkProfileUpdate { + /** Gets or sets the list of network interfaces associated with the virtual machine. */ + networkInterfaces?: NetworkInterfaceUpdate[]; +} + +/** Network Interface Update model */ +export interface NetworkInterfaceUpdate { + /** Gets or sets the name of the network interface. */ + name?: string; + /** Gets or sets the nic MAC address. */ + macAddress?: string; + /** Gets or sets the ARM Id of the Microsoft.ScVmm/virtualNetwork resource to connect the nic. */ + virtualNetworkId?: string; + /** Gets or sets the ipv4 address type. */ + ipv4AddressType?: AllocationMethod; + /** Gets or sets the ipv6 address type. */ + ipv6AddressType?: AllocationMethod; + /** Gets or sets the mac address type. */ + macAddressType?: AllocationMethod; + /** Gets or sets the nic id. */ + nicId?: string; +} + +/** Defines the resource update properties. */ export interface StorageProfileUpdate { /** Gets or sets the list of virtual disks associated with the virtual machine. */ disks?: VirtualDiskUpdate[]; } -/** Virtual disk model */ +/** Virtual Disk Update model */ export interface VirtualDiskUpdate { /** Gets or sets the name of the disk. */ name?: string; @@ -606,37 +433,13 @@ export interface VirtualDiskUpdate { /** Gets or sets the disk vhd type. */ vhdType?: string; /** The QoS policy for the disk. */ - storageQoSPolicy?: StorageQoSPolicyDetails; -} - -/** Defines the resource properties. */ -export interface NetworkProfileUpdate { - /** Gets or sets the list of network interfaces associated with the virtual machine. */ - networkInterfaces?: NetworkInterfacesUpdate[]; -} - -/** Network Interface model */ -export interface NetworkInterfacesUpdate { - /** Gets or sets the name of the network interface. */ - name?: string; - /** Gets or sets the nic MAC address. */ - macAddress?: string; - /** Gets or sets the ARM Id of the Microsoft.ScVmm/virtualNetwork resource to connect the nic. */ - virtualNetworkId?: string; - /** Gets or sets the ipv4 address type. */ - ipv4AddressType?: AllocationMethod; - /** Gets or sets the ipv6 address type. */ - ipv6AddressType?: AllocationMethod; - /** Gets or sets the mac address type. */ - macAddressType?: AllocationMethod; - /** Gets or sets the nic id. */ - nicId?: string; + storageQosPolicy?: StorageQosPolicyDetails; } -/** Defines the stop action properties. */ -export interface StopVirtualMachineOptions { - /** Gets or sets a value indicating whether to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Defaults to false. */ - skipShutdown?: boolean; +/** Specifies the vmmServer infrastructure specific update settings for the virtual machine instance. */ +export interface InfrastructureProfileUpdate { + /** Type of checkpoint supported for the vm. */ + checkpointType?: string; } /** Defines the create checkpoint action properties. */ @@ -653,48 +456,277 @@ export interface VirtualMachineDeleteCheckpoint { id?: string; } +/** The response of a GuestAgent list operation. */ +export interface GuestAgentListResult { + /** The GuestAgent items on this page */ + value: GuestAgent[]; + /** + * The link to the next page of items + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; +} + +/** Defines the resource properties. */ +export interface GuestAgentProperties { + /** + * Gets a unique identifier for this resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly uuid?: string; + /** Username / Password Credentials to provision guest agent. */ + credentials?: GuestCredential; + /** HTTP Proxy configuration for the VM. */ + httpProxyConfig?: HttpProxyConfiguration; + /** Gets or sets the guest agent provisioning action. */ + provisioningAction?: ProvisioningAction; + /** + * Gets the guest agent status. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly status?: string; + /** + * Gets the name of the corresponding resource in Kubernetes. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly customResourceName?: string; + /** + * Provisioning state of the resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ResourceProvisioningState; +} + +/** Username / Password Credentials to connect to guest. */ +export interface GuestCredential { + /** Gets or sets username to connect with the guest. */ + username: string; + /** + * Gets or sets the password to connect with the guest. + * This value contains a credential. Consider obscuring before showing to users + */ + password: string; +} + +/** HTTP Proxy configuration for the VM. */ +export interface HttpProxyConfiguration { + /** Gets or sets httpsProxy url. */ + httpsProxy?: string; +} + +/** The response of a VmInstanceHybridIdentityMetadata list operation. */ +export interface VmInstanceHybridIdentityMetadataListResult { + /** The VmInstanceHybridIdentityMetadata items on this page */ + value: VmInstanceHybridIdentityMetadata[]; + /** + * The link to the next page of items + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; +} + +/** Describes the properties of Hybrid Identity Metadata for a Virtual Machine. */ +export interface VmInstanceHybridIdentityMetadataProperties { + /** The unique identifier for the resource. */ + resourceUid?: string; + /** Gets or sets the Public Key. */ + publicKey?: string; + /** + * Provisioning state of the resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ResourceProvisioningState; +} + /** Defines the restore checkpoint action properties. */ export interface VirtualMachineRestoreCheckpoint { /** ID of the checkpoint to be restored to. */ id?: string; } -/** List of VirtualMachines. */ -export interface VirtualMachineListResult { - /** List of VirtualMachines. */ - value?: VirtualMachine[]; - /** Url to follow for getting next page of resources. */ - nextLink?: string; +/** Defines the stop action properties. */ +export interface StopVirtualMachineOptions { + /** Gets or sets a value indicating whether to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Defaults to false. */ + skipShutdown?: SkipShutdown; } -/** The VirtualMachineTemplates resource definition. */ -export interface VirtualMachineTemplate { +/** 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 AvailabilitySet list operation. */ +export interface AvailabilitySetListResult { + /** The AvailabilitySet items on this page */ + value: AvailabilitySet[]; + /** + * The link to the next page of items + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; +} + +/** Defines the resource properties. */ +export interface AvailabilitySetProperties { + /** Name of the availability set. */ + availabilitySetName?: string; + /** ARM Id of the vmmServer resource in which this resource resides. */ + vmmServerId?: string; + /** + * Provisioning state of the resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ResourceProvisioningState; +} + +/** The response of a Cloud list operation. */ +export interface CloudListResult { + /** The Cloud items on this page */ + value: Cloud[]; + /** + * The link to the next page of items + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; +} + +/** Defines the resource properties. */ +export interface CloudProperties { + /** Gets or sets the inventory Item ID for the resource. */ + inventoryItemId?: string; + /** Unique ID of the cloud. */ + uuid?: string; + /** ARM Id of the vmmServer resource in which this resource resides. */ + vmmServerId?: string; + /** + * Name of the cloud in VmmServer. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly cloudName?: string; + /** + * Capacity of the cloud. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly cloudCapacity?: CloudCapacity; + /** + * List of QoS policies available for the cloud. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly storageQosPolicies?: StorageQosPolicy[]; + /** + * Provisioning state of the resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ResourceProvisioningState; +} + +/** Cloud Capacity model */ +export interface CloudCapacity { /** - * Resource Id + * CPUCount specifies the maximum number of CPUs that can be allocated in the cloud. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly id?: string; + readonly cpuCount?: number; /** - * Resource Name + * MemoryMB specifies a memory usage limit in megabytes. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: string; + readonly memoryMB?: number; /** - * Resource Type + * VMCount gives the max number of VMs that can be deployed in the cloud. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly type?: string; - /** Gets or sets the location. */ - location: string; - /** Resource tags */ - tags?: { [propertyName: string]: string }; + readonly vmCount?: number; +} + +/** The StorageQoSPolicy definition. */ +export interface StorageQosPolicy { + /** The name of the policy. */ + name?: string; + /** The ID of the QoS policy. */ + id?: string; + /** The maximum IO operations per second. */ + iopsMaximum?: number; + /** The minimum IO operations per second. */ + iopsMinimum?: number; + /** The Bandwidth Limit for internet traffic. */ + bandwidthLimit?: number; + /** The underlying policy. */ + policyId?: string; +} + +/** The response of a VirtualMachineTemplate list operation. */ +export interface VirtualMachineTemplateListResult { + /** The VirtualMachineTemplate items on this page */ + value: VirtualMachineTemplate[]; /** - * The system data. + * The link to the next page of items * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly systemData?: SystemData; - /** The extended location. */ - extendedLocation: ExtendedLocation; + readonly nextLink?: string; +} + +/** Defines the resource properties. */ +export interface VirtualMachineTemplateProperties { /** Gets or sets the inventory Item ID for the resource. */ inventoryItemId?: string; /** Unique ID of the virtual machine template. */ @@ -702,17 +734,17 @@ export interface VirtualMachineTemplate { /** ARM Id of the vmmServer resource in which this resource resides. */ vmmServerId?: string; /** - * Gets or sets the type of the os. + * Gets the type of the os. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly osType?: OsType; /** - * Gets or sets os name. + * Gets os name. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly osName?: string; /** - * Gets or sets computer name. + * Gets computer name. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly computerName?: string; @@ -722,32 +754,32 @@ export interface VirtualMachineTemplate { */ readonly memoryMB?: number; /** - * Gets or sets the desired number of vCPUs for the vm. + * Gets the desired number of vCPUs for the vm. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly cpuCount?: number; /** - * Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs. + * Gets a value indicating whether to enable processor compatibility mode for live migration of VMs. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly limitCpuForMigration?: LimitCpuForMigration; /** - * Gets or sets a value indicating whether to enable dynamic memory or not. + * Gets a value indicating whether to enable dynamic memory or not. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly dynamicMemoryEnabled?: DynamicMemoryEnabled; /** - * Gets or sets a value indicating whether the vm template is customizable or not. + * Gets a value indicating whether the vm template is customizable or not. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly isCustomizable?: IsCustomizable; /** - * Gets or sets the max dynamic memory for the vm. + * Gets the max dynamic memory for the vm. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly dynamicMemoryMaxMB?: number; /** - * Gets or sets the min dynamic memory for the vm. + * Gets the min dynamic memory for the vm. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly dynamicMemoryMinMB?: number; @@ -755,82 +787,156 @@ export interface VirtualMachineTemplate { * Gets highly available property. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly isHighlyAvailable?: string; + readonly isHighlyAvailable?: IsHighlyAvailable; /** - * Gets or sets the generation for the vm. + * Gets the generation for the vm. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly generation?: number; /** - * Gets or sets the network interfaces of the template. + * Gets the network interfaces of the template. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly networkInterfaces?: NetworkInterfaces[]; + readonly networkInterfaces?: NetworkInterface[]; /** - * Gets or sets the disks of the template. + * Gets the disks of the template. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly disks?: VirtualDisk[]; /** - * Gets or sets the provisioning state. + * Provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: string; + readonly provisioningState?: ResourceProvisioningState; } -/** List of VirtualMachineTemplates. */ -export interface VirtualMachineTemplateListResult { - /** List of VirtualMachineTemplates. */ - value?: VirtualMachineTemplate[]; - /** Url to follow for getting next page of resources. */ - nextLink?: string; +/** The response of a VirtualNetwork list operation. */ +export interface VirtualNetworkListResult { + /** The VirtualNetwork items on this page */ + value: VirtualNetwork[]; + /** + * The link to the next page of items + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; } -/** The AvailabilitySets resource definition. */ -export interface AvailabilitySet { +/** Defines the resource properties. */ +export interface VirtualNetworkProperties { + /** Gets or sets the inventory Item ID for the resource. */ + inventoryItemId?: string; + /** Unique ID of the virtual network. */ + uuid?: string; + /** ARM Id of the vmmServer resource in which this resource resides. */ + vmmServerId?: string; /** - * Resource Id + * Name of the virtual network in vmmServer. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly id?: string; + readonly networkName?: string; /** - * Resource Name + * Provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: string; + readonly provisioningState?: ResourceProvisioningState; +} + +/** The response of a VmmServer list operation. */ +export interface VmmServerListResult { + /** The VmmServer items on this page */ + value: VmmServer[]; /** - * Resource Type + * The link to the next page of items * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly type?: string; - /** Gets or sets the location. */ - location?: string; - /** Resource tags */ - tags?: { [propertyName: string]: string }; + readonly nextLink?: string; +} + +/** Defines the resource properties. */ +export interface VmmServerProperties { + /** Credentials to connect to VmmServer. */ + credentials?: VmmCredential; + /** Fqdn is the hostname/ip of the vmmServer. */ + fqdn: string; + /** Port is the port on which the vmmServer is listening. */ + port?: number; /** - * The system data. + * Gets the connection status to the vmmServer. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly systemData?: SystemData; - /** The extended location. */ - extendedLocation?: ExtendedLocation; - /** Name of the availability set. */ - availabilitySetName?: string; - /** ARM Id of the vmmServer resource in which this resource resides. */ - vmmServerId?: string; + readonly connectionStatus?: string; + /** + * Gets any error message if connection to vmmServer is having any issue. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly errorMessage?: string; + /** + * Unique ID of vmmServer. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly uuid?: string; + /** + * Version is the version of the vmmSever. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly version?: string; /** - * Gets or sets the provisioning state. + * Provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: string; + readonly provisioningState?: ResourceProvisioningState; } -/** List of AvailabilitySets. */ -export interface AvailabilitySetListResult { - /** List of AvailabilitySets. */ - value?: AvailabilitySet[]; - /** Url to follow for getting next page of resources. */ - nextLink?: string; +/** Credentials to connect to VmmServer. */ +export interface VmmCredential { + /** Username to use to connect to VmmServer. */ + username?: string; + /** + * Password to use to connect to VmmServer. + * This value contains a credential. Consider obscuring before showing to users + */ + password?: string; +} + +/** The type used for updating tags in AvailabilitySet resources. */ +export interface AvailabilitySetTagsUpdate { + /** Resource tags. */ + tags?: { [propertyName: string]: string }; +} + +/** The type used for updating tags in Cloud resources. */ +export interface CloudTagsUpdate { + /** Resource tags. */ + tags?: { [propertyName: string]: string }; +} + +/** The type used for updating tags in VirtualMachineTemplate resources. */ +export interface VirtualMachineTemplateTagsUpdate { + /** Resource tags. */ + tags?: { [propertyName: string]: string }; +} + +/** The type used for updating tags in VirtualNetwork resources. */ +export interface VirtualNetworkTagsUpdate { + /** Resource tags. */ + tags?: { [propertyName: string]: string }; +} + +/** The type used for updating tags in VmmServer resources. */ +export interface VmmServerTagsUpdate { + /** Resource tags. */ + tags?: { [propertyName: string]: string }; +} + +/** The response of a InventoryItem list operation. */ +export interface InventoryItemListResult { + /** The InventoryItem items on this page */ + value: InventoryItem[]; + /** + * The link to the next page of items + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; } /** Defines the resource properties. */ @@ -838,76 +944,94 @@ export interface InventoryItemProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ inventoryType: | "Cloud" - | "VirtualNetwork" + | "VirtualMachine" | "VirtualMachineTemplate" - | "VirtualMachine"; + | "VirtualNetwork"; /** * Gets the tracked resource id corresponding to the inventory resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly managedResourceId?: string; /** - * Gets the UUID (which is assigned by VMM) for the inventory item. + * Gets the UUID (which is assigned by Vmm) for the inventory item. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly uuid?: string; /** - * Gets the Managed Object name in VMM for the inventory item. + * Gets the Managed Object name in Vmm for the inventory item. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly inventoryItemName?: string; /** - * Gets the provisioning state. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: 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" + * Provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly type?: string; -} - -/** List of InventoryItems. */ -export interface InventoryItemsList { - /** Url to follow for getting next page of InventoryItems. */ - nextLink?: string; - /** Array of InventoryItems */ - value: InventoryItem[]; + readonly provisioningState?: ResourceProvisioningState; } /** Defines the resource properties. */ export interface InventoryItemDetails { /** Gets or sets the inventory Item ID for the resource. */ inventoryItemId?: string; - /** Gets or sets the Managed Object name in VMM for the resource. */ + /** Gets or sets the Managed Object name in Vmm for the resource. */ inventoryItemName?: 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 {} + +/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */ +export interface TrackedResource extends Resource { + /** Resource tags. */ + tags?: { [propertyName: string]: string }; + /** The geo-location where the resource lives */ + location: string; +} + /** The Cloud inventory item. */ export interface CloudInventoryItem extends InventoryItemProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ inventoryType: "Cloud"; } -/** The Virtual network inventory item. */ -export interface VirtualNetworkInventoryItem extends InventoryItemProperties { +/** The Virtual machine inventory item. */ +export interface VirtualMachineInventoryItem extends InventoryItemProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ - inventoryType: "VirtualNetwork"; + inventoryType: "VirtualMachine"; + /** + * Gets the type of the os. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly osType?: OsType; + /** + * Gets os name. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly osName?: string; + /** + * Gets os version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly osVersion?: string; + /** + * Gets the power state of the virtual machine. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly powerState?: string; + /** Gets or sets the nic ip addresses. */ + ipAddresses?: string[]; + /** Cloud inventory resource details where the VM is present. */ + cloud?: InventoryItemDetails; + /** + * Gets the bios guid. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly biosGuid?: string; + /** + * Gets the tracked resource id corresponding to the inventory resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly managedMachineResourceId?: string; } /** The Virtual machine template inventory item. */ @@ -916,7 +1040,7 @@ export interface VirtualMachineTemplateInventoryItem /** Polymorphic discriminator, which specifies the different types this object can be */ inventoryType: "VirtualMachineTemplate"; /** - * Gets or sets the desired number of vCPUs for the vm. + * Gets the desired number of vCPUs for the vm. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly cpuCount?: number; @@ -926,122 +1050,289 @@ export interface VirtualMachineTemplateInventoryItem */ readonly memoryMB?: number; /** - * Gets or sets the type of the os. + * Gets the type of the os. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly osType?: OsType; /** - * Gets or sets os name. + * Gets os name. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly osName?: string; } -/** The Virtual machine inventory item. */ -export interface VirtualMachineInventoryItem extends InventoryItemProperties { +/** The Virtual network inventory item. */ +export interface VirtualNetworkInventoryItem extends InventoryItemProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ - inventoryType: "VirtualMachine"; - /** - * Gets or sets the type of the os. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly osType?: OsType; - /** - * Gets or sets os name. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly osName?: string; - /** - * Gets the power state of the virtual machine. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly powerState?: string; - /** Gets or sets the nic ip addresses. */ - ipAddresses?: string[]; - /** Cloud inventory resource details where the VM is present. */ - cloud?: InventoryItemDetails; + inventoryType: "VirtualNetwork"; +} + +/** Define the virtualMachineInstance. */ +export interface VirtualMachineInstance extends ProxyResource { + /** The resource-specific properties for this resource. */ + properties?: VirtualMachineInstanceProperties; + /** Gets or sets the extended location. */ + extendedLocation: ExtendedLocation; +} + +/** Defines the GuestAgent. */ +export interface GuestAgent extends ProxyResource { + /** The resource-specific properties for this resource. */ + properties?: GuestAgentProperties; +} + +/** Defines the HybridIdentityMetadata. */ +export interface VmInstanceHybridIdentityMetadata extends ProxyResource { + /** The resource-specific properties for this resource. */ + properties?: VmInstanceHybridIdentityMetadataProperties; +} + +/** Defines the inventory item. */ +export interface InventoryItem extends ProxyResource { + /** The resource-specific properties for this resource. */ + properties?: InventoryItemPropertiesUnion; + /** 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 AvailabilitySets resource definition. */ +export interface AvailabilitySet extends TrackedResource { + /** The resource-specific properties for this resource. */ + properties?: AvailabilitySetProperties; + /** The extended location. */ + extendedLocation: ExtendedLocation; +} + +/** The Clouds resource definition. */ +export interface Cloud extends TrackedResource { + /** The resource-specific properties for this resource. */ + properties?: CloudProperties; + /** The extended location. */ + extendedLocation: ExtendedLocation; +} + +/** The VirtualMachineTemplates resource definition. */ +export interface VirtualMachineTemplate extends TrackedResource { + /** The resource-specific properties for this resource. */ + properties?: VirtualMachineTemplateProperties; + /** The extended location. */ + extendedLocation: ExtendedLocation; +} + +/** The VirtualNetworks resource definition. */ +export interface VirtualNetwork extends TrackedResource { + /** The resource-specific properties for this resource. */ + properties?: VirtualNetworkProperties; + /** The extended location. */ + extendedLocation: ExtendedLocation; +} + +/** The VmmServers resource definition. */ +export interface VmmServer extends TrackedResource { + /** The resource-specific properties for this resource. */ + properties?: VmmServerProperties; + /** The extended location. */ + extendedLocation: ExtendedLocation; +} + +/** Defines headers for VirtualMachineInstances_createOrUpdate operation. */ +export interface VirtualMachineInstancesCreateOrUpdateHeaders { + /** The Retry-After header can indicate how long the client should wait before polling the operation status. */ + retryAfter?: number; +} + +/** Defines headers for VirtualMachineInstances_update operation. */ +export interface VirtualMachineInstancesUpdateHeaders { + /** 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 VirtualMachineInstances_delete operation. */ +export interface VirtualMachineInstancesDeleteHeaders { + /** 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 VirtualMachineInstances_createCheckpoint operation. */ +export interface VirtualMachineInstancesCreateCheckpointHeaders { + /** 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 VirtualMachineInstances_deleteCheckpoint operation. */ +export interface VirtualMachineInstancesDeleteCheckpointHeaders { + /** 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 VirtualMachineInstances_restart operation. */ +export interface VirtualMachineInstancesRestartHeaders { + /** 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 VirtualMachineInstances_restoreCheckpoint operation. */ +export interface VirtualMachineInstancesRestoreCheckpointHeaders { + /** 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; } -/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */ -export interface ProxyResource extends Resource {} +/** Defines headers for VirtualMachineInstances_start operation. */ +export interface VirtualMachineInstancesStartHeaders { + /** 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 the inventory item. */ -export interface InventoryItem extends ProxyResource { - /** - * The system data. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly systemData?: SystemData; - /** 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; - /** They inventory type. */ - inventoryType: InventoryType; - /** - * Gets the tracked resource id corresponding to the inventory resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly managedResourceId?: string; - /** - * Gets the UUID (which is assigned by VMM) for the inventory item. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly uuid?: string; - /** - * Gets the Managed Object name in VMM for the inventory item. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly inventoryItemName?: string; - /** - * Gets the provisioning state. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: string; +/** Defines headers for VirtualMachineInstances_stop operation. */ +export interface VirtualMachineInstancesStopHeaders { + /** 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 GuestAgents_create operation. */ +export interface GuestAgentsCreateHeaders { + /** The Retry-After header can indicate how long the client should wait before polling the operation status. */ + retryAfter?: number; } /** Defines headers for AvailabilitySets_createOrUpdate operation. */ export interface AvailabilitySetsCreateOrUpdateHeaders { - /** Tracking URL for long running operation. */ + /** A link to the status monitor */ azureAsyncOperation?: string; + /** The Retry-After header can indicate how long the client should wait before polling the operation status. */ + retryAfter?: number; +} + +/** Defines headers for AvailabilitySets_update operation. */ +export interface AvailabilitySetsUpdateHeaders { + /** 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 AvailabilitySets_delete operation. */ export interface AvailabilitySetsDeleteHeaders { - /** Tracking URL for long running operation. */ + /** A link to the status monitor */ azureAsyncOperation?: string; + /** 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 CreatedByType} that the service accepts. */ -export enum KnownCreatedByType { - /** User */ - User = "User", - /** Application */ - Application = "Application", - /** ManagedIdentity */ - ManagedIdentity = "ManagedIdentity", - /** Key */ - Key = "Key" +/** Defines headers for Clouds_createOrUpdate operation. */ +export interface CloudsCreateOrUpdateHeaders { + /** The Retry-After header can indicate how long the client should wait before polling the operation status. */ + retryAfter?: number; } -/** - * 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; +/** Defines headers for Clouds_update operation. */ +export interface CloudsUpdateHeaders { + /** 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 Clouds_delete operation. */ +export interface CloudsDeleteHeaders { + /** 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 VirtualMachineTemplates_createOrUpdate operation. */ +export interface VirtualMachineTemplatesCreateOrUpdateHeaders { + /** The Retry-After header can indicate how long the client should wait before polling the operation status. */ + retryAfter?: number; +} + +/** Defines headers for VirtualMachineTemplates_update operation. */ +export interface VirtualMachineTemplatesUpdateHeaders { + /** 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 VirtualMachineTemplates_delete operation. */ +export interface VirtualMachineTemplatesDeleteHeaders { + /** 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 VirtualNetworks_createOrUpdate operation. */ +export interface VirtualNetworksCreateOrUpdateHeaders { + /** The Retry-After header can indicate how long the client should wait before polling the operation status. */ + retryAfter?: number; +} + +/** Defines headers for VirtualNetworks_update operation. */ +export interface VirtualNetworksUpdateHeaders { + /** 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 VirtualNetworks_delete operation. */ +export interface VirtualNetworksDeleteHeaders { + /** 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 VmmServers_createOrUpdate operation. */ +export interface VmmServersCreateOrUpdateHeaders { + /** The Retry-After header can indicate how long the client should wait before polling the operation status. */ + retryAfter?: number; +} + +/** Defines headers for VmmServers_update operation. */ +export interface VmmServersUpdateHeaders { + /** 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 VmmServers_delete operation. */ +export interface VmmServersDeleteHeaders { + /** 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 OsType} that the service accepts. */ export enum KnownOsType { - /** Windows */ + /** Windows operating system. */ Windows = "Windows", - /** Linux */ + /** Linux operating system. */ Linux = "Linux", - /** Other */ - Other = "Other" + /** Other operating system. */ + Other = "Other", } /** @@ -1049,18 +1340,18 @@ export enum KnownOsType { * {@link KnownOsType} can be used interchangeably with OsType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Windows** \ - * **Linux** \ - * **Other** + * **Windows**: Windows operating system. \ + * **Linux**: Linux operating system. \ + * **Other**: Other operating system. */ export type OsType = string; /** Known values of {@link LimitCpuForMigration} that the service accepts. */ export enum KnownLimitCpuForMigration { - /** False */ + /** Enable limit CPU for migration. */ + True = "true", + /** Disable limit CPU for migration. */ False = "false", - /** True */ - True = "true" } /** @@ -1068,17 +1359,17 @@ export enum KnownLimitCpuForMigration { * {@link KnownLimitCpuForMigration} can be used interchangeably with LimitCpuForMigration, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **false** \ - * **true** + * **true**: Enable limit CPU for migration. \ + * **false**: Disable limit CPU for migration. */ export type LimitCpuForMigration = string; /** Known values of {@link DynamicMemoryEnabled} that the service accepts. */ export enum KnownDynamicMemoryEnabled { - /** False */ + /** Enable dynamic memory. */ + True = "true", + /** Disable dynamic memory. */ False = "false", - /** True */ - True = "true" } /** @@ -1086,17 +1377,35 @@ export enum KnownDynamicMemoryEnabled { * {@link KnownDynamicMemoryEnabled} can be used interchangeably with DynamicMemoryEnabled, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **false** \ - * **true** + * **true**: Enable dynamic memory. \ + * **false**: Disable dynamic memory. */ export type DynamicMemoryEnabled = string; +/** Known values of {@link IsHighlyAvailable} that the service accepts. */ +export enum KnownIsHighlyAvailable { + /** Enable highly available. */ + True = "true", + /** Disable highly available. */ + False = "false", +} + +/** + * Defines values for IsHighlyAvailable. \ + * {@link KnownIsHighlyAvailable} can be used interchangeably with IsHighlyAvailable, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **true**: Enable highly available. \ + * **false**: Disable highly available. + */ +export type IsHighlyAvailable = string; + /** Known values of {@link AllocationMethod} that the service accepts. */ export enum KnownAllocationMethod { - /** Dynamic */ + /** Dynamically allocated address. */ Dynamic = "Dynamic", - /** Static */ - Static = "Static" + /** Statically allocated address. */ + Static = "Static", } /** @@ -1104,17 +1413,17 @@ export enum KnownAllocationMethod { * {@link KnownAllocationMethod} can be used interchangeably with AllocationMethod, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Dynamic** \ - * **Static** + * **Dynamic**: Dynamically allocated address. \ + * **Static**: Statically allocated address. */ export type AllocationMethod = string; /** Known values of {@link CreateDiffDisk} that the service accepts. */ export enum KnownCreateDiffDisk { - /** False */ + /** Enable create diff disk. */ + True = "true", + /** Disable create diff disk. */ False = "false", - /** True */ - True = "true" } /** @@ -1122,17 +1431,188 @@ export enum KnownCreateDiffDisk { * {@link KnownCreateDiffDisk} can be used interchangeably with CreateDiffDisk, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **false** \ - * **true** + * **true**: Enable create diff disk. \ + * **false**: Disable create diff disk. */ export type CreateDiffDisk = string; +/** Known values of {@link ResourceProvisioningState} that the service accepts. */ +export enum KnownResourceProvisioningState { + /** Resource has been created. */ + Succeeded = "Succeeded", + /** Resource creation failed. */ + Failed = "Failed", + /** Resource creation was canceled. */ + Canceled = "Canceled", + /** The resource is provisioning. */ + Provisioning = "Provisioning", + /** The resource is updating. */ + Updating = "Updating", + /** The resource is being deleted. */ + Deleting = "Deleting", + /** The resource has been accepted. */ + Accepted = "Accepted", + /** The resource was created. */ + Created = "Created", +} + +/** + * Defines values for ResourceProvisioningState. \ + * {@link KnownResourceProvisioningState} can be used interchangeably with ResourceProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Succeeded**: Resource has been created. \ + * **Failed**: Resource creation failed. \ + * **Canceled**: Resource creation was canceled. \ + * **Provisioning**: The resource is provisioning. \ + * **Updating**: The resource is updating. \ + * **Deleting**: The resource is being deleted. \ + * **Accepted**: The resource has been accepted. \ + * **Created**: The resource was created. + */ +export type ResourceProvisioningState = 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 ForceDelete} that the service accepts. */ +export enum KnownForceDelete { + /** Enable force delete. */ + True = "true", + /** Disable force delete. */ + False = "false", +} + +/** + * Defines values for ForceDelete. \ + * {@link KnownForceDelete} can be used interchangeably with ForceDelete, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **true**: Enable force delete. \ + * **false**: Disable force delete. + */ +export type ForceDelete = string; + +/** Known values of {@link DeleteFromHost} that the service accepts. */ +export enum KnownDeleteFromHost { + /** Enable delete from host. */ + True = "true", + /** Disable delete from host. */ + False = "false", +} + +/** + * Defines values for DeleteFromHost. \ + * {@link KnownDeleteFromHost} can be used interchangeably with DeleteFromHost, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **true**: Enable delete from host. \ + * **false**: Disable delete from host. + */ +export type DeleteFromHost = string; + +/** Known values of {@link ProvisioningAction} that the service accepts. */ +export enum KnownProvisioningAction { + /** Install guest agent. */ + Install = "install", + /** Uninstall guest agent. */ + Uninstall = "uninstall", + /** Repair guest agent. */ + Repair = "repair", +} + +/** + * Defines values for ProvisioningAction. \ + * {@link KnownProvisioningAction} can be used interchangeably with ProvisioningAction, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **install**: Install guest agent. \ + * **uninstall**: Uninstall guest agent. \ + * **repair**: Repair guest agent. + */ +export type ProvisioningAction = string; + +/** Known values of {@link SkipShutdown} that the service accepts. */ +export enum KnownSkipShutdown { + /** Enable skip shutdown. */ + True = "true", + /** Disable skip shutdown. */ + False = "false", +} + +/** + * Defines values for SkipShutdown. \ + * {@link KnownSkipShutdown} can be used interchangeably with SkipShutdown, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **true**: Enable skip shutdown. \ + * **false**: Disable skip shutdown. + */ +export type SkipShutdown = 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 IsCustomizable} that the service accepts. */ export enum KnownIsCustomizable { - /** False */ + /** Enable customizable. */ + True = "true", + /** Disable customizable. */ False = "false", - /** True */ - True = "true" } /** @@ -1140,21 +1620,21 @@ export enum KnownIsCustomizable { * {@link KnownIsCustomizable} can be used interchangeably with IsCustomizable, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **false** \ - * **true** + * **true**: Enable customizable. \ + * **false**: Disable customizable. */ export type IsCustomizable = string; /** Known values of {@link InventoryType} that the service accepts. */ export enum KnownInventoryType { - /** Cloud */ + /** Cloud inventory type */ Cloud = "Cloud", - /** VirtualNetwork */ + /** VirtualNetwork inventory type */ VirtualNetwork = "VirtualNetwork", - /** VirtualMachineTemplate */ + /** VirtualMachine inventory type */ + VirtualMachine = "VirtualMachine", + /** VirtualMachineTemplate inventory type */ VirtualMachineTemplate = "VirtualMachineTemplate", - /** VirtualMachine */ - VirtualMachine = "VirtualMachine" } /** @@ -1162,22 +1642,124 @@ export enum KnownInventoryType { * {@link KnownInventoryType} can be used interchangeably with InventoryType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Cloud** \ - * **VirtualNetwork** \ - * **VirtualMachineTemplate** \ - * **VirtualMachine** + * **Cloud**: Cloud inventory type \ + * **VirtualNetwork**: VirtualNetwork inventory type \ + * **VirtualMachine**: VirtualMachine inventory type \ + * **VirtualMachineTemplate**: VirtualMachineTemplate inventory type */ export type InventoryType = string; /** Optional parameters. */ -export interface VmmServersGetOptionalParams +export interface VirtualMachineInstancesListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type VirtualMachineInstancesListResponse = + VirtualMachineInstanceListResult; + +/** Optional parameters. */ +export interface VirtualMachineInstancesGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type VmmServersGetResponse = VMMServer; +export type VirtualMachineInstancesGetResponse = VirtualMachineInstance; /** Optional parameters. */ -export interface VmmServersCreateOrUpdateOptionalParams +export interface VirtualMachineInstancesCreateOrUpdateOptionalParams + 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 VirtualMachineInstancesCreateOrUpdateResponse = + VirtualMachineInstance; + +/** Optional parameters. */ +export interface VirtualMachineInstancesUpdateOptionalParams + 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 VirtualMachineInstancesUpdateResponse = VirtualMachineInstance; + +/** Optional parameters. */ +export interface VirtualMachineInstancesDeleteOptionalParams + extends coreClient.OperationOptions { + /** Forces the resource to be deleted. */ + force?: ForceDelete; + /** Whether to disable the VM from azure and also delete it from Vmm. */ + deleteFromHost?: DeleteFromHost; + /** 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 VirtualMachineInstancesDeleteResponse = + VirtualMachineInstancesDeleteHeaders; + +/** Optional parameters. */ +export interface VirtualMachineInstancesCreateCheckpointOptionalParams + 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 createCheckpoint operation. */ +export type VirtualMachineInstancesCreateCheckpointResponse = + VirtualMachineInstancesCreateCheckpointHeaders; + +/** Optional parameters. */ +export interface VirtualMachineInstancesDeleteCheckpointOptionalParams + 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 deleteCheckpoint operation. */ +export type VirtualMachineInstancesDeleteCheckpointResponse = + VirtualMachineInstancesDeleteCheckpointHeaders; + +/** Optional parameters. */ +export interface VirtualMachineInstancesRestartOptionalParams + 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 restart operation. */ +export type VirtualMachineInstancesRestartResponse = + VirtualMachineInstancesRestartHeaders; + +/** Optional parameters. */ +export interface VirtualMachineInstancesRestoreCheckpointOptionalParams + 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 restoreCheckpoint operation. */ +export type VirtualMachineInstancesRestoreCheckpointResponse = + VirtualMachineInstancesRestoreCheckpointHeaders; + +/** Optional parameters. */ +export interface VirtualMachineInstancesStartOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -1185,22 +1767,48 @@ export interface VmmServersCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type VmmServersCreateOrUpdateResponse = VMMServer; +/** Contains response data for the start operation. */ +export type VirtualMachineInstancesStartResponse = + VirtualMachineInstancesStartHeaders; + +/** Optional parameters. */ +export interface VirtualMachineInstancesStopOptionalParams + 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 stop operation. */ +export type VirtualMachineInstancesStopResponse = + VirtualMachineInstancesStopHeaders; + +/** Optional parameters. */ +export interface VirtualMachineInstancesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type VirtualMachineInstancesListNextResponse = + VirtualMachineInstanceListResult; + +/** Optional parameters. */ +export interface GuestAgentsListByVirtualMachineInstanceOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByVirtualMachineInstance operation. */ +export type GuestAgentsListByVirtualMachineInstanceResponse = + GuestAgentListResult; /** Optional parameters. */ -export interface VmmServersDeleteOptionalParams - extends coreClient.OperationOptions { - /** Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too. */ - force?: boolean; - /** 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; -} +export interface GuestAgentsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type GuestAgentsGetResponse = GuestAgent; /** Optional parameters. */ -export interface VmmServersUpdateOptionalParams +export interface GuestAgentsCreateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -1208,59 +1816,84 @@ export interface VmmServersUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the update operation. */ -export type VmmServersUpdateResponse = VMMServer; +/** Contains response data for the create operation. */ +export type GuestAgentsCreateResponse = GuestAgent; /** Optional parameters. */ -export interface VmmServersListByResourceGroupOptionalParams +export interface GuestAgentsDeleteOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByResourceGroup operation. */ -export type VmmServersListByResourceGroupResponse = VMMServerListResult; +/** Optional parameters. */ +export interface GuestAgentsListByVirtualMachineInstanceNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByVirtualMachineInstanceNext operation. */ +export type GuestAgentsListByVirtualMachineInstanceNextResponse = + GuestAgentListResult; /** Optional parameters. */ -export interface VmmServersListBySubscriptionOptionalParams +export interface VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscription operation. */ -export type VmmServersListBySubscriptionResponse = VMMServerListResult; +/** Contains response data for the listByVirtualMachineInstance operation. */ +export type VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceResponse = + VmInstanceHybridIdentityMetadataListResult; /** Optional parameters. */ -export interface VmmServersListByResourceGroupNextOptionalParams +export interface VmInstanceHybridIdentityMetadatasGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByResourceGroupNext operation. */ -export type VmmServersListByResourceGroupNextResponse = VMMServerListResult; +/** Contains response data for the get operation. */ +export type VmInstanceHybridIdentityMetadatasGetResponse = + VmInstanceHybridIdentityMetadata; /** Optional parameters. */ -export interface VmmServersListBySubscriptionNextOptionalParams +export interface VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscriptionNext operation. */ -export type VmmServersListBySubscriptionNextResponse = VMMServerListResult; +/** Contains response data for the listByVirtualMachineInstanceNext operation. */ +export type VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceNextResponse = + VmInstanceHybridIdentityMetadataListResult; /** Optional parameters. */ export interface OperationsListOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the list operation. */ -export type OperationsListResponse = ResourceProviderOperationList; +export type OperationsListResponse = OperationListResult; /** Optional parameters. */ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type OperationsListNextResponse = ResourceProviderOperationList; +export type OperationsListNextResponse = OperationListResult; /** Optional parameters. */ -export interface CloudsGetOptionalParams extends coreClient.OperationOptions {} +export interface AvailabilitySetsListBySubscriptionOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listBySubscription operation. */ +export type AvailabilitySetsListBySubscriptionResponse = + AvailabilitySetListResult; + +/** Optional parameters. */ +export interface AvailabilitySetsListByResourceGroupOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByResourceGroup operation. */ +export type AvailabilitySetsListByResourceGroupResponse = + AvailabilitySetListResult; + +/** Optional parameters. */ +export interface AvailabilitySetsGetOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type CloudsGetResponse = Cloud; +export type AvailabilitySetsGetResponse = AvailabilitySet; /** Optional parameters. */ -export interface CloudsCreateOrUpdateOptionalParams +export interface AvailabilitySetsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -1269,68 +1902,72 @@ export interface CloudsCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type CloudsCreateOrUpdateResponse = Cloud; +export type AvailabilitySetsCreateOrUpdateResponse = AvailabilitySet; /** Optional parameters. */ -export interface CloudsDeleteOptionalParams +export interface AvailabilitySetsUpdateOptionalParams extends coreClient.OperationOptions { - /** Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too. */ - force?: boolean; /** 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 AvailabilitySetsUpdateResponse = AvailabilitySet; + /** Optional parameters. */ -export interface CloudsUpdateOptionalParams +export interface AvailabilitySetsDeleteOptionalParams extends coreClient.OperationOptions { + /** Forces the resource to be deleted. */ + force?: ForceDelete; /** 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 CloudsUpdateResponse = Cloud; +/** Contains response data for the delete operation. */ +export type AvailabilitySetsDeleteResponse = AvailabilitySetsDeleteHeaders; /** Optional parameters. */ -export interface CloudsListByResourceGroupOptionalParams +export interface AvailabilitySetsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByResourceGroup operation. */ -export type CloudsListByResourceGroupResponse = CloudListResult; +/** Contains response data for the listBySubscriptionNext operation. */ +export type AvailabilitySetsListBySubscriptionNextResponse = + AvailabilitySetListResult; /** Optional parameters. */ -export interface CloudsListBySubscriptionOptionalParams +export interface AvailabilitySetsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscription operation. */ -export type CloudsListBySubscriptionResponse = CloudListResult; +/** Contains response data for the listByResourceGroupNext operation. */ +export type AvailabilitySetsListByResourceGroupNextResponse = + AvailabilitySetListResult; /** Optional parameters. */ -export interface CloudsListByResourceGroupNextOptionalParams +export interface CloudsListBySubscriptionOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByResourceGroupNext operation. */ -export type CloudsListByResourceGroupNextResponse = CloudListResult; +/** Contains response data for the listBySubscription operation. */ +export type CloudsListBySubscriptionResponse = CloudListResult; /** Optional parameters. */ -export interface CloudsListBySubscriptionNextOptionalParams +export interface CloudsListByResourceGroupOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscriptionNext operation. */ -export type CloudsListBySubscriptionNextResponse = CloudListResult; +/** Contains response data for the listByResourceGroup operation. */ +export type CloudsListByResourceGroupResponse = CloudListResult; /** Optional parameters. */ -export interface VirtualNetworksGetOptionalParams - extends coreClient.OperationOptions {} +export interface CloudsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type VirtualNetworksGetResponse = VirtualNetwork; +export type CloudsGetResponse = Cloud; /** Optional parameters. */ -export interface VirtualNetworksCreateOrUpdateOptionalParams +export interface CloudsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -1339,68 +1976,73 @@ export interface VirtualNetworksCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type VirtualNetworksCreateOrUpdateResponse = VirtualNetwork; +export type CloudsCreateOrUpdateResponse = Cloud; /** Optional parameters. */ -export interface VirtualNetworksDeleteOptionalParams +export interface CloudsUpdateOptionalParams extends coreClient.OperationOptions { - /** Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too. */ - force?: boolean; /** 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 CloudsUpdateResponse = Cloud; + /** Optional parameters. */ -export interface VirtualNetworksUpdateOptionalParams +export interface CloudsDeleteOptionalParams extends coreClient.OperationOptions { + /** Forces the resource to be deleted. */ + force?: ForceDelete; /** 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 VirtualNetworksUpdateResponse = VirtualNetwork; +/** Contains response data for the delete operation. */ +export type CloudsDeleteResponse = CloudsDeleteHeaders; /** Optional parameters. */ -export interface VirtualNetworksListByResourceGroupOptionalParams +export interface CloudsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByResourceGroup operation. */ -export type VirtualNetworksListByResourceGroupResponse = VirtualNetworkListResult; +/** Contains response data for the listBySubscriptionNext operation. */ +export type CloudsListBySubscriptionNextResponse = CloudListResult; /** Optional parameters. */ -export interface VirtualNetworksListBySubscriptionOptionalParams +export interface CloudsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscription operation. */ -export type VirtualNetworksListBySubscriptionResponse = VirtualNetworkListResult; +/** Contains response data for the listByResourceGroupNext operation. */ +export type CloudsListByResourceGroupNextResponse = CloudListResult; /** Optional parameters. */ -export interface VirtualNetworksListByResourceGroupNextOptionalParams +export interface VirtualMachineTemplatesListBySubscriptionOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByResourceGroupNext operation. */ -export type VirtualNetworksListByResourceGroupNextResponse = VirtualNetworkListResult; +/** Contains response data for the listBySubscription operation. */ +export type VirtualMachineTemplatesListBySubscriptionResponse = + VirtualMachineTemplateListResult; /** Optional parameters. */ -export interface VirtualNetworksListBySubscriptionNextOptionalParams +export interface VirtualMachineTemplatesListByResourceGroupOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscriptionNext operation. */ -export type VirtualNetworksListBySubscriptionNextResponse = VirtualNetworkListResult; +/** Contains response data for the listByResourceGroup operation. */ +export type VirtualMachineTemplatesListByResourceGroupResponse = + VirtualMachineTemplateListResult; /** Optional parameters. */ -export interface VirtualMachinesGetOptionalParams +export interface VirtualMachineTemplatesGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type VirtualMachinesGetResponse = VirtualMachine; +export type VirtualMachineTemplatesGetResponse = VirtualMachineTemplate; /** Optional parameters. */ -export interface VirtualMachinesCreateOrUpdateOptionalParams +export interface VirtualMachineTemplatesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -1409,23 +2051,11 @@ export interface VirtualMachinesCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type VirtualMachinesCreateOrUpdateResponse = VirtualMachine; - -/** Optional parameters. */ -export interface VirtualMachinesDeleteOptionalParams - extends coreClient.OperationOptions { - /** Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too. */ - force?: boolean; - /** Whether to just disable the VM from azure and retain the VM in the VMM. */ - retain?: boolean; - /** 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; -} +export type VirtualMachineTemplatesCreateOrUpdateResponse = + VirtualMachineTemplate; /** Optional parameters. */ -export interface VirtualMachinesUpdateOptionalParams +export interface VirtualMachineTemplatesUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -1434,107 +2064,64 @@ export interface VirtualMachinesUpdateOptionalParams } /** Contains response data for the update operation. */ -export type VirtualMachinesUpdateResponse = VirtualMachine; - -/** Optional parameters. */ -export interface VirtualMachinesStopOptionalParams - extends coreClient.OperationOptions { - /** Virtualmachine stop action payload. */ - body?: StopVirtualMachineOptions; - /** 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; -} - -/** Optional parameters. */ -export interface VirtualMachinesStartOptionalParams - 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; -} - -/** Optional parameters. */ -export interface VirtualMachinesRestartOptionalParams - 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; -} - -/** Optional parameters. */ -export interface VirtualMachinesCreateCheckpointOptionalParams - extends coreClient.OperationOptions { - /** Virtualmachine create checkpoint action payload. */ - body?: VirtualMachineCreateCheckpoint; - /** 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; -} +export type VirtualMachineTemplatesUpdateResponse = VirtualMachineTemplate; /** Optional parameters. */ -export interface VirtualMachinesDeleteCheckpointOptionalParams +export interface VirtualMachineTemplatesDeleteOptionalParams extends coreClient.OperationOptions { - /** Virtualmachine delete checkpoint action payload. */ - body?: VirtualMachineDeleteCheckpoint; + /** Forces the resource to be deleted. */ + force?: ForceDelete; /** 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; } -/** Optional parameters. */ -export interface VirtualMachinesRestoreCheckpointOptionalParams - extends coreClient.OperationOptions { - /** Virtualmachine restore checkpoint action payload. */ - body?: VirtualMachineRestoreCheckpoint; - /** 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 VirtualMachineTemplatesDeleteResponse = + VirtualMachineTemplatesDeleteHeaders; /** Optional parameters. */ -export interface VirtualMachinesListByResourceGroupOptionalParams +export interface VirtualMachineTemplatesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByResourceGroup operation. */ -export type VirtualMachinesListByResourceGroupResponse = VirtualMachineListResult; +/** Contains response data for the listBySubscriptionNext operation. */ +export type VirtualMachineTemplatesListBySubscriptionNextResponse = + VirtualMachineTemplateListResult; /** Optional parameters. */ -export interface VirtualMachinesListBySubscriptionOptionalParams +export interface VirtualMachineTemplatesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscription operation. */ -export type VirtualMachinesListBySubscriptionResponse = VirtualMachineListResult; +/** Contains response data for the listByResourceGroupNext operation. */ +export type VirtualMachineTemplatesListByResourceGroupNextResponse = + VirtualMachineTemplateListResult; /** Optional parameters. */ -export interface VirtualMachinesListByResourceGroupNextOptionalParams +export interface VirtualNetworksListBySubscriptionOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByResourceGroupNext operation. */ -export type VirtualMachinesListByResourceGroupNextResponse = VirtualMachineListResult; +/** Contains response data for the listBySubscription operation. */ +export type VirtualNetworksListBySubscriptionResponse = + VirtualNetworkListResult; /** Optional parameters. */ -export interface VirtualMachinesListBySubscriptionNextOptionalParams +export interface VirtualNetworksListByResourceGroupOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscriptionNext operation. */ -export type VirtualMachinesListBySubscriptionNextResponse = VirtualMachineListResult; +/** Contains response data for the listByResourceGroup operation. */ +export type VirtualNetworksListByResourceGroupResponse = + VirtualNetworkListResult; /** Optional parameters. */ -export interface VirtualMachineTemplatesGetOptionalParams +export interface VirtualNetworksGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type VirtualMachineTemplatesGetResponse = VirtualMachineTemplate; +export type VirtualNetworksGetResponse = VirtualNetwork; /** Optional parameters. */ -export interface VirtualMachineTemplatesCreateOrUpdateOptionalParams +export interface VirtualNetworksCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -1543,68 +2130,73 @@ export interface VirtualMachineTemplatesCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type VirtualMachineTemplatesCreateOrUpdateResponse = VirtualMachineTemplate; +export type VirtualNetworksCreateOrUpdateResponse = VirtualNetwork; /** Optional parameters. */ -export interface VirtualMachineTemplatesDeleteOptionalParams +export interface VirtualNetworksUpdateOptionalParams extends coreClient.OperationOptions { - /** Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too. */ - force?: boolean; /** 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 VirtualNetworksUpdateResponse = VirtualNetwork; + /** Optional parameters. */ -export interface VirtualMachineTemplatesUpdateOptionalParams +export interface VirtualNetworksDeleteOptionalParams extends coreClient.OperationOptions { + /** Forces the resource to be deleted. */ + force?: ForceDelete; /** 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 VirtualMachineTemplatesUpdateResponse = VirtualMachineTemplate; +/** Contains response data for the delete operation. */ +export type VirtualNetworksDeleteResponse = VirtualNetworksDeleteHeaders; /** Optional parameters. */ -export interface VirtualMachineTemplatesListByResourceGroupOptionalParams +export interface VirtualNetworksListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByResourceGroup operation. */ -export type VirtualMachineTemplatesListByResourceGroupResponse = VirtualMachineTemplateListResult; +/** Contains response data for the listBySubscriptionNext operation. */ +export type VirtualNetworksListBySubscriptionNextResponse = + VirtualNetworkListResult; /** Optional parameters. */ -export interface VirtualMachineTemplatesListBySubscriptionOptionalParams +export interface VirtualNetworksListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscription operation. */ -export type VirtualMachineTemplatesListBySubscriptionResponse = VirtualMachineTemplateListResult; +/** Contains response data for the listByResourceGroupNext operation. */ +export type VirtualNetworksListByResourceGroupNextResponse = + VirtualNetworkListResult; /** Optional parameters. */ -export interface VirtualMachineTemplatesListByResourceGroupNextOptionalParams +export interface VmmServersListBySubscriptionOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByResourceGroupNext operation. */ -export type VirtualMachineTemplatesListByResourceGroupNextResponse = VirtualMachineTemplateListResult; +/** Contains response data for the listBySubscription operation. */ +export type VmmServersListBySubscriptionResponse = VmmServerListResult; /** Optional parameters. */ -export interface VirtualMachineTemplatesListBySubscriptionNextOptionalParams +export interface VmmServersListByResourceGroupOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscriptionNext operation. */ -export type VirtualMachineTemplatesListBySubscriptionNextResponse = VirtualMachineTemplateListResult; +/** Contains response data for the listByResourceGroup operation. */ +export type VmmServersListByResourceGroupResponse = VmmServerListResult; /** Optional parameters. */ -export interface AvailabilitySetsGetOptionalParams +export interface VmmServersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type AvailabilitySetsGetResponse = AvailabilitySet; +export type VmmServersGetResponse = VmmServer; /** Optional parameters. */ -export interface AvailabilitySetsCreateOrUpdateOptionalParams +export interface VmmServersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -1613,68 +2205,54 @@ export interface AvailabilitySetsCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type AvailabilitySetsCreateOrUpdateResponse = AvailabilitySet; +export type VmmServersCreateOrUpdateResponse = VmmServer; /** Optional parameters. */ -export interface AvailabilitySetsDeleteOptionalParams +export interface VmmServersUpdateOptionalParams extends coreClient.OperationOptions { - /** Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too. */ - force?: boolean; /** 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 VmmServersUpdateResponse = VmmServer; + /** Optional parameters. */ -export interface AvailabilitySetsUpdateOptionalParams +export interface VmmServersDeleteOptionalParams extends coreClient.OperationOptions { + /** Forces the resource to be deleted. */ + force?: ForceDelete; /** 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 AvailabilitySetsUpdateResponse = AvailabilitySet; - -/** Optional parameters. */ -export interface AvailabilitySetsListByResourceGroupOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listByResourceGroup operation. */ -export type AvailabilitySetsListByResourceGroupResponse = AvailabilitySetListResult; +/** Contains response data for the delete operation. */ +export type VmmServersDeleteResponse = VmmServersDeleteHeaders; /** Optional parameters. */ -export interface AvailabilitySetsListBySubscriptionOptionalParams +export interface VmmServersListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscription operation. */ -export type AvailabilitySetsListBySubscriptionResponse = AvailabilitySetListResult; +/** Contains response data for the listBySubscriptionNext operation. */ +export type VmmServersListBySubscriptionNextResponse = VmmServerListResult; /** Optional parameters. */ -export interface AvailabilitySetsListByResourceGroupNextOptionalParams +export interface VmmServersListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroupNext operation. */ -export type AvailabilitySetsListByResourceGroupNextResponse = AvailabilitySetListResult; +export type VmmServersListByResourceGroupNextResponse = VmmServerListResult; /** Optional parameters. */ -export interface AvailabilitySetsListBySubscriptionNextOptionalParams +export interface InventoryItemsListByVmmServerOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscriptionNext operation. */ -export type AvailabilitySetsListBySubscriptionNextResponse = AvailabilitySetListResult; - -/** Optional parameters. */ -export interface InventoryItemsCreateOptionalParams - extends coreClient.OperationOptions { - /** Request payload. */ - body?: InventoryItem; -} - -/** Contains response data for the create operation. */ -export type InventoryItemsCreateResponse = InventoryItem; +/** Contains response data for the listByVmmServer operation. */ +export type InventoryItemsListByVmmServerResponse = InventoryItemListResult; /** Optional parameters. */ export interface InventoryItemsGetOptionalParams @@ -1684,25 +2262,25 @@ export interface InventoryItemsGetOptionalParams export type InventoryItemsGetResponse = InventoryItem; /** Optional parameters. */ -export interface InventoryItemsDeleteOptionalParams +export interface InventoryItemsCreateOptionalParams extends coreClient.OperationOptions {} +/** Contains response data for the create operation. */ +export type InventoryItemsCreateResponse = InventoryItem; + /** Optional parameters. */ -export interface InventoryItemsListByVMMServerOptionalParams +export interface InventoryItemsDeleteOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByVMMServer operation. */ -export type InventoryItemsListByVMMServerResponse = InventoryItemsList; - /** Optional parameters. */ -export interface InventoryItemsListByVMMServerNextOptionalParams +export interface InventoryItemsListByVmmServerNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByVMMServerNext operation. */ -export type InventoryItemsListByVMMServerNextResponse = InventoryItemsList; +/** Contains response data for the listByVmmServerNext operation. */ +export type InventoryItemsListByVmmServerNextResponse = InventoryItemListResult; /** Optional parameters. */ -export interface ScvmmOptionalParams extends coreClient.ServiceClientOptions { +export interface ScVmmOptionalParams extends coreClient.ServiceClientOptions { /** server parameter */ $host?: string; /** Api Version */ diff --git a/sdk/scvmm/arm-scvmm/src/models/mappers.ts b/sdk/scvmm/arm-scvmm/src/models/mappers.ts index 8559a0836bd0..41a3ca0ab468 100644 --- a/sdk/scvmm/arm-scvmm/src/models/mappers.ts +++ b/sdk/scvmm/arm-scvmm/src/models/mappers.ts @@ -8,1047 +8,903 @@ import * as coreClient from "@azure/core-client"; -export const VMMServer: coreClient.CompositeMapper = { +export const VirtualMachineInstanceListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VMMServer", + className: "VirtualMachineInstanceListResult", modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String" - } - }, - name: { - serializedName: "name", - readOnly: true, + value: { + serializedName: "value", + required: true, type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineInstance", + }, + }, + }, }, - type: { - serializedName: "type", + nextLink: { + serializedName: "nextLink", readOnly: true, type: { - name: "String" - } - }, - location: { - serializedName: "location", - required: true, - type: { - name: "String" - } + name: "String", + }, }, - tags: { - serializedName: "tags", + }, + }, +}; + +export const VirtualMachineInstanceProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineInstanceProperties", + modelProperties: { + availabilitySets: { + serializedName: "availabilitySets", type: { - name: "Dictionary", - value: { type: { name: "String" } } - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AvailabilitySetListItem", + }, + }, + }, }, - systemData: { - serializedName: "systemData", + osProfile: { + serializedName: "osProfile", type: { name: "Composite", - className: "SystemData" - } + className: "OsProfileForVmInstance", + }, }, - extendedLocation: { - serializedName: "extendedLocation", + hardwareProfile: { + serializedName: "hardwareProfile", type: { name: "Composite", - className: "ExtendedLocation" - } + className: "HardwareProfile", + }, }, - credentials: { - serializedName: "properties.credentials", + networkProfile: { + serializedName: "networkProfile", type: { name: "Composite", - className: "VMMServerPropertiesCredentials" - } - }, - fqdn: { - constraints: { - MinLength: 1 - }, - serializedName: "properties.fqdn", - required: true, - type: { - name: "String" - } - }, - port: { - constraints: { - InclusiveMaximum: 65535, - InclusiveMinimum: 1 + className: "NetworkProfile", }, - serializedName: "properties.port", - type: { - name: "Number" - } - }, - connectionStatus: { - serializedName: "properties.connectionStatus", - readOnly: true, - type: { - name: "String" - } }, - errorMessage: { - serializedName: "properties.errorMessage", - readOnly: true, + storageProfile: { + serializedName: "storageProfile", type: { - name: "String" - } + name: "Composite", + className: "StorageProfile", + }, }, - uuid: { - serializedName: "properties.uuid", - readOnly: true, + infrastructureProfile: { + serializedName: "infrastructureProfile", type: { - name: "String" - } + name: "Composite", + className: "InfrastructureProfile", + }, }, - version: { - serializedName: "properties.version", + powerState: { + serializedName: "powerState", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, provisioningState: { - serializedName: "properties.provisioningState", + serializedName: "provisioningState", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const VMMServerPropertiesCredentials: coreClient.CompositeMapper = { +export const AvailabilitySetListItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VMMServerPropertiesCredentials", + className: "AvailabilitySetListItem", modelProperties: { - username: { - serializedName: "username", + id: { + serializedName: "id", type: { - name: "String" - } + name: "String", + }, }, - password: { - serializedName: "password", + name: { + serializedName: "name", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const SystemData: coreClient.CompositeMapper = { +export const OsProfileForVmInstance: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SystemData", + className: "OsProfileForVmInstance", modelProperties: { - createdBy: { - serializedName: "createdBy", + adminPassword: { + serializedName: "adminPassword", type: { - name: "String" - } + name: "String", + }, }, - createdByType: { - serializedName: "createdByType", + computerName: { + serializedName: "computerName", type: { - name: "String" - } + name: "String", + }, }, - createdAt: { - serializedName: "createdAt", + osType: { + serializedName: "osType", + readOnly: true, type: { - name: "DateTime" - } + name: "String", + }, }, - lastModifiedBy: { - serializedName: "lastModifiedBy", + osSku: { + serializedName: "osSku", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - lastModifiedByType: { - serializedName: "lastModifiedByType", + osVersion: { + serializedName: "osVersion", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - lastModifiedAt: { - serializedName: "lastModifiedAt", - type: { - name: "DateTime" - } - } - } - } + }, + }, }; -export const ExtendedLocation: coreClient.CompositeMapper = { +export const HardwareProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExtendedLocation", + className: "HardwareProfile", modelProperties: { - type: { - serializedName: "type", + memoryMB: { + serializedName: "memoryMB", type: { - name: "String" - } + name: "Number", + }, }, - name: { - serializedName: "name", + cpuCount: { + serializedName: "cpuCount", type: { - name: "String" - } - } - } - } -}; - -export const ErrorResponse: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ErrorResponse", - modelProperties: { - error: { - serializedName: "error", + name: "Number", + }, + }, + limitCpuForMigration: { + serializedName: "limitCpuForMigration", type: { - name: "Composite", - className: "ErrorDefinition" - } - } - } - } -}; - -export const ErrorDefinition: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ErrorDefinition", - modelProperties: { - code: { - serializedName: "code", - readOnly: true, + name: "String", + }, + }, + dynamicMemoryEnabled: { + serializedName: "dynamicMemoryEnabled", type: { - name: "String" - } + name: "String", + }, }, - message: { - serializedName: "message", - readOnly: true, + dynamicMemoryMaxMB: { + serializedName: "dynamicMemoryMaxMB", type: { - name: "String" - } + name: "Number", + }, }, - details: { - serializedName: "details", - readOnly: true, + dynamicMemoryMinMB: { + serializedName: "dynamicMemoryMinMB", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ErrorDefinition" - } - } - } - } - } - } -}; - -export const ResourcePatch: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ResourcePatch", - modelProperties: { - tags: { - serializedName: "tags", + name: "Number", + }, + }, + isHighlyAvailable: { + serializedName: "isHighlyAvailable", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const VMMServerListResult: coreClient.CompositeMapper = { +export const NetworkProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VMMServerListResult", + className: "NetworkProfile", modelProperties: { - value: { - serializedName: "value", + networkInterfaces: { + serializedName: "networkInterfaces", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VMMServer" - } - } - } + className: "NetworkInterface", + }, + }, + }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const ResourceProviderOperationList: coreClient.CompositeMapper = { +export const NetworkInterface: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceProviderOperationList", + className: "NetworkInterface", modelProperties: { - value: { - serializedName: "value", + name: { + serializedName: "name", + type: { + name: "String", + }, + }, + displayName: { + serializedName: "displayName", + readOnly: true, + type: { + name: "String", + }, + }, + ipv4Addresses: { + serializedName: "ipv4Addresses", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "ResourceProviderOperation" - } - } - } + name: "String", + }, + }, + }, }, - nextLink: { - serializedName: "nextLink", + ipv6Addresses: { + serializedName: "ipv6Addresses", + readOnly: true, type: { - name: "String" - } - } - } - } -}; - -export const ResourceProviderOperation: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ResourceProviderOperation", - modelProperties: { - isDataAction: { - serializedName: "isDataAction", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + macAddress: { + serializedName: "macAddress", type: { - name: "String" - } + name: "String", + }, }, - name: { - serializedName: "name", + virtualNetworkId: { + serializedName: "virtualNetworkId", type: { - name: "String" - } + name: "String", + }, }, - display: { - serializedName: "display", + networkName: { + serializedName: "networkName", + readOnly: true, type: { - name: "Composite", - className: "ResourceProviderOperationDisplay" - } - } - } - } -}; - -export const ResourceProviderOperationDisplay: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ResourceProviderOperationDisplay", - modelProperties: { - provider: { - serializedName: "provider", + name: "String", + }, + }, + ipv4AddressType: { + serializedName: "ipv4AddressType", type: { - name: "String" - } + name: "String", + }, }, - resource: { - serializedName: "resource", + ipv6AddressType: { + serializedName: "ipv6AddressType", type: { - name: "String" - } + name: "String", + }, }, - operation: { - serializedName: "operation", + macAddressType: { + serializedName: "macAddressType", type: { - name: "String" - } + name: "String", + }, }, - description: { - serializedName: "description", + nicId: { + serializedName: "nicId", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const Cloud: coreClient.CompositeMapper = { +export const StorageProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Cloud", + className: "StorageProfile", modelProperties: { - id: { - serializedName: "id", - readOnly: true, + disks: { + serializedName: "disks", type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualDisk", + }, + }, + }, }, + }, + }, +}; + +export const VirtualDisk: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualDisk", + modelProperties: { name: { serializedName: "name", - readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - type: { - serializedName: "type", + displayName: { + serializedName: "displayName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - location: { - serializedName: "location", - required: true, + diskId: { + serializedName: "diskId", type: { - name: "String" - } + name: "String", + }, }, - tags: { - serializedName: "tags", + diskSizeGB: { + serializedName: "diskSizeGB", type: { - name: "Dictionary", - value: { type: { name: "String" } } - } + name: "Number", + }, }, - systemData: { - serializedName: "systemData", + maxDiskSizeGB: { + serializedName: "maxDiskSizeGB", + readOnly: true, type: { - name: "Composite", - className: "SystemData" - } + name: "Number", + }, }, - extendedLocation: { - serializedName: "extendedLocation", + bus: { + serializedName: "bus", type: { - name: "Composite", - className: "ExtendedLocation" - } + name: "Number", + }, }, - inventoryItemId: { - serializedName: "properties.inventoryItemId", + lun: { + serializedName: "lun", type: { - name: "String" - } + name: "Number", + }, }, - uuid: { - constraints: { - MinLength: 1 + busType: { + serializedName: "busType", + type: { + name: "String", }, - serializedName: "properties.uuid", + }, + vhdType: { + serializedName: "vhdType", type: { - name: "String" - } + name: "String", + }, }, - vmmServerId: { - serializedName: "properties.vmmServerId", + volumeType: { + serializedName: "volumeType", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - cloudName: { - serializedName: "properties.cloudName", + vhdFormatType: { + serializedName: "vhdFormatType", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - cloudCapacity: { - serializedName: "properties.cloudCapacity", + templateDiskId: { + serializedName: "templateDiskId", type: { - name: "Composite", - className: "CloudCapacity" - } + name: "String", + }, }, - storageQoSPolicies: { - serializedName: "properties.storageQoSPolicies", - readOnly: true, + storageQosPolicy: { + serializedName: "storageQoSPolicy", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "StorageQoSPolicy" - } - } - } + name: "Composite", + className: "StorageQosPolicyDetails", + }, }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + createDiffDisk: { + serializedName: "createDiffDisk", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const CloudCapacity: coreClient.CompositeMapper = { +export const StorageQosPolicyDetails: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CloudCapacity", + className: "StorageQosPolicyDetails", modelProperties: { - cpuCount: { - serializedName: "cpuCount", + name: { + serializedName: "name", type: { - name: "Number" - } + name: "String", + }, }, - memoryMB: { - serializedName: "memoryMB", + id: { + serializedName: "id", type: { - name: "Number" - } + name: "String", + }, }, - vmCount: { - serializedName: "vmCount", - type: { - name: "Number" - } - } - } - } + }, + }, }; -export const StorageQoSPolicy: coreClient.CompositeMapper = { +export const InfrastructureProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "StorageQoSPolicy", + className: "InfrastructureProfile", modelProperties: { - name: { - serializedName: "name", + inventoryItemId: { + serializedName: "inventoryItemId", type: { - name: "String" - } + name: "String", + }, }, - id: { - serializedName: "id", + vmmServerId: { + serializedName: "vmmServerId", type: { - name: "String" - } + name: "String", + }, }, - iopsMaximum: { - serializedName: "iopsMaximum", + cloudId: { + serializedName: "cloudId", + type: { + name: "String", + }, + }, + templateId: { + serializedName: "templateId", type: { - name: "Number" - } + name: "String", + }, }, - iopsMinimum: { - serializedName: "iopsMinimum", + vmName: { + constraints: { + MinLength: 1, + }, + serializedName: "vmName", type: { - name: "Number" - } + name: "String", + }, }, - bandwidthLimit: { - serializedName: "bandwidthLimit", + uuid: { + serializedName: "uuid", type: { - name: "Number" - } + name: "String", + }, }, - policyId: { - serializedName: "policyId", + lastRestoredVmCheckpoint: { + serializedName: "lastRestoredVMCheckpoint", + type: { + name: "Composite", + className: "Checkpoint", + }, + }, + checkpoints: { + serializedName: "checkpoints", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Checkpoint", + }, + }, + }, + }, + checkpointType: { + serializedName: "checkpointType", + type: { + name: "String", + }, + }, + generation: { + serializedName: "generation", + type: { + name: "Number", + }, + }, + biosGuid: { + serializedName: "biosGuid", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const CloudListResult: coreClient.CompositeMapper = { +export const Checkpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CloudListResult", + className: "Checkpoint", modelProperties: { - value: { - serializedName: "value", + parentCheckpointId: { + serializedName: "parentCheckpointID", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Cloud" - } - } - } + name: "String", + }, }, - nextLink: { - serializedName: "nextLink", + checkpointId: { + serializedName: "checkpointID", + type: { + name: "String", + }, + }, + name: { + serializedName: "name", + type: { + name: "String", + }, + }, + description: { + serializedName: "description", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const VirtualNetwork: coreClient.CompositeMapper = { +export const ExtendedLocation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualNetwork", + className: "ExtendedLocation", + modelProperties: { + type: { + serializedName: "type", + type: { + name: "String", + }, + }, + name: { + serializedName: "name", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const Resource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Resource", modelProperties: { id: { serializedName: "id", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, name: { serializedName: "name", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, type: { serializedName: "type", readOnly: true, type: { - name: "String" - } - }, - location: { - serializedName: "location", - required: true, - type: { - name: "String" - } - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } + name: "String", + }, }, systemData: { serializedName: "systemData", type: { name: "Composite", - className: "SystemData" - } + className: "SystemData", + }, }, - extendedLocation: { - serializedName: "extendedLocation", + }, + }, +}; + +export const SystemData: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SystemData", + modelProperties: { + createdBy: { + serializedName: "createdBy", type: { - name: "Composite", - className: "ExtendedLocation" - } + name: "String", + }, }, - inventoryItemId: { - serializedName: "properties.inventoryItemId", + createdByType: { + serializedName: "createdByType", type: { - name: "String" - } - }, - uuid: { - constraints: { - MinLength: 1 + name: "String", }, - serializedName: "properties.uuid", + }, + createdAt: { + serializedName: "createdAt", type: { - name: "String" - } + name: "DateTime", + }, }, - vmmServerId: { - serializedName: "properties.vmmServerId", + lastModifiedBy: { + serializedName: "lastModifiedBy", type: { - name: "String" - } + name: "String", + }, }, - networkName: { - serializedName: "properties.networkName", - readOnly: true, + lastModifiedByType: { + serializedName: "lastModifiedByType", type: { - name: "String" - } + name: "String", + }, }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + lastModifiedAt: { + serializedName: "lastModifiedAt", type: { - name: "String" - } - } - } - } + name: "DateTime", + }, + }, + }, + }, }; -export const VirtualNetworkListResult: coreClient.CompositeMapper = { +export const ErrorResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualNetworkListResult", + className: "ErrorResponse", modelProperties: { - value: { - serializedName: "value", + error: { + serializedName: "error", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualNetwork" - } - } - } + name: "Composite", + className: "ErrorDetail", + }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const VirtualMachine: coreClient.CompositeMapper = { +export const ErrorDetail: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachine", + className: "ErrorDetail", modelProperties: { - id: { - serializedName: "id", + code: { + serializedName: "code", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - name: { - serializedName: "name", + message: { + serializedName: "message", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - type: { - serializedName: "type", + target: { + serializedName: "target", readOnly: true, type: { - name: "String" - } - }, - location: { - serializedName: "location", - required: true, - type: { - name: "String" - } - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - }, - systemData: { - serializedName: "systemData", - type: { - name: "Composite", - className: "SystemData" - } - }, - extendedLocation: { - serializedName: "extendedLocation", - type: { - name: "Composite", - className: "ExtendedLocation" - } - }, - inventoryItemId: { - serializedName: "properties.inventoryItemId", - type: { - name: "String" - } - }, - vmmServerId: { - serializedName: "properties.vmmServerId", - type: { - name: "String" - } - }, - cloudId: { - serializedName: "properties.cloudId", - type: { - name: "String" - } - }, - templateId: { - serializedName: "properties.templateId", - type: { - name: "String" - } - }, - checkpointType: { - serializedName: "properties.checkpointType", - type: { - name: "String" - } + name: "String", + }, }, - checkpoints: { - serializedName: "properties.checkpoints", + details: { + serializedName: "details", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "Checkpoint" - } - } - } + className: "ErrorDetail", + }, + }, + }, }, - availabilitySets: { - serializedName: "properties.availabilitySets", + additionalInfo: { + serializedName: "additionalInfo", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "AvailabilitySetListItem" - } - } - } - }, - osProfile: { - serializedName: "properties.osProfile", - type: { - name: "Composite", - className: "OsProfile" - } - }, - hardwareProfile: { - serializedName: "properties.hardwareProfile", - type: { - name: "Composite", - className: "HardwareProfile" - } - }, - networkProfile: { - serializedName: "properties.networkProfile", - type: { - name: "Composite", - className: "NetworkProfile" - } - }, - storageProfile: { - serializedName: "properties.storageProfile", - type: { - name: "Composite", - className: "StorageProfile" - } - }, - vmName: { - constraints: { - MinLength: 1 + className: "ErrorAdditionalInfo", + }, + }, }, - serializedName: "properties.vmName", - type: { - name: "String" - } - }, - uuid: { - serializedName: "properties.uuid", - type: { - name: "String" - } - }, - generation: { - serializedName: "properties.generation", - type: { - name: "Number" - } - }, - powerState: { - serializedName: "properties.powerState", - readOnly: true, - type: { - name: "String" - } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, - type: { - name: "String" - } - } - } - } + }, + }, }; -export const Checkpoint: coreClient.CompositeMapper = { +export const ErrorAdditionalInfo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Checkpoint", + className: "ErrorAdditionalInfo", modelProperties: { - parentCheckpointID: { - serializedName: "parentCheckpointID", - type: { - name: "String" - } - }, - checkpointID: { - serializedName: "checkpointID", + type: { + serializedName: "type", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - name: { - serializedName: "name", + info: { + serializedName: "info", + readOnly: true, type: { - name: "String" - } + name: "Dictionary", + value: { type: { name: "any" } }, + }, }, - description: { - serializedName: "description", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const AvailabilitySetListItem: coreClient.CompositeMapper = { +export const VirtualMachineInstanceUpdate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AvailabilitySetListItem", + className: "VirtualMachineInstanceUpdate", modelProperties: { - id: { - serializedName: "id", + properties: { + serializedName: "properties", type: { - name: "String" - } + name: "Composite", + className: "VirtualMachineInstanceUpdateProperties", + }, }, - name: { - serializedName: "name", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const OsProfile: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OsProfile", - modelProperties: { - adminPassword: { - serializedName: "adminPassword", - type: { - name: "String" - } - }, - computerName: { - serializedName: "computerName", - type: { - name: "String" - } - }, - osType: { - serializedName: "osType", - readOnly: true, - type: { - name: "String" - } +export const VirtualMachineInstanceUpdateProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "VirtualMachineInstanceUpdateProperties", + modelProperties: { + availabilitySets: { + serializedName: "availabilitySets", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AvailabilitySetListItem", + }, + }, + }, + }, + hardwareProfile: { + serializedName: "hardwareProfile", + type: { + name: "Composite", + className: "HardwareProfileUpdate", + }, + }, + networkProfile: { + serializedName: "networkProfile", + type: { + name: "Composite", + className: "NetworkProfileUpdate", + }, + }, + storageProfile: { + serializedName: "storageProfile", + type: { + name: "Composite", + className: "StorageProfileUpdate", + }, + }, + infrastructureProfile: { + serializedName: "infrastructureProfile", + type: { + name: "Composite", + className: "InfrastructureProfileUpdate", + }, + }, }, - osName: { - serializedName: "osName", - readOnly: true, - type: { - name: "String" - } - } - } - } -}; + }, + }; -export const HardwareProfile: coreClient.CompositeMapper = { +export const HardwareProfileUpdate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HardwareProfile", + className: "HardwareProfileUpdate", modelProperties: { memoryMB: { serializedName: "memoryMB", type: { - name: "Number" - } + name: "Number", + }, }, cpuCount: { serializedName: "cpuCount", type: { - name: "Number" - } + name: "Number", + }, }, limitCpuForMigration: { serializedName: "limitCpuForMigration", type: { - name: "String" - } + name: "String", + }, }, dynamicMemoryEnabled: { serializedName: "dynamicMemoryEnabled", type: { - name: "String" - } + name: "String", + }, }, dynamicMemoryMaxMB: { serializedName: "dynamicMemoryMaxMB", type: { - name: "Number" - } + name: "Number", + }, }, dynamicMemoryMinMB: { serializedName: "dynamicMemoryMinMB", type: { - name: "Number" - } + name: "Number", + }, }, - isHighlyAvailable: { - serializedName: "isHighlyAvailable", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const NetworkProfile: coreClient.CompositeMapper = { +export const NetworkProfileUpdate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NetworkProfile", + className: "NetworkProfileUpdate", modelProperties: { networkInterfaces: { serializedName: "networkInterfaces", @@ -1057,108 +913,70 @@ export const NetworkProfile: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "NetworkInterfaces" - } - } - } - } - } - } + className: "NetworkInterfaceUpdate", + }, + }, + }, + }, + }, + }, }; -export const NetworkInterfaces: coreClient.CompositeMapper = { +export const NetworkInterfaceUpdate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NetworkInterfaces", + className: "NetworkInterfaceUpdate", modelProperties: { name: { serializedName: "name", type: { - name: "String" - } + name: "String", + }, }, - displayName: { - serializedName: "displayName", - readOnly: true, + macAddress: { + serializedName: "macAddress", type: { - name: "String" - } + name: "String", + }, }, - ipv4Addresses: { - serializedName: "ipv4Addresses", - readOnly: true, + virtualNetworkId: { + serializedName: "virtualNetworkId", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "String", + }, }, - ipv6Addresses: { - serializedName: "ipv6Addresses", - readOnly: true, + ipv4AddressType: { + serializedName: "ipv4AddressType", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - macAddress: { - serializedName: "macAddress", - type: { - name: "String" - } - }, - virtualNetworkId: { - serializedName: "virtualNetworkId", - type: { - name: "String" - } - }, - networkName: { - serializedName: "networkName", - readOnly: true, - type: { - name: "String" - } - }, - ipv4AddressType: { - serializedName: "ipv4AddressType", - type: { - name: "String" - } + name: "String", + }, }, ipv6AddressType: { serializedName: "ipv6AddressType", type: { - name: "String" - } + name: "String", + }, }, macAddressType: { serializedName: "macAddressType", type: { - name: "String" - } + name: "String", + }, }, nicId: { serializedName: "nicId", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const StorageProfile: coreClient.CompositeMapper = { +export const StorageProfileUpdate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "StorageProfile", + className: "StorageProfileUpdate", modelProperties: { disks: { serializedName: "disks", @@ -1167,683 +985,676 @@ export const StorageProfile: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "VirtualDisk" - } - } - } - } - } - } + className: "VirtualDiskUpdate", + }, + }, + }, + }, + }, + }, }; -export const VirtualDisk: coreClient.CompositeMapper = { +export const VirtualDiskUpdate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualDisk", + className: "VirtualDiskUpdate", modelProperties: { name: { serializedName: "name", type: { - name: "String" - } - }, - displayName: { - serializedName: "displayName", - readOnly: true, - type: { - name: "String" - } + name: "String", + }, }, diskId: { serializedName: "diskId", type: { - name: "String" - } + name: "String", + }, }, diskSizeGB: { serializedName: "diskSizeGB", type: { - name: "Number" - } - }, - maxDiskSizeGB: { - serializedName: "maxDiskSizeGB", - readOnly: true, - type: { - name: "Number" - } + name: "Number", + }, }, bus: { serializedName: "bus", type: { - name: "Number" - } + name: "Number", + }, }, lun: { serializedName: "lun", type: { - name: "Number" - } + name: "Number", + }, }, busType: { serializedName: "busType", type: { - name: "String" - } + name: "String", + }, }, vhdType: { serializedName: "vhdType", type: { - name: "String" - } - }, - volumeType: { - serializedName: "volumeType", - readOnly: true, - type: { - name: "String" - } - }, - vhdFormatType: { - serializedName: "vhdFormatType", - readOnly: true, - type: { - name: "String" - } - }, - templateDiskId: { - serializedName: "templateDiskId", - type: { - name: "String" - } + name: "String", + }, }, - storageQoSPolicy: { + storageQosPolicy: { serializedName: "storageQoSPolicy", type: { name: "Composite", - className: "StorageQoSPolicyDetails" - } + className: "StorageQosPolicyDetails", + }, }, - createDiffDisk: { - serializedName: "createDiffDisk", + }, + }, +}; + +export const InfrastructureProfileUpdate: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "InfrastructureProfileUpdate", + modelProperties: { + checkpointType: { + serializedName: "checkpointType", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const StorageQoSPolicyDetails: coreClient.CompositeMapper = { +export const VirtualMachineCreateCheckpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "StorageQoSPolicyDetails", + className: "VirtualMachineCreateCheckpoint", modelProperties: { name: { serializedName: "name", type: { - name: "String" - } + name: "String", + }, + }, + description: { + serializedName: "description", + type: { + name: "String", + }, }, + }, + }, +}; + +export const VirtualMachineDeleteCheckpoint: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineDeleteCheckpoint", + modelProperties: { id: { serializedName: "id", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const VirtualMachineUpdate: coreClient.CompositeMapper = { +export const GuestAgentListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineUpdate", + className: "GuestAgentListResult", modelProperties: { - properties: { - serializedName: "properties", + value: { + serializedName: "value", + required: true, type: { - name: "Composite", - className: "VirtualMachineUpdateProperties" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GuestAgent", + }, + }, + }, }, - tags: { - serializedName: "tags", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const VirtualMachineUpdateProperties: coreClient.CompositeMapper = { +export const GuestAgentProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineUpdateProperties", + className: "GuestAgentProperties", modelProperties: { - hardwareProfile: { - serializedName: "hardwareProfile", + uuid: { + serializedName: "uuid", + readOnly: true, type: { - name: "Composite", - className: "HardwareProfileUpdate" - } + name: "String", + }, }, - storageProfile: { - serializedName: "storageProfile", + credentials: { + serializedName: "credentials", type: { name: "Composite", - className: "StorageProfileUpdate" - } + className: "GuestCredential", + }, }, - networkProfile: { - serializedName: "networkProfile", + httpProxyConfig: { + serializedName: "httpProxyConfig", type: { name: "Composite", - className: "NetworkProfileUpdate" - } + className: "HttpProxyConfiguration", + }, }, - availabilitySets: { - serializedName: "availabilitySets", + provisioningAction: { + serializedName: "provisioningAction", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AvailabilitySetListItem" - } - } - } - } - } - } + name: "String", + }, + }, + status: { + serializedName: "status", + readOnly: true, + type: { + name: "String", + }, + }, + customResourceName: { + serializedName: "customResourceName", + readOnly: true, + type: { + name: "String", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const HardwareProfileUpdate: coreClient.CompositeMapper = { +export const GuestCredential: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HardwareProfileUpdate", + className: "GuestCredential", modelProperties: { - memoryMB: { - serializedName: "memoryMB", + username: { + serializedName: "username", + required: true, type: { - name: "Number" - } + name: "String", + }, }, - cpuCount: { - serializedName: "cpuCount", + password: { + serializedName: "password", + required: true, type: { - name: "Number" - } + name: "String", + }, }, - limitCpuForMigration: { - serializedName: "limitCpuForMigration", + }, + }, +}; + +export const HttpProxyConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "HttpProxyConfiguration", + modelProperties: { + httpsProxy: { + serializedName: "httpsProxy", type: { - name: "String" - } + name: "String", + }, }, - dynamicMemoryEnabled: { - serializedName: "dynamicMemoryEnabled", - type: { - name: "String" - } + }, + }, +}; + +export const VmInstanceHybridIdentityMetadataListResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "VmInstanceHybridIdentityMetadataListResult", + modelProperties: { + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VmInstanceHybridIdentityMetadata", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + type: { + name: "String", + }, + }, }, - dynamicMemoryMaxMB: { - serializedName: "dynamicMemoryMaxMB", + }, + }; + +export const VmInstanceHybridIdentityMetadataProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "VmInstanceHybridIdentityMetadataProperties", + modelProperties: { + resourceUid: { + serializedName: "resourceUid", + type: { + name: "String", + }, + }, + publicKey: { + serializedName: "publicKey", + type: { + name: "String", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, + }; + +export const VirtualMachineRestoreCheckpoint: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineRestoreCheckpoint", + modelProperties: { + id: { + serializedName: "id", type: { - name: "Number" - } + name: "String", + }, }, - dynamicMemoryMinMB: { - serializedName: "dynamicMemoryMinMB", + }, + }, +}; + +export const StopVirtualMachineOptions: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "StopVirtualMachineOptions", + modelProperties: { + skipShutdown: { + defaultValue: "false", + serializedName: "skipShutdown", type: { - name: "Number" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const StorageProfileUpdate: coreClient.CompositeMapper = { +export const OperationListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "StorageProfileUpdate", + className: "OperationListResult", modelProperties: { - disks: { - serializedName: "disks", + value: { + serializedName: "value", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualDiskUpdate" - } - } - } - } - } - } + className: "Operation", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const VirtualDiskUpdate: coreClient.CompositeMapper = { +export const Operation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualDiskUpdate", + className: "Operation", modelProperties: { name: { serializedName: "name", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - diskId: { - serializedName: "diskId", + isDataAction: { + serializedName: "isDataAction", + readOnly: true, type: { - name: "String" - } + name: "Boolean", + }, }, - diskSizeGB: { - serializedName: "diskSizeGB", + display: { + serializedName: "display", type: { - name: "Number" - } + name: "Composite", + className: "OperationDisplay", + }, }, - bus: { - serializedName: "bus", + origin: { + serializedName: "origin", + readOnly: true, type: { - name: "Number" - } + name: "String", + }, }, - lun: { - serializedName: "lun", - type: { - name: "Number" - } - }, - busType: { - serializedName: "busType", - type: { - name: "String" - } - }, - vhdType: { - serializedName: "vhdType", + actionType: { + serializedName: "actionType", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - storageQoSPolicy: { - serializedName: "storageQoSPolicy", - type: { - name: "Composite", - className: "StorageQoSPolicyDetails" - } - } - } - } -}; - -export const NetworkProfileUpdate: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "NetworkProfileUpdate", - modelProperties: { - networkInterfaces: { - serializedName: "networkInterfaces", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "NetworkInterfacesUpdate" - } - } - } - } - } - } + }, + }, }; -export const NetworkInterfacesUpdate: coreClient.CompositeMapper = { +export const OperationDisplay: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NetworkInterfacesUpdate", + className: "OperationDisplay", modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - macAddress: { - serializedName: "macAddress", - type: { - name: "String" - } - }, - virtualNetworkId: { - serializedName: "virtualNetworkId", + provider: { + serializedName: "provider", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - ipv4AddressType: { - serializedName: "ipv4AddressType", + resource: { + serializedName: "resource", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - ipv6AddressType: { - serializedName: "ipv6AddressType", + operation: { + serializedName: "operation", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - macAddressType: { - serializedName: "macAddressType", + description: { + serializedName: "description", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - nicId: { - serializedName: "nicId", - type: { - name: "String" - } - } - } - } -}; - -export const StopVirtualMachineOptions: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "StopVirtualMachineOptions", - modelProperties: { - skipShutdown: { - defaultValue: false, - serializedName: "skipShutdown", - type: { - name: "Boolean" - } - } - } - } + }, + }, }; -export const VirtualMachineCreateCheckpoint: coreClient.CompositeMapper = { +export const AvailabilitySetListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineCreateCheckpoint", + className: "AvailabilitySetListResult", modelProperties: { - name: { - serializedName: "name", + value: { + serializedName: "value", + required: true, type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AvailabilitySet", + }, + }, + }, }, - description: { - serializedName: "description", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const VirtualMachineDeleteCheckpoint: coreClient.CompositeMapper = { +export const AvailabilitySetProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineDeleteCheckpoint", + className: "AvailabilitySetProperties", modelProperties: { - id: { - serializedName: "id", + availabilitySetName: { + constraints: { + MinLength: 1, + }, + serializedName: "availabilitySetName", type: { - name: "String" - } - } - } - } -}; - -export const VirtualMachineRestoreCheckpoint: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualMachineRestoreCheckpoint", - modelProperties: { - id: { - serializedName: "id", + name: "String", + }, + }, + vmmServerId: { + serializedName: "vmmServerId", + type: { + name: "String", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const VirtualMachineListResult: coreClient.CompositeMapper = { +export const CloudListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineListResult", + className: "CloudListResult", modelProperties: { value: { serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualMachine" - } - } - } + className: "Cloud", + }, + }, + }, }, nextLink: { serializedName: "nextLink", + readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const VirtualMachineTemplate: coreClient.CompositeMapper = { +export const CloudProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineTemplate", + className: "CloudProperties", 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" - } - }, - location: { - serializedName: "location", - required: true, - type: { - name: "String" - } - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - }, - systemData: { - serializedName: "systemData", - type: { - name: "Composite", - className: "SystemData" - } - }, - extendedLocation: { - serializedName: "extendedLocation", - type: { - name: "Composite", - className: "ExtendedLocation" - } - }, inventoryItemId: { - serializedName: "properties.inventoryItemId", + serializedName: "inventoryItemId", type: { - name: "String" - } + name: "String", + }, }, uuid: { constraints: { - MinLength: 1 + Pattern: new RegExp( + "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + ), }, - serializedName: "properties.uuid", + serializedName: "uuid", type: { - name: "String" - } + name: "String", + }, }, vmmServerId: { - serializedName: "properties.vmmServerId", + serializedName: "vmmServerId", type: { - name: "String" - } + name: "String", + }, }, - osType: { - serializedName: "properties.osType", + cloudName: { + serializedName: "cloudName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - osName: { - serializedName: "properties.osName", - readOnly: true, + cloudCapacity: { + serializedName: "cloudCapacity", type: { - name: "String" - } + name: "Composite", + className: "CloudCapacity", + }, }, - computerName: { - serializedName: "properties.computerName", + storageQosPolicies: { + serializedName: "storageQoSPolicies", readOnly: true, type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StorageQosPolicy", + }, + }, + }, }, - memoryMB: { - serializedName: "properties.memoryMB", + provisioningState: { + serializedName: "provisioningState", readOnly: true, type: { - name: "Number" - } + name: "String", + }, }, + }, + }, +}; + +export const CloudCapacity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CloudCapacity", + modelProperties: { cpuCount: { - serializedName: "properties.cpuCount", + serializedName: "cpuCount", readOnly: true, type: { - name: "Number" - } + name: "Number", + }, }, - limitCpuForMigration: { - serializedName: "properties.limitCpuForMigration", + memoryMB: { + serializedName: "memoryMB", readOnly: true, type: { - name: "String" - } + name: "Number", + }, }, - dynamicMemoryEnabled: { - serializedName: "properties.dynamicMemoryEnabled", + vmCount: { + serializedName: "vmCount", readOnly: true, type: { - name: "String" - } + name: "Number", + }, }, - isCustomizable: { - serializedName: "properties.isCustomizable", - readOnly: true, + }, + }, +}; + +export const StorageQosPolicy: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "StorageQosPolicy", + modelProperties: { + name: { + serializedName: "name", type: { - name: "String" - } + name: "String", + }, }, - dynamicMemoryMaxMB: { - serializedName: "properties.dynamicMemoryMaxMB", - readOnly: true, + id: { + serializedName: "id", type: { - name: "Number" - } + name: "String", + }, }, - dynamicMemoryMinMB: { - serializedName: "properties.dynamicMemoryMinMB", - readOnly: true, + iopsMaximum: { + serializedName: "iopsMaximum", type: { - name: "Number" - } + name: "Number", + }, }, - isHighlyAvailable: { - serializedName: "properties.isHighlyAvailable", - readOnly: true, + iopsMinimum: { + serializedName: "iopsMinimum", type: { - name: "String" - } + name: "Number", + }, }, - generation: { - serializedName: "properties.generation", - readOnly: true, + bandwidthLimit: { + serializedName: "bandwidthLimit", type: { - name: "Number" - } + name: "Number", + }, }, - networkInterfaces: { - serializedName: "properties.networkInterfaces", - readOnly: true, + policyId: { + serializedName: "policyId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "NetworkInterfaces" - } - } - } + name: "String", + }, }, - disks: { - serializedName: "properties.disks", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualDisk" - } - } - } - }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, - type: { - name: "String" - } - } - } - } + }, + }, }; export const VirtualMachineTemplateListResult: coreClient.CompositeMapper = { @@ -1853,328 +1664,598 @@ export const VirtualMachineTemplateListResult: coreClient.CompositeMapper = { modelProperties: { value: { serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualMachineTemplate" - } - } - } + className: "VirtualMachineTemplate", + }, + }, + }, }, nextLink: { serializedName: "nextLink", + readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const AvailabilitySet: coreClient.CompositeMapper = { +export const VirtualMachineTemplateProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AvailabilitySet", + className: "VirtualMachineTemplateProperties", modelProperties: { - id: { - serializedName: "id", + inventoryItemId: { + serializedName: "inventoryItemId", + type: { + name: "String", + }, + }, + uuid: { + constraints: { + Pattern: new RegExp( + "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + ), + }, + serializedName: "uuid", + type: { + name: "String", + }, + }, + vmmServerId: { + serializedName: "vmmServerId", + type: { + name: "String", + }, + }, + osType: { + serializedName: "osType", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - name: { - serializedName: "name", + osName: { + serializedName: "osName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - type: { - serializedName: "type", + computerName: { + serializedName: "computerName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - location: { - serializedName: "location", + memoryMB: { + serializedName: "memoryMB", + readOnly: true, type: { - name: "String" - } + name: "Number", + }, }, - tags: { - serializedName: "tags", + cpuCount: { + serializedName: "cpuCount", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "String" } } - } + name: "Number", + }, }, - systemData: { - serializedName: "systemData", + limitCpuForMigration: { + serializedName: "limitCpuForMigration", + readOnly: true, type: { - name: "Composite", - className: "SystemData" - } + name: "String", + }, }, - extendedLocation: { - serializedName: "extendedLocation", + dynamicMemoryEnabled: { + serializedName: "dynamicMemoryEnabled", + readOnly: true, type: { - name: "Composite", - className: "ExtendedLocation" - } + name: "String", + }, }, - availabilitySetName: { - constraints: { - MinLength: 1 + isCustomizable: { + serializedName: "isCustomizable", + readOnly: true, + type: { + name: "String", + }, + }, + dynamicMemoryMaxMB: { + serializedName: "dynamicMemoryMaxMB", + readOnly: true, + type: { + name: "Number", }, - serializedName: "properties.availabilitySetName", + }, + dynamicMemoryMinMB: { + serializedName: "dynamicMemoryMinMB", + readOnly: true, type: { - name: "String" - } + name: "Number", + }, }, - vmmServerId: { - serializedName: "properties.vmmServerId", + isHighlyAvailable: { + serializedName: "isHighlyAvailable", + readOnly: true, + type: { + name: "String", + }, + }, + generation: { + serializedName: "generation", + readOnly: true, + type: { + name: "Number", + }, + }, + networkInterfaces: { + serializedName: "networkInterfaces", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NetworkInterface", + }, + }, + }, + }, + disks: { + serializedName: "disks", + readOnly: true, type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualDisk", + }, + }, + }, }, provisioningState: { - serializedName: "properties.provisioningState", + serializedName: "provisioningState", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const AvailabilitySetListResult: coreClient.CompositeMapper = { +export const VirtualNetworkListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AvailabilitySetListResult", + className: "VirtualNetworkListResult", modelProperties: { value: { serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "AvailabilitySet" - } - } - } + className: "VirtualNetwork", + }, + }, + }, }, nextLink: { serializedName: "nextLink", + readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const InventoryItemProperties: coreClient.CompositeMapper = { +export const VirtualNetworkProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InventoryItemProperties", - uberParent: "InventoryItemProperties", - polymorphicDiscriminator: { - serializedName: "inventoryType", - clientName: "inventoryType" - }, + className: "VirtualNetworkProperties", modelProperties: { - inventoryType: { - serializedName: "inventoryType", - required: true, - type: { - name: "String" - } - }, - managedResourceId: { - serializedName: "managedResourceId", - readOnly: true, + inventoryItemId: { + serializedName: "inventoryItemId", type: { - name: "String" - } + name: "String", + }, }, uuid: { + constraints: { + Pattern: new RegExp( + "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + ), + }, serializedName: "uuid", - readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - inventoryItemName: { - serializedName: "inventoryItemName", + vmmServerId: { + serializedName: "vmmServerId", + type: { + name: "String", + }, + }, + networkName: { + serializedName: "networkName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, provisioningState: { serializedName: "provisioningState", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const Resource: coreClient.CompositeMapper = { +export const VmmServerListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Resource", + className: "VmmServerListResult", modelProperties: { - id: { - serializedName: "id", - readOnly: true, + value: { + serializedName: "value", + required: true, type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VmmServer", + }, + }, + }, }, - name: { - serializedName: "name", + nextLink: { + serializedName: "nextLink", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - type: { - serializedName: "type", - readOnly: true, - type: { - name: "String" - } - } - } - } + }, + }, }; -export const InventoryItemsList: coreClient.CompositeMapper = { +export const VmmServerProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InventoryItemsList", + className: "VmmServerProperties", modelProperties: { - nextLink: { - serializedName: "nextLink", + credentials: { + serializedName: "credentials", type: { - name: "String" - } + name: "Composite", + className: "VmmCredential", + }, }, - value: { - serializedName: "value", + fqdn: { + constraints: { + MinLength: 1, + }, + serializedName: "fqdn", required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InventoryItem" - } - } - } - } - } - } + name: "String", + }, + }, + port: { + constraints: { + InclusiveMaximum: 65535, + InclusiveMinimum: 1, + }, + serializedName: "port", + type: { + name: "Number", + }, + }, + connectionStatus: { + serializedName: "connectionStatus", + readOnly: true, + type: { + name: "String", + }, + }, + errorMessage: { + serializedName: "errorMessage", + readOnly: true, + type: { + name: "String", + }, + }, + uuid: { + serializedName: "uuid", + readOnly: true, + type: { + name: "String", + }, + }, + version: { + serializedName: "version", + readOnly: true, + type: { + name: "String", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const InventoryItemDetails: coreClient.CompositeMapper = { +export const VmmCredential: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InventoryItemDetails", + className: "VmmCredential", modelProperties: { - inventoryItemId: { - serializedName: "inventoryItemId", + username: { + serializedName: "username", type: { - name: "String" - } + name: "String", + }, }, - inventoryItemName: { - serializedName: "inventoryItemName", + password: { + serializedName: "password", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const CloudInventoryItem: coreClient.CompositeMapper = { - serializedName: "Cloud", +export const AvailabilitySetTagsUpdate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CloudInventoryItem", - uberParent: "InventoryItemProperties", - polymorphicDiscriminator: - InventoryItemProperties.type.polymorphicDiscriminator, + className: "AvailabilitySetTagsUpdate", modelProperties: { - ...InventoryItemProperties.type.modelProperties - } - } + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + }, + }, }; -export const VirtualNetworkInventoryItem: coreClient.CompositeMapper = { - serializedName: "VirtualNetwork", +export const CloudTagsUpdate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualNetworkInventoryItem", - uberParent: "InventoryItemProperties", - polymorphicDiscriminator: - InventoryItemProperties.type.polymorphicDiscriminator, + className: "CloudTagsUpdate", modelProperties: { - ...InventoryItemProperties.type.modelProperties - } - } + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + }, + }, }; -export const VirtualMachineTemplateInventoryItem: coreClient.CompositeMapper = { - serializedName: "VirtualMachineTemplate", +export const VirtualMachineTemplateTagsUpdate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineTemplateInventoryItem", + className: "VirtualMachineTemplateTagsUpdate", + modelProperties: { + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + }, + }, +}; + +export const VirtualNetworkTagsUpdate: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualNetworkTagsUpdate", + modelProperties: { + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + }, + }, +}; + +export const VmmServerTagsUpdate: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VmmServerTagsUpdate", + modelProperties: { + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + }, + }, +}; + +export const InventoryItemListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "InventoryItemListResult", + modelProperties: { + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InventoryItem", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const InventoryItemProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "InventoryItemProperties", uberParent: "InventoryItemProperties", - polymorphicDiscriminator: - InventoryItemProperties.type.polymorphicDiscriminator, + polymorphicDiscriminator: { + serializedName: "inventoryType", + clientName: "inventoryType", + }, modelProperties: { - ...InventoryItemProperties.type.modelProperties, - cpuCount: { - serializedName: "cpuCount", + inventoryType: { + serializedName: "inventoryType", + required: true, + type: { + name: "String", + }, + }, + managedResourceId: { + serializedName: "managedResourceId", readOnly: true, type: { - name: "Number" - } + name: "String", + }, }, - memoryMB: { - serializedName: "memoryMB", + uuid: { + serializedName: "uuid", readOnly: true, type: { - name: "Number" - } + name: "String", + }, }, - osType: { - serializedName: "osType", + inventoryItemName: { + serializedName: "inventoryItemName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - osName: { - serializedName: "osName", + provisioningState: { + serializedName: "provisioningState", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, +}; + +export const InventoryItemDetails: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "InventoryItemDetails", + modelProperties: { + inventoryItemId: { + serializedName: "inventoryItemId", + type: { + name: "String", + }, + }, + inventoryItemName: { + serializedName: "inventoryItemName", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ProxyResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ProxyResource", + modelProperties: { + ...Resource.type.modelProperties, + }, + }, +}; + +export const TrackedResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TrackedResource", + modelProperties: { + ...Resource.type.modelProperties, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + location: { + serializedName: "location", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const CloudInventoryItem: coreClient.CompositeMapper = { + serializedName: "Cloud", + type: { + name: "Composite", + className: "CloudInventoryItem", + uberParent: "InventoryItemProperties", + polymorphicDiscriminator: + InventoryItemProperties.type.polymorphicDiscriminator, + modelProperties: { + ...InventoryItemProperties.type.modelProperties, + }, + }, }; export const VirtualMachineInventoryItem: coreClient.CompositeMapper = { @@ -2191,22 +2272,29 @@ export const VirtualMachineInventoryItem: coreClient.CompositeMapper = { serializedName: "osType", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, osName: { serializedName: "osName", readOnly: true, type: { - name: "String" - } + name: "String", + }, + }, + osVersion: { + serializedName: "osVersion", + readOnly: true, + type: { + name: "String", + }, }, powerState: { serializedName: "powerState", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, ipAddresses: { serializedName: "ipAddresses", @@ -2214,104 +2302,540 @@ export const VirtualMachineInventoryItem: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, cloud: { serializedName: "cloud", type: { name: "Composite", - className: "InventoryItemDetails" - } - } - } - } -}; - -export const ProxyResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ProxyResource", - modelProperties: { - ...Resource.type.modelProperties - } - } -}; - -export const InventoryItem: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "InventoryItem", - modelProperties: { - ...ProxyResource.type.modelProperties, - systemData: { - serializedName: "systemData", - type: { - name: "Composite", - className: "SystemData" - } + className: "InventoryItemDetails", + }, }, - kind: { - serializedName: "kind", + biosGuid: { + serializedName: "biosGuid", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - inventoryType: { - serializedName: "properties.inventoryType", - required: true, + managedMachineResourceId: { + serializedName: "managedMachineResourceId", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - managedResourceId: { - serializedName: "properties.managedResourceId", + }, + }, +}; + +export const VirtualMachineTemplateInventoryItem: coreClient.CompositeMapper = { + serializedName: "VirtualMachineTemplate", + type: { + name: "Composite", + className: "VirtualMachineTemplateInventoryItem", + uberParent: "InventoryItemProperties", + polymorphicDiscriminator: + InventoryItemProperties.type.polymorphicDiscriminator, + modelProperties: { + ...InventoryItemProperties.type.modelProperties, + cpuCount: { + serializedName: "cpuCount", readOnly: true, type: { - name: "String" - } + name: "Number", + }, }, - uuid: { - serializedName: "properties.uuid", + memoryMB: { + serializedName: "memoryMB", readOnly: true, type: { - name: "String" - } + name: "Number", + }, }, - inventoryItemName: { - serializedName: "properties.inventoryItemName", + osType: { + serializedName: "osType", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - provisioningState: { - serializedName: "properties.provisioningState", + osName: { + serializedName: "osName", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const AvailabilitySetsCreateOrUpdateHeaders: coreClient.CompositeMapper = { +export const VirtualNetworkInventoryItem: coreClient.CompositeMapper = { + serializedName: "VirtualNetwork", type: { name: "Composite", - className: "AvailabilitySetsCreateOrUpdateHeaders", + className: "VirtualNetworkInventoryItem", + uberParent: "InventoryItemProperties", + polymorphicDiscriminator: + InventoryItemProperties.type.polymorphicDiscriminator, modelProperties: { - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String" - } - } - } - } -}; + ...InventoryItemProperties.type.modelProperties, + }, + }, +}; + +export const VirtualMachineInstance: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineInstance", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "VirtualMachineInstanceProperties", + }, + }, + extendedLocation: { + serializedName: "extendedLocation", + type: { + name: "Composite", + className: "ExtendedLocation", + }, + }, + }, + }, +}; + +export const GuestAgent: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "GuestAgent", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "GuestAgentProperties", + }, + }, + }, + }, +}; + +export const VmInstanceHybridIdentityMetadata: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VmInstanceHybridIdentityMetadata", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "VmInstanceHybridIdentityMetadataProperties", + }, + }, + }, + }, +}; + +export const InventoryItem: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "InventoryItem", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "InventoryItemProperties", + }, + }, + kind: { + serializedName: "kind", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const AvailabilitySet: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AvailabilitySet", + modelProperties: { + ...TrackedResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "AvailabilitySetProperties", + }, + }, + extendedLocation: { + serializedName: "extendedLocation", + type: { + name: "Composite", + className: "ExtendedLocation", + }, + }, + }, + }, +}; + +export const Cloud: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Cloud", + modelProperties: { + ...TrackedResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "CloudProperties", + }, + }, + extendedLocation: { + serializedName: "extendedLocation", + type: { + name: "Composite", + className: "ExtendedLocation", + }, + }, + }, + }, +}; + +export const VirtualMachineTemplate: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineTemplate", + modelProperties: { + ...TrackedResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "VirtualMachineTemplateProperties", + }, + }, + extendedLocation: { + serializedName: "extendedLocation", + type: { + name: "Composite", + className: "ExtendedLocation", + }, + }, + }, + }, +}; + +export const VirtualNetwork: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualNetwork", + modelProperties: { + ...TrackedResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "VirtualNetworkProperties", + }, + }, + extendedLocation: { + serializedName: "extendedLocation", + type: { + name: "Composite", + className: "ExtendedLocation", + }, + }, + }, + }, +}; + +export const VmmServer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VmmServer", + modelProperties: { + ...TrackedResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "VmmServerProperties", + }, + }, + extendedLocation: { + serializedName: "extendedLocation", + type: { + name: "Composite", + className: "ExtendedLocation", + }, + }, + }, + }, +}; + +export const VirtualMachineInstancesCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "VirtualMachineInstancesCreateOrUpdateHeaders", + modelProperties: { + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const VirtualMachineInstancesUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "VirtualMachineInstancesUpdateHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const VirtualMachineInstancesDeleteHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "VirtualMachineInstancesDeleteHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const VirtualMachineInstancesCreateCheckpointHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "VirtualMachineInstancesCreateCheckpointHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const VirtualMachineInstancesDeleteCheckpointHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "VirtualMachineInstancesDeleteCheckpointHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const VirtualMachineInstancesRestartHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "VirtualMachineInstancesRestartHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const VirtualMachineInstancesRestoreCheckpointHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "VirtualMachineInstancesRestoreCheckpointHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const VirtualMachineInstancesStartHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineInstancesStartHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const VirtualMachineInstancesStopHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineInstancesStopHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const GuestAgentsCreateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "GuestAgentsCreateHeaders", + modelProperties: { + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const AvailabilitySetsCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "AvailabilitySetsCreateOrUpdateHeaders", + modelProperties: { + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const AvailabilitySetsUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AvailabilitySetsUpdateHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; export const AvailabilitySetsDeleteHeaders: coreClient.CompositeMapper = { type: { @@ -2321,17 +2845,262 @@ export const AvailabilitySetsDeleteHeaders: coreClient.CompositeMapper = { azureAsyncOperation: { serializedName: "azure-asyncoperation", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const CloudsCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CloudsCreateOrUpdateHeaders", + modelProperties: { + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const CloudsUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CloudsUpdateHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const CloudsDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CloudsDeleteHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const VirtualMachineTemplatesCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "VirtualMachineTemplatesCreateOrUpdateHeaders", + modelProperties: { + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const VirtualMachineTemplatesUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "VirtualMachineTemplatesUpdateHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const VirtualMachineTemplatesDeleteHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "VirtualMachineTemplatesDeleteHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const VirtualNetworksCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "VirtualNetworksCreateOrUpdateHeaders", + modelProperties: { + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const VirtualNetworksUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualNetworksUpdateHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const VirtualNetworksDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualNetworksDeleteHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const VmmServersCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VmmServersCreateOrUpdateHeaders", + modelProperties: { + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const VmmServersUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VmmServersUpdateHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const VmmServersDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VmmServersDeleteHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, }; export let discriminators = { InventoryItemProperties: InventoryItemProperties, "InventoryItemProperties.Cloud": CloudInventoryItem, + "InventoryItemProperties.VirtualMachine": VirtualMachineInventoryItem, + "InventoryItemProperties.VirtualMachineTemplate": + VirtualMachineTemplateInventoryItem, "InventoryItemProperties.VirtualNetwork": VirtualNetworkInventoryItem, - "InventoryItemProperties.VirtualMachineTemplate": VirtualMachineTemplateInventoryItem, - "InventoryItemProperties.VirtualMachine": VirtualMachineInventoryItem }; diff --git a/sdk/scvmm/arm-scvmm/src/models/parameters.ts b/sdk/scvmm/arm-scvmm/src/models/parameters.ts index a57120bc1956..02ea9d02e1e5 100644 --- a/sdk/scvmm/arm-scvmm/src/models/parameters.ts +++ b/sdk/scvmm/arm-scvmm/src/models/parameters.ts @@ -9,22 +9,27 @@ import { OperationParameter, OperationURLParameter, - OperationQueryParameter + OperationQueryParameter, } from "@azure/core-client"; import { - VMMServer as VMMServerMapper, - ResourcePatch as ResourcePatchMapper, - Cloud as CloudMapper, - VirtualNetwork as VirtualNetworkMapper, - VirtualMachine as VirtualMachineMapper, - VirtualMachineUpdate as VirtualMachineUpdateMapper, - StopVirtualMachineOptions as StopVirtualMachineOptionsMapper, + VirtualMachineInstance as VirtualMachineInstanceMapper, + VirtualMachineInstanceUpdate as VirtualMachineInstanceUpdateMapper, VirtualMachineCreateCheckpoint as VirtualMachineCreateCheckpointMapper, VirtualMachineDeleteCheckpoint as VirtualMachineDeleteCheckpointMapper, VirtualMachineRestoreCheckpoint as VirtualMachineRestoreCheckpointMapper, - VirtualMachineTemplate as VirtualMachineTemplateMapper, + StopVirtualMachineOptions as StopVirtualMachineOptionsMapper, + GuestAgent as GuestAgentMapper, AvailabilitySet as AvailabilitySetMapper, - InventoryItem as InventoryItemMapper + AvailabilitySetTagsUpdate as AvailabilitySetTagsUpdateMapper, + Cloud as CloudMapper, + CloudTagsUpdate as CloudTagsUpdateMapper, + VirtualMachineTemplate as VirtualMachineTemplateMapper, + VirtualMachineTemplateTagsUpdate as VirtualMachineTemplateTagsUpdateMapper, + VirtualNetwork as VirtualNetworkMapper, + VirtualNetworkTagsUpdate as VirtualNetworkTagsUpdateMapper, + VmmServer as VmmServerMapper, + VmmServerTagsUpdate as VmmServerTagsUpdateMapper, + InventoryItem as InventoryItemMapper, } from "../models/mappers"; export const accept: OperationParameter = { @@ -34,9 +39,9 @@ export const accept: OperationParameter = { isConstant: true, serializedName: "Accept", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const $host: OperationURLParameter = { @@ -45,55 +50,34 @@ export const $host: OperationURLParameter = { serializedName: "$host", required: true, type: { - name: "String" - } + name: "String", + }, }, - skipEncoding: true + skipEncoding: true, }; -export const subscriptionId: OperationURLParameter = { - parameterPath: "subscriptionId", - mapper: { - serializedName: "subscriptionId", - required: true, - type: { - name: "String" - } - } -}; - -export const resourceGroupName: OperationURLParameter = { - parameterPath: "resourceGroupName", +export const apiVersion: OperationQueryParameter = { + parameterPath: "apiVersion", mapper: { - serializedName: "resourceGroupName", - required: true, + defaultValue: "2023-10-07", + isConstant: true, + serializedName: "api-version", type: { - name: "String" - } - } + name: "String", + }, + }, }; -export const vmmServerName: OperationURLParameter = { - parameterPath: "vmmServerName", +export const resourceUri: OperationURLParameter = { + parameterPath: "resourceUri", mapper: { - serializedName: "vmmServerName", + serializedName: "resourceUri", required: true, type: { - name: "String" - } - } -}; - -export const apiVersion: OperationQueryParameter = { - parameterPath: "apiVersion", - mapper: { - defaultValue: "2020-06-05-preview", - isConstant: true, - serializedName: "api-version", - type: { - name: "String" - } - } + name: "String", + }, + }, + skipEncoding: true, }; export const contentType: OperationParameter = { @@ -103,14 +87,19 @@ export const contentType: OperationParameter = { isConstant: true, serializedName: "Content-Type", type: { - name: "String" - } - } + name: "String", + }, + }, }; -export const body: OperationParameter = { - parameterPath: "body", - mapper: VMMServerMapper +export const resource: OperationParameter = { + parameterPath: "resource", + mapper: VirtualMachineInstanceMapper, +}; + +export const properties: OperationParameter = { + parameterPath: "properties", + mapper: VirtualMachineInstanceUpdateMapper, }; export const force: OperationQueryParameter = { @@ -118,14 +107,39 @@ export const force: OperationQueryParameter = { mapper: { serializedName: "force", type: { - name: "Boolean" - } - } + name: "String", + }, + }, +}; + +export const deleteFromHost: OperationQueryParameter = { + parameterPath: ["options", "deleteFromHost"], + mapper: { + serializedName: "deleteFromHost", + type: { + name: "String", + }, + }, +}; + +export const body: OperationParameter = { + parameterPath: "body", + mapper: VirtualMachineCreateCheckpointMapper, }; export const body1: OperationParameter = { parameterPath: "body", - mapper: ResourcePatchMapper + mapper: VirtualMachineDeleteCheckpointMapper, +}; + +export const body2: OperationParameter = { + parameterPath: "body", + mapper: VirtualMachineRestoreCheckpointMapper, +}; + +export const body3: OperationParameter = { + parameterPath: "body", + mapper: StopVirtualMachineOptionsMapper, }; export const nextLink: OperationURLParameter = { @@ -134,139 +148,190 @@ export const nextLink: OperationURLParameter = { serializedName: "nextLink", required: true, type: { - name: "String" - } + name: "String", + }, }, - skipEncoding: true + skipEncoding: true, }; -export const cloudName: OperationURLParameter = { - parameterPath: "cloudName", +export const resource1: OperationParameter = { + parameterPath: "resource", + mapper: GuestAgentMapper, +}; + +export const subscriptionId: OperationURLParameter = { + parameterPath: "subscriptionId", mapper: { - serializedName: "cloudName", + serializedName: "subscriptionId", required: true, type: { - name: "String" - } - } -}; - -export const body2: OperationParameter = { - parameterPath: "body", - mapper: CloudMapper + name: "Uuid", + }, + }, }; -export const virtualNetworkName: OperationURLParameter = { - parameterPath: "virtualNetworkName", +export const resourceGroupName: OperationURLParameter = { + parameterPath: "resourceGroupName", mapper: { - serializedName: "virtualNetworkName", + constraints: { + MaxLength: 90, + MinLength: 1, + }, + serializedName: "resourceGroupName", required: true, type: { - name: "String" - } - } -}; - -export const body3: OperationParameter = { - parameterPath: "body", - mapper: VirtualNetworkMapper + name: "String", + }, + }, }; -export const virtualMachineName: OperationURLParameter = { - parameterPath: "virtualMachineName", +export const availabilitySetResourceName: OperationURLParameter = { + parameterPath: "availabilitySetResourceName", mapper: { - serializedName: "virtualMachineName", + constraints: { + Pattern: new RegExp("[a-zA-Z0-9-_\\.]"), + MaxLength: 54, + MinLength: 1, + }, + serializedName: "availabilitySetResourceName", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; -export const body4: OperationParameter = { - parameterPath: "body", - mapper: VirtualMachineMapper +export const resource2: OperationParameter = { + parameterPath: "resource", + mapper: AvailabilitySetMapper, +}; + +export const properties1: OperationParameter = { + parameterPath: "properties", + mapper: AvailabilitySetTagsUpdateMapper, }; -export const retain: OperationQueryParameter = { - parameterPath: ["options", "retain"], +export const cloudResourceName: OperationURLParameter = { + parameterPath: "cloudResourceName", mapper: { - serializedName: "retain", + constraints: { + Pattern: new RegExp("[a-zA-Z0-9-_\\.]"), + MaxLength: 54, + MinLength: 1, + }, + serializedName: "cloudResourceName", + required: true, type: { - name: "Boolean" - } - } + name: "String", + }, + }, }; -export const body5: OperationParameter = { - parameterPath: "body", - mapper: VirtualMachineUpdateMapper +export const resource3: OperationParameter = { + parameterPath: "resource", + mapper: CloudMapper, }; -export const body6: OperationParameter = { - parameterPath: ["options", "body"], - mapper: StopVirtualMachineOptionsMapper +export const properties2: OperationParameter = { + parameterPath: "properties", + mapper: CloudTagsUpdateMapper, }; -export const body7: OperationParameter = { - parameterPath: ["options", "body"], - mapper: VirtualMachineCreateCheckpointMapper +export const virtualMachineTemplateName: OperationURLParameter = { + parameterPath: "virtualMachineTemplateName", + mapper: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9-_\\.]"), + MaxLength: 54, + MinLength: 1, + }, + serializedName: "virtualMachineTemplateName", + required: true, + type: { + name: "String", + }, + }, }; -export const body8: OperationParameter = { - parameterPath: ["options", "body"], - mapper: VirtualMachineDeleteCheckpointMapper +export const resource4: OperationParameter = { + parameterPath: "resource", + mapper: VirtualMachineTemplateMapper, }; -export const body9: OperationParameter = { - parameterPath: ["options", "body"], - mapper: VirtualMachineRestoreCheckpointMapper +export const properties3: OperationParameter = { + parameterPath: "properties", + mapper: VirtualMachineTemplateTagsUpdateMapper, }; -export const virtualMachineTemplateName: OperationURLParameter = { - parameterPath: "virtualMachineTemplateName", +export const virtualNetworkName: OperationURLParameter = { + parameterPath: "virtualNetworkName", mapper: { - serializedName: "virtualMachineTemplateName", + constraints: { + Pattern: new RegExp("[a-zA-Z0-9-_\\.]"), + MaxLength: 54, + MinLength: 1, + }, + serializedName: "virtualNetworkName", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; -export const body10: OperationParameter = { - parameterPath: "body", - mapper: VirtualMachineTemplateMapper +export const resource5: OperationParameter = { + parameterPath: "resource", + mapper: VirtualNetworkMapper, }; -export const availabilitySetName: OperationURLParameter = { - parameterPath: "availabilitySetName", +export const properties4: OperationParameter = { + parameterPath: "properties", + mapper: VirtualNetworkTagsUpdateMapper, +}; + +export const vmmServerName: OperationURLParameter = { + parameterPath: "vmmServerName", mapper: { - serializedName: "availabilitySetName", + constraints: { + Pattern: new RegExp("[a-zA-Z0-9-_\\.]"), + MaxLength: 54, + MinLength: 1, + }, + serializedName: "vmmServerName", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; -export const body11: OperationParameter = { - parameterPath: "body", - mapper: AvailabilitySetMapper +export const resource6: OperationParameter = { + parameterPath: "resource", + mapper: VmmServerMapper, }; -export const body12: OperationParameter = { - parameterPath: ["options", "body"], - mapper: InventoryItemMapper +export const properties5: OperationParameter = { + parameterPath: "properties", + mapper: VmmServerTagsUpdateMapper, }; -export const inventoryItemName: OperationURLParameter = { - parameterPath: "inventoryItemName", +export const inventoryItemResourceName: OperationURLParameter = { + parameterPath: "inventoryItemResourceName", mapper: { - serializedName: "inventoryItemName", + constraints: { + Pattern: new RegExp( + "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + ), + }, + serializedName: "inventoryItemResourceName", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, +}; + +export const resource7: OperationParameter = { + parameterPath: "resource", + mapper: InventoryItemMapper, }; diff --git a/sdk/scvmm/arm-scvmm/src/operations/availabilitySets.ts b/sdk/scvmm/arm-scvmm/src/operations/availabilitySets.ts index 3988ccabbd8a..dc9d1eef079d 100644 --- a/sdk/scvmm/arm-scvmm/src/operations/availabilitySets.ts +++ b/sdk/scvmm/arm-scvmm/src/operations/availabilitySets.ts @@ -12,52 +12,55 @@ import { AvailabilitySets } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { Scvmm } from "../scvmm"; -import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; -import { LroImpl } from "../lroImpl"; +import { ScVmm } from "../scVmm"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; import { AvailabilitySet, - AvailabilitySetsListByResourceGroupNextOptionalParams, - AvailabilitySetsListByResourceGroupOptionalParams, - AvailabilitySetsListByResourceGroupResponse, AvailabilitySetsListBySubscriptionNextOptionalParams, AvailabilitySetsListBySubscriptionOptionalParams, AvailabilitySetsListBySubscriptionResponse, + AvailabilitySetsListByResourceGroupNextOptionalParams, + AvailabilitySetsListByResourceGroupOptionalParams, + AvailabilitySetsListByResourceGroupResponse, AvailabilitySetsGetOptionalParams, AvailabilitySetsGetResponse, AvailabilitySetsCreateOrUpdateOptionalParams, AvailabilitySetsCreateOrUpdateResponse, - AvailabilitySetsDeleteOptionalParams, - ResourcePatch, + AvailabilitySetTagsUpdate, AvailabilitySetsUpdateOptionalParams, AvailabilitySetsUpdateResponse, + AvailabilitySetsDeleteOptionalParams, + AvailabilitySetsDeleteResponse, + AvailabilitySetsListBySubscriptionNextResponse, AvailabilitySetsListByResourceGroupNextResponse, - AvailabilitySetsListBySubscriptionNextResponse } from "../models"; /// /** Class containing AvailabilitySets operations. */ export class AvailabilitySetsImpl implements AvailabilitySets { - private readonly client: Scvmm; + private readonly client: ScVmm; /** * Initialize a new instance of the class AvailabilitySets class. * @param client Reference to the service client */ - constructor(client: Scvmm) { + constructor(client: ScVmm) { this.client = client; } /** - * List of AvailabilitySets in a resource group. - * @param resourceGroupName The name of the resource group. + * List of AvailabilitySets in a subscription. * @param options The options parameters. */ - public listByResourceGroup( - resourceGroupName: string, - options?: AvailabilitySetsListByResourceGroupOptionalParams + public listBySubscription( + options?: AvailabilitySetsListBySubscriptionOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); + const iter = this.listBySubscriptionPagingAll(options); return { next() { return iter.next(); @@ -69,35 +72,26 @@ export class AvailabilitySetsImpl implements AvailabilitySets { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listByResourceGroupPagingPage( - resourceGroupName, - options, - settings - ); - } + return this.listBySubscriptionPagingPage(options, settings); + }, }; } - private async *listByResourceGroupPagingPage( - resourceGroupName: string, - options?: AvailabilitySetsListByResourceGroupOptionalParams, - settings?: PageSettings + private async *listBySubscriptionPagingPage( + options?: AvailabilitySetsListBySubscriptionOptionalParams, + settings?: PageSettings, ): AsyncIterableIterator { - let result: AvailabilitySetsListByResourceGroupResponse; + let result: AvailabilitySetsListBySubscriptionResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._listByResourceGroup(resourceGroupName, options); + result = await this._listBySubscription(options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); yield page; } while (continuationToken) { - result = await this._listByResourceGroupNext( - resourceGroupName, - continuationToken, - options - ); + result = await this._listBySubscriptionNext(continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -105,26 +99,24 @@ export class AvailabilitySetsImpl implements AvailabilitySets { } } - private async *listByResourceGroupPagingAll( - resourceGroupName: string, - options?: AvailabilitySetsListByResourceGroupOptionalParams + private async *listBySubscriptionPagingAll( + options?: AvailabilitySetsListBySubscriptionOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listByResourceGroupPagingPage( - resourceGroupName, - options - )) { + for await (const page of this.listBySubscriptionPagingPage(options)) { yield* page; } } /** - * List of AvailabilitySets in a subscription. + * List of AvailabilitySets in a resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ - public listBySubscription( - options?: AvailabilitySetsListBySubscriptionOptionalParams + public listByResourceGroup( + resourceGroupName: string, + options?: AvailabilitySetsListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listBySubscriptionPagingAll(options); + const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); return { next() { return iter.next(); @@ -136,26 +128,35 @@ export class AvailabilitySetsImpl implements AvailabilitySets { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listBySubscriptionPagingPage(options, settings); - } + return this.listByResourceGroupPagingPage( + resourceGroupName, + options, + settings, + ); + }, }; } - private async *listBySubscriptionPagingPage( - options?: AvailabilitySetsListBySubscriptionOptionalParams, - settings?: PageSettings + private async *listByResourceGroupPagingPage( + resourceGroupName: string, + options?: AvailabilitySetsListByResourceGroupOptionalParams, + settings?: PageSettings, ): AsyncIterableIterator { - let result: AvailabilitySetsListBySubscriptionResponse; + let result: AvailabilitySetsListByResourceGroupResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._listBySubscription(options); + result = await this._listByResourceGroup(resourceGroupName, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); yield page; } while (continuationToken) { - result = await this._listBySubscriptionNext(continuationToken, options); + result = await this._listByResourceGroupNext( + resourceGroupName, + continuationToken, + options, + ); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -163,66 +164,97 @@ export class AvailabilitySetsImpl implements AvailabilitySets { } } - private async *listBySubscriptionPagingAll( - options?: AvailabilitySetsListBySubscriptionOptionalParams + private async *listByResourceGroupPagingAll( + resourceGroupName: string, + options?: AvailabilitySetsListByResourceGroupOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listBySubscriptionPagingPage(options)) { + for await (const page of this.listByResourceGroupPagingPage( + resourceGroupName, + options, + )) { yield* page; } } + /** + * List of AvailabilitySets in a subscription. + * @param options The options parameters. + */ + private _listBySubscription( + options?: AvailabilitySetsListBySubscriptionOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { options }, + listBySubscriptionOperationSpec, + ); + } + + /** + * List of AvailabilitySets in a resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param options The options parameters. + */ + private _listByResourceGroup( + resourceGroupName: string, + options?: AvailabilitySetsListByResourceGroupOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, options }, + listByResourceGroupOperationSpec, + ); + } + /** * Implements AvailabilitySet GET method. - * @param resourceGroupName The name of the resource group. - * @param availabilitySetName Name of the AvailabilitySet. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param availabilitySetResourceName Name of the AvailabilitySet. * @param options The options parameters. */ get( resourceGroupName: string, - availabilitySetName: string, - options?: AvailabilitySetsGetOptionalParams + availabilitySetResourceName: string, + options?: AvailabilitySetsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( - { resourceGroupName, availabilitySetName, options }, - getOperationSpec + { resourceGroupName, availabilitySetResourceName, options }, + getOperationSpec, ); } /** * Onboards the ScVmm availability set as an Azure resource. - * @param resourceGroupName The name of the resource group. - * @param availabilitySetName Name of the AvailabilitySet. - * @param body Request payload. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param availabilitySetResourceName Name of the AvailabilitySet. + * @param resource Resource create parameters. * @param options The options parameters. */ async beginCreateOrUpdate( resourceGroupName: string, - availabilitySetName: string, - body: AvailabilitySet, - options?: AvailabilitySetsCreateOrUpdateOptionalParams + availabilitySetResourceName: string, + resource: AvailabilitySet, + options?: AvailabilitySetsCreateOrUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, AvailabilitySetsCreateOrUpdateResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -231,8 +263,8 @@ export class AvailabilitySetsImpl implements AvailabilitySets { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -240,20 +272,28 @@ export class AvailabilitySetsImpl implements AvailabilitySets { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, availabilitySetName, body, options }, - createOrUpdateOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + availabilitySetResourceName, + resource, + options, + }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + AvailabilitySetsCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, - lroResourceLocationConfig: "azure-async-operation" + resourceLocationConfig: "azure-async-operation", }); await poller.poll(); return poller; @@ -261,54 +301,60 @@ export class AvailabilitySetsImpl implements AvailabilitySets { /** * Onboards the ScVmm availability set as an Azure resource. - * @param resourceGroupName The name of the resource group. - * @param availabilitySetName Name of the AvailabilitySet. - * @param body Request payload. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param availabilitySetResourceName Name of the AvailabilitySet. + * @param resource Resource create parameters. * @param options The options parameters. */ async beginCreateOrUpdateAndWait( resourceGroupName: string, - availabilitySetName: string, - body: AvailabilitySet, - options?: AvailabilitySetsCreateOrUpdateOptionalParams + availabilitySetResourceName: string, + resource: AvailabilitySet, + options?: AvailabilitySetsCreateOrUpdateOptionalParams, ): Promise { const poller = await this.beginCreateOrUpdate( resourceGroupName, - availabilitySetName, - body, - options + availabilitySetResourceName, + resource, + options, ); return poller.pollUntilDone(); } /** - * Deregisters the ScVmm availability set from Azure. - * @param resourceGroupName The name of the resource group. - * @param availabilitySetName Name of the AvailabilitySet. + * Updates the AvailabilitySets resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param availabilitySetResourceName Name of the AvailabilitySet. + * @param properties The resource properties to be updated. * @param options The options parameters. */ - async beginDelete( + async beginUpdate( resourceGroupName: string, - availabilitySetName: string, - options?: AvailabilitySetsDeleteOptionalParams - ): Promise, void>> { + availabilitySetResourceName: string, + properties: AvailabilitySetTagsUpdate, + options?: AvailabilitySetsUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + AvailabilitySetsUpdateResponse + > + > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec - ): Promise => { + spec: coreClient.OperationSpec, + ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -317,8 +363,8 @@ export class AvailabilitySetsImpl implements AvailabilitySets { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -326,78 +372,87 @@ export class AvailabilitySetsImpl implements AvailabilitySets { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, availabilitySetName, options }, - deleteOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + availabilitySetResourceName, + properties, + options, + }, + spec: updateOperationSpec, + }); + const poller = await createHttpPoller< + AvailabilitySetsUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "azure-async-operation", }); await poller.poll(); return poller; } /** - * Deregisters the ScVmm availability set from Azure. - * @param resourceGroupName The name of the resource group. - * @param availabilitySetName Name of the AvailabilitySet. + * Updates the AvailabilitySets resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param availabilitySetResourceName Name of the AvailabilitySet. + * @param properties The resource properties to be updated. * @param options The options parameters. */ - async beginDeleteAndWait( + async beginUpdateAndWait( resourceGroupName: string, - availabilitySetName: string, - options?: AvailabilitySetsDeleteOptionalParams - ): Promise { - const poller = await this.beginDelete( + availabilitySetResourceName: string, + properties: AvailabilitySetTagsUpdate, + options?: AvailabilitySetsUpdateOptionalParams, + ): Promise { + const poller = await this.beginUpdate( resourceGroupName, - availabilitySetName, - options + availabilitySetResourceName, + properties, + options, ); return poller.pollUntilDone(); } /** - * Updates the AvailabilitySets resource. - * @param resourceGroupName The name of the resource group. - * @param availabilitySetName Name of the AvailabilitySet. - * @param body AvailabilitySets patch payload. + * Deregisters the ScVmm availability set from Azure. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param availabilitySetResourceName Name of the AvailabilitySet. * @param options The options parameters. */ - async beginUpdate( + async beginDelete( resourceGroupName: string, - availabilitySetName: string, - body: ResourcePatch, - options?: AvailabilitySetsUpdateOptionalParams + availabilitySetResourceName: string, + options?: AvailabilitySetsDeleteOptionalParams, ): Promise< - PollerLike< - PollOperationState, - AvailabilitySetsUpdateResponse + SimplePollerLike< + OperationState, + AvailabilitySetsDeleteResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec - ): Promise => { + spec: coreClient.OperationSpec, + ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -406,8 +461,8 @@ export class AvailabilitySetsImpl implements AvailabilitySets { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -415,295 +470,269 @@ export class AvailabilitySetsImpl implements AvailabilitySets { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, availabilitySetName, body, options }, - updateOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, availabilitySetResourceName, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + AvailabilitySetsDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, - lroResourceLocationConfig: "azure-async-operation" + resourceLocationConfig: "location", }); await poller.poll(); return poller; } /** - * Updates the AvailabilitySets resource. - * @param resourceGroupName The name of the resource group. - * @param availabilitySetName Name of the AvailabilitySet. - * @param body AvailabilitySets patch payload. + * Deregisters the ScVmm availability set from Azure. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param availabilitySetResourceName Name of the AvailabilitySet. * @param options The options parameters. */ - async beginUpdateAndWait( + async beginDeleteAndWait( resourceGroupName: string, - availabilitySetName: string, - body: ResourcePatch, - options?: AvailabilitySetsUpdateOptionalParams - ): Promise { - const poller = await this.beginUpdate( + availabilitySetResourceName: string, + options?: AvailabilitySetsDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( resourceGroupName, - availabilitySetName, - body, - options + availabilitySetResourceName, + options, ); return poller.pollUntilDone(); } /** - * List of AvailabilitySets in a resource group. - * @param resourceGroupName The name of the resource group. - * @param options The options parameters. - */ - private _listByResourceGroup( - resourceGroupName: string, - options?: AvailabilitySetsListByResourceGroupOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, options }, - listByResourceGroupOperationSpec - ); - } - - /** - * List of AvailabilitySets in a subscription. + * ListBySubscriptionNext + * @param nextLink The nextLink from the previous successful call to the ListBySubscription method. * @param options The options parameters. */ - private _listBySubscription( - options?: AvailabilitySetsListBySubscriptionOptionalParams - ): Promise { + private _listBySubscriptionNext( + nextLink: string, + options?: AvailabilitySetsListBySubscriptionNextOptionalParams, + ): Promise { return this.client.sendOperationRequest( - { options }, - listBySubscriptionOperationSpec + { nextLink, options }, + listBySubscriptionNextOperationSpec, ); } /** * ListByResourceGroupNext - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method. * @param options The options parameters. */ private _listByResourceGroupNext( resourceGroupName: string, nextLink: string, - options?: AvailabilitySetsListByResourceGroupNextOptionalParams + options?: AvailabilitySetsListByResourceGroupNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, nextLink, options }, - listByResourceGroupNextOperationSpec - ); - } - - /** - * ListBySubscriptionNext - * @param nextLink The nextLink from the previous successful call to the ListBySubscription method. - * @param options The options parameters. - */ - private _listBySubscriptionNext( - nextLink: string, - options?: AvailabilitySetsListBySubscriptionNextOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { nextLink, options }, - listBySubscriptionNextOperationSpec + listByResourceGroupNextOperationSpec, ); } } // Operation Specifications const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); +const listBySubscriptionOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/availabilitySets", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.AvailabilitySetListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.subscriptionId], + headerParameters: [Parameters.accept], + serializer, +}; +const listByResourceGroupOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/availabilitySets", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.AvailabilitySetListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + ], + headerParameters: [Parameters.accept], + serializer, +}; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/availabilitySets/{availabilitySetName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/availabilitySets/{availabilitySetResourceName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AvailabilitySet + bodyMapper: Mappers.AvailabilitySet, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.availabilitySetName + Parameters.availabilitySetResourceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/availabilitySets/{availabilitySetName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/availabilitySets/{availabilitySetResourceName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.AvailabilitySet + bodyMapper: Mappers.AvailabilitySet, }, 201: { - bodyMapper: Mappers.AvailabilitySet + bodyMapper: Mappers.AvailabilitySet, }, 202: { - bodyMapper: Mappers.AvailabilitySet + bodyMapper: Mappers.AvailabilitySet, }, 204: { - bodyMapper: Mappers.AvailabilitySet + bodyMapper: Mappers.AvailabilitySet, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body11, + requestBody: Parameters.resource2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.availabilitySetName + Parameters.availabilitySetResourceName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer -}; -const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/availabilitySets/{availabilitySetName}", - httpMethod: "DELETE", - responses: { - 200: {}, - 201: {}, - 202: {}, - 204: {}, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [Parameters.apiVersion, Parameters.force], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.availabilitySetName - ], - headerParameters: [Parameters.accept], - serializer + serializer, }; const updateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/availabilitySets/{availabilitySetName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/availabilitySets/{availabilitySetResourceName}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.AvailabilitySet + bodyMapper: Mappers.AvailabilitySet, }, 201: { - bodyMapper: Mappers.AvailabilitySet + bodyMapper: Mappers.AvailabilitySet, }, 202: { - bodyMapper: Mappers.AvailabilitySet + bodyMapper: Mappers.AvailabilitySet, }, 204: { - bodyMapper: Mappers.AvailabilitySet + bodyMapper: Mappers.AvailabilitySet, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body1, + requestBody: Parameters.properties1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.availabilitySetName + Parameters.availabilitySetResourceName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; -const listByResourceGroupOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/availabilitySets", - httpMethod: "GET", +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/availabilitySets/{availabilitySetResourceName}", + httpMethod: "DELETE", responses: { 200: { - bodyMapper: Mappers.AvailabilitySetListResult + headersMapper: Mappers.AvailabilitySetsDeleteHeaders, + }, + 201: { + headersMapper: Mappers.AvailabilitySetsDeleteHeaders, + }, + 202: { + headersMapper: Mappers.AvailabilitySetsDeleteHeaders, + }, + 204: { + headersMapper: Mappers.AvailabilitySetsDeleteHeaders, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion, Parameters.force], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName + Parameters.resourceGroupName, + Parameters.availabilitySetResourceName, ], headerParameters: [Parameters.accept], - serializer -}; -const listBySubscriptionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/availabilitySets", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.AvailabilitySetListResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host, Parameters.subscriptionId], - headerParameters: [Parameters.accept], - serializer + serializer, }; -const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { +const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AvailabilitySetListResult + bodyMapper: Mappers.AvailabilitySetListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, urlParameters: [ Parameters.$host, + Parameters.nextLink, Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.nextLink ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { +const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AvailabilitySetListResult + bodyMapper: Mappers.AvailabilitySetListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, urlParameters: [ Parameters.$host, + Parameters.nextLink, Parameters.subscriptionId, - Parameters.nextLink + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/scvmm/arm-scvmm/src/operations/clouds.ts b/sdk/scvmm/arm-scvmm/src/operations/clouds.ts index 4ce03251c1a2..3debbde941ea 100644 --- a/sdk/scvmm/arm-scvmm/src/operations/clouds.ts +++ b/sdk/scvmm/arm-scvmm/src/operations/clouds.ts @@ -12,52 +12,55 @@ import { Clouds } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { Scvmm } from "../scvmm"; -import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; -import { LroImpl } from "../lroImpl"; +import { ScVmm } from "../scVmm"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; import { Cloud, - CloudsListByResourceGroupNextOptionalParams, - CloudsListByResourceGroupOptionalParams, - CloudsListByResourceGroupResponse, CloudsListBySubscriptionNextOptionalParams, CloudsListBySubscriptionOptionalParams, CloudsListBySubscriptionResponse, + CloudsListByResourceGroupNextOptionalParams, + CloudsListByResourceGroupOptionalParams, + CloudsListByResourceGroupResponse, CloudsGetOptionalParams, CloudsGetResponse, CloudsCreateOrUpdateOptionalParams, CloudsCreateOrUpdateResponse, - CloudsDeleteOptionalParams, - ResourcePatch, + CloudTagsUpdate, CloudsUpdateOptionalParams, CloudsUpdateResponse, + CloudsDeleteOptionalParams, + CloudsDeleteResponse, + CloudsListBySubscriptionNextResponse, CloudsListByResourceGroupNextResponse, - CloudsListBySubscriptionNextResponse } from "../models"; /// /** Class containing Clouds operations. */ export class CloudsImpl implements Clouds { - private readonly client: Scvmm; + private readonly client: ScVmm; /** * Initialize a new instance of the class Clouds class. * @param client Reference to the service client */ - constructor(client: Scvmm) { + constructor(client: ScVmm) { this.client = client; } /** - * List of Clouds in a resource group. - * @param resourceGroupName The name of the resource group. + * List of Clouds in a subscription. * @param options The options parameters. */ - public listByResourceGroup( - resourceGroupName: string, - options?: CloudsListByResourceGroupOptionalParams + public listBySubscription( + options?: CloudsListBySubscriptionOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); + const iter = this.listBySubscriptionPagingAll(options); return { next() { return iter.next(); @@ -69,35 +72,26 @@ export class CloudsImpl implements Clouds { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listByResourceGroupPagingPage( - resourceGroupName, - options, - settings - ); - } + return this.listBySubscriptionPagingPage(options, settings); + }, }; } - private async *listByResourceGroupPagingPage( - resourceGroupName: string, - options?: CloudsListByResourceGroupOptionalParams, - settings?: PageSettings + private async *listBySubscriptionPagingPage( + options?: CloudsListBySubscriptionOptionalParams, + settings?: PageSettings, ): AsyncIterableIterator { - let result: CloudsListByResourceGroupResponse; + let result: CloudsListBySubscriptionResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._listByResourceGroup(resourceGroupName, options); + result = await this._listBySubscription(options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); yield page; } while (continuationToken) { - result = await this._listByResourceGroupNext( - resourceGroupName, - continuationToken, - options - ); + result = await this._listBySubscriptionNext(continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -105,26 +99,24 @@ export class CloudsImpl implements Clouds { } } - private async *listByResourceGroupPagingAll( - resourceGroupName: string, - options?: CloudsListByResourceGroupOptionalParams + private async *listBySubscriptionPagingAll( + options?: CloudsListBySubscriptionOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listByResourceGroupPagingPage( - resourceGroupName, - options - )) { + for await (const page of this.listBySubscriptionPagingPage(options)) { yield* page; } } /** - * List of Clouds in a subscription. + * List of Clouds in a resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ - public listBySubscription( - options?: CloudsListBySubscriptionOptionalParams + public listByResourceGroup( + resourceGroupName: string, + options?: CloudsListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listBySubscriptionPagingAll(options); + const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); return { next() { return iter.next(); @@ -136,26 +128,35 @@ export class CloudsImpl implements Clouds { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listBySubscriptionPagingPage(options, settings); - } + return this.listByResourceGroupPagingPage( + resourceGroupName, + options, + settings, + ); + }, }; } - private async *listBySubscriptionPagingPage( - options?: CloudsListBySubscriptionOptionalParams, - settings?: PageSettings + private async *listByResourceGroupPagingPage( + resourceGroupName: string, + options?: CloudsListByResourceGroupOptionalParams, + settings?: PageSettings, ): AsyncIterableIterator { - let result: CloudsListBySubscriptionResponse; + let result: CloudsListByResourceGroupResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._listBySubscription(options); + result = await this._listByResourceGroup(resourceGroupName, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); yield page; } while (continuationToken) { - result = await this._listBySubscriptionNext(continuationToken, options); + result = await this._listByResourceGroupNext( + resourceGroupName, + continuationToken, + options, + ); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -163,66 +164,97 @@ export class CloudsImpl implements Clouds { } } - private async *listBySubscriptionPagingAll( - options?: CloudsListBySubscriptionOptionalParams + private async *listByResourceGroupPagingAll( + resourceGroupName: string, + options?: CloudsListByResourceGroupOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listBySubscriptionPagingPage(options)) { + for await (const page of this.listByResourceGroupPagingPage( + resourceGroupName, + options, + )) { yield* page; } } + /** + * List of Clouds in a subscription. + * @param options The options parameters. + */ + private _listBySubscription( + options?: CloudsListBySubscriptionOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { options }, + listBySubscriptionOperationSpec, + ); + } + + /** + * List of Clouds in a resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param options The options parameters. + */ + private _listByResourceGroup( + resourceGroupName: string, + options?: CloudsListByResourceGroupOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, options }, + listByResourceGroupOperationSpec, + ); + } + /** * Implements Cloud GET method. - * @param resourceGroupName The name of the resource group. - * @param cloudName Name of the Cloud. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudResourceName Name of the Cloud. * @param options The options parameters. */ get( resourceGroupName: string, - cloudName: string, - options?: CloudsGetOptionalParams + cloudResourceName: string, + options?: CloudsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( - { resourceGroupName, cloudName, options }, - getOperationSpec + { resourceGroupName, cloudResourceName, options }, + getOperationSpec, ); } /** * Onboards the ScVmm fabric cloud as an Azure cloud resource. - * @param resourceGroupName The name of the resource group. - * @param cloudName Name of the Cloud. - * @param body Request payload. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudResourceName Name of the Cloud. + * @param resource Resource create parameters. * @param options The options parameters. */ async beginCreateOrUpdate( resourceGroupName: string, - cloudName: string, - body: Cloud, - options?: CloudsCreateOrUpdateOptionalParams + cloudResourceName: string, + resource: Cloud, + options?: CloudsCreateOrUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, CloudsCreateOrUpdateResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -231,8 +263,8 @@ export class CloudsImpl implements Clouds { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -240,20 +272,23 @@ export class CloudsImpl implements Clouds { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, cloudName, body, options }, - createOrUpdateOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, cloudResourceName, resource, options }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + CloudsCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, - lroResourceLocationConfig: "azure-async-operation" + resourceLocationConfig: "azure-async-operation", }); await poller.poll(); return poller; @@ -261,54 +296,57 @@ export class CloudsImpl implements Clouds { /** * Onboards the ScVmm fabric cloud as an Azure cloud resource. - * @param resourceGroupName The name of the resource group. - * @param cloudName Name of the Cloud. - * @param body Request payload. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudResourceName Name of the Cloud. + * @param resource Resource create parameters. * @param options The options parameters. */ async beginCreateOrUpdateAndWait( resourceGroupName: string, - cloudName: string, - body: Cloud, - options?: CloudsCreateOrUpdateOptionalParams + cloudResourceName: string, + resource: Cloud, + options?: CloudsCreateOrUpdateOptionalParams, ): Promise { const poller = await this.beginCreateOrUpdate( resourceGroupName, - cloudName, - body, - options + cloudResourceName, + resource, + options, ); return poller.pollUntilDone(); } /** - * Deregisters the ScVmm fabric cloud from Azure. - * @param resourceGroupName The name of the resource group. - * @param cloudName Name of the Cloud. + * Updates the Clouds resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudResourceName Name of the Cloud. + * @param properties The resource properties to be updated. * @param options The options parameters. */ - async beginDelete( + async beginUpdate( resourceGroupName: string, - cloudName: string, - options?: CloudsDeleteOptionalParams - ): Promise, void>> { + cloudResourceName: string, + properties: CloudTagsUpdate, + options?: CloudsUpdateOptionalParams, + ): Promise< + SimplePollerLike, CloudsUpdateResponse> + > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec - ): Promise => { + spec: coreClient.OperationSpec, + ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -317,8 +355,8 @@ export class CloudsImpl implements Clouds { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -326,76 +364,79 @@ export class CloudsImpl implements Clouds { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, cloudName, options }, - deleteOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, cloudResourceName, properties, options }, + spec: updateOperationSpec, + }); + const poller = await createHttpPoller< + CloudsUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, - lroResourceLocationConfig: "azure-async-operation" + resourceLocationConfig: "azure-async-operation", }); await poller.poll(); return poller; } /** - * Deregisters the ScVmm fabric cloud from Azure. - * @param resourceGroupName The name of the resource group. - * @param cloudName Name of the Cloud. + * Updates the Clouds resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudResourceName Name of the Cloud. + * @param properties The resource properties to be updated. * @param options The options parameters. */ - async beginDeleteAndWait( + async beginUpdateAndWait( resourceGroupName: string, - cloudName: string, - options?: CloudsDeleteOptionalParams - ): Promise { - const poller = await this.beginDelete( + cloudResourceName: string, + properties: CloudTagsUpdate, + options?: CloudsUpdateOptionalParams, + ): Promise { + const poller = await this.beginUpdate( resourceGroupName, - cloudName, - options + cloudResourceName, + properties, + options, ); return poller.pollUntilDone(); } /** - * Updates the Clouds resource. - * @param resourceGroupName The name of the resource group. - * @param cloudName Name of the Cloud. - * @param body Clouds patch payload. + * Deregisters the ScVmm fabric cloud from Azure. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudResourceName Name of the Cloud. * @param options The options parameters. */ - async beginUpdate( + async beginDelete( resourceGroupName: string, - cloudName: string, - body: ResourcePatch, - options?: CloudsUpdateOptionalParams + cloudResourceName: string, + options?: CloudsDeleteOptionalParams, ): Promise< - PollerLike, CloudsUpdateResponse> + SimplePollerLike, CloudsDeleteResponse> > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec - ): Promise => { + spec: coreClient.OperationSpec, + ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -404,8 +445,8 @@ export class CloudsImpl implements Clouds { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -413,294 +454,269 @@ export class CloudsImpl implements Clouds { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, cloudName, body, options }, - updateOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, cloudResourceName, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + CloudsDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, - lroResourceLocationConfig: "azure-async-operation" + resourceLocationConfig: "azure-async-operation", }); await poller.poll(); return poller; } /** - * Updates the Clouds resource. - * @param resourceGroupName The name of the resource group. - * @param cloudName Name of the Cloud. - * @param body Clouds patch payload. + * Deregisters the ScVmm fabric cloud from Azure. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudResourceName Name of the Cloud. * @param options The options parameters. */ - async beginUpdateAndWait( + async beginDeleteAndWait( resourceGroupName: string, - cloudName: string, - body: ResourcePatch, - options?: CloudsUpdateOptionalParams - ): Promise { - const poller = await this.beginUpdate( + cloudResourceName: string, + options?: CloudsDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( resourceGroupName, - cloudName, - body, - options + cloudResourceName, + options, ); return poller.pollUntilDone(); } /** - * List of Clouds in a resource group. - * @param resourceGroupName The name of the resource group. - * @param options The options parameters. - */ - private _listByResourceGroup( - resourceGroupName: string, - options?: CloudsListByResourceGroupOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, options }, - listByResourceGroupOperationSpec - ); - } - - /** - * List of Clouds in a subscription. + * ListBySubscriptionNext + * @param nextLink The nextLink from the previous successful call to the ListBySubscription method. * @param options The options parameters. */ - private _listBySubscription( - options?: CloudsListBySubscriptionOptionalParams - ): Promise { + private _listBySubscriptionNext( + nextLink: string, + options?: CloudsListBySubscriptionNextOptionalParams, + ): Promise { return this.client.sendOperationRequest( - { options }, - listBySubscriptionOperationSpec + { nextLink, options }, + listBySubscriptionNextOperationSpec, ); } /** * ListByResourceGroupNext - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method. * @param options The options parameters. */ private _listByResourceGroupNext( resourceGroupName: string, nextLink: string, - options?: CloudsListByResourceGroupNextOptionalParams + options?: CloudsListByResourceGroupNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, nextLink, options }, - listByResourceGroupNextOperationSpec - ); - } - - /** - * ListBySubscriptionNext - * @param nextLink The nextLink from the previous successful call to the ListBySubscription method. - * @param options The options parameters. - */ - private _listBySubscriptionNext( - nextLink: string, - options?: CloudsListBySubscriptionNextOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { nextLink, options }, - listBySubscriptionNextOperationSpec + listByResourceGroupNextOperationSpec, ); } } // Operation Specifications const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); +const listBySubscriptionOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/clouds", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.CloudListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.subscriptionId], + headerParameters: [Parameters.accept], + serializer, +}; +const listByResourceGroupOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/clouds", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.CloudListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + ], + headerParameters: [Parameters.accept], + serializer, +}; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/clouds/{cloudName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/clouds/{cloudResourceName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.Cloud + bodyMapper: Mappers.Cloud, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.cloudName + Parameters.cloudResourceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/clouds/{cloudName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/clouds/{cloudResourceName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.Cloud + bodyMapper: Mappers.Cloud, }, 201: { - bodyMapper: Mappers.Cloud + bodyMapper: Mappers.Cloud, }, 202: { - bodyMapper: Mappers.Cloud + bodyMapper: Mappers.Cloud, }, 204: { - bodyMapper: Mappers.Cloud + bodyMapper: Mappers.Cloud, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body2, + requestBody: Parameters.resource3, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.cloudName + Parameters.cloudResourceName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer -}; -const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/clouds/{cloudName}", - httpMethod: "DELETE", - responses: { - 200: {}, - 201: {}, - 202: {}, - 204: {}, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [Parameters.apiVersion, Parameters.force], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.cloudName - ], - headerParameters: [Parameters.accept], - serializer + serializer, }; const updateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/clouds/{cloudName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/clouds/{cloudResourceName}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.Cloud + bodyMapper: Mappers.Cloud, }, 201: { - bodyMapper: Mappers.Cloud + bodyMapper: Mappers.Cloud, }, 202: { - bodyMapper: Mappers.Cloud + bodyMapper: Mappers.Cloud, }, 204: { - bodyMapper: Mappers.Cloud + bodyMapper: Mappers.Cloud, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body1, + requestBody: Parameters.properties2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.cloudName + Parameters.cloudResourceName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; -const listByResourceGroupOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/clouds", - httpMethod: "GET", +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/clouds/{cloudResourceName}", + httpMethod: "DELETE", responses: { 200: { - bodyMapper: Mappers.CloudListResult + headersMapper: Mappers.CloudsDeleteHeaders, + }, + 201: { + headersMapper: Mappers.CloudsDeleteHeaders, + }, + 202: { + headersMapper: Mappers.CloudsDeleteHeaders, + }, + 204: { + headersMapper: Mappers.CloudsDeleteHeaders, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion, Parameters.force], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName + Parameters.resourceGroupName, + Parameters.cloudResourceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listBySubscriptionOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/clouds", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.CloudListResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host, Parameters.subscriptionId], - headerParameters: [Parameters.accept], - serializer -}; -const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { +const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CloudListResult + bodyMapper: Mappers.CloudListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, urlParameters: [ Parameters.$host, + Parameters.nextLink, Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.nextLink ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { +const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CloudListResult + bodyMapper: Mappers.CloudListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, urlParameters: [ Parameters.$host, + Parameters.nextLink, Parameters.subscriptionId, - Parameters.nextLink + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/scvmm/arm-scvmm/src/operations/guestAgents.ts b/sdk/scvmm/arm-scvmm/src/operations/guestAgents.ts new file mode 100644 index 000000000000..32e4ef91d703 --- /dev/null +++ b/sdk/scvmm/arm-scvmm/src/operations/guestAgents.ts @@ -0,0 +1,365 @@ +/* + * 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 { GuestAgents } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { ScVmm } from "../scVmm"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + GuestAgent, + GuestAgentsListByVirtualMachineInstanceNextOptionalParams, + GuestAgentsListByVirtualMachineInstanceOptionalParams, + GuestAgentsListByVirtualMachineInstanceResponse, + GuestAgentsGetOptionalParams, + GuestAgentsGetResponse, + GuestAgentsCreateOptionalParams, + GuestAgentsCreateResponse, + GuestAgentsDeleteOptionalParams, + GuestAgentsListByVirtualMachineInstanceNextResponse, +} from "../models"; + +/// +/** Class containing GuestAgents operations. */ +export class GuestAgentsImpl implements GuestAgents { + private readonly client: ScVmm; + + /** + * Initialize a new instance of the class GuestAgents class. + * @param client Reference to the service client + */ + constructor(client: ScVmm) { + this.client = client; + } + + /** + * Returns the list of GuestAgent of the given vm. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + public listByVirtualMachineInstance( + resourceUri: string, + options?: GuestAgentsListByVirtualMachineInstanceOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listByVirtualMachineInstancePagingAll( + resourceUri, + 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.listByVirtualMachineInstancePagingPage( + resourceUri, + options, + settings, + ); + }, + }; + } + + private async *listByVirtualMachineInstancePagingPage( + resourceUri: string, + options?: GuestAgentsListByVirtualMachineInstanceOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: GuestAgentsListByVirtualMachineInstanceResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listByVirtualMachineInstance(resourceUri, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listByVirtualMachineInstanceNext( + resourceUri, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listByVirtualMachineInstancePagingAll( + resourceUri: string, + options?: GuestAgentsListByVirtualMachineInstanceOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listByVirtualMachineInstancePagingPage( + resourceUri, + options, + )) { + yield* page; + } + } + + /** + * Returns the list of GuestAgent of the given vm. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + private _listByVirtualMachineInstance( + resourceUri: string, + options?: GuestAgentsListByVirtualMachineInstanceOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceUri, options }, + listByVirtualMachineInstanceOperationSpec, + ); + } + + /** + * Implements GuestAgent GET method. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + get( + resourceUri: string, + options?: GuestAgentsGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceUri, options }, + getOperationSpec, + ); + } + + /** + * Create Or Update GuestAgent. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param resource Resource create parameters. + * @param options The options parameters. + */ + async beginCreate( + resourceUri: string, + resource: GuestAgent, + options?: GuestAgentsCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + GuestAgentsCreateResponse + > + > { + 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: { resourceUri, resource, options }, + spec: createOperationSpec, + }); + const poller = await createHttpPoller< + GuestAgentsCreateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "azure-async-operation", + }); + await poller.poll(); + return poller; + } + + /** + * Create Or Update GuestAgent. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param resource Resource create parameters. + * @param options The options parameters. + */ + async beginCreateAndWait( + resourceUri: string, + resource: GuestAgent, + options?: GuestAgentsCreateOptionalParams, + ): Promise { + const poller = await this.beginCreate(resourceUri, resource, options); + return poller.pollUntilDone(); + } + + /** + * Implements GuestAgent DELETE method. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + delete( + resourceUri: string, + options?: GuestAgentsDeleteOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceUri, options }, + deleteOperationSpec, + ); + } + + /** + * ListByVirtualMachineInstanceNext + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param nextLink The nextLink from the previous successful call to the ListByVirtualMachineInstance + * method. + * @param options The options parameters. + */ + private _listByVirtualMachineInstanceNext( + resourceUri: string, + nextLink: string, + options?: GuestAgentsListByVirtualMachineInstanceNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceUri, nextLink, options }, + listByVirtualMachineInstanceNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listByVirtualMachineInstanceOperationSpec: coreClient.OperationSpec = { + path: "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/guestAgents", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.GuestAgentListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.resourceUri], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/guestAgents/default", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.GuestAgent, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.resourceUri], + headerParameters: [Parameters.accept], + serializer, +}; +const createOperationSpec: coreClient.OperationSpec = { + path: "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/guestAgents/default", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.GuestAgent, + }, + 201: { + bodyMapper: Mappers.GuestAgent, + }, + 202: { + bodyMapper: Mappers.GuestAgent, + }, + 204: { + bodyMapper: Mappers.GuestAgent, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.resource1, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.resourceUri], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/guestAgents/default", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.resourceUri], + headerParameters: [Parameters.accept], + serializer, +}; +const listByVirtualMachineInstanceNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.GuestAgentListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.resourceUri, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, + }; diff --git a/sdk/scvmm/arm-scvmm/src/operations/index.ts b/sdk/scvmm/arm-scvmm/src/operations/index.ts index 85877bfdbd34..8e792fd233b8 100644 --- a/sdk/scvmm/arm-scvmm/src/operations/index.ts +++ b/sdk/scvmm/arm-scvmm/src/operations/index.ts @@ -6,11 +6,13 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -export * from "./vmmServers"; +export * from "./virtualMachineInstances"; +export * from "./guestAgents"; +export * from "./vmInstanceHybridIdentityMetadatas"; export * from "./operations"; +export * from "./availabilitySets"; export * from "./clouds"; -export * from "./virtualNetworks"; -export * from "./virtualMachines"; export * from "./virtualMachineTemplates"; -export * from "./availabilitySets"; +export * from "./virtualNetworks"; +export * from "./vmmServers"; export * from "./inventoryItems"; diff --git a/sdk/scvmm/arm-scvmm/src/operations/inventoryItems.ts b/sdk/scvmm/arm-scvmm/src/operations/inventoryItems.ts index bf666b668039..004e981c94ef 100644 --- a/sdk/scvmm/arm-scvmm/src/operations/inventoryItems.ts +++ b/sdk/scvmm/arm-scvmm/src/operations/inventoryItems.ts @@ -12,48 +12,48 @@ import { InventoryItems } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { Scvmm } from "../scvmm"; +import { ScVmm } from "../scVmm"; import { InventoryItem, - InventoryItemsListByVMMServerNextOptionalParams, - InventoryItemsListByVMMServerOptionalParams, - InventoryItemsListByVMMServerResponse, - InventoryItemsCreateOptionalParams, - InventoryItemsCreateResponse, + InventoryItemsListByVmmServerNextOptionalParams, + InventoryItemsListByVmmServerOptionalParams, + InventoryItemsListByVmmServerResponse, InventoryItemsGetOptionalParams, InventoryItemsGetResponse, + InventoryItemsCreateOptionalParams, + InventoryItemsCreateResponse, InventoryItemsDeleteOptionalParams, - InventoryItemsListByVMMServerNextResponse + InventoryItemsListByVmmServerNextResponse, } from "../models"; /// /** Class containing InventoryItems operations. */ export class InventoryItemsImpl implements InventoryItems { - private readonly client: Scvmm; + private readonly client: ScVmm; /** * Initialize a new instance of the class InventoryItems class. * @param client Reference to the service client */ - constructor(client: Scvmm) { + constructor(client: ScVmm) { this.client = client; } /** - * Returns the list of inventoryItems in the given VMMServer. - * @param resourceGroupName The name of the resource group. - * @param vmmServerName Name of the VMMServer. + * Returns the list of inventoryItems in the given VmmServer. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vmmServerName Name of the VmmServer. * @param options The options parameters. */ - public listByVMMServer( + public listByVmmServer( resourceGroupName: string, vmmServerName: string, - options?: InventoryItemsListByVMMServerOptionalParams + options?: InventoryItemsListByVmmServerOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listByVMMServerPagingAll( + const iter = this.listByVmmServerPagingAll( resourceGroupName, vmmServerName, - options + options, ); return { next() { @@ -66,29 +66,29 @@ export class InventoryItemsImpl implements InventoryItems { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listByVMMServerPagingPage( + return this.listByVmmServerPagingPage( resourceGroupName, vmmServerName, options, - settings + settings, ); - } + }, }; } - private async *listByVMMServerPagingPage( + private async *listByVmmServerPagingPage( resourceGroupName: string, vmmServerName: string, - options?: InventoryItemsListByVMMServerOptionalParams, - settings?: PageSettings + options?: InventoryItemsListByVmmServerOptionalParams, + settings?: PageSettings, ): AsyncIterableIterator { - let result: InventoryItemsListByVMMServerResponse; + let result: InventoryItemsListByVmmServerResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._listByVMMServer( + result = await this._listByVmmServer( resourceGroupName, vmmServerName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -96,11 +96,11 @@ export class InventoryItemsImpl implements InventoryItems { yield page; } while (continuationToken) { - result = await this._listByVMMServerNext( + result = await this._listByVmmServerNext( resourceGroupName, vmmServerName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -109,152 +109,155 @@ export class InventoryItemsImpl implements InventoryItems { } } - private async *listByVMMServerPagingAll( + private async *listByVmmServerPagingAll( resourceGroupName: string, vmmServerName: string, - options?: InventoryItemsListByVMMServerOptionalParams + options?: InventoryItemsListByVmmServerOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listByVMMServerPagingPage( + for await (const page of this.listByVmmServerPagingPage( resourceGroupName, vmmServerName, - options + options, )) { yield* page; } } /** - * Create Or Update InventoryItem. - * @param resourceGroupName The name of the resource group. - * @param vmmServerName Name of the VMMServer. - * @param inventoryItemName Name of the inventoryItem. + * Returns the list of inventoryItems in the given VmmServer. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vmmServerName Name of the VmmServer. * @param options The options parameters. */ - create( + private _listByVmmServer( resourceGroupName: string, vmmServerName: string, - inventoryItemName: string, - options?: InventoryItemsCreateOptionalParams - ): Promise { + options?: InventoryItemsListByVmmServerOptionalParams, + ): Promise { return this.client.sendOperationRequest( - { resourceGroupName, vmmServerName, inventoryItemName, options }, - createOperationSpec + { resourceGroupName, vmmServerName, options }, + listByVmmServerOperationSpec, ); } /** * Shows an inventory item. - * @param resourceGroupName The name of the resource group. - * @param vmmServerName Name of the VMMServer. - * @param inventoryItemName Name of the inventoryItem. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vmmServerName Name of the VmmServer. + * @param inventoryItemResourceName Name of the inventoryItem. * @param options The options parameters. */ get( resourceGroupName: string, vmmServerName: string, - inventoryItemName: string, - options?: InventoryItemsGetOptionalParams + inventoryItemResourceName: string, + options?: InventoryItemsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( - { resourceGroupName, vmmServerName, inventoryItemName, options }, - getOperationSpec + { resourceGroupName, vmmServerName, inventoryItemResourceName, options }, + getOperationSpec, ); } /** - * Deletes an inventoryItem. - * @param resourceGroupName The name of the resource group. - * @param vmmServerName Name of the VMMServer. - * @param inventoryItemName Name of the inventoryItem. + * Create Or Update InventoryItem. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vmmServerName Name of the VmmServer. + * @param inventoryItemResourceName Name of the inventoryItem. + * @param resource Resource create parameters. * @param options The options parameters. */ - delete( + create( resourceGroupName: string, vmmServerName: string, - inventoryItemName: string, - options?: InventoryItemsDeleteOptionalParams - ): Promise { + inventoryItemResourceName: string, + resource: InventoryItem, + options?: InventoryItemsCreateOptionalParams, + ): Promise { return this.client.sendOperationRequest( - { resourceGroupName, vmmServerName, inventoryItemName, options }, - deleteOperationSpec + { + resourceGroupName, + vmmServerName, + inventoryItemResourceName, + resource, + options, + }, + createOperationSpec, ); } /** - * Returns the list of inventoryItems in the given VMMServer. - * @param resourceGroupName The name of the resource group. - * @param vmmServerName Name of the VMMServer. + * Deletes an inventoryItem. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vmmServerName Name of the VmmServer. + * @param inventoryItemResourceName Name of the inventoryItem. * @param options The options parameters. */ - private _listByVMMServer( + delete( resourceGroupName: string, vmmServerName: string, - options?: InventoryItemsListByVMMServerOptionalParams - ): Promise { + inventoryItemResourceName: string, + options?: InventoryItemsDeleteOptionalParams, + ): Promise { return this.client.sendOperationRequest( - { resourceGroupName, vmmServerName, options }, - listByVMMServerOperationSpec + { resourceGroupName, vmmServerName, inventoryItemResourceName, options }, + deleteOperationSpec, ); } /** - * ListByVMMServerNext - * @param resourceGroupName The name of the resource group. - * @param vmmServerName Name of the VMMServer. - * @param nextLink The nextLink from the previous successful call to the ListByVMMServer method. + * ListByVmmServerNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vmmServerName Name of the VmmServer. + * @param nextLink The nextLink from the previous successful call to the ListByVmmServer method. * @param options The options parameters. */ - private _listByVMMServerNext( + private _listByVmmServerNext( resourceGroupName: string, vmmServerName: string, nextLink: string, - options?: InventoryItemsListByVMMServerNextOptionalParams - ): Promise { + options?: InventoryItemsListByVmmServerNextOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, vmmServerName, nextLink, options }, - listByVMMServerNextOperationSpec + listByVmmServerNextOperationSpec, ); } } // Operation Specifications const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); -const createOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemName}", - httpMethod: "PUT", +const listByVmmServerOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems", + httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.InventoryItem + bodyMapper: Mappers.InventoryItemListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body12, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.vmmServerName, - Parameters.inventoryItemName ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer + headerParameters: [Parameters.accept], + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemResourceName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.InventoryItem + bodyMapper: Mappers.InventoryItem, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -262,73 +265,77 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.vmmServerName, - Parameters.inventoryItemName + Parameters.inventoryItemResourceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemName}", - httpMethod: "DELETE", +const createOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemResourceName}", + httpMethod: "PUT", responses: { - 200: {}, - 204: {}, + 200: { + bodyMapper: Mappers.InventoryItem, + }, + 201: { + bodyMapper: Mappers.InventoryItem, + }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, + requestBody: Parameters.resource7, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.vmmServerName, - Parameters.inventoryItemName + Parameters.inventoryItemResourceName, ], - headerParameters: [Parameters.accept], - serializer + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, }; -const listByVMMServerOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems", - httpMethod: "GET", +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemResourceName}", + httpMethod: "DELETE", responses: { - 200: { - bodyMapper: Mappers.InventoryItemsList - }, + 200: {}, + 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.vmmServerName + Parameters.vmmServerName, + Parameters.inventoryItemResourceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listByVMMServerNextOperationSpec: coreClient.OperationSpec = { +const listByVmmServerNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.InventoryItemsList + bodyMapper: Mappers.InventoryItemListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, urlParameters: [ Parameters.$host, + Parameters.nextLink, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.vmmServerName, - Parameters.nextLink ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/scvmm/arm-scvmm/src/operations/operations.ts b/sdk/scvmm/arm-scvmm/src/operations/operations.ts index cae5eca8111b..fa11d95c305f 100644 --- a/sdk/scvmm/arm-scvmm/src/operations/operations.ts +++ b/sdk/scvmm/arm-scvmm/src/operations/operations.ts @@ -12,35 +12,35 @@ import { Operations } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { Scvmm } from "../scvmm"; +import { ScVmm } from "../scVmm"; import { - ResourceProviderOperation, + Operation, OperationsListNextOptionalParams, OperationsListOptionalParams, OperationsListResponse, - OperationsListNextResponse + OperationsListNextResponse, } from "../models"; /// /** Class containing Operations operations. */ export class OperationsImpl implements Operations { - private readonly client: Scvmm; + private readonly client: ScVmm; /** * Initialize a new instance of the class Operations class. * @param client Reference to the service client */ - constructor(client: Scvmm) { + constructor(client: ScVmm) { this.client = client; } /** - * Returns list of all operations. + * List the operations for the provider * @param options The options parameters. */ public list( - options?: OperationsListOptionalParams - ): PagedAsyncIterableIterator { + options?: OperationsListOptionalParams, + ): PagedAsyncIterableIterator { const iter = this.listPagingAll(options); return { next() { @@ -54,14 +54,14 @@ export class OperationsImpl implements Operations { throw new Error("maxPageSize is not supported by this operation."); } return this.listPagingPage(options, settings); - } + }, }; } private async *listPagingPage( options?: OperationsListOptionalParams, - settings?: PageSettings - ): AsyncIterableIterator { + settings?: PageSettings, + ): AsyncIterableIterator { let result: OperationsListResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { @@ -81,19 +81,19 @@ export class OperationsImpl implements Operations { } private async *listPagingAll( - options?: OperationsListOptionalParams - ): AsyncIterableIterator { + options?: OperationsListOptionalParams, + ): AsyncIterableIterator { for await (const page of this.listPagingPage(options)) { yield* page; } } /** - * Returns list of all operations. + * List the operations for the provider * @param options The options parameters. */ private _list( - options?: OperationsListOptionalParams + options?: OperationsListOptionalParams, ): Promise { return this.client.sendOperationRequest({ options }, listOperationSpec); } @@ -105,11 +105,11 @@ export class OperationsImpl implements Operations { */ private _listNext( nextLink: string, - options?: OperationsListNextOptionalParams + options?: OperationsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -121,29 +121,29 @@ const listOperationSpec: coreClient.OperationSpec = { httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ResourceProviderOperationList + bodyMapper: Mappers.OperationListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ResourceProviderOperationList + bodyMapper: Mappers.OperationListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/scvmm/arm-scvmm/src/operations/virtualMachineInstances.ts b/sdk/scvmm/arm-scvmm/src/operations/virtualMachineInstances.ts new file mode 100644 index 000000000000..71bfe1cf74be --- /dev/null +++ b/sdk/scvmm/arm-scvmm/src/operations/virtualMachineInstances.ts @@ -0,0 +1,1239 @@ +/* + * 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 { VirtualMachineInstances } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { ScVmm } from "../scVmm"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + VirtualMachineInstance, + VirtualMachineInstancesListNextOptionalParams, + VirtualMachineInstancesListOptionalParams, + VirtualMachineInstancesListResponse, + VirtualMachineInstancesGetOptionalParams, + VirtualMachineInstancesGetResponse, + VirtualMachineInstancesCreateOrUpdateOptionalParams, + VirtualMachineInstancesCreateOrUpdateResponse, + VirtualMachineInstanceUpdate, + VirtualMachineInstancesUpdateOptionalParams, + VirtualMachineInstancesUpdateResponse, + VirtualMachineInstancesDeleteOptionalParams, + VirtualMachineInstancesDeleteResponse, + VirtualMachineCreateCheckpoint, + VirtualMachineInstancesCreateCheckpointOptionalParams, + VirtualMachineInstancesCreateCheckpointResponse, + VirtualMachineDeleteCheckpoint, + VirtualMachineInstancesDeleteCheckpointOptionalParams, + VirtualMachineInstancesDeleteCheckpointResponse, + VirtualMachineInstancesRestartOptionalParams, + VirtualMachineInstancesRestartResponse, + VirtualMachineRestoreCheckpoint, + VirtualMachineInstancesRestoreCheckpointOptionalParams, + VirtualMachineInstancesRestoreCheckpointResponse, + VirtualMachineInstancesStartOptionalParams, + VirtualMachineInstancesStartResponse, + StopVirtualMachineOptions, + VirtualMachineInstancesStopOptionalParams, + VirtualMachineInstancesStopResponse, + VirtualMachineInstancesListNextResponse, +} from "../models"; + +/// +/** Class containing VirtualMachineInstances operations. */ +export class VirtualMachineInstancesImpl implements VirtualMachineInstances { + private readonly client: ScVmm; + + /** + * Initialize a new instance of the class VirtualMachineInstances class. + * @param client Reference to the service client + */ + constructor(client: ScVmm) { + this.client = client; + } + + /** + * Lists all of the virtual machine instances within the specified parent resource. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + public list( + resourceUri: string, + options?: VirtualMachineInstancesListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceUri, 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(resourceUri, options, settings); + }, + }; + } + + private async *listPagingPage( + resourceUri: string, + options?: VirtualMachineInstancesListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: VirtualMachineInstancesListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceUri, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext(resourceUri, continuationToken, options); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceUri: string, + options?: VirtualMachineInstancesListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage(resourceUri, options)) { + yield* page; + } + } + + /** + * Lists all of the virtual machine instances within the specified parent resource. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + private _list( + resourceUri: string, + options?: VirtualMachineInstancesListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceUri, options }, + listOperationSpec, + ); + } + + /** + * Retrieves information about a virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + get( + resourceUri: string, + options?: VirtualMachineInstancesGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceUri, options }, + getOperationSpec, + ); + } + + /** + * The operation to create or update a virtual machine instance. Please note some properties can be set + * only during virtual machine instance creation. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param resource Resource create parameters. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceUri: string, + resource: VirtualMachineInstance, + options?: VirtualMachineInstancesCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + VirtualMachineInstancesCreateOrUpdateResponse + > + > { + 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: { resourceUri, resource, options }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + VirtualMachineInstancesCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "azure-async-operation", + }); + await poller.poll(); + return poller; + } + + /** + * The operation to create or update a virtual machine instance. Please note some properties can be set + * only during virtual machine instance creation. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param resource Resource create parameters. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceUri: string, + resource: VirtualMachineInstance, + options?: VirtualMachineInstancesCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceUri, + resource, + options, + ); + return poller.pollUntilDone(); + } + + /** + * The operation to update a virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param properties The resource properties to be updated. + * @param options The options parameters. + */ + async beginUpdate( + resourceUri: string, + properties: VirtualMachineInstanceUpdate, + options?: VirtualMachineInstancesUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + VirtualMachineInstancesUpdateResponse + > + > { + 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: { resourceUri, properties, options }, + spec: updateOperationSpec, + }); + const poller = await createHttpPoller< + VirtualMachineInstancesUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "azure-async-operation", + }); + await poller.poll(); + return poller; + } + + /** + * The operation to update a virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param properties The resource properties to be updated. + * @param options The options parameters. + */ + async beginUpdateAndWait( + resourceUri: string, + properties: VirtualMachineInstanceUpdate, + options?: VirtualMachineInstancesUpdateOptionalParams, + ): Promise { + const poller = await this.beginUpdate(resourceUri, properties, options); + return poller.pollUntilDone(); + } + + /** + * The operation to delete a virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + async beginDelete( + resourceUri: string, + options?: VirtualMachineInstancesDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + VirtualMachineInstancesDeleteResponse + > + > { + 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: { resourceUri, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + VirtualMachineInstancesDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "azure-async-operation", + }); + await poller.poll(); + return poller; + } + + /** + * The operation to delete a virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceUri: string, + options?: VirtualMachineInstancesDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete(resourceUri, options); + return poller.pollUntilDone(); + } + + /** + * Creates a checkpoint in virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param body The content of the action request + * @param options The options parameters. + */ + async beginCreateCheckpoint( + resourceUri: string, + body: VirtualMachineCreateCheckpoint, + options?: VirtualMachineInstancesCreateCheckpointOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + VirtualMachineInstancesCreateCheckpointResponse + > + > { + 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: { resourceUri, body, options }, + spec: createCheckpointOperationSpec, + }); + const poller = await createHttpPoller< + VirtualMachineInstancesCreateCheckpointResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Creates a checkpoint in virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param body The content of the action request + * @param options The options parameters. + */ + async beginCreateCheckpointAndWait( + resourceUri: string, + body: VirtualMachineCreateCheckpoint, + options?: VirtualMachineInstancesCreateCheckpointOptionalParams, + ): Promise { + const poller = await this.beginCreateCheckpoint(resourceUri, body, options); + return poller.pollUntilDone(); + } + + /** + * Deletes a checkpoint in virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param body The content of the action request + * @param options The options parameters. + */ + async beginDeleteCheckpoint( + resourceUri: string, + body: VirtualMachineDeleteCheckpoint, + options?: VirtualMachineInstancesDeleteCheckpointOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + VirtualMachineInstancesDeleteCheckpointResponse + > + > { + 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: { resourceUri, body, options }, + spec: deleteCheckpointOperationSpec, + }); + const poller = await createHttpPoller< + VirtualMachineInstancesDeleteCheckpointResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Deletes a checkpoint in virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param body The content of the action request + * @param options The options parameters. + */ + async beginDeleteCheckpointAndWait( + resourceUri: string, + body: VirtualMachineDeleteCheckpoint, + options?: VirtualMachineInstancesDeleteCheckpointOptionalParams, + ): Promise { + const poller = await this.beginDeleteCheckpoint(resourceUri, body, options); + return poller.pollUntilDone(); + } + + /** + * The operation to restart a virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + async beginRestart( + resourceUri: string, + options?: VirtualMachineInstancesRestartOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + VirtualMachineInstancesRestartResponse + > + > { + 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: { resourceUri, options }, + spec: restartOperationSpec, + }); + const poller = await createHttpPoller< + VirtualMachineInstancesRestartResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * The operation to restart a virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + async beginRestartAndWait( + resourceUri: string, + options?: VirtualMachineInstancesRestartOptionalParams, + ): Promise { + const poller = await this.beginRestart(resourceUri, options); + return poller.pollUntilDone(); + } + + /** + * Restores to a checkpoint in virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param body The content of the action request + * @param options The options parameters. + */ + async beginRestoreCheckpoint( + resourceUri: string, + body: VirtualMachineRestoreCheckpoint, + options?: VirtualMachineInstancesRestoreCheckpointOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + VirtualMachineInstancesRestoreCheckpointResponse + > + > { + 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: { resourceUri, body, options }, + spec: restoreCheckpointOperationSpec, + }); + const poller = await createHttpPoller< + VirtualMachineInstancesRestoreCheckpointResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Restores to a checkpoint in virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param body The content of the action request + * @param options The options parameters. + */ + async beginRestoreCheckpointAndWait( + resourceUri: string, + body: VirtualMachineRestoreCheckpoint, + options?: VirtualMachineInstancesRestoreCheckpointOptionalParams, + ): Promise { + const poller = await this.beginRestoreCheckpoint( + resourceUri, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * The operation to start a virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + async beginStart( + resourceUri: string, + options?: VirtualMachineInstancesStartOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + VirtualMachineInstancesStartResponse + > + > { + 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: { resourceUri, options }, + spec: startOperationSpec, + }); + const poller = await createHttpPoller< + VirtualMachineInstancesStartResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * The operation to start a virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + async beginStartAndWait( + resourceUri: string, + options?: VirtualMachineInstancesStartOptionalParams, + ): Promise { + const poller = await this.beginStart(resourceUri, options); + return poller.pollUntilDone(); + } + + /** + * The operation to power off (stop) a virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param body The content of the action request + * @param options The options parameters. + */ + async beginStop( + resourceUri: string, + body: StopVirtualMachineOptions, + options?: VirtualMachineInstancesStopOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + VirtualMachineInstancesStopResponse + > + > { + 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: { resourceUri, body, options }, + spec: stopOperationSpec, + }); + const poller = await createHttpPoller< + VirtualMachineInstancesStopResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * The operation to power off (stop) a virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param body The content of the action request + * @param options The options parameters. + */ + async beginStopAndWait( + resourceUri: string, + body: StopVirtualMachineOptions, + options?: VirtualMachineInstancesStopOptionalParams, + ): Promise { + const poller = await this.beginStop(resourceUri, body, options); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceUri: string, + nextLink: string, + options?: VirtualMachineInstancesListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceUri, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineInstanceListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.resourceUri], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineInstance, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.resourceUri], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineInstance, + }, + 201: { + bodyMapper: Mappers.VirtualMachineInstance, + }, + 202: { + bodyMapper: Mappers.VirtualMachineInstance, + }, + 204: { + bodyMapper: Mappers.VirtualMachineInstance, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.resource, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.resourceUri], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const updateOperationSpec: coreClient.OperationSpec = { + path: "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default", + httpMethod: "PATCH", + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineInstance, + }, + 201: { + bodyMapper: Mappers.VirtualMachineInstance, + }, + 202: { + bodyMapper: Mappers.VirtualMachineInstance, + }, + 204: { + bodyMapper: Mappers.VirtualMachineInstance, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.properties, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.resourceUri], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: Mappers.VirtualMachineInstancesDeleteHeaders, + }, + 201: { + headersMapper: Mappers.VirtualMachineInstancesDeleteHeaders, + }, + 202: { + headersMapper: Mappers.VirtualMachineInstancesDeleteHeaders, + }, + 204: { + headersMapper: Mappers.VirtualMachineInstancesDeleteHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.force, + Parameters.deleteFromHost, + ], + urlParameters: [Parameters.$host, Parameters.resourceUri], + headerParameters: [Parameters.accept], + serializer, +}; +const createCheckpointOperationSpec: coreClient.OperationSpec = { + path: "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/createCheckpoint", + httpMethod: "POST", + responses: { + 200: { + headersMapper: Mappers.VirtualMachineInstancesCreateCheckpointHeaders, + }, + 201: { + headersMapper: Mappers.VirtualMachineInstancesCreateCheckpointHeaders, + }, + 202: { + headersMapper: Mappers.VirtualMachineInstancesCreateCheckpointHeaders, + }, + 204: { + headersMapper: Mappers.VirtualMachineInstancesCreateCheckpointHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.resourceUri], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const deleteCheckpointOperationSpec: coreClient.OperationSpec = { + path: "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/deleteCheckpoint", + httpMethod: "POST", + responses: { + 200: { + headersMapper: Mappers.VirtualMachineInstancesDeleteCheckpointHeaders, + }, + 201: { + headersMapper: Mappers.VirtualMachineInstancesDeleteCheckpointHeaders, + }, + 202: { + headersMapper: Mappers.VirtualMachineInstancesDeleteCheckpointHeaders, + }, + 204: { + headersMapper: Mappers.VirtualMachineInstancesDeleteCheckpointHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body1, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.resourceUri], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const restartOperationSpec: coreClient.OperationSpec = { + path: "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/restart", + httpMethod: "POST", + responses: { + 200: { + headersMapper: Mappers.VirtualMachineInstancesRestartHeaders, + }, + 201: { + headersMapper: Mappers.VirtualMachineInstancesRestartHeaders, + }, + 202: { + headersMapper: Mappers.VirtualMachineInstancesRestartHeaders, + }, + 204: { + headersMapper: Mappers.VirtualMachineInstancesRestartHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.resourceUri], + headerParameters: [Parameters.accept], + serializer, +}; +const restoreCheckpointOperationSpec: coreClient.OperationSpec = { + path: "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/restoreCheckpoint", + httpMethod: "POST", + responses: { + 200: { + headersMapper: Mappers.VirtualMachineInstancesRestoreCheckpointHeaders, + }, + 201: { + headersMapper: Mappers.VirtualMachineInstancesRestoreCheckpointHeaders, + }, + 202: { + headersMapper: Mappers.VirtualMachineInstancesRestoreCheckpointHeaders, + }, + 204: { + headersMapper: Mappers.VirtualMachineInstancesRestoreCheckpointHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body2, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.resourceUri], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const startOperationSpec: coreClient.OperationSpec = { + path: "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/start", + httpMethod: "POST", + responses: { + 200: { + headersMapper: Mappers.VirtualMachineInstancesStartHeaders, + }, + 201: { + headersMapper: Mappers.VirtualMachineInstancesStartHeaders, + }, + 202: { + headersMapper: Mappers.VirtualMachineInstancesStartHeaders, + }, + 204: { + headersMapper: Mappers.VirtualMachineInstancesStartHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.resourceUri], + headerParameters: [Parameters.accept], + serializer, +}; +const stopOperationSpec: coreClient.OperationSpec = { + path: "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/stop", + httpMethod: "POST", + responses: { + 200: { + headersMapper: Mappers.VirtualMachineInstancesStopHeaders, + }, + 201: { + headersMapper: Mappers.VirtualMachineInstancesStopHeaders, + }, + 202: { + headersMapper: Mappers.VirtualMachineInstancesStopHeaders, + }, + 204: { + headersMapper: Mappers.VirtualMachineInstancesStopHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body3, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.resourceUri], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineInstanceListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.resourceUri, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/scvmm/arm-scvmm/src/operations/virtualMachineTemplates.ts b/sdk/scvmm/arm-scvmm/src/operations/virtualMachineTemplates.ts index df380a6ebf72..60ab6712f9dd 100644 --- a/sdk/scvmm/arm-scvmm/src/operations/virtualMachineTemplates.ts +++ b/sdk/scvmm/arm-scvmm/src/operations/virtualMachineTemplates.ts @@ -12,52 +12,55 @@ import { VirtualMachineTemplates } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { Scvmm } from "../scvmm"; -import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; -import { LroImpl } from "../lroImpl"; +import { ScVmm } from "../scVmm"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; import { VirtualMachineTemplate, - VirtualMachineTemplatesListByResourceGroupNextOptionalParams, - VirtualMachineTemplatesListByResourceGroupOptionalParams, - VirtualMachineTemplatesListByResourceGroupResponse, VirtualMachineTemplatesListBySubscriptionNextOptionalParams, VirtualMachineTemplatesListBySubscriptionOptionalParams, VirtualMachineTemplatesListBySubscriptionResponse, + VirtualMachineTemplatesListByResourceGroupNextOptionalParams, + VirtualMachineTemplatesListByResourceGroupOptionalParams, + VirtualMachineTemplatesListByResourceGroupResponse, VirtualMachineTemplatesGetOptionalParams, VirtualMachineTemplatesGetResponse, VirtualMachineTemplatesCreateOrUpdateOptionalParams, VirtualMachineTemplatesCreateOrUpdateResponse, - VirtualMachineTemplatesDeleteOptionalParams, - ResourcePatch, + VirtualMachineTemplateTagsUpdate, VirtualMachineTemplatesUpdateOptionalParams, VirtualMachineTemplatesUpdateResponse, + VirtualMachineTemplatesDeleteOptionalParams, + VirtualMachineTemplatesDeleteResponse, + VirtualMachineTemplatesListBySubscriptionNextResponse, VirtualMachineTemplatesListByResourceGroupNextResponse, - VirtualMachineTemplatesListBySubscriptionNextResponse } from "../models"; /// /** Class containing VirtualMachineTemplates operations. */ export class VirtualMachineTemplatesImpl implements VirtualMachineTemplates { - private readonly client: Scvmm; + private readonly client: ScVmm; /** * Initialize a new instance of the class VirtualMachineTemplates class. * @param client Reference to the service client */ - constructor(client: Scvmm) { + constructor(client: ScVmm) { this.client = client; } /** - * List of VirtualMachineTemplates in a resource group. - * @param resourceGroupName The name of the resource group. + * List of VirtualMachineTemplates in a subscription. * @param options The options parameters. */ - public listByResourceGroup( - resourceGroupName: string, - options?: VirtualMachineTemplatesListByResourceGroupOptionalParams + public listBySubscription( + options?: VirtualMachineTemplatesListBySubscriptionOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); + const iter = this.listBySubscriptionPagingAll(options); return { next() { return iter.next(); @@ -69,35 +72,26 @@ export class VirtualMachineTemplatesImpl implements VirtualMachineTemplates { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listByResourceGroupPagingPage( - resourceGroupName, - options, - settings - ); - } + return this.listBySubscriptionPagingPage(options, settings); + }, }; } - private async *listByResourceGroupPagingPage( - resourceGroupName: string, - options?: VirtualMachineTemplatesListByResourceGroupOptionalParams, - settings?: PageSettings + private async *listBySubscriptionPagingPage( + options?: VirtualMachineTemplatesListBySubscriptionOptionalParams, + settings?: PageSettings, ): AsyncIterableIterator { - let result: VirtualMachineTemplatesListByResourceGroupResponse; + let result: VirtualMachineTemplatesListBySubscriptionResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._listByResourceGroup(resourceGroupName, options); + result = await this._listBySubscription(options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); yield page; } while (continuationToken) { - result = await this._listByResourceGroupNext( - resourceGroupName, - continuationToken, - options - ); + result = await this._listBySubscriptionNext(continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -105,26 +99,24 @@ export class VirtualMachineTemplatesImpl implements VirtualMachineTemplates { } } - private async *listByResourceGroupPagingAll( - resourceGroupName: string, - options?: VirtualMachineTemplatesListByResourceGroupOptionalParams + private async *listBySubscriptionPagingAll( + options?: VirtualMachineTemplatesListBySubscriptionOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listByResourceGroupPagingPage( - resourceGroupName, - options - )) { + for await (const page of this.listBySubscriptionPagingPage(options)) { yield* page; } } /** - * List of VirtualMachineTemplates in a subscription. + * List of VirtualMachineTemplates in a resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ - public listBySubscription( - options?: VirtualMachineTemplatesListBySubscriptionOptionalParams + public listByResourceGroup( + resourceGroupName: string, + options?: VirtualMachineTemplatesListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listBySubscriptionPagingAll(options); + const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); return { next() { return iter.next(); @@ -136,26 +128,35 @@ export class VirtualMachineTemplatesImpl implements VirtualMachineTemplates { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listBySubscriptionPagingPage(options, settings); - } + return this.listByResourceGroupPagingPage( + resourceGroupName, + options, + settings, + ); + }, }; } - private async *listBySubscriptionPagingPage( - options?: VirtualMachineTemplatesListBySubscriptionOptionalParams, - settings?: PageSettings + private async *listByResourceGroupPagingPage( + resourceGroupName: string, + options?: VirtualMachineTemplatesListByResourceGroupOptionalParams, + settings?: PageSettings, ): AsyncIterableIterator { - let result: VirtualMachineTemplatesListBySubscriptionResponse; + let result: VirtualMachineTemplatesListByResourceGroupResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._listBySubscription(options); + result = await this._listByResourceGroup(resourceGroupName, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); yield page; } while (continuationToken) { - result = await this._listBySubscriptionNext(continuationToken, options); + result = await this._listByResourceGroupNext( + resourceGroupName, + continuationToken, + options, + ); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -163,66 +164,97 @@ export class VirtualMachineTemplatesImpl implements VirtualMachineTemplates { } } - private async *listBySubscriptionPagingAll( - options?: VirtualMachineTemplatesListBySubscriptionOptionalParams + private async *listByResourceGroupPagingAll( + resourceGroupName: string, + options?: VirtualMachineTemplatesListByResourceGroupOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listBySubscriptionPagingPage(options)) { + for await (const page of this.listByResourceGroupPagingPage( + resourceGroupName, + options, + )) { yield* page; } } + /** + * List of VirtualMachineTemplates in a subscription. + * @param options The options parameters. + */ + private _listBySubscription( + options?: VirtualMachineTemplatesListBySubscriptionOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { options }, + listBySubscriptionOperationSpec, + ); + } + + /** + * List of VirtualMachineTemplates in a resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param options The options parameters. + */ + private _listByResourceGroup( + resourceGroupName: string, + options?: VirtualMachineTemplatesListByResourceGroupOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, options }, + listByResourceGroupOperationSpec, + ); + } + /** * Implements VirtualMachineTemplate GET method. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualMachineTemplateName Name of the VirtualMachineTemplate. * @param options The options parameters. */ get( resourceGroupName: string, virtualMachineTemplateName: string, - options?: VirtualMachineTemplatesGetOptionalParams + options?: VirtualMachineTemplatesGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, virtualMachineTemplateName, options }, - getOperationSpec + getOperationSpec, ); } /** * Onboards the ScVmm VM Template as an Azure VM Template resource. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualMachineTemplateName Name of the VirtualMachineTemplate. - * @param body Request payload. + * @param resource Resource create parameters. * @param options The options parameters. */ async beginCreateOrUpdate( resourceGroupName: string, virtualMachineTemplateName: string, - body: VirtualMachineTemplate, - options?: VirtualMachineTemplatesCreateOrUpdateOptionalParams + resource: VirtualMachineTemplate, + options?: VirtualMachineTemplatesCreateOrUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, VirtualMachineTemplatesCreateOrUpdateResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -231,8 +263,8 @@ export class VirtualMachineTemplatesImpl implements VirtualMachineTemplates { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -240,20 +272,28 @@ export class VirtualMachineTemplatesImpl implements VirtualMachineTemplates { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, virtualMachineTemplateName, body, options }, - createOrUpdateOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + virtualMachineTemplateName, + resource, + options, + }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + VirtualMachineTemplatesCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, - lroResourceLocationConfig: "azure-async-operation" + resourceLocationConfig: "azure-async-operation", }); await poller.poll(); return poller; @@ -261,54 +301,60 @@ export class VirtualMachineTemplatesImpl implements VirtualMachineTemplates { /** * Onboards the ScVmm VM Template as an Azure VM Template resource. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualMachineTemplateName Name of the VirtualMachineTemplate. - * @param body Request payload. + * @param resource Resource create parameters. * @param options The options parameters. */ async beginCreateOrUpdateAndWait( resourceGroupName: string, virtualMachineTemplateName: string, - body: VirtualMachineTemplate, - options?: VirtualMachineTemplatesCreateOrUpdateOptionalParams + resource: VirtualMachineTemplate, + options?: VirtualMachineTemplatesCreateOrUpdateOptionalParams, ): Promise { const poller = await this.beginCreateOrUpdate( resourceGroupName, virtualMachineTemplateName, - body, - options + resource, + options, ); return poller.pollUntilDone(); } /** - * Deregisters the ScVmm VM Template from Azure. - * @param resourceGroupName The name of the resource group. + * Updates the VirtualMachineTemplate resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualMachineTemplateName Name of the VirtualMachineTemplate. + * @param properties The resource properties to be updated. * @param options The options parameters. */ - async beginDelete( + async beginUpdate( resourceGroupName: string, virtualMachineTemplateName: string, - options?: VirtualMachineTemplatesDeleteOptionalParams - ): Promise, void>> { + properties: VirtualMachineTemplateTagsUpdate, + options?: VirtualMachineTemplatesUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + VirtualMachineTemplatesUpdateResponse + > + > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec - ): Promise => { + spec: coreClient.OperationSpec, + ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -317,8 +363,8 @@ export class VirtualMachineTemplatesImpl implements VirtualMachineTemplates { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -326,79 +372,87 @@ export class VirtualMachineTemplatesImpl implements VirtualMachineTemplates { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, virtualMachineTemplateName, options }, - deleteOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + virtualMachineTemplateName, + properties, + options, + }, + spec: updateOperationSpec, + }); + const poller = await createHttpPoller< + VirtualMachineTemplatesUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, - lroResourceLocationConfig: "azure-async-operation" + resourceLocationConfig: "azure-async-operation", }); await poller.poll(); return poller; } /** - * Deregisters the ScVmm VM Template from Azure. - * @param resourceGroupName The name of the resource group. + * Updates the VirtualMachineTemplate resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualMachineTemplateName Name of the VirtualMachineTemplate. + * @param properties The resource properties to be updated. * @param options The options parameters. */ - async beginDeleteAndWait( + async beginUpdateAndWait( resourceGroupName: string, virtualMachineTemplateName: string, - options?: VirtualMachineTemplatesDeleteOptionalParams - ): Promise { - const poller = await this.beginDelete( + properties: VirtualMachineTemplateTagsUpdate, + options?: VirtualMachineTemplatesUpdateOptionalParams, + ): Promise { + const poller = await this.beginUpdate( resourceGroupName, virtualMachineTemplateName, - options + properties, + options, ); return poller.pollUntilDone(); } /** - * Updates the VirtualMachineTemplate resource. - * @param resourceGroupName The name of the resource group. + * Deregisters the ScVmm VM Template from Azure. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualMachineTemplateName Name of the VirtualMachineTemplate. - * @param body VirtualMachineTemplates patch details. * @param options The options parameters. */ - async beginUpdate( + async beginDelete( resourceGroupName: string, virtualMachineTemplateName: string, - body: ResourcePatch, - options?: VirtualMachineTemplatesUpdateOptionalParams + options?: VirtualMachineTemplatesDeleteOptionalParams, ): Promise< - PollerLike< - PollOperationState, - VirtualMachineTemplatesUpdateResponse + SimplePollerLike< + OperationState, + VirtualMachineTemplatesDeleteResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec - ): Promise => { + spec: coreClient.OperationSpec, + ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -407,8 +461,8 @@ export class VirtualMachineTemplatesImpl implements VirtualMachineTemplates { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -416,295 +470,269 @@ export class VirtualMachineTemplatesImpl implements VirtualMachineTemplates { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, virtualMachineTemplateName, body, options }, - updateOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, virtualMachineTemplateName, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + VirtualMachineTemplatesDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, - lroResourceLocationConfig: "azure-async-operation" + resourceLocationConfig: "azure-async-operation", }); await poller.poll(); return poller; } /** - * Updates the VirtualMachineTemplate resource. - * @param resourceGroupName The name of the resource group. + * Deregisters the ScVmm VM Template from Azure. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualMachineTemplateName Name of the VirtualMachineTemplate. - * @param body VirtualMachineTemplates patch details. * @param options The options parameters. */ - async beginUpdateAndWait( + async beginDeleteAndWait( resourceGroupName: string, virtualMachineTemplateName: string, - body: ResourcePatch, - options?: VirtualMachineTemplatesUpdateOptionalParams - ): Promise { - const poller = await this.beginUpdate( + options?: VirtualMachineTemplatesDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( resourceGroupName, virtualMachineTemplateName, - body, - options + options, ); return poller.pollUntilDone(); } /** - * List of VirtualMachineTemplates in a resource group. - * @param resourceGroupName The name of the resource group. - * @param options The options parameters. - */ - private _listByResourceGroup( - resourceGroupName: string, - options?: VirtualMachineTemplatesListByResourceGroupOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, options }, - listByResourceGroupOperationSpec - ); - } - - /** - * List of VirtualMachineTemplates in a subscription. + * ListBySubscriptionNext + * @param nextLink The nextLink from the previous successful call to the ListBySubscription method. * @param options The options parameters. */ - private _listBySubscription( - options?: VirtualMachineTemplatesListBySubscriptionOptionalParams - ): Promise { + private _listBySubscriptionNext( + nextLink: string, + options?: VirtualMachineTemplatesListBySubscriptionNextOptionalParams, + ): Promise { return this.client.sendOperationRequest( - { options }, - listBySubscriptionOperationSpec + { nextLink, options }, + listBySubscriptionNextOperationSpec, ); } /** * ListByResourceGroupNext - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method. * @param options The options parameters. */ private _listByResourceGroupNext( resourceGroupName: string, nextLink: string, - options?: VirtualMachineTemplatesListByResourceGroupNextOptionalParams + options?: VirtualMachineTemplatesListByResourceGroupNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, nextLink, options }, - listByResourceGroupNextOperationSpec - ); - } - - /** - * ListBySubscriptionNext - * @param nextLink The nextLink from the previous successful call to the ListBySubscription method. - * @param options The options parameters. - */ - private _listBySubscriptionNext( - nextLink: string, - options?: VirtualMachineTemplatesListBySubscriptionNextOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { nextLink, options }, - listBySubscriptionNextOperationSpec + listByResourceGroupNextOperationSpec, ); } } // Operation Specifications const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); +const listBySubscriptionOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/virtualMachineTemplates", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineTemplateListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.subscriptionId], + headerParameters: [Parameters.accept], + serializer, +}; +const listByResourceGroupOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachineTemplates", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineTemplateListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + ], + headerParameters: [Parameters.accept], + serializer, +}; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachineTemplates/{virtualMachineTemplateName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachineTemplates/{virtualMachineTemplateName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.VirtualMachineTemplate + bodyMapper: Mappers.VirtualMachineTemplate, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.virtualMachineTemplateName + Parameters.virtualMachineTemplateName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachineTemplates/{virtualMachineTemplateName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachineTemplates/{virtualMachineTemplateName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.VirtualMachineTemplate + bodyMapper: Mappers.VirtualMachineTemplate, }, 201: { - bodyMapper: Mappers.VirtualMachineTemplate + bodyMapper: Mappers.VirtualMachineTemplate, }, 202: { - bodyMapper: Mappers.VirtualMachineTemplate + bodyMapper: Mappers.VirtualMachineTemplate, }, 204: { - bodyMapper: Mappers.VirtualMachineTemplate + bodyMapper: Mappers.VirtualMachineTemplate, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body10, + requestBody: Parameters.resource4, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.virtualMachineTemplateName + Parameters.virtualMachineTemplateName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer -}; -const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachineTemplates/{virtualMachineTemplateName}", - httpMethod: "DELETE", - responses: { - 200: {}, - 201: {}, - 202: {}, - 204: {}, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [Parameters.apiVersion, Parameters.force], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.virtualMachineTemplateName - ], - headerParameters: [Parameters.accept], - serializer + serializer, }; const updateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachineTemplates/{virtualMachineTemplateName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachineTemplates/{virtualMachineTemplateName}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.VirtualMachineTemplate + bodyMapper: Mappers.VirtualMachineTemplate, }, 201: { - bodyMapper: Mappers.VirtualMachineTemplate + bodyMapper: Mappers.VirtualMachineTemplate, }, 202: { - bodyMapper: Mappers.VirtualMachineTemplate + bodyMapper: Mappers.VirtualMachineTemplate, }, 204: { - bodyMapper: Mappers.VirtualMachineTemplate + bodyMapper: Mappers.VirtualMachineTemplate, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body1, + requestBody: Parameters.properties3, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.virtualMachineTemplateName + Parameters.virtualMachineTemplateName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; -const listByResourceGroupOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachineTemplates", - httpMethod: "GET", +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachineTemplates/{virtualMachineTemplateName}", + httpMethod: "DELETE", responses: { 200: { - bodyMapper: Mappers.VirtualMachineTemplateListResult + headersMapper: Mappers.VirtualMachineTemplatesDeleteHeaders, + }, + 201: { + headersMapper: Mappers.VirtualMachineTemplatesDeleteHeaders, + }, + 202: { + headersMapper: Mappers.VirtualMachineTemplatesDeleteHeaders, + }, + 204: { + headersMapper: Mappers.VirtualMachineTemplatesDeleteHeaders, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion, Parameters.force], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName + Parameters.resourceGroupName, + Parameters.virtualMachineTemplateName, ], headerParameters: [Parameters.accept], - serializer -}; -const listBySubscriptionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/virtualMachineTemplates", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.VirtualMachineTemplateListResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host, Parameters.subscriptionId], - headerParameters: [Parameters.accept], - serializer + serializer, }; -const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { +const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.VirtualMachineTemplateListResult + bodyMapper: Mappers.VirtualMachineTemplateListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, urlParameters: [ Parameters.$host, + Parameters.nextLink, Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.nextLink ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { +const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.VirtualMachineTemplateListResult + bodyMapper: Mappers.VirtualMachineTemplateListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, urlParameters: [ Parameters.$host, + Parameters.nextLink, Parameters.subscriptionId, - Parameters.nextLink + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/scvmm/arm-scvmm/src/operations/virtualMachines.ts b/sdk/scvmm/arm-scvmm/src/operations/virtualMachines.ts deleted file mode 100644 index 51d9e7e1f301..000000000000 --- a/sdk/scvmm/arm-scvmm/src/operations/virtualMachines.ts +++ /dev/null @@ -1,1354 +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 { VirtualMachines } from "../operationsInterfaces"; -import * as coreClient from "@azure/core-client"; -import * as Mappers from "../models/mappers"; -import * as Parameters from "../models/parameters"; -import { Scvmm } from "../scvmm"; -import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; -import { LroImpl } from "../lroImpl"; -import { - VirtualMachine, - VirtualMachinesListByResourceGroupNextOptionalParams, - VirtualMachinesListByResourceGroupOptionalParams, - VirtualMachinesListByResourceGroupResponse, - VirtualMachinesListBySubscriptionNextOptionalParams, - VirtualMachinesListBySubscriptionOptionalParams, - VirtualMachinesListBySubscriptionResponse, - VirtualMachinesGetOptionalParams, - VirtualMachinesGetResponse, - VirtualMachinesCreateOrUpdateOptionalParams, - VirtualMachinesCreateOrUpdateResponse, - VirtualMachinesDeleteOptionalParams, - VirtualMachineUpdate, - VirtualMachinesUpdateOptionalParams, - VirtualMachinesUpdateResponse, - VirtualMachinesStopOptionalParams, - VirtualMachinesStartOptionalParams, - VirtualMachinesRestartOptionalParams, - VirtualMachinesCreateCheckpointOptionalParams, - VirtualMachinesDeleteCheckpointOptionalParams, - VirtualMachinesRestoreCheckpointOptionalParams, - VirtualMachinesListByResourceGroupNextResponse, - VirtualMachinesListBySubscriptionNextResponse -} from "../models"; - -/// -/** Class containing VirtualMachines operations. */ -export class VirtualMachinesImpl implements VirtualMachines { - private readonly client: Scvmm; - - /** - * Initialize a new instance of the class VirtualMachines class. - * @param client Reference to the service client - */ - constructor(client: Scvmm) { - this.client = client; - } - - /** - * List of VirtualMachines in a resource group. - * @param resourceGroupName The name of the resource group. - * @param options The options parameters. - */ - public listByResourceGroup( - resourceGroupName: string, - options?: VirtualMachinesListByResourceGroupOptionalParams - ): PagedAsyncIterableIterator { - const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); - return { - next() { - return iter.next(); - }, - [Symbol.asyncIterator]() { - return this; - }, - byPage: (settings?: PageSettings) => { - if (settings?.maxPageSize) { - throw new Error("maxPageSize is not supported by this operation."); - } - return this.listByResourceGroupPagingPage( - resourceGroupName, - options, - settings - ); - } - }; - } - - private async *listByResourceGroupPagingPage( - resourceGroupName: string, - options?: VirtualMachinesListByResourceGroupOptionalParams, - settings?: PageSettings - ): AsyncIterableIterator { - let result: VirtualMachinesListByResourceGroupResponse; - let continuationToken = settings?.continuationToken; - if (!continuationToken) { - result = await this._listByResourceGroup(resourceGroupName, options); - let page = result.value || []; - continuationToken = result.nextLink; - setContinuationToken(page, continuationToken); - yield page; - } - while (continuationToken) { - result = await this._listByResourceGroupNext( - resourceGroupName, - continuationToken, - options - ); - continuationToken = result.nextLink; - let page = result.value || []; - setContinuationToken(page, continuationToken); - yield page; - } - } - - private async *listByResourceGroupPagingAll( - resourceGroupName: string, - options?: VirtualMachinesListByResourceGroupOptionalParams - ): AsyncIterableIterator { - for await (const page of this.listByResourceGroupPagingPage( - resourceGroupName, - options - )) { - yield* page; - } - } - - /** - * List of VirtualMachines in a subscription. - * @param options The options parameters. - */ - public listBySubscription( - options?: VirtualMachinesListBySubscriptionOptionalParams - ): PagedAsyncIterableIterator { - const iter = this.listBySubscriptionPagingAll(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.listBySubscriptionPagingPage(options, settings); - } - }; - } - - private async *listBySubscriptionPagingPage( - options?: VirtualMachinesListBySubscriptionOptionalParams, - settings?: PageSettings - ): AsyncIterableIterator { - let result: VirtualMachinesListBySubscriptionResponse; - let continuationToken = settings?.continuationToken; - if (!continuationToken) { - result = await this._listBySubscription(options); - let page = result.value || []; - continuationToken = result.nextLink; - setContinuationToken(page, continuationToken); - yield page; - } - while (continuationToken) { - result = await this._listBySubscriptionNext(continuationToken, options); - continuationToken = result.nextLink; - let page = result.value || []; - setContinuationToken(page, continuationToken); - yield page; - } - } - - private async *listBySubscriptionPagingAll( - options?: VirtualMachinesListBySubscriptionOptionalParams - ): AsyncIterableIterator { - for await (const page of this.listBySubscriptionPagingPage(options)) { - yield* page; - } - } - - /** - * Implements VirtualMachine GET method. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - get( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesGetOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, virtualMachineName, options }, - getOperationSpec - ); - } - - /** - * Creates Or Updates virtual machines deployed on scvmm fabric. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param body Request payload. - * @param options The options parameters. - */ - async beginCreateOrUpdate( - resourceGroupName: string, - virtualMachineName: string, - body: VirtualMachine, - options?: VirtualMachinesCreateOrUpdateOptionalParams - ): Promise< - PollerLike< - PollOperationState, - VirtualMachinesCreateOrUpdateResponse - > - > { - const directSendOperation = async ( - args: coreClient.OperationArguments, - spec: coreClient.OperationSpec - ): Promise => { - return this.client.sendOperationRequest(args, spec); - }; - const sendOperation = 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 = new LroImpl( - sendOperation, - { resourceGroupName, virtualMachineName, body, options }, - createOrUpdateOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs, - lroResourceLocationConfig: "azure-async-operation" - }); - await poller.poll(); - return poller; - } - - /** - * Creates Or Updates virtual machines deployed on scvmm fabric. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param body Request payload. - * @param options The options parameters. - */ - async beginCreateOrUpdateAndWait( - resourceGroupName: string, - virtualMachineName: string, - body: VirtualMachine, - options?: VirtualMachinesCreateOrUpdateOptionalParams - ): Promise { - const poller = await this.beginCreateOrUpdate( - resourceGroupName, - virtualMachineName, - body, - options - ); - return poller.pollUntilDone(); - } - - /** - * Deletes a VirtualMachine deployed on ScVmm fabric. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - async beginDelete( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesDeleteOptionalParams - ): Promise, void>> { - const directSendOperation = async ( - args: coreClient.OperationArguments, - spec: coreClient.OperationSpec - ): Promise => { - return this.client.sendOperationRequest(args, spec); - }; - const sendOperation = 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 = new LroImpl( - sendOperation, - { resourceGroupName, virtualMachineName, options }, - deleteOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs, - lroResourceLocationConfig: "azure-async-operation" - }); - await poller.poll(); - return poller; - } - - /** - * Deletes a VirtualMachine deployed on ScVmm fabric. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - async beginDeleteAndWait( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesDeleteOptionalParams - ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - virtualMachineName, - options - ); - return poller.pollUntilDone(); - } - - /** - * Updates the VirtualMachines resource. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param body VirtualMachines patch payload. - * @param options The options parameters. - */ - async beginUpdate( - resourceGroupName: string, - virtualMachineName: string, - body: VirtualMachineUpdate, - options?: VirtualMachinesUpdateOptionalParams - ): Promise< - PollerLike< - PollOperationState, - VirtualMachinesUpdateResponse - > - > { - const directSendOperation = async ( - args: coreClient.OperationArguments, - spec: coreClient.OperationSpec - ): Promise => { - return this.client.sendOperationRequest(args, spec); - }; - const sendOperation = 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 = new LroImpl( - sendOperation, - { resourceGroupName, virtualMachineName, body, options }, - updateOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs, - lroResourceLocationConfig: "azure-async-operation" - }); - await poller.poll(); - return poller; - } - - /** - * Updates the VirtualMachines resource. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param body VirtualMachines patch payload. - * @param options The options parameters. - */ - async beginUpdateAndWait( - resourceGroupName: string, - virtualMachineName: string, - body: VirtualMachineUpdate, - options?: VirtualMachinesUpdateOptionalParams - ): Promise { - const poller = await this.beginUpdate( - resourceGroupName, - virtualMachineName, - body, - options - ); - return poller.pollUntilDone(); - } - - /** - * Stop virtual machine. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - async beginStop( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesStopOptionalParams - ): Promise, void>> { - const directSendOperation = async ( - args: coreClient.OperationArguments, - spec: coreClient.OperationSpec - ): Promise => { - return this.client.sendOperationRequest(args, spec); - }; - const sendOperation = 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 = new LroImpl( - sendOperation, - { resourceGroupName, virtualMachineName, options }, - stopOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs - }); - await poller.poll(); - return poller; - } - - /** - * Stop virtual machine. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - async beginStopAndWait( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesStopOptionalParams - ): Promise { - const poller = await this.beginStop( - resourceGroupName, - virtualMachineName, - options - ); - return poller.pollUntilDone(); - } - - /** - * Start virtual machine. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - async beginStart( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesStartOptionalParams - ): Promise, void>> { - const directSendOperation = async ( - args: coreClient.OperationArguments, - spec: coreClient.OperationSpec - ): Promise => { - return this.client.sendOperationRequest(args, spec); - }; - const sendOperation = 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 = new LroImpl( - sendOperation, - { resourceGroupName, virtualMachineName, options }, - startOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs - }); - await poller.poll(); - return poller; - } - - /** - * Start virtual machine. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - async beginStartAndWait( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesStartOptionalParams - ): Promise { - const poller = await this.beginStart( - resourceGroupName, - virtualMachineName, - options - ); - return poller.pollUntilDone(); - } - - /** - * Restart virtual machine. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - async beginRestart( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesRestartOptionalParams - ): Promise, void>> { - const directSendOperation = async ( - args: coreClient.OperationArguments, - spec: coreClient.OperationSpec - ): Promise => { - return this.client.sendOperationRequest(args, spec); - }; - const sendOperation = 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 = new LroImpl( - sendOperation, - { resourceGroupName, virtualMachineName, options }, - restartOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs - }); - await poller.poll(); - return poller; - } - - /** - * Restart virtual machine. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - async beginRestartAndWait( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesRestartOptionalParams - ): Promise { - const poller = await this.beginRestart( - resourceGroupName, - virtualMachineName, - options - ); - return poller.pollUntilDone(); - } - - /** - * Creates a checkpoint in virtual machine. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - async beginCreateCheckpoint( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesCreateCheckpointOptionalParams - ): Promise, void>> { - const directSendOperation = async ( - args: coreClient.OperationArguments, - spec: coreClient.OperationSpec - ): Promise => { - return this.client.sendOperationRequest(args, spec); - }; - const sendOperation = 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 = new LroImpl( - sendOperation, - { resourceGroupName, virtualMachineName, options }, - createCheckpointOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs - }); - await poller.poll(); - return poller; - } - - /** - * Creates a checkpoint in virtual machine. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - async beginCreateCheckpointAndWait( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesCreateCheckpointOptionalParams - ): Promise { - const poller = await this.beginCreateCheckpoint( - resourceGroupName, - virtualMachineName, - options - ); - return poller.pollUntilDone(); - } - - /** - * Deletes a checkpoint in virtual machine. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - async beginDeleteCheckpoint( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesDeleteCheckpointOptionalParams - ): Promise, void>> { - const directSendOperation = async ( - args: coreClient.OperationArguments, - spec: coreClient.OperationSpec - ): Promise => { - return this.client.sendOperationRequest(args, spec); - }; - const sendOperation = 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 = new LroImpl( - sendOperation, - { resourceGroupName, virtualMachineName, options }, - deleteCheckpointOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs - }); - await poller.poll(); - return poller; - } - - /** - * Deletes a checkpoint in virtual machine. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - async beginDeleteCheckpointAndWait( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesDeleteCheckpointOptionalParams - ): Promise { - const poller = await this.beginDeleteCheckpoint( - resourceGroupName, - virtualMachineName, - options - ); - return poller.pollUntilDone(); - } - - /** - * Restores to a checkpoint in virtual machine. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - async beginRestoreCheckpoint( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesRestoreCheckpointOptionalParams - ): Promise, void>> { - const directSendOperation = async ( - args: coreClient.OperationArguments, - spec: coreClient.OperationSpec - ): Promise => { - return this.client.sendOperationRequest(args, spec); - }; - const sendOperation = 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 = new LroImpl( - sendOperation, - { resourceGroupName, virtualMachineName, options }, - restoreCheckpointOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs - }); - await poller.poll(); - return poller; - } - - /** - * Restores to a checkpoint in virtual machine. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - async beginRestoreCheckpointAndWait( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesRestoreCheckpointOptionalParams - ): Promise { - const poller = await this.beginRestoreCheckpoint( - resourceGroupName, - virtualMachineName, - options - ); - return poller.pollUntilDone(); - } - - /** - * List of VirtualMachines in a resource group. - * @param resourceGroupName The name of the resource group. - * @param options The options parameters. - */ - private _listByResourceGroup( - resourceGroupName: string, - options?: VirtualMachinesListByResourceGroupOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, options }, - listByResourceGroupOperationSpec - ); - } - - /** - * List of VirtualMachines in a subscription. - * @param options The options parameters. - */ - private _listBySubscription( - options?: VirtualMachinesListBySubscriptionOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { options }, - listBySubscriptionOperationSpec - ); - } - - /** - * ListByResourceGroupNext - * @param resourceGroupName The name of the resource group. - * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method. - * @param options The options parameters. - */ - private _listByResourceGroupNext( - resourceGroupName: string, - nextLink: string, - options?: VirtualMachinesListByResourceGroupNextOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, nextLink, options }, - listByResourceGroupNextOperationSpec - ); - } - - /** - * ListBySubscriptionNext - * @param nextLink The nextLink from the previous successful call to the ListBySubscription method. - * @param options The options parameters. - */ - private _listBySubscriptionNext( - nextLink: string, - options?: VirtualMachinesListBySubscriptionNextOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { nextLink, options }, - listBySubscriptionNextOperationSpec - ); - } -} -// Operation Specifications -const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); - -const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.VirtualMachine - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.virtualMachineName - ], - headerParameters: [Parameters.accept], - serializer -}; -const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.VirtualMachine - }, - 201: { - bodyMapper: Mappers.VirtualMachine - }, - 202: { - bodyMapper: Mappers.VirtualMachine - }, - 204: { - bodyMapper: Mappers.VirtualMachine - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - requestBody: Parameters.body4, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.virtualMachineName - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; -const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}", - httpMethod: "DELETE", - responses: { - 200: {}, - 201: {}, - 202: {}, - 204: {}, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [Parameters.apiVersion, Parameters.force, Parameters.retain], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.virtualMachineName - ], - headerParameters: [Parameters.accept], - serializer -}; -const updateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}", - httpMethod: "PATCH", - responses: { - 200: { - bodyMapper: Mappers.VirtualMachine - }, - 201: { - bodyMapper: Mappers.VirtualMachine - }, - 202: { - bodyMapper: Mappers.VirtualMachine - }, - 204: { - bodyMapper: Mappers.VirtualMachine - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - requestBody: Parameters.body5, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.virtualMachineName - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; -const stopOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/stop", - httpMethod: "POST", - responses: { - 200: {}, - 201: {}, - 202: {}, - 204: {}, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - requestBody: Parameters.body6, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.virtualMachineName - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; -const startOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/start", - httpMethod: "POST", - responses: { - 200: {}, - 201: {}, - 202: {}, - 204: {}, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.virtualMachineName - ], - headerParameters: [Parameters.accept], - serializer -}; -const restartOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/restart", - httpMethod: "POST", - responses: { - 200: {}, - 201: {}, - 202: {}, - 204: {}, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.virtualMachineName - ], - headerParameters: [Parameters.accept], - serializer -}; -const createCheckpointOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/createCheckpoint", - httpMethod: "POST", - responses: { - 200: {}, - 201: {}, - 202: {}, - 204: {}, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - requestBody: Parameters.body7, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.virtualMachineName - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; -const deleteCheckpointOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/deleteCheckpoint", - httpMethod: "POST", - responses: { - 200: {}, - 201: {}, - 202: {}, - 204: {}, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - requestBody: Parameters.body8, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.virtualMachineName - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; -const restoreCheckpointOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/restoreCheckpoint", - httpMethod: "POST", - responses: { - 200: {}, - 201: {}, - 202: {}, - 204: {}, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - requestBody: Parameters.body9, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.virtualMachineName - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; -const listByResourceGroupOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.VirtualMachineListResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName - ], - headerParameters: [Parameters.accept], - serializer -}; -const listBySubscriptionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/virtualMachines", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.VirtualMachineListResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host, Parameters.subscriptionId], - headerParameters: [Parameters.accept], - serializer -}; -const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.VirtualMachineListResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; -const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.VirtualMachineListResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; diff --git a/sdk/scvmm/arm-scvmm/src/operations/virtualNetworks.ts b/sdk/scvmm/arm-scvmm/src/operations/virtualNetworks.ts index 8cf52cd549ce..1d31a1bf9565 100644 --- a/sdk/scvmm/arm-scvmm/src/operations/virtualNetworks.ts +++ b/sdk/scvmm/arm-scvmm/src/operations/virtualNetworks.ts @@ -12,52 +12,55 @@ import { VirtualNetworks } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { Scvmm } from "../scvmm"; -import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; -import { LroImpl } from "../lroImpl"; +import { ScVmm } from "../scVmm"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; import { VirtualNetwork, - VirtualNetworksListByResourceGroupNextOptionalParams, - VirtualNetworksListByResourceGroupOptionalParams, - VirtualNetworksListByResourceGroupResponse, VirtualNetworksListBySubscriptionNextOptionalParams, VirtualNetworksListBySubscriptionOptionalParams, VirtualNetworksListBySubscriptionResponse, + VirtualNetworksListByResourceGroupNextOptionalParams, + VirtualNetworksListByResourceGroupOptionalParams, + VirtualNetworksListByResourceGroupResponse, VirtualNetworksGetOptionalParams, VirtualNetworksGetResponse, VirtualNetworksCreateOrUpdateOptionalParams, VirtualNetworksCreateOrUpdateResponse, - VirtualNetworksDeleteOptionalParams, - ResourcePatch, + VirtualNetworkTagsUpdate, VirtualNetworksUpdateOptionalParams, VirtualNetworksUpdateResponse, + VirtualNetworksDeleteOptionalParams, + VirtualNetworksDeleteResponse, + VirtualNetworksListBySubscriptionNextResponse, VirtualNetworksListByResourceGroupNextResponse, - VirtualNetworksListBySubscriptionNextResponse } from "../models"; /// /** Class containing VirtualNetworks operations. */ export class VirtualNetworksImpl implements VirtualNetworks { - private readonly client: Scvmm; + private readonly client: ScVmm; /** * Initialize a new instance of the class VirtualNetworks class. * @param client Reference to the service client */ - constructor(client: Scvmm) { + constructor(client: ScVmm) { this.client = client; } /** - * List of VirtualNetworks in a resource group. - * @param resourceGroupName The name of the resource group. + * List of VirtualNetworks in a subscription. * @param options The options parameters. */ - public listByResourceGroup( - resourceGroupName: string, - options?: VirtualNetworksListByResourceGroupOptionalParams + public listBySubscription( + options?: VirtualNetworksListBySubscriptionOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); + const iter = this.listBySubscriptionPagingAll(options); return { next() { return iter.next(); @@ -69,35 +72,26 @@ export class VirtualNetworksImpl implements VirtualNetworks { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listByResourceGroupPagingPage( - resourceGroupName, - options, - settings - ); - } + return this.listBySubscriptionPagingPage(options, settings); + }, }; } - private async *listByResourceGroupPagingPage( - resourceGroupName: string, - options?: VirtualNetworksListByResourceGroupOptionalParams, - settings?: PageSettings + private async *listBySubscriptionPagingPage( + options?: VirtualNetworksListBySubscriptionOptionalParams, + settings?: PageSettings, ): AsyncIterableIterator { - let result: VirtualNetworksListByResourceGroupResponse; + let result: VirtualNetworksListBySubscriptionResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._listByResourceGroup(resourceGroupName, options); + result = await this._listBySubscription(options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); yield page; } while (continuationToken) { - result = await this._listByResourceGroupNext( - resourceGroupName, - continuationToken, - options - ); + result = await this._listBySubscriptionNext(continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -105,26 +99,24 @@ export class VirtualNetworksImpl implements VirtualNetworks { } } - private async *listByResourceGroupPagingAll( - resourceGroupName: string, - options?: VirtualNetworksListByResourceGroupOptionalParams + private async *listBySubscriptionPagingAll( + options?: VirtualNetworksListBySubscriptionOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listByResourceGroupPagingPage( - resourceGroupName, - options - )) { + for await (const page of this.listBySubscriptionPagingPage(options)) { yield* page; } } /** - * List of VirtualNetworks in a subscription. + * List of VirtualNetworks in a resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ - public listBySubscription( - options?: VirtualNetworksListBySubscriptionOptionalParams + public listByResourceGroup( + resourceGroupName: string, + options?: VirtualNetworksListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listBySubscriptionPagingAll(options); + const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); return { next() { return iter.next(); @@ -136,26 +128,35 @@ export class VirtualNetworksImpl implements VirtualNetworks { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listBySubscriptionPagingPage(options, settings); - } + return this.listByResourceGroupPagingPage( + resourceGroupName, + options, + settings, + ); + }, }; } - private async *listBySubscriptionPagingPage( - options?: VirtualNetworksListBySubscriptionOptionalParams, - settings?: PageSettings + private async *listByResourceGroupPagingPage( + resourceGroupName: string, + options?: VirtualNetworksListByResourceGroupOptionalParams, + settings?: PageSettings, ): AsyncIterableIterator { - let result: VirtualNetworksListBySubscriptionResponse; + let result: VirtualNetworksListByResourceGroupResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._listBySubscription(options); + result = await this._listByResourceGroup(resourceGroupName, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); yield page; } while (continuationToken) { - result = await this._listBySubscriptionNext(continuationToken, options); + result = await this._listByResourceGroupNext( + resourceGroupName, + continuationToken, + options, + ); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -163,66 +164,97 @@ export class VirtualNetworksImpl implements VirtualNetworks { } } - private async *listBySubscriptionPagingAll( - options?: VirtualNetworksListBySubscriptionOptionalParams + private async *listByResourceGroupPagingAll( + resourceGroupName: string, + options?: VirtualNetworksListByResourceGroupOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listBySubscriptionPagingPage(options)) { + for await (const page of this.listByResourceGroupPagingPage( + resourceGroupName, + options, + )) { yield* page; } } + /** + * List of VirtualNetworks in a subscription. + * @param options The options parameters. + */ + private _listBySubscription( + options?: VirtualNetworksListBySubscriptionOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { options }, + listBySubscriptionOperationSpec, + ); + } + + /** + * List of VirtualNetworks in a resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param options The options parameters. + */ + private _listByResourceGroup( + resourceGroupName: string, + options?: VirtualNetworksListByResourceGroupOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, options }, + listByResourceGroupOperationSpec, + ); + } + /** * Implements VirtualNetwork GET method. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName Name of the VirtualNetwork. * @param options The options parameters. */ get( resourceGroupName: string, virtualNetworkName: string, - options?: VirtualNetworksGetOptionalParams + options?: VirtualNetworksGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, virtualNetworkName, options }, - getOperationSpec + getOperationSpec, ); } /** * Onboards the ScVmm virtual network as an Azure virtual network resource. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName Name of the VirtualNetwork. - * @param body Request payload. + * @param resource Resource create parameters. * @param options The options parameters. */ async beginCreateOrUpdate( resourceGroupName: string, virtualNetworkName: string, - body: VirtualNetwork, - options?: VirtualNetworksCreateOrUpdateOptionalParams + resource: VirtualNetwork, + options?: VirtualNetworksCreateOrUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, VirtualNetworksCreateOrUpdateResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -231,8 +263,8 @@ export class VirtualNetworksImpl implements VirtualNetworks { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -240,20 +272,23 @@ export class VirtualNetworksImpl implements VirtualNetworks { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, virtualNetworkName, body, options }, - createOrUpdateOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, virtualNetworkName, resource, options }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + VirtualNetworksCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, - lroResourceLocationConfig: "azure-async-operation" + resourceLocationConfig: "azure-async-operation", }); await poller.poll(); return poller; @@ -261,54 +296,60 @@ export class VirtualNetworksImpl implements VirtualNetworks { /** * Onboards the ScVmm virtual network as an Azure virtual network resource. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName Name of the VirtualNetwork. - * @param body Request payload. + * @param resource Resource create parameters. * @param options The options parameters. */ async beginCreateOrUpdateAndWait( resourceGroupName: string, virtualNetworkName: string, - body: VirtualNetwork, - options?: VirtualNetworksCreateOrUpdateOptionalParams + resource: VirtualNetwork, + options?: VirtualNetworksCreateOrUpdateOptionalParams, ): Promise { const poller = await this.beginCreateOrUpdate( resourceGroupName, virtualNetworkName, - body, - options + resource, + options, ); return poller.pollUntilDone(); } /** - * Deregisters the ScVmm virtual network from Azure. - * @param resourceGroupName The name of the resource group. + * Updates the VirtualNetworks resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName Name of the VirtualNetwork. + * @param properties The resource properties to be updated. * @param options The options parameters. */ - async beginDelete( + async beginUpdate( resourceGroupName: string, virtualNetworkName: string, - options?: VirtualNetworksDeleteOptionalParams - ): Promise, void>> { + properties: VirtualNetworkTagsUpdate, + options?: VirtualNetworksUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + VirtualNetworksUpdateResponse + > + > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec - ): Promise => { + spec: coreClient.OperationSpec, + ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -317,8 +358,8 @@ export class VirtualNetworksImpl implements VirtualNetworks { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -326,79 +367,82 @@ export class VirtualNetworksImpl implements VirtualNetworks { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, virtualNetworkName, options }, - deleteOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, virtualNetworkName, properties, options }, + spec: updateOperationSpec, + }); + const poller = await createHttpPoller< + VirtualNetworksUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, - lroResourceLocationConfig: "azure-async-operation" + resourceLocationConfig: "azure-async-operation", }); await poller.poll(); return poller; } /** - * Deregisters the ScVmm virtual network from Azure. - * @param resourceGroupName The name of the resource group. + * Updates the VirtualNetworks resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName Name of the VirtualNetwork. + * @param properties The resource properties to be updated. * @param options The options parameters. */ - async beginDeleteAndWait( + async beginUpdateAndWait( resourceGroupName: string, virtualNetworkName: string, - options?: VirtualNetworksDeleteOptionalParams - ): Promise { - const poller = await this.beginDelete( + properties: VirtualNetworkTagsUpdate, + options?: VirtualNetworksUpdateOptionalParams, + ): Promise { + const poller = await this.beginUpdate( resourceGroupName, virtualNetworkName, - options + properties, + options, ); return poller.pollUntilDone(); } /** - * Updates the VirtualNetworks resource. - * @param resourceGroupName The name of the resource group. + * Deregisters the ScVmm virtual network from Azure. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName Name of the VirtualNetwork. - * @param body VirtualNetworks patch payload. * @param options The options parameters. */ - async beginUpdate( + async beginDelete( resourceGroupName: string, virtualNetworkName: string, - body: ResourcePatch, - options?: VirtualNetworksUpdateOptionalParams + options?: VirtualNetworksDeleteOptionalParams, ): Promise< - PollerLike< - PollOperationState, - VirtualNetworksUpdateResponse + SimplePollerLike< + OperationState, + VirtualNetworksDeleteResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec - ): Promise => { + spec: coreClient.OperationSpec, + ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -407,8 +451,8 @@ export class VirtualNetworksImpl implements VirtualNetworks { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -416,295 +460,269 @@ export class VirtualNetworksImpl implements VirtualNetworks { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, virtualNetworkName, body, options }, - updateOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, virtualNetworkName, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + VirtualNetworksDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, - lroResourceLocationConfig: "azure-async-operation" + resourceLocationConfig: "azure-async-operation", }); await poller.poll(); return poller; } /** - * Updates the VirtualNetworks resource. - * @param resourceGroupName The name of the resource group. + * Deregisters the ScVmm virtual network from Azure. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName Name of the VirtualNetwork. - * @param body VirtualNetworks patch payload. * @param options The options parameters. */ - async beginUpdateAndWait( + async beginDeleteAndWait( resourceGroupName: string, virtualNetworkName: string, - body: ResourcePatch, - options?: VirtualNetworksUpdateOptionalParams - ): Promise { - const poller = await this.beginUpdate( + options?: VirtualNetworksDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( resourceGroupName, virtualNetworkName, - body, - options + options, ); return poller.pollUntilDone(); } /** - * List of VirtualNetworks in a resource group. - * @param resourceGroupName The name of the resource group. - * @param options The options parameters. - */ - private _listByResourceGroup( - resourceGroupName: string, - options?: VirtualNetworksListByResourceGroupOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, options }, - listByResourceGroupOperationSpec - ); - } - - /** - * List of VirtualNetworks in a subscription. + * ListBySubscriptionNext + * @param nextLink The nextLink from the previous successful call to the ListBySubscription method. * @param options The options parameters. */ - private _listBySubscription( - options?: VirtualNetworksListBySubscriptionOptionalParams - ): Promise { + private _listBySubscriptionNext( + nextLink: string, + options?: VirtualNetworksListBySubscriptionNextOptionalParams, + ): Promise { return this.client.sendOperationRequest( - { options }, - listBySubscriptionOperationSpec + { nextLink, options }, + listBySubscriptionNextOperationSpec, ); } /** * ListByResourceGroupNext - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method. * @param options The options parameters. */ private _listByResourceGroupNext( resourceGroupName: string, nextLink: string, - options?: VirtualNetworksListByResourceGroupNextOptionalParams + options?: VirtualNetworksListByResourceGroupNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, nextLink, options }, - listByResourceGroupNextOperationSpec - ); - } - - /** - * ListBySubscriptionNext - * @param nextLink The nextLink from the previous successful call to the ListBySubscription method. - * @param options The options parameters. - */ - private _listBySubscriptionNext( - nextLink: string, - options?: VirtualNetworksListBySubscriptionNextOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { nextLink, options }, - listBySubscriptionNextOperationSpec + listByResourceGroupNextOperationSpec, ); } } // Operation Specifications const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); +const listBySubscriptionOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/virtualNetworks", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.VirtualNetworkListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.subscriptionId], + headerParameters: [Parameters.accept], + serializer, +}; +const listByResourceGroupOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualNetworks", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.VirtualNetworkListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + ], + headerParameters: [Parameters.accept], + serializer, +}; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualNetworks/{virtualNetworkName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualNetworks/{virtualNetworkName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.VirtualNetwork + bodyMapper: Mappers.VirtualNetwork, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.virtualNetworkName + Parameters.virtualNetworkName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualNetworks/{virtualNetworkName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualNetworks/{virtualNetworkName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.VirtualNetwork + bodyMapper: Mappers.VirtualNetwork, }, 201: { - bodyMapper: Mappers.VirtualNetwork + bodyMapper: Mappers.VirtualNetwork, }, 202: { - bodyMapper: Mappers.VirtualNetwork + bodyMapper: Mappers.VirtualNetwork, }, 204: { - bodyMapper: Mappers.VirtualNetwork + bodyMapper: Mappers.VirtualNetwork, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body3, + requestBody: Parameters.resource5, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.virtualNetworkName + Parameters.virtualNetworkName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer -}; -const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualNetworks/{virtualNetworkName}", - httpMethod: "DELETE", - responses: { - 200: {}, - 201: {}, - 202: {}, - 204: {}, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [Parameters.apiVersion, Parameters.force], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.virtualNetworkName - ], - headerParameters: [Parameters.accept], - serializer + serializer, }; const updateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualNetworks/{virtualNetworkName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualNetworks/{virtualNetworkName}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.VirtualNetwork + bodyMapper: Mappers.VirtualNetwork, }, 201: { - bodyMapper: Mappers.VirtualNetwork + bodyMapper: Mappers.VirtualNetwork, }, 202: { - bodyMapper: Mappers.VirtualNetwork + bodyMapper: Mappers.VirtualNetwork, }, 204: { - bodyMapper: Mappers.VirtualNetwork + bodyMapper: Mappers.VirtualNetwork, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body1, + requestBody: Parameters.properties4, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.virtualNetworkName + Parameters.virtualNetworkName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; -const listByResourceGroupOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualNetworks", - httpMethod: "GET", +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualNetworks/{virtualNetworkName}", + httpMethod: "DELETE", responses: { 200: { - bodyMapper: Mappers.VirtualNetworkListResult + headersMapper: Mappers.VirtualNetworksDeleteHeaders, + }, + 201: { + headersMapper: Mappers.VirtualNetworksDeleteHeaders, + }, + 202: { + headersMapper: Mappers.VirtualNetworksDeleteHeaders, + }, + 204: { + headersMapper: Mappers.VirtualNetworksDeleteHeaders, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion, Parameters.force], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName + Parameters.resourceGroupName, + Parameters.virtualNetworkName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listBySubscriptionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/virtualNetworks", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.VirtualNetworkListResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host, Parameters.subscriptionId], - headerParameters: [Parameters.accept], - serializer -}; -const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { +const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.VirtualNetworkListResult + bodyMapper: Mappers.VirtualNetworkListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, urlParameters: [ Parameters.$host, + Parameters.nextLink, Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.nextLink ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { +const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.VirtualNetworkListResult + bodyMapper: Mappers.VirtualNetworkListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, urlParameters: [ Parameters.$host, + Parameters.nextLink, Parameters.subscriptionId, - Parameters.nextLink + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/scvmm/arm-scvmm/src/operations/vmInstanceHybridIdentityMetadatas.ts b/sdk/scvmm/arm-scvmm/src/operations/vmInstanceHybridIdentityMetadatas.ts new file mode 100644 index 000000000000..fc560d7ba61b --- /dev/null +++ b/sdk/scvmm/arm-scvmm/src/operations/vmInstanceHybridIdentityMetadatas.ts @@ -0,0 +1,215 @@ +/* + * 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 { VmInstanceHybridIdentityMetadatas } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { ScVmm } from "../scVmm"; +import { + VmInstanceHybridIdentityMetadata, + VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceNextOptionalParams, + VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceOptionalParams, + VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceResponse, + VmInstanceHybridIdentityMetadatasGetOptionalParams, + VmInstanceHybridIdentityMetadatasGetResponse, + VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceNextResponse, +} from "../models"; + +/// +/** Class containing VmInstanceHybridIdentityMetadatas operations. */ +export class VmInstanceHybridIdentityMetadatasImpl + implements VmInstanceHybridIdentityMetadatas +{ + private readonly client: ScVmm; + + /** + * Initialize a new instance of the class VmInstanceHybridIdentityMetadatas class. + * @param client Reference to the service client + */ + constructor(client: ScVmm) { + this.client = client; + } + + /** + * Returns the list of HybridIdentityMetadata of the given VM. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + public listByVirtualMachineInstance( + resourceUri: string, + options?: VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listByVirtualMachineInstancePagingAll( + resourceUri, + 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.listByVirtualMachineInstancePagingPage( + resourceUri, + options, + settings, + ); + }, + }; + } + + private async *listByVirtualMachineInstancePagingPage( + resourceUri: string, + options?: VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listByVirtualMachineInstance(resourceUri, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listByVirtualMachineInstanceNext( + resourceUri, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listByVirtualMachineInstancePagingAll( + resourceUri: string, + options?: VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listByVirtualMachineInstancePagingPage( + resourceUri, + options, + )) { + yield* page; + } + } + + /** + * Returns the list of HybridIdentityMetadata of the given VM. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + private _listByVirtualMachineInstance( + resourceUri: string, + options?: VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceUri, options }, + listByVirtualMachineInstanceOperationSpec, + ); + } + + /** + * Implements HybridIdentityMetadata GET method. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + get( + resourceUri: string, + options?: VmInstanceHybridIdentityMetadatasGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceUri, options }, + getOperationSpec, + ); + } + + /** + * ListByVirtualMachineInstanceNext + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param nextLink The nextLink from the previous successful call to the ListByVirtualMachineInstance + * method. + * @param options The options parameters. + */ + private _listByVirtualMachineInstanceNext( + resourceUri: string, + nextLink: string, + options?: VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceUri, nextLink, options }, + listByVirtualMachineInstanceNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listByVirtualMachineInstanceOperationSpec: coreClient.OperationSpec = { + path: "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/hybridIdentityMetadata", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.VmInstanceHybridIdentityMetadataListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.resourceUri], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/hybridIdentityMetadata/default", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.VmInstanceHybridIdentityMetadata, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.resourceUri], + headerParameters: [Parameters.accept], + serializer, +}; +const listByVirtualMachineInstanceNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.VmInstanceHybridIdentityMetadataListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.resourceUri, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, + }; diff --git a/sdk/scvmm/arm-scvmm/src/operations/vmmServers.ts b/sdk/scvmm/arm-scvmm/src/operations/vmmServers.ts index 3160a8fb33b5..a987b79a4882 100644 --- a/sdk/scvmm/arm-scvmm/src/operations/vmmServers.ts +++ b/sdk/scvmm/arm-scvmm/src/operations/vmmServers.ts @@ -12,52 +12,55 @@ import { VmmServers } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { Scvmm } from "../scvmm"; -import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; -import { LroImpl } from "../lroImpl"; +import { ScVmm } from "../scVmm"; import { - VMMServer, - VmmServersListByResourceGroupNextOptionalParams, - VmmServersListByResourceGroupOptionalParams, - VmmServersListByResourceGroupResponse, + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + VmmServer, VmmServersListBySubscriptionNextOptionalParams, VmmServersListBySubscriptionOptionalParams, VmmServersListBySubscriptionResponse, + VmmServersListByResourceGroupNextOptionalParams, + VmmServersListByResourceGroupOptionalParams, + VmmServersListByResourceGroupResponse, VmmServersGetOptionalParams, VmmServersGetResponse, VmmServersCreateOrUpdateOptionalParams, VmmServersCreateOrUpdateResponse, - VmmServersDeleteOptionalParams, - ResourcePatch, + VmmServerTagsUpdate, VmmServersUpdateOptionalParams, VmmServersUpdateResponse, + VmmServersDeleteOptionalParams, + VmmServersDeleteResponse, + VmmServersListBySubscriptionNextResponse, VmmServersListByResourceGroupNextResponse, - VmmServersListBySubscriptionNextResponse } from "../models"; /// /** Class containing VmmServers operations. */ export class VmmServersImpl implements VmmServers { - private readonly client: Scvmm; + private readonly client: ScVmm; /** * Initialize a new instance of the class VmmServers class. * @param client Reference to the service client */ - constructor(client: Scvmm) { + constructor(client: ScVmm) { this.client = client; } /** - * List of VmmServers in a resource group. - * @param resourceGroupName The name of the resource group. + * List of VmmServers in a subscription. * @param options The options parameters. */ - public listByResourceGroup( - resourceGroupName: string, - options?: VmmServersListByResourceGroupOptionalParams - ): PagedAsyncIterableIterator { - const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); + public listBySubscription( + options?: VmmServersListBySubscriptionOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listBySubscriptionPagingAll(options); return { next() { return iter.next(); @@ -69,35 +72,26 @@ export class VmmServersImpl implements VmmServers { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listByResourceGroupPagingPage( - resourceGroupName, - options, - settings - ); - } + return this.listBySubscriptionPagingPage(options, settings); + }, }; } - private async *listByResourceGroupPagingPage( - resourceGroupName: string, - options?: VmmServersListByResourceGroupOptionalParams, - settings?: PageSettings - ): AsyncIterableIterator { - let result: VmmServersListByResourceGroupResponse; + private async *listBySubscriptionPagingPage( + options?: VmmServersListBySubscriptionOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: VmmServersListBySubscriptionResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._listByResourceGroup(resourceGroupName, options); + result = await this._listBySubscription(options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); yield page; } while (continuationToken) { - result = await this._listByResourceGroupNext( - resourceGroupName, - continuationToken, - options - ); + result = await this._listBySubscriptionNext(continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -105,26 +99,24 @@ export class VmmServersImpl implements VmmServers { } } - private async *listByResourceGroupPagingAll( - resourceGroupName: string, - options?: VmmServersListByResourceGroupOptionalParams - ): AsyncIterableIterator { - for await (const page of this.listByResourceGroupPagingPage( - resourceGroupName, - options - )) { + private async *listBySubscriptionPagingAll( + options?: VmmServersListBySubscriptionOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listBySubscriptionPagingPage(options)) { yield* page; } } /** - * List of VmmServers in a subscription. + * List of VmmServers in a resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ - public listBySubscription( - options?: VmmServersListBySubscriptionOptionalParams - ): PagedAsyncIterableIterator { - const iter = this.listBySubscriptionPagingAll(options); + public listByResourceGroup( + resourceGroupName: string, + options?: VmmServersListByResourceGroupOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); return { next() { return iter.next(); @@ -136,26 +128,35 @@ export class VmmServersImpl implements VmmServers { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listBySubscriptionPagingPage(options, settings); - } + return this.listByResourceGroupPagingPage( + resourceGroupName, + options, + settings, + ); + }, }; } - private async *listBySubscriptionPagingPage( - options?: VmmServersListBySubscriptionOptionalParams, - settings?: PageSettings - ): AsyncIterableIterator { - let result: VmmServersListBySubscriptionResponse; + private async *listByResourceGroupPagingPage( + resourceGroupName: string, + options?: VmmServersListByResourceGroupOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: VmmServersListByResourceGroupResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._listBySubscription(options); + result = await this._listByResourceGroup(resourceGroupName, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); yield page; } while (continuationToken) { - result = await this._listBySubscriptionNext(continuationToken, options); + result = await this._listByResourceGroupNext( + resourceGroupName, + continuationToken, + options, + ); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -163,66 +164,97 @@ export class VmmServersImpl implements VmmServers { } } - private async *listBySubscriptionPagingAll( - options?: VmmServersListBySubscriptionOptionalParams - ): AsyncIterableIterator { - for await (const page of this.listBySubscriptionPagingPage(options)) { + private async *listByResourceGroupPagingAll( + resourceGroupName: string, + options?: VmmServersListByResourceGroupOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listByResourceGroupPagingPage( + resourceGroupName, + options, + )) { yield* page; } } /** - * Implements VMMServer GET method. - * @param resourceGroupName The name of the resource group. - * @param vmmServerName Name of the VMMServer. + * List of VmmServers in a subscription. + * @param options The options parameters. + */ + private _listBySubscription( + options?: VmmServersListBySubscriptionOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { options }, + listBySubscriptionOperationSpec, + ); + } + + /** + * List of VmmServers in a resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param options The options parameters. + */ + private _listByResourceGroup( + resourceGroupName: string, + options?: VmmServersListByResourceGroupOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, options }, + listByResourceGroupOperationSpec, + ); + } + + /** + * Implements VmmServer GET method. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vmmServerName Name of the VmmServer. * @param options The options parameters. */ get( resourceGroupName: string, vmmServerName: string, - options?: VmmServersGetOptionalParams + options?: VmmServersGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, vmmServerName, options }, - getOperationSpec + getOperationSpec, ); } /** - * Onboards the SCVMM fabric as an Azure VmmServer resource. - * @param resourceGroupName The name of the resource group. - * @param vmmServerName Name of the VMMServer. - * @param body Request payload. + * Onboards the SCVmm fabric as an Azure VmmServer resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vmmServerName Name of the VmmServer. + * @param resource Resource create parameters. * @param options The options parameters. */ async beginCreateOrUpdate( resourceGroupName: string, vmmServerName: string, - body: VMMServer, - options?: VmmServersCreateOrUpdateOptionalParams + resource: VmmServer, + options?: VmmServersCreateOrUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, VmmServersCreateOrUpdateResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -231,8 +263,8 @@ export class VmmServersImpl implements VmmServers { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -240,75 +272,84 @@ export class VmmServersImpl implements VmmServers { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, vmmServerName, body, options }, - createOrUpdateOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, vmmServerName, resource, options }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + VmmServersCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, - lroResourceLocationConfig: "azure-async-operation" + resourceLocationConfig: "azure-async-operation", }); await poller.poll(); return poller; } /** - * Onboards the SCVMM fabric as an Azure VmmServer resource. - * @param resourceGroupName The name of the resource group. - * @param vmmServerName Name of the VMMServer. - * @param body Request payload. + * Onboards the SCVmm fabric as an Azure VmmServer resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vmmServerName Name of the VmmServer. + * @param resource Resource create parameters. * @param options The options parameters. */ async beginCreateOrUpdateAndWait( resourceGroupName: string, vmmServerName: string, - body: VMMServer, - options?: VmmServersCreateOrUpdateOptionalParams + resource: VmmServer, + options?: VmmServersCreateOrUpdateOptionalParams, ): Promise { const poller = await this.beginCreateOrUpdate( resourceGroupName, vmmServerName, - body, - options + resource, + options, ); return poller.pollUntilDone(); } /** - * Deboards the SCVMM fabric from Azure. - * @param resourceGroupName The name of the resource group. - * @param vmmServerName Name of the VMMServer. + * Updates the VmmServers resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vmmServerName Name of the VmmServer. + * @param properties The resource properties to be updated. * @param options The options parameters. */ - async beginDelete( + async beginUpdate( resourceGroupName: string, vmmServerName: string, - options?: VmmServersDeleteOptionalParams - ): Promise, void>> { + properties: VmmServerTagsUpdate, + options?: VmmServersUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + VmmServersUpdateResponse + > + > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec - ): Promise => { + spec: coreClient.OperationSpec, + ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -317,8 +358,8 @@ export class VmmServersImpl implements VmmServers { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -326,79 +367,82 @@ export class VmmServersImpl implements VmmServers { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, vmmServerName, options }, - deleteOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, vmmServerName, properties, options }, + spec: updateOperationSpec, + }); + const poller = await createHttpPoller< + VmmServersUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, - lroResourceLocationConfig: "azure-async-operation" + resourceLocationConfig: "azure-async-operation", }); await poller.poll(); return poller; } /** - * Deboards the SCVMM fabric from Azure. - * @param resourceGroupName The name of the resource group. - * @param vmmServerName Name of the VMMServer. + * Updates the VmmServers resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vmmServerName Name of the VmmServer. + * @param properties The resource properties to be updated. * @param options The options parameters. */ - async beginDeleteAndWait( + async beginUpdateAndWait( resourceGroupName: string, vmmServerName: string, - options?: VmmServersDeleteOptionalParams - ): Promise { - const poller = await this.beginDelete( + properties: VmmServerTagsUpdate, + options?: VmmServersUpdateOptionalParams, + ): Promise { + const poller = await this.beginUpdate( resourceGroupName, vmmServerName, - options + properties, + options, ); return poller.pollUntilDone(); } /** - * Updates the VmmServers resource. - * @param resourceGroupName The name of the resource group. - * @param vmmServerName Name of the VMMServer. - * @param body VmmServers patch payload. + * Removes the SCVmm fabric from Azure. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vmmServerName Name of the VmmServer. * @param options The options parameters. */ - async beginUpdate( + async beginDelete( resourceGroupName: string, vmmServerName: string, - body: ResourcePatch, - options?: VmmServersUpdateOptionalParams + options?: VmmServersDeleteOptionalParams, ): Promise< - PollerLike< - PollOperationState, - VmmServersUpdateResponse + SimplePollerLike< + OperationState, + VmmServersDeleteResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec - ): Promise => { + spec: coreClient.OperationSpec, + ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -407,8 +451,8 @@ export class VmmServersImpl implements VmmServers { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -416,294 +460,269 @@ export class VmmServersImpl implements VmmServers { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, vmmServerName, body, options }, - updateOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, vmmServerName, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + VmmServersDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, - lroResourceLocationConfig: "azure-async-operation" + resourceLocationConfig: "azure-async-operation", }); await poller.poll(); return poller; } /** - * Updates the VmmServers resource. - * @param resourceGroupName The name of the resource group. - * @param vmmServerName Name of the VMMServer. - * @param body VmmServers patch payload. + * Removes the SCVmm fabric from Azure. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vmmServerName Name of the VmmServer. * @param options The options parameters. */ - async beginUpdateAndWait( + async beginDeleteAndWait( resourceGroupName: string, vmmServerName: string, - body: ResourcePatch, - options?: VmmServersUpdateOptionalParams - ): Promise { - const poller = await this.beginUpdate( + options?: VmmServersDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( resourceGroupName, vmmServerName, - body, - options + options, ); return poller.pollUntilDone(); } /** - * List of VmmServers in a resource group. - * @param resourceGroupName The name of the resource group. - * @param options The options parameters. - */ - private _listByResourceGroup( - resourceGroupName: string, - options?: VmmServersListByResourceGroupOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, options }, - listByResourceGroupOperationSpec - ); - } - - /** - * List of VmmServers in a subscription. + * ListBySubscriptionNext + * @param nextLink The nextLink from the previous successful call to the ListBySubscription method. * @param options The options parameters. */ - private _listBySubscription( - options?: VmmServersListBySubscriptionOptionalParams - ): Promise { + private _listBySubscriptionNext( + nextLink: string, + options?: VmmServersListBySubscriptionNextOptionalParams, + ): Promise { return this.client.sendOperationRequest( - { options }, - listBySubscriptionOperationSpec + { nextLink, options }, + listBySubscriptionNextOperationSpec, ); } /** * ListByResourceGroupNext - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method. * @param options The options parameters. */ private _listByResourceGroupNext( resourceGroupName: string, nextLink: string, - options?: VmmServersListByResourceGroupNextOptionalParams + options?: VmmServersListByResourceGroupNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, nextLink, options }, - listByResourceGroupNextOperationSpec - ); - } - - /** - * ListBySubscriptionNext - * @param nextLink The nextLink from the previous successful call to the ListBySubscription method. - * @param options The options parameters. - */ - private _listBySubscriptionNext( - nextLink: string, - options?: VmmServersListBySubscriptionNextOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { nextLink, options }, - listBySubscriptionNextOperationSpec + listByResourceGroupNextOperationSpec, ); } } // Operation Specifications const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); +const listBySubscriptionOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/vmmServers", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.VmmServerListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.subscriptionId], + headerParameters: [Parameters.accept], + serializer, +}; +const listByResourceGroupOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.VmmServerListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + ], + headerParameters: [Parameters.accept], + serializer, +}; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.VMMServer + bodyMapper: Mappers.VmmServer, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.vmmServerName + Parameters.vmmServerName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.VMMServer + bodyMapper: Mappers.VmmServer, }, 201: { - bodyMapper: Mappers.VMMServer + bodyMapper: Mappers.VmmServer, }, 202: { - bodyMapper: Mappers.VMMServer + bodyMapper: Mappers.VmmServer, }, 204: { - bodyMapper: Mappers.VMMServer + bodyMapper: Mappers.VmmServer, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body, + requestBody: Parameters.resource6, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.vmmServerName + Parameters.vmmServerName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer -}; -const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}", - httpMethod: "DELETE", - responses: { - 200: {}, - 201: {}, - 202: {}, - 204: {}, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [Parameters.apiVersion, Parameters.force], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.vmmServerName - ], - headerParameters: [Parameters.accept], - serializer + serializer, }; const updateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.VMMServer + bodyMapper: Mappers.VmmServer, }, 201: { - bodyMapper: Mappers.VMMServer + bodyMapper: Mappers.VmmServer, }, 202: { - bodyMapper: Mappers.VMMServer + bodyMapper: Mappers.VmmServer, }, 204: { - bodyMapper: Mappers.VMMServer + bodyMapper: Mappers.VmmServer, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body1, + requestBody: Parameters.properties5, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.vmmServerName + Parameters.vmmServerName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; -const listByResourceGroupOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers", - httpMethod: "GET", +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}", + httpMethod: "DELETE", responses: { 200: { - bodyMapper: Mappers.VMMServerListResult + headersMapper: Mappers.VmmServersDeleteHeaders, + }, + 201: { + headersMapper: Mappers.VmmServersDeleteHeaders, + }, + 202: { + headersMapper: Mappers.VmmServersDeleteHeaders, + }, + 204: { + headersMapper: Mappers.VmmServersDeleteHeaders, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion, Parameters.force], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName + Parameters.resourceGroupName, + Parameters.vmmServerName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listBySubscriptionOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/vmmServers", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.VMMServerListResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host, Parameters.subscriptionId], - headerParameters: [Parameters.accept], - serializer -}; -const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { +const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.VMMServerListResult + bodyMapper: Mappers.VmmServerListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, urlParameters: [ Parameters.$host, + Parameters.nextLink, Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.nextLink ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { +const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.VMMServerListResult + bodyMapper: Mappers.VmmServerListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, urlParameters: [ Parameters.$host, + Parameters.nextLink, Parameters.subscriptionId, - Parameters.nextLink + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/scvmm/arm-scvmm/src/operationsInterfaces/availabilitySets.ts b/sdk/scvmm/arm-scvmm/src/operationsInterfaces/availabilitySets.ts index 9a6c9e182719..2ff81c9a2d33 100644 --- a/sdk/scvmm/arm-scvmm/src/operationsInterfaces/availabilitySets.ts +++ b/sdk/scvmm/arm-scvmm/src/operationsInterfaces/availabilitySets.ts @@ -7,133 +7,139 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { AvailabilitySet, - AvailabilitySetsListByResourceGroupOptionalParams, AvailabilitySetsListBySubscriptionOptionalParams, + AvailabilitySetsListByResourceGroupOptionalParams, AvailabilitySetsGetOptionalParams, AvailabilitySetsGetResponse, AvailabilitySetsCreateOrUpdateOptionalParams, AvailabilitySetsCreateOrUpdateResponse, - AvailabilitySetsDeleteOptionalParams, - ResourcePatch, + AvailabilitySetTagsUpdate, AvailabilitySetsUpdateOptionalParams, - AvailabilitySetsUpdateResponse + AvailabilitySetsUpdateResponse, + AvailabilitySetsDeleteOptionalParams, + AvailabilitySetsDeleteResponse, } from "../models"; /// /** Interface representing a AvailabilitySets. */ export interface AvailabilitySets { /** - * List of AvailabilitySets in a resource group. - * @param resourceGroupName The name of the resource group. + * List of AvailabilitySets in a subscription. * @param options The options parameters. */ - listByResourceGroup( - resourceGroupName: string, - options?: AvailabilitySetsListByResourceGroupOptionalParams + listBySubscription( + options?: AvailabilitySetsListBySubscriptionOptionalParams, ): PagedAsyncIterableIterator; /** - * List of AvailabilitySets in a subscription. + * List of AvailabilitySets in a resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ - listBySubscription( - options?: AvailabilitySetsListBySubscriptionOptionalParams + listByResourceGroup( + resourceGroupName: string, + options?: AvailabilitySetsListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator; /** * Implements AvailabilitySet GET method. - * @param resourceGroupName The name of the resource group. - * @param availabilitySetName Name of the AvailabilitySet. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param availabilitySetResourceName Name of the AvailabilitySet. * @param options The options parameters. */ get( resourceGroupName: string, - availabilitySetName: string, - options?: AvailabilitySetsGetOptionalParams + availabilitySetResourceName: string, + options?: AvailabilitySetsGetOptionalParams, ): Promise; /** * Onboards the ScVmm availability set as an Azure resource. - * @param resourceGroupName The name of the resource group. - * @param availabilitySetName Name of the AvailabilitySet. - * @param body Request payload. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param availabilitySetResourceName Name of the AvailabilitySet. + * @param resource Resource create parameters. * @param options The options parameters. */ beginCreateOrUpdate( resourceGroupName: string, - availabilitySetName: string, - body: AvailabilitySet, - options?: AvailabilitySetsCreateOrUpdateOptionalParams + availabilitySetResourceName: string, + resource: AvailabilitySet, + options?: AvailabilitySetsCreateOrUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, AvailabilitySetsCreateOrUpdateResponse > >; /** * Onboards the ScVmm availability set as an Azure resource. - * @param resourceGroupName The name of the resource group. - * @param availabilitySetName Name of the AvailabilitySet. - * @param body Request payload. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param availabilitySetResourceName Name of the AvailabilitySet. + * @param resource Resource create parameters. * @param options The options parameters. */ beginCreateOrUpdateAndWait( resourceGroupName: string, - availabilitySetName: string, - body: AvailabilitySet, - options?: AvailabilitySetsCreateOrUpdateOptionalParams + availabilitySetResourceName: string, + resource: AvailabilitySet, + options?: AvailabilitySetsCreateOrUpdateOptionalParams, ): Promise; /** - * Deregisters the ScVmm availability set from Azure. - * @param resourceGroupName The name of the resource group. - * @param availabilitySetName Name of the AvailabilitySet. + * Updates the AvailabilitySets resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param availabilitySetResourceName Name of the AvailabilitySet. + * @param properties The resource properties to be updated. * @param options The options parameters. */ - beginDelete( + beginUpdate( resourceGroupName: string, - availabilitySetName: string, - options?: AvailabilitySetsDeleteOptionalParams - ): Promise, void>>; + availabilitySetResourceName: string, + properties: AvailabilitySetTagsUpdate, + options?: AvailabilitySetsUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + AvailabilitySetsUpdateResponse + > + >; /** - * Deregisters the ScVmm availability set from Azure. - * @param resourceGroupName The name of the resource group. - * @param availabilitySetName Name of the AvailabilitySet. + * Updates the AvailabilitySets resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param availabilitySetResourceName Name of the AvailabilitySet. + * @param properties The resource properties to be updated. * @param options The options parameters. */ - beginDeleteAndWait( + beginUpdateAndWait( resourceGroupName: string, - availabilitySetName: string, - options?: AvailabilitySetsDeleteOptionalParams - ): Promise; + availabilitySetResourceName: string, + properties: AvailabilitySetTagsUpdate, + options?: AvailabilitySetsUpdateOptionalParams, + ): Promise; /** - * Updates the AvailabilitySets resource. - * @param resourceGroupName The name of the resource group. - * @param availabilitySetName Name of the AvailabilitySet. - * @param body AvailabilitySets patch payload. + * Deregisters the ScVmm availability set from Azure. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param availabilitySetResourceName Name of the AvailabilitySet. * @param options The options parameters. */ - beginUpdate( + beginDelete( resourceGroupName: string, - availabilitySetName: string, - body: ResourcePatch, - options?: AvailabilitySetsUpdateOptionalParams + availabilitySetResourceName: string, + options?: AvailabilitySetsDeleteOptionalParams, ): Promise< - PollerLike< - PollOperationState, - AvailabilitySetsUpdateResponse + SimplePollerLike< + OperationState, + AvailabilitySetsDeleteResponse > >; /** - * Updates the AvailabilitySets resource. - * @param resourceGroupName The name of the resource group. - * @param availabilitySetName Name of the AvailabilitySet. - * @param body AvailabilitySets patch payload. + * Deregisters the ScVmm availability set from Azure. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param availabilitySetResourceName Name of the AvailabilitySet. * @param options The options parameters. */ - beginUpdateAndWait( + beginDeleteAndWait( resourceGroupName: string, - availabilitySetName: string, - body: ResourcePatch, - options?: AvailabilitySetsUpdateOptionalParams - ): Promise; + availabilitySetResourceName: string, + options?: AvailabilitySetsDeleteOptionalParams, + ): Promise; } diff --git a/sdk/scvmm/arm-scvmm/src/operationsInterfaces/clouds.ts b/sdk/scvmm/arm-scvmm/src/operationsInterfaces/clouds.ts index c9751cfd5f68..18ad93c61efb 100644 --- a/sdk/scvmm/arm-scvmm/src/operationsInterfaces/clouds.ts +++ b/sdk/scvmm/arm-scvmm/src/operationsInterfaces/clouds.ts @@ -7,130 +7,133 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { Cloud, - CloudsListByResourceGroupOptionalParams, CloudsListBySubscriptionOptionalParams, + CloudsListByResourceGroupOptionalParams, CloudsGetOptionalParams, CloudsGetResponse, CloudsCreateOrUpdateOptionalParams, CloudsCreateOrUpdateResponse, - CloudsDeleteOptionalParams, - ResourcePatch, + CloudTagsUpdate, CloudsUpdateOptionalParams, - CloudsUpdateResponse + CloudsUpdateResponse, + CloudsDeleteOptionalParams, + CloudsDeleteResponse, } from "../models"; /// /** Interface representing a Clouds. */ export interface Clouds { /** - * List of Clouds in a resource group. - * @param resourceGroupName The name of the resource group. + * List of Clouds in a subscription. * @param options The options parameters. */ - listByResourceGroup( - resourceGroupName: string, - options?: CloudsListByResourceGroupOptionalParams + listBySubscription( + options?: CloudsListBySubscriptionOptionalParams, ): PagedAsyncIterableIterator; /** - * List of Clouds in a subscription. + * List of Clouds in a resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ - listBySubscription( - options?: CloudsListBySubscriptionOptionalParams + listByResourceGroup( + resourceGroupName: string, + options?: CloudsListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator; /** * Implements Cloud GET method. - * @param resourceGroupName The name of the resource group. - * @param cloudName Name of the Cloud. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudResourceName Name of the Cloud. * @param options The options parameters. */ get( resourceGroupName: string, - cloudName: string, - options?: CloudsGetOptionalParams + cloudResourceName: string, + options?: CloudsGetOptionalParams, ): Promise; /** * Onboards the ScVmm fabric cloud as an Azure cloud resource. - * @param resourceGroupName The name of the resource group. - * @param cloudName Name of the Cloud. - * @param body Request payload. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudResourceName Name of the Cloud. + * @param resource Resource create parameters. * @param options The options parameters. */ beginCreateOrUpdate( resourceGroupName: string, - cloudName: string, - body: Cloud, - options?: CloudsCreateOrUpdateOptionalParams + cloudResourceName: string, + resource: Cloud, + options?: CloudsCreateOrUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, CloudsCreateOrUpdateResponse > >; /** * Onboards the ScVmm fabric cloud as an Azure cloud resource. - * @param resourceGroupName The name of the resource group. - * @param cloudName Name of the Cloud. - * @param body Request payload. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudResourceName Name of the Cloud. + * @param resource Resource create parameters. * @param options The options parameters. */ beginCreateOrUpdateAndWait( resourceGroupName: string, - cloudName: string, - body: Cloud, - options?: CloudsCreateOrUpdateOptionalParams + cloudResourceName: string, + resource: Cloud, + options?: CloudsCreateOrUpdateOptionalParams, ): Promise; /** - * Deregisters the ScVmm fabric cloud from Azure. - * @param resourceGroupName The name of the resource group. - * @param cloudName Name of the Cloud. + * Updates the Clouds resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudResourceName Name of the Cloud. + * @param properties The resource properties to be updated. * @param options The options parameters. */ - beginDelete( + beginUpdate( resourceGroupName: string, - cloudName: string, - options?: CloudsDeleteOptionalParams - ): Promise, void>>; + cloudResourceName: string, + properties: CloudTagsUpdate, + options?: CloudsUpdateOptionalParams, + ): Promise< + SimplePollerLike, CloudsUpdateResponse> + >; /** - * Deregisters the ScVmm fabric cloud from Azure. - * @param resourceGroupName The name of the resource group. - * @param cloudName Name of the Cloud. + * Updates the Clouds resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudResourceName Name of the Cloud. + * @param properties The resource properties to be updated. * @param options The options parameters. */ - beginDeleteAndWait( + beginUpdateAndWait( resourceGroupName: string, - cloudName: string, - options?: CloudsDeleteOptionalParams - ): Promise; + cloudResourceName: string, + properties: CloudTagsUpdate, + options?: CloudsUpdateOptionalParams, + ): Promise; /** - * Updates the Clouds resource. - * @param resourceGroupName The name of the resource group. - * @param cloudName Name of the Cloud. - * @param body Clouds patch payload. + * Deregisters the ScVmm fabric cloud from Azure. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudResourceName Name of the Cloud. * @param options The options parameters. */ - beginUpdate( + beginDelete( resourceGroupName: string, - cloudName: string, - body: ResourcePatch, - options?: CloudsUpdateOptionalParams + cloudResourceName: string, + options?: CloudsDeleteOptionalParams, ): Promise< - PollerLike, CloudsUpdateResponse> + SimplePollerLike, CloudsDeleteResponse> >; /** - * Updates the Clouds resource. - * @param resourceGroupName The name of the resource group. - * @param cloudName Name of the Cloud. - * @param body Clouds patch payload. + * Deregisters the ScVmm fabric cloud from Azure. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudResourceName Name of the Cloud. * @param options The options parameters. */ - beginUpdateAndWait( + beginDeleteAndWait( resourceGroupName: string, - cloudName: string, - body: ResourcePatch, - options?: CloudsUpdateOptionalParams - ): Promise; + cloudResourceName: string, + options?: CloudsDeleteOptionalParams, + ): Promise; } diff --git a/sdk/scvmm/arm-scvmm/src/operationsInterfaces/guestAgents.ts b/sdk/scvmm/arm-scvmm/src/operationsInterfaces/guestAgents.ts new file mode 100644 index 000000000000..54f6aa516e3b --- /dev/null +++ b/sdk/scvmm/arm-scvmm/src/operationsInterfaces/guestAgents.ts @@ -0,0 +1,78 @@ +/* + * 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 { + GuestAgent, + GuestAgentsListByVirtualMachineInstanceOptionalParams, + GuestAgentsGetOptionalParams, + GuestAgentsGetResponse, + GuestAgentsCreateOptionalParams, + GuestAgentsCreateResponse, + GuestAgentsDeleteOptionalParams, +} from "../models"; + +/// +/** Interface representing a GuestAgents. */ +export interface GuestAgents { + /** + * Returns the list of GuestAgent of the given vm. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + listByVirtualMachineInstance( + resourceUri: string, + options?: GuestAgentsListByVirtualMachineInstanceOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Implements GuestAgent GET method. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + get( + resourceUri: string, + options?: GuestAgentsGetOptionalParams, + ): Promise; + /** + * Create Or Update GuestAgent. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param resource Resource create parameters. + * @param options The options parameters. + */ + beginCreate( + resourceUri: string, + resource: GuestAgent, + options?: GuestAgentsCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + GuestAgentsCreateResponse + > + >; + /** + * Create Or Update GuestAgent. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param resource Resource create parameters. + * @param options The options parameters. + */ + beginCreateAndWait( + resourceUri: string, + resource: GuestAgent, + options?: GuestAgentsCreateOptionalParams, + ): Promise; + /** + * Implements GuestAgent DELETE method. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + delete( + resourceUri: string, + options?: GuestAgentsDeleteOptionalParams, + ): Promise; +} diff --git a/sdk/scvmm/arm-scvmm/src/operationsInterfaces/index.ts b/sdk/scvmm/arm-scvmm/src/operationsInterfaces/index.ts index 85877bfdbd34..8e792fd233b8 100644 --- a/sdk/scvmm/arm-scvmm/src/operationsInterfaces/index.ts +++ b/sdk/scvmm/arm-scvmm/src/operationsInterfaces/index.ts @@ -6,11 +6,13 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -export * from "./vmmServers"; +export * from "./virtualMachineInstances"; +export * from "./guestAgents"; +export * from "./vmInstanceHybridIdentityMetadatas"; export * from "./operations"; +export * from "./availabilitySets"; export * from "./clouds"; -export * from "./virtualNetworks"; -export * from "./virtualMachines"; export * from "./virtualMachineTemplates"; -export * from "./availabilitySets"; +export * from "./virtualNetworks"; +export * from "./vmmServers"; export * from "./inventoryItems"; diff --git a/sdk/scvmm/arm-scvmm/src/operationsInterfaces/inventoryItems.ts b/sdk/scvmm/arm-scvmm/src/operationsInterfaces/inventoryItems.ts index 9e521a5d37b2..7c059724996a 100644 --- a/sdk/scvmm/arm-scvmm/src/operationsInterfaces/inventoryItems.ts +++ b/sdk/scvmm/arm-scvmm/src/operationsInterfaces/inventoryItems.ts @@ -9,65 +9,67 @@ import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { InventoryItem, - InventoryItemsListByVMMServerOptionalParams, - InventoryItemsCreateOptionalParams, - InventoryItemsCreateResponse, + InventoryItemsListByVmmServerOptionalParams, InventoryItemsGetOptionalParams, InventoryItemsGetResponse, - InventoryItemsDeleteOptionalParams + InventoryItemsCreateOptionalParams, + InventoryItemsCreateResponse, + InventoryItemsDeleteOptionalParams, } from "../models"; /// /** Interface representing a InventoryItems. */ export interface InventoryItems { /** - * Returns the list of inventoryItems in the given VMMServer. - * @param resourceGroupName The name of the resource group. - * @param vmmServerName Name of the VMMServer. + * Returns the list of inventoryItems in the given VmmServer. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vmmServerName Name of the VmmServer. * @param options The options parameters. */ - listByVMMServer( + listByVmmServer( resourceGroupName: string, vmmServerName: string, - options?: InventoryItemsListByVMMServerOptionalParams + options?: InventoryItemsListByVmmServerOptionalParams, ): PagedAsyncIterableIterator; /** - * Create Or Update InventoryItem. - * @param resourceGroupName The name of the resource group. - * @param vmmServerName Name of the VMMServer. - * @param inventoryItemName Name of the inventoryItem. + * Shows an inventory item. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vmmServerName Name of the VmmServer. + * @param inventoryItemResourceName Name of the inventoryItem. * @param options The options parameters. */ - create( + get( resourceGroupName: string, vmmServerName: string, - inventoryItemName: string, - options?: InventoryItemsCreateOptionalParams - ): Promise; + inventoryItemResourceName: string, + options?: InventoryItemsGetOptionalParams, + ): Promise; /** - * Shows an inventory item. - * @param resourceGroupName The name of the resource group. - * @param vmmServerName Name of the VMMServer. - * @param inventoryItemName Name of the inventoryItem. + * Create Or Update InventoryItem. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vmmServerName Name of the VmmServer. + * @param inventoryItemResourceName Name of the inventoryItem. + * @param resource Resource create parameters. * @param options The options parameters. */ - get( + create( resourceGroupName: string, vmmServerName: string, - inventoryItemName: string, - options?: InventoryItemsGetOptionalParams - ): Promise; + inventoryItemResourceName: string, + resource: InventoryItem, + options?: InventoryItemsCreateOptionalParams, + ): Promise; /** * Deletes an inventoryItem. - * @param resourceGroupName The name of the resource group. - * @param vmmServerName Name of the VMMServer. - * @param inventoryItemName Name of the inventoryItem. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vmmServerName Name of the VmmServer. + * @param inventoryItemResourceName Name of the inventoryItem. * @param options The options parameters. */ delete( resourceGroupName: string, vmmServerName: string, - inventoryItemName: string, - options?: InventoryItemsDeleteOptionalParams + inventoryItemResourceName: string, + options?: InventoryItemsDeleteOptionalParams, ): Promise; } diff --git a/sdk/scvmm/arm-scvmm/src/operationsInterfaces/operations.ts b/sdk/scvmm/arm-scvmm/src/operationsInterfaces/operations.ts index d788a2db3af9..251f5f582e64 100644 --- a/sdk/scvmm/arm-scvmm/src/operationsInterfaces/operations.ts +++ b/sdk/scvmm/arm-scvmm/src/operationsInterfaces/operations.ts @@ -7,19 +7,16 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { - ResourceProviderOperation, - OperationsListOptionalParams -} from "../models"; +import { Operation, OperationsListOptionalParams } from "../models"; /// /** Interface representing a Operations. */ export interface Operations { /** - * Returns list of all operations. + * List the operations for the provider * @param options The options parameters. */ list( - options?: OperationsListOptionalParams - ): PagedAsyncIterableIterator; + options?: OperationsListOptionalParams, + ): PagedAsyncIterableIterator; } diff --git a/sdk/scvmm/arm-scvmm/src/operationsInterfaces/virtualMachineInstances.ts b/sdk/scvmm/arm-scvmm/src/operationsInterfaces/virtualMachineInstances.ts new file mode 100644 index 000000000000..9a63b27d1911 --- /dev/null +++ b/sdk/scvmm/arm-scvmm/src/operationsInterfaces/virtualMachineInstances.ts @@ -0,0 +1,295 @@ +/* + * 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 { + VirtualMachineInstance, + VirtualMachineInstancesListOptionalParams, + VirtualMachineInstancesGetOptionalParams, + VirtualMachineInstancesGetResponse, + VirtualMachineInstancesCreateOrUpdateOptionalParams, + VirtualMachineInstancesCreateOrUpdateResponse, + VirtualMachineInstanceUpdate, + VirtualMachineInstancesUpdateOptionalParams, + VirtualMachineInstancesUpdateResponse, + VirtualMachineInstancesDeleteOptionalParams, + VirtualMachineInstancesDeleteResponse, + VirtualMachineCreateCheckpoint, + VirtualMachineInstancesCreateCheckpointOptionalParams, + VirtualMachineInstancesCreateCheckpointResponse, + VirtualMachineDeleteCheckpoint, + VirtualMachineInstancesDeleteCheckpointOptionalParams, + VirtualMachineInstancesDeleteCheckpointResponse, + VirtualMachineInstancesRestartOptionalParams, + VirtualMachineInstancesRestartResponse, + VirtualMachineRestoreCheckpoint, + VirtualMachineInstancesRestoreCheckpointOptionalParams, + VirtualMachineInstancesRestoreCheckpointResponse, + VirtualMachineInstancesStartOptionalParams, + VirtualMachineInstancesStartResponse, + StopVirtualMachineOptions, + VirtualMachineInstancesStopOptionalParams, + VirtualMachineInstancesStopResponse, +} from "../models"; + +/// +/** Interface representing a VirtualMachineInstances. */ +export interface VirtualMachineInstances { + /** + * Lists all of the virtual machine instances within the specified parent resource. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + list( + resourceUri: string, + options?: VirtualMachineInstancesListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Retrieves information about a virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + get( + resourceUri: string, + options?: VirtualMachineInstancesGetOptionalParams, + ): Promise; + /** + * The operation to create or update a virtual machine instance. Please note some properties can be set + * only during virtual machine instance creation. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param resource Resource create parameters. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceUri: string, + resource: VirtualMachineInstance, + options?: VirtualMachineInstancesCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + VirtualMachineInstancesCreateOrUpdateResponse + > + >; + /** + * The operation to create or update a virtual machine instance. Please note some properties can be set + * only during virtual machine instance creation. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param resource Resource create parameters. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceUri: string, + resource: VirtualMachineInstance, + options?: VirtualMachineInstancesCreateOrUpdateOptionalParams, + ): Promise; + /** + * The operation to update a virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param properties The resource properties to be updated. + * @param options The options parameters. + */ + beginUpdate( + resourceUri: string, + properties: VirtualMachineInstanceUpdate, + options?: VirtualMachineInstancesUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + VirtualMachineInstancesUpdateResponse + > + >; + /** + * The operation to update a virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param properties The resource properties to be updated. + * @param options The options parameters. + */ + beginUpdateAndWait( + resourceUri: string, + properties: VirtualMachineInstanceUpdate, + options?: VirtualMachineInstancesUpdateOptionalParams, + ): Promise; + /** + * The operation to delete a virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + beginDelete( + resourceUri: string, + options?: VirtualMachineInstancesDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + VirtualMachineInstancesDeleteResponse + > + >; + /** + * The operation to delete a virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceUri: string, + options?: VirtualMachineInstancesDeleteOptionalParams, + ): Promise; + /** + * Creates a checkpoint in virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param body The content of the action request + * @param options The options parameters. + */ + beginCreateCheckpoint( + resourceUri: string, + body: VirtualMachineCreateCheckpoint, + options?: VirtualMachineInstancesCreateCheckpointOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + VirtualMachineInstancesCreateCheckpointResponse + > + >; + /** + * Creates a checkpoint in virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param body The content of the action request + * @param options The options parameters. + */ + beginCreateCheckpointAndWait( + resourceUri: string, + body: VirtualMachineCreateCheckpoint, + options?: VirtualMachineInstancesCreateCheckpointOptionalParams, + ): Promise; + /** + * Deletes a checkpoint in virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param body The content of the action request + * @param options The options parameters. + */ + beginDeleteCheckpoint( + resourceUri: string, + body: VirtualMachineDeleteCheckpoint, + options?: VirtualMachineInstancesDeleteCheckpointOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + VirtualMachineInstancesDeleteCheckpointResponse + > + >; + /** + * Deletes a checkpoint in virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param body The content of the action request + * @param options The options parameters. + */ + beginDeleteCheckpointAndWait( + resourceUri: string, + body: VirtualMachineDeleteCheckpoint, + options?: VirtualMachineInstancesDeleteCheckpointOptionalParams, + ): Promise; + /** + * The operation to restart a virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + beginRestart( + resourceUri: string, + options?: VirtualMachineInstancesRestartOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + VirtualMachineInstancesRestartResponse + > + >; + /** + * The operation to restart a virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + beginRestartAndWait( + resourceUri: string, + options?: VirtualMachineInstancesRestartOptionalParams, + ): Promise; + /** + * Restores to a checkpoint in virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param body The content of the action request + * @param options The options parameters. + */ + beginRestoreCheckpoint( + resourceUri: string, + body: VirtualMachineRestoreCheckpoint, + options?: VirtualMachineInstancesRestoreCheckpointOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + VirtualMachineInstancesRestoreCheckpointResponse + > + >; + /** + * Restores to a checkpoint in virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param body The content of the action request + * @param options The options parameters. + */ + beginRestoreCheckpointAndWait( + resourceUri: string, + body: VirtualMachineRestoreCheckpoint, + options?: VirtualMachineInstancesRestoreCheckpointOptionalParams, + ): Promise; + /** + * The operation to start a virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + beginStart( + resourceUri: string, + options?: VirtualMachineInstancesStartOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + VirtualMachineInstancesStartResponse + > + >; + /** + * The operation to start a virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + beginStartAndWait( + resourceUri: string, + options?: VirtualMachineInstancesStartOptionalParams, + ): Promise; + /** + * The operation to power off (stop) a virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param body The content of the action request + * @param options The options parameters. + */ + beginStop( + resourceUri: string, + body: StopVirtualMachineOptions, + options?: VirtualMachineInstancesStopOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + VirtualMachineInstancesStopResponse + > + >; + /** + * The operation to power off (stop) a virtual machine instance. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param body The content of the action request + * @param options The options parameters. + */ + beginStopAndWait( + resourceUri: string, + body: StopVirtualMachineOptions, + options?: VirtualMachineInstancesStopOptionalParams, + ): Promise; +} diff --git a/sdk/scvmm/arm-scvmm/src/operationsInterfaces/virtualMachineTemplates.ts b/sdk/scvmm/arm-scvmm/src/operationsInterfaces/virtualMachineTemplates.ts index 7baf5609424f..fea622b373a1 100644 --- a/sdk/scvmm/arm-scvmm/src/operationsInterfaces/virtualMachineTemplates.ts +++ b/sdk/scvmm/arm-scvmm/src/operationsInterfaces/virtualMachineTemplates.ts @@ -7,133 +7,139 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { VirtualMachineTemplate, - VirtualMachineTemplatesListByResourceGroupOptionalParams, VirtualMachineTemplatesListBySubscriptionOptionalParams, + VirtualMachineTemplatesListByResourceGroupOptionalParams, VirtualMachineTemplatesGetOptionalParams, VirtualMachineTemplatesGetResponse, VirtualMachineTemplatesCreateOrUpdateOptionalParams, VirtualMachineTemplatesCreateOrUpdateResponse, - VirtualMachineTemplatesDeleteOptionalParams, - ResourcePatch, + VirtualMachineTemplateTagsUpdate, VirtualMachineTemplatesUpdateOptionalParams, - VirtualMachineTemplatesUpdateResponse + VirtualMachineTemplatesUpdateResponse, + VirtualMachineTemplatesDeleteOptionalParams, + VirtualMachineTemplatesDeleteResponse, } from "../models"; /// /** Interface representing a VirtualMachineTemplates. */ export interface VirtualMachineTemplates { /** - * List of VirtualMachineTemplates in a resource group. - * @param resourceGroupName The name of the resource group. + * List of VirtualMachineTemplates in a subscription. * @param options The options parameters. */ - listByResourceGroup( - resourceGroupName: string, - options?: VirtualMachineTemplatesListByResourceGroupOptionalParams + listBySubscription( + options?: VirtualMachineTemplatesListBySubscriptionOptionalParams, ): PagedAsyncIterableIterator; /** - * List of VirtualMachineTemplates in a subscription. + * List of VirtualMachineTemplates in a resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ - listBySubscription( - options?: VirtualMachineTemplatesListBySubscriptionOptionalParams + listByResourceGroup( + resourceGroupName: string, + options?: VirtualMachineTemplatesListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator; /** * Implements VirtualMachineTemplate GET method. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualMachineTemplateName Name of the VirtualMachineTemplate. * @param options The options parameters. */ get( resourceGroupName: string, virtualMachineTemplateName: string, - options?: VirtualMachineTemplatesGetOptionalParams + options?: VirtualMachineTemplatesGetOptionalParams, ): Promise; /** * Onboards the ScVmm VM Template as an Azure VM Template resource. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualMachineTemplateName Name of the VirtualMachineTemplate. - * @param body Request payload. + * @param resource Resource create parameters. * @param options The options parameters. */ beginCreateOrUpdate( resourceGroupName: string, virtualMachineTemplateName: string, - body: VirtualMachineTemplate, - options?: VirtualMachineTemplatesCreateOrUpdateOptionalParams + resource: VirtualMachineTemplate, + options?: VirtualMachineTemplatesCreateOrUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, VirtualMachineTemplatesCreateOrUpdateResponse > >; /** * Onboards the ScVmm VM Template as an Azure VM Template resource. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualMachineTemplateName Name of the VirtualMachineTemplate. - * @param body Request payload. + * @param resource Resource create parameters. * @param options The options parameters. */ beginCreateOrUpdateAndWait( resourceGroupName: string, virtualMachineTemplateName: string, - body: VirtualMachineTemplate, - options?: VirtualMachineTemplatesCreateOrUpdateOptionalParams + resource: VirtualMachineTemplate, + options?: VirtualMachineTemplatesCreateOrUpdateOptionalParams, ): Promise; /** - * Deregisters the ScVmm VM Template from Azure. - * @param resourceGroupName The name of the resource group. + * Updates the VirtualMachineTemplate resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualMachineTemplateName Name of the VirtualMachineTemplate. + * @param properties The resource properties to be updated. * @param options The options parameters. */ - beginDelete( + beginUpdate( resourceGroupName: string, virtualMachineTemplateName: string, - options?: VirtualMachineTemplatesDeleteOptionalParams - ): Promise, void>>; + properties: VirtualMachineTemplateTagsUpdate, + options?: VirtualMachineTemplatesUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + VirtualMachineTemplatesUpdateResponse + > + >; /** - * Deregisters the ScVmm VM Template from Azure. - * @param resourceGroupName The name of the resource group. + * Updates the VirtualMachineTemplate resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualMachineTemplateName Name of the VirtualMachineTemplate. + * @param properties The resource properties to be updated. * @param options The options parameters. */ - beginDeleteAndWait( + beginUpdateAndWait( resourceGroupName: string, virtualMachineTemplateName: string, - options?: VirtualMachineTemplatesDeleteOptionalParams - ): Promise; + properties: VirtualMachineTemplateTagsUpdate, + options?: VirtualMachineTemplatesUpdateOptionalParams, + ): Promise; /** - * Updates the VirtualMachineTemplate resource. - * @param resourceGroupName The name of the resource group. + * Deregisters the ScVmm VM Template from Azure. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualMachineTemplateName Name of the VirtualMachineTemplate. - * @param body VirtualMachineTemplates patch details. * @param options The options parameters. */ - beginUpdate( + beginDelete( resourceGroupName: string, virtualMachineTemplateName: string, - body: ResourcePatch, - options?: VirtualMachineTemplatesUpdateOptionalParams + options?: VirtualMachineTemplatesDeleteOptionalParams, ): Promise< - PollerLike< - PollOperationState, - VirtualMachineTemplatesUpdateResponse + SimplePollerLike< + OperationState, + VirtualMachineTemplatesDeleteResponse > >; /** - * Updates the VirtualMachineTemplate resource. - * @param resourceGroupName The name of the resource group. + * Deregisters the ScVmm VM Template from Azure. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualMachineTemplateName Name of the VirtualMachineTemplate. - * @param body VirtualMachineTemplates patch details. * @param options The options parameters. */ - beginUpdateAndWait( + beginDeleteAndWait( resourceGroupName: string, virtualMachineTemplateName: string, - body: ResourcePatch, - options?: VirtualMachineTemplatesUpdateOptionalParams - ): Promise; + options?: VirtualMachineTemplatesDeleteOptionalParams, + ): Promise; } diff --git a/sdk/scvmm/arm-scvmm/src/operationsInterfaces/virtualMachines.ts b/sdk/scvmm/arm-scvmm/src/operationsInterfaces/virtualMachines.ts deleted file mode 100644 index a8591ec193ab..000000000000 --- a/sdk/scvmm/arm-scvmm/src/operationsInterfaces/virtualMachines.ts +++ /dev/null @@ -1,277 +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 { PollerLike, PollOperationState } from "@azure/core-lro"; -import { - VirtualMachine, - VirtualMachinesListByResourceGroupOptionalParams, - VirtualMachinesListBySubscriptionOptionalParams, - VirtualMachinesGetOptionalParams, - VirtualMachinesGetResponse, - VirtualMachinesCreateOrUpdateOptionalParams, - VirtualMachinesCreateOrUpdateResponse, - VirtualMachinesDeleteOptionalParams, - VirtualMachineUpdate, - VirtualMachinesUpdateOptionalParams, - VirtualMachinesUpdateResponse, - VirtualMachinesStopOptionalParams, - VirtualMachinesStartOptionalParams, - VirtualMachinesRestartOptionalParams, - VirtualMachinesCreateCheckpointOptionalParams, - VirtualMachinesDeleteCheckpointOptionalParams, - VirtualMachinesRestoreCheckpointOptionalParams -} from "../models"; - -/// -/** Interface representing a VirtualMachines. */ -export interface VirtualMachines { - /** - * List of VirtualMachines in a resource group. - * @param resourceGroupName The name of the resource group. - * @param options The options parameters. - */ - listByResourceGroup( - resourceGroupName: string, - options?: VirtualMachinesListByResourceGroupOptionalParams - ): PagedAsyncIterableIterator; - /** - * List of VirtualMachines in a subscription. - * @param options The options parameters. - */ - listBySubscription( - options?: VirtualMachinesListBySubscriptionOptionalParams - ): PagedAsyncIterableIterator; - /** - * Implements VirtualMachine GET method. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - get( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesGetOptionalParams - ): Promise; - /** - * Creates Or Updates virtual machines deployed on scvmm fabric. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param body Request payload. - * @param options The options parameters. - */ - beginCreateOrUpdate( - resourceGroupName: string, - virtualMachineName: string, - body: VirtualMachine, - options?: VirtualMachinesCreateOrUpdateOptionalParams - ): Promise< - PollerLike< - PollOperationState, - VirtualMachinesCreateOrUpdateResponse - > - >; - /** - * Creates Or Updates virtual machines deployed on scvmm fabric. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param body Request payload. - * @param options The options parameters. - */ - beginCreateOrUpdateAndWait( - resourceGroupName: string, - virtualMachineName: string, - body: VirtualMachine, - options?: VirtualMachinesCreateOrUpdateOptionalParams - ): Promise; - /** - * Deletes a VirtualMachine deployed on ScVmm fabric. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - beginDelete( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesDeleteOptionalParams - ): Promise, void>>; - /** - * Deletes a VirtualMachine deployed on ScVmm fabric. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - beginDeleteAndWait( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesDeleteOptionalParams - ): Promise; - /** - * Updates the VirtualMachines resource. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param body VirtualMachines patch payload. - * @param options The options parameters. - */ - beginUpdate( - resourceGroupName: string, - virtualMachineName: string, - body: VirtualMachineUpdate, - options?: VirtualMachinesUpdateOptionalParams - ): Promise< - PollerLike< - PollOperationState, - VirtualMachinesUpdateResponse - > - >; - /** - * Updates the VirtualMachines resource. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param body VirtualMachines patch payload. - * @param options The options parameters. - */ - beginUpdateAndWait( - resourceGroupName: string, - virtualMachineName: string, - body: VirtualMachineUpdate, - options?: VirtualMachinesUpdateOptionalParams - ): Promise; - /** - * Stop virtual machine. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - beginStop( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesStopOptionalParams - ): Promise, void>>; - /** - * Stop virtual machine. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - beginStopAndWait( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesStopOptionalParams - ): Promise; - /** - * Start virtual machine. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - beginStart( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesStartOptionalParams - ): Promise, void>>; - /** - * Start virtual machine. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - beginStartAndWait( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesStartOptionalParams - ): Promise; - /** - * Restart virtual machine. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - beginRestart( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesRestartOptionalParams - ): Promise, void>>; - /** - * Restart virtual machine. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - beginRestartAndWait( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesRestartOptionalParams - ): Promise; - /** - * Creates a checkpoint in virtual machine. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - beginCreateCheckpoint( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesCreateCheckpointOptionalParams - ): Promise, void>>; - /** - * Creates a checkpoint in virtual machine. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - beginCreateCheckpointAndWait( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesCreateCheckpointOptionalParams - ): Promise; - /** - * Deletes a checkpoint in virtual machine. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - beginDeleteCheckpoint( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesDeleteCheckpointOptionalParams - ): Promise, void>>; - /** - * Deletes a checkpoint in virtual machine. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - beginDeleteCheckpointAndWait( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesDeleteCheckpointOptionalParams - ): Promise; - /** - * Restores to a checkpoint in virtual machine. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - beginRestoreCheckpoint( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesRestoreCheckpointOptionalParams - ): Promise, void>>; - /** - * Restores to a checkpoint in virtual machine. - * @param resourceGroupName The name of the resource group. - * @param virtualMachineName Name of the VirtualMachine. - * @param options The options parameters. - */ - beginRestoreCheckpointAndWait( - resourceGroupName: string, - virtualMachineName: string, - options?: VirtualMachinesRestoreCheckpointOptionalParams - ): Promise; -} diff --git a/sdk/scvmm/arm-scvmm/src/operationsInterfaces/virtualNetworks.ts b/sdk/scvmm/arm-scvmm/src/operationsInterfaces/virtualNetworks.ts index 5707f9db2d0d..c97f8504467e 100644 --- a/sdk/scvmm/arm-scvmm/src/operationsInterfaces/virtualNetworks.ts +++ b/sdk/scvmm/arm-scvmm/src/operationsInterfaces/virtualNetworks.ts @@ -7,133 +7,139 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { VirtualNetwork, - VirtualNetworksListByResourceGroupOptionalParams, VirtualNetworksListBySubscriptionOptionalParams, + VirtualNetworksListByResourceGroupOptionalParams, VirtualNetworksGetOptionalParams, VirtualNetworksGetResponse, VirtualNetworksCreateOrUpdateOptionalParams, VirtualNetworksCreateOrUpdateResponse, - VirtualNetworksDeleteOptionalParams, - ResourcePatch, + VirtualNetworkTagsUpdate, VirtualNetworksUpdateOptionalParams, - VirtualNetworksUpdateResponse + VirtualNetworksUpdateResponse, + VirtualNetworksDeleteOptionalParams, + VirtualNetworksDeleteResponse, } from "../models"; /// /** Interface representing a VirtualNetworks. */ export interface VirtualNetworks { /** - * List of VirtualNetworks in a resource group. - * @param resourceGroupName The name of the resource group. + * List of VirtualNetworks in a subscription. * @param options The options parameters. */ - listByResourceGroup( - resourceGroupName: string, - options?: VirtualNetworksListByResourceGroupOptionalParams + listBySubscription( + options?: VirtualNetworksListBySubscriptionOptionalParams, ): PagedAsyncIterableIterator; /** - * List of VirtualNetworks in a subscription. + * List of VirtualNetworks in a resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ - listBySubscription( - options?: VirtualNetworksListBySubscriptionOptionalParams + listByResourceGroup( + resourceGroupName: string, + options?: VirtualNetworksListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator; /** * Implements VirtualNetwork GET method. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName Name of the VirtualNetwork. * @param options The options parameters. */ get( resourceGroupName: string, virtualNetworkName: string, - options?: VirtualNetworksGetOptionalParams + options?: VirtualNetworksGetOptionalParams, ): Promise; /** * Onboards the ScVmm virtual network as an Azure virtual network resource. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName Name of the VirtualNetwork. - * @param body Request payload. + * @param resource Resource create parameters. * @param options The options parameters. */ beginCreateOrUpdate( resourceGroupName: string, virtualNetworkName: string, - body: VirtualNetwork, - options?: VirtualNetworksCreateOrUpdateOptionalParams + resource: VirtualNetwork, + options?: VirtualNetworksCreateOrUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, VirtualNetworksCreateOrUpdateResponse > >; /** * Onboards the ScVmm virtual network as an Azure virtual network resource. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName Name of the VirtualNetwork. - * @param body Request payload. + * @param resource Resource create parameters. * @param options The options parameters. */ beginCreateOrUpdateAndWait( resourceGroupName: string, virtualNetworkName: string, - body: VirtualNetwork, - options?: VirtualNetworksCreateOrUpdateOptionalParams + resource: VirtualNetwork, + options?: VirtualNetworksCreateOrUpdateOptionalParams, ): Promise; /** - * Deregisters the ScVmm virtual network from Azure. - * @param resourceGroupName The name of the resource group. + * Updates the VirtualNetworks resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName Name of the VirtualNetwork. + * @param properties The resource properties to be updated. * @param options The options parameters. */ - beginDelete( + beginUpdate( resourceGroupName: string, virtualNetworkName: string, - options?: VirtualNetworksDeleteOptionalParams - ): Promise, void>>; + properties: VirtualNetworkTagsUpdate, + options?: VirtualNetworksUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + VirtualNetworksUpdateResponse + > + >; /** - * Deregisters the ScVmm virtual network from Azure. - * @param resourceGroupName The name of the resource group. + * Updates the VirtualNetworks resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName Name of the VirtualNetwork. + * @param properties The resource properties to be updated. * @param options The options parameters. */ - beginDeleteAndWait( + beginUpdateAndWait( resourceGroupName: string, virtualNetworkName: string, - options?: VirtualNetworksDeleteOptionalParams - ): Promise; + properties: VirtualNetworkTagsUpdate, + options?: VirtualNetworksUpdateOptionalParams, + ): Promise; /** - * Updates the VirtualNetworks resource. - * @param resourceGroupName The name of the resource group. + * Deregisters the ScVmm virtual network from Azure. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName Name of the VirtualNetwork. - * @param body VirtualNetworks patch payload. * @param options The options parameters. */ - beginUpdate( + beginDelete( resourceGroupName: string, virtualNetworkName: string, - body: ResourcePatch, - options?: VirtualNetworksUpdateOptionalParams + options?: VirtualNetworksDeleteOptionalParams, ): Promise< - PollerLike< - PollOperationState, - VirtualNetworksUpdateResponse + SimplePollerLike< + OperationState, + VirtualNetworksDeleteResponse > >; /** - * Updates the VirtualNetworks resource. - * @param resourceGroupName The name of the resource group. + * Deregisters the ScVmm virtual network from Azure. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName Name of the VirtualNetwork. - * @param body VirtualNetworks patch payload. * @param options The options parameters. */ - beginUpdateAndWait( + beginDeleteAndWait( resourceGroupName: string, virtualNetworkName: string, - body: ResourcePatch, - options?: VirtualNetworksUpdateOptionalParams - ): Promise; + options?: VirtualNetworksDeleteOptionalParams, + ): Promise; } diff --git a/sdk/scvmm/arm-scvmm/src/operationsInterfaces/vmInstanceHybridIdentityMetadatas.ts b/sdk/scvmm/arm-scvmm/src/operationsInterfaces/vmInstanceHybridIdentityMetadatas.ts new file mode 100644 index 000000000000..c81a1de2f6a4 --- /dev/null +++ b/sdk/scvmm/arm-scvmm/src/operationsInterfaces/vmInstanceHybridIdentityMetadatas.ts @@ -0,0 +1,38 @@ +/* + * 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 { + VmInstanceHybridIdentityMetadata, + VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceOptionalParams, + VmInstanceHybridIdentityMetadatasGetOptionalParams, + VmInstanceHybridIdentityMetadatasGetResponse, +} from "../models"; + +/// +/** Interface representing a VmInstanceHybridIdentityMetadatas. */ +export interface VmInstanceHybridIdentityMetadatas { + /** + * Returns the list of HybridIdentityMetadata of the given VM. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + listByVirtualMachineInstance( + resourceUri: string, + options?: VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Implements HybridIdentityMetadata GET method. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource. + * @param options The options parameters. + */ + get( + resourceUri: string, + options?: VmInstanceHybridIdentityMetadatasGetOptionalParams, + ): Promise; +} diff --git a/sdk/scvmm/arm-scvmm/src/operationsInterfaces/vmmServers.ts b/sdk/scvmm/arm-scvmm/src/operationsInterfaces/vmmServers.ts index dbf8d961c08e..16475af2d550 100644 --- a/sdk/scvmm/arm-scvmm/src/operationsInterfaces/vmmServers.ts +++ b/sdk/scvmm/arm-scvmm/src/operationsInterfaces/vmmServers.ts @@ -7,133 +7,139 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { - VMMServer, - VmmServersListByResourceGroupOptionalParams, + VmmServer, VmmServersListBySubscriptionOptionalParams, + VmmServersListByResourceGroupOptionalParams, VmmServersGetOptionalParams, VmmServersGetResponse, VmmServersCreateOrUpdateOptionalParams, VmmServersCreateOrUpdateResponse, - VmmServersDeleteOptionalParams, - ResourcePatch, + VmmServerTagsUpdate, VmmServersUpdateOptionalParams, - VmmServersUpdateResponse + VmmServersUpdateResponse, + VmmServersDeleteOptionalParams, + VmmServersDeleteResponse, } from "../models"; /// /** Interface representing a VmmServers. */ export interface VmmServers { /** - * List of VmmServers in a resource group. - * @param resourceGroupName The name of the resource group. + * List of VmmServers in a subscription. * @param options The options parameters. */ - listByResourceGroup( - resourceGroupName: string, - options?: VmmServersListByResourceGroupOptionalParams - ): PagedAsyncIterableIterator; + listBySubscription( + options?: VmmServersListBySubscriptionOptionalParams, + ): PagedAsyncIterableIterator; /** - * List of VmmServers in a subscription. + * List of VmmServers in a resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ - listBySubscription( - options?: VmmServersListBySubscriptionOptionalParams - ): PagedAsyncIterableIterator; + listByResourceGroup( + resourceGroupName: string, + options?: VmmServersListByResourceGroupOptionalParams, + ): PagedAsyncIterableIterator; /** - * Implements VMMServer GET method. - * @param resourceGroupName The name of the resource group. - * @param vmmServerName Name of the VMMServer. + * Implements VmmServer GET method. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vmmServerName Name of the VmmServer. * @param options The options parameters. */ get( resourceGroupName: string, vmmServerName: string, - options?: VmmServersGetOptionalParams + options?: VmmServersGetOptionalParams, ): Promise; /** - * Onboards the SCVMM fabric as an Azure VmmServer resource. - * @param resourceGroupName The name of the resource group. - * @param vmmServerName Name of the VMMServer. - * @param body Request payload. + * Onboards the SCVmm fabric as an Azure VmmServer resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vmmServerName Name of the VmmServer. + * @param resource Resource create parameters. * @param options The options parameters. */ beginCreateOrUpdate( resourceGroupName: string, vmmServerName: string, - body: VMMServer, - options?: VmmServersCreateOrUpdateOptionalParams + resource: VmmServer, + options?: VmmServersCreateOrUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, VmmServersCreateOrUpdateResponse > >; /** - * Onboards the SCVMM fabric as an Azure VmmServer resource. - * @param resourceGroupName The name of the resource group. - * @param vmmServerName Name of the VMMServer. - * @param body Request payload. + * Onboards the SCVmm fabric as an Azure VmmServer resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vmmServerName Name of the VmmServer. + * @param resource Resource create parameters. * @param options The options parameters. */ beginCreateOrUpdateAndWait( resourceGroupName: string, vmmServerName: string, - body: VMMServer, - options?: VmmServersCreateOrUpdateOptionalParams + resource: VmmServer, + options?: VmmServersCreateOrUpdateOptionalParams, ): Promise; /** - * Deboards the SCVMM fabric from Azure. - * @param resourceGroupName The name of the resource group. - * @param vmmServerName Name of the VMMServer. + * Updates the VmmServers resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vmmServerName Name of the VmmServer. + * @param properties The resource properties to be updated. * @param options The options parameters. */ - beginDelete( + beginUpdate( resourceGroupName: string, vmmServerName: string, - options?: VmmServersDeleteOptionalParams - ): Promise, void>>; + properties: VmmServerTagsUpdate, + options?: VmmServersUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + VmmServersUpdateResponse + > + >; /** - * Deboards the SCVMM fabric from Azure. - * @param resourceGroupName The name of the resource group. - * @param vmmServerName Name of the VMMServer. + * Updates the VmmServers resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vmmServerName Name of the VmmServer. + * @param properties The resource properties to be updated. * @param options The options parameters. */ - beginDeleteAndWait( + beginUpdateAndWait( resourceGroupName: string, vmmServerName: string, - options?: VmmServersDeleteOptionalParams - ): Promise; + properties: VmmServerTagsUpdate, + options?: VmmServersUpdateOptionalParams, + ): Promise; /** - * Updates the VmmServers resource. - * @param resourceGroupName The name of the resource group. - * @param vmmServerName Name of the VMMServer. - * @param body VmmServers patch payload. + * Removes the SCVmm fabric from Azure. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vmmServerName Name of the VmmServer. * @param options The options parameters. */ - beginUpdate( + beginDelete( resourceGroupName: string, vmmServerName: string, - body: ResourcePatch, - options?: VmmServersUpdateOptionalParams + options?: VmmServersDeleteOptionalParams, ): Promise< - PollerLike< - PollOperationState, - VmmServersUpdateResponse + SimplePollerLike< + OperationState, + VmmServersDeleteResponse > >; /** - * Updates the VmmServers resource. - * @param resourceGroupName The name of the resource group. - * @param vmmServerName Name of the VMMServer. - * @param body VmmServers patch payload. + * Removes the SCVmm fabric from Azure. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vmmServerName Name of the VmmServer. * @param options The options parameters. */ - beginUpdateAndWait( + beginDeleteAndWait( resourceGroupName: string, vmmServerName: string, - body: ResourcePatch, - options?: VmmServersUpdateOptionalParams - ): Promise; + options?: VmmServersDeleteOptionalParams, + ): Promise; } diff --git a/sdk/scvmm/arm-scvmm/src/pagingHelper.ts b/sdk/scvmm/arm-scvmm/src/pagingHelper.ts index 269a2b9814b5..205cccc26592 100644 --- a/sdk/scvmm/arm-scvmm/src/pagingHelper.ts +++ b/sdk/scvmm/arm-scvmm/src/pagingHelper.ts @@ -28,7 +28,7 @@ export function getContinuationToken(page: unknown): string | undefined { export function setContinuationToken( page: unknown, - continuationToken: string | undefined + continuationToken: string | undefined, ): void { if (typeof page !== "object" || page === null || !continuationToken) { return; diff --git a/sdk/scvmm/arm-scvmm/src/scvmm.ts b/sdk/scvmm/arm-scvmm/src/scVmm.ts similarity index 70% rename from sdk/scvmm/arm-scvmm/src/scvmm.ts rename to sdk/scvmm/arm-scvmm/src/scVmm.ts index 21732f298429..85595a7814fb 100644 --- a/sdk/scvmm/arm-scvmm/src/scvmm.ts +++ b/sdk/scvmm/arm-scvmm/src/scVmm.ts @@ -11,65 +11,82 @@ import * as coreRestPipeline from "@azure/core-rest-pipeline"; import { PipelineRequest, PipelineResponse, - SendRequest + SendRequest, } from "@azure/core-rest-pipeline"; import * as coreAuth from "@azure/core-auth"; import { - VmmServersImpl, + VirtualMachineInstancesImpl, + GuestAgentsImpl, + VmInstanceHybridIdentityMetadatasImpl, OperationsImpl, + AvailabilitySetsImpl, CloudsImpl, - VirtualNetworksImpl, - VirtualMachinesImpl, VirtualMachineTemplatesImpl, - AvailabilitySetsImpl, - InventoryItemsImpl + VirtualNetworksImpl, + VmmServersImpl, + InventoryItemsImpl, } from "./operations"; import { - VmmServers, + VirtualMachineInstances, + GuestAgents, + VmInstanceHybridIdentityMetadatas, Operations, + AvailabilitySets, Clouds, - VirtualNetworks, - VirtualMachines, VirtualMachineTemplates, - AvailabilitySets, - InventoryItems + VirtualNetworks, + VmmServers, + InventoryItems, } from "./operationsInterfaces"; -import { ScvmmOptionalParams } from "./models"; +import { ScVmmOptionalParams } from "./models"; -export class Scvmm extends coreClient.ServiceClient { +export class ScVmm extends coreClient.ServiceClient { $host: string; - subscriptionId: string; apiVersion: string; + subscriptionId?: string; /** - * Initializes a new instance of the Scvmm class. + * Initializes a new instance of the ScVmm class. * @param credentials Subscription credentials which uniquely identify client subscription. - * @param subscriptionId The Azure subscription ID. This is a GUID-formatted string (e.g. - * 00000000-0000-0000-0000-000000000000). + * @param subscriptionId The ID of the target subscription. The value must be an UUID. * @param options The parameter options */ constructor( credentials: coreAuth.TokenCredential, subscriptionId: string, - options?: ScvmmOptionalParams + options?: ScVmmOptionalParams, + ); + constructor( + credentials: coreAuth.TokenCredential, + options?: ScVmmOptionalParams, + ); + constructor( + credentials: coreAuth.TokenCredential, + subscriptionIdOrOptions?: ScVmmOptionalParams | string, + options?: ScVmmOptionalParams, ) { if (credentials === undefined) { throw new Error("'credentials' cannot be null"); } - if (subscriptionId === undefined) { - throw new Error("'subscriptionId' cannot be null"); + + let subscriptionId: string | undefined; + + if (typeof subscriptionIdOrOptions === "string") { + subscriptionId = subscriptionIdOrOptions; + } else if (typeof subscriptionIdOrOptions === "object") { + options = subscriptionIdOrOptions; } // Initializing default values for options if (!options) { options = {}; } - const defaults: ScvmmOptionalParams = { + const defaults: ScVmmOptionalParams = { requestContentType: "application/json; charset=utf-8", - credential: credentials + credential: credentials, }; - const packageDetails = `azsdk-js-arm-scvmm/1.0.0-beta.4`; + const packageDetails = `azsdk-js-arm-scvmm/1.0.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -79,20 +96,21 @@ export class Scvmm extends coreClient.ServiceClient { ...defaults, ...options, userAgentOptions: { - userAgentPrefix + userAgentPrefix, }, endpoint: - options.endpoint ?? options.baseUri ?? "https://management.azure.com" + 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(); + const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = + options.pipeline.getOrderedPolicies(); bearerTokenAuthenticationPolicyFound = pipelinePolicies.some( (pipelinePolicy) => pipelinePolicy.name === - coreRestPipeline.bearerTokenAuthenticationPolicyName + coreRestPipeline.bearerTokenAuthenticationPolicyName, ); } if ( @@ -102,7 +120,7 @@ export class Scvmm extends coreClient.ServiceClient { !bearerTokenAuthenticationPolicyFound ) { this.pipeline.removePolicy({ - name: coreRestPipeline.bearerTokenAuthenticationPolicyName + name: coreRestPipeline.bearerTokenAuthenticationPolicyName, }); this.pipeline.addPolicy( coreRestPipeline.bearerTokenAuthenticationPolicy({ @@ -112,9 +130,9 @@ export class Scvmm extends coreClient.ServiceClient { `${optionsWithDefaults.endpoint}/.default`, challengeCallbacks: { authorizeRequestOnChallenge: - coreClient.authorizeRequestOnClaimChallenge - } - }) + coreClient.authorizeRequestOnClaimChallenge, + }, + }), ); } // Parameter assignments @@ -122,14 +140,17 @@ export class Scvmm extends coreClient.ServiceClient { // Assigning values to Constant parameters this.$host = options.$host || "https://management.azure.com"; - this.apiVersion = options.apiVersion || "2020-06-05-preview"; - this.vmmServers = new VmmServersImpl(this); + this.apiVersion = options.apiVersion || "2023-10-07"; + this.virtualMachineInstances = new VirtualMachineInstancesImpl(this); + this.guestAgents = new GuestAgentsImpl(this); + this.vmInstanceHybridIdentityMetadatas = + new VmInstanceHybridIdentityMetadatasImpl(this); this.operations = new OperationsImpl(this); + this.availabilitySets = new AvailabilitySetsImpl(this); this.clouds = new CloudsImpl(this); - this.virtualNetworks = new VirtualNetworksImpl(this); - this.virtualMachines = new VirtualMachinesImpl(this); this.virtualMachineTemplates = new VirtualMachineTemplatesImpl(this); - this.availabilitySets = new AvailabilitySetsImpl(this); + this.virtualNetworks = new VirtualNetworksImpl(this); + this.vmmServers = new VmmServersImpl(this); this.inventoryItems = new InventoryItemsImpl(this); this.addCustomApiVersionPolicy(options.apiVersion); } @@ -143,7 +164,7 @@ export class Scvmm extends coreClient.ServiceClient { name: "CustomApiVersionPolicy", async sendRequest( request: PipelineRequest, - next: SendRequest + next: SendRequest, ): Promise { const param = request.url.split("?"); if (param.length > 1) { @@ -157,17 +178,19 @@ export class Scvmm extends coreClient.ServiceClient { request.url = param[0] + "?" + newParams.join("&"); } return next(request); - } + }, }; this.pipeline.addPolicy(apiVersionPolicy); } - vmmServers: VmmServers; + virtualMachineInstances: VirtualMachineInstances; + guestAgents: GuestAgents; + vmInstanceHybridIdentityMetadatas: VmInstanceHybridIdentityMetadatas; operations: Operations; + availabilitySets: AvailabilitySets; clouds: Clouds; - virtualNetworks: VirtualNetworks; - virtualMachines: VirtualMachines; virtualMachineTemplates: VirtualMachineTemplates; - availabilitySets: AvailabilitySets; + virtualNetworks: VirtualNetworks; + vmmServers: VmmServers; inventoryItems: InventoryItems; } diff --git a/sdk/scvmm/arm-scvmm/test/sampleTest.ts b/sdk/scvmm/arm-scvmm/test/sampleTest.ts index 25aeb3ebcc36..d64be981b694 100644 --- a/sdk/scvmm/arm-scvmm/test/sampleTest.ts +++ b/sdk/scvmm/arm-scvmm/test/sampleTest.ts @@ -9,7 +9,7 @@ import { Recorder, RecorderStartOptions, - env + env, } from "@azure-tools/test-recorder"; import { assert } from "chai"; import { Context } from "mocha"; @@ -18,26 +18,26 @@ const replaceableVariables: Record = { AZURE_CLIENT_ID: "azure_client_id", AZURE_CLIENT_SECRET: "azure_client_secret", AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", - SUBSCRIPTION_ID: "azure_subscription_id" + SUBSCRIPTION_ID: "azure_subscription_id", }; const recorderOptions: RecorderStartOptions = { - envSetupForPlayback: replaceableVariables + envSetupForPlayback: replaceableVariables, }; describe("My test", () => { let recorder: Recorder; - beforeEach(async function(this: Context) { + beforeEach(async function (this: Context) { recorder = new Recorder(this.currentTest); await recorder.start(recorderOptions); }); - afterEach(async function() { + afterEach(async function () { await recorder.stop(); }); - it("sample test", async function() { + it("sample test", async function () { console.log("Hi, I'm a test!"); }); }); diff --git a/sdk/scvmm/arm-scvmm/tsconfig.json b/sdk/scvmm/arm-scvmm/tsconfig.json index dcb6754c3ab3..3e6ae96443f3 100644 --- a/sdk/scvmm/arm-scvmm/tsconfig.json +++ b/sdk/scvmm/arm-scvmm/tsconfig.json @@ -15,17 +15,11 @@ ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true, - "paths": { - "@azure/arm-scvmm": [ - "./src/index" - ] - } + "importHelpers": true }, "include": [ "./src/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts" + "./test/**/*.ts" ], "exclude": [ "node_modules"