From 973d1a80f732927853ed042c00ff967ae64a10ac Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 17 Dec 2024 13:44:54 +0000 Subject: [PATCH] CodeGen from PR 31910 in Azure/azure-rest-api-specs Merge c52030c253ed3372badf5d1e05cfe18fb5b1ac86 into 59799c650469a665614dd88c261ade7b78dcf77d --- common/config/rush/pnpm-lock.yaml | 1197 +---------------- sdk/compute/arm-compute/CHANGELOG.md | 97 +- sdk/compute/arm-compute/README.md | 1 - sdk/compute/arm-compute/_meta.json | 8 +- sdk/compute/arm-compute/package.json | 67 +- .../arm-compute/review/arm-compute.api.md | 388 ++++++ sdk/compute/arm-compute/sample.env | 5 +- .../src/computeManagementClient.ts | 16 +- sdk/compute/arm-compute/src/models/index.ts | 575 +++++++- sdk/compute/arm-compute/src/models/mappers.ts | 902 +++++++++++++ .../arm-compute/src/models/parameters.ts | 135 +- ...galleryInVMAccessControlProfileVersions.ts | 762 +++++++++++ .../galleryInVMAccessControlProfiles.ts | 688 ++++++++++ .../arm-compute/src/operations/index.ts | 3 + .../src/operations/softDeletedResource.ts | 243 ++++ .../operations/virtualMachineScaleSetVMs.ts | 6 +- .../src/operations/virtualMachineScaleSets.ts | 6 +- .../src/operations/virtualMachines.ts | 6 +- ...galleryInVMAccessControlProfileVersions.ts | 204 +++ .../galleryInVMAccessControlProfiles.ts | 174 +++ .../src/operationsInterfaces/index.ts | 3 + .../softDeletedResource.ts | 35 + .../virtualMachineScaleSetVMs.ts | 6 +- .../virtualMachineScaleSets.ts | 6 +- .../operationsInterfaces/virtualMachines.ts | 6 +- sdk/compute/arm-compute/test/sampleTest.ts | 43 + sdk/compute/arm-compute/tsconfig.json | 12 +- 27 files changed, 4343 insertions(+), 1251 deletions(-) create mode 100644 sdk/compute/arm-compute/src/operations/galleryInVMAccessControlProfileVersions.ts create mode 100644 sdk/compute/arm-compute/src/operations/galleryInVMAccessControlProfiles.ts create mode 100644 sdk/compute/arm-compute/src/operations/softDeletedResource.ts create mode 100644 sdk/compute/arm-compute/src/operationsInterfaces/galleryInVMAccessControlProfileVersions.ts create mode 100644 sdk/compute/arm-compute/src/operationsInterfaces/galleryInVMAccessControlProfiles.ts create mode 100644 sdk/compute/arm-compute/src/operationsInterfaces/softDeletedResource.ts create mode 100644 sdk/compute/arm-compute/test/sampleTest.ts diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index c40ce8aab8ff..88d74a0c9ea1 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -1528,12 +1528,6 @@ packages: cpu: [ppc64] os: [aix] - '@esbuild/aix-ppc64@0.24.0': - resolution: {integrity: sha512-WtKdFM7ls47zkKHFVzMz8opM7LkcsIp9amDUBIAWirg70RM71WRSjdILPsY5Uv1D42ZpUfaPILDlfactHgsRkw==} - engines: {node: '>=18'} - cpu: [ppc64] - os: [aix] - '@esbuild/android-arm64@0.21.5': resolution: {integrity: sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==} engines: {node: '>=12'} @@ -1546,12 +1540,6 @@ packages: cpu: [arm64] os: [android] - '@esbuild/android-arm64@0.24.0': - resolution: {integrity: sha512-Vsm497xFM7tTIPYK9bNTYJyF/lsP590Qc1WxJdlB6ljCbdZKU9SY8i7+Iin4kyhV/KV5J2rOKsBQbB77Ab7L/w==} - engines: {node: '>=18'} - cpu: [arm64] - os: [android] - '@esbuild/android-arm@0.21.5': resolution: {integrity: sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==} engines: {node: '>=12'} @@ -1564,12 +1552,6 @@ packages: cpu: [arm] os: [android] - '@esbuild/android-arm@0.24.0': - resolution: {integrity: sha512-arAtTPo76fJ/ICkXWetLCc9EwEHKaeya4vMrReVlEIUCAUncH7M4bhMQ+M9Vf+FFOZJdTNMXNBrWwW+OXWpSew==} - engines: {node: '>=18'} - cpu: [arm] - os: [android] - '@esbuild/android-x64@0.21.5': resolution: {integrity: sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==} engines: {node: '>=12'} @@ -1582,12 +1564,6 @@ packages: cpu: [x64] os: [android] - '@esbuild/android-x64@0.24.0': - resolution: {integrity: sha512-t8GrvnFkiIY7pa7mMgJd7p8p8qqYIz1NYiAoKc75Zyv73L3DZW++oYMSHPRarcotTKuSs6m3hTOa5CKHaS02TQ==} - engines: {node: '>=18'} - cpu: [x64] - os: [android] - '@esbuild/darwin-arm64@0.21.5': resolution: {integrity: sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==} engines: {node: '>=12'} @@ -1600,12 +1576,6 @@ packages: cpu: [arm64] os: [darwin] - '@esbuild/darwin-arm64@0.24.0': - resolution: {integrity: sha512-CKyDpRbK1hXwv79soeTJNHb5EiG6ct3efd/FTPdzOWdbZZfGhpbcqIpiD0+vwmpu0wTIL97ZRPZu8vUt46nBSw==} - engines: {node: '>=18'} - cpu: [arm64] - os: [darwin] - '@esbuild/darwin-x64@0.21.5': resolution: {integrity: sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==} engines: {node: '>=12'} @@ -1618,12 +1588,6 @@ packages: cpu: [x64] os: [darwin] - '@esbuild/darwin-x64@0.24.0': - resolution: {integrity: sha512-rgtz6flkVkh58od4PwTRqxbKH9cOjaXCMZgWD905JOzjFKW+7EiUObfd/Kav+A6Gyud6WZk9w+xu6QLytdi2OA==} - engines: {node: '>=18'} - cpu: [x64] - os: [darwin] - '@esbuild/freebsd-arm64@0.21.5': resolution: {integrity: sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==} engines: {node: '>=12'} @@ -1636,12 +1600,6 @@ packages: cpu: [arm64] os: [freebsd] - '@esbuild/freebsd-arm64@0.24.0': - resolution: {integrity: sha512-6Mtdq5nHggwfDNLAHkPlyLBpE5L6hwsuXZX8XNmHno9JuL2+bg2BX5tRkwjyfn6sKbxZTq68suOjgWqCicvPXA==} - engines: {node: '>=18'} - cpu: [arm64] - os: [freebsd] - '@esbuild/freebsd-x64@0.21.5': resolution: {integrity: sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==} engines: {node: '>=12'} @@ -1654,12 +1612,6 @@ packages: cpu: [x64] os: [freebsd] - '@esbuild/freebsd-x64@0.24.0': - resolution: {integrity: sha512-D3H+xh3/zphoX8ck4S2RxKR6gHlHDXXzOf6f/9dbFt/NRBDIE33+cVa49Kil4WUjxMGW0ZIYBYtaGCa2+OsQwQ==} - engines: {node: '>=18'} - cpu: [x64] - os: [freebsd] - '@esbuild/linux-arm64@0.21.5': resolution: {integrity: sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==} engines: {node: '>=12'} @@ -1672,12 +1624,6 @@ packages: cpu: [arm64] os: [linux] - '@esbuild/linux-arm64@0.24.0': - resolution: {integrity: sha512-TDijPXTOeE3eaMkRYpcy3LarIg13dS9wWHRdwYRnzlwlA370rNdZqbcp0WTyyV/k2zSxfko52+C7jU5F9Tfj1g==} - engines: {node: '>=18'} - cpu: [arm64] - os: [linux] - '@esbuild/linux-arm@0.21.5': resolution: {integrity: sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==} engines: {node: '>=12'} @@ -1690,12 +1636,6 @@ packages: cpu: [arm] os: [linux] - '@esbuild/linux-arm@0.24.0': - resolution: {integrity: sha512-gJKIi2IjRo5G6Glxb8d3DzYXlxdEj2NlkixPsqePSZMhLudqPhtZ4BUrpIuTjJYXxvF9njql+vRjB2oaC9XpBw==} - engines: {node: '>=18'} - cpu: [arm] - os: [linux] - '@esbuild/linux-ia32@0.21.5': resolution: {integrity: sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==} engines: {node: '>=12'} @@ -1708,12 +1648,6 @@ packages: cpu: [ia32] os: [linux] - '@esbuild/linux-ia32@0.24.0': - resolution: {integrity: sha512-K40ip1LAcA0byL05TbCQ4yJ4swvnbzHscRmUilrmP9Am7//0UjPreh4lpYzvThT2Quw66MhjG//20mrufm40mA==} - engines: {node: '>=18'} - cpu: [ia32] - os: [linux] - '@esbuild/linux-loong64@0.21.5': resolution: {integrity: sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==} engines: {node: '>=12'} @@ -1726,12 +1660,6 @@ packages: cpu: [loong64] os: [linux] - '@esbuild/linux-loong64@0.24.0': - resolution: {integrity: sha512-0mswrYP/9ai+CU0BzBfPMZ8RVm3RGAN/lmOMgW4aFUSOQBjA31UP8Mr6DDhWSuMwj7jaWOT0p0WoZ6jeHhrD7g==} - engines: {node: '>=18'} - cpu: [loong64] - os: [linux] - '@esbuild/linux-mips64el@0.21.5': resolution: {integrity: sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==} engines: {node: '>=12'} @@ -1744,12 +1672,6 @@ packages: cpu: [mips64el] os: [linux] - '@esbuild/linux-mips64el@0.24.0': - resolution: {integrity: sha512-hIKvXm0/3w/5+RDtCJeXqMZGkI2s4oMUGj3/jM0QzhgIASWrGO5/RlzAzm5nNh/awHE0A19h/CvHQe6FaBNrRA==} - engines: {node: '>=18'} - cpu: [mips64el] - os: [linux] - '@esbuild/linux-ppc64@0.21.5': resolution: {integrity: sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==} engines: {node: '>=12'} @@ -1762,12 +1684,6 @@ packages: cpu: [ppc64] os: [linux] - '@esbuild/linux-ppc64@0.24.0': - resolution: {integrity: sha512-HcZh5BNq0aC52UoocJxaKORfFODWXZxtBaaZNuN3PUX3MoDsChsZqopzi5UupRhPHSEHotoiptqikjN/B77mYQ==} - engines: {node: '>=18'} - cpu: [ppc64] - os: [linux] - '@esbuild/linux-riscv64@0.21.5': resolution: {integrity: sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==} engines: {node: '>=12'} @@ -1780,12 +1696,6 @@ packages: cpu: [riscv64] os: [linux] - '@esbuild/linux-riscv64@0.24.0': - resolution: {integrity: sha512-bEh7dMn/h3QxeR2KTy1DUszQjUrIHPZKyO6aN1X4BCnhfYhuQqedHaa5MxSQA/06j3GpiIlFGSsy1c7Gf9padw==} - engines: {node: '>=18'} - cpu: [riscv64] - os: [linux] - '@esbuild/linux-s390x@0.21.5': resolution: {integrity: sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==} engines: {node: '>=12'} @@ -1798,12 +1708,6 @@ packages: cpu: [s390x] os: [linux] - '@esbuild/linux-s390x@0.24.0': - resolution: {integrity: sha512-ZcQ6+qRkw1UcZGPyrCiHHkmBaj9SiCD8Oqd556HldP+QlpUIe2Wgn3ehQGVoPOvZvtHm8HPx+bH20c9pvbkX3g==} - engines: {node: '>=18'} - cpu: [s390x] - os: [linux] - '@esbuild/linux-x64@0.21.5': resolution: {integrity: sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==} engines: {node: '>=12'} @@ -1816,12 +1720,6 @@ packages: cpu: [x64] os: [linux] - '@esbuild/linux-x64@0.24.0': - resolution: {integrity: sha512-vbutsFqQ+foy3wSSbmjBXXIJ6PL3scghJoM8zCL142cGaZKAdCZHyf+Bpu/MmX9zT9Q0zFBVKb36Ma5Fzfa8xA==} - engines: {node: '>=18'} - cpu: [x64] - os: [linux] - '@esbuild/netbsd-x64@0.21.5': resolution: {integrity: sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==} engines: {node: '>=12'} @@ -1834,24 +1732,12 @@ packages: cpu: [x64] os: [netbsd] - '@esbuild/netbsd-x64@0.24.0': - resolution: {integrity: sha512-hjQ0R/ulkO8fCYFsG0FZoH+pWgTTDreqpqY7UnQntnaKv95uP5iW3+dChxnx7C3trQQU40S+OgWhUVwCjVFLvg==} - engines: {node: '>=18'} - cpu: [x64] - os: [netbsd] - '@esbuild/openbsd-arm64@0.23.1': resolution: {integrity: sha512-3x37szhLexNA4bXhLrCC/LImN/YtWis6WXr1VESlfVtVeoFJBRINPJ3f0a/6LV8zpikqoUg4hyXw0sFBt5Cr+Q==} engines: {node: '>=18'} cpu: [arm64] os: [openbsd] - '@esbuild/openbsd-arm64@0.24.0': - resolution: {integrity: sha512-MD9uzzkPQbYehwcN583yx3Tu5M8EIoTD+tUgKF982WYL9Pf5rKy9ltgD0eUgs8pvKnmizxjXZyLt0z6DC3rRXg==} - engines: {node: '>=18'} - cpu: [arm64] - os: [openbsd] - '@esbuild/openbsd-x64@0.21.5': resolution: {integrity: sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==} engines: {node: '>=12'} @@ -1864,12 +1750,6 @@ packages: cpu: [x64] os: [openbsd] - '@esbuild/openbsd-x64@0.24.0': - resolution: {integrity: sha512-4ir0aY1NGUhIC1hdoCzr1+5b43mw99uNwVzhIq1OY3QcEwPDO3B7WNXBzaKY5Nsf1+N11i1eOfFcq+D/gOS15Q==} - engines: {node: '>=18'} - cpu: [x64] - os: [openbsd] - '@esbuild/sunos-x64@0.21.5': resolution: {integrity: sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==} engines: {node: '>=12'} @@ -1882,12 +1762,6 @@ packages: cpu: [x64] os: [sunos] - '@esbuild/sunos-x64@0.24.0': - resolution: {integrity: sha512-jVzdzsbM5xrotH+W5f1s+JtUy1UWgjU0Cf4wMvffTB8m6wP5/kx0KiaLHlbJO+dMgtxKV8RQ/JvtlFcdZ1zCPA==} - engines: {node: '>=18'} - cpu: [x64] - os: [sunos] - '@esbuild/win32-arm64@0.21.5': resolution: {integrity: sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==} engines: {node: '>=12'} @@ -1900,12 +1774,6 @@ packages: cpu: [arm64] os: [win32] - '@esbuild/win32-arm64@0.24.0': - resolution: {integrity: sha512-iKc8GAslzRpBytO2/aN3d2yb2z8XTVfNV0PjGlCxKo5SgWmNXx82I/Q3aG1tFfS+A2igVCY97TJ8tnYwpUWLCA==} - engines: {node: '>=18'} - cpu: [arm64] - os: [win32] - '@esbuild/win32-ia32@0.21.5': resolution: {integrity: sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==} engines: {node: '>=12'} @@ -1918,12 +1786,6 @@ packages: cpu: [ia32] os: [win32] - '@esbuild/win32-ia32@0.24.0': - resolution: {integrity: sha512-vQW36KZolfIudCcTnaTpmLQ24Ha1RjygBo39/aLkM2kmjkWmZGEJ5Gn9l5/7tzXA42QGIoWbICfg6KLLkIw6yw==} - engines: {node: '>=18'} - cpu: [ia32] - os: [win32] - '@esbuild/win32-x64@0.21.5': resolution: {integrity: sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==} engines: {node: '>=12'} @@ -1936,12 +1798,6 @@ packages: cpu: [x64] os: [win32] - '@esbuild/win32-x64@0.24.0': - resolution: {integrity: sha512-7IAFPrjSQIJrGsK6flwg7NFmwBoSTyF3rl7If0hNUFQU4ilTsEPL6GuMuU9BfIWVVGuRnuIidkSMC+c0Otu8IA==} - engines: {node: '>=18'} - cpu: [x64] - os: [win32] - '@eslint-community/eslint-utils@4.4.1': resolution: {integrity: sha512-s3O3waFUrMV8P/XaF/+ZTp1X9XBZW1a4B97ZnjQF2KYWaFD2A8KyFBsrsfSjEmjn3RGWAIuvlneuZm3CUK3jbA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -2006,9 +1862,6 @@ packages: engines: {node: '>=6'} hasBin: true - '@hapi/bourne@3.0.0': - resolution: {integrity: sha512-Waj1cwPXJDucOib4a3bAISsKJVb15MKi9IvmTI/7ssVEm6sywXGjVJDhl6/umt1pK1ZS7PacXU3A1PmFKHEZ2w==} - '@humanfs/core@0.19.1': resolution: {integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==} engines: {node: '>=18.18.0'} @@ -2120,9 +1973,6 @@ packages: peerDependencies: tslib: '2' - '@mdn/browser-compat-data@4.2.1': - resolution: {integrity: sha512-EWUguj2kd7ldmrF9F+vI5hUOralPd+sdsUnYbRy33vZTuZkduC1shE9TtEMEjAQwyfyMb4ole5KtjF8MsnQOlA==} - '@microsoft/api-extractor-model@7.30.0': resolution: {integrity: sha512-26/LJZBrsWDKAkOWRiQbdVgcfd1F3nyJnAiJzsAgpouPk7LtOIj7PK9aJtBaw/pUXrkotEg27RrT+Jm/q0bbug==} @@ -2824,7 +2674,7 @@ packages: version: 0.0.0 '@rush-temp/arm-compute-1@file:projects/arm-compute-1.tgz': - resolution: {integrity: sha512-zgoR+wBMIqoaVj1fIAGWAcN49W4gLFgjkwC7myUjMkWzJaAf6tgwKATj0GX+lDpqNiUyqmtVf8kp89JbZJJW2Q==, tarball: file:projects/arm-compute-1.tgz} + resolution: {integrity: sha512-rSlIdnhZP7MJAyxZXPW4b8BvwlMEEw7dRdgctWs3+cEDSJs66ux8pBu4toh6qsAh2t/EW/5tagHHG5YLguQFbg==, tarball: file:projects/arm-compute-1.tgz} version: 0.0.0 '@rush-temp/arm-compute-profile-2020-09-01-hybrid@file:projects/arm-compute-profile-2020-09-01-hybrid.tgz': @@ -4004,11 +3854,11 @@ packages: version: 0.0.0 '@rush-temp/perf-ai-metrics-advisor@file:projects/perf-ai-metrics-advisor.tgz': - resolution: {integrity: sha512-6JSVuIfIFvRVwSXA5O5uLyr0gPb5j2Spu6AFzoHNcoMtfCl/94mWPmgofhG9qGsIOybTyAVS0jkD1nlxcsQWkQ==, tarball: file:projects/perf-ai-metrics-advisor.tgz} + resolution: {integrity: sha512-+EI1/2y01yAyGAf7ICP7CLKMCEaPxr2UH1wE/oZrmx3JyF+DzBfGAXEzifrNNFcSlM9B/4SThFzzk9w202G1Kw==, tarball: file:projects/perf-ai-metrics-advisor.tgz} version: 0.0.0 '@rush-temp/perf-ai-text-analytics@file:projects/perf-ai-text-analytics.tgz': - resolution: {integrity: sha512-HEeXcquBy4/HxCQDiHYIh56U/wSyFktEifaFi6u5aWjQHA0YVCZ2mL4n2UNp8/B+G7Z4Di2gAsinuyXdk04VFQ==, tarball: file:projects/perf-ai-text-analytics.tgz} + resolution: {integrity: sha512-Pan1PGinVC3NSJWrVyHJT04npqIDFlna70gSOyN/gwPRa1CGoWSa2UCeH1bXbXwzE02/hWfyCfNCenj4ZK+xkg==, tarball: file:projects/perf-ai-text-analytics.tgz} version: 0.0.0 '@rush-temp/perf-app-configuration@file:projects/perf-app-configuration.tgz': @@ -4020,7 +3870,7 @@ packages: version: 0.0.0 '@rush-temp/perf-core-rest-pipeline@file:projects/perf-core-rest-pipeline.tgz': - resolution: {integrity: sha512-CA4ACPBdLdTWNEL9EeXGvHFkFEbjL4L6z92yZHgr5kZH2mG3WyweFp5jAVeI1iXFtfaTKvPkma7l+uUhDj9hXw==, tarball: file:projects/perf-core-rest-pipeline.tgz} + resolution: {integrity: sha512-KWEPnchNnpCiHjuk8vd2aza0LmqMfhUOVJ402HWrXZXo0ilrsq1YYvoPhbNj1Bk5sNjLDvA4Y9xI9ofAe1NwGQ==, tarball: file:projects/perf-core-rest-pipeline.tgz} version: 0.0.0 '@rush-temp/perf-data-tables@file:projects/perf-data-tables.tgz': @@ -4212,7 +4062,7 @@ packages: version: 0.0.0 '@rush-temp/test-utils@file:projects/test-utils.tgz': - resolution: {integrity: sha512-PhzayiVPJXdsu6TATkAFgyqHODq6FhybsoAjVI+W+7fDUQzdGHoYDCBn5vcqiDb5Xe49R9aBheHPRvTXNHFfwA==, tarball: file:projects/test-utils.tgz} + resolution: {integrity: sha512-A1LivzUuFF+kXN4mR9u430aQKuLaD5pVk94AzzOcAAASvkTPJQuU2yE34MR8FtXFi9yKmwnLFw56stqEontcdw==, tarball: file:projects/test-utils.tgz} version: 0.0.0 '@rush-temp/ts-http-runtime@file:projects/ts-http-runtime.tgz': @@ -4314,9 +4164,6 @@ packages: '@tsconfig/node16@1.0.4': resolution: {integrity: sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==} - '@types/accepts@1.3.7': - resolution: {integrity: sha512-Pay9fq2lM2wXPWbteBsRAGiWH2hig4ZE2asK+mm7kUzlxRTfL961rj89I6zV/E3PcIkDqyuBEcMxFT7rccugeQ==} - '@types/archiver@6.0.3': resolution: {integrity: sha512-a6wUll6k3zX6qs5KlxIggs1P1JcYJaTCx2gnlr+f0S1yd2DoaEwoIK10HmBaLnZwWneBz+JBm0dwcZu0zECBcQ==} @@ -4326,9 +4173,6 @@ packages: '@types/aria-query@5.0.4': resolution: {integrity: sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw==} - '@types/babel__code-frame@7.0.6': - resolution: {integrity: sha512-Anitqkl3+KrzcW2k77lRlg/GfLZLWXBuNgbEcIOU6M92yw42vsd3xV/Z/yAHEj8m+KUjL6bWOVOFqX8PFPJ4LA==} - '@types/body-parser@1.19.5': resolution: {integrity: sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==} @@ -4347,36 +4191,18 @@ packages: '@types/chai@5.0.1': resolution: {integrity: sha512-5T8ajsg3M/FOncpLYW7sdOcD6yf4+722sze/tc4KQV0P8Z2rAr3SAuHCIkYmYpt8VbcQlnz8SxlOlPQYefe4cA==} - '@types/co-body@6.1.3': - resolution: {integrity: sha512-UhuhrQ5hclX6UJctv5m4Rfp52AfG9o9+d9/HwjxhVB5NjXxr5t9oKgJxN8xRHgr35oo8meUEHUPFWiKg6y71aA==} - - '@types/command-line-args@5.2.3': - resolution: {integrity: sha512-uv0aG6R0Y8WHZLTamZwtfsDLVRnOa+n+n5rEvFWL5Na5gZ8V2Teab/duDPFzIIIhs9qizDpcavCusCLJZu62Kw==} - '@types/connect@3.4.38': resolution: {integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==} - '@types/content-disposition@0.5.8': - resolution: {integrity: sha512-QVSSvno3dE0MgO76pJhmv4Qyi/j0Yk9pBp0Y7TJ2Tlj+KCgJWY6qX7nnxCOLkZ3VYRSIk1WTxCvwUSdx6CCLdg==} - - '@types/convert-source-map@2.0.3': - resolution: {integrity: sha512-ag0BfJLZf6CQz8VIuRIEYQ5Ggwk/82uvTQf27RcpyDNbY0Vw49LIPqAxk5tqYfrCs9xDaIMvl4aj7ZopnYL8bA==} - '@types/cookie@0.4.1': resolution: {integrity: sha512-XW/Aa8APYr6jSVVA1y/DEIZX0/GMKLEVekNG727R8cs56ahETkRAy/3DR7+fJyh7oUgGwNQaRfXCun0+KbWY7Q==} '@types/cookie@0.6.0': resolution: {integrity: sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==} - '@types/cookies@0.9.0': - resolution: {integrity: sha512-40Zk8qR147RABiQ7NQnBzWzDcjKzNrntB5BAmeGCb2p/MIyOE+4BVvc17wumsUqUw00bJYqoXFHYygQnEFh4/Q==} - '@types/cors@2.8.17': resolution: {integrity: sha512-8CGDvrBj1zgo2qE+oS3pOCyYNqCPryMWY2bGfwA0dcfopWGgxs+78df0Rs3rc9THP4JkOhLsAa+15VdpAqkcUA==} - '@types/debounce@1.2.4': - resolution: {integrity: sha512-jBqiORIzKDOToaF63Fm//haOCHuwQuLa2202RK4MozpA6lh93eCBc+/8+wZn5OzjJt3ySdc+74SXWXB55Ewtyw==} - '@types/debug@4.1.12': resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==} @@ -4413,9 +4239,6 @@ packages: '@types/glob@7.2.0': resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} - '@types/http-assert@1.5.6': - resolution: {integrity: sha512-TTEwmtjgVbYAzZYWyeHPrrtWnfVkm8tQkP8P21uQifPgMRgjrow3XDEYqucuC8SKZJT7pUnhU/JymvjggxO9vw==} - '@types/http-errors@2.0.4': resolution: {integrity: sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA==} @@ -4425,15 +4248,6 @@ packages: '@types/is-buffer@2.0.2': resolution: {integrity: sha512-G6OXy83Va+xEo8XgqAJYOuvOMxeey9xM5XKkvwJNmN8rVdcB+r15HvHsG86hl86JvU0y1aa7Z2ERkNFYWw9ySg==} - '@types/istanbul-lib-coverage@2.0.6': - resolution: {integrity: sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==} - - '@types/istanbul-lib-report@3.0.3': - resolution: {integrity: sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==} - - '@types/istanbul-reports@3.0.4': - resolution: {integrity: sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==} - '@types/json-schema@7.0.15': resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} @@ -4446,15 +4260,6 @@ packages: '@types/jws@3.2.10': resolution: {integrity: sha512-cOevhttJmssERB88/+XvZXvsq5m9JLKZNUiGfgjUb5lcPRdV2ZQciU6dU76D/qXXFYpSqkP3PrSg4hMTiafTZw==} - '@types/keygrip@1.0.6': - resolution: {integrity: sha512-lZuNAY9xeJt7Bx4t4dx0rYCDqGPW8RXhQZK1td7d4H6E9zYbLoOtjBvfwdTKpsyxQI/2jv+armjX/RW+ZNpXOQ==} - - '@types/koa-compose@3.2.8': - resolution: {integrity: sha512-4Olc63RY+MKvxMwVknCUDhRQX1pFQoBZ/lXcRLP69PQkEpze/0cr8LNqJQe5NFb/b19DWi2a5bTi2VAlQzhJuA==} - - '@types/koa@2.15.0': - resolution: {integrity: sha512-7QFsywoE5URbuVnG3loe03QXuGajrnotr3gQkXcEBShORai23MePfFYdhz90FEtBBpkyIYQbVD+evKtloCgX3g==} - '@types/linkify-it@5.0.0': resolution: {integrity: sha512-sVDA58zAw4eWAffKOaQH5/5j3XeayukzDk+ewSsnv3p4yJEZHCCzMDiZM8e0OUrRvmpGZ85jf4yDHkHsgBNr9Q==} @@ -4506,9 +4311,6 @@ packages: '@types/pako@2.0.3': resolution: {integrity: sha512-bq0hMV9opAcrmE0Byyo0fY3Ew4tgOevJmQ9grUhpXQhYfyLJ1Kqg3P33JT5fdbT2AjeAjR51zqqVjAL/HMkx7Q==} - '@types/parse5@6.0.3': - resolution: {integrity: sha512-SuT16Q1K51EAVPz1K29DJ/sXjhSQ0zjvsypYJ6tlwVsRV9jwW5Adq2ch8Dq8kDBCkYnELS7N7VNCSB5nC56t/g==} - '@types/pg-pool@2.0.6': resolution: {integrity: sha512-TaAUE5rq2VQYxab5Ts7WZhKNmuN78Q6PiFonTDdpbx8a1H0M1vhy3rhiMjl+e2iHmogyMw7jZF4FrE6eJUy5HQ==} @@ -4736,64 +4538,6 @@ packages: '@vitest/utils@2.1.8': resolution: {integrity: sha512-dwSoui6djdwbfFmIgbIjX2ZhIoG7Ex/+xpxyiEgIGzjliY8xGkcpITKTlp6B4MgtGkF2ilvm97cPM96XZaAgcA==} - '@web/browser-logs@0.4.0': - resolution: {integrity: sha512-/EBiDAUCJ2DzZhaFxTPRIznEPeafdLbXShIL6aTu7x73x7ZoxSDv7DGuTsh2rWNMUa4+AKli4UORrpyv6QBOiA==} - engines: {node: '>=18.0.0'} - - '@web/config-loader@0.3.2': - resolution: {integrity: sha512-Vrjv/FexBGmAdnCYpJKLHX1dfT1UaUdvHmX1JRaWos9OvDf/tFznYJ5SpJwww3Rl87/ewvLSYG7kfsMqEAsizQ==} - engines: {node: '>=18.0.0'} - - '@web/dev-server-core@0.7.4': - resolution: {integrity: sha512-nHSNrJ1J9GjmSceKNHpWRMjvpfE2NTV9EYUffPIr7j0sIV59gK7NI/4+9slotJ/ODXw0+e1gSeJshTOhjjVNxQ==} - engines: {node: '>=18.0.0'} - - '@web/dev-server-esbuild@1.0.3': - resolution: {integrity: sha512-oImN4/cpyfQC8+JcCx61M7WIo09zE2aDMFuwh+brqxuNXIBRQ+hnRGQK7fEIZSQeWWT5dFrWmH4oYZfqzCAlfQ==} - engines: {node: '>=18.0.0'} - - '@web/dev-server-rollup@0.6.4': - resolution: {integrity: sha512-sJZfTGCCrdku5xYnQQG51odGI092hKY9YFM0X3Z0tRY3iXKXcYRaLZrErw5KfCxr6g0JRuhe4BBhqXTA5Q2I3Q==} - engines: {node: '>=18.0.0'} - - '@web/dev-server@0.4.6': - resolution: {integrity: sha512-jj/1bcElAy5EZet8m2CcUdzxT+CRvUjIXGh8Lt7vxtthkN9PzY9wlhWx/9WOs5iwlnG1oj0VGo6f/zvbPO0s9w==} - engines: {node: '>=18.0.0'} - hasBin: true - - '@web/parse5-utils@2.1.0': - resolution: {integrity: sha512-GzfK5disEJ6wEjoPwx8AVNwUe9gYIiwc+x//QYxYDAFKUp4Xb1OJAGLc2l2gVrSQmtPGLKrTRcW90Hv4pEq1qA==} - engines: {node: '>=18.0.0'} - - '@web/test-runner-chrome@0.17.0': - resolution: {integrity: sha512-Il5N9z41NKWCrQM1TVgRaDWWYoJtG5Ha4fG+cN1MWL2OlzBS4WoOb4lFV3EylZ7+W3twZOFr1zy2Rx61yDYd/A==} - engines: {node: '>=18.0.0'} - - '@web/test-runner-commands@0.9.0': - resolution: {integrity: sha512-zeLI6QdH0jzzJMDV5O42Pd8WLJtYqovgdt0JdytgHc0d1EpzXDsc7NTCJSImboc2NcayIsWAvvGGeRF69SMMYg==} - engines: {node: '>=18.0.0'} - - '@web/test-runner-core@0.13.4': - resolution: {integrity: sha512-84E1025aUSjvZU1j17eCTwV7m5Zg3cZHErV3+CaJM9JPCesZwLraIa0ONIQ9w4KLgcDgJFw9UnJ0LbFf42h6tg==} - engines: {node: '>=18.0.0'} - - '@web/test-runner-coverage-v8@0.8.0': - resolution: {integrity: sha512-PskiucYpjUtgNfR2zF2AWqWwjXL7H3WW/SnCAYmzUrtob7X9o/+BjdyZ4wKbOxWWSbJO4lEdGIDLu+8X2Xw+lA==} - engines: {node: '>=18.0.0'} - - '@web/test-runner-mocha@0.9.0': - resolution: {integrity: sha512-ZL9F6FXd0DBQvo/h/+mSfzFTSRVxzV9st/AHhpgABtUtV/AIpVE9to6+xdkpu6827kwjezdpuadPfg+PlrBWqQ==} - engines: {node: '>=18.0.0'} - - '@web/test-runner-playwright@0.11.0': - resolution: {integrity: sha512-s+f43DSAcssKYVOD9SuzueUcctJdHzq1by45gAnSCKa9FQcaTbuYe8CzmxA21g+NcL5+ayo4z+MA9PO4H+PssQ==} - engines: {node: '>=18.0.0'} - - '@web/test-runner@0.19.0': - resolution: {integrity: sha512-qLUupi88OK1Kl52cWPD/2JewUCRUxYsZ1V1DyLd05P7u09zCdrUYrtkB/cViWyxlBe/TOvqkSNpcTv6zLJ9GoA==} - engines: {node: '>=18.0.0'} - hasBin: true - abort-controller@3.0.0: resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==} engines: {node: '>=6.5'} @@ -4926,14 +4670,6 @@ packages: aria-query@5.3.0: resolution: {integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==} - array-back@3.1.0: - resolution: {integrity: sha512-TkuxA4UCOvxuDK6NZYXCalszEzj+TLszyASooky+i742l9TqsOdYCMJJupxRic61hwquNtppB3hgcuq9SVSH1Q==} - engines: {node: '>=6'} - - array-back@6.2.2: - resolution: {integrity: sha512-gUAZ7HPyb4SJczXAMUXMGAvI976JoK3qEx9v1FTmeYuJj0IBiaKttG1ydtGKdkfqWkIkouke7nG8ufGy77+Cvw==} - engines: {node: '>=12.17'} - array-flatten@1.1.1: resolution: {integrity: sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==} @@ -4960,16 +4696,6 @@ packages: resolution: {integrity: sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==} engines: {node: '>=4'} - astral-regex@2.0.0: - resolution: {integrity: sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==} - engines: {node: '>=8'} - - async-mutex@0.4.0: - resolution: {integrity: sha512-eJFZ1YhRR8UN8eBLoNzcDPcy/jqjsg6I1AP+KvWQX80BqOSW1oJPJXDylPUEeMr2ZQvHgnQ//Lp6f3RQ1zI7HA==} - - async@2.6.4: - resolution: {integrity: sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==} - asynckit@0.4.0: resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} @@ -5093,10 +4819,6 @@ packages: resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} engines: {node: '>=8'} - cache-content-type@1.0.1: - resolution: {integrity: sha512-IKufZ1o4Ut42YUrZSo8+qnMTrFuKkvyoLXUywKz9GJ5BrhOFGhLdkx9sG4KAnVvbY6kEcSFjLQul+DVmBm2bgA==} - engines: {node: '>= 6.0.0'} - caching-transform@4.0.0: resolution: {integrity: sha512-kpqOvwXnjjN44D89K5ccQC+RUrsy7jB/XLlRrx0D7/2HNcTPqzsb6XgYoErwko6QsV184CA2YgS1fxDiiDZMWA==} engines: {node: '>=8'} @@ -5168,10 +4890,6 @@ packages: resolution: {integrity: sha512-aGtmf24DW6MLHHG5gCx4zaI3uBq3KRtxeVs0DjFH6Z0rDNbsvTxFASFvdj79pxjxZ8/5u3PIiN3IwEIQkiiuPw==} engines: {node: '>=12'} - chalk-template@0.4.0: - resolution: {integrity: sha512-/ghrgmhfY8RaSdeo43hNXxpoHAtxdbskUHjPpfqUWGttFgycUhYPGx3YZBCnUCvOa7Doivn1IZec3DEGFoMgLg==} - engines: {node: '>=12'} - chalk@2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} engines: {node: '>=4'} @@ -5211,18 +4929,9 @@ packages: resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} engines: {node: '>= 8.10.0'} - chokidar@4.0.2: - resolution: {integrity: sha512-/b57FK+bblSU+dfewfFe0rT1YjVDfOmeLQwCAuC+vwvgLkXboATqqmy+Ipux6JrF6L5joe5CBnFOw+gLWH6yKg==} - engines: {node: '>= 14.16.0'} - chownr@1.1.4: resolution: {integrity: sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==} - chrome-launcher@0.15.2: - resolution: {integrity: sha512-zdLEwNo3aUVzIhKhTtXfxhdvZhUghrnmkvcAq2NoDd+LeOHKf03H5jwZ8T/STsAlzyALkBVK552iaG1fGf1xVQ==} - engines: {node: '>=12.13.0'} - hasBin: true - chromium-bidi@0.8.0: resolution: {integrity: sha512-uJydbGdTw0DEUjhoogGveneJVWX/9YuqkWePzMmkBYwtdAqo5d3J/ovNKFr+/2hWXYmYCr6it8mSSTIj6SS6Ug==} peerDependencies: @@ -5274,18 +4983,6 @@ packages: resolution: {integrity: sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==} engines: {node: '>=0.8'} - clone@2.1.2: - resolution: {integrity: sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==} - engines: {node: '>=0.8'} - - co-body@6.2.0: - resolution: {integrity: sha512-Kbpv2Yd1NdL1V/V4cwLVxraHDV6K8ayohr2rmH0J87Er8+zJjcTa6dAn9QMPC9CRgU8+aNajKbSf1TzDB1yKPA==} - engines: {node: '>=8.0.0'} - - co@4.6.0: - resolution: {integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==} - engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'} - code-block-writer@13.0.3: resolution: {integrity: sha512-Oofo0pq3IKnsFtuHqSF7TqBfr71aeyZDVJ0HpmqB7FBM2qEigL0iPONSCZSO9pE9dZTAxANe5XHG9Uy0YMv8cg==} @@ -5309,14 +5006,6 @@ packages: resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} engines: {node: '>= 0.8'} - command-line-args@5.2.1: - resolution: {integrity: sha512-H4UfQhZyakIjC74I9d34fGYDwk3XpSr17QhEd0Q3I9Xq1CETHo4Hcuo87WyWHpAF1aSLjLRf5lD9ZGX2qStUvg==} - engines: {node: '>=4.0.0'} - - command-line-usage@7.0.3: - resolution: {integrity: sha512-PqMLy5+YGwhMh1wS04mVG44oqDsgyLRSKJBdOo1bnYhMKBW65gZF1dRp2OZRhiTjgUHljy99qkO7bsctLaw35Q==} - engines: {node: '>=12.20.0'} - commander@10.0.1: resolution: {integrity: sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==} engines: {node: '>=14'} @@ -5371,10 +5060,6 @@ packages: resolution: {integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==} engines: {node: '>= 0.6'} - cookies@0.9.1: - resolution: {integrity: sha512-TG2hpqe4ELx54QER/S3HQ9SRVnQnGBtKUz5bLQWtYAQ+o6GpgMs6sYUvaiJjVxb+UXwhRhAEP3m7LbsIZ77Hmw==} - engines: {node: '>= 0.8'} - copyfiles@2.4.1: resolution: {integrity: sha512-fereAvAvxDrQDOXybk3Qu3dPbOoKoysFMWtkY3mv5BsL8//OSZVL5DCLYqgRfY5cWirgRzlC+WSrxp6Bo3eNZg==} hasBin: true @@ -5441,15 +5126,9 @@ packages: dayjs@1.11.13: resolution: {integrity: sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==} - debounce@1.2.1: - resolution: {integrity: sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug==} - debug@2.6.9: resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} - debug@3.2.7: - resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} - debug@4.3.7: resolution: {integrity: sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==} engines: {node: '>=6.0'} @@ -5516,9 +5195,6 @@ packages: resolution: {integrity: sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==} engines: {node: '>=6'} - deep-equal@1.0.1: - resolution: {integrity: sha512-bHtC0iYvWhyaTzvV3CZgPeZQqCOBGyGsVV7v4eevpdkLHfiSrXUdBG+qAuSz4RI70sszvjQ1QSZ98An1yNwpSw==} - deep-extend@0.6.0: resolution: {integrity: sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==} engines: {node: '>=4.0.0'} @@ -5538,10 +5214,6 @@ packages: resolution: {integrity: sha512-WY/3TUME0x3KPYdRRxEJJvXRHV4PyPoUsxtZa78lwItwRQRHhd2U9xOscaT/YTf8uCXIAjeJOFBVEh/7FtD8Xg==} engines: {node: '>=18'} - default-gateway@6.0.3: - resolution: {integrity: sha512-fwSOJsbbNzZ/CUFpqFBqYfYNLj1NbMPm8MMCIzHjC83iSJRBEGmDUxU+WP661BaBQImeC2yHwXtz+P/O9o+XEg==} - engines: {node: '>= 10'} - default-require-extensions@3.0.1: resolution: {integrity: sha512-eXTJmRbm2TIt9MgWTsOH1wEuhew6XGZcMeGKCtLedIg/NCsg1iBePXkceTdK4Fii7pzmN9tGsZhKzZ4h7O/fxw==} engines: {node: '>=8'} @@ -5569,21 +5241,10 @@ packages: resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} engines: {node: '>=0.4.0'} - delegates@1.0.0: - resolution: {integrity: sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==} - - depd@1.1.2: - resolution: {integrity: sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==} - engines: {node: '>= 0.6'} - depd@2.0.0: resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==} engines: {node: '>= 0.8'} - dependency-graph@0.11.0: - resolution: {integrity: sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg==} - engines: {node: '>= 0.6.0'} - dequal@2.0.3: resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} engines: {node: '>=6'} @@ -5703,9 +5364,6 @@ packages: error-ex@1.3.2: resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} - errorstacks@2.4.1: - resolution: {integrity: sha512-jE4i0SMYevwu/xxAuzhly/KTwtj0xDhbzB6m1xPImxTkw8wcCbgarOQPfCVMi5JKVyW7in29pNJCCJrry3Ynnw==} - es-define-property@1.0.1: resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==} engines: {node: '>= 0.4'} @@ -5737,11 +5395,6 @@ packages: engines: {node: '>=18'} hasBin: true - esbuild@0.24.0: - resolution: {integrity: sha512-FuLPevChGDshgSicjisSooU0cemp/sGXR841D5LHMB7mTVOmsEHcAxaH3irL53+8YDIeVNQEySh4DaYU/iuPqQ==} - engines: {node: '>=18'} - hasBin: true - escalade@3.2.0: resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} engines: {node: '>=6'} @@ -6026,10 +5679,6 @@ packages: resolution: {integrity: sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==} engines: {node: '>=8'} - find-replace@3.0.0: - resolution: {integrity: sha512-6Tb2myMioCAgv5kfvP5/PkZZ/ntTpVK39fHY7WkWBgvbeE+VHd/tZuZ4mrC+bxh4cfOZeYKVPaJIZtZXV7GNCQ==} - engines: {node: '>=4.0.0'} - find-up@4.1.0: resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} engines: {node: '>=8'} @@ -6215,10 +5864,6 @@ packages: resolution: {integrity: sha512-sSs4inE1FB2YQiymcmTv6NWENryABjUNPeWhOvmn4SjtKybglsyPZxFB3U1/+L1bYi0rNZDqCLlHyLYDl1Pq5A==} engines: {node: '>=8'} - globby@11.1.0: - resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} - engines: {node: '>=10'} - globby@13.2.2: resolution: {integrity: sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -6285,18 +5930,6 @@ packages: html-escaper@2.0.2: resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==} - http-assert@1.5.0: - resolution: {integrity: sha512-uPpH7OKX4H25hBmU6G1jWNaqJGpTXxey+YOUizJUAgu0AjLUeC8D73hTrhvDS5D+GJN1DN1+hhc/eF/wpxtp0w==} - engines: {node: '>= 0.8'} - - http-errors@1.6.3: - resolution: {integrity: sha512-lks+lVC8dgGyh97jxvxeYTWQFvh4uw4yC12gVl63Cg30sjPX4wuGcdkICVXDAESr6OJGjqGA8Iz5mkeN6zlD7A==} - engines: {node: '>= 0.6'} - - http-errors@1.8.1: - resolution: {integrity: sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==} - engines: {node: '>= 0.6'} - http-errors@2.0.0: resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==} engines: {node: '>= 0.8'} @@ -6370,17 +6003,10 @@ packages: resolution: {integrity: sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==} engines: {node: '>=12'} - inflation@2.1.0: - resolution: {integrity: sha512-t54PPJHG1Pp7VQvxyVCJ9mBbjG3Hqryges9bXoOO6GExCPa+//i/d5GSuFtpx3ALLd7lgIAur6zrIlBQyJuMlQ==} - engines: {node: '>= 0.8.0'} - inflight@1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. - inherits@2.0.3: - resolution: {integrity: sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==} - inherits@2.0.4: resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} @@ -6391,18 +6017,10 @@ packages: resolution: {integrity: sha512-LJKFHCSeIRq9hanN14IlOtPSTe3lNES7TYDTE2xxdAy1LS5rYphajK1qtwvj3YmQXvvk0U2Vbmcni8P9EIQW9w==} engines: {node: '>=18'} - internal-ip@6.2.0: - resolution: {integrity: sha512-D8WGsR6yDt8uq7vDMu7mjcR+yRMm3dW8yufyChmszWRjcSHuxLBkR3GdS2HZAjodsaGuCvXeEJpueisXJULghg==} - engines: {node: '>=10'} - ip-address@9.0.5: resolution: {integrity: sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==} engines: {node: '>= 12'} - ip-regex@4.3.0: - resolution: {integrity: sha512-B9ZWJxHHOHUhUjCPrMpLD4xEq35bUTClHM1S6CBU5ixQnkZmwipwgc96vAd7AAGM9TGHvJR+Uss+/Ak6UphK+Q==} - engines: {node: '>=8'} - ipaddr.js@1.9.1: resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==} engines: {node: '>= 0.10'} @@ -6477,10 +6095,6 @@ packages: resolution: {integrity: sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==} engines: {node: '>=8'} - is-ip@3.1.0: - resolution: {integrity: sha512-35vd5necO7IitFPjd/YBeqwWnyDWbuLH9ZXQdMfDA8TEo7pv5X8yfrvVO3xbJbLUlERCMvf6X0hTUamQxCYJ9Q==} - engines: {node: '>=8'} - is-module@1.0.0: resolution: {integrity: sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==} @@ -6558,10 +6172,6 @@ packages: resolution: {integrity: sha512-iHrqe5shvBUcFbmZq9zOQHBoeOhZJu6RQGrDpBgenUm/Am+F3JM2MgQj+rK3Z601fzrL5gLZWtAPH2OBaSVcyw==} engines: {node: '>= 8.0.0'} - isbinaryfile@5.0.4: - resolution: {integrity: sha512-YKBKVkKhty7s8rxddb40oOkuP0NbaeXrQvLin6QMHL7Ypiy2RW9LwOVrVgZRyOrhQlayMd9t+D8yDy8MKFTSDQ==} - engines: {node: '>= 18.0.0'} - isexe@2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} @@ -6753,10 +6363,6 @@ packages: engines: {node: '>= 10'} hasBin: true - keygrip@1.1.0: - resolution: {integrity: sha512-iYSchDJ+liQ8iwbSI2QqsQOvqv58eJCEanyJPJi+Khyu8smkcKSFUCbPwzFcL7YVtZ6eONjqRX/38caJ7QjRAQ==} - engines: {node: '>= 0.6'} - keytar@7.9.0: resolution: {integrity: sha512-VPD8mtVtm5JNtA2AErl6Chp06JBfy7diFQ7TQQhdpWOl6MrCRB+eRbvAZUsbGQS9kiMq0coJsy0W0vHpDCkWsQ==} @@ -6774,28 +6380,6 @@ packages: resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==} engines: {node: '>=6'} - koa-compose@4.1.0: - resolution: {integrity: sha512-8ODW8TrDuMYvXRwra/Kh7/rJo9BtOfPc6qO8eAfC80CnCvSjSl0bkRM24X6/XBBEyj0v1nRUQ1LyOy3dbqOWXw==} - - koa-convert@2.0.0: - resolution: {integrity: sha512-asOvN6bFlSnxewce2e/DK3p4tltyfC4VM7ZwuTuepI7dEQVcvpyFuBcEARu1+Hxg8DIwytce2n7jrZtRlPrARA==} - engines: {node: '>= 10'} - - koa-etag@4.0.0: - resolution: {integrity: sha512-1cSdezCkBWlyuB9l6c/IFoe1ANCDdPBxkDkRiaIup40xpUub6U/wwRXoKBZw/O5BifX9OlqAjYnDyzM6+l+TAg==} - - koa-send@5.0.1: - resolution: {integrity: sha512-tmcyQ/wXXuxpDxyNXv5yNNkdAMdFRqwtegBXUaowiQzUKqJehttS0x2j0eOZDQAyloAth5w6wwBImnFzkUz3pQ==} - engines: {node: '>= 8'} - - koa-static@5.0.0: - resolution: {integrity: sha512-UqyYyH5YEXaJrf9S8E23GoJFQZXkBVJ9zYYMPGz919MSX1KuvAcycIuS0ci150HCoPf4XQVhQ84Qf8xRPWxFaQ==} - engines: {node: '>= 7.6.0'} - - koa@2.15.3: - resolution: {integrity: sha512-j/8tY9j5t+GVMLeioLaxweJiKUayFhlGqNTzf2ZGwL0ZCQijd2RLHK0SLW5Tsko8YyyqCZC2cojIb0/s62qTAg==} - engines: {node: ^4.8.4 || ^6.10.1 || ^7.10.1 || >= 8.1.4} - levn@0.3.0: resolution: {integrity: sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==} engines: {node: '>= 0.8.0'} @@ -6804,9 +6388,6 @@ packages: resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} engines: {node: '>= 0.8.0'} - lighthouse-logger@1.4.2: - resolution: {integrity: sha512-gPWxznF6TKmUHrOQjlVo2UbaL2EJ71mb2CCeRs/2qBpi4L/g4LUVc9+3lKQ6DTUZwJswfM7ainGrLO1+fOqa2g==} - lines-and-columns@1.2.4: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} @@ -6869,10 +6450,6 @@ packages: resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==} engines: {node: '>=10'} - log-update@4.0.0: - resolution: {integrity: sha512-9fkkDevMefjg0mmzWFBW8YkFP91OrizzkW3diF7CpG+S2EYdy4+TVfGwz1zeF8x7hCx1ovSPTOE9Ngib74qqUg==} - engines: {node: '>=10'} - log4js@6.9.1: resolution: {integrity: sha512-1somDdy9sChrr9/f4UlzhdaGfDR2c/SaD2a4T7qEkG4jTS57/B3qmnjLYePwQ8cqWnUHZI0iAKxMBpCZICiZ2g==} engines: {node: '>=8.0'} @@ -6907,10 +6484,6 @@ packages: resolution: {integrity: sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==} engines: {node: '>=12'} - lru-cache@8.0.5: - resolution: {integrity: sha512-MhWWlVnuab1RG5/zMRRcVGXZLCXrZTgfwMikgzCegsPnG62yDQo5JnqKkrK4jO5iKqDAZGItAqN5CtKBCBWRUA==} - engines: {node: '>=16.14'} - lz-string@1.5.0: resolution: {integrity: sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==} hasBin: true @@ -6970,9 +6543,6 @@ packages: engines: {node: '>= 16'} hasBin: true - marky@1.2.5: - resolution: {integrity: sha512-q9JtQJKjpsVxCRVgQ+WapguSbKC3SQ5HEzFGPAJMStgh3QjCawp00UKv3MTTAArTmGmmPUvllHZoNbZ3gs0I+Q==} - matched@5.0.1: resolution: {integrity: sha512-E1fhSTPRyhAlNaNvGXAgZQlq1hL0bgYMTk/6bktVlIhzUnX/SZs7296ACdVeNJE8xFNGSuvd9IpI7vSnmcqLvw==} engines: {node: '>=10'} @@ -7114,6 +6684,11 @@ packages: mlly@1.7.3: resolution: {integrity: sha512-xUsx5n/mN0uQf4V548PKQ+YShA4/IW0KI1dZhrNrPCLG+xizETbHTkOa1f8/xut9JRPp8kQuMnz0oqwkTiLo/A==} + mocha@10.8.2: + resolution: {integrity: sha512-VZlYo/WE8t1tstuRmqgeyBgCbJc/lEdopaa+axcKzTBJ+UIdlAB9XnmvTCAH4pwR4ElNInaedhEBmZD8iCSVEg==} + engines: {node: '>= 14.0.0'} + hasBin: true + mocha@11.0.2: resolution: {integrity: sha512-IpLqigxxL825rKCce2hlJL6qiUNgxbjhpS79SA6NN+Quzrf6wzLezwk4LcfIJp/OUD5BVWTM/nCYc3oQ5uqmfw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -7172,9 +6747,6 @@ packages: mz@2.7.0: resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} - nanocolors@0.2.13: - resolution: {integrity: sha512-0n3mSAQLPpGLV9ORXT5+C/D4mwew7Ebws69Hx4E2sgz2ZA5+32Q80B9tL8PbL7XHnRDiAxH/pnrUJ9a4fkTNTA==} - nanoid@3.3.8: resolution: {integrity: sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} @@ -7289,9 +6861,6 @@ packages: resolution: {integrity: sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==} engines: {node: '>=12'} - only@0.0.2: - resolution: {integrity: sha512-Fvw+Jemq5fjjyWz6CpKx6w9s7xxqo3+JCyM0WXWeCSOboZ8ABkyvP8ID4CZuChA/wxSx+XSJmdOm8rGVyJ1hdQ==} - open@10.1.0: resolution: {integrity: sha512-mnkeQ1qP5Ue2wd+aivTD3NHd/lZ96Lu0jgf0pwktLPtx6cTZiH7tyeGRRHs0zX0rbrahXPnXlUnbeXyaBBuIaw==} engines: {node: '>=18'} @@ -7328,10 +6897,6 @@ packages: outvariant@1.4.3: resolution: {integrity: sha512-+Sl2UErvtsoajRDKCE5/dBz4DIvHXQQnAxtQTF04OJxY0+DyZXSo5P5Bb7XYWOh81syohlYL24hbDwxedPUJCA==} - p-event@4.2.0: - resolution: {integrity: sha512-KXatOjCRXXkSePPb1Nbi0p0m+gQAwdlbhi4wQKJPI1HsMQS9g+Sqp2o+QHziPr7eYJyOZet836KoHEVM1mwOrQ==} - engines: {node: '>=8'} - p-event@5.0.1: resolution: {integrity: sha512-dd589iCQ7m1L0bmC5NLlVYfy3TbBEsMUfWx9PyAgPeIcFZ/E2yaTZ4Rz4MiBmmJShviiftHVXOqfnfzJ6kyMrQ==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -7340,10 +6905,6 @@ packages: resolution: {integrity: sha512-QtoWLjXAW++uTX67HZQz1dbTpqBfiidsB6VtQUC9iR85S120+s0T5sO6s+B5MLzFcZkrEd/DGMmCjR+f2Qpxwg==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - p-finally@1.0.0: - resolution: {integrity: sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==} - engines: {node: '>=4'} - p-limit@2.3.0: resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} engines: {node: '>=6'} @@ -7376,10 +6937,6 @@ packages: resolution: {integrity: sha512-T8BatKGY+k5rU+Q/GTYgrEf2r4xRMevAN5mtXc2aPc4rS1j3s+vWTaO2Wag94neXuCAUAs8cxBL9EeB5EA6diw==} engines: {node: '>=16'} - p-timeout@3.2.0: - resolution: {integrity: sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==} - engines: {node: '>=8'} - p-timeout@5.1.0: resolution: {integrity: sha512-auFDyzzzGZZZdHz3BtET9VEz0SE/uMEAx7uWfGPucfzEwwe/xH0iVeZibQmANYE/hp9T2+UUZT5m+BKyrDp3Ew==} engines: {node: '>=12'} @@ -7546,10 +7103,6 @@ packages: resolution: {integrity: sha512-OLS/0XeUAcE8a2fdwemNja+udKgXNnY6yKVIXqAD2zVRx1KvY6Ato/rZ2vdzbxqYwPW0u6SCNC/bAMPNzpzxbw==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - portfinder@1.0.32: - resolution: {integrity: sha512-on2ZJVVDXRADWE6jnQaX0ioEylzgBpQk8r55NE4wjXW1ZxO+BgDlY6DXwj20i0V8eB4SenDQ00WEaxfiIQPcxg==} - engines: {node: '>= 0.12.0'} - possible-typed-array-names@1.0.0: resolution: {integrity: sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==} engines: {node: '>= 0.4'} @@ -7738,10 +7291,6 @@ packages: resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} engines: {node: '>=8.10.0'} - readdirp@4.0.2: - resolution: {integrity: sha512-yDMz9g+VaZkqBYS/ozoBJwaBhTbZo3UNYQHNRw1D3UFQB8oHB4uS/tAODO+ZLjGWmUbKnIlOWO+aaIiAxrUWHA==} - engines: {node: '>= 14.16.0'} - redent@4.0.0: resolution: {integrity: sha512-tYkDkVVtYkSVhuQ4zBgfvciymHaeuel+zFKXShfDnFP5SyVEP7qo70Rf1jTOTCx3vGNAbnEi/xFkcfQVMIBWag==} engines: {node: '>=12'} @@ -7791,10 +7340,6 @@ packages: resolution: {integrity: sha512-CIw9e64QcKcCFUj9+KxUCJPy8hYofv6eVfo3U9wdhCm2E4IjvFnZ6G4/yIC4yP3f11+h6uU5b3LdS7O64LgqrA==} engines: {node: 16 >=16.17.0 || 18 >= 18.6.0 || >=20} - resolve-path@1.4.0: - resolution: {integrity: sha512-i1xevIst/Qa+nA9olDxLWnLk8YZbi8R/7JPbCMcgyWaFR6bKWaexgJgEB5oc2PKMjYdrHynyz0NY+if+H98t1w==} - engines: {node: '>= 0.8'} - resolve-pkg-maps@1.0.0: resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==} @@ -7922,9 +7467,6 @@ packages: resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==} engines: {node: '>= 0.4'} - setprototypeof@1.1.0: - resolution: {integrity: sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==} - setprototypeof@1.2.0: resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} @@ -8000,10 +7542,6 @@ packages: resolution: {integrity: sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==} engines: {node: '>=12'} - slice-ansi@4.0.0: - resolution: {integrity: sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==} - engines: {node: '>=10'} - smart-buffer@4.2.0: resolution: {integrity: sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==} engines: {node: '>= 6.0.0', npm: '>= 3.0.0'} @@ -8193,10 +7731,6 @@ packages: engines: {node: '>=14'} hasBin: true - table-layout@4.1.1: - resolution: {integrity: sha512-iK5/YhZxq5GO5z8wb0bY1317uDF3Zjpha0QFFLA8/trAoiLbQD0HUbMesEaxyzUgDxi2QlcbM8IvqOlEjgoXBA==} - engines: {node: '>=12.17'} - tapable@2.2.1: resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==} engines: {node: '>=6'} @@ -8314,10 +7848,6 @@ packages: tr46@0.0.3: resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} - tr46@5.0.0: - resolution: {integrity: sha512-tk2G5R2KRwBd+ZN0zaEXpmzdKyOYksXwywulIX95MBODjSzMIuQnQ3m8JxgbhnL1LeVo7lqQKsYa1O3Htl7K5g==} - engines: {node: '>=18'} - tree-dump@1.0.2: resolution: {integrity: sha512-dpev9ABuLWdEubk+cIaI9cHwRNNDjkBBLXTwI4UCUFdQ5xXKqNXoK4FEciw/vxf+NQ7Cb7sGUyeUtORvHIdRXQ==} engines: {node: '>=10.0'} @@ -8372,10 +7902,6 @@ packages: tslib@2.8.1: resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} - tsscmp@1.0.6: - resolution: {integrity: sha512-LxhtAkPDTkVCMQjt2h6eBVY28KCjikZqZfMcC15YBeNjkgUpdCfBu5HoiOTDu86v6smE8yOjyEktJ8hlbANHQA==} - engines: {node: '>=0.6.x'} - tsx@4.19.2: resolution: {integrity: sha512-pOUl6Vo2LUq/bSa8S5q7b91cgNSjctn9ugq/+Mvow99qW6x/UZYwzxy/3NmqoT66eHYfCVvFvACC58UBPFf28g==} engines: {node: '>=18.0.0'} @@ -8478,22 +8004,10 @@ packages: engines: {node: '>=14.17'} hasBin: true - typical@4.0.0: - resolution: {integrity: sha512-VAH4IvQ7BDFYglMd7BPRDfLgxZZX4O4TFcRDA6EN5X7erNJJq+McIEp8np9aVtxrCJ6qx4GTYVfOWNjcqwZgRw==} - engines: {node: '>=8'} - - typical@7.3.0: - resolution: {integrity: sha512-ya4mg/30vm+DOWfBg4YK3j2WD6TWtRkCbasOJr40CseYENzCUby/7rIvXA99JGsQHeNxLbnXdyLLxKSv3tauFw==} - engines: {node: '>=12.17'} - ua-parser-js@0.7.39: resolution: {integrity: sha512-IZ6acm6RhQHNibSt7+c09hhvsKy9WUr4DVbeq9U8o71qxyYtJpQeDxQnMrVqnIFMLcQjHO0I9wgfO2vIahht4w==} hasBin: true - ua-parser-js@1.0.39: - resolution: {integrity: sha512-k24RCVWlEcjkdOxYmVJgeD/0a1TiSpqLg+ZalVGV9lsnr4yqu0w7tX/x2xX6G4zpkgQnRf89lxuZ1wsbjXM8lw==} - hasBin: true - uc.micro@2.1.0: resolution: {integrity: sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==} @@ -8588,10 +8102,6 @@ packages: v8-compile-cache-lib@3.0.1: resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} - v8-to-istanbul@9.3.0: - resolution: {integrity: sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA==} - engines: {node: '>=10.12.0'} - validate-npm-package-license@3.0.4: resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} @@ -8711,14 +8221,6 @@ packages: webidl-conversions@3.0.1: resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} - webidl-conversions@7.0.0: - resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==} - engines: {node: '>=12'} - - whatwg-url@14.1.0: - resolution: {integrity: sha512-jlf/foYIKywAt3x/XWKZ/3rz8OSJPiWktjmk891alJUEjiVxKX9LEO92qH3hv4aJ0mN3MWPvGMCy8jQi95xK4w==} - engines: {node: '>=18'} - whatwg-url@5.0.0: resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} @@ -8756,10 +8258,6 @@ packages: resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} engines: {node: '>=0.10.0'} - wordwrapjs@5.1.0: - resolution: {integrity: sha512-JNjcULU2e4KJwUNv6CHgI46UvDGitb6dGryHajXTDiLgg1/RiGoPSDw4kZfYnwGtEXf2ZMeIewDQgFGzkCB2Sg==} - engines: {node: '>=12.17'} - workerpool@6.5.1: resolution: {integrity: sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA==} @@ -8877,10 +8375,6 @@ packages: yauzl@2.10.0: resolution: {integrity: sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==} - ylru@1.4.0: - resolution: {integrity: sha512-2OQsPNEmBCvXuFlIni/a+Rn+R2pHW9INm0BxXJ4hVDA8TirqMj+J/Rp9ItLatT/5pZqWwefVrTQcHpixsxnVlA==} - engines: {node: '>= 4.0.0'} - yn@3.1.1: resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==} engines: {node: '>=6'} @@ -9454,213 +8948,141 @@ snapshots: '@esbuild/aix-ppc64@0.23.1': optional: true - '@esbuild/aix-ppc64@0.24.0': - optional: true - '@esbuild/android-arm64@0.21.5': optional: true '@esbuild/android-arm64@0.23.1': optional: true - '@esbuild/android-arm64@0.24.0': - optional: true - '@esbuild/android-arm@0.21.5': optional: true '@esbuild/android-arm@0.23.1': optional: true - '@esbuild/android-arm@0.24.0': - optional: true - '@esbuild/android-x64@0.21.5': optional: true '@esbuild/android-x64@0.23.1': optional: true - '@esbuild/android-x64@0.24.0': - optional: true - '@esbuild/darwin-arm64@0.21.5': optional: true '@esbuild/darwin-arm64@0.23.1': optional: true - '@esbuild/darwin-arm64@0.24.0': - optional: true - '@esbuild/darwin-x64@0.21.5': optional: true '@esbuild/darwin-x64@0.23.1': optional: true - '@esbuild/darwin-x64@0.24.0': - optional: true - '@esbuild/freebsd-arm64@0.21.5': optional: true '@esbuild/freebsd-arm64@0.23.1': optional: true - '@esbuild/freebsd-arm64@0.24.0': - optional: true - '@esbuild/freebsd-x64@0.21.5': optional: true '@esbuild/freebsd-x64@0.23.1': optional: true - '@esbuild/freebsd-x64@0.24.0': - optional: true - '@esbuild/linux-arm64@0.21.5': optional: true '@esbuild/linux-arm64@0.23.1': optional: true - '@esbuild/linux-arm64@0.24.0': - optional: true - '@esbuild/linux-arm@0.21.5': optional: true '@esbuild/linux-arm@0.23.1': optional: true - '@esbuild/linux-arm@0.24.0': - optional: true - '@esbuild/linux-ia32@0.21.5': optional: true '@esbuild/linux-ia32@0.23.1': optional: true - '@esbuild/linux-ia32@0.24.0': - optional: true - '@esbuild/linux-loong64@0.21.5': optional: true '@esbuild/linux-loong64@0.23.1': optional: true - '@esbuild/linux-loong64@0.24.0': - optional: true - '@esbuild/linux-mips64el@0.21.5': optional: true '@esbuild/linux-mips64el@0.23.1': optional: true - '@esbuild/linux-mips64el@0.24.0': - optional: true - '@esbuild/linux-ppc64@0.21.5': optional: true '@esbuild/linux-ppc64@0.23.1': optional: true - '@esbuild/linux-ppc64@0.24.0': - optional: true - '@esbuild/linux-riscv64@0.21.5': optional: true '@esbuild/linux-riscv64@0.23.1': optional: true - '@esbuild/linux-riscv64@0.24.0': - optional: true - '@esbuild/linux-s390x@0.21.5': optional: true '@esbuild/linux-s390x@0.23.1': optional: true - '@esbuild/linux-s390x@0.24.0': - optional: true - '@esbuild/linux-x64@0.21.5': optional: true '@esbuild/linux-x64@0.23.1': optional: true - '@esbuild/linux-x64@0.24.0': - optional: true - '@esbuild/netbsd-x64@0.21.5': optional: true '@esbuild/netbsd-x64@0.23.1': optional: true - '@esbuild/netbsd-x64@0.24.0': - optional: true - '@esbuild/openbsd-arm64@0.23.1': optional: true - '@esbuild/openbsd-arm64@0.24.0': - optional: true - '@esbuild/openbsd-x64@0.21.5': optional: true '@esbuild/openbsd-x64@0.23.1': optional: true - '@esbuild/openbsd-x64@0.24.0': - optional: true - '@esbuild/sunos-x64@0.21.5': optional: true '@esbuild/sunos-x64@0.23.1': optional: true - '@esbuild/sunos-x64@0.24.0': - optional: true - '@esbuild/win32-arm64@0.21.5': optional: true '@esbuild/win32-arm64@0.23.1': optional: true - '@esbuild/win32-arm64@0.24.0': - optional: true - '@esbuild/win32-ia32@0.21.5': optional: true '@esbuild/win32-ia32@0.23.1': optional: true - '@esbuild/win32-ia32@0.24.0': - optional: true - '@esbuild/win32-x64@0.21.5': optional: true '@esbuild/win32-x64@0.23.1': optional: true - '@esbuild/win32-x64@0.24.0': - optional: true - '@eslint-community/eslint-utils@4.4.1(eslint@8.57.1)': dependencies: eslint: 8.57.1 @@ -9741,8 +9163,6 @@ snapshots: protobufjs: 7.4.0 yargs: 17.7.2 - '@hapi/bourne@3.0.0': {} - '@humanfs/core@0.19.1': {} '@humanfs/node@0.16.6': @@ -9883,8 +9303,6 @@ snapshots: dependencies: tslib: 2.8.1 - '@mdn/browser-compat-data@4.2.1': {} - '@microsoft/api-extractor-model@7.30.0(@types/node@18.19.68)': dependencies: '@microsoft/tsdoc': 0.15.1 @@ -11844,15 +11262,13 @@ snapshots: dependencies: '@azure-tools/test-credential': 1.3.1 '@azure-tools/test-recorder': 3.5.2 - '@azure/abort-controller': 1.1.0 - '@azure/arm-network': 32.2.0 '@azure/core-lro': 2.7.2 '@types/chai': 4.3.20 '@types/mocha': 10.0.10 '@types/node': 18.19.68 chai: 4.5.0 dotenv: 16.4.7 - mocha: 11.0.2 + mocha: 10.8.2 ts-node: 10.9.2(@types/node@18.19.68)(typescript@5.6.3) tslib: 2.8.1 tsx: 4.19.2 @@ -19077,12 +18493,9 @@ snapshots: '@types/node': 18.19.68 dotenv: 16.4.7 eslint: 9.17.0 - ts-node: 10.9.2(@types/node@18.19.68)(typescript@5.6.3) tslib: 2.8.1 typescript: 5.6.3 transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' - jiti - supports-color @@ -19091,12 +18504,9 @@ snapshots: '@types/node': 18.19.68 dotenv: 16.4.7 eslint: 9.17.0 - ts-node: 10.9.2(@types/node@18.19.68)(typescript@5.6.3) tslib: 2.8.1 typescript: 5.6.3 transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' - jiti - supports-color @@ -19134,13 +18544,10 @@ snapshots: dotenv: 16.4.7 eslint: 9.17.0 express: 4.21.2 - ts-node: 10.9.2(@types/node@18.19.68)(typescript@5.6.3) tslib: 2.8.1 typescript: 5.6.3 undici: 7.1.0 transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' - jiti - supports-color @@ -20428,15 +19835,11 @@ snapshots: '@types/chai-as-promised': 7.1.8 '@types/node': 18.19.68 '@types/sinon': 17.0.3 - '@web/dev-server-esbuild': 1.0.3 - '@web/test-runner': 0.19.0 - '@web/test-runner-playwright': 0.11.0 chai: 4.5.0 chai-as-promised: 7.1.2(chai@4.5.0) chai-exclude: 2.1.1(chai@4.5.0) eslint: 9.17.0 mocha: 11.0.2 - playwright: 1.49.1 sinon: 19.0.2 ts-node: 10.9.2(@types/node@18.19.68)(typescript@5.6.3) tslib: 2.8.1 @@ -20444,10 +19847,8 @@ snapshots: transitivePeerDependencies: - '@swc/core' - '@swc/wasm' - - bufferutil - jiti - supports-color - - utf-8-validate '@rush-temp/ts-http-runtime@file:projects/ts-http-runtime.tgz(msw@2.6.8(@types/node@22.7.9)(typescript@5.7.2))(vite@5.4.11(@types/node@22.7.9))': dependencies: @@ -20730,10 +20131,6 @@ snapshots: '@tsconfig/node16@1.0.4': {} - '@types/accepts@1.3.7': - dependencies: - '@types/node': 22.7.9 - '@types/archiver@6.0.3': dependencies: '@types/readdir-glob': 1.1.5 @@ -20742,8 +20139,6 @@ snapshots: '@types/aria-query@5.0.4': {} - '@types/babel__code-frame@7.0.6': {} - '@types/body-parser@1.19.5': dependencies: '@types/connect': 3.4.38 @@ -20767,38 +20162,18 @@ snapshots: dependencies: '@types/deep-eql': 4.0.2 - '@types/co-body@6.1.3': - dependencies: - '@types/node': 22.7.9 - '@types/qs': 6.9.17 - - '@types/command-line-args@5.2.3': {} - '@types/connect@3.4.38': dependencies: '@types/node': 18.19.68 - '@types/content-disposition@0.5.8': {} - - '@types/convert-source-map@2.0.3': {} - '@types/cookie@0.4.1': {} '@types/cookie@0.6.0': {} - '@types/cookies@0.9.0': - dependencies: - '@types/connect': 3.4.38 - '@types/express': 4.17.21 - '@types/keygrip': 1.0.6 - '@types/node': 22.7.9 - '@types/cors@2.8.17': dependencies: '@types/node': 18.19.68 - '@types/debounce@1.2.4': {} - '@types/debug@4.1.12': dependencies: '@types/ms': 0.7.34 @@ -20850,8 +20225,6 @@ snapshots: '@types/minimatch': 5.1.2 '@types/node': 18.19.68 - '@types/http-assert@1.5.6': {} - '@types/http-errors@2.0.4': {} '@types/inquirer@9.0.7': @@ -20863,16 +20236,6 @@ snapshots: dependencies: '@types/node': 18.19.68 - '@types/istanbul-lib-coverage@2.0.6': {} - - '@types/istanbul-lib-report@3.0.3': - dependencies: - '@types/istanbul-lib-coverage': 2.0.6 - - '@types/istanbul-reports@3.0.4': - dependencies: - '@types/istanbul-lib-report': 3.0.3 - '@types/json-schema@7.0.15': {} '@types/jsonfile@6.1.4': @@ -20887,23 +20250,6 @@ snapshots: dependencies: '@types/node': 18.19.68 - '@types/keygrip@1.0.6': {} - - '@types/koa-compose@3.2.8': - dependencies: - '@types/koa': 2.15.0 - - '@types/koa@2.15.0': - dependencies: - '@types/accepts': 1.3.7 - '@types/content-disposition': 0.5.8 - '@types/cookies': 0.9.0 - '@types/http-assert': 1.5.6 - '@types/http-errors': 2.0.4 - '@types/keygrip': 1.0.6 - '@types/koa-compose': 3.2.8 - '@types/node': 22.7.9 - '@types/linkify-it@5.0.0': {} '@types/markdown-it@14.1.2': @@ -20954,8 +20300,6 @@ snapshots: '@types/pako@2.0.3': {} - '@types/parse5@6.0.3': {} - '@types/pg-pool@2.0.6': dependencies: '@types/pg': 8.6.1 @@ -21361,195 +20705,6 @@ snapshots: loupe: 3.1.2 tinyrainbow: 1.2.0 - '@web/browser-logs@0.4.0': - dependencies: - errorstacks: 2.4.1 - - '@web/config-loader@0.3.2': {} - - '@web/dev-server-core@0.7.4': - dependencies: - '@types/koa': 2.15.0 - '@types/ws': 7.4.7 - '@web/parse5-utils': 2.1.0 - chokidar: 4.0.2 - clone: 2.1.2 - es-module-lexer: 1.5.4 - get-stream: 6.0.1 - is-stream: 2.0.1 - isbinaryfile: 5.0.4 - koa: 2.15.3 - koa-etag: 4.0.0 - koa-send: 5.0.1 - koa-static: 5.0.0 - lru-cache: 8.0.5 - mime-types: 2.1.35 - parse5: 6.0.1 - picomatch: 2.3.1 - ws: 7.5.10 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - - '@web/dev-server-esbuild@1.0.3': - dependencies: - '@mdn/browser-compat-data': 4.2.1 - '@web/dev-server-core': 0.7.4 - esbuild: 0.24.0 - parse5: 6.0.1 - ua-parser-js: 1.0.39 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - - '@web/dev-server-rollup@0.6.4': - dependencies: - '@rollup/plugin-node-resolve': 15.3.0(rollup@4.28.1) - '@web/dev-server-core': 0.7.4 - nanocolors: 0.2.13 - parse5: 6.0.1 - rollup: 4.28.1 - whatwg-url: 14.1.0 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - - '@web/dev-server@0.4.6': - dependencies: - '@babel/code-frame': 7.26.2 - '@types/command-line-args': 5.2.3 - '@web/config-loader': 0.3.2 - '@web/dev-server-core': 0.7.4 - '@web/dev-server-rollup': 0.6.4 - camelcase: 6.3.0 - command-line-args: 5.2.1 - command-line-usage: 7.0.3 - debounce: 1.2.1 - deepmerge: 4.3.1 - internal-ip: 6.2.0 - nanocolors: 0.2.13 - open: 8.4.2 - portfinder: 1.0.32 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - - '@web/parse5-utils@2.1.0': - dependencies: - '@types/parse5': 6.0.3 - parse5: 6.0.1 - - '@web/test-runner-chrome@0.17.0': - dependencies: - '@web/test-runner-core': 0.13.4 - '@web/test-runner-coverage-v8': 0.8.0 - async-mutex: 0.4.0 - chrome-launcher: 0.15.2 - puppeteer-core: 23.10.4 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - - '@web/test-runner-commands@0.9.0': - dependencies: - '@web/test-runner-core': 0.13.4 - mkdirp: 1.0.4 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - - '@web/test-runner-core@0.13.4': - dependencies: - '@babel/code-frame': 7.26.2 - '@types/babel__code-frame': 7.0.6 - '@types/co-body': 6.1.3 - '@types/convert-source-map': 2.0.3 - '@types/debounce': 1.2.4 - '@types/istanbul-lib-coverage': 2.0.6 - '@types/istanbul-reports': 3.0.4 - '@web/browser-logs': 0.4.0 - '@web/dev-server-core': 0.7.4 - chokidar: 4.0.2 - cli-cursor: 3.1.0 - co-body: 6.2.0 - convert-source-map: 2.0.0 - debounce: 1.2.1 - dependency-graph: 0.11.0 - globby: 11.1.0 - internal-ip: 6.2.0 - istanbul-lib-coverage: 3.2.2 - istanbul-lib-report: 3.0.1 - istanbul-reports: 3.1.7 - log-update: 4.0.0 - nanocolors: 0.2.13 - nanoid: 3.3.8 - open: 8.4.2 - picomatch: 2.3.1 - source-map: 0.7.4 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - - '@web/test-runner-coverage-v8@0.8.0': - dependencies: - '@web/test-runner-core': 0.13.4 - istanbul-lib-coverage: 3.2.2 - lru-cache: 8.0.5 - picomatch: 2.3.1 - v8-to-istanbul: 9.3.0 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - - '@web/test-runner-mocha@0.9.0': - dependencies: - '@web/test-runner-core': 0.13.4 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - - '@web/test-runner-playwright@0.11.0': - dependencies: - '@web/test-runner-core': 0.13.4 - '@web/test-runner-coverage-v8': 0.8.0 - playwright: 1.49.1 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - - '@web/test-runner@0.19.0': - dependencies: - '@web/browser-logs': 0.4.0 - '@web/config-loader': 0.3.2 - '@web/dev-server': 0.4.6 - '@web/test-runner-chrome': 0.17.0 - '@web/test-runner-commands': 0.9.0 - '@web/test-runner-core': 0.13.4 - '@web/test-runner-mocha': 0.9.0 - camelcase: 6.3.0 - command-line-args: 5.2.1 - command-line-usage: 7.0.3 - convert-source-map: 2.0.0 - diff: 5.2.0 - globby: 11.1.0 - nanocolors: 0.2.13 - portfinder: 1.0.32 - source-map: 0.7.4 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - abort-controller@3.0.0: dependencies: event-target-shim: 5.0.1 @@ -21678,10 +20833,6 @@ snapshots: dependencies: dequal: 2.0.3 - array-back@3.1.0: {} - - array-back@6.2.2: {} - array-flatten@1.1.1: {} array-union@2.1.0: {} @@ -21698,16 +20849,6 @@ snapshots: dependencies: tslib: 2.8.1 - astral-regex@2.0.0: {} - - async-mutex@0.4.0: - dependencies: - tslib: 2.8.1 - - async@2.6.4: - dependencies: - lodash: 4.17.21 - asynckit@0.4.0: {} autorest@3.7.1: {} @@ -21838,11 +20979,6 @@ snapshots: cac@6.7.14: {} - cache-content-type@1.0.1: - dependencies: - mime-types: 2.1.35 - ylru: 1.4.0 - caching-transform@4.0.0: dependencies: hasha: 5.2.2 @@ -21934,10 +21070,6 @@ snapshots: loupe: 3.1.2 pathval: 2.0.0 - chalk-template@0.4.0: - dependencies: - chalk: 4.1.2 - chalk@2.4.2: dependencies: ansi-styles: 3.2.1 @@ -21979,19 +21111,8 @@ snapshots: optionalDependencies: fsevents: 2.3.3 - chokidar@4.0.2: - dependencies: - readdirp: 4.0.2 - chownr@1.1.4: {} - chrome-launcher@0.15.2: - dependencies: - '@types/node': 22.7.9 - escape-string-regexp: 4.0.0 - is-wsl: 2.2.0 - lighthouse-logger: 1.4.2 - chromium-bidi@0.8.0(devtools-protocol@0.0.1367902): dependencies: devtools-protocol: 0.0.1367902 @@ -22050,18 +21171,6 @@ snapshots: clone@1.0.4: {} - clone@2.1.2: {} - - co-body@6.2.0: - dependencies: - '@hapi/bourne': 3.0.0 - inflation: 2.1.0 - qs: 6.13.0 - raw-body: 2.5.2 - type-is: 1.6.18 - - co@4.6.0: {} - code-block-writer@13.0.3: {} color-convert@1.9.3: @@ -22082,20 +21191,6 @@ snapshots: dependencies: delayed-stream: 1.0.0 - command-line-args@5.2.1: - dependencies: - array-back: 3.1.0 - find-replace: 3.0.0 - lodash.camelcase: 4.3.0 - typical: 4.0.0 - - command-line-usage@7.0.3: - dependencies: - array-back: 6.2.2 - chalk-template: 0.4.0 - table-layout: 4.1.1 - typical: 7.3.0 - commander@10.0.1: {} commander@2.20.3: {} @@ -22143,11 +21238,6 @@ snapshots: cookie@0.7.2: {} - cookies@0.9.1: - dependencies: - depd: 2.0.0 - keygrip: 1.1.0 - copyfiles@2.4.1: dependencies: glob: 7.2.3 @@ -22222,16 +21312,10 @@ snapshots: dayjs@1.11.13: {} - debounce@1.2.1: {} - debug@2.6.9: dependencies: ms: 2.0.0 - debug@3.2.7: - dependencies: - ms: 2.1.3 - debug@4.3.7: dependencies: ms: 2.1.3 @@ -22301,8 +21385,6 @@ snapshots: deep-eql@5.0.2: {} - deep-equal@1.0.1: {} - deep-extend@0.6.0: {} deep-is@0.1.4: {} @@ -22316,10 +21398,6 @@ snapshots: bundle-name: 4.1.0 default-browser-id: 5.0.0 - default-gateway@6.0.3: - dependencies: - execa: 5.1.1 - default-require-extensions@3.0.1: dependencies: strip-bom: 4.0.0 @@ -22346,14 +21424,8 @@ snapshots: delayed-stream@1.0.0: {} - delegates@1.0.0: {} - - depd@1.1.2: {} - depd@2.0.0: {} - dependency-graph@0.11.0: {} - dequal@2.0.3: {} destroy@1.2.0: {} @@ -22459,8 +21531,6 @@ snapshots: dependencies: is-arrayish: 0.2.1 - errorstacks@2.4.1: {} - es-define-property@1.0.1: {} es-errors@1.3.0: {} @@ -22528,33 +21598,6 @@ snapshots: '@esbuild/win32-ia32': 0.23.1 '@esbuild/win32-x64': 0.23.1 - esbuild@0.24.0: - optionalDependencies: - '@esbuild/aix-ppc64': 0.24.0 - '@esbuild/android-arm': 0.24.0 - '@esbuild/android-arm64': 0.24.0 - '@esbuild/android-x64': 0.24.0 - '@esbuild/darwin-arm64': 0.24.0 - '@esbuild/darwin-x64': 0.24.0 - '@esbuild/freebsd-arm64': 0.24.0 - '@esbuild/freebsd-x64': 0.24.0 - '@esbuild/linux-arm': 0.24.0 - '@esbuild/linux-arm64': 0.24.0 - '@esbuild/linux-ia32': 0.24.0 - '@esbuild/linux-loong64': 0.24.0 - '@esbuild/linux-mips64el': 0.24.0 - '@esbuild/linux-ppc64': 0.24.0 - '@esbuild/linux-riscv64': 0.24.0 - '@esbuild/linux-s390x': 0.24.0 - '@esbuild/linux-x64': 0.24.0 - '@esbuild/netbsd-x64': 0.24.0 - '@esbuild/openbsd-arm64': 0.24.0 - '@esbuild/openbsd-x64': 0.24.0 - '@esbuild/sunos-x64': 0.24.0 - '@esbuild/win32-arm64': 0.24.0 - '@esbuild/win32-ia32': 0.24.0 - '@esbuild/win32-x64': 0.24.0 - escalade@3.2.0: {} escape-html@1.0.3: {} @@ -22946,10 +21989,6 @@ snapshots: make-dir: 3.1.0 pkg-dir: 4.2.0 - find-replace@3.0.0: - dependencies: - array-back: 3.1.0 - find-up@4.1.0: dependencies: locate-path: 5.0.0 @@ -23145,15 +22184,6 @@ snapshots: merge2: 1.4.1 slash: 3.0.0 - globby@11.1.0: - dependencies: - array-union: 2.1.0 - dir-glob: 3.0.1 - fast-glob: 3.3.2 - ignore: 5.3.2 - merge2: 1.4.1 - slash: 3.0.0 - globby@13.2.2: dependencies: dir-glob: 3.0.1 @@ -23207,26 +22237,6 @@ snapshots: html-escaper@2.0.2: {} - http-assert@1.5.0: - dependencies: - deep-equal: 1.0.1 - http-errors: 1.8.1 - - http-errors@1.6.3: - dependencies: - depd: 1.1.2 - inherits: 2.0.3 - setprototypeof: 1.1.0 - statuses: 1.5.0 - - http-errors@1.8.1: - dependencies: - depd: 1.1.2 - inherits: 2.0.4 - setprototypeof: 1.2.0 - statuses: 1.5.0 - toidentifier: 1.0.1 - http-errors@2.0.0: dependencies: depd: 2.0.0 @@ -23301,15 +22311,11 @@ snapshots: indent-string@5.0.0: {} - inflation@2.1.0: {} - inflight@1.0.6: dependencies: once: 1.4.0 wrappy: 1.0.2 - inherits@2.0.3: {} - inherits@2.0.4: {} ini@1.3.8: {} @@ -23329,20 +22335,11 @@ snapshots: wrap-ansi: 6.2.0 yoctocolors-cjs: 2.1.2 - internal-ip@6.2.0: - dependencies: - default-gateway: 6.0.3 - ipaddr.js: 1.9.1 - is-ip: 3.1.0 - p-event: 4.2.0 - ip-address@9.0.5: dependencies: jsbn: 1.1.0 sprintf-js: 1.1.3 - ip-regex@4.3.0: {} - ipaddr.js@1.9.1: {} is-alphabetical@1.0.4: {} @@ -23397,10 +22394,6 @@ snapshots: is-interactive@1.0.0: {} - is-ip@3.1.0: - dependencies: - ip-regex: 4.3.0 - is-module@1.0.0: {} is-natural-number@4.0.1: {} @@ -23451,8 +22444,6 @@ snapshots: isbinaryfile@4.0.10: {} - isbinaryfile@5.0.4: {} - isexe@2.0.0: {} istanbul-lib-coverage@3.2.2: {} @@ -23727,10 +22718,6 @@ snapshots: - supports-color - utf-8-validate - keygrip@1.1.0: - dependencies: - tsscmp: 1.0.6 - keytar@7.9.0: dependencies: node-addon-api: 4.3.0 @@ -23748,60 +22735,6 @@ snapshots: kleur@3.0.3: {} - koa-compose@4.1.0: {} - - koa-convert@2.0.0: - dependencies: - co: 4.6.0 - koa-compose: 4.1.0 - - koa-etag@4.0.0: - dependencies: - etag: 1.8.1 - - koa-send@5.0.1: - dependencies: - debug: 4.4.0(supports-color@8.1.1) - http-errors: 1.8.1 - resolve-path: 1.4.0 - transitivePeerDependencies: - - supports-color - - koa-static@5.0.0: - dependencies: - debug: 3.2.7 - koa-send: 5.0.1 - transitivePeerDependencies: - - supports-color - - koa@2.15.3: - dependencies: - accepts: 1.3.8 - cache-content-type: 1.0.1 - content-disposition: 0.5.4 - content-type: 1.0.5 - cookies: 0.9.1 - debug: 4.4.0(supports-color@8.1.1) - delegates: 1.0.0 - depd: 2.0.0 - destroy: 1.2.0 - encodeurl: 1.0.2 - escape-html: 1.0.3 - fresh: 0.5.2 - http-assert: 1.5.0 - http-errors: 1.8.1 - is-generator-function: 1.0.10 - koa-compose: 4.1.0 - koa-convert: 2.0.0 - on-finished: 2.4.1 - only: 0.0.2 - parseurl: 1.3.3 - statuses: 1.5.0 - type-is: 1.6.18 - vary: 1.1.2 - transitivePeerDependencies: - - supports-color - levn@0.3.0: dependencies: prelude-ls: 1.1.2 @@ -23812,11 +22745,6 @@ snapshots: prelude-ls: 1.2.1 type-check: 0.4.0 - lighthouse-logger@1.4.2: - dependencies: - debug: 2.6.9 - marky: 1.2.5 - lines-and-columns@1.2.4: {} linkify-it@5.0.0: @@ -23869,13 +22797,6 @@ snapshots: chalk: 4.1.2 is-unicode-supported: 0.1.0 - log-update@4.0.0: - dependencies: - ansi-escapes: 4.3.2 - cli-cursor: 3.1.0 - slice-ansi: 4.0.0 - wrap-ansi: 6.2.0 - log4js@6.9.1: dependencies: date-format: 4.0.14 @@ -23917,8 +22838,6 @@ snapshots: lru-cache@7.18.3: {} - lru-cache@8.0.5: {} - lz-string@1.5.0: {} magic-string@0.30.15: @@ -23978,8 +22897,6 @@ snapshots: marked@9.1.6: {} - marky@1.2.5: {} - matched@5.0.1: dependencies: glob: 7.2.3 @@ -24112,6 +23029,29 @@ snapshots: pkg-types: 1.2.1 ufo: 1.5.4 + mocha@10.8.2: + dependencies: + ansi-colors: 4.1.3 + browser-stdout: 1.3.1 + chokidar: 3.6.0 + debug: 4.4.0(supports-color@8.1.1) + diff: 5.2.0 + escape-string-regexp: 4.0.0 + find-up: 5.0.0 + glob: 8.1.0 + he: 1.2.0 + js-yaml: 4.1.0 + log-symbols: 4.1.0 + minimatch: 5.1.6 + ms: 2.1.3 + serialize-javascript: 6.0.2 + strip-json-comments: 3.1.1 + supports-color: 8.1.1 + workerpool: 6.5.1 + yargs: 16.2.0 + yargs-parser: 20.2.9 + yargs-unparser: 2.0.0 + mocha@11.0.2: dependencies: ansi-colors: 4.1.3 @@ -24294,8 +23234,6 @@ snapshots: object-assign: 4.1.1 thenify-all: 1.6.0 - nanocolors@0.2.13: {} - nanoid@3.3.8: {} napi-build-utils@1.0.2: {} @@ -24435,8 +23373,6 @@ snapshots: dependencies: mimic-fn: 4.0.0 - only@0.0.2: {} - open@10.1.0: dependencies: default-browser: 5.2.1 @@ -24498,10 +23434,6 @@ snapshots: outvariant@1.4.3: {} - p-event@4.2.0: - dependencies: - p-timeout: 3.2.0 - p-event@5.0.1: dependencies: p-timeout: 5.1.0 @@ -24510,8 +23442,6 @@ snapshots: dependencies: p-map: 5.5.0 - p-finally@1.0.0: {} - p-limit@2.3.0: dependencies: p-try: 2.2.0 @@ -24542,10 +23472,6 @@ snapshots: p-map@6.0.0: {} - p-timeout@3.2.0: - dependencies: - p-finally: 1.0.0 - p-timeout@5.1.0: {} p-try@2.2.0: {} @@ -24692,12 +23618,6 @@ snapshots: polite-json@5.0.0: {} - portfinder@1.0.32: - dependencies: - async: 2.6.4 - debug: 3.2.7 - mkdirp: 0.5.6 - possible-typed-array-names@1.0.0: {} postcss@8.4.49: @@ -24937,8 +23857,6 @@ snapshots: dependencies: picomatch: 2.3.1 - readdirp@4.0.2: {} - redent@4.0.0: dependencies: indent-string: 5.0.0 @@ -24981,11 +23899,6 @@ snapshots: glob: 10.4.5 walk-up-path: 3.0.1 - resolve-path@1.4.0: - dependencies: - http-errors: 1.6.3 - path-is-absolute: 1.0.1 - resolve-pkg-maps@1.0.0: {} resolve@1.19.0: @@ -25149,8 +24062,6 @@ snapshots: gopd: 1.2.0 has-property-descriptors: 1.0.2 - setprototypeof@1.1.0: {} - setprototypeof@1.2.0: {} shebang-command@2.0.0: @@ -25239,12 +24150,6 @@ snapshots: slash@4.0.0: {} - slice-ansi@4.0.0: - dependencies: - ansi-styles: 4.3.0 - astral-regex: 2.0.0 - is-fullwidth-code-point: 3.0.0 - smart-buffer@4.2.0: {} socket.io-adapter@2.5.5: @@ -25450,11 +24355,6 @@ snapshots: path-scurry: 1.11.1 rimraf: 5.0.10 - table-layout@4.1.1: - dependencies: - array-back: 6.2.2 - wordwrapjs: 5.1.0 - tapable@2.2.1: {} tar-fs@2.1.1: @@ -25583,10 +24483,6 @@ snapshots: tr46@0.0.3: {} - tr46@5.0.0: - dependencies: - punycode: 2.3.1 - tree-dump@1.0.2(tslib@2.8.1): dependencies: tslib: 2.8.1 @@ -25672,8 +24568,6 @@ snapshots: tslib@2.8.1: {} - tsscmp@1.0.6: {} - tsx@4.19.2: dependencies: esbuild: 0.23.1 @@ -25748,14 +24642,8 @@ snapshots: typescript@5.7.2: {} - typical@4.0.0: {} - - typical@7.3.0: {} - ua-parser-js@0.7.39: {} - ua-parser-js@1.0.39: {} - uc.micro@2.1.0: {} ufo@1.5.4: {} @@ -25830,12 +24718,6 @@ snapshots: v8-compile-cache-lib@3.0.1: {} - v8-to-istanbul@9.3.0: - dependencies: - '@jridgewell/trace-mapping': 0.3.25 - '@types/istanbul-lib-coverage': 2.0.6 - convert-source-map: 2.0.0 - validate-npm-package-license@3.0.4: dependencies: spdx-correct: 3.2.0 @@ -26097,13 +24979,6 @@ snapshots: webidl-conversions@3.0.1: {} - webidl-conversions@7.0.0: {} - - whatwg-url@14.1.0: - dependencies: - tr46: 5.0.0 - webidl-conversions: 7.0.0 - whatwg-url@5.0.0: dependencies: tr46: 0.0.3 @@ -26144,8 +25019,6 @@ snapshots: word-wrap@1.2.5: {} - wordwrapjs@5.1.0: {} - workerpool@6.5.1: {} wrap-ansi@6.2.0: @@ -26252,8 +25125,6 @@ snapshots: buffer-crc32: 0.2.13 fd-slicer: 1.1.0 - ylru@1.4.0: {} - yn@3.1.1: {} yocto-queue@0.1.0: {} diff --git a/sdk/compute/arm-compute/CHANGELOG.md b/sdk/compute/arm-compute/CHANGELOG.md index dc8b08a3c947..a11e96a3c27e 100644 --- a/sdk/compute/arm-compute/CHANGELOG.md +++ b/sdk/compute/arm-compute/CHANGELOG.md @@ -1,15 +1,92 @@ # Release History - -## 22.1.1 (Unreleased) - + +## 22.2.0 (2024-12-17) + ### Features Added -### Breaking Changes - -### Bugs Fixed - -### Other Changes - + - Added operation group GalleryInVMAccessControlProfiles + - Added operation group GalleryInVMAccessControlProfileVersions + - Added operation group SoftDeletedResource + - Added Interface AccessControlRules + - Added Interface AccessControlRulesIdentity + - Added Interface AccessControlRulesPrivilege + - Added Interface AccessControlRulesRole + - Added Interface AccessControlRulesRoleAssignment + - Added Interface AdditionalReplicaSet + - Added Interface ExecutedValidation + - Added Interface GalleryIdentity + - Added Interface GalleryInVMAccessControlProfile + - Added Interface GalleryInVMAccessControlProfileList + - Added Interface GalleryInVMAccessControlProfileProperties + - Added Interface GalleryInVMAccessControlProfilesCreateOrUpdateOptionalParams + - Added Interface GalleryInVMAccessControlProfilesDeleteHeaders + - Added Interface GalleryInVMAccessControlProfilesDeleteOptionalParams + - Added Interface GalleryInVMAccessControlProfilesGetOptionalParams + - Added Interface GalleryInVMAccessControlProfilesListByGalleryNextOptionalParams + - Added Interface GalleryInVMAccessControlProfilesListByGalleryOptionalParams + - Added Interface GalleryInVMAccessControlProfilesUpdateOptionalParams + - Added Interface GalleryInVMAccessControlProfileUpdate + - Added Interface GalleryInVMAccessControlProfileVersion + - Added Interface GalleryInVMAccessControlProfileVersionList + - Added Interface GalleryInVMAccessControlProfileVersionProperties + - Added Interface GalleryInVMAccessControlProfileVersionsCreateOrUpdateOptionalParams + - Added Interface GalleryInVMAccessControlProfileVersionsDeleteHeaders + - Added Interface GalleryInVMAccessControlProfileVersionsDeleteOptionalParams + - Added Interface GalleryInVMAccessControlProfileVersionsGetOptionalParams + - Added Interface GalleryInVMAccessControlProfileVersionsListByGalleryInVMAccessControlProfileNextOptionalParams + - Added Interface GalleryInVMAccessControlProfileVersionsListByGalleryInVMAccessControlProfileOptionalParams + - Added Interface GalleryInVMAccessControlProfileVersionsUpdateOptionalParams + - Added Interface GalleryInVMAccessControlProfileVersionUpdate + - Added Interface GalleryResourceProfilePropertiesBase + - Added Interface GalleryResourceProfileVersionPropertiesBase + - Added Interface GallerySoftDeletedResource + - Added Interface GallerySoftDeletedResourceList + - Added Interface PlatformAttribute + - Added Interface SoftDeletedResourceListByArtifactNameNextOptionalParams + - Added Interface SoftDeletedResourceListByArtifactNameOptionalParams + - Added Interface ValidationsProfile + - Added Type Alias AccessControlRulesMode + - Added Type Alias EndpointAccess + - Added Type Alias EndpointTypes + - Added Type Alias GalleryApplicationScriptRebootBehavior + - Added Type Alias GalleryInVMAccessControlProfilesCreateOrUpdateResponse + - Added Type Alias GalleryInVMAccessControlProfilesDeleteResponse + - Added Type Alias GalleryInVMAccessControlProfilesGetResponse + - Added Type Alias GalleryInVMAccessControlProfilesListByGalleryNextResponse + - Added Type Alias GalleryInVMAccessControlProfilesListByGalleryResponse + - Added Type Alias GalleryInVMAccessControlProfilesUpdateResponse + - Added Type Alias GalleryInVMAccessControlProfileVersionsCreateOrUpdateResponse + - Added Type Alias GalleryInVMAccessControlProfileVersionsDeleteResponse + - Added Type Alias GalleryInVMAccessControlProfileVersionsGetResponse + - Added Type Alias GalleryInVMAccessControlProfileVersionsListByGalleryInVMAccessControlProfileNextResponse + - Added Type Alias GalleryInVMAccessControlProfileVersionsListByGalleryInVMAccessControlProfileResponse + - Added Type Alias GalleryInVMAccessControlProfileVersionsUpdateResponse + - Added Type Alias SoftDeletedArtifactTypes + - Added Type Alias SoftDeletedResourceListByArtifactNameNextResponse + - Added Type Alias SoftDeletedResourceListByArtifactNameResponse + - Added Type Alias ValidationStatus + - Interface CloudServiceVaultCertificate has a new optional parameter isBootstrapCertificate + - Interface Gallery has a new optional parameter identity + - Interface GalleryImage has a new optional parameter allowUpdateImage + - Interface GalleryImageFeature has a new optional parameter startsAtVersion + - Interface GalleryImageUpdate has a new optional parameter allowUpdateImage + - Interface GalleryImageVersion has a new optional parameter restore + - Interface GalleryImageVersion has a new optional parameter validationsProfile + - Interface GalleryImageVersionSafetyProfile has a new optional parameter blockDeletionBeforeEndOfLife + - Interface GalleryImageVersionUpdate has a new optional parameter restore + - Interface GalleryImageVersionUpdate has a new optional parameter validationsProfile + - Interface GalleryList has a new optional parameter securityProfile + - Interface GalleryUpdate has a new optional parameter identity + - Interface TargetRegion has a new optional parameter additionalReplicaSets + - Interface UserArtifactSettings has a new optional parameter scriptBehaviorAfterReboot + - Added Enum KnownAccessControlRulesMode + - Added Enum KnownEndpointAccess + - Added Enum KnownGalleryApplicationScriptRebootBehavior + - Added Enum KnownSoftDeletedArtifactTypes + - Added Enum KnownValidationStatus + - Enum KnownStorageAccountType has a new value PremiumV2LRS + + ## 22.1.0 (2024-08-12) ### Features Added @@ -579,7 +656,7 @@ ## 17.3.1 (2022-04-06) -### Features Added +**features** - Bug fix diff --git a/sdk/compute/arm-compute/README.md b/sdk/compute/arm-compute/README.md index 89796d2c1def..1a6c254d2960 100644 --- a/sdk/compute/arm-compute/README.md +++ b/sdk/compute/arm-compute/README.md @@ -44,7 +44,6 @@ npm install @azure/identity ``` You will also need to **register a new AAD application and grant access to Azure ComputeManagement** 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). diff --git a/sdk/compute/arm-compute/_meta.json b/sdk/compute/arm-compute/_meta.json index 08483ff528c8..bf544f134319 100644 --- a/sdk/compute/arm-compute/_meta.json +++ b/sdk/compute/arm-compute/_meta.json @@ -1,8 +1,8 @@ { - "commit": "3cef1bf0125458cc60dfb9e644e6bc28b787beab", + "commit": "81b9ebca690e83f837f4566805fc8da1c3eab3d4", "readme": "specification/compute/resource-manager/readme.md", - "autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\compute\\resource-manager\\readme.md --use=@autorest/typescript@6.0.23 --generate-sample=true", + "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/compute/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.7.11", - "use": "@autorest/typescript@6.0.23" + "release_tool": "@azure-tools/js-sdk-release-tools@2.7.16", + "use": "@autorest/typescript@^6.0.12" } \ No newline at end of file diff --git a/sdk/compute/arm-compute/package.json b/sdk/compute/arm-compute/package.json index 7c2dc3a7554e..284b901a2cac 100644 --- a/sdk/compute/arm-compute/package.json +++ b/sdk/compute/arm-compute/package.json @@ -3,16 +3,16 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for ComputeManagementClient.", - "version": "22.1.1", + "version": "22.2.0", "engines": { "node": ">=18.0.0" }, "dependencies": { - "@azure/abort-controller": "^1.0.0", - "@azure/core-auth": "^1.6.0", - "@azure/core-client": "^1.7.0", "@azure/core-lro": "^2.5.4", + "@azure/abort-controller": "^2.1.2", "@azure/core-paging": "^1.2.0", + "@azure/core-client": "^1.7.0", + "@azure/core-auth": "^1.6.0", "@azure/core-rest-pipeline": "^1.14.0", "tslib": "^2.2.0" }, @@ -28,20 +28,19 @@ "module": "./dist-esm/src/index.js", "types": "./types/arm-compute.d.ts", "devDependencies": { - "@azure-tools/test-credential": "^1.1.0", - "@azure-tools/test-recorder": "^3.0.0", - "@azure/arm-network": "^32.2.0", + "typescript": "~5.6.2", + "dotenv": "^16.0.0", "@azure/dev-tool": "^1.0.0", - "@azure/identity": "^4.0.1", - "@types/chai": "^4.2.8", + "@azure/identity": "^4.2.1", + "@azure-tools/test-recorder": "^3.0.0", + "@azure-tools/test-credential": "^1.1.0", + "mocha": "^10.0.0", "@types/mocha": "^10.0.0", - "@types/node": "^18.0.0", - "chai": "^4.2.0", - "dotenv": "^16.0.0", - "mocha": "^11.0.2", - "ts-node": "^10.0.0", "tsx": "^4.7.1", - "typescript": "~5.6.2" + "@types/chai": "^4.2.8", + "chai": "^4.2.0", + "@types/node": "^18.0.0", + "ts-node": "^10.0.0" }, "repository": { "type": "git", @@ -69,28 +68,28 @@ ], "scripts": { "build": "npm run clean && tsc && dev-tool run bundle && npm run minify && dev-tool run vendored mkdirp ./review && npm run extract-api", - "build:browser": "echo skipped", + "minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js", + "prepack": "npm run build", + "pack": "npm pack 2>&1", + "extract-api": "dev-tool run extract-api", + "lint": "echo skipped", + "clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", "build:node": "echo skipped", - "build:samples": "echo skipped.", + "build:browser": "echo skipped", "build:test": "echo skipped", + "build:samples": "echo skipped.", "check-format": "echo skipped", - "clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", "execute:samples": "echo skipped", - "extract-api": "dev-tool run extract-api", "format": "echo skipped", - "integration-test": "npm run integration-test:node && npm run integration-test:browser", - "integration-test:browser": "echo skipped", - "integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'", - "lint": "echo skipped", - "minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js", - "pack": "npm pack 2>&1", - "prepack": "npm run build", "test": "npm run integration-test", - "test:browser": "echo skipped", "test:node": "echo skipped", + "test:browser": "echo skipped", "unit-test": "npm run unit-test:node && npm run unit-test:browser", - "unit-test:browser": "echo skipped", "unit-test:node": "dev-tool run vendored cross-env TEST_MODE=playback npm run integration-test:node", + "unit-test:browser": "echo skipped", + "integration-test": "npm run integration-test:node && npm run integration-test:browser", + "integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'", + "integration-test:browser": "echo skipped", "update-snippets": "echo skipped" }, "sideEffects": false, @@ -103,13 +102,5 @@ ] }, "autoPublish": true, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute", - "//sampleConfiguration": { - "productName": "", - "productSlugs": [ - "azure" - ], - "disableDocsMs": true, - "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-compute?view=azure-node-preview" - } -} + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute" +} \ No newline at end of file diff --git a/sdk/compute/arm-compute/review/arm-compute.api.md b/sdk/compute/arm-compute/review/arm-compute.api.md index d9f1a58260a2..edd7699726a5 100644 --- a/sdk/compute/arm-compute/review/arm-compute.api.md +++ b/sdk/compute/arm-compute/review/arm-compute.api.md @@ -10,6 +10,47 @@ import { OperationState } from '@azure/core-lro'; import { PagedAsyncIterableIterator } from '@azure/core-paging'; import { SimplePollerLike } from '@azure/core-lro'; +// @public +export interface AccessControlRules { + identities?: AccessControlRulesIdentity[]; + privileges?: AccessControlRulesPrivilege[]; + roleAssignments?: AccessControlRulesRoleAssignment[]; + roles?: AccessControlRulesRole[]; +} + +// @public +export interface AccessControlRulesIdentity { + exePath?: string; + groupName?: string; + name: string; + processName?: string; + userName?: string; +} + +// @public +export type AccessControlRulesMode = string; + +// @public +export interface AccessControlRulesPrivilege { + name: string; + path: string; + queryParameters?: { + [propertyName: string]: string; + }; +} + +// @public +export interface AccessControlRulesRole { + name: string; + privileges: string[]; +} + +// @public +export interface AccessControlRulesRoleAssignment { + identities: string[]; + role: string; +} + // @public export type AccessLevel = string; @@ -25,6 +66,12 @@ export interface AdditionalCapabilities { ultraSSDEnabled?: boolean; } +// @public +export interface AdditionalReplicaSet { + regionalReplicaCount?: number; + storageAccountType?: StorageAccountType; +} + // @public export interface AdditionalUnattendContent { componentName?: "Microsoft-Windows-Shell-Setup"; @@ -923,6 +970,7 @@ export interface CloudServiceVaultAndSecretReference { // @public export interface CloudServiceVaultCertificate { certificateUrl?: string; + isBootstrapCertificate?: boolean; } // @public @@ -1126,6 +1174,10 @@ export class ComputeManagementClient extends coreClient.ServiceClient { // (undocumented) galleryImageVersions: GalleryImageVersions; // (undocumented) + galleryInVMAccessControlProfiles: GalleryInVMAccessControlProfiles; + // (undocumented) + galleryInVMAccessControlProfileVersions: GalleryInVMAccessControlProfileVersions; + // (undocumented) gallerySharingProfile: GallerySharingProfile; // (undocumented) images: Images; @@ -1150,6 +1202,8 @@ export class ComputeManagementClient extends coreClient.ServiceClient { // (undocumented) snapshots: Snapshots; // (undocumented) + softDeletedResource: SoftDeletedResource; + // (undocumented) sshPublicKeys: SshPublicKeys; // (undocumented) subscriptionId: string; @@ -2211,11 +2265,25 @@ export interface EncryptionSettingsElement { // @public export type EncryptionType = string; +// @public +export type EndpointAccess = string; + +// @public +export type EndpointTypes = "WireServer" | "IMDS"; + // @public export interface EventGridAndResourceGraph { enable?: boolean; } +// @public +export interface ExecutedValidation { + executionTime?: Date; + status?: ValidationStatus; + type?: string; + version?: string; +} + // @public export type ExecutionState = string; @@ -2330,6 +2398,7 @@ export type GalleriesUpdateResponse = Gallery; export interface Gallery extends Resource { description?: string; identifier?: GalleryIdentifier; + identity?: GalleryIdentity; readonly provisioningState?: GalleryProvisioningState; sharingProfile?: SharingProfile; readonly sharingStatus?: SharingStatus; @@ -2394,6 +2463,9 @@ export interface GalleryApplicationsCreateOrUpdateOptionalParams extends coreCli // @public export type GalleryApplicationsCreateOrUpdateResponse = GalleryApplication; +// @public +export type GalleryApplicationScriptRebootBehavior = string; + // @public export interface GalleryApplicationsDeleteOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; @@ -2607,8 +2679,19 @@ export interface GalleryIdentifier { readonly uniqueName?: string; } +// @public +export interface GalleryIdentity { + readonly principalId?: string; + readonly tenantId?: string; + type?: ResourceIdentityType; + userAssignedIdentities?: { + [propertyName: string]: UserAssignedIdentitiesValue; + }; +} + // @public export interface GalleryImage extends Resource { + allowUpdateImage?: boolean; architecture?: Architecture; description?: string; disallowed?: Disallowed; @@ -2629,6 +2712,7 @@ export interface GalleryImage extends Resource { // @public export interface GalleryImageFeature { name?: string; + startsAtVersion?: string; value?: string; } @@ -2704,6 +2788,7 @@ export type GalleryImagesUpdateResponse = GalleryImage; // @public export interface GalleryImageUpdate extends UpdateResourceDefinition { + allowUpdateImage?: boolean; architecture?: Architecture; description?: string; disallowed?: Disallowed; @@ -2726,9 +2811,11 @@ export interface GalleryImageVersion extends Resource { readonly provisioningState?: GalleryProvisioningState; publishingProfile?: GalleryImageVersionPublishingProfile; readonly replicationStatus?: ReplicationStatus; + restore?: boolean; safetyProfile?: GalleryImageVersionSafetyProfile; securityProfile?: ImageVersionSecurityProfile; storageProfile?: GalleryImageVersionStorageProfile; + readonly validationsProfile?: ValidationsProfile; } // @public @@ -2755,6 +2842,7 @@ export interface GalleryImageVersions { // @public export interface GalleryImageVersionSafetyProfile extends GalleryArtifactSafetyProfileBase { + blockDeletionBeforeEndOfLife?: boolean; readonly policyViolations?: PolicyViolation[]; readonly reportedForPolicyViolation?: boolean; } @@ -2823,14 +2911,213 @@ export interface GalleryImageVersionUpdate extends UpdateResourceDefinition { readonly provisioningState?: GalleryProvisioningState; publishingProfile?: GalleryImageVersionPublishingProfile; readonly replicationStatus?: ReplicationStatus; + restore?: boolean; safetyProfile?: GalleryImageVersionSafetyProfile; securityProfile?: ImageVersionSecurityProfile; storageProfile?: GalleryImageVersionStorageProfile; + readonly validationsProfile?: ValidationsProfile; +} + +// @public +export interface GalleryInVMAccessControlProfile extends Resource { + properties?: GalleryInVMAccessControlProfileProperties; +} + +// @public +export interface GalleryInVMAccessControlProfileList { + nextLink?: string; + value: GalleryInVMAccessControlProfile[]; +} + +// @public +export interface GalleryInVMAccessControlProfileProperties extends GalleryResourceProfilePropertiesBase { + applicableHostEndpoint: EndpointTypes; + description?: string; + osType: OperatingSystemTypes; +} + +// @public +export interface GalleryInVMAccessControlProfiles { + beginCreateOrUpdate(resourceGroupName: string, galleryName: string, inVMAccessControlProfileName: string, galleryInVMAccessControlProfile: GalleryInVMAccessControlProfile, options?: GalleryInVMAccessControlProfilesCreateOrUpdateOptionalParams): Promise, GalleryInVMAccessControlProfilesCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, galleryName: string, inVMAccessControlProfileName: string, galleryInVMAccessControlProfile: GalleryInVMAccessControlProfile, options?: GalleryInVMAccessControlProfilesCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, galleryName: string, inVMAccessControlProfileName: string, options?: GalleryInVMAccessControlProfilesDeleteOptionalParams): Promise, GalleryInVMAccessControlProfilesDeleteResponse>>; + beginDeleteAndWait(resourceGroupName: string, galleryName: string, inVMAccessControlProfileName: string, options?: GalleryInVMAccessControlProfilesDeleteOptionalParams): Promise; + beginUpdate(resourceGroupName: string, galleryName: string, inVMAccessControlProfileName: string, galleryInVMAccessControlProfile: GalleryInVMAccessControlProfileUpdate, options?: GalleryInVMAccessControlProfilesUpdateOptionalParams): Promise, GalleryInVMAccessControlProfilesUpdateResponse>>; + beginUpdateAndWait(resourceGroupName: string, galleryName: string, inVMAccessControlProfileName: string, galleryInVMAccessControlProfile: GalleryInVMAccessControlProfileUpdate, options?: GalleryInVMAccessControlProfilesUpdateOptionalParams): Promise; + get(resourceGroupName: string, galleryName: string, inVMAccessControlProfileName: string, options?: GalleryInVMAccessControlProfilesGetOptionalParams): Promise; + listByGallery(resourceGroupName: string, galleryName: string, options?: GalleryInVMAccessControlProfilesListByGalleryOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface GalleryInVMAccessControlProfilesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type GalleryInVMAccessControlProfilesCreateOrUpdateResponse = GalleryInVMAccessControlProfile; + +// @public +export interface GalleryInVMAccessControlProfilesDeleteHeaders { + // (undocumented) + azureAsyncOperation?: string; + // (undocumented) + location?: string; +} + +// @public +export interface GalleryInVMAccessControlProfilesDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type GalleryInVMAccessControlProfilesDeleteResponse = GalleryInVMAccessControlProfilesDeleteHeaders; + +// @public +export interface GalleryInVMAccessControlProfilesGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type GalleryInVMAccessControlProfilesGetResponse = GalleryInVMAccessControlProfile; + +// @public +export interface GalleryInVMAccessControlProfilesListByGalleryNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type GalleryInVMAccessControlProfilesListByGalleryNextResponse = GalleryInVMAccessControlProfileList; + +// @public +export interface GalleryInVMAccessControlProfilesListByGalleryOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type GalleryInVMAccessControlProfilesListByGalleryResponse = GalleryInVMAccessControlProfileList; + +// @public +export interface GalleryInVMAccessControlProfilesUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type GalleryInVMAccessControlProfilesUpdateResponse = GalleryInVMAccessControlProfile; + +// @public +export interface GalleryInVMAccessControlProfileUpdate extends UpdateResourceDefinition { + properties?: GalleryInVMAccessControlProfileProperties; +} + +// @public +export interface GalleryInVMAccessControlProfileVersion extends Resource { + defaultAccess?: EndpointAccess; + excludeFromLatest?: boolean; + mode?: AccessControlRulesMode; + readonly provisioningState?: GalleryProvisioningState; + readonly publishedDate?: Date; + readonly replicationStatus?: ReplicationStatus; + rules?: AccessControlRules; + targetLocations?: TargetRegion[]; +} + +// @public +export interface GalleryInVMAccessControlProfileVersionList { + nextLink?: string; + value: GalleryInVMAccessControlProfileVersion[]; +} + +// @public +export interface GalleryInVMAccessControlProfileVersionProperties extends GalleryResourceProfileVersionPropertiesBase { + defaultAccess: EndpointAccess; + mode: AccessControlRulesMode; + rules?: AccessControlRules; +} + +// @public +export interface GalleryInVMAccessControlProfileVersions { + beginCreateOrUpdate(resourceGroupName: string, galleryName: string, inVMAccessControlProfileName: string, inVMAccessControlProfileVersionName: string, galleryInVMAccessControlProfileVersion: GalleryInVMAccessControlProfileVersion, options?: GalleryInVMAccessControlProfileVersionsCreateOrUpdateOptionalParams): Promise, GalleryInVMAccessControlProfileVersionsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, galleryName: string, inVMAccessControlProfileName: string, inVMAccessControlProfileVersionName: string, galleryInVMAccessControlProfileVersion: GalleryInVMAccessControlProfileVersion, options?: GalleryInVMAccessControlProfileVersionsCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, galleryName: string, inVMAccessControlProfileName: string, inVMAccessControlProfileVersionName: string, options?: GalleryInVMAccessControlProfileVersionsDeleteOptionalParams): Promise, GalleryInVMAccessControlProfileVersionsDeleteResponse>>; + beginDeleteAndWait(resourceGroupName: string, galleryName: string, inVMAccessControlProfileName: string, inVMAccessControlProfileVersionName: string, options?: GalleryInVMAccessControlProfileVersionsDeleteOptionalParams): Promise; + beginUpdate(resourceGroupName: string, galleryName: string, inVMAccessControlProfileName: string, inVMAccessControlProfileVersionName: string, galleryInVMAccessControlProfileVersion: GalleryInVMAccessControlProfileVersionUpdate, options?: GalleryInVMAccessControlProfileVersionsUpdateOptionalParams): Promise, GalleryInVMAccessControlProfileVersionsUpdateResponse>>; + beginUpdateAndWait(resourceGroupName: string, galleryName: string, inVMAccessControlProfileName: string, inVMAccessControlProfileVersionName: string, galleryInVMAccessControlProfileVersion: GalleryInVMAccessControlProfileVersionUpdate, options?: GalleryInVMAccessControlProfileVersionsUpdateOptionalParams): Promise; + get(resourceGroupName: string, galleryName: string, inVMAccessControlProfileName: string, inVMAccessControlProfileVersionName: string, options?: GalleryInVMAccessControlProfileVersionsGetOptionalParams): Promise; + listByGalleryInVMAccessControlProfile(resourceGroupName: string, galleryName: string, inVMAccessControlProfileName: string, options?: GalleryInVMAccessControlProfileVersionsListByGalleryInVMAccessControlProfileOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface GalleryInVMAccessControlProfileVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type GalleryInVMAccessControlProfileVersionsCreateOrUpdateResponse = GalleryInVMAccessControlProfileVersion; + +// @public +export interface GalleryInVMAccessControlProfileVersionsDeleteHeaders { + // (undocumented) + azureAsyncOperation?: string; + // (undocumented) + location?: string; +} + +// @public +export interface GalleryInVMAccessControlProfileVersionsDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type GalleryInVMAccessControlProfileVersionsDeleteResponse = GalleryInVMAccessControlProfileVersionsDeleteHeaders; + +// @public +export interface GalleryInVMAccessControlProfileVersionsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type GalleryInVMAccessControlProfileVersionsGetResponse = GalleryInVMAccessControlProfileVersion; + +// @public +export interface GalleryInVMAccessControlProfileVersionsListByGalleryInVMAccessControlProfileNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type GalleryInVMAccessControlProfileVersionsListByGalleryInVMAccessControlProfileNextResponse = GalleryInVMAccessControlProfileVersionList; + +// @public +export interface GalleryInVMAccessControlProfileVersionsListByGalleryInVMAccessControlProfileOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type GalleryInVMAccessControlProfileVersionsListByGalleryInVMAccessControlProfileResponse = GalleryInVMAccessControlProfileVersionList; + +// @public +export interface GalleryInVMAccessControlProfileVersionsUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type GalleryInVMAccessControlProfileVersionsUpdateResponse = GalleryInVMAccessControlProfileVersion; + +// @public +export interface GalleryInVMAccessControlProfileVersionUpdate extends UpdateResourceDefinition { + defaultAccess?: EndpointAccess; + excludeFromLatest?: boolean; + mode?: AccessControlRulesMode; + readonly provisioningState?: GalleryProvisioningState; + readonly publishedDate?: Date; + readonly replicationStatus?: ReplicationStatus; + rules?: AccessControlRules; + targetLocations?: TargetRegion[]; } // @public export interface GalleryList { nextLink?: string; + securityProfile?: ImageVersionSecurityProfile; value: Gallery[]; } @@ -2841,6 +3128,20 @@ export interface GalleryOSDiskImage extends GalleryDiskImage { // @public export type GalleryProvisioningState = string; +// @public +export interface GalleryResourceProfilePropertiesBase { + readonly provisioningState?: GalleryProvisioningState; +} + +// @public +export interface GalleryResourceProfileVersionPropertiesBase { + excludeFromLatest?: boolean; + readonly provisioningState?: GalleryProvisioningState; + readonly publishedDate?: Date; + readonly replicationStatus?: ReplicationStatus; + targetLocations?: TargetRegion[]; +} + // @public export type GallerySharingPermissionTypes = string; @@ -2859,6 +3160,19 @@ export interface GallerySharingProfileUpdateOptionalParams extends coreClient.Op // @public export type GallerySharingProfileUpdateResponse = SharingUpdate; +// @public +export interface GallerySoftDeletedResource extends Resource { + resourceArmId?: string; + softDeletedArtifactType?: SoftDeletedArtifactTypes; + softDeletedTime?: string; +} + +// @public +export interface GallerySoftDeletedResourceList { + nextLink?: string; + value: GallerySoftDeletedResource[]; +} + // @public (undocumented) export interface GalleryTargetExtendedLocation { encryption?: EncryptionImages; @@ -2872,6 +3186,7 @@ export interface GalleryTargetExtendedLocation { export interface GalleryUpdate extends UpdateResourceDefinition { description?: string; identifier?: GalleryIdentifier; + identity?: GalleryIdentity; readonly provisioningState?: GalleryProvisioningState; sharingProfile?: SharingProfile; readonly sharingStatus?: SharingStatus; @@ -3143,6 +3458,13 @@ export interface KeyVaultSecretReference { sourceVault: SubResource; } +// @public +export enum KnownAccessControlRulesMode { + Audit = "Audit", + Disabled = "Disabled", + Enforce = "Enforce" +} + // @public export enum KnownAccessLevel { None = "None", @@ -3367,6 +3689,12 @@ export enum KnownEncryptionType { EncryptionAtRestWithPlatformKey = "EncryptionAtRestWithPlatformKey" } +// @public +export enum KnownEndpointAccess { + Allow = "Allow", + Deny = "Deny" +} + // @public export enum KnownExecutionState { Canceled = "Canceled", @@ -3415,6 +3743,12 @@ export enum KnownFileFormat { Vhdx = "VHDX" } +// @public +export enum KnownGalleryApplicationScriptRebootBehavior { + None = "None", + Rerun = "Rerun" +} + // @public export enum KnownGalleryExpandParams { SharingProfileGroups = "SharingProfile/Groups" @@ -3759,6 +4093,11 @@ export enum KnownSnapshotStorageAccountTypes { StandardZRS = "Standard_ZRS" } +// @public +export enum KnownSoftDeletedArtifactTypes { + Images = "Images" +} + // @public export enum KnownSshEncryptionTypes { Ed25519 = "Ed25519", @@ -3768,6 +4107,7 @@ export enum KnownSshEncryptionTypes { // @public export enum KnownStorageAccountType { PremiumLRS = "Premium_LRS", + PremiumV2LRS = "PremiumV2_LRS", StandardLRS = "Standard_LRS", StandardZRS = "Standard_ZRS" } @@ -3796,6 +4136,13 @@ export enum KnownUefiSignatureTemplateName { NoSignatureTemplate = "NoSignatureTemplate" } +// @public +export enum KnownValidationStatus { + Failed = "Failed", + Succeeded = "Succeeded", + Unknown = "Unknown" +} + // @public export enum KnownVirtualMachineEvictionPolicyTypes { Deallocate = "Deallocate", @@ -4467,6 +4814,12 @@ export interface Plan { publisher?: string; } +// @public +export interface PlatformAttribute { + readonly name?: string; + readonly value?: string; +} + // @public export interface PolicyViolation { category?: PolicyViolationCategory; @@ -5699,6 +6052,28 @@ export interface SnapshotUpdate { }; } +// @public +export type SoftDeletedArtifactTypes = string; + +// @public +export interface SoftDeletedResource { + listByArtifactName(resourceGroupName: string, galleryName: string, artifactType: string, artifactName: string, options?: SoftDeletedResourceListByArtifactNameOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface SoftDeletedResourceListByArtifactNameNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type SoftDeletedResourceListByArtifactNameNextResponse = GallerySoftDeletedResourceList; + +// @public +export interface SoftDeletedResourceListByArtifactNameOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type SoftDeletedResourceListByArtifactNameResponse = GallerySoftDeletedResourceList; + // @public export interface SoftDeletePolicy { isSoftDeleteEnabled?: boolean; @@ -5882,6 +6257,7 @@ export interface SystemData { // @public export interface TargetRegion { + additionalReplicaSets?: AdditionalReplicaSet[]; encryption?: EncryptionImages; excludeFromLatest?: boolean; name: string; @@ -6038,6 +6414,7 @@ export interface UserArtifactManage { export interface UserArtifactSettings { configFileName?: string; packageFileName?: string; + scriptBehaviorAfterReboot?: GalleryApplicationScriptRebootBehavior; } // @public @@ -6062,6 +6439,17 @@ export interface UserInitiatedRedeploy { automaticallyApprove?: boolean; } +// @public +export interface ValidationsProfile { + // (undocumented) + executedValidations?: ExecutedValidation[]; + platformAttributes?: PlatformAttribute[]; + validationEtag?: string; +} + +// @public +export type ValidationStatus = string; + // @public export interface VaultCertificate { certificateStore?: string; diff --git a/sdk/compute/arm-compute/sample.env b/sdk/compute/arm-compute/sample.env index 672847a3fea0..508439fc7d62 100644 --- a/sdk/compute/arm-compute/sample.env +++ b/sdk/compute/arm-compute/sample.env @@ -1,4 +1 @@ -# App registration secret for AAD authentication -AZURE_CLIENT_SECRET= -AZURE_CLIENT_ID= -AZURE_TENANT_ID= \ No newline at end of file +# Feel free to add your own environment variables. \ No newline at end of file diff --git a/sdk/compute/arm-compute/src/computeManagementClient.ts b/sdk/compute/arm-compute/src/computeManagementClient.ts index c266e72e2ce4..3570f019c144 100644 --- a/sdk/compute/arm-compute/src/computeManagementClient.ts +++ b/sdk/compute/arm-compute/src/computeManagementClient.ts @@ -47,7 +47,10 @@ import { GalleryImageVersionsImpl, GalleryApplicationsImpl, GalleryApplicationVersionsImpl, + SoftDeletedResourceImpl, GallerySharingProfileImpl, + GalleryInVMAccessControlProfilesImpl, + GalleryInVMAccessControlProfileVersionsImpl, SharedGalleriesImpl, SharedGalleryImagesImpl, SharedGalleryImageVersionsImpl, @@ -98,7 +101,10 @@ import { GalleryImageVersions, GalleryApplications, GalleryApplicationVersions, + SoftDeletedResource, GallerySharingProfile, + GalleryInVMAccessControlProfiles, + GalleryInVMAccessControlProfileVersions, SharedGalleries, SharedGalleryImages, SharedGalleryImageVersions, @@ -145,7 +151,7 @@ export class ComputeManagementClient extends coreClient.ServiceClient { credential: credentials, }; - const packageDetails = `azsdk-js-arm-compute/22.1.1`; + const packageDetails = `azsdk-js-arm-compute/22.2.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -244,7 +250,12 @@ export class ComputeManagementClient extends coreClient.ServiceClient { this.galleryImageVersions = new GalleryImageVersionsImpl(this); this.galleryApplications = new GalleryApplicationsImpl(this); this.galleryApplicationVersions = new GalleryApplicationVersionsImpl(this); + this.softDeletedResource = new SoftDeletedResourceImpl(this); this.gallerySharingProfile = new GallerySharingProfileImpl(this); + this.galleryInVMAccessControlProfiles = + new GalleryInVMAccessControlProfilesImpl(this); + this.galleryInVMAccessControlProfileVersions = + new GalleryInVMAccessControlProfileVersionsImpl(this); this.sharedGalleries = new SharedGalleriesImpl(this); this.sharedGalleryImages = new SharedGalleryImagesImpl(this); this.sharedGalleryImageVersions = new SharedGalleryImageVersionsImpl(this); @@ -299,7 +310,10 @@ export class ComputeManagementClient extends coreClient.ServiceClient { galleryImageVersions: GalleryImageVersions; galleryApplications: GalleryApplications; galleryApplicationVersions: GalleryApplicationVersions; + softDeletedResource: SoftDeletedResource; gallerySharingProfile: GallerySharingProfile; + galleryInVMAccessControlProfiles: GalleryInVMAccessControlProfiles; + galleryInVMAccessControlProfileVersions: GalleryInVMAccessControlProfileVersions; sharedGalleries: SharedGalleries; sharedGalleryImages: SharedGalleryImages; sharedGalleryImageVersions: SharedGalleryImageVersions; diff --git a/sdk/compute/arm-compute/src/models/index.ts b/sdk/compute/arm-compute/src/models/index.ts index 4097b9dd04c9..db5e8ab3e40c 100644 --- a/sdk/compute/arm-compute/src/models/index.ts +++ b/sdk/compute/arm-compute/src/models/index.ts @@ -1709,7 +1709,7 @@ export interface DataDisk { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly diskMBpsReadWrite?: number; - /** Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach.** detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior. **This feature is still in preview** mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'. */ + /** Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach.** detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'. */ detachOption?: DiskDetachOptionTypes; /** Specifies whether data disk should be deleted or detached upon VM deletion. Possible values are: **Delete.** If this value is used, the data disk is deleted when VM is deleted. **Detach.** If this value is used, the data disk is retained after VM is deleted. The default value is set to **Detach**. */ deleteOption?: DiskDeleteOptionTypes; @@ -3769,6 +3769,26 @@ export interface RegionalSharingStatus { details?: string; } +/** Identity for the virtual machine. */ +export interface GalleryIdentity { + /** + * The principal id of the gallery identity. This property will only be provided for a system assigned identity. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly principalId?: string; + /** + * The AAD tenant id of the gallery identity. This property will only be provided for a system assigned identity. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly tenantId?: string; + /** The type of identity used for the gallery. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove all identities from the gallery. */ + type?: ResourceIdentityType; + /** The list of user identities associated with the gallery. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ + userAssignedIdentities?: { + [propertyName: string]: UserAssignedIdentitiesValue; + }; +} + /** The Update Resource model definition. */ export interface UpdateResourceDefinition { /** @@ -3838,6 +3858,8 @@ export interface GalleryImageFeature { name?: string; /** The value of the gallery image feature. */ value?: string; + /** The minimum gallery image version which supports this feature. */ + startsAtVersion?: string; } /** Describes the basic gallery artifact publishing profile. */ @@ -3875,6 +3897,8 @@ export interface TargetRegion { encryption?: EncryptionImages; /** Contains the flag setting to hide an image when users specify version='latest' */ excludeFromLatest?: boolean; + /** List of storage sku with replica count to create direct drive replicas. */ + additionalReplicaSets?: AdditionalReplicaSet[]; } /** Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact. */ @@ -3899,6 +3923,14 @@ export interface DiskImageEncryption { diskEncryptionSetId?: string; } +/** Describes the additional replica set information. */ +export interface AdditionalReplicaSet { + /** Specifies the storage account type to be used to create the direct drive replicas */ + storageAccountType?: StorageAccountType; + /** The number of direct drive replicas of the Image Version to be created.This Property is updatable */ + regionalReplicaCount?: number; +} + export interface GalleryTargetExtendedLocation { /** The name of the region. */ name?: string; @@ -4034,6 +4066,41 @@ export interface UefiKey { value?: string[]; } +/** This is the validations profile of a Gallery Image Version. */ +export interface ValidationsProfile { + /** The published time of the image version */ + validationEtag?: string; + executedValidations?: ExecutedValidation[]; + /** This specifies the pub, offer, sku and version of the image version metadata */ + platformAttributes?: PlatformAttribute[]; +} + +/** This is the executed Validation. */ +export interface ExecutedValidation { + /** This property specifies the type of image version validation. */ + type?: string; + /** This property specifies the status of the validationProfile of the image version. */ + status?: ValidationStatus; + /** This property specifies the valid version of the validation. */ + version?: string; + /** This property specifies the starting timestamp. */ + executionTime?: Date; +} + +/** This is the platform attribute of the image version. */ +export interface PlatformAttribute { + /** + * This property specifies the name of the platformAttribute. It is read-only. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly name?: string; + /** + * This property specifies the value of the corresponding name property. It is read-only. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly value?: string; +} + /** A custom action that can be performed with a Gallery Application Version. */ export interface GalleryApplicationCustomAction { /** The name of the custom action. Must be unique within the Gallery Application Version. */ @@ -4083,6 +4150,8 @@ export interface UserArtifactSettings { packageFileName?: string; /** Optional. The name to assign the downloaded config file on the VM. This is limited to 4096 characters. If not specified, the config file will be named the Gallery Application name appended with "_config". */ configFileName?: string; + /** Optional. The action to be taken with regards to install/update/remove of the gallery application in the event of a reboot. */ + scriptBehaviorAfterReboot?: GalleryApplicationScriptRebootBehavior; } /** The List Galleries operation response. */ @@ -4091,6 +4160,8 @@ export interface GalleryList { value: Gallery[]; /** The uri to fetch the next page of galleries. Call ListNext() with this to fetch the next page of galleries. */ nextLink?: string; + /** The security profile of a gallery image version */ + securityProfile?: ImageVersionSecurityProfile; } /** The List Gallery Images operation response. */ @@ -4125,6 +4196,14 @@ export interface GalleryApplicationVersionList { nextLink?: string; } +/** The List Soft-deleted Resources operation response. */ +export interface GallerySoftDeletedResourceList { + /** A list of soft-deleted resources. */ + value: GallerySoftDeletedResource[]; + /** The uri to fetch the next page of soft-deleted resources. Call ListNext() with this to fetch the next page of soft-deleted resources. */ + nextLink?: string; +} + /** Specifies information about the gallery sharing profile update. */ export interface SharingUpdate { /** This property allows you to specify the operation type of gallery sharing update. Possible values are: **Add,** **Remove,** **Reset.** */ @@ -4133,6 +4212,106 @@ export interface SharingUpdate { groups?: SharingProfileGroup[]; } +/** The properties of a gallery ResourceProfile. */ +export interface GalleryResourceProfilePropertiesBase { + /** + * The provisioning state, which only appears in the response. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: GalleryProvisioningState; +} + +/** This is the Access Control Rules specification for an inVMAccessControlProfile version. */ +export interface AccessControlRules { + /** A list of privileges. */ + privileges?: AccessControlRulesPrivilege[]; + /** A list of roles. */ + roles?: AccessControlRulesRole[]; + /** A list of identities. */ + identities?: AccessControlRulesIdentity[]; + /** A list of role assignments. */ + roleAssignments?: AccessControlRulesRoleAssignment[]; +} + +/** The properties of an Access Control Rule Privilege. */ +export interface AccessControlRulesPrivilege { + /** The name of the privilege. */ + name: string; + /** The HTTP path corresponding to the privilege. */ + path: string; + /** The query parameters to match in the path. */ + queryParameters?: { [propertyName: string]: string }; +} + +/** The properties of an Access Control Rule Role. */ +export interface AccessControlRulesRole { + /** The name of the role. */ + name: string; + /** A list of privileges needed by this role. */ + privileges: string[]; +} + +/** The properties of an Access Control Rule Identity. */ +export interface AccessControlRulesIdentity { + /** The name of the identity. */ + name: string; + /** The username corresponding to this identity. */ + userName?: string; + /** The groupName corresponding to this identity. */ + groupName?: string; + /** The path to the executable. */ + exePath?: string; + /** The process name of the executable. */ + processName?: string; +} + +/** The properties of an Access Control Rule RoleAssignment. */ +export interface AccessControlRulesRoleAssignment { + /** The name of the role. */ + role: string; + /** A list of identities that can access the privileges defined by the role. */ + identities: string[]; +} + +/** The properties of a gallery ResourceProfile version. */ +export interface GalleryResourceProfileVersionPropertiesBase { + /** The target regions where the Resource Profile version is going to be replicated to. This property is updatable. */ + targetLocations?: TargetRegion[]; + /** If set to true, Virtual Machines deployed from the latest version of the Resource Profile won't use this Profile version. */ + excludeFromLatest?: boolean; + /** + * The timestamp for when the Resource Profile Version is published. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly publishedDate?: Date; + /** + * The provisioning state, which only appears in the response. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: GalleryProvisioningState; + /** + * This is the replication status of the gallery image version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly replicationStatus?: ReplicationStatus; +} + +/** The List Gallery InVMAccessControlProfiles operation response. */ +export interface GalleryInVMAccessControlProfileList { + /** A list of Gallery InVMAccessControlProfiles. */ + value: GalleryInVMAccessControlProfile[]; + /** The uri to fetch the next page of inVMAccessControlProfiles in the gallery. Call ListNext() with this to fetch the next page of gallery inVMAccessControlProfiles. */ + nextLink?: string; +} + +/** The List Gallery InVMAccessControlProfile Versions operation response. */ +export interface GalleryInVMAccessControlProfileVersionList { + /** A list of Gallery InVMAccessControlProfile Versions. */ + value: GalleryInVMAccessControlProfileVersion[]; + /** The uri to fetch the next page of inVMAccessControlProfile versions. Call ListNext() with this to fetch the next page of gallery inVMAccessControlProfile versions. */ + nextLink?: string; +} + /** The List Shared Galleries operation response. */ export interface SharedGalleryList { /** A list of shared galleries. */ @@ -4536,6 +4715,8 @@ export interface CloudServiceVaultSecretGroup { export interface CloudServiceVaultCertificate { /** This is the URL of a certificate that has been uploaded to Key Vault as a secret. */ certificateUrl?: string; + /** Flag indicating if the certificate provided is a bootstrap certificate to be used by the Key Vault Extension to fetch the remaining certificates. */ + isBootstrapCertificate?: boolean; } /** Network Profile for the cloud service. */ @@ -5950,6 +6131,8 @@ export interface Snapshot extends Resource { /** Specifies information about the Shared Image Gallery that you want to create or update. */ export interface Gallery extends Resource { + /** The identity of the gallery, if configured. */ + identity?: GalleryIdentity; /** The description of this Shared Image Gallery resource. This property is updatable. */ description?: string; /** Describes the gallery unique name. */ @@ -6003,8 +6186,10 @@ export interface GalleryImage extends Resource { readonly provisioningState?: GalleryProvisioningState; /** A list of gallery image features. */ features?: GalleryImageFeature[]; - /** The architecture of the image. Applicable to OS disks only. */ + /** CPU architecture supported by an OS disk. */ architecture?: Architecture; + /** Optional. Must be set to true if the gallery image features are being updated. */ + allowUpdateImage?: boolean; } /** Specifies information about the gallery image version that you want to create or update. */ @@ -6027,6 +6212,13 @@ export interface GalleryImageVersion extends Resource { readonly replicationStatus?: ReplicationStatus; /** The security profile of a gallery image version */ securityProfile?: ImageVersionSecurityProfile; + /** Indicates if this is a soft-delete resource restoration request. */ + restore?: boolean; + /** + * This is the validations profile of a Gallery Image Version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly validationsProfile?: ValidationsProfile; } /** Specifies information about the gallery Application Definition that you want to create or update. */ @@ -6065,6 +6257,51 @@ export interface GalleryApplicationVersion extends Resource { readonly replicationStatus?: ReplicationStatus; } +/** The details information of soft-deleted resource. */ +export interface GallerySoftDeletedResource extends Resource { + /** arm id of the soft-deleted resource */ + resourceArmId?: string; + /** artifact type of the soft-deleted resource */ + softDeletedArtifactType?: SoftDeletedArtifactTypes; + /** The timestamp for when the resource is soft-deleted. In dateTime offset format. */ + softDeletedTime?: string; +} + +/** Specifies information about the gallery inVMAccessControlProfile that you want to create or update. */ +export interface GalleryInVMAccessControlProfile extends Resource { + /** Describes the properties of a gallery inVMAccessControlProfile. */ + properties?: GalleryInVMAccessControlProfileProperties; +} + +/** Specifies information about the gallery inVMAccessControlProfile version that you want to create or update. */ +export interface GalleryInVMAccessControlProfileVersion extends Resource { + /** The target regions where the Resource Profile version is going to be replicated to. This property is updatable. */ + targetLocations?: TargetRegion[]; + /** If set to true, Virtual Machines deployed from the latest version of the Resource Profile won't use this Profile version. */ + excludeFromLatest?: boolean; + /** + * The timestamp for when the Resource Profile Version is published. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly publishedDate?: Date; + /** + * The provisioning state, which only appears in the response. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: GalleryProvisioningState; + /** + * This is the replication status of the gallery image version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly replicationStatus?: ReplicationStatus; + /** This property allows you to specify whether the access control rules are in Audit mode, in Enforce mode or Disabled. Possible values are: 'Audit', 'Enforce' or 'Disabled'. */ + mode?: AccessControlRulesMode; + /** This property allows you to specify if the requests will be allowed to access the host endpoints. Possible values are: 'Allow', 'Deny'. */ + defaultAccess?: EndpointAccess; + /** This is the Access Control Rules specification for an inVMAccessControlProfile version. */ + rules?: AccessControlRules; +} + /** Describes a Virtual Machine Scale Set. */ export interface VirtualMachineScaleSetUpdate extends UpdateResource { /** The virtual machine scale set sku. */ @@ -6619,6 +6856,8 @@ export interface DiskRestorePoint extends ProxyOnlyResource { /** Specifies information about the Shared Image Gallery that you want to update. */ export interface GalleryUpdate extends UpdateResourceDefinition { + /** The identity of the gallery, if configured. */ + identity?: GalleryIdentity; /** The description of this Shared Image Gallery resource. This property is updatable. */ description?: string; /** Describes the gallery unique name. */ @@ -6672,8 +6911,10 @@ export interface GalleryImageUpdate extends UpdateResourceDefinition { readonly provisioningState?: GalleryProvisioningState; /** A list of gallery image features. */ features?: GalleryImageFeature[]; - /** The architecture of the image. Applicable to OS disks only. */ + /** CPU architecture supported by an OS disk. */ architecture?: Architecture; + /** Optional. Must be set to true if the gallery image features are being updated. */ + allowUpdateImage?: boolean; } /** Specifies information about the gallery image version that you want to update. */ @@ -6696,6 +6937,13 @@ export interface GalleryImageVersionUpdate extends UpdateResourceDefinition { readonly replicationStatus?: ReplicationStatus; /** The security profile of a gallery image version */ securityProfile?: ImageVersionSecurityProfile; + /** Indicates if this is a soft-delete resource restoration request. */ + restore?: boolean; + /** + * This is the validations profile of a Gallery Image Version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly validationsProfile?: ValidationsProfile; } /** Specifies information about the gallery Application Definition that you want to update. */ @@ -6735,6 +6983,43 @@ export interface GalleryApplicationVersionUpdate readonly replicationStatus?: ReplicationStatus; } +/** Specifies information about the gallery inVMAccessControlProfile that you want to update. */ +export interface GalleryInVMAccessControlProfileUpdate + extends UpdateResourceDefinition { + /** Describes the properties of a gallery inVMAccessControlProfile. */ + properties?: GalleryInVMAccessControlProfileProperties; +} + +/** Specifies information about the gallery inVMAccessControlProfile version that you want to update. */ +export interface GalleryInVMAccessControlProfileVersionUpdate + extends UpdateResourceDefinition { + /** The target regions where the Resource Profile version is going to be replicated to. This property is updatable. */ + targetLocations?: TargetRegion[]; + /** If set to true, Virtual Machines deployed from the latest version of the Resource Profile won't use this Profile version. */ + excludeFromLatest?: boolean; + /** + * The timestamp for when the Resource Profile Version is published. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly publishedDate?: Date; + /** + * The provisioning state, which only appears in the response. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: GalleryProvisioningState; + /** + * This is the replication status of the gallery image version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly replicationStatus?: ReplicationStatus; + /** This property allows you to specify whether the access control rules are in Audit mode, in Enforce mode or Disabled. Possible values are: 'Audit', 'Enforce' or 'Disabled'. */ + mode?: AccessControlRulesMode; + /** This property allows you to specify if the requests will be allowed to access the host endpoints. Possible values are: 'Allow', 'Deny'. */ + defaultAccess?: EndpointAccess; + /** This is the Access Control Rules specification for an inVMAccessControlProfile version. */ + rules?: AccessControlRules; +} + /** The publishing profile of a gallery image Version. */ export interface GalleryImageVersionPublishingProfile extends GalleryArtifactPublishingProfileBase {} @@ -6806,12 +7091,36 @@ export interface GalleryImageVersionSafetyProfile * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly policyViolations?: PolicyViolation[]; + /** Indicates whether or not the deletion is blocked for this Gallery Image Version if its End Of Life has not expired. */ + blockDeletionBeforeEndOfLife?: boolean; } /** The safety profile of the Gallery Application Version. */ export interface GalleryApplicationVersionSafetyProfile extends GalleryArtifactSafetyProfileBase {} +/** Describes the properties of a gallery inVMAccessControlProfile. */ +export interface GalleryInVMAccessControlProfileProperties + extends GalleryResourceProfilePropertiesBase { + /** The description of this gallery inVMAccessControlProfile resources. This property is updatable. */ + description?: string; + /** This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux' */ + osType: OperatingSystemTypes; + /** This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS' */ + applicableHostEndpoint: EndpointTypes; +} + +/** Describes the properties of an inVMAccessControlProfile version. */ +export interface GalleryInVMAccessControlProfileVersionProperties + extends GalleryResourceProfileVersionPropertiesBase { + /** This property allows you to specify whether the access control rules are in Audit mode, in Enforce mode or Disabled. Possible values are: 'Audit', 'Enforce' or 'Disabled'. */ + mode: AccessControlRulesMode; + /** This property allows you to specify if the requests will be allowed to access the host endpoints. Possible values are: 'Allow', 'Deny'. */ + defaultAccess: EndpointAccess; + /** This is the Access Control Rules specification for an inVMAccessControlProfile version. */ + rules?: AccessControlRules; +} + /** Base information about the shared gallery resource in pir. */ export interface PirSharedGalleryResource extends PirResource { /** The unique id of this shared gallery. */ @@ -6857,7 +7166,7 @@ export interface CommunityGalleryImage extends PirCommunityGalleryResource { features?: GalleryImageFeature[]; /** Describes the gallery image definition purchase plan. This is used by marketplace images. */ purchasePlan?: ImagePurchasePlan; - /** The architecture of the image. Applicable to OS disks only. */ + /** CPU architecture supported by an OS disk. */ architecture?: Architecture; /** Privacy statement URI for the current community gallery image. */ privacyStatementUri?: string; @@ -6942,7 +7251,7 @@ export interface SharedGalleryImage extends PirSharedGalleryResource { features?: GalleryImageFeature[]; /** Describes the gallery image definition purchase plan. This is used by marketplace images. */ purchasePlan?: ImagePurchasePlan; - /** The architecture of the image. Applicable to OS disks only. */ + /** CPU architecture supported by an OS disk. */ architecture?: Architecture; /** Privacy statement uri for the current community gallery image. */ privacyStatementUri?: string; @@ -6996,6 +7305,18 @@ export interface DedicatedHostsRedeployHeaders { location?: string; } +/** Defines headers for GalleryInVMAccessControlProfiles_delete operation. */ +export interface GalleryInVMAccessControlProfilesDeleteHeaders { + location?: string; + azureAsyncOperation?: string; +} + +/** Defines headers for GalleryInVMAccessControlProfileVersions_delete operation. */ +export interface GalleryInVMAccessControlProfileVersionsDeleteHeaders { + location?: string; + azureAsyncOperation?: string; +} + /** Known values of {@link RepairAction} that the service accepts. */ export enum KnownRepairAction { /** Replace */ @@ -9413,6 +9734,8 @@ export enum KnownStorageAccountType { StandardZRS = "Standard_ZRS", /** PremiumLRS */ PremiumLRS = "Premium_LRS", + /** PremiumV2LRS */ + PremiumV2LRS = "PremiumV2_LRS", } /** @@ -9422,7 +9745,8 @@ export enum KnownStorageAccountType { * ### Known values supported by the service * **Standard_LRS** \ * **Standard_ZRS** \ - * **Premium_LRS** + * **Premium_LRS** \ + * **PremiumV2_LRS** */ export type StorageAccountType = string; @@ -9621,6 +9945,27 @@ export enum KnownUefiKeyType { */ export type UefiKeyType = string; +/** Known values of {@link ValidationStatus} that the service accepts. */ +export enum KnownValidationStatus { + /** Unknown */ + Unknown = "Unknown", + /** Failed */ + Failed = "Failed", + /** Succeeded */ + Succeeded = "Succeeded", +} + +/** + * Defines values for ValidationStatus. \ + * {@link KnownValidationStatus} can be used interchangeably with ValidationStatus, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Unknown** \ + * **Failed** \ + * **Succeeded** + */ +export type ValidationStatus = string; + /** Known values of {@link ReplicationStatusTypes} that the service accepts. */ export enum KnownReplicationStatusTypes { /** ReplicationStatus */ @@ -9639,6 +9984,39 @@ export enum KnownReplicationStatusTypes { */ export type ReplicationStatusTypes = string; +/** Known values of {@link GalleryApplicationScriptRebootBehavior} that the service accepts. */ +export enum KnownGalleryApplicationScriptRebootBehavior { + /** None */ + None = "None", + /** Rerun */ + Rerun = "Rerun", +} + +/** + * Defines values for GalleryApplicationScriptRebootBehavior. \ + * {@link KnownGalleryApplicationScriptRebootBehavior} can be used interchangeably with GalleryApplicationScriptRebootBehavior, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **Rerun** + */ +export type GalleryApplicationScriptRebootBehavior = string; + +/** Known values of {@link SoftDeletedArtifactTypes} that the service accepts. */ +export enum KnownSoftDeletedArtifactTypes { + /** Images */ + Images = "Images", +} + +/** + * Defines values for SoftDeletedArtifactTypes. \ + * {@link KnownSoftDeletedArtifactTypes} can be used interchangeably with SoftDeletedArtifactTypes, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Images** + */ +export type SoftDeletedArtifactTypes = string; + /** Known values of {@link SharingUpdateOperationTypes} that the service accepts. */ export enum KnownSharingUpdateOperationTypes { /** Add */ @@ -9663,6 +10041,45 @@ export enum KnownSharingUpdateOperationTypes { */ export type SharingUpdateOperationTypes = string; +/** Known values of {@link AccessControlRulesMode} that the service accepts. */ +export enum KnownAccessControlRulesMode { + /** Audit */ + Audit = "Audit", + /** Enforce */ + Enforce = "Enforce", + /** Disabled */ + Disabled = "Disabled", +} + +/** + * Defines values for AccessControlRulesMode. \ + * {@link KnownAccessControlRulesMode} can be used interchangeably with AccessControlRulesMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Audit** \ + * **Enforce** \ + * **Disabled** + */ +export type AccessControlRulesMode = string; + +/** Known values of {@link EndpointAccess} that the service accepts. */ +export enum KnownEndpointAccess { + /** Allow */ + Allow = "Allow", + /** Deny */ + Deny = "Deny", +} + +/** + * Defines values for EndpointAccess. \ + * {@link KnownEndpointAccess} can be used interchangeably with EndpointAccess, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Allow** \ + * **Deny** + */ +export type EndpointAccess = string; + /** Known values of {@link SharedToValues} that the service accepts. */ export enum KnownSharedToValues { /** Tenant */ @@ -9827,6 +10244,8 @@ export type GalleryApplicationCustomActionParameterType = | "String" | "ConfigurationDataBlob" | "LogOutputBlob"; +/** Defines values for EndpointTypes. */ +export type EndpointTypes = "WireServer" | "IMDS"; /** Optional parameters. */ export interface OperationsListOptionalParams @@ -11010,7 +11429,7 @@ export type AvailabilitySetsGetResponse = AvailabilitySet; /** Optional parameters. */ export interface AvailabilitySetsListBySubscriptionOptionalParams extends coreClient.OperationOptions { - /** The expand expression to apply to the operation. Allowed values are 'instanceView'. */ + /** The expand expression to apply to the operation. Allowed values are 'virtualMachines/$ref'. */ expand?: string; } @@ -12538,6 +12957,22 @@ export interface GalleryApplicationVersionsListByGalleryApplicationNextOptionalP export type GalleryApplicationVersionsListByGalleryApplicationNextResponse = GalleryApplicationVersionList; +/** Optional parameters. */ +export interface SoftDeletedResourceListByArtifactNameOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByArtifactName operation. */ +export type SoftDeletedResourceListByArtifactNameResponse = + GallerySoftDeletedResourceList; + +/** Optional parameters. */ +export interface SoftDeletedResourceListByArtifactNameNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByArtifactNameNext operation. */ +export type SoftDeletedResourceListByArtifactNameNextResponse = + GallerySoftDeletedResourceList; + /** Optional parameters. */ export interface GallerySharingProfileUpdateOptionalParams extends coreClient.OperationOptions { @@ -12550,6 +12985,132 @@ export interface GallerySharingProfileUpdateOptionalParams /** Contains response data for the update operation. */ export type GallerySharingProfileUpdateResponse = SharingUpdate; +/** Optional parameters. */ +export interface GalleryInVMAccessControlProfilesCreateOrUpdateOptionalParams + 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 GalleryInVMAccessControlProfilesCreateOrUpdateResponse = + GalleryInVMAccessControlProfile; + +/** Optional parameters. */ +export interface GalleryInVMAccessControlProfilesUpdateOptionalParams + 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 GalleryInVMAccessControlProfilesUpdateResponse = + GalleryInVMAccessControlProfile; + +/** Optional parameters. */ +export interface GalleryInVMAccessControlProfilesGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type GalleryInVMAccessControlProfilesGetResponse = + GalleryInVMAccessControlProfile; + +/** Optional parameters. */ +export interface GalleryInVMAccessControlProfilesDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the delete operation. */ +export type GalleryInVMAccessControlProfilesDeleteResponse = + GalleryInVMAccessControlProfilesDeleteHeaders; + +/** Optional parameters. */ +export interface GalleryInVMAccessControlProfilesListByGalleryOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByGallery operation. */ +export type GalleryInVMAccessControlProfilesListByGalleryResponse = + GalleryInVMAccessControlProfileList; + +/** Optional parameters. */ +export interface GalleryInVMAccessControlProfilesListByGalleryNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByGalleryNext operation. */ +export type GalleryInVMAccessControlProfilesListByGalleryNextResponse = + GalleryInVMAccessControlProfileList; + +/** Optional parameters. */ +export interface GalleryInVMAccessControlProfileVersionsCreateOrUpdateOptionalParams + 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 GalleryInVMAccessControlProfileVersionsCreateOrUpdateResponse = + GalleryInVMAccessControlProfileVersion; + +/** Optional parameters. */ +export interface GalleryInVMAccessControlProfileVersionsUpdateOptionalParams + 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 GalleryInVMAccessControlProfileVersionsUpdateResponse = + GalleryInVMAccessControlProfileVersion; + +/** Optional parameters. */ +export interface GalleryInVMAccessControlProfileVersionsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type GalleryInVMAccessControlProfileVersionsGetResponse = + GalleryInVMAccessControlProfileVersion; + +/** Optional parameters. */ +export interface GalleryInVMAccessControlProfileVersionsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the delete operation. */ +export type GalleryInVMAccessControlProfileVersionsDeleteResponse = + GalleryInVMAccessControlProfileVersionsDeleteHeaders; + +/** Optional parameters. */ +export interface GalleryInVMAccessControlProfileVersionsListByGalleryInVMAccessControlProfileOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByGalleryInVMAccessControlProfile operation. */ +export type GalleryInVMAccessControlProfileVersionsListByGalleryInVMAccessControlProfileResponse = + GalleryInVMAccessControlProfileVersionList; + +/** Optional parameters. */ +export interface GalleryInVMAccessControlProfileVersionsListByGalleryInVMAccessControlProfileNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByGalleryInVMAccessControlProfileNext operation. */ +export type GalleryInVMAccessControlProfileVersionsListByGalleryInVMAccessControlProfileNextResponse = + GalleryInVMAccessControlProfileVersionList; + /** Optional parameters. */ export interface SharedGalleriesListOptionalParams extends coreClient.OperationOptions { diff --git a/sdk/compute/arm-compute/src/models/mappers.ts b/sdk/compute/arm-compute/src/models/mappers.ts index fde041ec9ae2..dea08e7d74e9 100644 --- a/sdk/compute/arm-compute/src/models/mappers.ts +++ b/sdk/compute/arm-compute/src/models/mappers.ts @@ -9904,6 +9904,53 @@ export const RegionalSharingStatus: coreClient.CompositeMapper = { }, }; +export const GalleryIdentity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "GalleryIdentity", + modelProperties: { + principalId: { + serializedName: "principalId", + readOnly: true, + type: { + name: "String", + }, + }, + tenantId: { + serializedName: "tenantId", + readOnly: true, + type: { + name: "String", + }, + }, + type: { + serializedName: "type", + type: { + name: "Enum", + allowedValues: [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None", + ], + }, + }, + userAssignedIdentities: { + serializedName: "userAssignedIdentities", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "UserAssignedIdentitiesValue", + }, + }, + }, + }, + }, + }, +}; + export const UpdateResourceDefinition: coreClient.CompositeMapper = { type: { name: "Composite", @@ -10079,6 +10126,12 @@ export const GalleryImageFeature: coreClient.CompositeMapper = { name: "String", }, }, + startsAtVersion: { + serializedName: "startsAtVersion", + type: { + name: "String", + }, + }, }, }, }; @@ -10191,6 +10244,18 @@ export const TargetRegion: coreClient.CompositeMapper = { name: "Boolean", }, }, + additionalReplicaSets: { + serializedName: "additionalReplicaSets", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AdditionalReplicaSet", + }, + }, + }, + }, }, }, }; @@ -10259,6 +10324,27 @@ export const DiskImageEncryption: coreClient.CompositeMapper = { }, }; +export const AdditionalReplicaSet: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AdditionalReplicaSet", + modelProperties: { + storageAccountType: { + serializedName: "storageAccountType", + type: { + name: "String", + }, + }, + regionalReplicaCount: { + serializedName: "regionalReplicaCount", + type: { + name: "Number", + }, + }, + }, + }, +}; + export const GalleryTargetExtendedLocation: coreClient.CompositeMapper = { type: { name: "Composite", @@ -10624,6 +10710,101 @@ export const UefiKey: coreClient.CompositeMapper = { }, }; +export const ValidationsProfile: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ValidationsProfile", + modelProperties: { + validationEtag: { + serializedName: "validationEtag", + type: { + name: "String", + }, + }, + executedValidations: { + serializedName: "executedValidations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ExecutedValidation", + }, + }, + }, + }, + platformAttributes: { + serializedName: "platformAttributes", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PlatformAttribute", + }, + }, + }, + }, + }, + }, +}; + +export const ExecutedValidation: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ExecutedValidation", + modelProperties: { + type: { + serializedName: "type", + type: { + name: "String", + }, + }, + status: { + serializedName: "status", + type: { + name: "String", + }, + }, + version: { + serializedName: "version", + type: { + name: "String", + }, + }, + executionTime: { + serializedName: "executionTime", + type: { + name: "DateTime", + }, + }, + }, + }, +}; + +export const PlatformAttribute: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PlatformAttribute", + modelProperties: { + name: { + serializedName: "name", + readOnly: true, + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + export const GalleryApplicationCustomAction: coreClient.CompositeMapper = { type: { name: "Composite", @@ -10775,6 +10956,12 @@ export const UserArtifactSettings: coreClient.CompositeMapper = { name: "String", }, }, + scriptBehaviorAfterReboot: { + serializedName: "scriptBehaviorAfterReboot", + type: { + name: "String", + }, + }, }, }, }; @@ -10803,6 +10990,13 @@ export const GalleryList: coreClient.CompositeMapper = { name: "String", }, }, + securityProfile: { + serializedName: "securityProfile", + type: { + name: "Composite", + className: "ImageVersionSecurityProfile", + }, + }, }, }, }; @@ -10919,6 +11113,34 @@ export const GalleryApplicationVersionList: coreClient.CompositeMapper = { }, }; +export const GallerySoftDeletedResourceList: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "GallerySoftDeletedResourceList", + modelProperties: { + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GallerySoftDeletedResource", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + }, + }, +}; + export const SharingUpdate: coreClient.CompositeMapper = { type: { name: "Composite", @@ -10947,6 +11169,312 @@ export const SharingUpdate: coreClient.CompositeMapper = { }, }; +export const GalleryResourceProfilePropertiesBase: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "GalleryResourceProfilePropertiesBase", + modelProperties: { + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, + }; + +export const AccessControlRules: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AccessControlRules", + modelProperties: { + privileges: { + serializedName: "privileges", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AccessControlRulesPrivilege", + }, + }, + }, + }, + roles: { + serializedName: "roles", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AccessControlRulesRole", + }, + }, + }, + }, + identities: { + serializedName: "identities", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AccessControlRulesIdentity", + }, + }, + }, + }, + roleAssignments: { + serializedName: "roleAssignments", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AccessControlRulesRoleAssignment", + }, + }, + }, + }, + }, + }, +}; + +export const AccessControlRulesPrivilege: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AccessControlRulesPrivilege", + modelProperties: { + name: { + serializedName: "name", + required: true, + type: { + name: "String", + }, + }, + path: { + serializedName: "path", + required: true, + type: { + name: "String", + }, + }, + queryParameters: { + serializedName: "queryParameters", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + }, + }, +}; + +export const AccessControlRulesRole: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AccessControlRulesRole", + modelProperties: { + name: { + serializedName: "name", + required: true, + type: { + name: "String", + }, + }, + privileges: { + serializedName: "privileges", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, +}; + +export const AccessControlRulesIdentity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AccessControlRulesIdentity", + modelProperties: { + name: { + serializedName: "name", + required: true, + type: { + name: "String", + }, + }, + userName: { + serializedName: "userName", + type: { + name: "String", + }, + }, + groupName: { + serializedName: "groupName", + type: { + name: "String", + }, + }, + exePath: { + serializedName: "exePath", + type: { + name: "String", + }, + }, + processName: { + serializedName: "processName", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const AccessControlRulesRoleAssignment: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AccessControlRulesRoleAssignment", + modelProperties: { + role: { + serializedName: "role", + required: true, + type: { + name: "String", + }, + }, + identities: { + serializedName: "identities", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, +}; + +export const GalleryResourceProfileVersionPropertiesBase: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "GalleryResourceProfileVersionPropertiesBase", + modelProperties: { + targetLocations: { + serializedName: "targetLocations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TargetRegion", + }, + }, + }, + }, + excludeFromLatest: { + serializedName: "excludeFromLatest", + type: { + name: "Boolean", + }, + }, + publishedDate: { + serializedName: "publishedDate", + readOnly: true, + type: { + name: "DateTime", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + replicationStatus: { + serializedName: "replicationStatus", + type: { + name: "Composite", + className: "ReplicationStatus", + }, + }, + }, + }, + }; + +export const GalleryInVMAccessControlProfileList: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "GalleryInVMAccessControlProfileList", + modelProperties: { + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GalleryInVMAccessControlProfile", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const GalleryInVMAccessControlProfileVersionList: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "GalleryInVMAccessControlProfileVersionList", + modelProperties: { + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GalleryInVMAccessControlProfileVersion", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + }, + }, + }; + export const SharedGalleryList: coreClient.CompositeMapper = { type: { name: "Composite", @@ -11893,6 +12421,12 @@ export const CloudServiceVaultCertificate: coreClient.CompositeMapper = { name: "String", }, }, + isBootstrapCertificate: { + serializedName: "isBootstrapCertificate", + type: { + name: "Boolean", + }, + }, }, }, }; @@ -15347,6 +15881,13 @@ export const Gallery: coreClient.CompositeMapper = { className: "Gallery", modelProperties: { ...Resource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "GalleryIdentity", + }, + }, description: { serializedName: "properties.description", type: { @@ -15501,6 +16042,12 @@ export const GalleryImage: coreClient.CompositeMapper = { name: "String", }, }, + allowUpdateImage: { + serializedName: "properties.allowUpdateImage", + type: { + name: "Boolean", + }, + }, }, }, }; @@ -15553,6 +16100,19 @@ export const GalleryImageVersion: coreClient.CompositeMapper = { className: "ImageVersionSecurityProfile", }, }, + restore: { + serializedName: "properties.restore", + type: { + name: "Boolean", + }, + }, + validationsProfile: { + serializedName: "properties.validationsProfile", + type: { + name: "Composite", + className: "ValidationsProfile", + }, + }, }, }, }; @@ -15654,6 +16214,120 @@ export const GalleryApplicationVersion: coreClient.CompositeMapper = { }, }; +export const GallerySoftDeletedResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "GallerySoftDeletedResource", + modelProperties: { + ...Resource.type.modelProperties, + resourceArmId: { + serializedName: "properties.resourceArmId", + type: { + name: "String", + }, + }, + softDeletedArtifactType: { + serializedName: "properties.softDeletedArtifactType", + type: { + name: "String", + }, + }, + softDeletedTime: { + serializedName: "properties.softDeletedTime", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const GalleryInVMAccessControlProfile: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "GalleryInVMAccessControlProfile", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "GalleryInVMAccessControlProfileProperties", + }, + }, + }, + }, +}; + +export const GalleryInVMAccessControlProfileVersion: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "GalleryInVMAccessControlProfileVersion", + modelProperties: { + ...Resource.type.modelProperties, + targetLocations: { + serializedName: "properties.targetLocations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TargetRegion", + }, + }, + }, + }, + excludeFromLatest: { + serializedName: "properties.excludeFromLatest", + type: { + name: "Boolean", + }, + }, + publishedDate: { + serializedName: "properties.publishedDate", + readOnly: true, + type: { + name: "DateTime", + }, + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + replicationStatus: { + serializedName: "properties.replicationStatus", + type: { + name: "Composite", + className: "ReplicationStatus", + }, + }, + mode: { + serializedName: "properties.mode", + type: { + name: "String", + }, + }, + defaultAccess: { + serializedName: "properties.defaultAccess", + type: { + name: "String", + }, + }, + rules: { + serializedName: "properties.rules", + type: { + name: "Composite", + className: "AccessControlRules", + }, + }, + }, + }, + }; + export const VirtualMachineScaleSetUpdate: coreClient.CompositeMapper = { type: { name: "Composite", @@ -17095,6 +17769,13 @@ export const GalleryUpdate: coreClient.CompositeMapper = { className: "GalleryUpdate", modelProperties: { ...UpdateResourceDefinition.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "GalleryIdentity", + }, + }, description: { serializedName: "properties.description", type: { @@ -17249,6 +17930,12 @@ export const GalleryImageUpdate: coreClient.CompositeMapper = { name: "String", }, }, + allowUpdateImage: { + serializedName: "properties.allowUpdateImage", + type: { + name: "Boolean", + }, + }, }, }, }; @@ -17301,6 +17988,19 @@ export const GalleryImageVersionUpdate: coreClient.CompositeMapper = { className: "ImageVersionSecurityProfile", }, }, + restore: { + serializedName: "properties.restore", + type: { + name: "Boolean", + }, + }, + validationsProfile: { + serializedName: "properties.validationsProfile", + type: { + name: "Composite", + className: "ValidationsProfile", + }, + }, }, }, }; @@ -17402,6 +18102,93 @@ export const GalleryApplicationVersionUpdate: coreClient.CompositeMapper = { }, }; +export const GalleryInVMAccessControlProfileUpdate: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "GalleryInVMAccessControlProfileUpdate", + modelProperties: { + ...UpdateResourceDefinition.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "GalleryInVMAccessControlProfileProperties", + }, + }, + }, + }, + }; + +export const GalleryInVMAccessControlProfileVersionUpdate: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "GalleryInVMAccessControlProfileVersionUpdate", + modelProperties: { + ...UpdateResourceDefinition.type.modelProperties, + targetLocations: { + serializedName: "properties.targetLocations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TargetRegion", + }, + }, + }, + }, + excludeFromLatest: { + serializedName: "properties.excludeFromLatest", + type: { + name: "Boolean", + }, + }, + publishedDate: { + serializedName: "properties.publishedDate", + readOnly: true, + type: { + name: "DateTime", + }, + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + replicationStatus: { + serializedName: "properties.replicationStatus", + type: { + name: "Composite", + className: "ReplicationStatus", + }, + }, + mode: { + serializedName: "properties.mode", + type: { + name: "String", + }, + }, + defaultAccess: { + serializedName: "properties.defaultAccess", + type: { + name: "String", + }, + }, + rules: { + serializedName: "properties.rules", + type: { + name: "Composite", + className: "AccessControlRules", + }, + }, + }, + }, + }; + export const GalleryImageVersionPublishingProfile: coreClient.CompositeMapper = { type: { @@ -17601,6 +18388,12 @@ export const GalleryImageVersionSafetyProfile: coreClient.CompositeMapper = { }, }, }, + blockDeletionBeforeEndOfLife: { + serializedName: "blockDeletionBeforeEndOfLife", + type: { + name: "Boolean", + }, + }, }, }, }; @@ -17616,6 +18409,71 @@ export const GalleryApplicationVersionSafetyProfile: coreClient.CompositeMapper }, }; +export const GalleryInVMAccessControlProfileProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "GalleryInVMAccessControlProfileProperties", + modelProperties: { + ...GalleryResourceProfilePropertiesBase.type.modelProperties, + description: { + serializedName: "description", + type: { + name: "String", + }, + }, + osType: { + serializedName: "osType", + required: true, + type: { + name: "Enum", + allowedValues: ["Windows", "Linux"], + }, + }, + applicableHostEndpoint: { + serializedName: "applicableHostEndpoint", + required: true, + type: { + name: "Enum", + allowedValues: ["WireServer", "IMDS"], + }, + }, + }, + }, + }; + +export const GalleryInVMAccessControlProfileVersionProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "GalleryInVMAccessControlProfileVersionProperties", + modelProperties: { + ...GalleryResourceProfileVersionPropertiesBase.type.modelProperties, + mode: { + serializedName: "mode", + required: true, + type: { + name: "String", + }, + }, + defaultAccess: { + serializedName: "defaultAccess", + required: true, + type: { + name: "String", + }, + }, + rules: { + serializedName: "rules", + type: { + name: "Composite", + className: "AccessControlRules", + }, + }, + }, + }, + }; + export const PirSharedGalleryResource: coreClient.CompositeMapper = { type: { name: "Composite", @@ -18202,3 +19060,47 @@ export const DedicatedHostsRedeployHeaders: coreClient.CompositeMapper = { }, }, }; + +export const GalleryInVMAccessControlProfilesDeleteHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "GalleryInVMAccessControlProfilesDeleteHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const GalleryInVMAccessControlProfileVersionsDeleteHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "GalleryInVMAccessControlProfileVersionsDeleteHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; diff --git a/sdk/compute/arm-compute/src/models/parameters.ts b/sdk/compute/arm-compute/src/models/parameters.ts index 9db43162f04a..9cec58f3c851 100644 --- a/sdk/compute/arm-compute/src/models/parameters.ts +++ b/sdk/compute/arm-compute/src/models/parameters.ts @@ -79,6 +79,10 @@ import { GalleryApplicationVersion as GalleryApplicationVersionMapper, GalleryApplicationVersionUpdate as GalleryApplicationVersionUpdateMapper, SharingUpdate as SharingUpdateMapper, + GalleryInVMAccessControlProfile as GalleryInVMAccessControlProfileMapper, + GalleryInVMAccessControlProfileUpdate as GalleryInVMAccessControlProfileUpdateMapper, + GalleryInVMAccessControlProfileVersion as GalleryInVMAccessControlProfileVersionMapper, + GalleryInVMAccessControlProfileVersionUpdate as GalleryInVMAccessControlProfileVersionUpdateMapper, CloudService as CloudServiceMapper, CloudServiceUpdate as CloudServiceUpdateMapper, RoleInstances as RoleInstancesMapper, @@ -1169,7 +1173,7 @@ export const galleryName: OperationURLParameter = { export const apiVersion3: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2023-07-03", + defaultValue: "2024-03-03", isConstant: true, serializedName: "api-version", type: { @@ -1297,11 +1301,138 @@ export const galleryApplicationVersion1: OperationParameter = { mapper: GalleryApplicationVersionUpdateMapper, }; +export const galleryName1: OperationURLParameter = { + parameterPath: "galleryName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9]+([_]?[a-zA-Z0-9]+)*$"), + }, + serializedName: "galleryName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const artifactType: OperationURLParameter = { + parameterPath: "artifactType", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9]+([_]?[a-zA-Z0-9]+)*$"), + }, + serializedName: "artifactType", + required: true, + type: { + name: "String", + }, + }, +}; + +export const artifactName: OperationURLParameter = { + parameterPath: "artifactName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9]+([_]?[a-zA-Z0-9]+)*$"), + }, + serializedName: "artifactName", + required: true, + type: { + name: "String", + }, + }, +}; + export const sharingUpdate: OperationParameter = { parameterPath: "sharingUpdate", mapper: SharingUpdateMapper, }; +export const galleryInVMAccessControlProfile: OperationParameter = { + parameterPath: "galleryInVMAccessControlProfile", + mapper: GalleryInVMAccessControlProfileMapper, +}; + +export const inVMAccessControlProfileName: OperationURLParameter = { + parameterPath: "inVMAccessControlProfileName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9]+([-._]?[a-zA-Z0-9]+)*$"), + MaxLength: 80, + }, + serializedName: "inVMAccessControlProfileName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const galleryInVMAccessControlProfile1: OperationParameter = { + parameterPath: "galleryInVMAccessControlProfile", + mapper: GalleryInVMAccessControlProfileUpdateMapper, +}; + +export const inVMAccessControlProfileName1: OperationURLParameter = { + parameterPath: "inVMAccessControlProfileName", + mapper: { + serializedName: "inVMAccessControlProfileName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const galleryInVMAccessControlProfileVersion: OperationParameter = { + parameterPath: "galleryInVMAccessControlProfileVersion", + mapper: GalleryInVMAccessControlProfileVersionMapper, +}; + +export const inVMAccessControlProfileVersionName: OperationURLParameter = { + parameterPath: "inVMAccessControlProfileVersionName", + mapper: { + constraints: { + Pattern: new RegExp("^[0-9]+\\.[0-9]+\\.[0-9]+$"), + }, + serializedName: "inVMAccessControlProfileVersionName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const galleryInVMAccessControlProfileVersion1: OperationParameter = { + parameterPath: "galleryInVMAccessControlProfileVersion", + mapper: GalleryInVMAccessControlProfileVersionUpdateMapper, +}; + +export const inVMAccessControlProfileVersionName1: OperationURLParameter = { + parameterPath: "inVMAccessControlProfileVersionName", + mapper: { + serializedName: "inVMAccessControlProfileVersionName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const inVMAccessControlProfileName2: OperationURLParameter = { + parameterPath: "inVMAccessControlProfileName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9]+([-._]?[a-zA-Z0-9]+)*$"), + }, + serializedName: "inVMAccessControlProfileName", + required: true, + type: { + name: "String", + }, + }, +}; + export const sharedTo: OperationQueryParameter = { parameterPath: ["options", "sharedTo"], mapper: { @@ -1359,7 +1490,7 @@ export const cloudServiceName: OperationURLParameter = { export const apiVersion4: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2022-09-04", + defaultValue: "2024-11-04", isConstant: true, serializedName: "api-version", type: { diff --git a/sdk/compute/arm-compute/src/operations/galleryInVMAccessControlProfileVersions.ts b/sdk/compute/arm-compute/src/operations/galleryInVMAccessControlProfileVersions.ts new file mode 100644 index 000000000000..f6f2a932bcee --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/galleryInVMAccessControlProfileVersions.ts @@ -0,0 +1,762 @@ +/* + * 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 { GalleryInVMAccessControlProfileVersions } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClient } from "../computeManagementClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + GalleryInVMAccessControlProfileVersion, + GalleryInVMAccessControlProfileVersionsListByGalleryInVMAccessControlProfileNextOptionalParams, + GalleryInVMAccessControlProfileVersionsListByGalleryInVMAccessControlProfileOptionalParams, + GalleryInVMAccessControlProfileVersionsListByGalleryInVMAccessControlProfileResponse, + GalleryInVMAccessControlProfileVersionsCreateOrUpdateOptionalParams, + GalleryInVMAccessControlProfileVersionsCreateOrUpdateResponse, + GalleryInVMAccessControlProfileVersionUpdate, + GalleryInVMAccessControlProfileVersionsUpdateOptionalParams, + GalleryInVMAccessControlProfileVersionsUpdateResponse, + GalleryInVMAccessControlProfileVersionsGetOptionalParams, + GalleryInVMAccessControlProfileVersionsGetResponse, + GalleryInVMAccessControlProfileVersionsDeleteOptionalParams, + GalleryInVMAccessControlProfileVersionsDeleteResponse, + GalleryInVMAccessControlProfileVersionsListByGalleryInVMAccessControlProfileNextResponse, +} from "../models"; + +/// +/** Class containing GalleryInVMAccessControlProfileVersions operations. */ +export class GalleryInVMAccessControlProfileVersionsImpl + implements GalleryInVMAccessControlProfileVersions +{ + private readonly client: ComputeManagementClient; + + /** + * Initialize a new instance of the class GalleryInVMAccessControlProfileVersions class. + * @param client Reference to the service client + */ + constructor(client: ComputeManagementClient) { + this.client = client; + } + + /** + * List gallery inVMAccessControlProfile versions in a gallery inVMAccessControlProfile + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery in which the inVMAccessControlProfile + * resides. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile from which the + * inVMAccessControlProfile versions are to be listed. + * @param options The options parameters. + */ + public listByGalleryInVMAccessControlProfile( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + options?: GalleryInVMAccessControlProfileVersionsListByGalleryInVMAccessControlProfileOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listByGalleryInVMAccessControlProfilePagingAll( + resourceGroupName, + galleryName, + inVMAccessControlProfileName, + 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.listByGalleryInVMAccessControlProfilePagingPage( + resourceGroupName, + galleryName, + inVMAccessControlProfileName, + options, + settings, + ); + }, + }; + } + + private async *listByGalleryInVMAccessControlProfilePagingPage( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + options?: GalleryInVMAccessControlProfileVersionsListByGalleryInVMAccessControlProfileOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: GalleryInVMAccessControlProfileVersionsListByGalleryInVMAccessControlProfileResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listByGalleryInVMAccessControlProfile( + resourceGroupName, + galleryName, + inVMAccessControlProfileName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listByGalleryInVMAccessControlProfileNext( + resourceGroupName, + galleryName, + inVMAccessControlProfileName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listByGalleryInVMAccessControlProfilePagingAll( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + options?: GalleryInVMAccessControlProfileVersionsListByGalleryInVMAccessControlProfileOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listByGalleryInVMAccessControlProfilePagingPage( + resourceGroupName, + galleryName, + inVMAccessControlProfileName, + options, + )) { + yield* page; + } + } + + /** + * Create or update a gallery inVMAccessControlProfile version. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery in which the inVMAccessControlProfile + * resides. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile in which the + * inVMAccessControlProfile version is to be created. + * @param inVMAccessControlProfileVersionName The name of the gallery inVMAccessControlProfile version + * to be created. Needs to follow semantic version name pattern: The allowed characters are digit and + * period. Digits must be within the range of a 32-bit integer. Format: + * .. + * @param galleryInVMAccessControlProfileVersion Parameters supplied to the create or update gallery + * inVMAccessControlProfile version operation. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + inVMAccessControlProfileVersionName: string, + galleryInVMAccessControlProfileVersion: GalleryInVMAccessControlProfileVersion, + options?: GalleryInVMAccessControlProfileVersionsCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + GalleryInVMAccessControlProfileVersionsCreateOrUpdateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + galleryName, + inVMAccessControlProfileName, + inVMAccessControlProfileVersionName, + galleryInVMAccessControlProfileVersion, + options, + }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + GalleryInVMAccessControlProfileVersionsCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + }); + await poller.poll(); + return poller; + } + + /** + * Create or update a gallery inVMAccessControlProfile version. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery in which the inVMAccessControlProfile + * resides. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile in which the + * inVMAccessControlProfile version is to be created. + * @param inVMAccessControlProfileVersionName The name of the gallery inVMAccessControlProfile version + * to be created. Needs to follow semantic version name pattern: The allowed characters are digit and + * period. Digits must be within the range of a 32-bit integer. Format: + * .. + * @param galleryInVMAccessControlProfileVersion Parameters supplied to the create or update gallery + * inVMAccessControlProfile version operation. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + inVMAccessControlProfileVersionName: string, + galleryInVMAccessControlProfileVersion: GalleryInVMAccessControlProfileVersion, + options?: GalleryInVMAccessControlProfileVersionsCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + galleryName, + inVMAccessControlProfileName, + inVMAccessControlProfileVersionName, + galleryInVMAccessControlProfileVersion, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Update a gallery inVMAccessControlProfile version. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery in which the inVMAccessControlProfile + * resides. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile in which the + * inVMAccessControlProfile version is to be updated. + * @param inVMAccessControlProfileVersionName The name of the gallery inVMAccessControlProfile version + * to be updated. Needs to follow semantic version name pattern: The allowed characters are digit and + * period. Digits must be within the range of a 32-bit integer. Format: + * .. + * @param galleryInVMAccessControlProfileVersion Parameters supplied to the update gallery + * inVMAccessControlProfile version operation. + * @param options The options parameters. + */ + async beginUpdate( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + inVMAccessControlProfileVersionName: string, + galleryInVMAccessControlProfileVersion: GalleryInVMAccessControlProfileVersionUpdate, + options?: GalleryInVMAccessControlProfileVersionsUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + GalleryInVMAccessControlProfileVersionsUpdateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + galleryName, + inVMAccessControlProfileName, + inVMAccessControlProfileVersionName, + galleryInVMAccessControlProfileVersion, + options, + }, + spec: updateOperationSpec, + }); + const poller = await createHttpPoller< + GalleryInVMAccessControlProfileVersionsUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + }); + await poller.poll(); + return poller; + } + + /** + * Update a gallery inVMAccessControlProfile version. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery in which the inVMAccessControlProfile + * resides. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile in which the + * inVMAccessControlProfile version is to be updated. + * @param inVMAccessControlProfileVersionName The name of the gallery inVMAccessControlProfile version + * to be updated. Needs to follow semantic version name pattern: The allowed characters are digit and + * period. Digits must be within the range of a 32-bit integer. Format: + * .. + * @param galleryInVMAccessControlProfileVersion Parameters supplied to the update gallery + * inVMAccessControlProfile version operation. + * @param options The options parameters. + */ + async beginUpdateAndWait( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + inVMAccessControlProfileVersionName: string, + galleryInVMAccessControlProfileVersion: GalleryInVMAccessControlProfileVersionUpdate, + options?: GalleryInVMAccessControlProfileVersionsUpdateOptionalParams, + ): Promise { + const poller = await this.beginUpdate( + resourceGroupName, + galleryName, + inVMAccessControlProfileName, + inVMAccessControlProfileVersionName, + galleryInVMAccessControlProfileVersion, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Retrieves information about a gallery inVMAccessControlProfile version. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery in which the inVMAccessControlProfile + * resides. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile in which the + * inVMAccessControlProfile version resides. + * @param inVMAccessControlProfileVersionName The name of the gallery inVMAccessControlProfile version + * to be retrieved. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + inVMAccessControlProfileVersionName: string, + options?: GalleryInVMAccessControlProfileVersionsGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + galleryName, + inVMAccessControlProfileName, + inVMAccessControlProfileVersionName, + options, + }, + getOperationSpec, + ); + } + + /** + * Delete a gallery inVMAccessControlProfile version. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery in which the inVMAccessControlProfile + * resides. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile in which the + * inVMAccessControlProfile version resides. + * @param inVMAccessControlProfileVersionName The name of the gallery inVMAccessControlProfile version + * to be deleted. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + inVMAccessControlProfileVersionName: string, + options?: GalleryInVMAccessControlProfileVersionsDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + GalleryInVMAccessControlProfileVersionsDeleteResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + galleryName, + inVMAccessControlProfileName, + inVMAccessControlProfileVersionName, + options, + }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + GalleryInVMAccessControlProfileVersionsDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + }); + await poller.poll(); + return poller; + } + + /** + * Delete a gallery inVMAccessControlProfile version. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery in which the inVMAccessControlProfile + * resides. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile in which the + * inVMAccessControlProfile version resides. + * @param inVMAccessControlProfileVersionName The name of the gallery inVMAccessControlProfile version + * to be deleted. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + inVMAccessControlProfileVersionName: string, + options?: GalleryInVMAccessControlProfileVersionsDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + galleryName, + inVMAccessControlProfileName, + inVMAccessControlProfileVersionName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * List gallery inVMAccessControlProfile versions in a gallery inVMAccessControlProfile + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery in which the inVMAccessControlProfile + * resides. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile from which the + * inVMAccessControlProfile versions are to be listed. + * @param options The options parameters. + */ + private _listByGalleryInVMAccessControlProfile( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + options?: GalleryInVMAccessControlProfileVersionsListByGalleryInVMAccessControlProfileOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, galleryName, inVMAccessControlProfileName, options }, + listByGalleryInVMAccessControlProfileOperationSpec, + ); + } + + /** + * ListByGalleryInVMAccessControlProfileNext + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery in which the inVMAccessControlProfile + * resides. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile from which the + * inVMAccessControlProfile versions are to be listed. + * @param nextLink The nextLink from the previous successful call to the + * ListByGalleryInVMAccessControlProfile method. + * @param options The options parameters. + */ + private _listByGalleryInVMAccessControlProfileNext( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + nextLink: string, + options?: GalleryInVMAccessControlProfileVersionsListByGalleryInVMAccessControlProfileNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + galleryName, + inVMAccessControlProfileName, + nextLink, + options, + }, + listByGalleryInVMAccessControlProfileNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{inVMAccessControlProfileName}/versions/{inVMAccessControlProfileVersionName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.GalleryInVMAccessControlProfileVersion, + }, + 201: { + bodyMapper: Mappers.GalleryInVMAccessControlProfileVersion, + }, + 202: { + bodyMapper: Mappers.GalleryInVMAccessControlProfileVersion, + }, + 204: { + bodyMapper: Mappers.GalleryInVMAccessControlProfileVersion, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + requestBody: Parameters.galleryInVMAccessControlProfileVersion, + queryParameters: [Parameters.apiVersion3], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.galleryName1, + Parameters.inVMAccessControlProfileName, + Parameters.inVMAccessControlProfileVersionName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const updateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{inVMAccessControlProfileName}/versions/{inVMAccessControlProfileVersionName}", + httpMethod: "PATCH", + responses: { + 200: { + bodyMapper: Mappers.GalleryInVMAccessControlProfileVersion, + }, + 201: { + bodyMapper: Mappers.GalleryInVMAccessControlProfileVersion, + }, + 202: { + bodyMapper: Mappers.GalleryInVMAccessControlProfileVersion, + }, + 204: { + bodyMapper: Mappers.GalleryInVMAccessControlProfileVersion, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + requestBody: Parameters.galleryInVMAccessControlProfileVersion1, + queryParameters: [Parameters.apiVersion3], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.galleryName, + Parameters.inVMAccessControlProfileName1, + Parameters.inVMAccessControlProfileVersionName1, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{inVMAccessControlProfileName}/versions/{inVMAccessControlProfileVersionName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.GalleryInVMAccessControlProfileVersion, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion3], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.galleryName, + Parameters.inVMAccessControlProfileName1, + Parameters.inVMAccessControlProfileVersionName1, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{inVMAccessControlProfileName}/versions/{inVMAccessControlProfileVersionName}", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: + Mappers.GalleryInVMAccessControlProfileVersionsDeleteHeaders, + }, + 201: { + headersMapper: + Mappers.GalleryInVMAccessControlProfileVersionsDeleteHeaders, + }, + 202: { + headersMapper: + Mappers.GalleryInVMAccessControlProfileVersionsDeleteHeaders, + }, + 204: { + headersMapper: + Mappers.GalleryInVMAccessControlProfileVersionsDeleteHeaders, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion3], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.galleryName, + Parameters.inVMAccessControlProfileName1, + Parameters.inVMAccessControlProfileVersionName1, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listByGalleryInVMAccessControlProfileOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{inVMAccessControlProfileName}/versions", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.GalleryInVMAccessControlProfileVersionList, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion3], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.galleryName1, + Parameters.inVMAccessControlProfileName2, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const listByGalleryInVMAccessControlProfileNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.GalleryInVMAccessControlProfileVersionList, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.galleryName1, + Parameters.inVMAccessControlProfileName2, + ], + headerParameters: [Parameters.accept], + serializer, + }; diff --git a/sdk/compute/arm-compute/src/operations/galleryInVMAccessControlProfiles.ts b/sdk/compute/arm-compute/src/operations/galleryInVMAccessControlProfiles.ts new file mode 100644 index 000000000000..6b5fc5b9d509 --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/galleryInVMAccessControlProfiles.ts @@ -0,0 +1,688 @@ +/* + * 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 { GalleryInVMAccessControlProfiles } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClient } from "../computeManagementClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + GalleryInVMAccessControlProfile, + GalleryInVMAccessControlProfilesListByGalleryNextOptionalParams, + GalleryInVMAccessControlProfilesListByGalleryOptionalParams, + GalleryInVMAccessControlProfilesListByGalleryResponse, + GalleryInVMAccessControlProfilesCreateOrUpdateOptionalParams, + GalleryInVMAccessControlProfilesCreateOrUpdateResponse, + GalleryInVMAccessControlProfileUpdate, + GalleryInVMAccessControlProfilesUpdateOptionalParams, + GalleryInVMAccessControlProfilesUpdateResponse, + GalleryInVMAccessControlProfilesGetOptionalParams, + GalleryInVMAccessControlProfilesGetResponse, + GalleryInVMAccessControlProfilesDeleteOptionalParams, + GalleryInVMAccessControlProfilesDeleteResponse, + GalleryInVMAccessControlProfilesListByGalleryNextResponse, +} from "../models"; + +/// +/** Class containing GalleryInVMAccessControlProfiles operations. */ +export class GalleryInVMAccessControlProfilesImpl + implements GalleryInVMAccessControlProfiles +{ + private readonly client: ComputeManagementClient; + + /** + * Initialize a new instance of the class GalleryInVMAccessControlProfiles class. + * @param client Reference to the service client + */ + constructor(client: ComputeManagementClient) { + this.client = client; + } + + /** + * List gallery inVMAccessControlProfiles in a gallery. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery from which the InVMAccessControlProfiles are + * to be listed. + * @param options The options parameters. + */ + public listByGallery( + resourceGroupName: string, + galleryName: string, + options?: GalleryInVMAccessControlProfilesListByGalleryOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listByGalleryPagingAll( + resourceGroupName, + galleryName, + 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.listByGalleryPagingPage( + resourceGroupName, + galleryName, + options, + settings, + ); + }, + }; + } + + private async *listByGalleryPagingPage( + resourceGroupName: string, + galleryName: string, + options?: GalleryInVMAccessControlProfilesListByGalleryOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: GalleryInVMAccessControlProfilesListByGalleryResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listByGallery( + resourceGroupName, + galleryName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listByGalleryNext( + resourceGroupName, + galleryName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listByGalleryPagingAll( + resourceGroupName: string, + galleryName: string, + options?: GalleryInVMAccessControlProfilesListByGalleryOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listByGalleryPagingPage( + resourceGroupName, + galleryName, + options, + )) { + yield* page; + } + } + + /** + * Create or update a gallery inVMAccessControlProfile. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery in which the InVMAccessControlProfile is to + * be created. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile to be created + * or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed + * in the middle. The maximum length is 80 characters. + * @param galleryInVMAccessControlProfile Parameters supplied to the create or update gallery + * inVMAccessControlProfile operation. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + galleryInVMAccessControlProfile: GalleryInVMAccessControlProfile, + options?: GalleryInVMAccessControlProfilesCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + GalleryInVMAccessControlProfilesCreateOrUpdateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + galleryName, + inVMAccessControlProfileName, + galleryInVMAccessControlProfile, + options, + }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + GalleryInVMAccessControlProfilesCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + }); + await poller.poll(); + return poller; + } + + /** + * Create or update a gallery inVMAccessControlProfile. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery in which the InVMAccessControlProfile is to + * be created. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile to be created + * or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed + * in the middle. The maximum length is 80 characters. + * @param galleryInVMAccessControlProfile Parameters supplied to the create or update gallery + * inVMAccessControlProfile operation. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + galleryInVMAccessControlProfile: GalleryInVMAccessControlProfile, + options?: GalleryInVMAccessControlProfilesCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + galleryName, + inVMAccessControlProfileName, + galleryInVMAccessControlProfile, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Update a gallery inVMAccessControlProfile. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery in which the InVMAccessControlProfile is to + * be updated. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile to be updated. + * The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the + * middle. The maximum length is 80 characters. + * @param galleryInVMAccessControlProfile Parameters supplied to the update gallery + * inVMAccessControlProfile operation. + * @param options The options parameters. + */ + async beginUpdate( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + galleryInVMAccessControlProfile: GalleryInVMAccessControlProfileUpdate, + options?: GalleryInVMAccessControlProfilesUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + GalleryInVMAccessControlProfilesUpdateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + galleryName, + inVMAccessControlProfileName, + galleryInVMAccessControlProfile, + options, + }, + spec: updateOperationSpec, + }); + const poller = await createHttpPoller< + GalleryInVMAccessControlProfilesUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + }); + await poller.poll(); + return poller; + } + + /** + * Update a gallery inVMAccessControlProfile. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery in which the InVMAccessControlProfile is to + * be updated. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile to be updated. + * The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the + * middle. The maximum length is 80 characters. + * @param galleryInVMAccessControlProfile Parameters supplied to the update gallery + * inVMAccessControlProfile operation. + * @param options The options parameters. + */ + async beginUpdateAndWait( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + galleryInVMAccessControlProfile: GalleryInVMAccessControlProfileUpdate, + options?: GalleryInVMAccessControlProfilesUpdateOptionalParams, + ): Promise { + const poller = await this.beginUpdate( + resourceGroupName, + galleryName, + inVMAccessControlProfileName, + galleryInVMAccessControlProfile, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Retrieves information about a gallery inVMAccessControlProfile. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery from which the InVMAccessControlProfiles are + * to be retrieved. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile to be + * retrieved. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + options?: GalleryInVMAccessControlProfilesGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, galleryName, inVMAccessControlProfileName, options }, + getOperationSpec, + ); + } + + /** + * Delete a gallery inVMAccessControlProfile. + * @param resourceGroupName The name of the resource group. + * @param galleryName he name of the Shared Image Gallery in which the InVMAccessControlProfile + * resides. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile to be deleted. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + options?: GalleryInVMAccessControlProfilesDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + GalleryInVMAccessControlProfilesDeleteResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + galleryName, + inVMAccessControlProfileName, + options, + }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + GalleryInVMAccessControlProfilesDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + }); + await poller.poll(); + return poller; + } + + /** + * Delete a gallery inVMAccessControlProfile. + * @param resourceGroupName The name of the resource group. + * @param galleryName he name of the Shared Image Gallery in which the InVMAccessControlProfile + * resides. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile to be deleted. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + options?: GalleryInVMAccessControlProfilesDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + galleryName, + inVMAccessControlProfileName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * List gallery inVMAccessControlProfiles in a gallery. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery from which the InVMAccessControlProfiles are + * to be listed. + * @param options The options parameters. + */ + private _listByGallery( + resourceGroupName: string, + galleryName: string, + options?: GalleryInVMAccessControlProfilesListByGalleryOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, galleryName, options }, + listByGalleryOperationSpec, + ); + } + + /** + * ListByGalleryNext + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery from which the InVMAccessControlProfiles are + * to be listed. + * @param nextLink The nextLink from the previous successful call to the ListByGallery method. + * @param options The options parameters. + */ + private _listByGalleryNext( + resourceGroupName: string, + galleryName: string, + nextLink: string, + options?: GalleryInVMAccessControlProfilesListByGalleryNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, galleryName, nextLink, options }, + listByGalleryNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{inVMAccessControlProfileName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.GalleryInVMAccessControlProfile, + }, + 201: { + bodyMapper: Mappers.GalleryInVMAccessControlProfile, + }, + 202: { + bodyMapper: Mappers.GalleryInVMAccessControlProfile, + }, + 204: { + bodyMapper: Mappers.GalleryInVMAccessControlProfile, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + requestBody: Parameters.galleryInVMAccessControlProfile, + queryParameters: [Parameters.apiVersion3], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.galleryName1, + Parameters.inVMAccessControlProfileName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const updateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{inVMAccessControlProfileName}", + httpMethod: "PATCH", + responses: { + 200: { + bodyMapper: Mappers.GalleryInVMAccessControlProfile, + }, + 201: { + bodyMapper: Mappers.GalleryInVMAccessControlProfile, + }, + 202: { + bodyMapper: Mappers.GalleryInVMAccessControlProfile, + }, + 204: { + bodyMapper: Mappers.GalleryInVMAccessControlProfile, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + requestBody: Parameters.galleryInVMAccessControlProfile1, + queryParameters: [Parameters.apiVersion3], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.galleryName, + Parameters.inVMAccessControlProfileName1, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{inVMAccessControlProfileName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.GalleryInVMAccessControlProfile, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion3], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.galleryName, + Parameters.inVMAccessControlProfileName1, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{inVMAccessControlProfileName}", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: Mappers.GalleryInVMAccessControlProfilesDeleteHeaders, + }, + 201: { + headersMapper: Mappers.GalleryInVMAccessControlProfilesDeleteHeaders, + }, + 202: { + headersMapper: Mappers.GalleryInVMAccessControlProfilesDeleteHeaders, + }, + 204: { + headersMapper: Mappers.GalleryInVMAccessControlProfilesDeleteHeaders, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion3], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.galleryName, + Parameters.inVMAccessControlProfileName1, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listByGalleryOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.GalleryInVMAccessControlProfileList, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion3], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.galleryName1, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listByGalleryNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.GalleryInVMAccessControlProfileList, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.galleryName1, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/compute/arm-compute/src/operations/index.ts b/sdk/compute/arm-compute/src/operations/index.ts index 502684dc464f..a5d61a4df502 100644 --- a/sdk/compute/arm-compute/src/operations/index.ts +++ b/sdk/compute/arm-compute/src/operations/index.ts @@ -43,7 +43,10 @@ export * from "./galleryImages"; export * from "./galleryImageVersions"; export * from "./galleryApplications"; export * from "./galleryApplicationVersions"; +export * from "./softDeletedResource"; export * from "./gallerySharingProfile"; +export * from "./galleryInVMAccessControlProfiles"; +export * from "./galleryInVMAccessControlProfileVersions"; export * from "./sharedGalleries"; export * from "./sharedGalleryImages"; export * from "./sharedGalleryImageVersions"; diff --git a/sdk/compute/arm-compute/src/operations/softDeletedResource.ts b/sdk/compute/arm-compute/src/operations/softDeletedResource.ts new file mode 100644 index 000000000000..f95ad5267a75 --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/softDeletedResource.ts @@ -0,0 +1,243 @@ +/* + * 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 { SoftDeletedResource } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClient } from "../computeManagementClient"; +import { + GallerySoftDeletedResource, + SoftDeletedResourceListByArtifactNameNextOptionalParams, + SoftDeletedResourceListByArtifactNameOptionalParams, + SoftDeletedResourceListByArtifactNameResponse, + SoftDeletedResourceListByArtifactNameNextResponse, +} from "../models"; + +/// +/** Class containing SoftDeletedResource operations. */ +export class SoftDeletedResourceImpl implements SoftDeletedResource { + private readonly client: ComputeManagementClient; + + /** + * Initialize a new instance of the class SoftDeletedResource class. + * @param client Reference to the service client + */ + constructor(client: ComputeManagementClient) { + this.client = client; + } + + /** + * List soft-deleted resources of an artifact in the gallery, such as soft-deleted gallery image + * version of an image. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Gallery in which the soft-deleted resources resides. + * @param artifactType The type of the artifact to be listed, such as gallery image version. + * @param artifactName The artifact name to be listed. If artifact type is Images, then the artifact + * name should be the gallery image name. + * @param options The options parameters. + */ + public listByArtifactName( + resourceGroupName: string, + galleryName: string, + artifactType: string, + artifactName: string, + options?: SoftDeletedResourceListByArtifactNameOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listByArtifactNamePagingAll( + resourceGroupName, + galleryName, + artifactType, + artifactName, + 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.listByArtifactNamePagingPage( + resourceGroupName, + galleryName, + artifactType, + artifactName, + options, + settings, + ); + }, + }; + } + + private async *listByArtifactNamePagingPage( + resourceGroupName: string, + galleryName: string, + artifactType: string, + artifactName: string, + options?: SoftDeletedResourceListByArtifactNameOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: SoftDeletedResourceListByArtifactNameResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listByArtifactName( + resourceGroupName, + galleryName, + artifactType, + artifactName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listByArtifactNameNext( + resourceGroupName, + galleryName, + artifactType, + artifactName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listByArtifactNamePagingAll( + resourceGroupName: string, + galleryName: string, + artifactType: string, + artifactName: string, + options?: SoftDeletedResourceListByArtifactNameOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listByArtifactNamePagingPage( + resourceGroupName, + galleryName, + artifactType, + artifactName, + options, + )) { + yield* page; + } + } + + /** + * List soft-deleted resources of an artifact in the gallery, such as soft-deleted gallery image + * version of an image. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Gallery in which the soft-deleted resources resides. + * @param artifactType The type of the artifact to be listed, such as gallery image version. + * @param artifactName The artifact name to be listed. If artifact type is Images, then the artifact + * name should be the gallery image name. + * @param options The options parameters. + */ + private _listByArtifactName( + resourceGroupName: string, + galleryName: string, + artifactType: string, + artifactName: string, + options?: SoftDeletedResourceListByArtifactNameOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, galleryName, artifactType, artifactName, options }, + listByArtifactNameOperationSpec, + ); + } + + /** + * ListByArtifactNameNext + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Gallery in which the soft-deleted resources resides. + * @param artifactType The type of the artifact to be listed, such as gallery image version. + * @param artifactName The artifact name to be listed. If artifact type is Images, then the artifact + * name should be the gallery image name. + * @param nextLink The nextLink from the previous successful call to the ListByArtifactName method. + * @param options The options parameters. + */ + private _listByArtifactNameNext( + resourceGroupName: string, + galleryName: string, + artifactType: string, + artifactName: string, + nextLink: string, + options?: SoftDeletedResourceListByArtifactNameNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + galleryName, + artifactType, + artifactName, + nextLink, + options, + }, + listByArtifactNameNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listByArtifactNameOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/softDeletedArtifactTypes/{artifactType}/artifacts/{artifactName}/versions", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.GallerySoftDeletedResourceList, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + queryParameters: [Parameters.apiVersion3], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.galleryName1, + Parameters.artifactType, + Parameters.artifactName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listByArtifactNameNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.GallerySoftDeletedResourceList, + }, + default: { + bodyMapper: Mappers.CloudError, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.galleryName1, + Parameters.artifactType, + Parameters.artifactName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts index 8a18e8a731cc..609a8050fe31 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts @@ -759,7 +759,8 @@ export class VirtualMachineScaleSetVMsImpl /** * Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you * are getting charged for the resources. Instead, use deallocate to release resources and avoid - * charges. + * charges. Additionally, this operation is not allowed on a virtual machine that is being deallocated + * or already has been deallocated. * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. * @param instanceId The instance ID of the virtual machine. @@ -825,7 +826,8 @@ export class VirtualMachineScaleSetVMsImpl /** * Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you * are getting charged for the resources. Instead, use deallocate to release resources and avoid - * charges. + * charges. Additionally, this operation is not allowed on a virtual machine that is being deallocated + * or already has been deallocated. * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. * @param instanceId The instance ID of the virtual machine. diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts index 7e46bf7821f2..190769c79f30 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts @@ -987,7 +987,8 @@ export class VirtualMachineScaleSetsImpl implements VirtualMachineScaleSets { /** * Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still * attached and you are getting charged for the resources. Instead, use deallocate to release resources - * and avoid charges. + * and avoid charges. Additionally, this operation is not allowed on virtual machines in a VM scale set + * that are being deallocated or have already been deallocated. * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. * @param options The options parameters. @@ -1051,7 +1052,8 @@ export class VirtualMachineScaleSetsImpl implements VirtualMachineScaleSets { /** * Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still * attached and you are getting charged for the resources. Instead, use deallocate to release resources - * and avoid charges. + * and avoid charges. Additionally, this operation is not allowed on virtual machines in a VM scale set + * that are being deallocated or have already been deallocated. * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. * @param options The options parameters. diff --git a/sdk/compute/arm-compute/src/operations/virtualMachines.ts b/sdk/compute/arm-compute/src/operations/virtualMachines.ts index 030ffa8c6a39..5fb59e67ab15 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachines.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachines.ts @@ -977,7 +977,8 @@ export class VirtualMachinesImpl implements VirtualMachines { /** * The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the - * same provisioned resources. You are still charged for this virtual machine. + * same provisioned resources. You are still charged for this virtual machine. NOTE: This operation is + * not allowed on a virtual machine that is being deallocated or has already been deallocated. * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine. * @param options The options parameters. @@ -1040,7 +1041,8 @@ export class VirtualMachinesImpl implements VirtualMachines { /** * The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the - * same provisioned resources. You are still charged for this virtual machine. + * same provisioned resources. You are still charged for this virtual machine. NOTE: This operation is + * not allowed on a virtual machine that is being deallocated or has already been deallocated. * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine. * @param options The options parameters. diff --git a/sdk/compute/arm-compute/src/operationsInterfaces/galleryInVMAccessControlProfileVersions.ts b/sdk/compute/arm-compute/src/operationsInterfaces/galleryInVMAccessControlProfileVersions.ts new file mode 100644 index 000000000000..0f8c89f8ee15 --- /dev/null +++ b/sdk/compute/arm-compute/src/operationsInterfaces/galleryInVMAccessControlProfileVersions.ts @@ -0,0 +1,204 @@ +/* + * 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 { + GalleryInVMAccessControlProfileVersion, + GalleryInVMAccessControlProfileVersionsListByGalleryInVMAccessControlProfileOptionalParams, + GalleryInVMAccessControlProfileVersionsCreateOrUpdateOptionalParams, + GalleryInVMAccessControlProfileVersionsCreateOrUpdateResponse, + GalleryInVMAccessControlProfileVersionUpdate, + GalleryInVMAccessControlProfileVersionsUpdateOptionalParams, + GalleryInVMAccessControlProfileVersionsUpdateResponse, + GalleryInVMAccessControlProfileVersionsGetOptionalParams, + GalleryInVMAccessControlProfileVersionsGetResponse, + GalleryInVMAccessControlProfileVersionsDeleteOptionalParams, + GalleryInVMAccessControlProfileVersionsDeleteResponse, +} from "../models"; + +/// +/** Interface representing a GalleryInVMAccessControlProfileVersions. */ +export interface GalleryInVMAccessControlProfileVersions { + /** + * List gallery inVMAccessControlProfile versions in a gallery inVMAccessControlProfile + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery in which the inVMAccessControlProfile + * resides. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile from which the + * inVMAccessControlProfile versions are to be listed. + * @param options The options parameters. + */ + listByGalleryInVMAccessControlProfile( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + options?: GalleryInVMAccessControlProfileVersionsListByGalleryInVMAccessControlProfileOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Create or update a gallery inVMAccessControlProfile version. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery in which the inVMAccessControlProfile + * resides. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile in which the + * inVMAccessControlProfile version is to be created. + * @param inVMAccessControlProfileVersionName The name of the gallery inVMAccessControlProfile version + * to be created. Needs to follow semantic version name pattern: The allowed characters are digit and + * period. Digits must be within the range of a 32-bit integer. Format: + * .. + * @param galleryInVMAccessControlProfileVersion Parameters supplied to the create or update gallery + * inVMAccessControlProfile version operation. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + inVMAccessControlProfileVersionName: string, + galleryInVMAccessControlProfileVersion: GalleryInVMAccessControlProfileVersion, + options?: GalleryInVMAccessControlProfileVersionsCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + GalleryInVMAccessControlProfileVersionsCreateOrUpdateResponse + > + >; + /** + * Create or update a gallery inVMAccessControlProfile version. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery in which the inVMAccessControlProfile + * resides. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile in which the + * inVMAccessControlProfile version is to be created. + * @param inVMAccessControlProfileVersionName The name of the gallery inVMAccessControlProfile version + * to be created. Needs to follow semantic version name pattern: The allowed characters are digit and + * period. Digits must be within the range of a 32-bit integer. Format: + * .. + * @param galleryInVMAccessControlProfileVersion Parameters supplied to the create or update gallery + * inVMAccessControlProfile version operation. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + inVMAccessControlProfileVersionName: string, + galleryInVMAccessControlProfileVersion: GalleryInVMAccessControlProfileVersion, + options?: GalleryInVMAccessControlProfileVersionsCreateOrUpdateOptionalParams, + ): Promise; + /** + * Update a gallery inVMAccessControlProfile version. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery in which the inVMAccessControlProfile + * resides. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile in which the + * inVMAccessControlProfile version is to be updated. + * @param inVMAccessControlProfileVersionName The name of the gallery inVMAccessControlProfile version + * to be updated. Needs to follow semantic version name pattern: The allowed characters are digit and + * period. Digits must be within the range of a 32-bit integer. Format: + * .. + * @param galleryInVMAccessControlProfileVersion Parameters supplied to the update gallery + * inVMAccessControlProfile version operation. + * @param options The options parameters. + */ + beginUpdate( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + inVMAccessControlProfileVersionName: string, + galleryInVMAccessControlProfileVersion: GalleryInVMAccessControlProfileVersionUpdate, + options?: GalleryInVMAccessControlProfileVersionsUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + GalleryInVMAccessControlProfileVersionsUpdateResponse + > + >; + /** + * Update a gallery inVMAccessControlProfile version. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery in which the inVMAccessControlProfile + * resides. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile in which the + * inVMAccessControlProfile version is to be updated. + * @param inVMAccessControlProfileVersionName The name of the gallery inVMAccessControlProfile version + * to be updated. Needs to follow semantic version name pattern: The allowed characters are digit and + * period. Digits must be within the range of a 32-bit integer. Format: + * .. + * @param galleryInVMAccessControlProfileVersion Parameters supplied to the update gallery + * inVMAccessControlProfile version operation. + * @param options The options parameters. + */ + beginUpdateAndWait( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + inVMAccessControlProfileVersionName: string, + galleryInVMAccessControlProfileVersion: GalleryInVMAccessControlProfileVersionUpdate, + options?: GalleryInVMAccessControlProfileVersionsUpdateOptionalParams, + ): Promise; + /** + * Retrieves information about a gallery inVMAccessControlProfile version. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery in which the inVMAccessControlProfile + * resides. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile in which the + * inVMAccessControlProfile version resides. + * @param inVMAccessControlProfileVersionName The name of the gallery inVMAccessControlProfile version + * to be retrieved. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + inVMAccessControlProfileVersionName: string, + options?: GalleryInVMAccessControlProfileVersionsGetOptionalParams, + ): Promise; + /** + * Delete a gallery inVMAccessControlProfile version. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery in which the inVMAccessControlProfile + * resides. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile in which the + * inVMAccessControlProfile version resides. + * @param inVMAccessControlProfileVersionName The name of the gallery inVMAccessControlProfile version + * to be deleted. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + inVMAccessControlProfileVersionName: string, + options?: GalleryInVMAccessControlProfileVersionsDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + GalleryInVMAccessControlProfileVersionsDeleteResponse + > + >; + /** + * Delete a gallery inVMAccessControlProfile version. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery in which the inVMAccessControlProfile + * resides. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile in which the + * inVMAccessControlProfile version resides. + * @param inVMAccessControlProfileVersionName The name of the gallery inVMAccessControlProfile version + * to be deleted. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + inVMAccessControlProfileVersionName: string, + options?: GalleryInVMAccessControlProfileVersionsDeleteOptionalParams, + ): Promise; +} diff --git a/sdk/compute/arm-compute/src/operationsInterfaces/galleryInVMAccessControlProfiles.ts b/sdk/compute/arm-compute/src/operationsInterfaces/galleryInVMAccessControlProfiles.ts new file mode 100644 index 000000000000..08e2b356f848 --- /dev/null +++ b/sdk/compute/arm-compute/src/operationsInterfaces/galleryInVMAccessControlProfiles.ts @@ -0,0 +1,174 @@ +/* + * 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 { + GalleryInVMAccessControlProfile, + GalleryInVMAccessControlProfilesListByGalleryOptionalParams, + GalleryInVMAccessControlProfilesCreateOrUpdateOptionalParams, + GalleryInVMAccessControlProfilesCreateOrUpdateResponse, + GalleryInVMAccessControlProfileUpdate, + GalleryInVMAccessControlProfilesUpdateOptionalParams, + GalleryInVMAccessControlProfilesUpdateResponse, + GalleryInVMAccessControlProfilesGetOptionalParams, + GalleryInVMAccessControlProfilesGetResponse, + GalleryInVMAccessControlProfilesDeleteOptionalParams, + GalleryInVMAccessControlProfilesDeleteResponse, +} from "../models"; + +/// +/** Interface representing a GalleryInVMAccessControlProfiles. */ +export interface GalleryInVMAccessControlProfiles { + /** + * List gallery inVMAccessControlProfiles in a gallery. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery from which the InVMAccessControlProfiles are + * to be listed. + * @param options The options parameters. + */ + listByGallery( + resourceGroupName: string, + galleryName: string, + options?: GalleryInVMAccessControlProfilesListByGalleryOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Create or update a gallery inVMAccessControlProfile. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery in which the InVMAccessControlProfile is to + * be created. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile to be created + * or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed + * in the middle. The maximum length is 80 characters. + * @param galleryInVMAccessControlProfile Parameters supplied to the create or update gallery + * inVMAccessControlProfile operation. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + galleryInVMAccessControlProfile: GalleryInVMAccessControlProfile, + options?: GalleryInVMAccessControlProfilesCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + GalleryInVMAccessControlProfilesCreateOrUpdateResponse + > + >; + /** + * Create or update a gallery inVMAccessControlProfile. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery in which the InVMAccessControlProfile is to + * be created. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile to be created + * or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed + * in the middle. The maximum length is 80 characters. + * @param galleryInVMAccessControlProfile Parameters supplied to the create or update gallery + * inVMAccessControlProfile operation. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + galleryInVMAccessControlProfile: GalleryInVMAccessControlProfile, + options?: GalleryInVMAccessControlProfilesCreateOrUpdateOptionalParams, + ): Promise; + /** + * Update a gallery inVMAccessControlProfile. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery in which the InVMAccessControlProfile is to + * be updated. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile to be updated. + * The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the + * middle. The maximum length is 80 characters. + * @param galleryInVMAccessControlProfile Parameters supplied to the update gallery + * inVMAccessControlProfile operation. + * @param options The options parameters. + */ + beginUpdate( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + galleryInVMAccessControlProfile: GalleryInVMAccessControlProfileUpdate, + options?: GalleryInVMAccessControlProfilesUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + GalleryInVMAccessControlProfilesUpdateResponse + > + >; + /** + * Update a gallery inVMAccessControlProfile. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery in which the InVMAccessControlProfile is to + * be updated. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile to be updated. + * The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the + * middle. The maximum length is 80 characters. + * @param galleryInVMAccessControlProfile Parameters supplied to the update gallery + * inVMAccessControlProfile operation. + * @param options The options parameters. + */ + beginUpdateAndWait( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + galleryInVMAccessControlProfile: GalleryInVMAccessControlProfileUpdate, + options?: GalleryInVMAccessControlProfilesUpdateOptionalParams, + ): Promise; + /** + * Retrieves information about a gallery inVMAccessControlProfile. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Shared Image Gallery from which the InVMAccessControlProfiles are + * to be retrieved. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile to be + * retrieved. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + options?: GalleryInVMAccessControlProfilesGetOptionalParams, + ): Promise; + /** + * Delete a gallery inVMAccessControlProfile. + * @param resourceGroupName The name of the resource group. + * @param galleryName he name of the Shared Image Gallery in which the InVMAccessControlProfile + * resides. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile to be deleted. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + options?: GalleryInVMAccessControlProfilesDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + GalleryInVMAccessControlProfilesDeleteResponse + > + >; + /** + * Delete a gallery inVMAccessControlProfile. + * @param resourceGroupName The name of the resource group. + * @param galleryName he name of the Shared Image Gallery in which the InVMAccessControlProfile + * resides. + * @param inVMAccessControlProfileName The name of the gallery inVMAccessControlProfile to be deleted. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + galleryName: string, + inVMAccessControlProfileName: string, + options?: GalleryInVMAccessControlProfilesDeleteOptionalParams, + ): Promise; +} diff --git a/sdk/compute/arm-compute/src/operationsInterfaces/index.ts b/sdk/compute/arm-compute/src/operationsInterfaces/index.ts index 502684dc464f..a5d61a4df502 100644 --- a/sdk/compute/arm-compute/src/operationsInterfaces/index.ts +++ b/sdk/compute/arm-compute/src/operationsInterfaces/index.ts @@ -43,7 +43,10 @@ export * from "./galleryImages"; export * from "./galleryImageVersions"; export * from "./galleryApplications"; export * from "./galleryApplicationVersions"; +export * from "./softDeletedResource"; export * from "./gallerySharingProfile"; +export * from "./galleryInVMAccessControlProfiles"; +export * from "./galleryInVMAccessControlProfileVersions"; export * from "./sharedGalleries"; export * from "./sharedGalleryImages"; export * from "./sharedGalleryImageVersions"; diff --git a/sdk/compute/arm-compute/src/operationsInterfaces/softDeletedResource.ts b/sdk/compute/arm-compute/src/operationsInterfaces/softDeletedResource.ts new file mode 100644 index 000000000000..7e00f5ff512f --- /dev/null +++ b/sdk/compute/arm-compute/src/operationsInterfaces/softDeletedResource.ts @@ -0,0 +1,35 @@ +/* + * 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 { + GallerySoftDeletedResource, + SoftDeletedResourceListByArtifactNameOptionalParams, +} from "../models"; + +/// +/** Interface representing a SoftDeletedResource. */ +export interface SoftDeletedResource { + /** + * List soft-deleted resources of an artifact in the gallery, such as soft-deleted gallery image + * version of an image. + * @param resourceGroupName The name of the resource group. + * @param galleryName The name of the Gallery in which the soft-deleted resources resides. + * @param artifactType The type of the artifact to be listed, such as gallery image version. + * @param artifactName The artifact name to be listed. If artifact type is Images, then the artifact + * name should be the gallery image name. + * @param options The options parameters. + */ + listByArtifactName( + resourceGroupName: string, + galleryName: string, + artifactType: string, + artifactName: string, + options?: SoftDeletedResourceListByArtifactNameOptionalParams, + ): PagedAsyncIterableIterator; +} diff --git a/sdk/compute/arm-compute/src/operationsInterfaces/virtualMachineScaleSetVMs.ts b/sdk/compute/arm-compute/src/operationsInterfaces/virtualMachineScaleSetVMs.ts index faba210cac60..f2aa7a1f4e1e 100644 --- a/sdk/compute/arm-compute/src/operationsInterfaces/virtualMachineScaleSetVMs.ts +++ b/sdk/compute/arm-compute/src/operationsInterfaces/virtualMachineScaleSetVMs.ts @@ -258,7 +258,8 @@ export interface VirtualMachineScaleSetVMs { /** * Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you * are getting charged for the resources. Instead, use deallocate to release resources and avoid - * charges. + * charges. Additionally, this operation is not allowed on a virtual machine that is being deallocated + * or already has been deallocated. * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. * @param instanceId The instance ID of the virtual machine. @@ -273,7 +274,8 @@ export interface VirtualMachineScaleSetVMs { /** * Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you * are getting charged for the resources. Instead, use deallocate to release resources and avoid - * charges. + * charges. Additionally, this operation is not allowed on a virtual machine that is being deallocated + * or already has been deallocated. * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. * @param instanceId The instance ID of the virtual machine. diff --git a/sdk/compute/arm-compute/src/operationsInterfaces/virtualMachineScaleSets.ts b/sdk/compute/arm-compute/src/operationsInterfaces/virtualMachineScaleSets.ts index 719d183aa34b..761011917648 100644 --- a/sdk/compute/arm-compute/src/operationsInterfaces/virtualMachineScaleSets.ts +++ b/sdk/compute/arm-compute/src/operationsInterfaces/virtualMachineScaleSets.ts @@ -263,7 +263,8 @@ export interface VirtualMachineScaleSets { /** * Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still * attached and you are getting charged for the resources. Instead, use deallocate to release resources - * and avoid charges. + * and avoid charges. Additionally, this operation is not allowed on virtual machines in a VM scale set + * that are being deallocated or have already been deallocated. * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. * @param options The options parameters. @@ -276,7 +277,8 @@ export interface VirtualMachineScaleSets { /** * Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still * attached and you are getting charged for the resources. Instead, use deallocate to release resources - * and avoid charges. + * and avoid charges. Additionally, this operation is not allowed on virtual machines in a VM scale set + * that are being deallocated or have already been deallocated. * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. * @param options The options parameters. diff --git a/sdk/compute/arm-compute/src/operationsInterfaces/virtualMachines.ts b/sdk/compute/arm-compute/src/operationsInterfaces/virtualMachines.ts index 8d62cf5b7cee..cc1d51397a6c 100644 --- a/sdk/compute/arm-compute/src/operationsInterfaces/virtualMachines.ts +++ b/sdk/compute/arm-compute/src/operationsInterfaces/virtualMachines.ts @@ -302,7 +302,8 @@ export interface VirtualMachines { ): Promise; /** * The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the - * same provisioned resources. You are still charged for this virtual machine. + * same provisioned resources. You are still charged for this virtual machine. NOTE: This operation is + * not allowed on a virtual machine that is being deallocated or has already been deallocated. * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine. * @param options The options parameters. @@ -314,7 +315,8 @@ export interface VirtualMachines { ): Promise, void>>; /** * The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the - * same provisioned resources. You are still charged for this virtual machine. + * same provisioned resources. You are still charged for this virtual machine. NOTE: This operation is + * not allowed on a virtual machine that is being deallocated or has already been deallocated. * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine. * @param options The options parameters. diff --git a/sdk/compute/arm-compute/test/sampleTest.ts b/sdk/compute/arm-compute/test/sampleTest.ts new file mode 100644 index 000000000000..d64be981b694 --- /dev/null +++ b/sdk/compute/arm-compute/test/sampleTest.ts @@ -0,0 +1,43 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + Recorder, + RecorderStartOptions, + env, +} from "@azure-tools/test-recorder"; +import { assert } from "chai"; +import { Context } from "mocha"; + +const replaceableVariables: Record = { + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", + SUBSCRIPTION_ID: "azure_subscription_id", +}; + +const recorderOptions: RecorderStartOptions = { + envSetupForPlayback: replaceableVariables, +}; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async function (this: Context) { + recorder = new Recorder(this.currentTest); + await recorder.start(recorderOptions); + }); + + afterEach(async function () { + await recorder.stop(); + }); + + it("sample test", async function () { + console.log("Hi, I'm a test!"); + }); +}); diff --git a/sdk/compute/arm-compute/tsconfig.json b/sdk/compute/arm-compute/tsconfig.json index b84abc8423ab..b35d05ad6e9d 100644 --- a/sdk/compute/arm-compute/tsconfig.json +++ b/sdk/compute/arm-compute/tsconfig.json @@ -15,17 +15,11 @@ ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true, - "paths": { - "@azure/arm-compute": [ - "./src/index" - ] - } + "importHelpers": true }, "include": [ - "./src/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts" + "src/**/*.ts", + "test/**/*.ts" ], "exclude": [ "node_modules"