diff --git a/.github/event-processor.config b/.github/event-processor.config index 3cecb54ae77d..52e731644b0f 100644 --- a/.github/event-processor.config +++ b/.github/event-processor.config @@ -22,5 +22,5 @@ "IdentifyStalePullRequests": "On", "CloseAddressedIssues": "On", "LockClosedIssues": "On", - "EnforceMaxLifeOfIssues": "Off" + "EnforceMaxLifeOfIssues": "On" } diff --git a/.github/workflows/event-processor.yml b/.github/workflows/event-processor.yml index 649b211e9254..c913b90cca8a 100644 --- a/.github/workflows/event-processor.yml +++ b/.github/workflows/event-processor.yml @@ -17,26 +17,29 @@ on: permissions: {} jobs: - event-handler: + # This event requires the Azure CLI to get the LABEL_SERVICE_API_KEY from the vault. + # Because the azure/login step adds time costly pre/post Az CLI commands to any every job + # it's used in, split this into its own job so only the event that needs the Az CLI pays + # the cost. + event-handler-with-azure: permissions: issues: write pull-requests: write # For OIDC auth id-token: write contents: read - name: Handle ${{ github.event_name }} ${{ github.event.action }} event + name: Handle ${{ github.event_name }} ${{ github.event.action }} event with azure login runs-on: ubuntu-latest + if: ${{ github.event_name == 'issues' && github.event.action == 'opened' }} steps: - name: 'Az CLI login' - if: ${{ github.event_name == 'issues' && github.event.action == 'opened' }} - uses: azure/login@v1.5.1 + uses: azure/login@v1 with: client-id: ${{ secrets.AZURE_CLIENT_ID }} tenant-id: ${{ secrets.AZURE_TENANT_ID }} subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} - name: 'Run Azure CLI commands' - if: ${{ github.event_name == 'issues' && github.event.action == 'opened' }} run: | LABEL_SERVICE_API_KEY=$(az keyvault secret show \ --vault-name issue-labeler \ @@ -55,7 +58,7 @@ jobs: run: > dotnet tool install Azure.Sdk.Tools.GitHubEventProcessor - --version 1.0.0-dev.20240229.2 + --version 1.0.0-dev.20240311.2 --add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json --global shell: bash @@ -94,3 +97,58 @@ jobs: # https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} LABEL_SERVICE_API_KEY: ${{ env.LABEL_SERVICE_API_KEY }} + + event-handler: + permissions: + issues: write + pull-requests: write + name: Handle ${{ github.event_name }} ${{ github.event.action }} event + runs-on: ubuntu-latest + if: ${{ github.event_name != 'issues' || github.event.action != 'opened' }} + steps: + # To run github-event-processor built from source, for testing purposes, uncomment everything + # in between the Start/End-Build From Source comments and comment everything in between the + # Start/End-Install comments + # Start-Install + - name: Install GitHub Event Processor + run: > + dotnet tool install + Azure.Sdk.Tools.GitHubEventProcessor + --version 1.0.0-dev.20240311.2 + --add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json + --global + shell: bash + # End-Install + + # Testing checkout of sources from the Azure/azure-sdk-tools repository + # The ref: is the SHA from the pull request in that repository or the + # refs/pull//merge for the latest on any given PR. If the repository + # is a fork eg. /azure-sdk-tools then the repository down below will + # need to point to that fork + # Start-Build + # - name: Checkout tools repo for GitHub Event Processor sources + # uses: actions/checkout@v3 + # with: + # repository: Azure/azure-sdk-tools + # path: azure-sdk-tools + # ref: /merge> or + + # - name: Build and install GitHubEventProcessor from sources + # run: | + # dotnet pack + # dotnet tool install --global --prerelease --add-source ../../../artifacts/packages/Debug Azure.Sdk.Tools.GitHubEventProcessor + # shell: bash + # working-directory: azure-sdk-tools/tools/github-event-processor/Azure.Sdk.Tools.GitHubEventProcessor + # End-Build + + - name: Process Action Event + run: | + cat > payload.json << 'EOF' + ${{ toJson(github.event) }} + EOF + github-event-processor ${{ github.event_name }} payload.json + shell: bash + env: + # This is a temporary secret generated by github + # https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/scheduled-event-processor.yml b/.github/workflows/scheduled-event-processor.yml index 361c959bc82d..120531ac3d5b 100644 --- a/.github/workflows/scheduled-event-processor.yml +++ b/.github/workflows/scheduled-event-processor.yml @@ -2,6 +2,7 @@ name: GitHub Scheduled Event Processor on: schedule: + # These are generated/confirmed using https://crontab.cronhub.io/ # Close stale issues, runs every day at 1am - CloseStaleIssues - cron: '0 1 * * *' # Identify stale pull requests, every Friday at 5am - IdentifyStalePullRequests @@ -14,9 +15,10 @@ on: - cron: '30 4,10,16,22 * * *' # Lock closed issues, every 6 hours at 05:30 AM, 11:30 AM, 05:30 PM and 11:30 PM - LockClosedIssues - cron: '30 5,11,17,23 * * *' - # Enforce max life of issues, every Monday at 10:00 AM - EnforceMaxLifeOfIssues + # Enforce max life of issues, every M,W,F at 10:00 AM PST - EnforceMaxLifeOfIssues # Note: GitHub uses UTC, to run at 10am PST, the cron task needs to be 6pm (1800 hours) UTC - - cron: '0 18 * * MON' + # When scheduling for multiple days the numeric days 0-6 (0=Sunday) must be used. + - cron: '0 18 * * 1,3,5' # This removes all unnecessary permissions, the ones needed will be set below. # https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token permissions: {} @@ -37,7 +39,7 @@ jobs: run: > dotnet tool install Azure.Sdk.Tools.GitHubEventProcessor - --version 1.0.0-dev.20240229.2 + --version 1.0.0-dev.20240311.2 --add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json --global shell: bash @@ -131,7 +133,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Enforce Max Life of Issues Scheduled Event - if: github.event.schedule == '0 18 * * MON' + if: github.event.schedule == '0 18 * * 1,3,5' run: | cat > payload.json << 'EOF' ${{ toJson(github.event) }} diff --git a/.gitignore b/.gitignore index cadfa4fd91ed..e966622f3d04 100644 --- a/.gitignore +++ b/.gitignore @@ -186,3 +186,7 @@ sdk/template/template-dpg/src/src # tshy .tshy-build-tmp + +# sshkey +sdk/**/sshkey +sdk/**/sshkey.pub diff --git a/.vscode/cspell.json b/.vscode/cspell.json index 9bdf994dbca7..f5062300844a 100644 --- a/.vscode/cspell.json +++ b/.vscode/cspell.json @@ -134,6 +134,7 @@ "Sybase", "Teradata", "tmpdir", + "tshy", "uaecentral", "uksouth", "ukwest", diff --git a/common/config/rush/build-cache.json b/common/config/rush/build-cache.json index dbef1dca77e6..f989935aec52 100644 --- a/common/config/rush/build-cache.json +++ b/common/config/rush/build-cache.json @@ -1,5 +1,5 @@ { - "buildCacheEnabled": true, + "buildCacheEnabled": false, // Follow instructions at // https://rushjs.io/pages/maintainer/build_cache/#user-authentication // to authenticate. diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index c2736327ab5a..a275ce809d6d 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -1165,12 +1165,12 @@ packages: engines: {node: '>=0.10.0'} dev: false - /@ampproject/remapping@2.2.1: - resolution: {integrity: sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==} + /@ampproject/remapping@2.3.0: + resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} engines: {node: '>=6.0.0'} dependencies: - '@jridgewell/gen-mapping': 0.3.4 - '@jridgewell/trace-mapping': 0.3.23 + '@jridgewell/gen-mapping': 0.3.5 + '@jridgewell/trace-mapping': 0.3.25 dev: false /@azure/abort-controller@1.1.0: @@ -1366,7 +1366,7 @@ packages: resolution: {integrity: sha512-KxDlhXyMlh2Jhj2ykX6vNEU0Vou4nHr025KoSEiz7cS3BNiHNaZcdECk/DmLkEB0as5T7b/TpRcehJ5yV6NeXQ==} engines: {node: '>=12.0.0'} dependencies: - '@opentelemetry/api': 1.7.0 + '@opentelemetry/api': 1.8.0 tslib: 2.6.2 dev: false @@ -1488,11 +1488,6 @@ packages: engines: {node: '>=0.8.0'} dev: false - /@azure/msal-common@14.5.0: - resolution: {integrity: sha512-Gx5rZbiZV/HiZ2nEKfjfAF/qDdZ4/QWxMvMo2jhIFVz528dVKtaZyFAOtsX2Ak8+TQvRsGCaEfuwJFuXB6tu1A==} - engines: {node: '>=0.8.0'} - dev: false - /@azure/msal-common@14.7.1: resolution: {integrity: sha512-v96btzjM7KrAu4NSEdOkhQSTGOuNUIIsUdB8wlyB9cdgl5KqEKnTonHUZ8+khvZ6Ap542FCErbnTyDWl8lZ2rA==} engines: {node: '>=0.8.0'} @@ -1507,15 +1502,6 @@ packages: keytar: 7.9.0 dev: false - /@azure/msal-node-extensions@1.0.8: - resolution: {integrity: sha512-h7YxOroWRY/Y5B5NEvLhiwhG2tmOiqiDC91EC4CmtNpkMgH/pbr6Ln0iOJXVhDhz9dzBRCKLUL1Afj5MzHHg1g==} - engines: {node: 16 || 18 || 20} - dependencies: - '@azure/msal-common': 14.5.0 - '@azure/msal-node-runtime': 0.13.6-alpha.0 - keytar: 7.9.0 - dev: false - /@azure/msal-node-runtime@0.13.6-alpha.0: resolution: {integrity: sha512-Tu5e4wBFiaiBLrOu7bsJF7FYknFH9XIOvUyCqCnmLJFMMOUnYULZ7fOFYuintFFcNPMOT2u8BVfSCPxETri5ng==} requiresBuild: true @@ -1629,20 +1615,20 @@ packages: engines: {node: '>=6.9.0'} dev: false - /@babel/core@7.23.9: - resolution: {integrity: sha512-5q0175NOjddqpvvzU+kDiSOAk4PfdO6FvwCWoQ6RO7rTzEe8vlo+4HVfcnAREhD4npMs0e9uZypjTwzZPCf/cw==} + /@babel/core@7.24.0: + resolution: {integrity: sha512-fQfkg0Gjkza3nf0c7/w6Xf34BW4YvzNfACRLmmb7XRLa6XHdR+K9AlJlxneFfWYf6uhOzuzZVTjF/8KfndZANw==} engines: {node: '>=6.9.0'} dependencies: - '@ampproject/remapping': 2.2.1 + '@ampproject/remapping': 2.3.0 '@babel/code-frame': 7.23.5 '@babel/generator': 7.23.6 '@babel/helper-compilation-targets': 7.23.6 - '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.9) - '@babel/helpers': 7.23.9 - '@babel/parser': 7.23.9 - '@babel/template': 7.23.9 - '@babel/traverse': 7.23.9 - '@babel/types': 7.23.9 + '@babel/helper-module-transforms': 7.23.3(@babel/core@7.24.0) + '@babel/helpers': 7.24.0 + '@babel/parser': 7.24.0 + '@babel/template': 7.24.0 + '@babel/traverse': 7.24.0 + '@babel/types': 7.24.0 convert-source-map: 2.0.0 debug: 4.3.4(supports-color@8.1.1) gensync: 1.0.0-beta.2 @@ -1656,9 +1642,9 @@ packages: resolution: {integrity: sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.9 - '@jridgewell/gen-mapping': 0.3.4 - '@jridgewell/trace-mapping': 0.3.23 + '@babel/types': 7.24.0 + '@jridgewell/gen-mapping': 0.3.5 + '@jridgewell/trace-mapping': 0.3.25 jsesc: 2.5.2 dev: false @@ -1682,31 +1668,31 @@ packages: resolution: {integrity: sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/template': 7.23.9 - '@babel/types': 7.23.9 + '@babel/template': 7.24.0 + '@babel/types': 7.24.0 dev: false /@babel/helper-hoist-variables@7.22.5: resolution: {integrity: sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.9 + '@babel/types': 7.24.0 dev: false /@babel/helper-module-imports@7.22.15: resolution: {integrity: sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.9 + '@babel/types': 7.24.0 dev: false - /@babel/helper-module-transforms@7.23.3(@babel/core@7.23.9): + /@babel/helper-module-transforms@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.9 + '@babel/core': 7.24.0 '@babel/helper-environment-visitor': 7.22.20 '@babel/helper-module-imports': 7.22.15 '@babel/helper-simple-access': 7.22.5 @@ -1718,14 +1704,14 @@ packages: resolution: {integrity: sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.9 + '@babel/types': 7.24.0 dev: false /@babel/helper-split-export-declaration@7.22.6: resolution: {integrity: sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.9 + '@babel/types': 7.24.0 dev: false /@babel/helper-string-parser@7.23.4: @@ -1743,13 +1729,13 @@ packages: engines: {node: '>=6.9.0'} dev: false - /@babel/helpers@7.23.9: - resolution: {integrity: sha512-87ICKgU5t5SzOT7sBMfCOZQ2rHjRU+Pcb9BoILMYz600W6DkVRLFBPwQ18gwUVvggqXivaUakpnxWQGbpywbBQ==} + /@babel/helpers@7.24.0: + resolution: {integrity: sha512-ulDZdc0Aj5uLc5nETsa7EPx2L7rM0YJM8r7ck7U73AXi7qOV44IHHRAYZHY6iU1rr3C5N4NtTmMRUJP6kwCWeA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/template': 7.23.9 - '@babel/traverse': 7.23.9 - '@babel/types': 7.23.9 + '@babel/template': 7.24.0 + '@babel/traverse': 7.24.0 + '@babel/types': 7.24.0 transitivePeerDependencies: - supports-color dev: false @@ -1763,30 +1749,30 @@ packages: js-tokens: 4.0.0 dev: false - /@babel/parser@7.23.9: - resolution: {integrity: sha512-9tcKgqKbs3xGJ+NtKF2ndOBBLVwPjl1SHxPQkd36r3Dlirw3xWUeGaTbqr7uGZcTaxkVNwc+03SVP7aCdWrTlA==} + /@babel/parser@7.24.0: + resolution: {integrity: sha512-QuP/FxEAzMSjXygs8v4N9dvdXzEHN4W1oF3PxuWAtPo08UdM17u89RDMgjLn/mlc56iM0HlLmVkO/wgR+rDgHg==} engines: {node: '>=6.0.0'} hasBin: true dev: false - /@babel/runtime@7.23.9: - resolution: {integrity: sha512-0CX6F+BI2s9dkUqr08KFrAIZgNFj75rdBU/DjCyYLIaV/quFjkk6T+EJ2LkZHyZTbEV4L5p97mNkUsHl2wLFAw==} + /@babel/runtime@7.24.0: + resolution: {integrity: sha512-Chk32uHMg6TnQdvw2e9IlqPpFX/6NLuK0Ys2PqLb7/gL5uFn9mXvK715FGLlOLQrcO4qIkNHkvPGktzzXexsFw==} engines: {node: '>=6.9.0'} dependencies: regenerator-runtime: 0.14.1 dev: false - /@babel/template@7.23.9: - resolution: {integrity: sha512-+xrD2BWLpvHKNmX2QbpdpsBaWnRxahMwJjO+KZk2JOElj5nSmKezyS1B4u+QbHMTX69t4ukm6hh9lsYQ7GHCKA==} + /@babel/template@7.24.0: + resolution: {integrity: sha512-Bkf2q8lMB0AFpX0NFEqSbx1OkTHf0f+0j82mkw+ZpzBnkk7e9Ql0891vlfgi+kHwOk8tQjiQHpqh4LaSa0fKEA==} engines: {node: '>=6.9.0'} dependencies: '@babel/code-frame': 7.23.5 - '@babel/parser': 7.23.9 - '@babel/types': 7.23.9 + '@babel/parser': 7.24.0 + '@babel/types': 7.24.0 dev: false - /@babel/traverse@7.23.9: - resolution: {integrity: sha512-I/4UJ9vs90OkBtY6iiiTORVMyIhJ4kAVmsKo9KFc8UOxMeUfi2hvtIBsET5u9GizXE6/GFSuKCTNfgCswuEjRg==} + /@babel/traverse@7.24.0: + resolution: {integrity: sha512-HfuJlI8qq3dEDmNU5ChzzpZRWq+oxCZQyMzIMEqLho+AQnhMnKQUzH6ydo3RBl/YjPCuk68Y6s0Gx0AeyULiWw==} engines: {node: '>=6.9.0'} dependencies: '@babel/code-frame': 7.23.5 @@ -1795,16 +1781,16 @@ packages: '@babel/helper-function-name': 7.23.0 '@babel/helper-hoist-variables': 7.22.5 '@babel/helper-split-export-declaration': 7.22.6 - '@babel/parser': 7.23.9 - '@babel/types': 7.23.9 + '@babel/parser': 7.24.0 + '@babel/types': 7.24.0 debug: 4.3.4(supports-color@8.1.1) globals: 11.12.0 transitivePeerDependencies: - supports-color dev: false - /@babel/types@7.23.9: - resolution: {integrity: sha512-dQjSq/7HaSjRM43FFGnv5keM2HsxpmyV1PfaSVm0nzzjwwTmjOe6J4bC8e3+pTEIgHaHj+1ZlLThRJ2auc/w1Q==} + /@babel/types@7.24.0: + resolution: {integrity: sha512-+j7a5c253RfKh8iABBhywc8NSfP5LURe7Uh4qpsh6jc+aLJguvmIUBdjSdEMQv2bENrCR5MfRdjGo7vzS/ob7w==} engines: {node: '>=6.9.0'} dependencies: '@babel/helper-string-parser': 7.23.4 @@ -2072,17 +2058,12 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: false - /@fastify/busboy@2.1.0: - resolution: {integrity: sha512-+KpH+QxZU7O4675t3mnkQKcZZg56u+K/Ct2K+N2AZYNVK8kyeo/bI18tI8aPm3tvNNRyTWfj6s5tnGNlcbQRsA==} - engines: {node: '>=14'} - dev: false - - /@grpc/grpc-js@1.10.1: - resolution: {integrity: sha512-55ONqFytZExfOIjF1RjXPcVmT/jJqFzbbDqxK9jmRV4nxiYWtL9hENSW1Jfx0SdZfrvoqd44YJ/GJTqfRrawSQ==} - engines: {node: ^8.13.0 || >=10.10.0} + /@grpc/grpc-js@1.10.2: + resolution: {integrity: sha512-lSbgu8iayAod8O0YcoXK3+bMFGThY2svtN35Zlm9VepsB3jfyIcoupKknEht7Kh9Q8ITjsp0J4KpYo9l4+FhNg==} + engines: {node: '>=12.10.0'} dependencies: '@grpc/proto-loader': 0.7.10 - '@types/node': 20.10.8 + '@js-sdsl/ordered-map': 4.4.2 dev: false /@grpc/proto-loader@0.7.10: @@ -2151,13 +2132,13 @@ packages: '@sinclair/typebox': 0.27.8 dev: false - /@jridgewell/gen-mapping@0.3.4: - resolution: {integrity: sha512-Oud2QPM5dHviZNn4y/WhhYKSXksv+1xLEIsNrAbGcFzUN3ubqWRFT5gwPchNc5NuzILOU4tPBDTZ4VwhL8Y7cw==} + /@jridgewell/gen-mapping@0.3.5: + resolution: {integrity: sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==} engines: {node: '>=6.0.0'} dependencies: - '@jridgewell/set-array': 1.1.2 + '@jridgewell/set-array': 1.2.1 '@jridgewell/sourcemap-codec': 1.4.15 - '@jridgewell/trace-mapping': 0.3.23 + '@jridgewell/trace-mapping': 0.3.25 dev: false /@jridgewell/resolve-uri@3.1.2: @@ -2165,8 +2146,8 @@ packages: engines: {node: '>=6.0.0'} dev: false - /@jridgewell/set-array@1.1.2: - resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} + /@jridgewell/set-array@1.2.1: + resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==} engines: {node: '>=6.0.0'} dev: false @@ -2174,8 +2155,8 @@ packages: resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} dev: false - /@jridgewell/trace-mapping@0.3.23: - resolution: {integrity: sha512-9/4foRoUKp8s96tSkh8DlAAc5A0Ty8vLXld+l9gjKKY6ckwI8G15f0hskGmuLZu78ZlGa1vtsfOa+lnB4vG6Jg==} + /@jridgewell/trace-mapping@0.3.25: + resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} dependencies: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.4.15 @@ -2188,6 +2169,10 @@ packages: '@jridgewell/sourcemap-codec': 1.4.15 dev: false + /@js-sdsl/ordered-map@4.4.2: + resolution: {integrity: sha512-iUKgm52T8HOE/makSxjqoWhe95ZJA1/G1sYsGev2JDKUSS14KAgg1LHb+Ba+IPow0xflbnSkOsZcO08C7w1gYw==} + dev: false + /@jsdoc/salty@0.2.7: resolution: {integrity: sha512-mh8LbS9d4Jq84KLw8pzho7XC2q2/IJGiJss3xwRoLD1A+EE16SjN4PfaG4jRCzKegTFLlN0Zd8SdUPE6XdoPFg==} engines: {node: '>=v12.0.0'} @@ -2195,22 +2180,22 @@ packages: lodash: 4.17.21 dev: false - /@microsoft/api-extractor-model@7.28.13(@types/node@16.18.83): + /@microsoft/api-extractor-model@7.28.13(@types/node@16.18.87): resolution: {integrity: sha512-39v/JyldX4MS9uzHcdfmjjfS6cYGAoXV+io8B5a338pkHiSt+gy2eXQ0Q7cGFJ7quSa1VqqlMdlPrB6sLR/cAw==} dependencies: '@microsoft/tsdoc': 0.14.2 '@microsoft/tsdoc-config': 0.16.2 - '@rushstack/node-core-library': 4.0.2(@types/node@16.18.83) + '@rushstack/node-core-library': 4.0.2(@types/node@16.18.87) transitivePeerDependencies: - '@types/node' dev: false - /@microsoft/api-extractor-model@7.28.13(@types/node@18.19.18): + /@microsoft/api-extractor-model@7.28.13(@types/node@18.19.22): resolution: {integrity: sha512-39v/JyldX4MS9uzHcdfmjjfS6cYGAoXV+io8B5a338pkHiSt+gy2eXQ0Q7cGFJ7quSa1VqqlMdlPrB6sLR/cAw==} dependencies: '@microsoft/tsdoc': 0.14.2 '@microsoft/tsdoc-config': 0.16.2 - '@rushstack/node-core-library': 4.0.2(@types/node@18.19.18) + '@rushstack/node-core-library': 4.0.2(@types/node@18.19.22) transitivePeerDependencies: - '@types/node' dev: false @@ -2245,18 +2230,19 @@ packages: - '@types/node' dev: false - /@microsoft/api-extractor@7.41.0(@types/node@16.18.83): - resolution: {integrity: sha512-Wk4fcSqO1i32FspStEm4ak+cfdo2xGsWk/K9uZoYIRQxjQH/roLU78waP+g+GhoAg5OxH63BfY37h6ISkNfQEQ==} + /@microsoft/api-extractor@7.42.3(@types/node@16.18.87): + resolution: {integrity: sha512-JNLJFpGHz6ekjS6bvYXxUBeRGnSHeCMFNvRbCQ+7XXB/ZFrgLSMPwWtEq40AiWAy+oyG5a4RSNwdJTp0B2USvQ==} hasBin: true dependencies: - '@microsoft/api-extractor-model': 7.28.13(@types/node@16.18.83) + '@microsoft/api-extractor-model': 7.28.13(@types/node@16.18.87) '@microsoft/tsdoc': 0.14.2 '@microsoft/tsdoc-config': 0.16.2 - '@rushstack/node-core-library': 4.0.2(@types/node@16.18.83) + '@rushstack/node-core-library': 4.0.2(@types/node@16.18.87) '@rushstack/rig-package': 0.5.2 - '@rushstack/terminal': 0.10.0(@types/node@16.18.83) - '@rushstack/ts-command-line': 4.17.4(@types/node@16.18.83) + '@rushstack/terminal': 0.10.0(@types/node@16.18.87) + '@rushstack/ts-command-line': 4.19.1(@types/node@16.18.87) lodash: 4.17.21 + minimatch: 3.0.8 resolve: 1.22.8 semver: 7.5.4 source-map: 0.6.1 @@ -2265,18 +2251,19 @@ packages: - '@types/node' dev: false - /@microsoft/api-extractor@7.41.0(@types/node@18.19.18): - resolution: {integrity: sha512-Wk4fcSqO1i32FspStEm4ak+cfdo2xGsWk/K9uZoYIRQxjQH/roLU78waP+g+GhoAg5OxH63BfY37h6ISkNfQEQ==} + /@microsoft/api-extractor@7.42.3(@types/node@18.19.22): + resolution: {integrity: sha512-JNLJFpGHz6ekjS6bvYXxUBeRGnSHeCMFNvRbCQ+7XXB/ZFrgLSMPwWtEq40AiWAy+oyG5a4RSNwdJTp0B2USvQ==} hasBin: true dependencies: - '@microsoft/api-extractor-model': 7.28.13(@types/node@18.19.18) + '@microsoft/api-extractor-model': 7.28.13(@types/node@18.19.22) '@microsoft/tsdoc': 0.14.2 '@microsoft/tsdoc-config': 0.16.2 - '@rushstack/node-core-library': 4.0.2(@types/node@18.19.18) + '@rushstack/node-core-library': 4.0.2(@types/node@18.19.22) '@rushstack/rig-package': 0.5.2 - '@rushstack/terminal': 0.10.0(@types/node@18.19.18) - '@rushstack/ts-command-line': 4.17.4(@types/node@18.19.18) + '@rushstack/terminal': 0.10.0(@types/node@18.19.22) + '@rushstack/ts-command-line': 4.19.1(@types/node@18.19.22) lodash: 4.17.21 + minimatch: 3.0.8 resolve: 1.22.8 semver: 7.5.4 source-map: 0.6.1 @@ -2285,8 +2272,8 @@ packages: - '@types/node' dev: false - /@microsoft/applicationinsights-web-snippet@1.0.1: - resolution: {integrity: sha512-2IHAOaLauc8qaAitvWS+U931T+ze+7MNWrDHY47IENP5y2UA0vqJDu67kWZDdpCN1fFC77sfgfB+HV7SrKshnQ==} + /@microsoft/applicationinsights-web-snippet@1.1.2: + resolution: {integrity: sha512-qPoOk3MmEx3gS6hTc1/x8JWQG5g4BvRdH7iqZMENBsKCL927b7D7Mvl19bh3sW9Ucrg1fVrF+4hqShwQNdqLxQ==} dev: false /@microsoft/tsdoc-config@0.16.2: @@ -2323,202 +2310,203 @@ packages: fastq: 1.17.1 dev: false - /@opentelemetry/api-logs@0.48.0: - resolution: {integrity: sha512-1/aMiU4Eqo3Zzpfwu51uXssp5pzvHFObk8S9pKAiXb1ne8pvg1qxBQitYL1XUiAMEXFzgjaidYG2V6624DRhhw==} + /@opentelemetry/api-logs@0.49.1: + resolution: {integrity: sha512-kaNl/T7WzyMUQHQlVq7q0oV4Kev6+0xFwqzofryC66jgGMacd0QH5TwfpbUwSTby+SdAdprAe5UKMvBw4tKS5Q==} engines: {node: '>=14'} dependencies: - '@opentelemetry/api': 1.7.0 + '@opentelemetry/api': 1.8.0 dev: false - /@opentelemetry/api@1.7.0: - resolution: {integrity: sha512-AdY5wvN0P2vXBi3b29hxZgSFvdhdxPB9+f0B6s//P9Q8nibRWeA3cHm8UmLpio9ABigkVHJ5NMPk+Mz8VCCyrw==} + /@opentelemetry/api@1.8.0: + resolution: {integrity: sha512-I/s6F7yKUDdtMsoBWXJe8Qz40Tui5vsuKCWJEWVL+5q9sSWRzzx6v2KeNsOBEwd94j0eWkpWCH4yB6rZg9Mf0w==} engines: {node: '>=8.0.0'} dev: false - /@opentelemetry/context-async-hooks@1.21.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-t0iulGPiMjG/NrSjinPQoIf8ST/o9V0dGOJthfrFporJlNdlKIQPfC7lkrV+5s2dyBThfmSbJlp/4hO1eOcDXA==} + /@opentelemetry/context-async-hooks@1.22.0(@opentelemetry/api@1.8.0): + resolution: {integrity: sha512-Nfdxyg8YtWqVWkyrCukkundAjPhUXi93JtVQmqDT1mZRVKqA7e2r7eJCrI+F651XUBMp0hsOJSGiFk3QSpaIJw==} engines: {node: '>=14'} peerDependencies: - '@opentelemetry/api': '>=1.0.0 <1.8.0' + '@opentelemetry/api': '>=1.0.0 <1.9.0' dependencies: - '@opentelemetry/api': 1.7.0 + '@opentelemetry/api': 1.8.0 dev: false - /@opentelemetry/core@1.21.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-KP+OIweb3wYoP7qTYL/j5IpOlu52uxBv5M4+QhSmmUfLyTgu1OIS71msK3chFo1D6Y61BIH3wMiMYRCxJCQctA==} + /@opentelemetry/core@1.22.0(@opentelemetry/api@1.8.0): + resolution: {integrity: sha512-0VoAlT6x+Xzik1v9goJ3pZ2ppi6+xd3aUfg4brfrLkDBHRIVjMP0eBHrKrhB+NKcDyMAg8fAbGL3Npg/F6AwWA==} engines: {node: '>=14'} peerDependencies: - '@opentelemetry/api': '>=1.0.0 <1.8.0' + '@opentelemetry/api': '>=1.0.0 <1.9.0' dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/semantic-conventions': 1.21.0 + '@opentelemetry/api': 1.8.0 + '@opentelemetry/semantic-conventions': 1.22.0 dev: false - /@opentelemetry/exporter-trace-otlp-grpc@0.48.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-+qRQXUbdRW6aNRT5yWOG3G6My1VxxKeqgUyLkkdIjkT20lvymjiN2RpBfGMtAf/oqnuRknf9snFl9VSIO2gniw==} + /@opentelemetry/exporter-trace-otlp-grpc@0.49.1(@opentelemetry/api@1.8.0): + resolution: {integrity: sha512-Zbd7f3zF7fI2587MVhBizaW21cO/SordyrZGtMtvhoxU6n4Qb02Gx71X4+PzXH620e0+JX+Pcr9bYb1HTeVyJA==} engines: {node: '>=14'} peerDependencies: '@opentelemetry/api': ^1.0.0 dependencies: - '@grpc/grpc-js': 1.10.1 - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/otlp-grpc-exporter-base': 0.48.0(@opentelemetry/api@1.7.0) - '@opentelemetry/otlp-transformer': 0.48.0(@opentelemetry/api@1.7.0) - '@opentelemetry/resources': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-trace-base': 1.21.0(@opentelemetry/api@1.7.0) + '@grpc/grpc-js': 1.10.2 + '@opentelemetry/api': 1.8.0 + '@opentelemetry/core': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/otlp-grpc-exporter-base': 0.49.1(@opentelemetry/api@1.8.0) + '@opentelemetry/otlp-transformer': 0.49.1(@opentelemetry/api@1.8.0) + '@opentelemetry/resources': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/sdk-trace-base': 1.22.0(@opentelemetry/api@1.8.0) dev: false - /@opentelemetry/exporter-trace-otlp-http@0.48.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-QEZKbfWqXrbKVpr2PHd4KyKI0XVOhUYC+p2RPV8s+2K5QzZBE3+F9WlxxrXDfkrvGmpQAZytBoHQQYA3AGOtpw==} + /@opentelemetry/exporter-trace-otlp-http@0.49.1(@opentelemetry/api@1.8.0): + resolution: {integrity: sha512-KOLtZfZvIrpGZLVvblKsiVQT7gQUZNKcUUH24Zz6Xbi7LJb9Vt6xtUZFYdR5IIjvt47PIqBKDWUQlU0o1wAsRw==} engines: {node: '>=14'} peerDependencies: '@opentelemetry/api': ^1.0.0 dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/otlp-exporter-base': 0.48.0(@opentelemetry/api@1.7.0) - '@opentelemetry/otlp-transformer': 0.48.0(@opentelemetry/api@1.7.0) - '@opentelemetry/resources': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-trace-base': 1.21.0(@opentelemetry/api@1.7.0) + '@opentelemetry/api': 1.8.0 + '@opentelemetry/core': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/otlp-exporter-base': 0.49.1(@opentelemetry/api@1.8.0) + '@opentelemetry/otlp-transformer': 0.49.1(@opentelemetry/api@1.8.0) + '@opentelemetry/resources': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/sdk-trace-base': 1.22.0(@opentelemetry/api@1.8.0) dev: false - /@opentelemetry/exporter-trace-otlp-proto@0.48.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-hVXr/8DYlAKAzQYMsCf3ZsGweS6NTK3IHIEqmLokJZYcvJQBEEazeAdISfrL/utWnapg1Qnpw8u+W6SpxNzmTw==} + /@opentelemetry/exporter-trace-otlp-proto@0.49.1(@opentelemetry/api@1.8.0): + resolution: {integrity: sha512-n8ON/c9pdMyYAfSFWKkgsPwjYoxnki+6Olzo+klKfW7KqLWoyEkryNkbcMIYnGGNXwdkMIrjoaP0VxXB26Oxcg==} engines: {node: '>=14'} peerDependencies: '@opentelemetry/api': ^1.0.0 dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/otlp-exporter-base': 0.48.0(@opentelemetry/api@1.7.0) - '@opentelemetry/otlp-proto-exporter-base': 0.48.0(@opentelemetry/api@1.7.0) - '@opentelemetry/otlp-transformer': 0.48.0(@opentelemetry/api@1.7.0) - '@opentelemetry/resources': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-trace-base': 1.21.0(@opentelemetry/api@1.7.0) + '@opentelemetry/api': 1.8.0 + '@opentelemetry/core': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/otlp-exporter-base': 0.49.1(@opentelemetry/api@1.8.0) + '@opentelemetry/otlp-proto-exporter-base': 0.49.1(@opentelemetry/api@1.8.0) + '@opentelemetry/otlp-transformer': 0.49.1(@opentelemetry/api@1.8.0) + '@opentelemetry/resources': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/sdk-trace-base': 1.22.0(@opentelemetry/api@1.8.0) dev: false - /@opentelemetry/exporter-zipkin@1.21.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-J0ejrOx52s1PqvjNalIHvY/4v9ZxR2r7XS7WZbwK3qpVYZlGVq5V1+iCNweqsKnb/miUt/4TFvJBc9f5Q/kGcA==} + /@opentelemetry/exporter-zipkin@1.22.0(@opentelemetry/api@1.8.0): + resolution: {integrity: sha512-XcFs6rGvcTz0qW5uY7JZDYD0yNEXdekXAb6sFtnZgY/cHY6BQ09HMzOjv9SX+iaXplRDcHr1Gta7VQKM1XXM6g==} engines: {node: '>=14'} peerDependencies: '@opentelemetry/api': ^1.0.0 dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/resources': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-trace-base': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/semantic-conventions': 1.21.0 + '@opentelemetry/api': 1.8.0 + '@opentelemetry/core': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/resources': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/sdk-trace-base': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/semantic-conventions': 1.22.0 dev: false - /@opentelemetry/instrumentation-bunyan@0.35.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-bQ8OzV7nVTA+oGiTzLjUmRFAbnXi0U/Z4VJCpj+1DRsaAaMT17eRpAOh22LQR0JBnv2vBm8CvIQl4CcAnsB46g==} + /@opentelemetry/instrumentation-bunyan@0.36.0(@opentelemetry/api@1.8.0): + resolution: {integrity: sha512-sHD5BSiqSrgWow7VmugEFzV8vGdsz5m+w1v9tK6YwRzuAD7vbo57chluq+UBzIqStoCH+0yOzRzSALH7hrfffg==} engines: {node: '>=14'} peerDependencies: '@opentelemetry/api': ^1.3.0 dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/api-logs': 0.48.0 - '@opentelemetry/instrumentation': 0.48.0(@opentelemetry/api@1.7.0) + '@opentelemetry/api': 1.8.0 + '@opentelemetry/api-logs': 0.49.1 + '@opentelemetry/instrumentation': 0.49.1(@opentelemetry/api@1.8.0) '@types/bunyan': 1.8.9 transitivePeerDependencies: - supports-color dev: false - /@opentelemetry/instrumentation-http@0.48.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-uXqOsLhW9WC3ZlGm6+PSX0xjSDTCfy4CMjfYj6TPWusOO8dtdx040trOriF24y+sZmS3M+5UQc6/3/ZxBJh4Mw==} + /@opentelemetry/instrumentation-http@0.49.1(@opentelemetry/api@1.8.0): + resolution: {integrity: sha512-Yib5zrW2s0V8wTeUK/B3ZtpyP4ldgXj9L3Ws/axXrW1dW0/mEFKifK50MxMQK9g5NNJQS9dWH7rvcEGZdWdQDA==} engines: {node: '>=14'} peerDependencies: '@opentelemetry/api': ^1.3.0 dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/instrumentation': 0.48.0(@opentelemetry/api@1.7.0) - '@opentelemetry/semantic-conventions': 1.21.0 + '@opentelemetry/api': 1.8.0 + '@opentelemetry/core': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/instrumentation': 0.49.1(@opentelemetry/api@1.8.0) + '@opentelemetry/semantic-conventions': 1.22.0 semver: 7.6.0 transitivePeerDependencies: - supports-color dev: false - /@opentelemetry/instrumentation-mongodb@0.39.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-m9dMj39pcCshzlfCEn2lGrlNo7eV5fb9pGBnPyl/Am9Crh7Or8vOqvByCNd26Dgf5J978zTdLGF+6tM8j1WOew==} + /@opentelemetry/instrumentation-mongodb@0.40.0(@opentelemetry/api@1.8.0): + resolution: {integrity: sha512-ldlJUW/1UlnGtIWBt7fIUl+7+TGOKxIU+0Js5ukpXfQc07ENYFeck5TdbFjvYtF8GppPErnsZJiFiRdYm6Pv/Q==} engines: {node: '>=14'} peerDependencies: '@opentelemetry/api': ^1.3.0 dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/instrumentation': 0.48.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-metrics': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/semantic-conventions': 1.21.0 + '@opentelemetry/api': 1.8.0 + '@opentelemetry/instrumentation': 0.49.1(@opentelemetry/api@1.8.0) + '@opentelemetry/sdk-metrics': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/semantic-conventions': 1.22.0 transitivePeerDependencies: - supports-color dev: false - /@opentelemetry/instrumentation-mysql@0.35.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-QKRHd3aFA2vKOPzIZ9Q3UIxYeNPweB62HGlX2l3shOKrUhrtTg2/BzaKpHQBy2f2nO2mxTF/mOFeVEDeANnhig==} + /@opentelemetry/instrumentation-mysql@0.36.0(@opentelemetry/api@1.8.0): + resolution: {integrity: sha512-2mt/032SLkiuddzMrq3YwM0bHksXRep69EzGRnBfF+bCbwYvKLpqmSFqJZ9T3yY/mBWj+tvdvc1+klXGrh2QnQ==} engines: {node: '>=14'} peerDependencies: '@opentelemetry/api': ^1.3.0 dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/instrumentation': 0.48.0(@opentelemetry/api@1.7.0) - '@opentelemetry/semantic-conventions': 1.21.0 + '@opentelemetry/api': 1.8.0 + '@opentelemetry/instrumentation': 0.49.1(@opentelemetry/api@1.8.0) + '@opentelemetry/semantic-conventions': 1.22.0 '@types/mysql': 2.15.22 transitivePeerDependencies: - supports-color dev: false - /@opentelemetry/instrumentation-pg@0.38.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-Q7V/OJ1OZwaWYNOP/E9S6sfS03Z+PNU1SAjdAoXTj5j4u4iJSMSieLRWXFaHwsbefIOMkYvA00EBKF9IgbgbLA==} + /@opentelemetry/instrumentation-pg@0.39.1(@opentelemetry/api@1.8.0): + resolution: {integrity: sha512-pX5ujDOyGpPcrZlzaD3LJzmyaSMMMKAP+ffTHJp9vasvZJr+LifCk53TMPVUafcXKV/xX/IIkvADO+67M1Z25g==} engines: {node: '>=14'} peerDependencies: '@opentelemetry/api': ^1.3.0 dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/instrumentation': 0.48.0(@opentelemetry/api@1.7.0) - '@opentelemetry/semantic-conventions': 1.21.0 - '@opentelemetry/sql-common': 0.40.0(@opentelemetry/api@1.7.0) + '@opentelemetry/api': 1.8.0 + '@opentelemetry/instrumentation': 0.49.1(@opentelemetry/api@1.8.0) + '@opentelemetry/semantic-conventions': 1.22.0 + '@opentelemetry/sql-common': 0.40.0(@opentelemetry/api@1.8.0) '@types/pg': 8.6.1 '@types/pg-pool': 2.0.4 transitivePeerDependencies: - supports-color dev: false - /@opentelemetry/instrumentation-redis-4@0.36.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-XO0EV2TxUsaRdcp79blyLGG5JWWl7NWVd/XNbU8vY7CuYUfRhWiTXYoM4PI+lwkAnUPvPtyiOzYs9px23GnibA==} + /@opentelemetry/instrumentation-redis-4@0.37.0(@opentelemetry/api@1.8.0): + resolution: {integrity: sha512-WNO+HALvPPvjbh7UEEIuay0Z0d2mIfSCkBZbPRwZttDGX6LYGc2WnRgJh3TnYqjp7/y9IryWIbajAFIebj1OBA==} engines: {node: '>=14'} peerDependencies: '@opentelemetry/api': ^1.3.0 dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/instrumentation': 0.48.0(@opentelemetry/api@1.7.0) + '@opentelemetry/api': 1.8.0 + '@opentelemetry/instrumentation': 0.49.1(@opentelemetry/api@1.8.0) '@opentelemetry/redis-common': 0.36.1 - '@opentelemetry/semantic-conventions': 1.21.0 + '@opentelemetry/semantic-conventions': 1.22.0 transitivePeerDependencies: - supports-color dev: false - /@opentelemetry/instrumentation-redis@0.36.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-rKFylIacEBwLxKFrPvxpVi8hHY9qXfQSybYnYNyF/VxUWMGYDPMpbCnTQkiVR5u+tIhwSvhSDG2YQEq6syHUIQ==} + /@opentelemetry/instrumentation-redis@0.37.0(@opentelemetry/api@1.8.0): + resolution: {integrity: sha512-9G0T74kheu37k+UvyBnAcieB5iowxska3z2rhUcSTL8Cl0y/CvMn7sZ7txkUbXt0rdX6qeEUdMLmbsY2fPUM7Q==} engines: {node: '>=14'} peerDependencies: '@opentelemetry/api': ^1.3.0 dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/instrumentation': 0.48.0(@opentelemetry/api@1.7.0) + '@opentelemetry/api': 1.8.0 + '@opentelemetry/instrumentation': 0.49.1(@opentelemetry/api@1.8.0) '@opentelemetry/redis-common': 0.36.1 - '@opentelemetry/semantic-conventions': 1.21.0 + '@opentelemetry/semantic-conventions': 1.22.0 transitivePeerDependencies: - supports-color dev: false - /@opentelemetry/instrumentation@0.48.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-sjtZQB5PStIdCw5ovVTDGwnmQC+GGYArJNgIcydrDSqUTdYBnMrN9P4pwQZgS3vTGIp+TU1L8vMXGe51NVmIKQ==} + /@opentelemetry/instrumentation@0.49.1(@opentelemetry/api@1.8.0): + resolution: {integrity: sha512-0DLtWtaIppuNNRRllSD4bjU8ZIiLp1cDXvJEbp752/Zf+y3gaLNaoGRGIlX4UHhcsrmtL+P2qxi3Hodi8VuKiQ==} engines: {node: '>=14'} peerDependencies: '@opentelemetry/api': ^1.3.0 dependencies: - '@opentelemetry/api': 1.7.0 + '@opentelemetry/api': 1.8.0 + '@opentelemetry/api-logs': 0.49.1 '@types/shimmer': 1.0.5 import-in-the-middle: 1.7.1 require-in-the-middle: 7.2.0 @@ -2528,74 +2516,74 @@ packages: - supports-color dev: false - /@opentelemetry/otlp-exporter-base@0.48.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-T4LJND+Ugl87GUONoyoQzuV9qCn4BFIPOnCH1biYqdGhc2JahjuLqVD9aefwLzGBW638iLAo88Lh68h2F1FLiA==} + /@opentelemetry/otlp-exporter-base@0.49.1(@opentelemetry/api@1.8.0): + resolution: {integrity: sha512-z6sHliPqDgJU45kQatAettY9/eVF58qVPaTuejw9YWfSRqid9pXPYeegDCSdyS47KAUgAtm+nC28K3pfF27HWg==} engines: {node: '>=14'} peerDependencies: '@opentelemetry/api': ^1.0.0 dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.21.0(@opentelemetry/api@1.7.0) + '@opentelemetry/api': 1.8.0 + '@opentelemetry/core': 1.22.0(@opentelemetry/api@1.8.0) dev: false - /@opentelemetry/otlp-grpc-exporter-base@0.48.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-Vdp56RK9OU+Oeoy3YQC/UMOWglKQ9qvgGr49FgF4r8vk5DlcTUgVS0m3KG8pykmRPA+5ZKaDuqwPw5aTvWmHFw==} + /@opentelemetry/otlp-grpc-exporter-base@0.49.1(@opentelemetry/api@1.8.0): + resolution: {integrity: sha512-DNDNUWmOqtKTFJAyOyHHKotVox0NQ/09ETX8fUOeEtyNVHoGekAVtBbvIA3AtK+JflP7LC0PTjlLfruPM3Wy6w==} engines: {node: '>=14'} peerDependencies: '@opentelemetry/api': ^1.0.0 dependencies: - '@grpc/grpc-js': 1.10.1 - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/otlp-exporter-base': 0.48.0(@opentelemetry/api@1.7.0) + '@grpc/grpc-js': 1.10.2 + '@opentelemetry/api': 1.8.0 + '@opentelemetry/core': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/otlp-exporter-base': 0.49.1(@opentelemetry/api@1.8.0) protobufjs: 7.2.6 dev: false - /@opentelemetry/otlp-proto-exporter-base@0.48.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-14GSTvPZPfrWsB54fYMGb8v+Uge5xGXyz0r2rf4SzcRnO2hXCPHEuL3yyL50emaKPAY+fj29Dm0bweawe8UA6A==} + /@opentelemetry/otlp-proto-exporter-base@0.49.1(@opentelemetry/api@1.8.0): + resolution: {integrity: sha512-x1qB4EUC7KikUl2iNuxCkV8yRzrSXSyj4itfpIO674H7dhI7Zv37SFaOJTDN+8Z/F50gF2ISFH9CWQ4KCtGm2A==} engines: {node: '>=14'} peerDependencies: '@opentelemetry/api': ^1.0.0 dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/otlp-exporter-base': 0.48.0(@opentelemetry/api@1.7.0) + '@opentelemetry/api': 1.8.0 + '@opentelemetry/core': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/otlp-exporter-base': 0.49.1(@opentelemetry/api@1.8.0) protobufjs: 7.2.6 dev: false - /@opentelemetry/otlp-transformer@0.48.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-yuoS4cUumaTK/hhxW3JUy3wl2U4keMo01cFDrUOmjloAdSSXvv1zyQ920IIH4lymp5Xd21Dj2/jq2LOro56TJg==} + /@opentelemetry/otlp-transformer@0.49.1(@opentelemetry/api@1.8.0): + resolution: {integrity: sha512-Z+koA4wp9L9e3jkFacyXTGphSWTbOKjwwXMpb0CxNb0kjTHGUxhYRN8GnkLFsFo5NbZPjP07hwAqeEG/uCratQ==} engines: {node: '>=14'} peerDependencies: - '@opentelemetry/api': '>=1.3.0 <1.8.0' + '@opentelemetry/api': '>=1.3.0 <1.9.0' dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/api-logs': 0.48.0 - '@opentelemetry/core': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/resources': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-logs': 0.48.0(@opentelemetry/api-logs@0.48.0)(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-metrics': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-trace-base': 1.21.0(@opentelemetry/api@1.7.0) + '@opentelemetry/api': 1.8.0 + '@opentelemetry/api-logs': 0.49.1 + '@opentelemetry/core': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/resources': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/sdk-logs': 0.49.1(@opentelemetry/api-logs@0.49.1)(@opentelemetry/api@1.8.0) + '@opentelemetry/sdk-metrics': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/sdk-trace-base': 1.22.0(@opentelemetry/api@1.8.0) dev: false - /@opentelemetry/propagator-b3@1.21.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-3ZTobj2VDIOzLsIvvYCdpw6tunxUVElPxDvog9lS49YX4hohHeD84A8u9Ns/6UYUcaN5GSoEf891lzhcBFiOLA==} + /@opentelemetry/propagator-b3@1.22.0(@opentelemetry/api@1.8.0): + resolution: {integrity: sha512-qBItJm9ygg/jCB5rmivyGz1qmKZPsL/sX715JqPMFgq++Idm0x+N9sLQvWFHFt2+ZINnCSojw7FVBgFW6izcXA==} engines: {node: '>=14'} peerDependencies: - '@opentelemetry/api': '>=1.0.0 <1.8.0' + '@opentelemetry/api': '>=1.0.0 <1.9.0' dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.21.0(@opentelemetry/api@1.7.0) + '@opentelemetry/api': 1.8.0 + '@opentelemetry/core': 1.22.0(@opentelemetry/api@1.8.0) dev: false - /@opentelemetry/propagator-jaeger@1.21.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-8TQSwXjBmaDx7JkxRD7hdmBmRK2RGRgzHX1ArJfJhIc5trzlVweyorzqQrXOvqVEdEg+zxUMHkL5qbGH/HDTPA==} + /@opentelemetry/propagator-jaeger@1.22.0(@opentelemetry/api@1.8.0): + resolution: {integrity: sha512-pMLgst3QIwrUfepraH5WG7xfpJ8J3CrPKrtINK0t7kBkuu96rn+HDYQ8kt3+0FXvrZI8YJE77MCQwnJWXIrgpA==} engines: {node: '>=14'} peerDependencies: - '@opentelemetry/api': '>=1.0.0 <1.8.0' + '@opentelemetry/api': '>=1.0.0 <1.9.0' dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.21.0(@opentelemetry/api@1.7.0) + '@opentelemetry/api': 1.8.0 + '@opentelemetry/core': 1.22.0(@opentelemetry/api@1.8.0) dev: false /@opentelemetry/redis-common@0.36.1: @@ -2603,116 +2591,117 @@ packages: engines: {node: '>=14'} dev: false - /@opentelemetry/resource-detector-azure@0.2.4(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-H1xXOqF87Ps57cGnGFsMf3+Fj5VdeVlBA6Hl8f0DRQ32eD7+5szx53/qvpvES90o+e+fHGr42KCz8MP+ow6MpQ==} + /@opentelemetry/resource-detector-azure@0.2.5(@opentelemetry/api@1.8.0): + resolution: {integrity: sha512-O/s4MW9UhLtOebNcdtM5sXm2tZ7O8Ow0avkuFqwwZYTeBcI7ipJs9L8mv8q4bP8K9AQabLLBYw+vOOpN7aH/dA==} engines: {node: '>=14'} + peerDependencies: + '@opentelemetry/api': ^1.0.0 dependencies: - '@opentelemetry/resources': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/semantic-conventions': 1.21.0 - transitivePeerDependencies: - - '@opentelemetry/api' + '@opentelemetry/api': 1.8.0 + '@opentelemetry/resources': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/semantic-conventions': 1.22.0 dev: false - /@opentelemetry/resources@1.21.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-1Z86FUxPKL6zWVy2LdhueEGl9AHDJcx+bvHStxomruz6Whd02mE3lNUMjVJ+FGRoktx/xYQcxccYb03DiUP6Yw==} + /@opentelemetry/resources@1.22.0(@opentelemetry/api@1.8.0): + resolution: {integrity: sha512-+vNeIFPH2hfcNL0AJk/ykJXoUCtR1YaDUZM+p3wZNU4Hq98gzq+7b43xbkXjadD9VhWIUQqEwXyY64q6msPj6A==} engines: {node: '>=14'} peerDependencies: - '@opentelemetry/api': '>=1.0.0 <1.8.0' + '@opentelemetry/api': '>=1.0.0 <1.9.0' dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/semantic-conventions': 1.21.0 + '@opentelemetry/api': 1.8.0 + '@opentelemetry/core': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/semantic-conventions': 1.22.0 dev: false - /@opentelemetry/sdk-logs@0.48.0(@opentelemetry/api-logs@0.48.0)(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-lRcA5/qkSJuSh4ItWCddhdn/nNbVvnzM+cm9Fg1xpZUeTeozjJDBcHnmeKoOaWRnrGYBdz6UTY6bynZR9aBeAA==} + /@opentelemetry/sdk-logs@0.49.1(@opentelemetry/api-logs@0.49.1)(@opentelemetry/api@1.8.0): + resolution: {integrity: sha512-gCzYWsJE0h+3cuh3/cK+9UwlVFyHvj3PReIOCDOmdeXOp90ZjKRoDOJBc3mvk1LL6wyl1RWIivR8Rg9OToyesw==} engines: {node: '>=14'} peerDependencies: - '@opentelemetry/api': '>=1.4.0 <1.8.0' + '@opentelemetry/api': '>=1.4.0 <1.9.0' '@opentelemetry/api-logs': '>=0.39.1' dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/api-logs': 0.48.0 - '@opentelemetry/core': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/resources': 1.21.0(@opentelemetry/api@1.7.0) + '@opentelemetry/api': 1.8.0 + '@opentelemetry/api-logs': 0.49.1 + '@opentelemetry/core': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/resources': 1.22.0(@opentelemetry/api@1.8.0) dev: false - /@opentelemetry/sdk-metrics@1.21.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-on1jTzIHc5DyWhRP+xpf+zrgrREXcHBH4EDAfaB5mIG7TWpKxNXooQ1JCylaPsswZUv4wGnVTinr4HrBdGARAQ==} + /@opentelemetry/sdk-metrics@1.22.0(@opentelemetry/api@1.8.0): + resolution: {integrity: sha512-k6iIx6H3TZ+BVMr2z8M16ri2OxWaljg5h8ihGJxi/KQWcjign6FEaEzuigXt5bK9wVEhqAcWLCfarSftaNWkkg==} engines: {node: '>=14'} peerDependencies: - '@opentelemetry/api': '>=1.3.0 <1.8.0' + '@opentelemetry/api': '>=1.3.0 <1.9.0' dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/resources': 1.21.0(@opentelemetry/api@1.7.0) + '@opentelemetry/api': 1.8.0 + '@opentelemetry/core': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/resources': 1.22.0(@opentelemetry/api@1.8.0) lodash.merge: 4.6.2 dev: false - /@opentelemetry/sdk-node@0.48.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-3o3GS6t+VLGVFCV5bqfGOcWIgOdkR/UE6Qz7hHksP5PXrVBeYsPqts7cPma5YXweaI3r3h26mydg9PqQIcqksg==} + /@opentelemetry/sdk-node@0.49.1(@opentelemetry/api@1.8.0): + resolution: {integrity: sha512-feBIT85ndiSHXsQ2gfGpXC/sNeX4GCHLksC4A9s/bfpUbbgbCSl0RvzZlmEpCHarNrkZMwFRi4H0xFfgvJEjrg==} engines: {node: '>=14'} peerDependencies: - '@opentelemetry/api': '>=1.3.0 <1.8.0' + '@opentelemetry/api': '>=1.3.0 <1.9.0' dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/api-logs': 0.48.0 - '@opentelemetry/core': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/exporter-trace-otlp-grpc': 0.48.0(@opentelemetry/api@1.7.0) - '@opentelemetry/exporter-trace-otlp-http': 0.48.0(@opentelemetry/api@1.7.0) - '@opentelemetry/exporter-trace-otlp-proto': 0.48.0(@opentelemetry/api@1.7.0) - '@opentelemetry/exporter-zipkin': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/instrumentation': 0.48.0(@opentelemetry/api@1.7.0) - '@opentelemetry/resources': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-logs': 0.48.0(@opentelemetry/api-logs@0.48.0)(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-metrics': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-trace-base': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-trace-node': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/semantic-conventions': 1.21.0 + '@opentelemetry/api': 1.8.0 + '@opentelemetry/api-logs': 0.49.1 + '@opentelemetry/core': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/exporter-trace-otlp-grpc': 0.49.1(@opentelemetry/api@1.8.0) + '@opentelemetry/exporter-trace-otlp-http': 0.49.1(@opentelemetry/api@1.8.0) + '@opentelemetry/exporter-trace-otlp-proto': 0.49.1(@opentelemetry/api@1.8.0) + '@opentelemetry/exporter-zipkin': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/instrumentation': 0.49.1(@opentelemetry/api@1.8.0) + '@opentelemetry/resources': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/sdk-logs': 0.49.1(@opentelemetry/api-logs@0.49.1)(@opentelemetry/api@1.8.0) + '@opentelemetry/sdk-metrics': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/sdk-trace-base': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/sdk-trace-node': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/semantic-conventions': 1.22.0 transitivePeerDependencies: - supports-color dev: false - /@opentelemetry/sdk-trace-base@1.21.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-yrElGX5Fv0umzp8Nxpta/XqU71+jCAyaLk34GmBzNcrW43nqbrqvdPs4gj4MVy/HcTjr6hifCDCYA3rMkajxxA==} + /@opentelemetry/sdk-trace-base@1.22.0(@opentelemetry/api@1.8.0): + resolution: {integrity: sha512-pfTuSIpCKONC6vkTpv6VmACxD+P1woZf4q0K46nSUvXFvOFqjBYKFaAMkKD3M1mlKUUh0Oajwj35qNjMl80m1Q==} engines: {node: '>=14'} peerDependencies: - '@opentelemetry/api': '>=1.0.0 <1.8.0' + '@opentelemetry/api': '>=1.0.0 <1.9.0' dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/resources': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/semantic-conventions': 1.21.0 + '@opentelemetry/api': 1.8.0 + '@opentelemetry/core': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/resources': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/semantic-conventions': 1.22.0 dev: false - /@opentelemetry/sdk-trace-node@1.21.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-1pdm8jnqs+LuJ0Bvx6sNL28EhC8Rv7NYV8rnoXq3GIQo7uOHBDAFSj7makAfbakrla7ecO1FRfI8emnR4WvhYA==} + /@opentelemetry/sdk-trace-node@1.22.0(@opentelemetry/api@1.8.0): + resolution: {integrity: sha512-gTGquNz7ue8uMeiWPwp3CU321OstQ84r7PCDtOaCicjbJxzvO8RZMlEC4geOipTeiF88kss5n6w+//A0MhP1lQ==} engines: {node: '>=14'} peerDependencies: - '@opentelemetry/api': '>=1.0.0 <1.8.0' - dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/context-async-hooks': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/core': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/propagator-b3': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/propagator-jaeger': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-trace-base': 1.21.0(@opentelemetry/api@1.7.0) + '@opentelemetry/api': '>=1.0.0 <1.9.0' + dependencies: + '@opentelemetry/api': 1.8.0 + '@opentelemetry/context-async-hooks': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/core': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/propagator-b3': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/propagator-jaeger': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/sdk-trace-base': 1.22.0(@opentelemetry/api@1.8.0) semver: 7.6.0 dev: false - /@opentelemetry/semantic-conventions@1.21.0: - resolution: {integrity: sha512-lkC8kZYntxVKr7b8xmjCVUgE0a8xgDakPyDo9uSWavXPyYqLgYYGdEd2j8NxihRyb6UwpX3G/hFUF4/9q2V+/g==} + /@opentelemetry/semantic-conventions@1.22.0: + resolution: {integrity: sha512-CAOgFOKLybd02uj/GhCdEeeBjOS0yeoDeo/CA7ASBSmenpZHAKGB3iDm/rv3BQLcabb/OprDEsSQ1y0P8A7Siw==} engines: {node: '>=14'} dev: false - /@opentelemetry/sql-common@0.40.0(@opentelemetry/api@1.7.0): + /@opentelemetry/sql-common@0.40.0(@opentelemetry/api@1.8.0): resolution: {integrity: sha512-vSqRJYUPJVjMFQpYkQS3ruexCPSZJ8esne3LazLwtCPaPRvzZ7WG3tX44RouAn7w4wMp8orKguBqtt+ng2UTnw==} engines: {node: '>=14'} peerDependencies: '@opentelemetry/api': ^1.1.0 dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.21.0(@opentelemetry/api@1.7.0) + '@opentelemetry/api': 1.8.0 + '@opentelemetry/core': 1.22.0(@opentelemetry/api@1.8.0) dev: false /@pkgjs/parseargs@0.11.0: @@ -2722,8 +2711,8 @@ packages: dev: false optional: true - /@polka/url@1.0.0-next.24: - resolution: {integrity: sha512-2LuNTFBIO0m7kKIQvvPHN6UE63VjpmL9rnEEaOOaiSPbZK+zUOYIzBAWcED+3XYzhYsd/0mD57VdxAEqqV52CQ==} + /@polka/url@1.0.0-next.25: + resolution: {integrity: sha512-j7P6Rgr3mmtdkeDGTe0E/aYyWEWVtc5yFXtHCRHs28/jptDEWfaVOc5T7cblqy1XKPPfCxJc/8DwQ5YgLOZOVQ==} dev: false /@protobufjs/aspromise@1.1.2: @@ -2786,7 +2775,7 @@ packages: - supports-color dev: false - /@rollup/plugin-commonjs@25.0.7(rollup@4.12.0): + /@rollup/plugin-commonjs@25.0.7(rollup@4.12.1): resolution: {integrity: sha512-nEvcR+LRjEjsaSsc4x3XZfCCvZIaSMenZu/OiwOKGN2UhQpAYI7ru7czFvyWbErlpoGjnSX3D5Ch5FcMA3kRWQ==} engines: {node: '>=14.0.0'} peerDependencies: @@ -2795,16 +2784,16 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.1.0(rollup@4.12.0) + '@rollup/pluginutils': 5.1.0(rollup@4.12.1) commondir: 1.0.1 estree-walker: 2.0.2 glob: 8.1.0 is-reference: 1.2.1 - magic-string: 0.30.7 - rollup: 4.12.0 + magic-string: 0.30.8 + rollup: 4.12.1 dev: false - /@rollup/plugin-inject@5.0.5(rollup@4.12.0): + /@rollup/plugin-inject@5.0.5(rollup@4.12.1): resolution: {integrity: sha512-2+DEJbNBoPROPkgTDNe8/1YXWcqxbN5DTjASVIOx8HS+pITXushyNiBV56RB08zuptzz8gT3YfkqriTBVycepg==} engines: {node: '>=14.0.0'} peerDependencies: @@ -2813,13 +2802,13 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.1.0(rollup@4.12.0) + '@rollup/pluginutils': 5.1.0(rollup@4.12.1) estree-walker: 2.0.2 - magic-string: 0.30.7 - rollup: 4.12.0 + magic-string: 0.30.8 + rollup: 4.12.1 dev: false - /@rollup/plugin-json@6.1.0(rollup@4.12.0): + /@rollup/plugin-json@6.1.0(rollup@4.12.1): resolution: {integrity: sha512-EGI2te5ENk1coGeADSIwZ7G2Q8CJS2sF120T7jLw4xFw9n7wIOXHo+kIYRAoVpJAN+kmqZSoO3Fp4JtoNF4ReA==} engines: {node: '>=14.0.0'} peerDependencies: @@ -2828,11 +2817,11 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.1.0(rollup@4.12.0) - rollup: 4.12.0 + '@rollup/pluginutils': 5.1.0(rollup@4.12.1) + rollup: 4.12.1 dev: false - /@rollup/plugin-multi-entry@6.0.1(rollup@4.12.0): + /@rollup/plugin-multi-entry@6.0.1(rollup@4.12.1): resolution: {integrity: sha512-AXm6toPyTSfbYZWghQGbom1Uh7dHXlrGa+HoiYNhQtDUE3Q7LqoUYdVQx9E1579QWS1uOiu+cZRSE4okO7ySgw==} engines: {node: '>=14.0.0'} peerDependencies: @@ -2841,12 +2830,12 @@ packages: rollup: optional: true dependencies: - '@rollup/plugin-virtual': 3.0.2(rollup@4.12.0) + '@rollup/plugin-virtual': 3.0.2(rollup@4.12.1) matched: 5.0.1 - rollup: 4.12.0 + rollup: 4.12.1 dev: false - /@rollup/plugin-node-resolve@15.2.3(rollup@4.12.0): + /@rollup/plugin-node-resolve@15.2.3(rollup@4.12.1): resolution: {integrity: sha512-j/lym8nf5E21LwBT4Df1VD6hRO2L2iwUeUmP7litikRsVp1H6NWx20NEp0Y7su+7XGc476GnXXc4kFeZNGmaSQ==} engines: {node: '>=14.0.0'} peerDependencies: @@ -2855,16 +2844,16 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.1.0(rollup@4.12.0) + '@rollup/pluginutils': 5.1.0(rollup@4.12.1) '@types/resolve': 1.20.2 deepmerge: 4.3.1 is-builtin-module: 3.2.1 is-module: 1.0.0 resolve: 1.22.8 - rollup: 4.12.0 + rollup: 4.12.1 dev: false - /@rollup/plugin-virtual@3.0.2(rollup@4.12.0): + /@rollup/plugin-virtual@3.0.2(rollup@4.12.1): resolution: {integrity: sha512-10monEYsBp3scM4/ND4LNH5Rxvh3e/cVeL3jWTgZ2SrQ+BmUoQcopVQvnaMcOnykb1VkxUFuDAN+0FnpTFRy2A==} engines: {node: '>=14.0.0'} peerDependencies: @@ -2873,10 +2862,10 @@ packages: rollup: optional: true dependencies: - rollup: 4.12.0 + rollup: 4.12.1 dev: false - /@rollup/pluginutils@5.1.0(rollup@4.12.0): + /@rollup/pluginutils@5.1.0(rollup@4.12.1): resolution: {integrity: sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==} engines: {node: '>=14.0.0'} peerDependencies: @@ -2888,107 +2877,107 @@ packages: '@types/estree': 1.0.5 estree-walker: 2.0.2 picomatch: 2.3.1 - rollup: 4.12.0 + rollup: 4.12.1 dev: false - /@rollup/rollup-android-arm-eabi@4.12.0: - resolution: {integrity: sha512-+ac02NL/2TCKRrJu2wffk1kZ+RyqxVUlbjSagNgPm94frxtr+XDL12E5Ll1enWskLrtrZ2r8L3wED1orIibV/w==} + /@rollup/rollup-android-arm-eabi@4.12.1: + resolution: {integrity: sha512-iU2Sya8hNn1LhsYyf0N+L4Gf9Qc+9eBTJJJsaOGUp+7x4n2M9dxTt8UvhJl3oeftSjblSlpCfvjA/IfP3g5VjQ==} cpu: [arm] os: [android] requiresBuild: true dev: false optional: true - /@rollup/rollup-android-arm64@4.12.0: - resolution: {integrity: sha512-OBqcX2BMe6nvjQ0Nyp7cC90cnumt8PXmO7Dp3gfAju/6YwG0Tj74z1vKrfRz7qAv23nBcYM8BCbhrsWqO7PzQQ==} + /@rollup/rollup-android-arm64@4.12.1: + resolution: {integrity: sha512-wlzcWiH2Ir7rdMELxFE5vuM7D6TsOcJ2Yw0c3vaBR3VOsJFVTx9xvwnAvhgU5Ii8Gd6+I11qNHwndDscIm0HXg==} cpu: [arm64] os: [android] requiresBuild: true dev: false optional: true - /@rollup/rollup-darwin-arm64@4.12.0: - resolution: {integrity: sha512-X64tZd8dRE/QTrBIEs63kaOBG0b5GVEd3ccoLtyf6IdXtHdh8h+I56C2yC3PtC9Ucnv0CpNFJLqKFVgCYe0lOQ==} + /@rollup/rollup-darwin-arm64@4.12.1: + resolution: {integrity: sha512-YRXa1+aZIFN5BaImK+84B3uNK8C6+ynKLPgvn29X9s0LTVCByp54TB7tdSMHDR7GTV39bz1lOmlLDuedgTwwHg==} cpu: [arm64] os: [darwin] requiresBuild: true dev: false optional: true - /@rollup/rollup-darwin-x64@4.12.0: - resolution: {integrity: sha512-cc71KUZoVbUJmGP2cOuiZ9HSOP14AzBAThn3OU+9LcA1+IUqswJyR1cAJj3Mg55HbjZP6OLAIscbQsQLrpgTOg==} + /@rollup/rollup-darwin-x64@4.12.1: + resolution: {integrity: sha512-opjWJ4MevxeA8FhlngQWPBOvVWYNPFkq6/25rGgG+KOy0r8clYwL1CFd+PGwRqqMFVQ4/Qd3sQu5t7ucP7C/Uw==} cpu: [x64] os: [darwin] requiresBuild: true dev: false optional: true - /@rollup/rollup-linux-arm-gnueabihf@4.12.0: - resolution: {integrity: sha512-a6w/Y3hyyO6GlpKL2xJ4IOh/7d+APaqLYdMf86xnczU3nurFTaVN9s9jOXQg97BE4nYm/7Ga51rjec5nfRdrvA==} + /@rollup/rollup-linux-arm-gnueabihf@4.12.1: + resolution: {integrity: sha512-uBkwaI+gBUlIe+EfbNnY5xNyXuhZbDSx2nzzW8tRMjUmpScd6lCQYKY2V9BATHtv5Ef2OBq6SChEP8h+/cxifQ==} cpu: [arm] os: [linux] requiresBuild: true dev: false optional: true - /@rollup/rollup-linux-arm64-gnu@4.12.0: - resolution: {integrity: sha512-0fZBq27b+D7Ar5CQMofVN8sggOVhEtzFUwOwPppQt0k+VR+7UHMZZY4y+64WJ06XOhBTKXtQB/Sv0NwQMXyNAA==} + /@rollup/rollup-linux-arm64-gnu@4.12.1: + resolution: {integrity: sha512-0bK9aG1kIg0Su7OcFTlexkVeNZ5IzEsnz1ept87a0TUgZ6HplSgkJAnFpEVRW7GRcikT4GlPV0pbtVedOaXHQQ==} cpu: [arm64] os: [linux] requiresBuild: true dev: false optional: true - /@rollup/rollup-linux-arm64-musl@4.12.0: - resolution: {integrity: sha512-eTvzUS3hhhlgeAv6bfigekzWZjaEX9xP9HhxB0Dvrdbkk5w/b+1Sxct2ZuDxNJKzsRStSq1EaEkVSEe7A7ipgQ==} + /@rollup/rollup-linux-arm64-musl@4.12.1: + resolution: {integrity: sha512-qB6AFRXuP8bdkBI4D7UPUbE7OQf7u5OL+R94JE42Z2Qjmyj74FtDdLGeriRyBDhm4rQSvqAGCGC01b8Fu2LthQ==} cpu: [arm64] os: [linux] requiresBuild: true dev: false optional: true - /@rollup/rollup-linux-riscv64-gnu@4.12.0: - resolution: {integrity: sha512-ix+qAB9qmrCRiaO71VFfY8rkiAZJL8zQRXveS27HS+pKdjwUfEhqo2+YF2oI+H/22Xsiski+qqwIBxVewLK7sw==} + /@rollup/rollup-linux-riscv64-gnu@4.12.1: + resolution: {integrity: sha512-sHig3LaGlpNgDj5o8uPEoGs98RII8HpNIqFtAI8/pYABO8i0nb1QzT0JDoXF/pxzqO+FkxvwkHZo9k0NJYDedg==} cpu: [riscv64] os: [linux] requiresBuild: true dev: false optional: true - /@rollup/rollup-linux-x64-gnu@4.12.0: - resolution: {integrity: sha512-TenQhZVOtw/3qKOPa7d+QgkeM6xY0LtwzR8OplmyL5LrgTWIXpTQg2Q2ycBf8jm+SFW2Wt/DTn1gf7nFp3ssVA==} + /@rollup/rollup-linux-x64-gnu@4.12.1: + resolution: {integrity: sha512-nD3YcUv6jBJbBNFvSbp0IV66+ba/1teuBcu+fBBPZ33sidxitc6ErhON3JNavaH8HlswhWMC3s5rgZpM4MtPqQ==} cpu: [x64] os: [linux] requiresBuild: true dev: false optional: true - /@rollup/rollup-linux-x64-musl@4.12.0: - resolution: {integrity: sha512-LfFdRhNnW0zdMvdCb5FNuWlls2WbbSridJvxOvYWgSBOYZtgBfW9UGNJG//rwMqTX1xQE9BAodvMH9tAusKDUw==} + /@rollup/rollup-linux-x64-musl@4.12.1: + resolution: {integrity: sha512-7/XVZqgBby2qp/cO0TQ8uJK+9xnSdJ9ct6gSDdEr4MfABrjTyrW6Bau7HQ73a2a5tPB7hno49A0y1jhWGDN9OQ==} cpu: [x64] os: [linux] requiresBuild: true dev: false optional: true - /@rollup/rollup-win32-arm64-msvc@4.12.0: - resolution: {integrity: sha512-JPDxovheWNp6d7AHCgsUlkuCKvtu3RB55iNEkaQcf0ttsDU/JZF+iQnYcQJSk/7PtT4mjjVG8N1kpwnI9SLYaw==} + /@rollup/rollup-win32-arm64-msvc@4.12.1: + resolution: {integrity: sha512-CYc64bnICG42UPL7TrhIwsJW4QcKkIt9gGlj21gq3VV0LL6XNb1yAdHVp1pIi9gkts9gGcT3OfUYHjGP7ETAiw==} cpu: [arm64] os: [win32] requiresBuild: true dev: false optional: true - /@rollup/rollup-win32-ia32-msvc@4.12.0: - resolution: {integrity: sha512-fjtuvMWRGJn1oZacG8IPnzIV6GF2/XG+h71FKn76OYFqySXInJtseAqdprVTDTyqPxQOG9Exak5/E9Z3+EJ8ZA==} + /@rollup/rollup-win32-ia32-msvc@4.12.1: + resolution: {integrity: sha512-LN+vnlZ9g0qlHGlS920GR4zFCqAwbv2lULrR29yGaWP9u7wF5L7GqWu9Ah6/kFZPXPUkpdZwd//TNR+9XC9hvA==} cpu: [ia32] os: [win32] requiresBuild: true dev: false optional: true - /@rollup/rollup-win32-x64-msvc@4.12.0: - resolution: {integrity: sha512-ZYmr5mS2wd4Dew/JjT0Fqi2NPB/ZhZ2VvPp7SmvPZb4Y1CG/LRcS6tcRo2cYU7zLK5A7cdbhWnnWmUjoI4qapg==} + /@rollup/rollup-win32-x64-msvc@4.12.1: + resolution: {integrity: sha512-n+vkrSyphvmU0qkQ6QBNXCGr2mKjhP08mPRM/Xp5Ck2FV4NrHU+y6axzDeixUrCBHVUS51TZhjqrKBBsHLKb2Q==} cpu: [x64] os: [win32] requiresBuild: true @@ -3013,7 +3002,7 @@ packages: z-schema: 5.0.5 dev: false - /@rushstack/node-core-library@4.0.2(@types/node@16.18.83): + /@rushstack/node-core-library@4.0.2(@types/node@16.18.87): resolution: {integrity: sha512-hyES82QVpkfQMeBMteQUnrhASL/KHPhd7iJ8euduwNJG4mu2GSOKybf0rOEjOm1Wz7CwJEUm9y0yD7jg2C1bfg==} peerDependencies: '@types/node': '*' @@ -3021,7 +3010,7 @@ packages: '@types/node': optional: true dependencies: - '@types/node': 16.18.83 + '@types/node': 16.18.87 fs-extra: 7.0.1 import-lazy: 4.0.0 jju: 1.4.0 @@ -3030,7 +3019,7 @@ packages: z-schema: 5.0.5 dev: false - /@rushstack/node-core-library@4.0.2(@types/node@18.19.18): + /@rushstack/node-core-library@4.0.2(@types/node@18.19.22): resolution: {integrity: sha512-hyES82QVpkfQMeBMteQUnrhASL/KHPhd7iJ8euduwNJG4mu2GSOKybf0rOEjOm1Wz7CwJEUm9y0yD7jg2C1bfg==} peerDependencies: '@types/node': '*' @@ -3038,7 +3027,7 @@ packages: '@types/node': optional: true dependencies: - '@types/node': 18.19.18 + '@types/node': 18.19.22 fs-extra: 7.0.1 import-lazy: 4.0.0 jju: 1.4.0 @@ -3061,7 +3050,7 @@ packages: strip-json-comments: 3.1.1 dev: false - /@rushstack/terminal@0.10.0(@types/node@16.18.83): + /@rushstack/terminal@0.10.0(@types/node@16.18.87): resolution: {integrity: sha512-UbELbXnUdc7EKwfH2sb8ChqNgapUOdqcCIdQP4NGxBpTZV2sQyeekuK3zmfQSa/MN+/7b4kBogl2wq0vpkpYGw==} peerDependencies: '@types/node': '*' @@ -3069,12 +3058,12 @@ packages: '@types/node': optional: true dependencies: - '@rushstack/node-core-library': 4.0.2(@types/node@16.18.83) - '@types/node': 16.18.83 + '@rushstack/node-core-library': 4.0.2(@types/node@16.18.87) + '@types/node': 16.18.87 supports-color: 8.1.1 dev: false - /@rushstack/terminal@0.10.0(@types/node@18.19.18): + /@rushstack/terminal@0.10.0(@types/node@18.19.22): resolution: {integrity: sha512-UbELbXnUdc7EKwfH2sb8ChqNgapUOdqcCIdQP4NGxBpTZV2sQyeekuK3zmfQSa/MN+/7b4kBogl2wq0vpkpYGw==} peerDependencies: '@types/node': '*' @@ -3082,8 +3071,8 @@ packages: '@types/node': optional: true dependencies: - '@rushstack/node-core-library': 4.0.2(@types/node@18.19.18) - '@types/node': 18.19.18 + '@rushstack/node-core-library': 4.0.2(@types/node@18.19.22) + '@types/node': 18.19.22 supports-color: 8.1.1 dev: false @@ -3096,10 +3085,10 @@ packages: string-argv: 0.3.2 dev: false - /@rushstack/ts-command-line@4.17.4(@types/node@16.18.83): - resolution: {integrity: sha512-XPQQDaxgFqRHFRgt7jjCKnr0vrC75s/+ISU6kGhWpDlGzWl4vig6ZfZTs3HgM6Kh1Bb3wUKSyKQOV+G36cyZfg==} + /@rushstack/ts-command-line@4.19.1(@types/node@16.18.87): + resolution: {integrity: sha512-J7H768dgcpG60d7skZ5uSSwyCZs/S2HrWP1Ds8d1qYAyaaeJmpmmLr9BVw97RjFzmQPOYnoXcKA4GkqDCkduQg==} dependencies: - '@rushstack/terminal': 0.10.0(@types/node@16.18.83) + '@rushstack/terminal': 0.10.0(@types/node@16.18.87) '@types/argparse': 1.0.38 argparse: 1.0.10 string-argv: 0.3.2 @@ -3107,10 +3096,10 @@ packages: - '@types/node' dev: false - /@rushstack/ts-command-line@4.17.4(@types/node@18.19.18): - resolution: {integrity: sha512-XPQQDaxgFqRHFRgt7jjCKnr0vrC75s/+ISU6kGhWpDlGzWl4vig6ZfZTs3HgM6Kh1Bb3wUKSyKQOV+G36cyZfg==} + /@rushstack/ts-command-line@4.19.1(@types/node@18.19.22): + resolution: {integrity: sha512-J7H768dgcpG60d7skZ5uSSwyCZs/S2HrWP1Ds8d1qYAyaaeJmpmmLr9BVw97RjFzmQPOYnoXcKA4GkqDCkduQg==} dependencies: - '@rushstack/terminal': 0.10.0(@types/node@18.19.18) + '@rushstack/terminal': 0.10.0(@types/node@18.19.22) '@types/argparse': 1.0.38 argparse: 1.0.10 string-argv: 0.3.2 @@ -3165,8 +3154,8 @@ packages: resolution: {integrity: sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==} dev: false - /@ts-morph/common@0.22.0: - resolution: {integrity: sha512-HqNBuV/oIlMKdkLshXd1zKBqNQCsuPEsgQOkfFQ/eUKjRlwndXW1AjN9LVkBEIukm00gGXSRmfkl0Wv5VXLnlw==} + /@ts-morph/common@0.23.0: + resolution: {integrity: sha512-m7Lllj9n/S6sOkCkRftpM7L24uvmfXQFedlW/4hENcuJH1HHm9u5EgxZb9uVjQSCGrbBWBkOGgcTxNg36r6ywA==} dependencies: fast-glob: 3.3.2 minimatch: 9.0.3 @@ -3208,13 +3197,13 @@ packages: resolution: {integrity: sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==} dependencies: '@types/connect': 3.4.38 - '@types/node': 20.10.8 + '@types/node': 18.19.22 dev: false /@types/bunyan@1.8.9: resolution: {integrity: sha512-ZqS9JGpBxVOvsawzmVt30sP++gSQMTejCkIAQ3VdadOcRE8izTyW66hufvwLeH+YEGP6Js2AW7Gz+RMyvrEbmw==} dependencies: - '@types/node': 20.10.8 + '@types/node': 18.19.22 dev: false /@types/chai-as-promised@7.1.8: @@ -3236,7 +3225,7 @@ packages: /@types/connect@3.4.38: resolution: {integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==} dependencies: - '@types/node': 20.10.8 + '@types/node': 18.19.22 dev: false /@types/cookie@0.4.1: @@ -3246,7 +3235,7 @@ packages: /@types/cors@2.8.17: resolution: {integrity: sha512-8CGDvrBj1zgo2qE+oS3pOCyYNqCPryMWY2bGfwA0dcfopWGgxs+78df0Rs3rc9THP4JkOhLsAa+15VdpAqkcUA==} dependencies: - '@types/node': 20.10.8 + '@types/node': 18.19.22 dev: false /@types/debug@4.1.12: @@ -3258,7 +3247,7 @@ packages: /@types/decompress@4.2.7: resolution: {integrity: sha512-9z+8yjKr5Wn73Pt17/ldnmQToaFHZxK0N1GHysuk/JIPT8RIdQeoInM01wWPgypRcvb6VH1drjuFpQ4zmY437g==} dependencies: - '@types/node': 20.10.8 + '@types/node': 18.19.22 dev: false /@types/eslint@8.44.9: @@ -3275,8 +3264,8 @@ packages: /@types/express-serve-static-core@4.17.43: resolution: {integrity: sha512-oaYtiBirUOPQGSWNGPWnzyAFJ0BP3cwvN4oWZQY+zUBwpVIGsKUkpBpSztp74drYcjavs7SKFZ4DX1V2QeN8rg==} dependencies: - '@types/node': 20.10.8 - '@types/qs': 6.9.11 + '@types/node': 18.19.22 + '@types/qs': 6.9.12 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 dev: false @@ -3286,7 +3275,7 @@ packages: dependencies: '@types/body-parser': 1.19.5 '@types/express-serve-static-core': 4.17.43 - '@types/qs': 6.9.11 + '@types/qs': 6.9.12 '@types/serve-static': 1.15.5 dev: false @@ -3294,19 +3283,19 @@ packages: resolution: {integrity: sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==} dependencies: '@types/jsonfile': 6.1.4 - '@types/node': 20.10.8 + '@types/node': 18.19.22 dev: false /@types/fs-extra@8.1.5: resolution: {integrity: sha512-0dzKcwO+S8s2kuF5Z9oUWatQJj5Uq/iqphEtE3GQJVRRYm/tD1LglU2UnXi2A8jLq5umkGouOXOR9y0n613ZwQ==} dependencies: - '@types/node': 20.10.8 + '@types/node': 18.19.22 dev: false /@types/fs-extra@9.0.13: resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==} dependencies: - '@types/node': 18.19.18 + '@types/node': 18.19.22 dev: false /@types/http-errors@2.0.4: @@ -3323,7 +3312,7 @@ packages: /@types/is-buffer@2.0.2: resolution: {integrity: sha512-G6OXy83Va+xEo8XgqAJYOuvOMxeey9xM5XKkvwJNmN8rVdcB+r15HvHsG86hl86JvU0y1aa7Z2ERkNFYWw9ySg==} dependencies: - '@types/node': 20.10.8 + '@types/node': 18.19.22 dev: false /@types/istanbul-lib-coverage@2.0.6: @@ -3341,19 +3330,19 @@ packages: /@types/jsonfile@6.1.4: resolution: {integrity: sha512-D5qGUYwjvnNNextdU59/+fI+spnwtTFmyQP0h+PfIOSkNfpU6AOICUOkm4i0OnSk+NyjdPJrxCDro0sJsWlRpQ==} dependencies: - '@types/node': 20.10.8 + '@types/node': 18.19.22 dev: false - /@types/jsonwebtoken@9.0.5: - resolution: {integrity: sha512-VRLSGzik+Unrup6BsouBeHsf4d1hOEgYWTm/7Nmw1sXoN1+tRly/Gy/po3yeahnP4jfnQWWAhQAqcNfH7ngOkA==} + /@types/jsonwebtoken@9.0.6: + resolution: {integrity: sha512-/5hndP5dCjloafCXns6SZyESp3Ldq7YjH3zwzwczYnjxIT0Fqzk5ROSYVGfFyczIue7IUEj8hkvLbPoLQ18vQw==} dependencies: - '@types/node': 20.10.8 + '@types/node': 18.19.22 dev: false /@types/jws@3.2.9: resolution: {integrity: sha512-xAqC7PI7QSBY3fXV1f2pbcdbBFoR4dF8+lH2z6MfZQVcGe14twYVfjzJ3CHhLS1NHxE+DnjUR5xaHu2/U9GGaQ==} dependencies: - '@types/node': 20.10.8 + '@types/node': 18.19.22 dev: false /@types/linkify-it@3.0.5: @@ -3404,22 +3393,22 @@ packages: /@types/mysql@2.15.22: resolution: {integrity: sha512-wK1pzsJVVAjYCSZWQoWHziQZbNggXFDUEIGf54g4ZM/ERuP86uGdWeKZWMYlqTPMZfHJJvLPyogXGvCOg87yLQ==} dependencies: - '@types/node': 20.10.8 + '@types/node': 18.19.22 dev: false /@types/node-fetch@2.6.11: resolution: {integrity: sha512-24xFj9R5+rfQJLRyM56qh+wnVSYhyXC2tkoBndtY0U+vubqNsYXGjufB2nn8Q6gt0LrARwL6UBtMCSVCwl4B1g==} dependencies: - '@types/node': 20.10.8 + '@types/node': 18.19.22 form-data: 4.0.0 dev: false - /@types/node@16.18.83: - resolution: {integrity: sha512-TmBqzDY/GeCEmLob/31SunOQnqYE3ZiiuEh1U9o3HqE1E2cqKZQA5RQg4krEguCY3StnkXyDmCny75qyFLx/rA==} + /@types/node@16.18.87: + resolution: {integrity: sha512-+IzfhNirR/MDbXz6Om5eHV54D9mQlEMGag6AgEzlju0xH3M8baCXYwqQ6RKgGMpn9wSTx6Ltya/0y4Z8eSfdLw==} dev: false - /@types/node@18.19.18: - resolution: {integrity: sha512-80CP7B8y4PzZF0GWx15/gVWRrB5y/bIjNI84NK3cmQJu0WZwvmj2WMA5LcofQFVfLqqCSp545+U2LsrVzX36Zg==} + /@types/node@18.19.22: + resolution: {integrity: sha512-p3pDIfuMg/aXBmhkyanPshdfJuX5c5+bQjYLIikPLXAUycEogij/c50n/C+8XOA5L93cU4ZRXtn+dNQGi0IZqQ==} dependencies: undici-types: 5.26.5 dev: false @@ -3443,7 +3432,7 @@ packages: /@types/pg@8.6.1: resolution: {integrity: sha512-1Kc4oAGzAl7uqUStZCDvaLFqZrW9qWSjXOmBfdgyBP5La7Us6Mg4GBvRlSoaZMhQF/zSj1C8CtKMBkoiT8eL8w==} dependencies: - '@types/node': 20.10.8 + '@types/node': 18.19.22 pg-protocol: 1.6.0 pg-types: 2.2.0 dev: false @@ -3452,8 +3441,8 @@ packages: resolution: {integrity: sha512-LqAAiGnUqQvBZW0hTGl0pIaL+UeN7KvcxkLyt8+H++WBA1hucdu463mVfGCXmXvJ+uGyW3SyCyW0D6ANNcmB6g==} dev: false - /@types/qs@6.9.11: - resolution: {integrity: sha512-oGk0gmhnEJK4Yyk+oI7EfXsLayXatCWPHary1MtcmbAifkobT9cM9yutG/hZKIseOU0MqbIwQ/u2nn/Gb+ltuQ==} + /@types/qs@6.9.12: + resolution: {integrity: sha512-bZcOkJ6uWrL0Qb2NAWKa7TBU+mJHPzhx9jjLL1KHF+XpzEcR7EXHvjbHlGtR/IsP1vyPrehuS6XqkmaePy//mg==} dev: false /@types/range-parser@1.2.7: @@ -3463,7 +3452,7 @@ packages: /@types/readdir-glob@1.1.5: resolution: {integrity: sha512-raiuEPUYqXu+nvtY2Pe8s8FEmZ3x5yAH4VkLdihcPdalvsHltomrRC9BzuStrJ9yk06470hS0Crw0f1pXqD+Hg==} dependencies: - '@types/node': 20.10.8 + '@types/node': 18.19.22 dev: false /@types/resolve@1.20.2: @@ -3482,7 +3471,7 @@ packages: resolution: {integrity: sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==} dependencies: '@types/mime': 1.3.5 - '@types/node': 20.10.8 + '@types/node': 18.19.22 dev: false /@types/serve-static@1.15.5: @@ -3490,7 +3479,7 @@ packages: dependencies: '@types/http-errors': 2.0.4 '@types/mime': 3.0.4 - '@types/node': 20.10.8 + '@types/node': 18.19.22 dev: false /@types/shimmer@1.0.5: @@ -3510,13 +3499,13 @@ packages: /@types/stoppable@1.1.3: resolution: {integrity: sha512-7wGKIBJGE4ZxFjk9NkjAxZMLlIXroETqP1FJCdoSvKmEznwmBxQFmTB1dsCkAvVcNemuSZM5qkkd9HE/NL2JTw==} dependencies: - '@types/node': 20.10.8 + '@types/node': 18.19.22 dev: false /@types/through@0.0.33: resolution: {integrity: sha512-HsJ+z3QuETzP3cswwtzt2vEIiHBk/dCcHGhbmG5X3ecnwFD/lPrMpliGXxSCg03L9AhrdwA4Oz/qfspkDW+xGQ==} dependencies: - '@types/node': 20.10.8 + '@types/node': 18.19.22 dev: false /@types/trusted-types@2.0.7: @@ -3526,7 +3515,7 @@ packages: /@types/tunnel@0.0.3: resolution: {integrity: sha512-sOUTGn6h1SfQ+gbgqC364jLFBw2lnFqkgF3q0WovEHRLMrVD1sd5aufqi/aJObLekJO+Aq5z646U4Oxy6shXMA==} dependencies: - '@types/node': 20.10.8 + '@types/node': 18.19.22 dev: false /@types/underscore@1.11.15: @@ -3544,13 +3533,13 @@ packages: /@types/ws@7.4.7: resolution: {integrity: sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==} dependencies: - '@types/node': 20.10.8 + '@types/node': 18.19.22 dev: false /@types/ws@8.5.10: resolution: {integrity: sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==} dependencies: - '@types/node': 20.10.8 + '@types/node': 18.19.22 dev: false /@types/wtfnode@0.7.2: @@ -3571,7 +3560,7 @@ packages: resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==} requiresBuild: true dependencies: - '@types/node': 20.10.8 + '@types/node': 18.19.22 dev: false optional: true @@ -3722,7 +3711,7 @@ packages: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} dev: false - /@vitest/browser@1.3.1(playwright@1.41.2)(vitest@1.3.1): + /@vitest/browser@1.3.1(playwright@1.42.1)(vitest@1.3.1): resolution: {integrity: sha512-pRof8G8nqRWwg3ouyIctyhfIVk5jXgF056uF//sqdi37+pVtDz9kBI/RMu0xlc8tgCyJ2aEMfbgJZPUydlEVaQ==} peerDependencies: playwright: '*' @@ -3738,10 +3727,10 @@ packages: optional: true dependencies: '@vitest/utils': 1.3.1 - magic-string: 0.30.7 - playwright: 1.41.2 + magic-string: 0.30.8 + playwright: 1.42.1 sirv: 2.0.4 - vitest: 1.3.1(@types/node@18.19.18)(@vitest/browser@1.3.1) + vitest: 1.3.1(@types/node@18.19.22)(@vitest/browser@1.3.1) dev: false /@vitest/coverage-istanbul@1.3.1(vitest@1.3.1): @@ -3758,7 +3747,7 @@ packages: magicast: 0.3.3 picocolors: 1.0.0 test-exclude: 6.0.0 - vitest: 1.3.1(@types/node@18.19.18)(@vitest/browser@1.3.1) + vitest: 1.3.1(@types/node@18.19.22)(@vitest/browser@1.3.1) transitivePeerDependencies: - supports-color dev: false @@ -3782,7 +3771,7 @@ packages: /@vitest/snapshot@1.3.1: resolution: {integrity: sha512-EF++BZbt6RZmOlE3SuTPu/NfwBF6q4ABS37HHXzs2LUVPBLx2QoY/K0fKpRChSo8eLiuxcbCVfqKgx/dplCDuQ==} dependencies: - magic-string: 0.30.7 + magic-string: 0.30.8 pathe: 1.1.2 pretty-format: 29.7.0 dev: false @@ -3954,29 +3943,30 @@ packages: default-require-extensions: 3.0.1 dev: false - /archiver-utils@5.0.1: - resolution: {integrity: sha512-MMAoLdMvT/nckofX1tCLrf7uJce4jTNkiT6smA2u57AOImc1nce7mR3EDujxL5yv6/MnILuQH4sAsPtDS8kTvg==} + /archiver-utils@5.0.2: + resolution: {integrity: sha512-wuLJMmIBQYCsGZgYLTy5FIB2pF6Lfb6cXMSF8Qywwk3t20zWnAi7zLcQFdKQmIB8wyZpY5ER38x08GbwtR2cLA==} engines: {node: '>= 14'} dependencies: glob: 10.3.10 graceful-fs: 4.2.11 + is-stream: 2.0.1 lazystream: 1.0.1 lodash: 4.17.21 normalize-path: 3.0.0 - readable-stream: 3.6.2 + readable-stream: 4.5.2 dev: false - /archiver@7.0.0: - resolution: {integrity: sha512-R9HM9egs8FfktSqUqyjlKmvF4U+CWNqm/2tlROV+lOFg79MLdT67ae1l3hU47pGy8twSXxHoiefMCh43w0BriQ==} + /archiver@7.0.1: + resolution: {integrity: sha512-ZcbTaIqJOfCc03QwD468Unz/5Ir8ATtvAHsK+FdXbDIbGfihqh9mrvdcYunQzqn4HrvWWaFyaxJhGZagaJJpPQ==} engines: {node: '>= 14'} dependencies: - archiver-utils: 5.0.1 + archiver-utils: 5.0.2 async: 3.2.5 buffer-crc32: 1.0.0 readable-stream: 4.5.2 readdir-glob: 1.1.3 tar-stream: 3.1.7 - zip-stream: 6.0.0 + zip-stream: 6.0.1 dev: false /archy@1.0.0: @@ -4015,7 +4005,7 @@ packages: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.4 + es-abstract: 1.22.5 get-intrinsic: 1.2.4 is-string: 1.0.7 dev: false @@ -4031,7 +4021,7 @@ packages: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.4 + es-abstract: 1.22.5 es-array-method-boxes-properly: 1.0.0 is-string: 1.0.7 dev: false @@ -4042,7 +4032,7 @@ packages: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.4 + es-abstract: 1.22.5 es-errors: 1.3.0 es-shim-unscopables: 1.0.2 dev: false @@ -4053,7 +4043,7 @@ packages: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.4 + es-abstract: 1.22.5 es-shim-unscopables: 1.0.2 dev: false @@ -4063,7 +4053,7 @@ packages: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.4 + es-abstract: 1.22.5 es-shim-unscopables: 1.0.2 dev: false @@ -4074,7 +4064,7 @@ packages: array-buffer-byte-length: 1.0.1 call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.4 + es-abstract: 1.22.5 es-errors: 1.3.0 get-intrinsic: 1.2.4 is-array-buffer: 3.0.4 @@ -4131,17 +4121,17 @@ packages: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} dev: false - /bare-events@2.2.0: - resolution: {integrity: sha512-Yyyqff4PIFfSuthCZqLlPISTWHmnQxoPuAvkmgzsJEmG3CesdIv6Xweayl0JkCZJSB2yYIdJyEz97tpxNhgjbg==} + /bare-events@2.2.1: + resolution: {integrity: sha512-9GYPpsPFvrWBkelIhOhTWtkeZxVxZOdb3VnFTCzlOo3OjvmTvzLoZFUT8kNFACx0vJej6QPney1Cf9BvzCNE/A==} requiresBuild: true dev: false optional: true - /bare-fs@2.2.0: - resolution: {integrity: sha512-+VhW202E9eTVGkX7p+TNXtZC4RTzj9JfJW7PtfIbZ7mIQ/QT9uOafQTx7lx2n9ERmWsXvLHF4hStAFn4gl2mQw==} + /bare-fs@2.2.1: + resolution: {integrity: sha512-+CjmZANQDFZWy4PGbVdmALIwmt33aJg8qTkVjClU6X4WmZkTPBDxRHiBn7fpqEWEfF3AC2io++erpViAIQbSjg==} requiresBuild: true dependencies: - bare-events: 2.2.0 + bare-events: 2.2.1 bare-os: 2.2.0 bare-path: 2.1.0 streamx: 2.16.1 @@ -4171,8 +4161,8 @@ packages: engines: {node: ^4.5.0 || >= 5.9} dev: false - /basic-ftp@5.0.4: - resolution: {integrity: sha512-8PzkB0arJFV4jJWSGOYR+OEic6aeKMu/osRhBULN6RY0ykby6LKhbmuQ5ublvaas5BOwboah5D87nrHyuh8PPA==} + /basic-ftp@5.0.5: + resolution: {integrity: sha512-4Bcg1P8xhUuqcii/S0Z9wiHIrQVPMermM1any+MX5GeGD7faD3/msQUDGLol9wOcz4/jbg/WJnGqoJF6LiBdtg==} engines: {node: '>=10.0.0'} dev: false @@ -4200,24 +4190,6 @@ packages: resolution: {integrity: sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==} dev: false - /body-parser@1.20.1: - resolution: {integrity: sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==} - engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} - dependencies: - bytes: 3.1.2 - content-type: 1.0.5 - debug: 2.6.9 - depd: 2.0.0 - destroy: 1.2.0 - http-errors: 2.0.0 - iconv-lite: 0.4.24 - on-finished: 2.4.1 - qs: 6.11.0 - raw-body: 2.5.1 - type-is: 1.6.18 - unpipe: 1.0.0 - dev: false - /body-parser@1.20.2: resolution: {integrity: sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==} engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} @@ -4265,8 +4237,8 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001589 - electron-to-chromium: 1.4.681 + caniuse-lite: 1.0.30001597 + electron-to-chromium: 1.4.700 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.23.0) dev: false @@ -4369,7 +4341,7 @@ packages: es-errors: 1.3.0 function-bind: 1.1.2 get-intrinsic: 1.2.4 - set-function-length: 1.2.1 + set-function-length: 1.2.2 dev: false /callsites@3.1.0: @@ -4387,8 +4359,8 @@ packages: engines: {node: '>=10'} dev: false - /caniuse-lite@1.0.30001589: - resolution: {integrity: sha512-vNQWS6kI+q6sBlHbh71IIeC+sRwK2N3EDySc/updIGhIee2x5z00J4c1242/5/d6EpEMdOnk/m+6tuk4/tcsqg==} + /caniuse-lite@1.0.30001597: + resolution: {integrity: sha512-7LjJvmQU6Sj7bL0j5b5WY/3n7utXUJvAe1lxhsHDbLmwX9mdL86Yjtr+5SRCyf8qME4M7pU2hswj0FpyBVCv9w==} dev: false /catharsis@0.9.0: @@ -4515,8 +4487,8 @@ packages: resolution: {integrity: sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==} dev: false - /chromium-bidi@0.5.10(devtools-protocol@0.0.1249869): - resolution: {integrity: sha512-4hsPE1VaLLM/sgNK/SlLbI24Ra7ZOuWAjA3rhw1lVCZ8ZiUgccS6cL5L/iqo4hjRcl5vwgYJ8xTtbXdulA9b6Q==} + /chromium-bidi@0.5.12(devtools-protocol@0.0.1249869): + resolution: {integrity: sha512-sZMgEBWKbupD0Q7lyFu8AWkrE+rs5ycE12jFkGwIgD/VS8lDPtelPlXM7LYaq4zrkZ/O2L3f4afHUHL0ICdKog==} peerDependencies: devtools-protocol: '*' dependencies: @@ -4581,8 +4553,8 @@ packages: engines: {node: '>=0.8'} dev: false - /code-block-writer@12.0.0: - resolution: {integrity: sha512-q4dMFMlXtKR3XNBHyMHt/3pwYNA69EDk00lloMOaaUMKPUXBw6lpXtbu3MMVG6/uOihGnRDOlkyqsONEUj60+w==} + /code-block-writer@13.0.1: + resolution: {integrity: sha512-c5or4P6erEA69TxaxTNcHUNcIn+oyxSRTOWV+pSYF+z4epXqNvwvJ70XPGjPNgue83oAFAPBRQYwpAJ/Hpe/Sg==} dev: false /color-convert@1.9.3: @@ -4633,12 +4605,13 @@ packages: resolution: {integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==} dev: false - /compress-commons@6.0.1: - resolution: {integrity: sha512-l7occIJn8YwlCEbWUCrG6gPms9qnJTCZSaznCa5HaV+yJMH4kM8BDc7q9NyoQuoiB2O6jKgTcTeY462qw6MyHw==} + /compress-commons@6.0.2: + resolution: {integrity: sha512-6FqVXeETqWPoGcfzrXb37E50NP0LXT8kAMu5ooZayhWWdgEY4lBEEcbQNXtkuKQsGduxiIcI4gOTsxTmuq/bSg==} engines: {node: '>= 14'} dependencies: crc-32: 1.2.2 crc32-stream: 6.0.0 + is-stream: 2.0.1 normalize-path: 3.0.0 readable-stream: 4.5.2 dev: false @@ -4791,8 +4764,8 @@ packages: which: 2.0.2 dev: false - /csv-parse@5.5.3: - resolution: {integrity: sha512-v0KW6C0qlZzoGjk6u5tLmVfyZxNgPGXZsWTXshpAgKVGmGXzaVWGdlCFxNx5iuzcXT/oJN1HHM9DZKwtAtYa+A==} + /csv-parse@5.5.5: + resolution: {integrity: sha512-erCk7tyU3yLWAhk6wvKxnyPtftuy/6Ak622gOO7BCJ05+TYffnPCJF905wmOQm+BpkX54OdAl8pveJwUdpnCXQ==} dev: false /custom-event@1.0.1: @@ -4808,7 +4781,7 @@ packages: resolution: {integrity: sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==} engines: {node: '>=0.11'} dependencies: - '@babel/runtime': 7.23.9 + '@babel/runtime': 7.24.0 dev: false /date-format@4.0.14: @@ -5082,8 +5055,8 @@ packages: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} dev: false - /electron-to-chromium@1.4.681: - resolution: {integrity: sha512-1PpuqJUFWoXZ1E54m8bsLPVYwIVCRzvaL+n5cjigGga4z854abDnFRc+cTa2th4S79kyGqya/1xoR7h+Y5G5lg==} + /electron-to-chromium@1.4.700: + resolution: {integrity: sha512-40dqKQ3F7C8fbBEmjSeJ+qEHCKzPyrP9SkeIBZ3wSCUH9nhWStrDz030XlDzlhNhlul1Z0fz7TpDFnsIzo4Jtg==} dev: false /emitter-component@1.1.2: @@ -5120,7 +5093,7 @@ packages: dependencies: '@types/cookie': 0.4.1 '@types/cors': 2.8.17 - '@types/node': 20.10.8 + '@types/node': 18.19.22 accepts: 1.3.8 base64id: 2.0.0 cookie: 0.4.2 @@ -5153,8 +5126,8 @@ packages: is-arrayish: 0.2.1 dev: false - /es-abstract@1.22.4: - resolution: {integrity: sha512-vZYJlk2u6qHYxBOTjAeg7qUxHdNfih64Uu2J8QqWgXZ2cri0ZpJAkzDUK/q593+mvKwlxyaxr6F1Q+3LKoQRgg==} + /es-abstract@1.22.5: + resolution: {integrity: sha512-oW69R+4q2wG+Hc3KZePPZxOiisRIqfKBVo/HLx94QcJeWGU/8sZhCvc829rd1kS366vlJbzBfXf9yWwf0+Ko7w==} engines: {node: '>= 0.4'} dependencies: array-buffer-byte-length: 1.0.1 @@ -5173,7 +5146,7 @@ packages: has-property-descriptors: 1.0.2 has-proto: 1.0.3 has-symbols: 1.0.3 - hasown: 2.0.1 + hasown: 2.0.2 internal-slot: 1.0.7 is-array-buffer: 3.0.4 is-callable: 1.2.7 @@ -5187,7 +5160,7 @@ packages: object-keys: 1.1.1 object.assign: 4.1.5 regexp.prototype.flags: 1.5.2 - safe-array-concat: 1.1.0 + safe-array-concat: 1.1.2 safe-regex-test: 1.0.3 string.prototype.trim: 1.2.8 string.prototype.trimend: 1.0.7 @@ -5197,7 +5170,7 @@ packages: typed-array-byte-offset: 1.0.2 typed-array-length: 1.0.5 unbox-primitive: 1.0.2 - which-typed-array: 1.1.14 + which-typed-array: 1.1.15 dev: false /es-array-method-boxes-properly@1.0.0: @@ -5222,13 +5195,13 @@ packages: dependencies: get-intrinsic: 1.2.4 has-tostringtag: 1.0.2 - hasown: 2.0.1 + hasown: 2.0.2 dev: false /es-shim-unscopables@1.0.2: resolution: {integrity: sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==} dependencies: - hasown: 2.0.1 + hasown: 2.0.2 dev: false /es-to-primitive@1.2.1: @@ -5345,8 +5318,8 @@ packages: resolve: 1.22.8 dev: false - /eslint-module-utils@2.8.0(eslint@8.57.0): - resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} + /eslint-module-utils@2.8.1(eslint@8.57.0): + resolution: {integrity: sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==} engines: {node: '>=4'} peerDependencies: eslint: '*' @@ -5383,8 +5356,8 @@ packages: doctrine: 2.1.0 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(eslint@8.57.0) - hasown: 2.0.1 + eslint-module-utils: 2.8.1(eslint@8.57.0) + hasown: 2.0.2 is-core-module: 2.13.1 is-glob: 4.0.3 minimatch: 3.1.2 @@ -5651,13 +5624,13 @@ packages: engines: {node: '>=6'} dev: false - /express@4.18.2: - resolution: {integrity: sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==} + /express@4.18.3: + resolution: {integrity: sha512-6VyCijWQ+9O7WuVMTRBTl+cjNNIzD5cY5mQ1WM8r/LEkI2u8EYpOotESNwzNlyCn3g+dmjKYI6BmNneSr/FSRw==} engines: {node: '>= 0.10.0'} dependencies: accepts: 1.3.8 array-flatten: 1.1.1 - body-parser: 1.20.1 + body-parser: 1.20.2 content-disposition: 0.5.4 content-type: 1.0.5 cookie: 0.5.0 @@ -5997,7 +5970,7 @@ packages: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.4 + es-abstract: 1.22.5 functions-have-names: 1.2.3 dev: false @@ -6027,7 +6000,7 @@ packages: function-bind: 1.1.2 has-proto: 1.0.3 has-symbols: 1.0.3 - hasown: 2.0.1 + hasown: 2.0.2 dev: false /get-package-type@0.1.0: @@ -6069,8 +6042,8 @@ packages: get-intrinsic: 1.2.4 dev: false - /get-tsconfig@4.7.2: - resolution: {integrity: sha512-wuMsz4leaj5hbGgg4IvDU0bqJagpftG5l5cXIAvo8uZrqn0NJqwtfupTN00VnkQJPcIRrxYrm1Ue24btpCha2A==} + /get-tsconfig@4.7.3: + resolution: {integrity: sha512-ZvkrzoUA0PQZM6fy6+/Hce561s+faD1rsNwhnO5FelNjyy7EMGJ3Rz1AQ8GYDWjhRs/7dBLOEJvhK8MiEJOAFg==} dependencies: resolve-pkg-maps: 1.0.0 dev: false @@ -6079,7 +6052,7 @@ packages: resolution: {integrity: sha512-BzUrJBS9EcUb4cFol8r4W3v1cPsSyajLSthNkz5BxbpDcHN5tIrM10E2eNvfnvBn3DaT3DUgx0OpsBKkaOpanw==} engines: {node: '>= 14'} dependencies: - basic-ftp: 5.0.4 + basic-ftp: 5.0.5 data-uri-to-buffer: 6.0.2 debug: 4.3.4(supports-color@8.1.1) fs-extra: 11.2.0 @@ -6247,8 +6220,8 @@ packages: type-fest: 0.8.1 dev: false - /hasown@2.0.1: - resolution: {integrity: sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==} + /hasown@2.0.2: + resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} engines: {node: '>= 0.4'} dependencies: function-bind: 1.1.2 @@ -6457,8 +6430,8 @@ packages: engines: {node: '>= 0.4'} dependencies: es-errors: 1.3.0 - hasown: 2.0.1 - side-channel: 1.0.5 + hasown: 2.0.2 + side-channel: 1.0.6 dev: false /ip-address@9.0.5: @@ -6546,7 +6519,7 @@ packages: /is-core-module@2.13.1: resolution: {integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==} dependencies: - hasown: 2.0.1 + hasown: 2.0.2 dev: false /is-date-object@1.0.5: @@ -6688,7 +6661,7 @@ packages: resolution: {integrity: sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==} engines: {node: '>= 0.4'} dependencies: - which-typed-array: 1.1.14 + which-typed-array: 1.1.15 dev: false /is-typedarray@1.0.0: @@ -6755,7 +6728,7 @@ packages: resolution: {integrity: sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ==} engines: {node: '>=8'} dependencies: - '@babel/core': 7.23.9 + '@babel/core': 7.24.0 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 semver: 6.3.1 @@ -6767,8 +6740,8 @@ packages: resolution: {integrity: sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==} engines: {node: '>=8'} dependencies: - '@babel/core': 7.23.9 - '@babel/parser': 7.23.9 + '@babel/core': 7.24.0 + '@babel/parser': 7.24.0 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 semver: 6.3.1 @@ -6780,8 +6753,8 @@ packages: resolution: {integrity: sha512-1WUsZ9R1lA0HtBSohTkm39WTPlNKSJ5iFk7UwqXkBLoHQT+hfqPsfsTDVuZdKGaBwn7din9bS7SsnoAr943hvw==} engines: {node: '>=10'} dependencies: - '@babel/core': 7.23.9 - '@babel/parser': 7.23.9 + '@babel/core': 7.24.0 + '@babel/parser': 7.24.0 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 semver: 7.6.0 @@ -6884,7 +6857,7 @@ packages: engines: {node: '>=12.0.0'} hasBin: true dependencies: - '@babel/parser': 7.23.9 + '@babel/parser': 7.24.0 '@jsdoc/salty': 0.2.7 '@types/markdown-it': 12.2.3 bluebird: 3.7.2 @@ -7069,11 +7042,11 @@ packages: is-wsl: 2.2.0 dev: false - /karma-firefox-launcher@2.1.2: - resolution: {integrity: sha512-VV9xDQU1QIboTrjtGVD4NCfzIH7n01ZXqy/qpBhnOeGVOkG5JYPEm8kuSd7psHE6WouZaQ9Ool92g8LFweSNMA==} + /karma-firefox-launcher@2.1.3: + resolution: {integrity: sha512-LMM2bseebLbYjODBOVt7TCPP9OI2vZIXCavIXhkO9m+10Uj5l7u/SKoeRmYx8FYHTVGZSpk6peX+3BMHC1WwNw==} dependencies: is-wsl: 2.2.0 - which: 2.0.2 + which: 3.0.1 dev: false /karma-ie-launcher@1.0.0(karma@6.4.3): @@ -7171,7 +7144,7 @@ packages: rimraf: 3.0.2 socket.io: 4.7.4 source-map: 0.6.1 - tmp: 0.2.1 + tmp: 0.2.3 ua-parser-js: 0.7.37 yargs: 16.2.0 transitivePeerDependencies: @@ -7186,7 +7159,7 @@ packages: requiresBuild: true dependencies: node-addon-api: 4.3.0 - prebuild-install: 7.1.1 + prebuild-install: 7.1.2 dev: false /keyv@4.5.4: @@ -7380,8 +7353,8 @@ packages: '@jridgewell/sourcemap-codec': 1.4.15 dev: false - /magic-string@0.30.7: - resolution: {integrity: sha512-8vBuFF/I/+OSLRmdf2wwFCJCz+nSn0m6DPvGH1fS/KiQoSaR+sETbov0eIk9KhEKy8CYqIkIAnbohxT/4H0kuA==} + /magic-string@0.30.8: + resolution: {integrity: sha512-ISQTe55T2ao7XtlAStud6qwYPZjE4GK1S/BeVPus4jrq6JuOnQ00YKQC581RWhR122W7msZV263KzVeLoqidyQ==} engines: {node: '>=12'} dependencies: '@jridgewell/sourcemap-codec': 1.4.15 @@ -7390,8 +7363,8 @@ packages: /magicast@0.3.3: resolution: {integrity: sha512-ZbrP1Qxnpoes8sz47AM0z08U+jW6TyRgZzcWy3Ma3vDhJttwMwAFDMMQFobwdBxByBD46JYmxRzeF7w2+wJEuw==} dependencies: - '@babel/parser': 7.23.9 - '@babel/types': 7.23.9 + '@babel/parser': 7.24.0 + '@babel/types': 7.24.0 source-map-js: 1.0.2 dev: false @@ -7560,6 +7533,12 @@ packages: engines: {node: '>=10'} dev: false + /minimatch@3.0.8: + resolution: {integrity: sha512-6FsRAQsxQ61mw+qP1ZzbL9Bc78x2p5OqNgNpnoAFLTrX8n5Kxph0CsnhmKKNXTWjXqU5L0pGPR7hYk+XWZr60Q==} + dependencies: + brace-expansion: 1.1.11 + dev: false + /minimatch@3.1.2: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} dependencies: @@ -7900,7 +7879,7 @@ packages: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.4 + es-abstract: 1.22.5 dev: false /object.groupby@1.0.2: @@ -7909,7 +7888,7 @@ packages: array.prototype.filter: 1.0.3 call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.4 + es-abstract: 1.22.5 es-errors: 1.3.0 dev: false @@ -7919,7 +7898,7 @@ packages: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.4 + es-abstract: 1.22.5 dev: false /on-finished@2.3.0: @@ -8254,18 +8233,18 @@ packages: pathe: 1.1.2 dev: false - /playwright-core@1.41.2: - resolution: {integrity: sha512-VaTvwCA4Y8kxEe+kfm2+uUUw5Lubf38RxF7FpBxLPmGe5sdNkSg5e3ChEigaGrX7qdqT3pt2m/98LiyvU2x6CA==} + /playwright-core@1.42.1: + resolution: {integrity: sha512-mxz6zclokgrke9p1vtdy/COWBH+eOZgYUVVU34C73M+4j4HLlQJHtfcqiqqxpP0o8HhMkflvfbquLX5dg6wlfA==} engines: {node: '>=16'} hasBin: true dev: false - /playwright@1.41.2: - resolution: {integrity: sha512-v0bOa6H2GJChDL8pAeLa/LZC4feoAMbSQm1/jF/ySsWWoaNItvrMP7GEkvEEFyCTUYKMxjQKaTSg5up7nR6/8A==} + /playwright@1.42.1: + resolution: {integrity: sha512-PgwB03s2DZBcNRoW+1w9E+VkLBxweib6KTXM0M3tkiT4jVxKSi6PmVJ591J+0u10LUrgxB7dLRbiJqO5s2QPMg==} engines: {node: '>=16'} hasBin: true dependencies: - playwright-core: 1.41.2 + playwright-core: 1.42.1 optionalDependencies: fsevents: 2.3.2 dev: false @@ -8311,8 +8290,8 @@ packages: xtend: 4.0.2 dev: false - /prebuild-install@7.1.1: - resolution: {integrity: sha512-jAXscXWMcCK8GgCoHOfIr0ODh5ai8mj63L2nWrjuAgXE6tDyYGnx4/8o/rCgU+B4JSyZBKbeZqzhtwtC3ovxjw==} + /prebuild-install@7.1.2: + resolution: {integrity: sha512-UnNke3IQb6sgarcZIDU3gbMeTp/9SSU1DAIkil7PrqG1vZlBtY5msYccSKSHDqa3hNg436IXK+SNImReuA1wEQ==} engines: {node: '>=10'} hasBin: true dependencies: @@ -8413,7 +8392,7 @@ packages: minimist: 1.2.8 protobufjs: 7.2.6 semver: 7.6.0 - tmp: 0.2.1 + tmp: 0.2.3 uglify-js: 3.17.4 dev: false @@ -8432,7 +8411,7 @@ packages: '@protobufjs/path': 1.1.2 '@protobufjs/pool': 1.1.0 '@protobufjs/utf8': 1.1.0 - '@types/node': 20.10.8 + '@types/node': 18.19.22 long: 5.2.3 dev: false @@ -8480,12 +8459,12 @@ packages: engines: {node: '>=6'} dev: false - /puppeteer-core@22.3.0: - resolution: {integrity: sha512-Ho5Vdpdro05ZyCx/l5Hkc5vHiibKTaY37fIAD9NF9Gi/vDxkVTeX40U/mFnEmeoxyuYALvWCJfi7JTT82R6Tuw==} + /puppeteer-core@22.4.1: + resolution: {integrity: sha512-l9nf8NcirYOHdID12CIMWyy7dqcJCVtgVS+YAiJuUJHg8+9yjgPiG2PcNhojIEEpCkvw3FxvnyITVfKVmkWpjA==} engines: {node: '>=18'} dependencies: '@puppeteer/browsers': 2.1.0 - chromium-bidi: 0.5.10(devtools-protocol@0.0.1249869) + chromium-bidi: 0.5.12(devtools-protocol@0.0.1249869) cross-fetch: 4.0.0 debug: 4.3.4(supports-color@8.1.1) devtools-protocol: 0.0.1249869 @@ -8497,15 +8476,15 @@ packages: - utf-8-validate dev: false - /puppeteer@22.3.0(typescript@5.3.3): - resolution: {integrity: sha512-GC+tyjzYKjaNjhlDAuqRgDM+IOsqOG75Da4L28G4eULNLLxKDt+79x2OOSQ47HheJBgGq7ATSExNE6gayxP6cg==} + /puppeteer@22.4.1(typescript@5.3.3): + resolution: {integrity: sha512-Mag1wRLanzwS4yEUyrDRBUgsKlH3dpL6oAfVwNHG09oxd0+ySsatMvYj7HwjynWy/S+Hg+XHLgjyC/F6CsL/lg==} engines: {node: '>=18'} hasBin: true requiresBuild: true dependencies: '@puppeteer/browsers': 2.1.0 cosmiconfig: 9.0.0(typescript@5.3.3) - puppeteer-core: 22.3.0 + puppeteer-core: 22.4.1 transitivePeerDependencies: - bufferutil - encoding @@ -8523,7 +8502,7 @@ packages: resolution: {integrity: sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==} engines: {node: '>=0.6'} dependencies: - side-channel: 1.0.5 + side-channel: 1.0.6 dev: false /querystringify@2.2.0: @@ -8536,7 +8515,6 @@ packages: /queue-tick@1.0.1: resolution: {integrity: sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag==} - requiresBuild: true dev: false /randombytes@2.1.0: @@ -8550,16 +8528,6 @@ packages: engines: {node: '>= 0.6'} dev: false - /raw-body@2.5.1: - resolution: {integrity: sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==} - engines: {node: '>= 0.8'} - dependencies: - bytes: 3.1.2 - http-errors: 2.0.0 - iconv-lite: 0.4.24 - unpipe: 1.0.0 - dev: false - /raw-body@2.5.2: resolution: {integrity: sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==} engines: {node: '>= 0.8'} @@ -8793,16 +8761,16 @@ packages: glob: 10.3.10 dev: false - /rollup-plugin-polyfill-node@0.13.0(rollup@4.12.0): + /rollup-plugin-polyfill-node@0.13.0(rollup@4.12.1): resolution: {integrity: sha512-FYEvpCaD5jGtyBuBFcQImEGmTxDTPbiHjJdrYIp+mFIwgXiXabxvKUK7ZT9P31ozu2Tqm9llYQMRWsfvTMTAOw==} peerDependencies: rollup: ^1.20.0 || ^2.0.0 || ^3.0.0 || ^4.0.0 dependencies: - '@rollup/plugin-inject': 5.0.5(rollup@4.12.0) - rollup: 4.12.0 + '@rollup/plugin-inject': 5.0.5(rollup@4.12.1) + rollup: 4.12.1 dev: false - /rollup-plugin-visualizer@5.12.0(rollup@4.12.0): + /rollup-plugin-visualizer@5.12.0(rollup@4.12.1): resolution: {integrity: sha512-8/NU9jXcHRs7Nnj07PF2o4gjxmm9lXIrZ8r175bT9dK8qoLlvKTwRMArRCMgpMGlq8CTLugRvEmyMeMXIU2pNQ==} engines: {node: '>=14'} hasBin: true @@ -8814,31 +8782,31 @@ packages: dependencies: open: 8.4.2 picomatch: 2.3.1 - rollup: 4.12.0 + rollup: 4.12.1 source-map: 0.7.4 yargs: 17.7.2 dev: false - /rollup@4.12.0: - resolution: {integrity: sha512-wz66wn4t1OHIJw3+XU7mJJQV/2NAfw5OAk6G6Hoo3zcvz/XOfQ52Vgi+AN4Uxoxi0KBBwk2g8zPrTDA4btSB/Q==} + /rollup@4.12.1: + resolution: {integrity: sha512-ggqQKvx/PsB0FaWXhIvVkSWh7a/PCLQAsMjBc+nA2M8Rv2/HG0X6zvixAB7KyZBRtifBUhy5k8voQX/mRnABPg==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true dependencies: '@types/estree': 1.0.5 optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.12.0 - '@rollup/rollup-android-arm64': 4.12.0 - '@rollup/rollup-darwin-arm64': 4.12.0 - '@rollup/rollup-darwin-x64': 4.12.0 - '@rollup/rollup-linux-arm-gnueabihf': 4.12.0 - '@rollup/rollup-linux-arm64-gnu': 4.12.0 - '@rollup/rollup-linux-arm64-musl': 4.12.0 - '@rollup/rollup-linux-riscv64-gnu': 4.12.0 - '@rollup/rollup-linux-x64-gnu': 4.12.0 - '@rollup/rollup-linux-x64-musl': 4.12.0 - '@rollup/rollup-win32-arm64-msvc': 4.12.0 - '@rollup/rollup-win32-ia32-msvc': 4.12.0 - '@rollup/rollup-win32-x64-msvc': 4.12.0 + '@rollup/rollup-android-arm-eabi': 4.12.1 + '@rollup/rollup-android-arm64': 4.12.1 + '@rollup/rollup-darwin-arm64': 4.12.1 + '@rollup/rollup-darwin-x64': 4.12.1 + '@rollup/rollup-linux-arm-gnueabihf': 4.12.1 + '@rollup/rollup-linux-arm64-gnu': 4.12.1 + '@rollup/rollup-linux-arm64-musl': 4.12.1 + '@rollup/rollup-linux-riscv64-gnu': 4.12.1 + '@rollup/rollup-linux-x64-gnu': 4.12.1 + '@rollup/rollup-linux-x64-musl': 4.12.1 + '@rollup/rollup-win32-arm64-msvc': 4.12.1 + '@rollup/rollup-win32-ia32-msvc': 4.12.1 + '@rollup/rollup-win32-x64-msvc': 4.12.1 fsevents: 2.3.3 dev: false @@ -8859,8 +8827,8 @@ packages: tslib: 2.6.2 dev: false - /safe-array-concat@1.1.0: - resolution: {integrity: sha512-ZdQ0Jeb9Ofti4hbt5lX3T2JcAamT9hfzYU1MNB+z/jaEbB6wfFfPIR/zEORmZqobkCCJhSjodobH6WHNmJ97dg==} + /safe-array-concat@1.1.2: + resolution: {integrity: sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==} engines: {node: '>=0.4'} dependencies: call-bind: 1.0.7 @@ -8966,8 +8934,8 @@ packages: resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} dev: false - /set-function-length@1.2.1: - resolution: {integrity: sha512-j4t6ccc+VsKwYHso+kElc5neZpjtq9EnRICFZtWyBsLojhmeF/ZBd/elqm22WJh/BziDe/SBiOeAt0m2mfLD0g==} + /set-function-length@1.2.2: + resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==} engines: {node: '>= 0.4'} dependencies: define-data-property: 1.1.4 @@ -9012,8 +8980,8 @@ packages: resolution: {integrity: sha512-sQTKC1Re/rM6XyFM6fIAGHRPVGvyXfgzIDvzoq608vM+jeyVD0Tu1E6Np0Kc2zAIFWIj963V2800iF/9LPieQw==} dev: false - /side-channel@1.0.5: - resolution: {integrity: sha512-QcgiIWV4WV7qWExbN5llt6frQB/lBven9pqliLXfGPB+K9ZYXxDozp0wLkHS24kWCm+6YXH/f0HhnObZnZOBnQ==} + /side-channel@1.0.6: + resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.7 @@ -9062,7 +9030,7 @@ packages: resolution: {integrity: sha512-94Bdh3cC2PKrbgSOUqTiGPWVZeSiXfKOVZNJniWoqrWrRkB1CJzBU3NEbiTsPcYy1lDsANA/THzS+9WBiy5nfQ==} engines: {node: '>= 10'} dependencies: - '@polka/url': 1.0.0-next.24 + '@polka/url': 1.0.0-next.25 mrmime: 2.0.0 totalist: 3.0.1 dev: false @@ -9226,7 +9194,7 @@ packages: fast-fifo: 1.3.2 queue-tick: 1.0.1 optionalDependencies: - bare-events: 2.2.0 + bare-events: 2.2.1 dev: false /string-argv@0.3.2: @@ -9258,7 +9226,7 @@ packages: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.4 + es-abstract: 1.22.5 dev: false /string.prototype.trimend@1.0.7: @@ -9266,7 +9234,7 @@ packages: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.4 + es-abstract: 1.22.5 dev: false /string.prototype.trimstart@1.0.7: @@ -9274,7 +9242,7 @@ packages: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.4 + es-abstract: 1.22.5 dev: false /string_decoder@0.10.31: @@ -9417,7 +9385,7 @@ packages: pump: 3.0.0 tar-stream: 3.1.7 optionalDependencies: - bare-fs: 2.2.0 + bare-fs: 2.2.1 bare-path: 2.1.0 dev: false @@ -9498,11 +9466,9 @@ packages: os-tmpdir: 1.0.2 dev: false - /tmp@0.2.1: - resolution: {integrity: sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==} - engines: {node: '>=8.17.0'} - dependencies: - rimraf: 3.0.2 + /tmp@0.2.3: + resolution: {integrity: sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w==} + engines: {node: '>=14.14'} dev: false /to-buffer@1.1.1: @@ -9550,14 +9516,14 @@ packages: hasBin: true dev: false - /ts-morph@21.0.1: - resolution: {integrity: sha512-dbDtVdEAncKctzrVZ+Nr7kHpHkv+0JDJb2MjjpBaj8bFeCkePU9rHfMklmhuLFnpeq/EJZk2IhStY6NzqgjOkg==} + /ts-morph@22.0.0: + resolution: {integrity: sha512-M9MqFGZREyeb5fTl6gNHKZLqBQA0TjA1lea+CR48R8EBTDuWrNqW6ccC5QvjNR4s6wDumD3LTCjOFSp9iwlzaw==} dependencies: - '@ts-morph/common': 0.22.0 - code-block-writer: 12.0.0 + '@ts-morph/common': 0.23.0 + code-block-writer: 13.0.1 dev: false - /ts-node@10.9.2(@types/node@16.18.83)(typescript@5.3.3): + /ts-node@10.9.2(@types/node@16.18.87)(typescript@5.3.3): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true peerDependencies: @@ -9576,7 +9542,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 16.18.83 + '@types/node': 16.18.87 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 @@ -9588,7 +9554,7 @@ packages: yn: 3.1.1 dev: false - /ts-node@10.9.2(@types/node@18.19.18)(typescript@5.2.2): + /ts-node@10.9.2(@types/node@18.19.22)(typescript@5.2.2): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true peerDependencies: @@ -9607,7 +9573,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 18.19.18 + '@types/node': 18.19.22 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 @@ -9619,7 +9585,7 @@ packages: yn: 3.1.1 dev: false - /ts-node@10.9.2(@types/node@18.19.18)(typescript@5.3.3): + /ts-node@10.9.2(@types/node@18.19.22)(typescript@5.3.3): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true peerDependencies: @@ -9638,7 +9604,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 18.19.18 + '@types/node': 18.19.22 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 @@ -9690,8 +9656,8 @@ packages: strip-bom: 3.0.0 dev: false - /tshy@1.11.1: - resolution: {integrity: sha512-AzATR8weBaUW46Nh4B1k5cfxVuADKJTXe95xHh7BzcI1RjQQy6HeUXQDY+erGEGTLpiv6N6xMFmtEsMMc7x40Q==} + /tshy@1.12.0: + resolution: {integrity: sha512-WooNSTc+uyjLseTdzUFa4Lx3KYMcwxdrJMsWacl39BlfKZKhr30gLjAJkTQWHFkmAO+dj0L4P2jxiIrOo81V3w==} engines: {node: 16 >=16.17 || 18 >=18.15.0 || >=20.6.1} hasBin: true dependencies: @@ -9731,7 +9697,7 @@ packages: hasBin: true dependencies: esbuild: 0.19.12 - get-tsconfig: 4.7.2 + get-tsconfig: 4.7.3 optionalDependencies: fsevents: 2.3.3 dev: false @@ -9905,11 +9871,9 @@ packages: resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} dev: false - /undici@6.6.2: - resolution: {integrity: sha512-vSqvUE5skSxQJ5sztTZ/CdeJb1Wq0Hf44hlYMciqHghvz+K88U0l7D6u1VsndoFgskDcnU+nG3gYmMzJVzd9Qg==} + /undici@6.7.1: + resolution: {integrity: sha512-+Wtb9bAQw6HYWzCnxrPTMVEV3Q1QjYanI0E4q02ehReMuquQdLTEFEYbfs7hcImVYKcQkWSwT6buEmSVIiDDtQ==} engines: {node: '>=18.0'} - dependencies: - '@fastify/busboy': 2.1.0 dev: false /unist-util-stringify-position@2.0.3: @@ -9986,7 +9950,7 @@ packages: is-arguments: 1.1.1 is-generator-function: 1.0.10 is-typed-array: 1.1.13 - which-typed-array: 1.1.14 + which-typed-array: 1.1.15 dev: false /utils-merge@1.0.1: @@ -10012,7 +9976,7 @@ packages: resolution: {integrity: sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==} engines: {node: '>=10.12.0'} dependencies: - '@jridgewell/trace-mapping': 0.3.23 + '@jridgewell/trace-mapping': 0.3.25 '@types/istanbul-lib-coverage': 2.0.6 convert-source-map: 2.0.0 dev: false @@ -10027,7 +9991,7 @@ packages: engines: {node: '>= 0.8'} dev: false - /vite-node@1.3.1(@types/node@18.19.18): + /vite-node@1.3.1(@types/node@18.19.22): resolution: {integrity: sha512-azbRrqRxlWTJEVbzInZCTchx0X69M/XPTCz4H+TLvlTcR/xH/3hkRqhOakT41fMJCMzXTu4UvegkZiEoJAWvng==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -10036,7 +10000,7 @@ packages: debug: 4.3.4(supports-color@8.1.1) pathe: 1.1.2 picocolors: 1.0.0 - vite: 5.1.4(@types/node@18.19.18) + vite: 5.1.6(@types/node@18.19.22) transitivePeerDependencies: - '@types/node' - less @@ -10048,8 +10012,8 @@ packages: - terser dev: false - /vite@5.1.4(@types/node@18.19.18): - resolution: {integrity: sha512-n+MPqzq+d9nMVTKyewqw6kSt+R3CkvF9QAKY8obiQn8g1fwTscKxyfaYnC632HtBXAQGc1Yjomphwn1dtwGAHg==} + /vite@5.1.6(@types/node@18.19.22): + resolution: {integrity: sha512-yYIAZs9nVfRJ/AiOLCA91zzhjsHUgMjB+EigzFb6W2XTLO8JixBCKCjvhKZaye+NKYHCrkv3Oh50dH9EdLU2RA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -10076,15 +10040,15 @@ packages: terser: optional: true dependencies: - '@types/node': 18.19.18 + '@types/node': 18.19.22 esbuild: 0.19.12 postcss: 8.4.35 - rollup: 4.12.0 + rollup: 4.12.1 optionalDependencies: fsevents: 2.3.3 dev: false - /vitest@1.3.1(@types/node@18.19.18)(@vitest/browser@1.3.1): + /vitest@1.3.1(@types/node@18.19.22)(@vitest/browser@1.3.1): resolution: {integrity: sha512-/1QJqXs8YbCrfv/GPQ05wAZf2eakUPLPa18vkJAKE7RXOKfVHqMZZ1WlTjiwl6Gcn65M5vpNUB6EFLnEdRdEXQ==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -10109,8 +10073,8 @@ packages: jsdom: optional: true dependencies: - '@types/node': 18.19.18 - '@vitest/browser': 1.3.1(playwright@1.41.2)(vitest@1.3.1) + '@types/node': 18.19.22 + '@vitest/browser': 1.3.1(playwright@1.42.1)(vitest@1.3.1) '@vitest/expect': 1.3.1 '@vitest/runner': 1.3.1 '@vitest/snapshot': 1.3.1 @@ -10121,15 +10085,15 @@ packages: debug: 4.3.4(supports-color@8.1.1) execa: 8.0.1 local-pkg: 0.5.0 - magic-string: 0.30.7 + magic-string: 0.30.8 pathe: 1.1.2 picocolors: 1.0.0 std-env: 3.7.0 strip-literal: 2.0.0 tinybench: 2.6.0 tinypool: 0.8.2 - vite: 5.1.4(@types/node@18.19.18) - vite-node: 1.3.1(@types/node@18.19.18) + vite: 5.1.6(@types/node@18.19.22) + vite-node: 1.3.1(@types/node@18.19.22) why-is-node-running: 2.2.2 transitivePeerDependencies: - less @@ -10181,8 +10145,8 @@ packages: resolution: {integrity: sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==} dev: false - /which-typed-array@1.1.14: - resolution: {integrity: sha512-VnXFiIW8yNn9kIHN88xvZ4yOWchftKDsRJ8fEPacX/wl1lOvBrhsJ/OeJCXq7B0AaijRuqgzSKalJoPk+D8MPg==} + /which-typed-array@1.1.15: + resolution: {integrity: sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==} engines: {node: '>= 0.4'} dependencies: available-typed-arrays: 1.0.7 @@ -10207,6 +10171,14 @@ packages: isexe: 2.0.0 dev: false + /which@3.0.1: + resolution: {integrity: sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + hasBin: true + dependencies: + isexe: 2.0.0 + dev: false + /why-is-node-running@2.2.2: resolution: {integrity: sha512-6tSwToZxTOcotxHeA+qGCq1mVzKR3CwcJGmVcY+QE8SHy6TnpFnh8PAvPNHYr7EcuVeG0QSMxtYCuO1ta/G/oA==} engines: {node: '>=8'} @@ -10353,8 +10325,8 @@ packages: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} dev: false - /yaml@2.4.0: - resolution: {integrity: sha512-j9iR8g+/t0lArF4V6NE/QCfT+CO7iLqrXAHZbJdo+LfjqP1vR8Fg5bSiaq6Q2lOD1AUEVrEVIgABvBFYojJVYQ==} + /yaml@2.4.1: + resolution: {integrity: sha512-pIXzoImaqmfOrL7teGUBt/T7ZDnyeGBWyXQBvOVhLkWLN37GXv8NMLK406UY6dS51JfcQHsmcW5cJ441bHg6Lg==} engines: {node: '>= 14'} hasBin: true dev: false @@ -10469,32 +10441,32 @@ packages: commander: 9.5.0 dev: false - /zip-stream@6.0.0: - resolution: {integrity: sha512-X0WFquRRDtL9HR9hc1OrabOP/VKJEX7gAr2geayt3b7dLgXgSXI6ucC4CphLQP/aQt2GyHIYgmXxtC+dVdghAQ==} + /zip-stream@6.0.1: + resolution: {integrity: sha512-zK7YHHz4ZXpW89AHXUPbQVGKI7uvkd3hzusTdotCg1UxyaVtg0zFJSTfW/Dq5f7OBBVnq6cZIaC8Ti4hb6dtCA==} engines: {node: '>= 14'} dependencies: - archiver-utils: 5.0.1 - compress-commons: 6.0.1 + archiver-utils: 5.0.2 + compress-commons: 6.0.2 readable-stream: 4.5.2 dev: false file:projects/abort-controller.tgz: - resolution: {integrity: sha512-6KmwcmAc6Zw8aAD3MJMfxMFu/eU1by4j5WCbNbMnTh+SAEBmhRppxYLE57CHk/4zJEAr+ssjbLGmiSDO9XWAqg==, tarball: file:projects/abort-controller.tgz} + resolution: {integrity: sha512-iNr+bUFLjcImxSkKGfTvrMXdvN+Xr2uo0pe1VAQ5yxDLRwekMIoD0LJTgxqbMH9X+0ZTQdvANRTXKGf0Vg5gMQ==, tarball: file:projects/abort-controller.tgz} name: '@rush-temp/abort-controller' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) - '@types/node': 18.19.18 - '@vitest/browser': 1.3.1(playwright@1.41.2)(vitest@1.3.1) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) + '@types/node': 18.19.22 + '@vitest/browser': 1.3.1(playwright@1.42.1)(vitest@1.3.1) '@vitest/coverage-istanbul': 1.3.1(vitest@1.3.1) eslint: 8.57.0 - playwright: 1.41.2 + playwright: 1.42.1 prettier: 3.2.5 rimraf: 5.0.5 - tshy: 1.11.1 + tshy: 1.12.0 tslib: 2.6.2 typescript: 5.3.3 - vitest: 1.3.1(@types/node@18.19.18)(@vitest/browser@1.3.1) + vitest: 1.3.1(@types/node@18.19.22)(@vitest/browser@1.3.1) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -10512,15 +10484,15 @@ packages: dev: false file:projects/agrifood-farming.tgz: - resolution: {integrity: sha512-1gJtIqsdb3A7n3iKVYX+cO9GlxwAx98jKfiFw+9rOmBZzyH3+AVNwCR5y/qego33s7BOEtVBYTBfE+RE2g+u7A==, tarball: file:projects/agrifood-farming.tgz} + resolution: {integrity: sha512-wAQvtrrdmX+2Bva2/aeO1N4UYS/nOcPQrPdBDFE6ZWAOzeOF7/EozfYF/754AYKYjmWhJ1eVKk6fwkDsPZvqEQ==, tarball: file:projects/agrifood-farming.tgz} name: '@rush-temp/agrifood-farming' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 c8: 8.0.1 chai: 4.3.10 cross-env: 7.0.3 @@ -10543,7 +10515,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -10556,20 +10528,20 @@ packages: dev: false file:projects/ai-anomaly-detector.tgz: - resolution: {integrity: sha512-4RFMxeQv1SvqJCIIXuHWetqcaZypgMXBD4y5KRpyYJTn5IqgypkpxQDlU5Fzau51QjuGovlngIFGYhUK6ChHZw==, tarball: file:projects/ai-anomaly-detector.tgz} + resolution: {integrity: sha512-1D5XNSIsMuHod/Ga1MvLOMSZ7SnsmJ1C1QQps7z/Lu3Bn2HeE/PaprRY6oLdG0lpFv2QImE5IXWffLrL6VG08g==, tarball: file:projects/ai-anomaly-detector.tgz} name: '@rush-temp/ai-anomaly-detector' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 autorest: 3.7.1 c8: 8.0.1 chai: 4.3.10 cross-env: 7.0.3 - csv-parse: 5.5.3 + csv-parse: 5.5.5 dotenv: 16.4.5 eslint: 8.57.0 esm: 3.2.25 @@ -10587,7 +10559,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -10600,15 +10572,15 @@ packages: dev: false file:projects/ai-content-safety.tgz: - resolution: {integrity: sha512-6lwZLHLgH7pSNwF2YBkR18lySMvokaRLXby1EOj1ARxHwO1txv3VJzB4MkbITljyQAwwf0LBy7FZWGq++7wHKQ==, tarball: file:projects/ai-content-safety.tgz} + resolution: {integrity: sha512-pKa4o99jHH5JO9Y0rzBJC9xekW78nEjxZ549EGZAum2Ro6+cUR3x3l/EGL5Re5dHyhfljfxpX2MYvNFIBAMvkw==, tarball: file:projects/ai-content-safety.tgz} name: '@rush-temp/ai-content-safety' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 autorest: 3.7.1 c8: 8.0.1 chai: 4.3.10 @@ -10620,7 +10592,7 @@ packages: karma-chrome-launcher: 3.2.0 karma-coverage: 2.2.1 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 2.1.2 + karma-firefox-launcher: 2.1.3 karma-junit-reporter: 2.0.1(karma@6.4.3) karma-mocha: 2.0.1 karma-mocha-reporter: 2.2.5(karma@6.4.3) @@ -10630,7 +10602,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -10643,16 +10615,16 @@ packages: dev: false file:projects/ai-document-intelligence.tgz: - resolution: {integrity: sha512-BzeiADIeoIIlJ8LRyX4rq6JouqAj7vz9S+/YE9KQXRP9URaP0ke8pY0Wzi4mOEW7dIrecN0ePd0TJqxrImmrdQ==, tarball: file:projects/ai-document-intelligence.tgz} + resolution: {integrity: sha512-K1pn4bMflvrhHSOp2OIfBXRZaHGszteFE7TxUJQW1yv6OsRM02nnclIcKavqg9fboSWrDg5cWjyPBgzC2hKrvA==, tarball: file:projects/ai-document-intelligence.tgz} name: '@rush-temp/ai-document-intelligence' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 autorest: 3.7.1 c8: 8.0.1 chai: 4.3.10 @@ -10664,7 +10636,7 @@ packages: karma-chrome-launcher: 3.2.0 karma-coverage: 2.2.1 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 2.1.2 + karma-firefox-launcher: 2.1.3 karma-junit-reporter: 2.0.1(karma@6.4.3) karma-mocha: 2.0.1 karma-mocha-reporter: 2.2.5(karma@6.4.3) @@ -10674,7 +10646,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -10687,15 +10659,15 @@ packages: dev: false file:projects/ai-document-translator.tgz: - resolution: {integrity: sha512-nJmJTeS99cjSGz7F593eBVWe9e8z5MlBcL/RPYc1X7GqLarVvQDy8CRvNotVwlKqZXIDFU5SZQfm79ariToNEA==, tarball: file:projects/ai-document-translator.tgz} + resolution: {integrity: sha512-dWR4dFSVukPRd0wgny/m2a0LUBL1vlLQHpVTzjunyoM71gap1ZUGhPiSZ+6HVEu9KgEEp65QtUYp4Oic2fsXdA==, tarball: file:projects/ai-document-translator.tgz} name: '@rush-temp/ai-document-translator' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 c8: 8.0.1 chai: 4.3.10 cross-env: 7.0.3 @@ -10717,7 +10689,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -10730,17 +10702,17 @@ packages: dev: false file:projects/ai-form-recognizer.tgz: - resolution: {integrity: sha512-diW8HFTJtQYPHtBCCTcY5ijE8lH5+MrWF36K19IFl6McafkYs8mh5/oXLXV/PBTnXtUk00gDT58b2X6iC4mrXA==, tarball: file:projects/ai-form-recognizer.tgz} + resolution: {integrity: sha512-obvG9Pyeh3oCfjyjfZIdiWnUUh3QHYdQ+oWUO9bE4ZT+Nqa3Ix7v4UJnm70eedgqTtK1/QNQDQXTqc2ANnXUJg==, tarball: file:projects/ai-form-recognizer.tgz} name: '@rush-temp/ai-form-recognizer' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) - '@rollup/plugin-node-resolve': 15.2.3(rollup@4.12.0) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) + '@rollup/plugin-node-resolve': 15.2.3(rollup@4.12.1) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 chai: 4.3.10 @@ -10762,9 +10734,9 @@ packages: mocha: 10.3.0 prettier: 3.2.5 rimraf: 5.0.5 - rollup: 4.12.0 + rollup: 4.12.1 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -10777,17 +10749,17 @@ packages: dev: false file:projects/ai-language-conversations.tgz: - resolution: {integrity: sha512-zgE5BUWLB90nEH+Nd+UHPHz7t08SHyUzrjQ/EgBiUuoHTBkP2q7cHziIl7AlO9LjBIU1zMe+zQyYPihhvP0SNw==, tarball: file:projects/ai-language-conversations.tgz} + resolution: {integrity: sha512-SmlaqC8pKs7sb67AsLVRmaIn0+f3npLN63yN7BHhFdpf+Rth+DLDhZ1dzhLjqXUZQdPkFqriSrWJkV0ROs5iMQ==, tarball: file:projects/ai-language-conversations.tgz} name: '@rush-temp/ai-language-conversations' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/chai-as-promised': 7.1.8 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 chai: 4.3.10 @@ -10811,7 +10783,7 @@ packages: rimraf: 5.0.5 sinon: 17.0.1 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -10825,17 +10797,17 @@ packages: dev: false file:projects/ai-language-text.tgz: - resolution: {integrity: sha512-qnXx4I2V8KgR+lYOuTi6Ku4zWlgMz8WmYssVtNG3LDQtrcDmi8eqHQhCYuz51S2LebSDT0e4HOX0QVsNibqHEw==, tarball: file:projects/ai-language-text.tgz} + resolution: {integrity: sha512-Xxb9oGASDhz+Qjv4Lmb1oyjsToKVg0s+vXlaizxhh/t6q1lZaADyNAa/vOdKz8ycOcGbuBNY4mE1G4nudGrLQg==, tarball: file:projects/ai-language-text.tgz} name: '@rush-temp/ai-language-text' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/chai-as-promised': 7.1.8 '@types/decompress': 4.2.7 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 chai: 4.3.10 @@ -10859,7 +10831,7 @@ packages: rimraf: 5.0.5 sinon: 17.0.1 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -10872,13 +10844,13 @@ packages: dev: false file:projects/ai-language-textauthoring.tgz: - resolution: {integrity: sha512-L55Jdp4pix57yOZRUz3E61njkW4SsdSaxP7pTkl37rWvz0uWdz7hngTuxyiVNkq0ILjlMsI9nEdce5cZOkl64Q==, tarball: file:projects/ai-language-textauthoring.tgz} + resolution: {integrity: sha512-+t8Q7pUW63hRFCgAA14Kg2ypyBKvBH9fI/Zta/k1fegdI78goRNjsExAMBGrk/fV18C6qHIzON8C6GGhJTjPfA==, tarball: file:projects/ai-language-textauthoring.tgz} name: '@rush-temp/ai-language-textauthoring' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 autorest: 3.7.1 c8: 8.0.1 dotenv: 16.4.5 @@ -10887,7 +10859,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -10897,15 +10869,15 @@ packages: dev: false file:projects/ai-metrics-advisor.tgz: - resolution: {integrity: sha512-ywS2xkL3j+OT/TGdNqEnlS3sn6dCjDmjdc7Tq0S6WG5UWtP7jJxV+xViqzVI/ND4MB7YpZDSdaw4J49XttTxDA==, tarball: file:projects/ai-metrics-advisor.tgz} + resolution: {integrity: sha512-LHiJRXI1Y8vFpannHomfmMKM10Amp/vSzyZoIF+NwHc2ZJdsmsqWdctyXNmOYTFVNIogKt0CryjLZpiGp534YQ==, tarball: file:projects/ai-metrics-advisor.tgz} name: '@rush-temp/ai-metrics-advisor' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 chai: 4.3.10 @@ -10927,7 +10899,7 @@ packages: rimraf: 5.0.5 sinon: 17.0.1 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -10940,15 +10912,15 @@ packages: dev: false file:projects/ai-personalizer.tgz: - resolution: {integrity: sha512-1YSdKuRqIO9U6bdAngcYXnJAqg1sFvk+fNl0D/2cOL56RV0lNrbTaxnJEo4yvM7/aQ4/JojgOP4i48BnP1fQWg==, tarball: file:projects/ai-personalizer.tgz} + resolution: {integrity: sha512-8pWBjymcvSVHxWk4tougH/CzuZYnHVWNeFDGkMpMX3u34GMs4EqoTCTZZxz8cGt66RmJND3A08pOmtVwkaK+yA==, tarball: file:projects/ai-personalizer.tgz} name: '@rush-temp/ai-personalizer' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 autorest: 3.7.1 c8: 8.0.1 chai: 4.3.10 @@ -10970,7 +10942,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -10983,17 +10955,17 @@ packages: dev: false file:projects/ai-text-analytics.tgz: - resolution: {integrity: sha512-xIVLnFsYlJw7fjbKeTAjnneKWoeSgvcEK7QPZG6LLZfQpoErjPDJh/1VinYhM+kfuuDFkddCtZ9IGK2uZ1o9Dw==, tarball: file:projects/ai-text-analytics.tgz} + resolution: {integrity: sha512-z21IyncrTycb7fJSyH486fdoc3bfSICN5efEkp+/N1Ed26rKd2HSw9HUgEbqJXUyMAkFlD+XzbhIc2LGs/a6rw==, tarball: file:projects/ai-text-analytics.tgz} name: '@rush-temp/ai-text-analytics' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/chai-as-promised': 7.1.8 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 chai: 4.3.10 @@ -11016,7 +10988,7 @@ packages: rimraf: 5.0.5 sinon: 17.0.1 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -11029,15 +11001,15 @@ packages: dev: false file:projects/ai-translation-text.tgz: - resolution: {integrity: sha512-ETbxAv2PSXMdT9s2t6fy84Th7wl4mon7K0lOInT5nWAMd9MeqdjPxQ1ivqW9jDA1vovsKQ8qUaPIuBYn5QrnhQ==, tarball: file:projects/ai-translation-text.tgz} + resolution: {integrity: sha512-PwMYx4S6HQOcwVprsWOXUQcIy13EeJm7xcDNfd4VShU6STuGTgNdf0F5+pp24+LLfZ5fcOWxfqOxfGemcwettw==, tarball: file:projects/ai-translation-text.tgz} name: '@rush-temp/ai-translation-text' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 autorest: 3.7.1 c8: 8.0.1 chai: 4.3.10 @@ -11059,7 +11031,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -11072,7 +11044,7 @@ packages: dev: false file:projects/ai-vision-image-analysis.tgz: - resolution: {integrity: sha512-tKgHLBvnEh7Q9FyyOC6WnpAFb4NJxOK2LFfaAWiZSEVwi1vlfkdAckelu0lPxqSiY7rwllrC8VsBGAWcQ415/Q==, tarball: file:projects/ai-vision-image-analysis.tgz} + resolution: {integrity: sha512-BTGRoZOmU+cmrNgx8b5wgrZ3PqbiO0rSQ+8jGNwVZP6TUcBN1Ne9nYHnIQxZCaGB2vf+4uKJ6NCMCw2TkLsu0Q==, tarball: file:projects/ai-vision-image-analysis.tgz} name: '@rush-temp/ai-vision-image-analysis' version: 0.0.0 dependencies: @@ -11092,7 +11064,7 @@ packages: karma-chrome-launcher: 3.2.0 karma-coverage: 2.2.1 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 2.1.2 + karma-firefox-launcher: 2.1.3 karma-junit-reporter: 2.0.1(karma@6.4.3) karma-mocha: 2.0.1 karma-mocha-reporter: 2.2.5(karma@6.4.3) @@ -11115,17 +11087,17 @@ packages: dev: false file:projects/api-management-custom-widgets-scaffolder.tgz: - resolution: {integrity: sha512-4Rktgk3WHldMSBL7EMvssgkC2lds/H6eF789SNkPmwvTv8lrk/BQhpO3gkltFpJ4MNolcsuLVfs47kgqFndM3g==, tarball: file:projects/api-management-custom-widgets-scaffolder.tgz} + resolution: {integrity: sha512-ILWxIgL8Fu+WN9uD8SqwoDsJGBAKDKlgXHhB0ggTzXayZ/890ADv+LJxN65P+TvxfAlzsE9NMg/JrtsU2DCvsg==, tarball: file:projects/api-management-custom-widgets-scaffolder.tgz} name: '@rush-temp/api-management-custom-widgets-scaffolder' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) - '@rollup/plugin-node-resolve': 15.2.3(rollup@4.12.0) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) + '@rollup/plugin-node-resolve': 15.2.3(rollup@4.12.1) '@types/chai': 4.3.12 '@types/inquirer': 8.2.10 '@types/mocha': 10.0.6 '@types/mustache': 4.2.5 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 '@types/yargs': 17.0.32 '@types/yargs-parser': 21.0.3 @@ -11142,9 +11114,9 @@ packages: mustache: 4.2.0 prettier: 3.2.5 rimraf: 5.0.5 - rollup: 4.12.0 + rollup: 4.12.1 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -11157,18 +11129,18 @@ packages: dev: false file:projects/api-management-custom-widgets-tools.tgz: - resolution: {integrity: sha512-Wyj3HbKSuoSY7eNvMUldvhnMqi5kKO8QXcP5Kab2D+RI76V1TYiDNB/1ffC+jN96ZsLOvaOH1xpFeGIcRfnjgw==, tarball: file:projects/api-management-custom-widgets-tools.tgz} + resolution: {integrity: sha512-ryd7sqfaOWJhxOOsThaBeSvhi2vuX6n4budqkOZyjeTNTYHhvme7eK+BZYSuB8EPjTr27FcsT3QkB5oSadhnIg==, tarball: file:projects/api-management-custom-widgets-tools.tgz} name: '@rush-temp/api-management-custom-widgets-tools' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 '@azure/storage-blob': 12.17.0 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mime': 3.0.4 '@types/mocha': 10.0.6 '@types/mustache': 4.2.5 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 '@types/yargs': 17.0.32 '@types/yargs-parser': 21.0.3 @@ -11193,7 +11165,7 @@ packages: prettier: 3.2.5 rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -11208,23 +11180,21 @@ packages: dev: false file:projects/app-configuration.tgz: - resolution: {integrity: sha512-yZ5eoxFyedjpLHPzgkwFAv2HhPvIWNHm1yn/sa8fqSp+SLfb/D2gOciNlANeEiiUgy9xldH4WXfTONmn+Wsf4w==, tarball: file:projects/app-configuration.tgz} + resolution: {integrity: sha512-hdktXjbcBGvA0FHTn22UDjSVXhFlQU56GwYbHaqj+rphRrYSM4gply8nms7Ob6wguO7YPdwkFlkXIFcVmX/AtQ==, tarball: file:projects/app-configuration.tgz} name: '@rush-temp/app-configuration' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 chai: 4.3.10 - cross-env: 7.0.3 dotenv: 16.4.5 eslint: 8.57.0 - esm: 3.2.25 karma: 6.4.3(debug@4.3.4) karma-chrome-launcher: 3.2.0 karma-coverage: 2.2.1 @@ -11238,11 +11208,9 @@ packages: nock: 12.0.3 rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) tslib: 2.6.2 tsx: 4.7.1 typescript: 5.3.3 - uglify-js: 3.17.4 transitivePeerDependencies: - bufferutil - debug @@ -11251,22 +11219,22 @@ packages: dev: false file:projects/arm-advisor.tgz: - resolution: {integrity: sha512-ROD8jk3cSov/vE48keG4Nu0rftlbMlbMwQbuL8cw564ZjyxcYvmKwW/mj+dyWtjYbuCj27/MTG11+baciBUgEw==, tarball: file:projects/arm-advisor.tgz} + resolution: {integrity: sha512-OTfKEJPA4yb4uvJh4k/vEuleTC8VFATTm6fufuGRo/tfZzh1sl4h7YXjBvr4UbSUOeNxHEwV/xsVJHGh1jvXbA==, tarball: file:projects/arm-advisor.tgz} name: '@rush-temp/arm-advisor' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -11277,22 +11245,22 @@ packages: dev: false file:projects/arm-agrifood.tgz: - resolution: {integrity: sha512-Eq8GFhNd/oJociPIg1rktInQeN9SNAGJzOhamq2MgkU56XwmS6wcBn1JOti8JJeKaE/QXO3yKpewSyct3g+Qjg==, tarball: file:projects/arm-agrifood.tgz} + resolution: {integrity: sha512-KHlACz3MiXabvxhbQZNVZ76eLFAPV8hlyR9XYb3vpYJ0rC8o+oFVimtXtjIvS/5t77FUwscIeIq6VmHDRKlGxQ==, tarball: file:projects/arm-agrifood.tgz} name: '@rush-temp/arm-agrifood' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -11303,22 +11271,22 @@ packages: dev: false file:projects/arm-analysisservices.tgz: - resolution: {integrity: sha512-K60F16ABp0NPA67efoMfwVPIevG22mZLc9IDlRWUsF1sEI+r0j87PM1XpcvxyPaBwdj/m9hJlA1YncxM7iNxJg==, tarball: file:projects/arm-analysisservices.tgz} + resolution: {integrity: sha512-gKdDM68eaEu4Lxc2m/MZBfsrYuve36VXh36B8GkQhr2Fy74fkB0hxVIaybXwRkBQe+NFheOV2nR2eWjU8VkCOQ==, tarball: file:projects/arm-analysisservices.tgz} name: '@rush-temp/arm-analysisservices' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -11329,16 +11297,16 @@ packages: dev: false file:projects/arm-apicenter.tgz: - resolution: {integrity: sha512-+pRFPielS0gDX8JVCaOPr0hufVi5RDa6CVbp3lRglARFGjy3zK2Cf6/QJUZXmoxEdYTFqKjwgIcJdkCJk+bwFQ==, tarball: file:projects/arm-apicenter.tgz} + resolution: {integrity: sha512-I7XVaUB5zLRaozqNoPd0XDmfpMBMbEicQxn8lFbAe5pm1C9l3C07LLk6jU6UkwO7XMZ6KHmtvvGmsdP/83W4IQ==, tarball: file:projects/arm-apicenter.tgz} name: '@rush-temp/arm-apicenter' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -11346,7 +11314,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -11357,23 +11325,23 @@ packages: dev: false file:projects/arm-apimanagement.tgz: - resolution: {integrity: sha512-JzZWr0hc/ZNg1TekAQAKyht82tdhGnk+NZG0fJ36AqsfwWP3xm9la0zFq2S6OdhG/pEzmFW32Gt/ewJ2No6zWg==, tarball: file:projects/arm-apimanagement.tgz} + resolution: {integrity: sha512-ju2yrtwuRTesvgr/BfJcgDWjH4/TgLJsKospTQ64cZEpJgkiVjKf96UNryaVel4MxuxM85NKYxarul71R6mN2Q==, tarball: file:projects/arm-apimanagement.tgz} name: '@rush-temp/arm-apimanagement' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -11384,22 +11352,22 @@ packages: dev: false file:projects/arm-appcomplianceautomation.tgz: - resolution: {integrity: sha512-maN4MPboagaxwfe8eh2nHyfAicYFfJGj3qAcGGKNEQ86MCXL6cC00xIdUT08QO5Mu2AF/u17gCs6znuDHwKDvw==, tarball: file:projects/arm-appcomplianceautomation.tgz} + resolution: {integrity: sha512-NtiILsjaOd0fwgZhEL7+SaP2a02m4zETgRa8/34N9PNcn8MN/tZFmvmDh6ZjROqIg1X/GIxyKIpwnQSfhE/+/w==, tarball: file:projects/arm-appcomplianceautomation.tgz} name: '@rush-temp/arm-appcomplianceautomation' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -11410,23 +11378,23 @@ packages: dev: false file:projects/arm-appconfiguration.tgz: - resolution: {integrity: sha512-gtrl3Hqq0gmpifajc4RgLdCXIH7sT72oPGIklzYW37Y4fssGQNeoWMXwvP5d4vLG/Apz3WXyPyxs4rcPCNQwBA==, tarball: file:projects/arm-appconfiguration.tgz} + resolution: {integrity: sha512-4v96saBHfbHekdsUuRpNLycDOlo+7v5dYJCPOaomud0XrAdl5c2hbpPNag7Mu5FxywXPMyc3NiCdi5etZY8WAQ==, tarball: file:projects/arm-appconfiguration.tgz} name: '@rush-temp/arm-appconfiguration' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -11437,23 +11405,23 @@ packages: dev: false file:projects/arm-appcontainers.tgz: - resolution: {integrity: sha512-7WPgejLGKgOh2vPVgdi0dMKg+iBkbUeoopTskBmNemYPZv/IbY2L07kru2erL0s11m3teLBDro/ssrPrqDboCA==, tarball: file:projects/arm-appcontainers.tgz} + resolution: {integrity: sha512-IvoH/GAa4+uOxQ54m9x2GHYy/18gIvzXH6tZmbH4IHkMn9BiBIDq3Z0Bg0RoQ3fnf79sRjhN4TpNq9jW1rD0EQ==, tarball: file:projects/arm-appcontainers.tgz} name: '@rush-temp/arm-appcontainers' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -11464,21 +11432,21 @@ packages: dev: false file:projects/arm-appinsights.tgz: - resolution: {integrity: sha512-I34zQkAWNFmMo89ZFt2EM4nUwIymNs3zAmF640abJkJh/L+GNu2fMfy2dI5IrOhj/f1+KTrpGRpDPTz/IrnnDQ==, tarball: file:projects/arm-appinsights.tgz} + resolution: {integrity: sha512-WveWOZAHZWF58vZvK3pdvIx84fyR4VWrcCydr3F/UStxrXcgPVpW5qZYEucy6sdsql1keOff0i5QEpvySgvT9A==, tarball: file:projects/arm-appinsights.tgz} name: '@rush-temp/arm-appinsights' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -11489,16 +11457,16 @@ packages: dev: false file:projects/arm-appplatform.tgz: - resolution: {integrity: sha512-+qvA56xDmFhYVyBkJSMPw5rssZ7dcUPhEsdUoENLA6hLLgauw7hoyagObPLVJrEGXNCgkABSR5V8+bTf3uWtQQ==, tarball: file:projects/arm-appplatform.tgz} + resolution: {integrity: sha512-kWl3JeqgYBz4K19XI76Pq2kdLSwC8yG+PtqruJng/HadLD47zI49erNs4te6JNytsobVRzc9GLcXwL7G1xSdPQ==, tarball: file:projects/arm-appplatform.tgz} name: '@rush-temp/arm-appplatform' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -11506,7 +11474,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -11517,16 +11485,16 @@ packages: dev: false file:projects/arm-appservice-1.tgz: - resolution: {integrity: sha512-n9SiDwWNM6NvRyxLXP85XacmYutdry1HFVz14/Ku6TF6yvZ5/VLx9unSPUKd1kKaG/GiwcrXn4v/xlKfAqi+Wg==, tarball: file:projects/arm-appservice-1.tgz} + resolution: {integrity: sha512-oCf1w1dQgRqUaU8CuQI+35t3/VOmv9NqUnRe4kKetJWZNDj2BsOeqOnLLewVUsYYwSCowOeX3L+zOiyxQvbpqw==, tarball: file:projects/arm-appservice-1.tgz} name: '@rush-temp/arm-appservice-1' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -11534,7 +11502,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -11545,23 +11513,23 @@ packages: dev: false file:projects/arm-appservice-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-mkO1V5mAXU3DXRK51F/22W8UVpQtDdbq8T7Eqa0yOdByJjdBLB4FBnqwJmcYKTIdyUT7vmS3FqT6kQuOOzEPcg==, tarball: file:projects/arm-appservice-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-TwZgQgk0vsQbAgaGZjjA9QH+89/zcVRTkZqB/8BMnYP4CyjGWj46pRc92Aj9ef03vC5/I6sxyZUhfZZtZ0mZfw==, tarball: file:projects/arm-appservice-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-appservice-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -11572,15 +11540,15 @@ packages: dev: false file:projects/arm-appservice.tgz: - resolution: {integrity: sha512-njmusO6mmbSKbVWfPaO5s8ZxhbVPJdCUBSqrB32Zz1XGljPg1TyEwNoYxVEaN12vcwvSmcwQBqnhx/2/9D2/hQ==, tarball: file:projects/arm-appservice.tgz} + resolution: {integrity: sha512-/QFWX/YoXfT4/nIu3WtRXEWrCHYS4rIyFHhm76cNjBIBWjONfbQQZt+jKkrmd7dlUik5t3CUF632KC9zn8vcAA==, tarball: file:projects/arm-appservice.tgz} name: '@rush-temp/arm-appservice' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 autorest: 3.7.1 c8: 8.0.1 chai: 4.3.10 @@ -11602,7 +11570,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -11615,16 +11583,16 @@ packages: dev: false file:projects/arm-astro.tgz: - resolution: {integrity: sha512-pfLYFPuJdkULAxrnj9El8VyRO+vaLNJgInb0OAgAWYtrvXpn5IUO2uSSrnAFHcQbi405BS+X6gCMQDZhmPC+DA==, tarball: file:projects/arm-astro.tgz} + resolution: {integrity: sha512-9WhXfWQ2IRgbLqxa1ZPCCpAHEIgBGTbEGhQDzaF6tiaOb8iBnU4o2Tjk2WhoN7opuV+opjcsYQOmMfOGsH0iFg==, tarball: file:projects/arm-astro.tgz} name: '@rush-temp/arm-astro' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -11632,7 +11600,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -11643,21 +11611,21 @@ packages: dev: false file:projects/arm-attestation.tgz: - resolution: {integrity: sha512-W9YXfJPtPSHsFheKhG9b0Z6mwPLgf0W//VXP/Y6WmgUwddcKGxG4ltBYSvVGIsweYmCgblAAQ2QeLb9rbR4JmA==, tarball: file:projects/arm-attestation.tgz} + resolution: {integrity: sha512-CC5FeafaJaQQUVap3hU16FnRfk/dH+MQstKPMluYUN3yOSwoSnzOYpUhE2A8A/X3ntd5ZayS3eCQ8KQoDttPqQ==, tarball: file:projects/arm-attestation.tgz} name: '@rush-temp/arm-attestation' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -11668,22 +11636,22 @@ packages: dev: false file:projects/arm-authorization-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-4YEuNADyUOVmwESJbnO5v1amsCokgIjVBv1+7JDeFyeVOHwYIsI5CBWBccu40Y5lXa+OuuinEf6SyRF8+hFq6Q==, tarball: file:projects/arm-authorization-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-SE+y4mqIuScTDDH6hBlhT41I+8QTNBR9wA9540ymYjYAlchKpYGojSrxiTZnxKGnQ9ioWaikEWPkoKY9eALJdA==, tarball: file:projects/arm-authorization-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-authorization-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -11694,23 +11662,23 @@ packages: dev: false file:projects/arm-authorization.tgz: - resolution: {integrity: sha512-UAaYVqdL+QU7UGdM4HnWbie2G6uofI3o9ATwno6B8gPQoWXO6u77l7yXPVX79p84dqt9HnJxMFwwjQXfm6wkVw==, tarball: file:projects/arm-authorization.tgz} + resolution: {integrity: sha512-y3ID88BoTobWQ90d8h8i21UIMdjhhjnCfkIaHG4XYDzucNddjyvRl1LYHCRIheUBgbp6sKuUsIUymAmOh8870w==, tarball: file:projects/arm-authorization.tgz} name: '@rush-temp/arm-authorization' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -11721,22 +11689,22 @@ packages: dev: false file:projects/arm-automanage.tgz: - resolution: {integrity: sha512-WZJfe67gslSRoYPk6z6Qfoi1fwxp2GEwDB8elkicB5wKc7o10NsgpKrPHJr180zGEaqgP5AVjDXU4i9qDMox4g==, tarball: file:projects/arm-automanage.tgz} + resolution: {integrity: sha512-TrPitisx+wX1fn+WDN5+Imn4wpDYRRki5hMTk2AxNwAVSTekGwdrgahKvchCEybBAw+Ow6UVvpBnxtCddFQ6bw==, tarball: file:projects/arm-automanage.tgz} name: '@rush-temp/arm-automanage' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -11747,23 +11715,23 @@ packages: dev: false file:projects/arm-automation.tgz: - resolution: {integrity: sha512-fU4K8Q56JPN5PdbmdhCozG+AxiyjQnD2yV3AQC4UmhSYtQqnf5iw+98MMNS2Rv3fybvvFJ6gBKF/O0am/EhX4A==, tarball: file:projects/arm-automation.tgz} + resolution: {integrity: sha512-ZYcv8NIFOEDa/+Hr6hyv6D411e5d6jgSvcDP3R4o+XPXVYeBgHnfJuFkHiawfZ9lsfupgr4jZvXodhkB+MCe1Q==, tarball: file:projects/arm-automation.tgz} name: '@rush-temp/arm-automation' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -11774,23 +11742,23 @@ packages: dev: false file:projects/arm-avs.tgz: - resolution: {integrity: sha512-vvOMpwBsj6dUZhJa2p8KBuZ76OXRloJt9IzrwLN3OduAcirG/1kXWajm7ttOKv7kbgdkgYosdoVW/y5K3+ZdUg==, tarball: file:projects/arm-avs.tgz} + resolution: {integrity: sha512-LK0uvecM2hEjGv0O4sWN3GU2z/Aq5IuFulZuA4/GBWMeKaLG26v15677xEJ9aTVSOHttQG5A7VubPKPy2hhnjg==, tarball: file:projects/arm-avs.tgz} name: '@rush-temp/arm-avs' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -11801,22 +11769,22 @@ packages: dev: false file:projects/arm-azureadexternalidentities.tgz: - resolution: {integrity: sha512-rjtKIBKvq6ND8N2gDtElANgFd5mLw7fQFEA8cC+7OomaKl5R5QvAjeeLv6fAKgMZK5qpFIGFVzb3yhBrduc34g==, tarball: file:projects/arm-azureadexternalidentities.tgz} + resolution: {integrity: sha512-D2DwhGegbgi6zoaZVoPaiWck6nevz5Nr5XjYDXCEneOhKC5yXdC4d+tJ2RVGHO7lXqmQD0CXbpnm+VZoHHxKaA==, tarball: file:projects/arm-azureadexternalidentities.tgz} name: '@rush-temp/arm-azureadexternalidentities' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -11827,21 +11795,21 @@ packages: dev: false file:projects/arm-azurestack.tgz: - resolution: {integrity: sha512-wrt99LenEOf4kvtZZgZ0KjUceMo53uXxApffabcRTHH+Ld/YJuj+Mc3O7n8VE4nrQm7XkBrNotHyZ5o0WBBqKQ==, tarball: file:projects/arm-azurestack.tgz} + resolution: {integrity: sha512-hK5vGbD/wzs92bRHzjfoiMgmtULUmvBX/Dy4glEGxjdB2nVJj2YJQnHrEJEGqXsxsrAKCi4HLkPN7JOgzS+uIQ==, tarball: file:projects/arm-azurestack.tgz} name: '@rush-temp/arm-azurestack' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -11852,23 +11820,23 @@ packages: dev: false file:projects/arm-azurestackhci.tgz: - resolution: {integrity: sha512-GsBAUCcQuPH/hPNL/XTrlL2Z9og7Em4vq/WV2UL54qxKYd9CPCyHr8hm30qhvLDVoe9OB6Nf5emR0FEbdpzm3A==, tarball: file:projects/arm-azurestackhci.tgz} + resolution: {integrity: sha512-wnd5b+JTHJgKEzDePeSWPoY+ff9OT9kOF8KTRhjLNDQzuXvkt6fBpQujQ2DxsPazK2eT0jC6WFff4Bn5qd67Og==, tarball: file:projects/arm-azurestackhci.tgz} name: '@rush-temp/arm-azurestackhci' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -11879,16 +11847,16 @@ packages: dev: false file:projects/arm-baremetalinfrastructure.tgz: - resolution: {integrity: sha512-KurIkPZ2lUf3lMlZ4lNcbkzxlmTtzgoENoiODXck+4dtqb1FvRFugG35AOdhIH9F+gblOhQV6faOpVq/N00bDw==, tarball: file:projects/arm-baremetalinfrastructure.tgz} + resolution: {integrity: sha512-kFoYePU/3fnaxe08ofujx8mhP9UXbkLl78TUGykAWG68KD66Q5lMFfhKxbu3tL34Q/h13YSKCqETwwHk4Yq1Kw==, tarball: file:projects/arm-baremetalinfrastructure.tgz} name: '@rush-temp/arm-baremetalinfrastructure' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -11896,7 +11864,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -11907,16 +11875,16 @@ packages: dev: false file:projects/arm-batch.tgz: - resolution: {integrity: sha512-fdcZKOWwbBbDHqIbe0j8phG0vzRbjF1ZqKG1d/9FafYnu5l3QtPaCboBY/RYlw+CRarYp9yxdFrEnM8IcrJRSQ==, tarball: file:projects/arm-batch.tgz} + resolution: {integrity: sha512-pWMLj2SwHE9cooxAADD0taGAJlO+ZNiwbqFHUrgUHzmEAg/MRGrjZrq5wnhLTaR7XBWXue7nfwdd8sN9yCV94w==, tarball: file:projects/arm-batch.tgz} name: '@rush-temp/arm-batch' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -11924,7 +11892,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -11935,22 +11903,22 @@ packages: dev: false file:projects/arm-billing.tgz: - resolution: {integrity: sha512-GEUeAL6i+mZgPNLvk9zwai9NrPtFdscZzU1L/CeLqcKntRJQeYYZWU31LlbwaLQsoiwJm1u2Z4ESqXswcHqsQg==, tarball: file:projects/arm-billing.tgz} + resolution: {integrity: sha512-8Ar2AtBLcmHBiIqIcd0WaKxupb6+mw5/2dV01aDSOELTcJiUesXoPCWHXBeNlOCsp0ozacWvBcs7my/kOCt/2Q==, tarball: file:projects/arm-billing.tgz} name: '@rush-temp/arm-billing' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -11961,22 +11929,22 @@ packages: dev: false file:projects/arm-billingbenefits.tgz: - resolution: {integrity: sha512-A65JYJp+n/aj/DdNeMs3KEE1iPkRUbVk4L2dCidglVInOSYGdvCv8tAyBxEbJo82KcN4lpRUlXl/T95na3nNDw==, tarball: file:projects/arm-billingbenefits.tgz} + resolution: {integrity: sha512-mnDKuxl54/MRRwmaR2neH1bb23gs8aMaZOwCPOIsALGwGAvoGyWJFH5TbSMo+eVhkfMSlvgVSB7pxpwFWV2PTw==, tarball: file:projects/arm-billingbenefits.tgz} name: '@rush-temp/arm-billingbenefits' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -11987,23 +11955,23 @@ packages: dev: false file:projects/arm-botservice.tgz: - resolution: {integrity: sha512-0J61YSYrnqNHnwt+3iVjsB7P8iw6OfCyp+jAKIAE6QMciS0iVzTAXepo6yQdTTgPUOhKyD5a9nZnBVRfStofAg==, tarball: file:projects/arm-botservice.tgz} + resolution: {integrity: sha512-TEuEGBl+SWiYAmnrlhJbDiF0cYhEjQ700OYM/bk5Ol0Wepc0hEF7vGqDthzObsjy6MSvNhbKzQEWWEieliC5Sg==, tarball: file:projects/arm-botservice.tgz} name: '@rush-temp/arm-botservice' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12014,23 +11982,23 @@ packages: dev: false file:projects/arm-cdn.tgz: - resolution: {integrity: sha512-G2My3ELDLnMAu1hU1+U8cWflO3o4jnvXZoRl5tc7kbzjKk2/olbkV79sTEHsFWDzn6B6OWtXCE422YKUD89Vrw==, tarball: file:projects/arm-cdn.tgz} + resolution: {integrity: sha512-hdoZpJkxaB/yaRxVRdvNAraroDsYzLyO+glVTjNQ1AMaxOmTBt/Lh7QGjbqRlOLViXBCom9kBxoJ8L3NHTqfMw==, tarball: file:projects/arm-cdn.tgz} name: '@rush-temp/arm-cdn' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12041,21 +12009,21 @@ packages: dev: false file:projects/arm-changeanalysis.tgz: - resolution: {integrity: sha512-DsaCiFJEbPuBwYg10wpaeEdE3xRlpV73CgAEi8nWif9kv+JRH+AiYndpFgazGrJcnHbXoWy1HRoihs4uSRqlkQ==, tarball: file:projects/arm-changeanalysis.tgz} + resolution: {integrity: sha512-wr+WPh67FWR2NRQKgrbkqsy/U4CvwO7/gbotwbxLolAiDKZxPmVw+OV8UHihBcgaJ2l80xeHbOvTlg8KAwH/8Q==, tarball: file:projects/arm-changeanalysis.tgz} name: '@rush-temp/arm-changeanalysis' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12066,21 +12034,21 @@ packages: dev: false file:projects/arm-changes.tgz: - resolution: {integrity: sha512-b9VZ25FT7P33XmmdcqIuurof8/qlDCefvuFzJZcP5W8vww54laviQp3OZMe21gZNoTF0tJCAsisUwCRFtGkfaQ==, tarball: file:projects/arm-changes.tgz} + resolution: {integrity: sha512-n3UKJZpU3gfZLABS+bNjCW0zmXeYr49am/B9uSITckGvuhu/JqN8O+MqSKG2yhZ+0+rcH68DRD1+xN4EfTObEg==, tarball: file:projects/arm-changes.tgz} name: '@rush-temp/arm-changes' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12091,17 +12059,17 @@ packages: dev: false file:projects/arm-chaos.tgz: - resolution: {integrity: sha512-AYe2IRqlS5udUUwHLB+nBpfwEGN+g3f+4mU3aYzFq4VPJa0+sn4WyhR9uq1kH2ZM1N7mHyMOwqmbF16k95RXrA==, tarball: file:projects/arm-chaos.tgz} + resolution: {integrity: sha512-D/9pHkYWHNIGglI/J6hu38+kHRLQI9k+XjIhJBi4LcFHzCKJ8vrF3lbO05y+p338a2mteTddG749eNGnfpRDQA==, tarball: file:projects/arm-chaos.tgz} name: '@rush-temp/arm-chaos' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/arm-cosmosdb': 16.0.0-beta.6 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -12109,7 +12077,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12120,23 +12088,23 @@ packages: dev: false file:projects/arm-cognitiveservices.tgz: - resolution: {integrity: sha512-9v35I+3xKtYLWq9DIAQqu5k0btXBqcThaBewMC4E5FjwyNUb8eEHi2c/602OiAx8MP7UgxJm05ZTmxCOkamXYw==, tarball: file:projects/arm-cognitiveservices.tgz} + resolution: {integrity: sha512-ceoamDcbMZIYDtblhTT5SzwQB/f/ZfOeZTKmgCrIWOgRqq7EblaCWEsPgE81I8b5xs6If+DdhtgT+Ihysyz+Pw==, tarball: file:projects/arm-cognitiveservices.tgz} name: '@rush-temp/arm-cognitiveservices' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12147,22 +12115,22 @@ packages: dev: false file:projects/arm-commerce-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-KtJEFzp8CujGIy5qfF93himm77C3TyZBSIWoYy+S3Blenj+D7Sx4IRCSG18goRF2MZPzBk8+DaADJ9jysCci2g==, tarball: file:projects/arm-commerce-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-cuP9Lj6fq8aOX+H2Gb/o7cKZQ+IOaADcMQ19mgt5epCNgWsNZeXqYm0ypDcyAo1D5FdU2NbQ8576vKXphvX39w==, tarball: file:projects/arm-commerce-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-commerce-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12173,21 +12141,21 @@ packages: dev: false file:projects/arm-commerce.tgz: - resolution: {integrity: sha512-rDkddX2oFvwSl3L1L46ftJvLhW889lRV9x814MVYX3SPzba70rjRpF9i/WtgcePpk/GO50bly0HEhSRA+5+g4g==, tarball: file:projects/arm-commerce.tgz} + resolution: {integrity: sha512-YBAusB0+e3cjkTEQMfr3Q8xAxRRS0JbcnVmnt9cyB3MC02XeXGB+oIjKP/TY08cq1IT9HHTKosMrWfKKStGf9g==, tarball: file:projects/arm-commerce.tgz} name: '@rush-temp/arm-commerce' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12198,21 +12166,21 @@ packages: dev: false file:projects/arm-commitmentplans.tgz: - resolution: {integrity: sha512-8E4bEbSKH3YBk46CzI7NvKJMvaydAv8IPy8jGbu8MoLoDjp2RiGVWu2VyExx6Fw99kt1AGk+V46xF0e4PTwtcg==, tarball: file:projects/arm-commitmentplans.tgz} + resolution: {integrity: sha512-JJ0/r61xKy+uCmtVCD0p+dATwjU3ygUHe93NgfBnGqM6n5k2+Ai3qKIJqz3Wi44e2XEDEFywK6aN76zOZZToBw==, tarball: file:projects/arm-commitmentplans.tgz} name: '@rush-temp/arm-commitmentplans' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12223,16 +12191,16 @@ packages: dev: false file:projects/arm-communication.tgz: - resolution: {integrity: sha512-uPS2+p1oI2HYbDoM/nIA24Zp4g4luf44EwFtnc/IcqJbC5WXGUyw5XpP521K/LRjqrhcpvYnJUTXvsihMjAXGg==, tarball: file:projects/arm-communication.tgz} + resolution: {integrity: sha512-28goF7jU56MIHXDocfXRU5JuIZswJWtgWggniRkeihyxhqHlKZ8C/piQs9oz4H66tkJT1hZJyNfBdUZTXIOjKg==, tarball: file:projects/arm-communication.tgz} name: '@rush-temp/arm-communication' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -12240,7 +12208,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12251,17 +12219,17 @@ packages: dev: false file:projects/arm-compute-1.tgz: - resolution: {integrity: sha512-2pDKAUFh7gYxN+AxznwxTdgYakg6UZrlVhES6ckbX0YlQnf4DeDXa8Pa6HUMK9ubYaaVjuH8KQOLN/cJoeIDiA==, tarball: file:projects/arm-compute-1.tgz} + resolution: {integrity: sha512-j5ZxYBDOMNSO0GulYlTmjT9vYMOd4CgHsYczwi5yMg9IeCAVscfPlXCKwC5rt2B8DpSxbqDGuBlUJc5bkWOQHQ==, tarball: file:projects/arm-compute-1.tgz} name: '@rush-temp/arm-compute-1' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/arm-network': 32.2.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -12269,7 +12237,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12280,23 +12248,23 @@ packages: dev: false file:projects/arm-compute-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-sugpl9M5blLaRNbg6GQn76g7xom9iu1jKejYj5KeNhn5iHgbpHPXjo4OQcs8IRmwd2tRnkLwksIuAxm2W6QuYw==, tarball: file:projects/arm-compute-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-wSxjWtY7Gayq5u+Vrbc5SF8S65rlr/heUQBVi59n/ceKQ9wwSmFFIANjvHGBCVjeEV8h/STQRyo9ohorR1BqGA==, tarball: file:projects/arm-compute-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-compute-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12307,16 +12275,16 @@ packages: dev: false file:projects/arm-compute.tgz: - resolution: {integrity: sha512-nnxE+DnW6deUaCiJsb6Vdz1zOTzv6uoW3B0vNx42bn8LVf7O84d/0k60ls7Nbp77vr2C97NnkISLcLPWhUmzwg==, tarball: file:projects/arm-compute.tgz} + resolution: {integrity: sha512-rfM24fKeGnO3k+9xouP8VC9tZO37dejzMq69JJfgX+QQ03NhhI0+7W1Sfydq6z+nHpvT0rZ5dq55sG24fSouGA==, tarball: file:projects/arm-compute.tgz} name: '@rush-temp/arm-compute' version: 0.0.0 dependencies: '@azure/arm-network': 32.2.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 autorest: 3.7.1 c8: 8.0.1 chai: 4.3.10 @@ -12338,7 +12306,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -12351,23 +12319,23 @@ packages: dev: false file:projects/arm-confidentialledger.tgz: - resolution: {integrity: sha512-3wcjT0JV7C63qdIAx0daBkxtRYAD86cGgwmM8bUNhScppREhP+LDLpAQKr07Dc+CNmtDTZyIf1+CvOlChK3NYw==, tarball: file:projects/arm-confidentialledger.tgz} + resolution: {integrity: sha512-pBzv+N2QSgppOXMHAJzMkaE/qaiUmi/ecnoLl+UGY6ejTy3yIhiM2pgeAULdLqwe2J7L8R+LIzhAbNz+tv1O6Q==, tarball: file:projects/arm-confidentialledger.tgz} name: '@rush-temp/arm-confidentialledger' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12378,16 +12346,16 @@ packages: dev: false file:projects/arm-confluent.tgz: - resolution: {integrity: sha512-2vzIrVRG8t/kToRBElJNytrUk5YKVVhc1c0boPHZ/FZzHvRT6cLvfpXN1XTyNQdUWde5jpLMPe6vSC1w9fkHUQ==, tarball: file:projects/arm-confluent.tgz} + resolution: {integrity: sha512-nJjOjZ00EbI/BClYWgzLvAPYRKzxdXuf+OCzB7A5p8nOTHL+IiOJc0H+4FNsc3CNJxCWBoOSEYIpL0GKnygItQ==, tarball: file:projects/arm-confluent.tgz} name: '@rush-temp/arm-confluent' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -12395,7 +12363,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12406,23 +12374,23 @@ packages: dev: false file:projects/arm-connectedvmware.tgz: - resolution: {integrity: sha512-w1gIubjRTzBHfnaTbZz/c1dP5955JMMUqizIoyNLeoTWTDWehQxSVqZNYnch91imOTmzB+TxU7GlIsntOJwL+g==, tarball: file:projects/arm-connectedvmware.tgz} + resolution: {integrity: sha512-T5BQynIcWR+pR0OBRmCgiNLPARef7bQptKTgvCsnPfsewfWLV3YMa85iAcoPLMduQ5/JtR5DCET5pyDFPjKoEA==, tarball: file:projects/arm-connectedvmware.tgz} name: '@rush-temp/arm-connectedvmware' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12433,22 +12401,22 @@ packages: dev: false file:projects/arm-consumption.tgz: - resolution: {integrity: sha512-2FDsNPauBwRkdMElXzq9rWo4XkrVxbLu9qqIOG6riyhoLTT+LgA0TJEV+iG6gu/NgRng840zTpNo8yuPQGGWQA==, tarball: file:projects/arm-consumption.tgz} + resolution: {integrity: sha512-gIGza2f9pMwhSMoWvuoOMowtkiBRZ4FLs4eo3jWkQOdfUV8yW7Aqs4pcve0CLxCtD7juxoQ+VsCyAbJNwiPIag==, tarball: file:projects/arm-consumption.tgz} name: '@rush-temp/arm-consumption' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12459,23 +12427,23 @@ packages: dev: false file:projects/arm-containerinstance.tgz: - resolution: {integrity: sha512-xJAXM2Ld+QXlUS+lRl2h8kvvABj5+B04QH+tBPup9lHEzMW058av9Zg1Q2FTerpNTXl9AtrIY7fiOLzPoS/UaA==, tarball: file:projects/arm-containerinstance.tgz} + resolution: {integrity: sha512-Jh00YMt5IjPlB570BSjOupuw8nrDwcPaRinDvCspv1XfVTn8ca64lljJkn6YVvg7Ewka5vm+k2xjgje+wgHJug==, tarball: file:projects/arm-containerinstance.tgz} name: '@rush-temp/arm-containerinstance' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12486,16 +12454,16 @@ packages: dev: false file:projects/arm-containerregistry.tgz: - resolution: {integrity: sha512-UtNY5pFfILJVY5uKq3grSAj/eX8knsdw/pjkfvOgFOUMLn+Zc2KTgJ4sX1fqUGLFz4o1OJ4NAc9uSbOIdBd5Cw==, tarball: file:projects/arm-containerregistry.tgz} + resolution: {integrity: sha512-eGal/cz0lUPpDx7YSpPlprQK9yKIV0jJ52YANdbKgTKQi11dEyXhB+NFfUmBxpk/hGAYSCYdQRtXEij3gUSDWg==, tarball: file:projects/arm-containerregistry.tgz} name: '@rush-temp/arm-containerregistry' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -12503,7 +12471,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12514,16 +12482,16 @@ packages: dev: false file:projects/arm-containerservice-1.tgz: - resolution: {integrity: sha512-CgE1+0qzGsKIGBfvZjAaeQ3jI+BkFnyy2s1J2hS/GDxqqS6ONXukQkR+wtq8chLjG5/Rkp3E7vNw8UO/iYLsAw==, tarball: file:projects/arm-containerservice-1.tgz} + resolution: {integrity: sha512-6T0lGGJ3XCcGfzzlWPbJImUGNvh0mPDht6imcPFhw/LHb4eLsVi53/Kp6JLQKbAS8UTpXuWtQwGAHP3blgWguA==, tarball: file:projects/arm-containerservice-1.tgz} name: '@rush-temp/arm-containerservice-1' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -12531,7 +12499,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12542,15 +12510,15 @@ packages: dev: false file:projects/arm-containerservice.tgz: - resolution: {integrity: sha512-mnoUjEOVqAMufPECqy+8yqBMX/PI8zFX8yfgbPgXC6vtxk26pLTAqEo9NfVkzboai86QG1zLE8Bjy98RhV4gOw==, tarball: file:projects/arm-containerservice.tgz} + resolution: {integrity: sha512-EEAj4QAchBgQ5gEyUXlyVFbt6rYVQlyQsmNDEl/xF/4/9fZe25OPTHhbQqBjg3BhyCzPI/vzVpFu6PxaKHBKVQ==, tarball: file:projects/arm-containerservice.tgz} name: '@rush-temp/arm-containerservice' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 autorest: 3.7.1 c8: 8.0.1 chai: 4.3.10 @@ -12572,7 +12540,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -12585,16 +12553,16 @@ packages: dev: false file:projects/arm-containerservicefleet.tgz: - resolution: {integrity: sha512-/O2LUTrmXAZhj+9FnT4Ai7koBQY/Mjl6hgjFNcIvWhv/DZV/sOUAdGUE+1L6X37a/NMegSmFEzrvwA/7w1Zvsw==, tarball: file:projects/arm-containerservicefleet.tgz} + resolution: {integrity: sha512-L7FZF+zECSYP3h0lGOxlcba5MIoAaS4cLDcLw9uI7OgkNOeXvwVp3AIyVM0gY0zQtqMMV8yOHSdMnb0aBGNa5w==, tarball: file:projects/arm-containerservicefleet.tgz} name: '@rush-temp/arm-containerservicefleet' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -12602,7 +12570,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12613,16 +12581,16 @@ packages: dev: false file:projects/arm-cosmosdb.tgz: - resolution: {integrity: sha512-ZLOw/zxspfcaDH8PvlS0yHmTEUeyQZ4JAW3tBxOgiAoLllY0qXvrfYEYH/WY8bq8dL5elf1Krb9WuKe0IH3PxQ==, tarball: file:projects/arm-cosmosdb.tgz} + resolution: {integrity: sha512-D1OaeYIGlvVSBRKL77fzRSsc7CLEJfB/VT+MeX7zxhr04M6LNfpT8M3Gxs19IFYtRy3V069aQ0MbeSLQ2nyHBw==, tarball: file:projects/arm-cosmosdb.tgz} name: '@rush-temp/arm-cosmosdb' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -12630,7 +12598,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12641,23 +12609,23 @@ packages: dev: false file:projects/arm-cosmosdbforpostgresql.tgz: - resolution: {integrity: sha512-1kFWZx86s/1MB7d50kKIqEXOd20/HYaa76Vr6znMZ1oi7VhNM82bwcFXhqr/Ha8QJp7+tp95dRGyOkZPX4Q6OQ==, tarball: file:projects/arm-cosmosdbforpostgresql.tgz} + resolution: {integrity: sha512-oolLtC+bh7x7BChJYnlqD3JM5TOeiyN4KMITqWQnVrzp4kL8W9CSGoT3eCJptWWGLIIdDds5pUx07PbB2VyK2w==, tarball: file:projects/arm-cosmosdbforpostgresql.tgz} name: '@rush-temp/arm-cosmosdbforpostgresql' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12668,23 +12636,23 @@ packages: dev: false file:projects/arm-costmanagement.tgz: - resolution: {integrity: sha512-tU2jx2ArM2PKoHgCaJni2AJbDbwV6tUw5nsXggsmpilbQrbIrbgkiyj5NqHpsH82QI1Y+SE9R0hPPVtotb6JQQ==, tarball: file:projects/arm-costmanagement.tgz} + resolution: {integrity: sha512-RnC0T5i0CFwhUqicfDmIHEAcGBzNptHyVaS3nWy9Cm1l5+Up5PUf63HnwYcDtIn+E/BZZFFRQa4f5mBJ1eWzSw==, tarball: file:projects/arm-costmanagement.tgz} name: '@rush-temp/arm-costmanagement' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12695,22 +12663,22 @@ packages: dev: false file:projects/arm-customerinsights.tgz: - resolution: {integrity: sha512-DaJqL0jm0XwPs/tGBQilxBHgPGeQSxZOP20x3p5LYEE6M+cX0BFf7KPt+aI9ORzB0VFehMh+c2HNMepUy8ksjA==, tarball: file:projects/arm-customerinsights.tgz} + resolution: {integrity: sha512-7oyjRjn4wwCMSoO2yAYUGqE35HvvvmD+b1b72A/XlCjKky+i0yJBhx49yXxOttek4WzzoaOxDA+CMNaRZKTfwg==, tarball: file:projects/arm-customerinsights.tgz} name: '@rush-temp/arm-customerinsights' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12721,16 +12689,16 @@ packages: dev: false file:projects/arm-dashboard.tgz: - resolution: {integrity: sha512-FUpsLqJ868RBg6ZQlqON83WYnD0bGYjQbMUrRS4Gj5qM6W2oU6+ne/9ixmbnWm5Ol7MjkM/C/yo5HFpKKELZCw==, tarball: file:projects/arm-dashboard.tgz} + resolution: {integrity: sha512-CkZcQ41MBIbPmZsddog4V7xZvYQmGMNe5bJ26IBeELZMLvZdC1U+CEteUQCd+bWEIhm+3SHZeoPohmgvbyHqRQ==, tarball: file:projects/arm-dashboard.tgz} name: '@rush-temp/arm-dashboard' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -12738,7 +12706,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12749,23 +12717,23 @@ packages: dev: false file:projects/arm-databox.tgz: - resolution: {integrity: sha512-95x+lKer6oJ/LYK5mUj//gdCQO3LciDM45igpyBCF0nkTXEddLM2MfM7Puiiozs0FfyykLUwVBxpnoLHE7IdvQ==, tarball: file:projects/arm-databox.tgz} + resolution: {integrity: sha512-9Ho7a21W7lc5nfCXQMrjEatGfcwGbA4n+tEiRUwhFc5iF6BCdw5yP+qU192soLinMW1WHagom40zXT3/suIJ4w==, tarball: file:projects/arm-databox.tgz} name: '@rush-temp/arm-databox' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12776,23 +12744,23 @@ packages: dev: false file:projects/arm-databoxedge-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-aUw/CoDH0URZhZMkb1n15XCPdGJ6kMIZTRxR3Aiio1FEy+s02GYAmtiwWDybhHtfy89U1x2deFaqmMmN5ggDiw==, tarball: file:projects/arm-databoxedge-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-2KU2P7WPFDddoatPMuhvDwICItynOhnR0YGUzONCXjgcyZ5nwmA/Nb/X9T5NHrjLxP72sOSMHnhwVu47fHoPTQ==, tarball: file:projects/arm-databoxedge-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-databoxedge-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12803,22 +12771,22 @@ packages: dev: false file:projects/arm-databoxedge.tgz: - resolution: {integrity: sha512-qoayTHHIiQQzO5sYgATMJ/TdqpfGaInAWAwUa4RB12pw19AhyrcUj19X0F4npIHhWcA1E8W40sg+xPO0j4K4Ig==, tarball: file:projects/arm-databoxedge.tgz} + resolution: {integrity: sha512-DWu7ADx8EkbeH9DsufkkjANTx0p+g301D4mFVpbJMXC0MarD64knAGX8Q9PTD3Hb8TdNRK5GRkwnRPyR1Eygvg==, tarball: file:projects/arm-databoxedge.tgz} name: '@rush-temp/arm-databoxedge' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12829,16 +12797,16 @@ packages: dev: false file:projects/arm-databricks.tgz: - resolution: {integrity: sha512-n/SMNzAiyfN/lFpt5YJzd32fES9ze8jGLUbLkIxNW7w6TdqkPVXTMB7B6EcLuqmxFJPfek4A2LMJu2dBx+UhcA==, tarball: file:projects/arm-databricks.tgz} + resolution: {integrity: sha512-WAtAXKJCfNKF/uJy3vZmZ+CE/PXZa8uOReOOz0NbfHdUo9ompAUAH291ZpBMP/oyMavRNBCIqrHFcUbnLVnHdw==, tarball: file:projects/arm-databricks.tgz} name: '@rush-temp/arm-databricks' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -12846,7 +12814,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12857,22 +12825,22 @@ packages: dev: false file:projects/arm-datacatalog.tgz: - resolution: {integrity: sha512-iG9whd+FoDBL6MT9pzGFw7LY7lhcOx8OOZR6WzTzzkxD/PPfJDSNxMICeWrIwseaUKHEQ9urN2FhDCkAnTQ7tQ==, tarball: file:projects/arm-datacatalog.tgz} + resolution: {integrity: sha512-G3ZU/CjjEMr60xcEIdmS9mKFc0xdvut+pWl3VouNsC564gB21KvYoyzay77yUzbBJlU99fAmkWyUovFoO5fdSA==, tarball: file:projects/arm-datacatalog.tgz} name: '@rush-temp/arm-datacatalog' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12883,16 +12851,16 @@ packages: dev: false file:projects/arm-datadog.tgz: - resolution: {integrity: sha512-m7YpvxhygnEI2hacwst8DGNvAY77ZK1NpYENUa1210NPWMZgEl1HKQOKJ1yL6vLwC0x5i99k7cOhiSVVU/qZJw==, tarball: file:projects/arm-datadog.tgz} + resolution: {integrity: sha512-zdSyPOGITXN9mRdxHC+LFI4f3ZOh+hP/ZckLNl84YXRVqSQoB1QQKawY2SCvqJ0tncIqBASHXMfRUt3KzC7gdQ==, tarball: file:projects/arm-datadog.tgz} name: '@rush-temp/arm-datadog' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -12900,7 +12868,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12911,16 +12879,16 @@ packages: dev: false file:projects/arm-datafactory.tgz: - resolution: {integrity: sha512-QKVsn1q48eaGWWjThiViemDuRkhUPRV7LbClKMNFHVQ34AvGNqq0MudYx9QuAqXOKtYelXwZb5fjlPcNDRolxA==, tarball: file:projects/arm-datafactory.tgz} + resolution: {integrity: sha512-DEESanPBKFpZDHHeIkAkVYya0p+L95cmwlI/3B7V6ZcagEEX34to4tLeGIqW3yQ+Gx0P9z5XxWilDnbI6iP6jg==, tarball: file:projects/arm-datafactory.tgz} name: '@rush-temp/arm-datafactory' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -12928,7 +12896,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12939,22 +12907,22 @@ packages: dev: false file:projects/arm-datalake-analytics.tgz: - resolution: {integrity: sha512-QL5xwYAg2Qkccprt0iBNs1d9gQmavTnls/LgX+lQlCDTafSagMzKyRkLU/5xFFtNaDK0O/cAo/JePDAxi7lD+g==, tarball: file:projects/arm-datalake-analytics.tgz} + resolution: {integrity: sha512-yzVw8Q2+JxjUvyeRTbq/j0vQhkEHW8t6TR3fZ9mECDlaG8Q+N+NKmrbTAomwbRbNPlgFKukLP7r+rHjXunD69w==, tarball: file:projects/arm-datalake-analytics.tgz} name: '@rush-temp/arm-datalake-analytics' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12965,22 +12933,22 @@ packages: dev: false file:projects/arm-datamigration.tgz: - resolution: {integrity: sha512-2tfaY9yVh5aJuPz8eS1/PbLP9E3nJIbyWHVanL347BOpqPIQkYe2zHSsxoUahOBqJqB90g36FOQWNo/m6Eiu7w==, tarball: file:projects/arm-datamigration.tgz} + resolution: {integrity: sha512-kv/yjdIuPAYgY/6GWaiPjnu31bSTCwHvfHaqsZVaKR/4+4b7AauMO3KuDdr8UkkWRyhIkUFI2RvxjHmi2b5+Gg==, tarball: file:projects/arm-datamigration.tgz} name: '@rush-temp/arm-datamigration' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -12991,16 +12959,16 @@ packages: dev: false file:projects/arm-dataprotection.tgz: - resolution: {integrity: sha512-RqdUOXE/gW+7zXfFneqfQFn9j7PgM9AsXFc0n8xMzrRGrCz+Uqh6ia4cGW3A4wehnQpz2gYXDW9wJHMLQeT7Rw==, tarball: file:projects/arm-dataprotection.tgz} + resolution: {integrity: sha512-JtJ/t64GsctvAnLtCM4/55fMH379WeaFMASG1sW5DJ3x2C+n02sPVRM8Z6Mu/T32JXZwJf0KSj+7wzXBQhAjIQ==, tarball: file:projects/arm-dataprotection.tgz} name: '@rush-temp/arm-dataprotection' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -13008,7 +12976,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13019,23 +12987,23 @@ packages: dev: false file:projects/arm-defendereasm.tgz: - resolution: {integrity: sha512-cgw3iDKW2y2/oMPVBzv5NqsaTleca6OtAVz8eE2oNT+F9oQqPazDj4faSRDacLp5f6KqK6xFic6QjskNxXjcqA==, tarball: file:projects/arm-defendereasm.tgz} + resolution: {integrity: sha512-ivDbQzCDJKN8hQwxYGFMkn+vJAjxdvzQ8lYzHqyMxBc/3qifsKwEPAOcZ+TUiD8+c8hsKTmRPaHu4UZKaJHsIA==, tarball: file:projects/arm-defendereasm.tgz} name: '@rush-temp/arm-defendereasm' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13046,22 +13014,22 @@ packages: dev: false file:projects/arm-deploymentmanager.tgz: - resolution: {integrity: sha512-L1tbQid0NzP48zct5cpTnU7J/5GrGMKoQFjx/pvenb9fY8mSPQre8CHc73Y5zyerehemv6eRjKy7eU8NDcV1zg==, tarball: file:projects/arm-deploymentmanager.tgz} + resolution: {integrity: sha512-tfRJMGzxOftlogx/5EpDXnGQCHTYaHfKmkt4VKXB3LI5phOLpybJQt3GwHzErp5a3xz/TcpYT2otMdZBGoNLlA==, tarball: file:projects/arm-deploymentmanager.tgz} name: '@rush-temp/arm-deploymentmanager' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13072,22 +13040,22 @@ packages: dev: false file:projects/arm-desktopvirtualization.tgz: - resolution: {integrity: sha512-L7sX1Hp5EvvKokbHuNAvLkgBkFbo915Y+RGdasvN1LT81KW0AceqnoWLIQksovU/wM6I7FN0OGIEFisODYzsIg==, tarball: file:projects/arm-desktopvirtualization.tgz} + resolution: {integrity: sha512-zV09nRqplUpK5w5By61XKVG/v70haO0z+1yA3ZtgMinQyV6qwGyRf8BQAt1VPWV5sgUiL6MtkFPKrJe3oNgctA==, tarball: file:projects/arm-desktopvirtualization.tgz} name: '@rush-temp/arm-desktopvirtualization' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13098,23 +13066,23 @@ packages: dev: false file:projects/arm-devcenter.tgz: - resolution: {integrity: sha512-CSmAgzjlR+IZFb5bp67z2SVFs9NQ9LS0VRLKZzpwCRkplrQBfMMPeu7/z/5vlc2QaHUyj5GEXWcUl3tqa3Yk0A==, tarball: file:projects/arm-devcenter.tgz} + resolution: {integrity: sha512-J2lsKIst4SNdWTPVT4yPLwK8a/PL+6OBYrjvqM6kqp/MTpGbVppzDEgpjYLyf2F/YGMT0vKsCx2OZmdfz3TTvQ==, tarball: file:projects/arm-devcenter.tgz} name: '@rush-temp/arm-devcenter' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13125,22 +13093,22 @@ packages: dev: false file:projects/arm-devhub.tgz: - resolution: {integrity: sha512-aCEH3Yr5kA48YQh5EE7OIP0hieQ37FXMh7vNdh7xvd45KAI1e77Q99uhvqvNAam+mNYNo8jo+nn3Rl7cpqv4mg==, tarball: file:projects/arm-devhub.tgz} + resolution: {integrity: sha512-0OwGVUxeTCi2Z67hUZA+iIq2OcgIaU8R0S+EGFKN3DZ/tQlkV0iLLcXHPO3BNl5Qjc42eLPPIvlUbCa94hSQ9Q==, tarball: file:projects/arm-devhub.tgz} name: '@rush-temp/arm-devhub' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13151,23 +13119,23 @@ packages: dev: false file:projects/arm-deviceprovisioningservices.tgz: - resolution: {integrity: sha512-mL5ybtkui/g7nDHobTu3HbF5JqO4Z6MjqZaWUuvR0OnDCTqOsHdS835yDQ5tQeKHLwlZjQF4YexqsrD49yZVkA==, tarball: file:projects/arm-deviceprovisioningservices.tgz} + resolution: {integrity: sha512-95AnQnzoBbVQSuQVQqWUOiZc43cePOTKXhWpdg5G3Ve65GIdqhBhkV8c5DuHMPMJl4Cr+5PNpiEjmMqn04uTqg==, tarball: file:projects/arm-deviceprovisioningservices.tgz} name: '@rush-temp/arm-deviceprovisioningservices' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13178,16 +13146,16 @@ packages: dev: false file:projects/arm-deviceupdate.tgz: - resolution: {integrity: sha512-qmHGIRkfxEpsumb3kK5HiS61itFrmyxboJ5AYdNG8gmprcTfyyZ8GQxQz+yh9JkdCoEE1tI/K0O5PmGnIBtEZg==, tarball: file:projects/arm-deviceupdate.tgz} + resolution: {integrity: sha512-7Y0eayeF8+fcdXu5cybX7y411bbB2aD21zJAhQmui4/1i1x/VS95rRsUd5L0KgZbl9axpafTRqbho/m1W4EphQ==, tarball: file:projects/arm-deviceupdate.tgz} name: '@rush-temp/arm-deviceupdate' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -13195,7 +13163,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13206,22 +13174,22 @@ packages: dev: false file:projects/arm-devspaces.tgz: - resolution: {integrity: sha512-9iJ3t2A5kZDOfeDbN//2WclIOfqc47Ys6GOkIThF9UrcMcT4T9UKsun8jG9qATAciA98dOUgczW0QAiPH1K8bQ==, tarball: file:projects/arm-devspaces.tgz} + resolution: {integrity: sha512-t2kMrMDwxJGkX+Cm5qWFejx4SsnEO34Dmgema+0z3FcNXpawASFceufwbyfWuy4Ub3dTqK8N3x5TW5qWK2sKGw==, tarball: file:projects/arm-devspaces.tgz} name: '@rush-temp/arm-devspaces' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13232,22 +13200,22 @@ packages: dev: false file:projects/arm-devtestlabs.tgz: - resolution: {integrity: sha512-se54K80CkdLHAtjR5pbWbWxJnpmHkHvG8/n9d9b5/16ROIXe1IpZzFVO6HAtSEPZgDClzhLwYKcZIBCO+HuS5g==, tarball: file:projects/arm-devtestlabs.tgz} + resolution: {integrity: sha512-7Zzxwb9A/reKClHoux8ig3fRjvmHzNFmAvMYmbz6hc/gK9cbdQ08CeAaT+juiwIdscGYQVaNdWj1ELzhxb37xA==, tarball: file:projects/arm-devtestlabs.tgz} name: '@rush-temp/arm-devtestlabs' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13258,23 +13226,23 @@ packages: dev: false file:projects/arm-digitaltwins.tgz: - resolution: {integrity: sha512-nAmmiAhrzWJJ8jWgSXh8cWEbGYaHQd6aOnAWjzjK9Tkq2mJ+3JOWDNhuVb0gIWu0dFQl1S7FQ3Vl1gOgI2NEug==, tarball: file:projects/arm-digitaltwins.tgz} + resolution: {integrity: sha512-3nmEXmnL1Uwz8iFOjAlKHXxewcyB4vWwTdjDlgI/pv3getqmbI2iv/kQhv6TQTI6sUeVo4s4+HAho7Dc2+6Eow==, tarball: file:projects/arm-digitaltwins.tgz} name: '@rush-temp/arm-digitaltwins' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13285,23 +13253,23 @@ packages: dev: false file:projects/arm-dns-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-Ci2u7IAGUdydHCe2wmCAROKWx7T97dNixQuMMRDfRUNcOqnSaVHljSUcZPtBehVzkzDP+bNsvAhkIdBsjTGzGA==, tarball: file:projects/arm-dns-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-d1Amw85hvHEi/fTzEtmnf75J/sbvzr8FTa9dot50CZR1l43/LMX0k0TS0bWsQ7j61uRJNYjGsShJdpu1aSGzzw==, tarball: file:projects/arm-dns-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-dns-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13312,22 +13280,22 @@ packages: dev: false file:projects/arm-dns.tgz: - resolution: {integrity: sha512-IB9vkq0I4UsJ8zRn5BmXyLzCuKzl3cPQIGa/cBw2hRdOrv7RZd3NjArVx5AMlCGli2KZGd1R+yFc3CyRKK+Z8g==, tarball: file:projects/arm-dns.tgz} + resolution: {integrity: sha512-BhOUzgZYYDM/0qGf0/B2G8VQRK7fvaRdojljK9iRXReGDUrPGGjNDmDEFh3gjHzmjIQllwvOdmatLSf7FmjHyg==, tarball: file:projects/arm-dns.tgz} name: '@rush-temp/arm-dns' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13338,23 +13306,23 @@ packages: dev: false file:projects/arm-dnsresolver.tgz: - resolution: {integrity: sha512-wB8nKJdqPLraKxFYvDlWZWIZSQHuwm0kvnly/tEntmuwJmTx3Z4vYCJyCSvoJ1FXFqsf7A4IrlZXP7E3ynOKQw==, tarball: file:projects/arm-dnsresolver.tgz} + resolution: {integrity: sha512-3xFMt7gl5l4keq9+6rGly8556taKv/ZLgtXzRbcTibxkP/1OiyPEQ/+77Q0P01I/c45VW9NioiyKz9D8W8br6w==, tarball: file:projects/arm-dnsresolver.tgz} name: '@rush-temp/arm-dnsresolver' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13365,22 +13333,22 @@ packages: dev: false file:projects/arm-domainservices.tgz: - resolution: {integrity: sha512-nOFIdKFHWkJiat01An1GtkiOo5zpzhr2q4ZIm8wjPi0rBAVhoMA3pk7iJLacN0DfsSkw2/WWjBpLIReXRoTp9w==, tarball: file:projects/arm-domainservices.tgz} + resolution: {integrity: sha512-DLla3k4VcNjF3GugA2DkkwdrqrBU4w+VyNQYn2pNBlsYZFaqnVCtv4dv4lyKf485Y01n+HfcH/Ca5Hatmseudg==, tarball: file:projects/arm-domainservices.tgz} name: '@rush-temp/arm-domainservices' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13391,23 +13359,23 @@ packages: dev: false file:projects/arm-dynatrace.tgz: - resolution: {integrity: sha512-Aj7evbmiifblx0tOWQ7wU1HUeoYcuWE2M+aemxezXhfnFGmyUCMOS2UBbSUJpOToJXH7zuh+LPM0VcLaCBKyfw==, tarball: file:projects/arm-dynatrace.tgz} + resolution: {integrity: sha512-AB3PZ5K/JTl3MC2yI6ya929462uDf1rcl9TStJ5OAn+lMOGwiMZN2jBbBYZvuzG3827jYUfjS3BglFpE++rd5A==, tarball: file:projects/arm-dynatrace.tgz} name: '@rush-temp/arm-dynatrace' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13418,22 +13386,22 @@ packages: dev: false file:projects/arm-education.tgz: - resolution: {integrity: sha512-mlkeCAjcXwuHm0TrydOWkbReaCgch+H9eUV6MByE4Fex73ndrHtZ+eH2b4WdtOwxgV9SaIiVilqNbLZ7MqT/eQ==, tarball: file:projects/arm-education.tgz} + resolution: {integrity: sha512-bIEvXOy/NdGOKIIjzI8zDrrtBg+Qop15BbWcuEtvThiFjqMmHnVvl+vkwe2atDsGemd5fVxGN1mHh+E/lKgz/Q==, tarball: file:projects/arm-education.tgz} name: '@rush-temp/arm-education' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13444,23 +13412,23 @@ packages: dev: false file:projects/arm-elastic.tgz: - resolution: {integrity: sha512-OMj/8g2mHmFPvJ4nvNgV1BK9Rd1Zg1jY9z3rL0iyVGdzMyCXPcM5oWUUALKDGv8o1bdcZzB03PQAQxPHeAdxsA==, tarball: file:projects/arm-elastic.tgz} + resolution: {integrity: sha512-OrQ9rRDwqORmRGVNe6r7BiUadq9NM8FbNVLLLTdeIAdjZsA7iwnIHefGOWfpNwh73E9tSXqqsEfqFEHddi0Ipw==, tarball: file:projects/arm-elastic.tgz} name: '@rush-temp/arm-elastic' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13471,16 +13439,16 @@ packages: dev: false file:projects/arm-elasticsan.tgz: - resolution: {integrity: sha512-EAUd2c4BeOeBXQ89uLiqr+PY5EVB2DFZ5PBaRUdUkk+uRa0xQBikVl/SNur7Xv+l29yMfxqnNYc5OSbiAoeolA==, tarball: file:projects/arm-elasticsan.tgz} + resolution: {integrity: sha512-vmNI5cI19QbV3WiP6J23i7VSh8K+hglsYTvs7l6p9s/sgdSCMobVPvdfCihIfQ2DgGnPYthVVajHhmT1Jm/DYA==, tarball: file:projects/arm-elasticsan.tgz} name: '@rush-temp/arm-elasticsan' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -13488,7 +13456,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13499,16 +13467,16 @@ packages: dev: false file:projects/arm-eventgrid.tgz: - resolution: {integrity: sha512-pjBiFum5B8TaJzHGpvGCKvAoOKORPC1LVWvdsNMXjXHMynJOGKP+Ve+W1yI9pOBb6mMLArsYK4kpx4Fzwp5Hgg==, tarball: file:projects/arm-eventgrid.tgz} + resolution: {integrity: sha512-fWLIetf7dckzxUe5esh6TNETTQ0XfcKoZIqRfRTPq6n/lRjLshLxpSlMNZJri6eBjMZZoVFCCbAMhca9UA6MyA==, tarball: file:projects/arm-eventgrid.tgz} name: '@rush-temp/arm-eventgrid' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -13516,7 +13484,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13527,23 +13495,23 @@ packages: dev: false file:projects/arm-eventhub-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-CCLqoFVy77SjW2XxQWJkTpISynFVFrdyMhOJAglpXoPkZ/5cDrNTcxGIcsi7TaHVmnEzPpOH3jwr4sGgwuZ8kQ==, tarball: file:projects/arm-eventhub-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-JAaJGD1tnTE0ly7rneoYftcgHWBC64ka+7joqNSggH+TH3XRml7r5pVvhaYfbCAyivAAuIK6YPwrziNFSkW0ew==, tarball: file:projects/arm-eventhub-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-eventhub-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13554,24 +13522,24 @@ packages: dev: false file:projects/arm-eventhub.tgz: - resolution: {integrity: sha512-yGdta9jk/Vv76SSabezPlh12nUpX1Jt3FBfknm7qjO5/58bdTbUOJ7NM+EGKaMxtBTbChFClqJmMueUb/3mcVQ==, tarball: file:projects/arm-eventhub.tgz} + resolution: {integrity: sha512-0mmGr7D+JOpiJmS4UXxLghHuH96mMVP+3ad9lHIoIWhmySSHg8KHa218RFech9nrMoH6tE/0ETFsBit0XMbTLg==, tarball: file:projects/arm-eventhub.tgz} name: '@rush-temp/arm-eventhub' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/arm-network': 32.2.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13582,23 +13550,23 @@ packages: dev: false file:projects/arm-extendedlocation.tgz: - resolution: {integrity: sha512-6yXtaEcYAXCnPk0yNAQGCfB4NK2NZea1Gbu0UuPWLdHEAcHPzKS3tGvz4NtTj9QsQw02RgTK8QU465Jlf/XVWg==, tarball: file:projects/arm-extendedlocation.tgz} + resolution: {integrity: sha512-K25YK0qmvnTcoNnQ80TAqKTbaGV1kHFLsjH0TF4Ed4UT0kyntsECs/3qRcadj8ODgTxmEl1sQV33khegU1IZoA==, tarball: file:projects/arm-extendedlocation.tgz} name: '@rush-temp/arm-extendedlocation' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13609,21 +13577,21 @@ packages: dev: false file:projects/arm-features.tgz: - resolution: {integrity: sha512-fVMZ3HspsXWI4G4RiWvzZ7wzL5eKJKCI3v8px+tJN5FWi4Eoy32qVrjqVtNn77IzE0JyWwe6DugT3sRu9JrkCw==, tarball: file:projects/arm-features.tgz} + resolution: {integrity: sha512-9f1c5YSs+FnI8FP18n/TY9yv2Qt9s9yXnLVIOJx4NAbmwCgbSA8qORK+hw9tmKrt8yLKxFg3tRKZXPyqAse4Jw==, tarball: file:projects/arm-features.tgz} name: '@rush-temp/arm-features' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13634,22 +13602,22 @@ packages: dev: false file:projects/arm-fluidrelay.tgz: - resolution: {integrity: sha512-mu/7lmKqtBZiHUmLgoRX+DUNMGli60POYBkX/oInW/lhte2lDMpUwT2CfNwaIsa5lIzcmukdPs8pyPCZkFYs9A==, tarball: file:projects/arm-fluidrelay.tgz} + resolution: {integrity: sha512-cxV8lGIc6qBho8Z/P9SDEfvPT7QkEHkcqTrAQBnm7XEyUR90jXUumTais+DGwYd9TuUOaySAE3Cq9TOtsD8n3Q==, tarball: file:projects/arm-fluidrelay.tgz} name: '@rush-temp/arm-fluidrelay' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13660,23 +13628,23 @@ packages: dev: false file:projects/arm-frontdoor.tgz: - resolution: {integrity: sha512-izX2d+tCBAsTArlKXWZPE7dC+JZBwf6RzZexfi2O8YH4SEGaWKE7Z5+ufBxxlM03MhE36tvrdZozWb0hjGDICA==, tarball: file:projects/arm-frontdoor.tgz} + resolution: {integrity: sha512-WiPoeP0wmVQm+wF3/1No2z4+1dhaNHMpIczIEj2lgvSqDZOUg7Vsky2Ypwf6ayRCyWG1xMqxkHn8VSsxSGjhrA==, tarball: file:projects/arm-frontdoor.tgz} name: '@rush-temp/arm-frontdoor' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13687,23 +13655,23 @@ packages: dev: false file:projects/arm-graphservices.tgz: - resolution: {integrity: sha512-lVSPNDsTFpmn+0NfABQU2ulAqE1fDBeW4at7Yo+/1dbqblsyiYQxRKsfhMcS3bmcVMo7/F5TLrzcbY3PnSs33A==, tarball: file:projects/arm-graphservices.tgz} + resolution: {integrity: sha512-TwgY8kp0XnjxyGXghLjmT7SQTJGtSWEZlccxWvN5Kizah5FW0QaoVFqrT2KGq1efS40TUxbUUJ/wD9fvxq0crw==, tarball: file:projects/arm-graphservices.tgz} name: '@rush-temp/arm-graphservices' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13714,22 +13682,22 @@ packages: dev: false file:projects/arm-hanaonazure.tgz: - resolution: {integrity: sha512-HgPgdOYD0GC1VbSniyOKV+k8NQP+Nf4Y8gUcQgmvkpd4GmKGOYWIOJLAGRVkXJcP1JUhHn7XxsR0XGAiWNKu4Q==, tarball: file:projects/arm-hanaonazure.tgz} + resolution: {integrity: sha512-ws5mhvxHYC6HQl5DHRne0d5IWSVunp5PZ10NqYgl0hA+Kx3X4gVPg5/6olxJapbpymXfUAbms09JK56bSdk6Tw==, tarball: file:projects/arm-hanaonazure.tgz} name: '@rush-temp/arm-hanaonazure' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13740,16 +13708,16 @@ packages: dev: false file:projects/arm-hardwaresecuritymodules.tgz: - resolution: {integrity: sha512-nA6QiHAbJBIynUYqo4VaqLyU9i5lp3F+yUocs6dmVSuhohHAx7bfe0FAnCDl/UezrO71wAykb5moe276qXWXsw==, tarball: file:projects/arm-hardwaresecuritymodules.tgz} + resolution: {integrity: sha512-wTxwkOtBLi68wc50lodK3gaUoHAEEDM/UumdXLQJGzV0GzJi2nzWqJvHlDBMuOJ14paiEwYfUeqEwAncAqm4nw==, tarball: file:projects/arm-hardwaresecuritymodules.tgz} name: '@rush-temp/arm-hardwaresecuritymodules' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -13757,7 +13725,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13768,23 +13736,23 @@ packages: dev: false file:projects/arm-hdinsight.tgz: - resolution: {integrity: sha512-NPqD1UGqFAN0iiYxgzsD+5UYekqhoKTquGDR/5AlUB2wJYIebyhSzCelZvqbn+xhrBELw+MsVhNYwVJmK+LXyA==, tarball: file:projects/arm-hdinsight.tgz} + resolution: {integrity: sha512-AC1nlOLofqoFh7fIxslrXKueMzH9NBzsDBagOJirMUvR2561t8SOiZQJ99hOechNEzV9rYi5jL7hMJHU2rc9UA==, tarball: file:projects/arm-hdinsight.tgz} name: '@rush-temp/arm-hdinsight' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13795,23 +13763,23 @@ packages: dev: false file:projects/arm-hdinsightcontainers.tgz: - resolution: {integrity: sha512-MKVqAlcqZxOros4bknf/8NHB4o2X21VtvvBZ0byeh1/Or/OB9rlp0FqUC9A8KEPLWXyV/ddYOhJ/rAyYnbT54w==, tarball: file:projects/arm-hdinsightcontainers.tgz} + resolution: {integrity: sha512-rss20Yb178oeAFD0Se5k6req3ISEo18wahvChMulBOBrxgLuWIe5M0YGHwGAOFPDgF75jyiS6MoKcQylsviBqA==, tarball: file:projects/arm-hdinsightcontainers.tgz} name: '@rush-temp/arm-hdinsightcontainers' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13822,22 +13790,22 @@ packages: dev: false file:projects/arm-healthbot.tgz: - resolution: {integrity: sha512-5FFjCGmPTl6jhVc22w++BvTUb2LwQaR+/exnnJCnQBf7GGRpJOeTcpmBm2rlmS2wbyr1T6Qzih2q9w4eyqxCAw==, tarball: file:projects/arm-healthbot.tgz} + resolution: {integrity: sha512-VMLVDqZrBva4XSc96fyZ+yEc6gPnmw3MGVaXEvCQZAtaT+kyOQQfE+QGIIbCFCAUX5UfWk8nHE6wS8QzdT1Dpw==, tarball: file:projects/arm-healthbot.tgz} name: '@rush-temp/arm-healthbot' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13848,16 +13816,16 @@ packages: dev: false file:projects/arm-healthcareapis.tgz: - resolution: {integrity: sha512-3DAcFCisgyQlaYSKkCZyYAOLHl51ed8wiK+2FsTcObuCx7Fq7/K86fl2Btoy6/Lhx5TntW74MHB2dSnkknSFxQ==, tarball: file:projects/arm-healthcareapis.tgz} + resolution: {integrity: sha512-yiiLuQ9PmrsGf1M8W+ZROkF2y+egwrM0Cv0Yct9fRk/lE28ZJjVxofNp64nDZBEVULtRy8uexYek5rTIcHERKA==, tarball: file:projects/arm-healthcareapis.tgz} name: '@rush-temp/arm-healthcareapis' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -13865,7 +13833,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13876,16 +13844,16 @@ packages: dev: false file:projects/arm-hybridcompute.tgz: - resolution: {integrity: sha512-t6yBBcu+y9ZiyK7+HgWwHELlBzDvihFx3gVys1hfo+5iF3p/DxqYWBVsEwJIEMYl7T27WwzL7ddt5JlKoPeBXA==, tarball: file:projects/arm-hybridcompute.tgz} + resolution: {integrity: sha512-dp7VY5hqr4kKMHm8E8voKdabfPeIvwHqpt3/v2t/hdvnrnNFkAh6e4Ktipn+NGfw4icTjtFjy2ePN5l1SZCoZQ==, tarball: file:projects/arm-hybridcompute.tgz} name: '@rush-temp/arm-hybridcompute' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -13893,7 +13861,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13904,22 +13872,22 @@ packages: dev: false file:projects/arm-hybridconnectivity.tgz: - resolution: {integrity: sha512-UoXd//VD88eyTFXh7pK2KjKfWCN9iJgKuAJpTiJlOPjtNsyGKBKrrBCNFjPpsZ+cbBGJ72C9+03J49tpcXDb6w==, tarball: file:projects/arm-hybridconnectivity.tgz} + resolution: {integrity: sha512-ei3dXbw0SPBO7472e5Lc2k2U4zGgoVaLnKd3Cj6jTia88sTZW/GkmmZHfRChOthiaU/skOzZ/Nmlvj6DFoah6w==, tarball: file:projects/arm-hybridconnectivity.tgz} name: '@rush-temp/arm-hybridconnectivity' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13930,16 +13898,16 @@ packages: dev: false file:projects/arm-hybridcontainerservice.tgz: - resolution: {integrity: sha512-Sy5p8Gfs1IANvvG1j35dRubNwpi2rK4VlhhlLhXRN6f3Laxxy6f0KR9wz658HF/AOYA/SEkt703waCeBfyYlyw==, tarball: file:projects/arm-hybridcontainerservice.tgz} + resolution: {integrity: sha512-jaQ9mOdgkp1Q0iioQI3CH4Vd96kQQICbN61iuDmabjybD9YDPkkcGsgs9s3k+DLLy2z00nHtugf2NngsUqmCmA==, tarball: file:projects/arm-hybridcontainerservice.tgz} name: '@rush-temp/arm-hybridcontainerservice' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -13947,7 +13915,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13958,22 +13926,22 @@ packages: dev: false file:projects/arm-hybridkubernetes.tgz: - resolution: {integrity: sha512-QhFL8mPuYVp9XnRzSKBav++afPgp0MkdhTaB14//IOFCS6yaY6XOmVKQhshoHk7lPeBw+XcxiMGZvbn9hrlKYw==, tarball: file:projects/arm-hybridkubernetes.tgz} + resolution: {integrity: sha512-eOGMj0hE798uQgwsFhk07Tlv+X5v3J5CHViZcVkP3T5Q3PDwAGWKImRY5KoNCVRn5OhlNaqP1jfASv75hAsTPg==, tarball: file:projects/arm-hybridkubernetes.tgz} name: '@rush-temp/arm-hybridkubernetes' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -13984,16 +13952,16 @@ packages: dev: false file:projects/arm-hybridnetwork.tgz: - resolution: {integrity: sha512-xqfMYQWliSpAFgm11vF2rQSeJhfxgUiTcXSarj2PKbb+IQ+3nH21YDs/ftJuyOOLihLFbmxlQvT8eKuQStRoeQ==, tarball: file:projects/arm-hybridnetwork.tgz} + resolution: {integrity: sha512-dgmRfWg1hnBn5L4dbm0/A55CP747c1U6ut/GG2FeUHQ+fiHB94z0CrCknyX6cer3nUI44R1WntdRtR03JG9vPw==, tarball: file:projects/arm-hybridnetwork.tgz} name: '@rush-temp/arm-hybridnetwork' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -14001,7 +13969,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14012,16 +13980,16 @@ packages: dev: false file:projects/arm-imagebuilder.tgz: - resolution: {integrity: sha512-jtoCXQudxlOMVFYekAyBSLImoRlpAvAFvXFEgBb/GVXscEzSeDsTd5VCUH1Zvrs8B9CTqy7U2nA0NaveCXa06A==, tarball: file:projects/arm-imagebuilder.tgz} + resolution: {integrity: sha512-EDPsPyOrfkNm5eGS2F0IhirUBQidpeOBlKVDj/uByJzVznz56yxIAuRTRxWbNYUZfC2fLSgRmdgTN+q6ahd6cA==, tarball: file:projects/arm-imagebuilder.tgz} name: '@rush-temp/arm-imagebuilder' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -14029,7 +13997,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14040,22 +14008,22 @@ packages: dev: false file:projects/arm-iotcentral.tgz: - resolution: {integrity: sha512-+d/6wcGG3OeAnrexKwryshVou4efDM5mhgKeICKfzTozbGhN1osPZREFQKN8cBa5X9WATQ7kVyTPyUlIfwv7SQ==, tarball: file:projects/arm-iotcentral.tgz} + resolution: {integrity: sha512-EzFNFoH25ciLltRS5mTnby6xKHJxrPqArc8bizMXffyEkUioNgMQPehlooRg2YTXa1DwQGeoOBDW1Zr2R16JRw==, tarball: file:projects/arm-iotcentral.tgz} name: '@rush-temp/arm-iotcentral' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14066,22 +14034,22 @@ packages: dev: false file:projects/arm-iotfirmwaredefense.tgz: - resolution: {integrity: sha512-WjogQNEjuVkfiAN9gnaphl5L0qQxUQQeHY9TIv1ntiGFcHFuK4X5irE3erwuZa8aBPCE3lBEnFWIGTfk/ix7Jw==, tarball: file:projects/arm-iotfirmwaredefense.tgz} + resolution: {integrity: sha512-TVCRaGPO1/PFRav4n7v79oTPfBsAUROLR/IAhd/zuhPM9eVfXFjB2yzPzpbtKEe+GxREpOgCEy4qxpbBTYpE/g==, tarball: file:projects/arm-iotfirmwaredefense.tgz} name: '@rush-temp/arm-iotfirmwaredefense' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14092,23 +14060,23 @@ packages: dev: false file:projects/arm-iothub-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-ndygVizo0cHx1f9cVvkvxX0NSLNi1b03leE9VYaa4ZL6YWG0FcpldvUyWXjXtqnXfT8Gt1pYvxde74aSj/XgOA==, tarball: file:projects/arm-iothub-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-ap+Z6OrBcTh8HXomCKUgo84XPUgrCbp4GSxGaXRqIeU/pT+yjcB8hL+xz3Qy4VODIqnEiGiq5i37BCWxqo9I3g==, tarball: file:projects/arm-iothub-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-iothub-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14119,23 +14087,23 @@ packages: dev: false file:projects/arm-iothub.tgz: - resolution: {integrity: sha512-Fv0lEr32w1wHSr/++mppG8Usw+fDCsdWCd3L3n3nXd05meGuVEjlNbrUGj7orLoFQE5v839JlAUec5uPIGxL7Q==, tarball: file:projects/arm-iothub.tgz} + resolution: {integrity: sha512-IK93gDYqcxLAd5/fprkJBfMYWTwFE+jKSZTY8+CkfWrx8v8sFEUMndDu9C8wkylqpZ9ahvqe560fsI7/WDoTGw==, tarball: file:projects/arm-iothub.tgz} name: '@rush-temp/arm-iothub' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14146,23 +14114,23 @@ packages: dev: false file:projects/arm-keyvault-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-srfYMkQo+2vzcw1FuYDN4ygHKff8u0p5DmS8/WQme9KmSrnoXSebMFYNfWlLhESHwI3TZoq7jngKYriebz/C/Q==, tarball: file:projects/arm-keyvault-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-lT/DvF/9sFj5AUJnqnxHx13A+C+KGWWdg1oTPTE5YcVSyvCiMANU/0kVsi5llBXbgvjR5iE0ZLNertZGj0bjVg==, tarball: file:projects/arm-keyvault-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-keyvault-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14173,16 +14141,16 @@ packages: dev: false file:projects/arm-keyvault.tgz: - resolution: {integrity: sha512-CxgUmA5b8mNXEHzxim6ap/evv1p6YZIAdfmet9qsbu74tcwSb+ty+Fkit7xwvyqlEZ3XAggzmkuH8g8qUPZjQw==, tarball: file:projects/arm-keyvault.tgz} + resolution: {integrity: sha512-5J26dX52OdiglGFO2C5HEYBHJ/cAglmw0+6C0/h5GI0K9i991TwZyhu2drE/InXY0Bye+DafznjMfbworbcHRQ==, tarball: file:projects/arm-keyvault.tgz} name: '@rush-temp/arm-keyvault' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -14190,7 +14158,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14201,23 +14169,23 @@ packages: dev: false file:projects/arm-kubernetesconfiguration.tgz: - resolution: {integrity: sha512-FzzUjDedwl6PgApeoOoQPbh9TRWMq5pfolQ3g1C5Xa/VGPz/Qdy0HvFswt00uHSeyuoAi4+aQZvr2VI9M0Wb1w==, tarball: file:projects/arm-kubernetesconfiguration.tgz} + resolution: {integrity: sha512-UCuOUS8jLbg9fqrFldv65BoWTCv7zUtY7GcAsPmWjktn5avFyR1CVa25VrzmEwI7Kz3MAe4NQ4kd+5yeSd38tg==, tarball: file:projects/arm-kubernetesconfiguration.tgz} name: '@rush-temp/arm-kubernetesconfiguration' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14228,23 +14196,23 @@ packages: dev: false file:projects/arm-kusto.tgz: - resolution: {integrity: sha512-+S9nWXmKnozmTEeevAyzGORODSi4S4kUjzZe+m2101+ualinDLfkkBjRHy635Y0pHmJ1i7ywNv0BcfhMHiH7og==, tarball: file:projects/arm-kusto.tgz} + resolution: {integrity: sha512-ZGcWF+8qoEOWnZt2LVMCrlOAlPkHlWG+icwN+7HgD0GWrhp2aQbk2FQxyXEcM5KZ/xFyC+Usl9YYUbCJRuiibQ==, tarball: file:projects/arm-kusto.tgz} name: '@rush-temp/arm-kusto' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14255,23 +14223,23 @@ packages: dev: false file:projects/arm-labservices.tgz: - resolution: {integrity: sha512-i64F2+sfyinjeI6+7ZM+hJfYeF075HeRGm43IPoMmYILG/GY06SMB/4oelcoTDd+Ct8eboNVQB3iRCWd3c1NDA==, tarball: file:projects/arm-labservices.tgz} + resolution: {integrity: sha512-5B7F/ARVRCMje4lEBtAYKO2cchl/bCdYxsEe1UzVx2LC9dH5oKFSehKkMBUIb5VVI5lUOZ0WwQ/FeG8O1DOQSg==, tarball: file:projects/arm-labservices.tgz} name: '@rush-temp/arm-labservices' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14282,16 +14250,16 @@ packages: dev: false file:projects/arm-largeinstance.tgz: - resolution: {integrity: sha512-lO9Q5RIVa9eIxfL1ni3r8h27ysSkSdC+KH9mcgBsRJkhSZywAvepIqnn+aPtnRxyx4L25Ca9FRJTdTHOttlgnA==, tarball: file:projects/arm-largeinstance.tgz} + resolution: {integrity: sha512-sdpJjnXZnSAusOEmdMUO8AKVbVh1efEc0pv+nmGJrlqgv5Ky6h+elrHR2FwrAtdZsodoubh0owGBeqCccqA4Kg==, tarball: file:projects/arm-largeinstance.tgz} name: '@rush-temp/arm-largeinstance' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -14299,7 +14267,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14310,21 +14278,21 @@ packages: dev: false file:projects/arm-links.tgz: - resolution: {integrity: sha512-McQK4lLqTDACdrIbX2PQoRk/AAJDDcFYBzGhsUhPSkhAPXQHJNG3iP3L3kstgzBYfYRlNGPHXMhV9wbn0XMOwg==, tarball: file:projects/arm-links.tgz} + resolution: {integrity: sha512-0MrD1N27J/zHy0WuJWhDnH5yigl/7ideSPOq8jvphElPaf63WPsKt/y+zZA6yX85LwTs5xW9dlMTZ1GCHrgHFg==, tarball: file:projects/arm-links.tgz} name: '@rush-temp/arm-links' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14335,23 +14303,23 @@ packages: dev: false file:projects/arm-loadtesting.tgz: - resolution: {integrity: sha512-yYDAiubQWvh5dv2HkaSZkXBnPUGgmu2bppWeY+OctiD0kdWuziv3+dlQJTcsYHJYbIXak8mRgp8D+fOpOIUpUw==, tarball: file:projects/arm-loadtesting.tgz} + resolution: {integrity: sha512-3mNR1SA2SXx+lyCzHchx0WGoDaGhN0HN/hLwql+FWr0YbBWO38ys0TVsRhJWYyE9Sd+2NkgnSVVLUwINmcDzrg==, tarball: file:projects/arm-loadtesting.tgz} name: '@rush-temp/arm-loadtesting' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14362,22 +14330,22 @@ packages: dev: false file:projects/arm-locks-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-aP3BKP6x6VloB97Z64xb5PGsb41pzAHamL8fD6lj2EyKKxoBW1Fo4GgUw6gvRELhSl0KbDg3n7TmAGlu2furgw==, tarball: file:projects/arm-locks-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-MM1YQWv+Djqo44GlUOaVms1ry8pZN/XdPPXF1UTnGy5T/Z+rPHHX/9cpSBjKVzdOnhfBnbIDh8BhLamBGvDB6w==, tarball: file:projects/arm-locks-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-locks-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14388,21 +14356,21 @@ packages: dev: false file:projects/arm-locks.tgz: - resolution: {integrity: sha512-3gK+FF8jTwpVOwgkkgdPqTNmFL+txflMo4lPDggW4M0u1vnOqa5+wCoi/RihWA8lhjhPTMwBmqIk1KgCau2P6w==, tarball: file:projects/arm-locks.tgz} + resolution: {integrity: sha512-NvQ3Z1c6s2jwz+1CCF/Soh6x1iaBCUR3sK6PbLQXyUBOMEAZ0TvjiMrk3SsTq5Ib04nNDnBAGTNECI+/txCtQw==, tarball: file:projects/arm-locks.tgz} name: '@rush-temp/arm-locks' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14413,23 +14381,23 @@ packages: dev: false file:projects/arm-logic.tgz: - resolution: {integrity: sha512-MOQTVkl5V1eisNyW/TEDd8g2pHY9PdnPxyQ15+cZhdOlVx8JrptUVrgr1UUeEYSUqMK03eT9bouUa71zzipIbQ==, tarball: file:projects/arm-logic.tgz} + resolution: {integrity: sha512-a/dJxaYa/V4zraMumW+JUERMqiWJRJmCADrtAi8vN534bHzFD2bpOPrnqRs7+IhTtqSpS3y6AHSFry0krduxow==, tarball: file:projects/arm-logic.tgz} name: '@rush-temp/arm-logic' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14440,22 +14408,24 @@ packages: dev: false file:projects/arm-machinelearning.tgz: - resolution: {integrity: sha512-75hb8WOyINOoDc38e7gYKDr/Sz8SrFz10wxhWkQ7DHoZ9FQLCH3j41TwEBCnuXy27mzedozklcZxVbE189VgZQ==, tarball: file:projects/arm-machinelearning.tgz} + resolution: {integrity: sha512-7aE/ZPZXq2zYg+hYMd0a4Idl10iJu+wtTfZpqDF2Pt+K1awS3WTzFranxpK+ryA1Ixkbybp1yYXDOZu4j2IuTA==, tarball: file:projects/arm-machinelearning.tgz} name: '@rush-temp/arm-machinelearning' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 - mkdirp: 1.0.4 + dotenv: 16.4.5 + esm: 3.2.25 + mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14466,22 +14436,22 @@ packages: dev: false file:projects/arm-machinelearningcompute.tgz: - resolution: {integrity: sha512-I9FNymQpc2olKVXL9gws1OZ/MAPvu1IYEnYyEHeTI0PJTUTOaLAimaitGRPvUGS6VSiERUPMP8ZVK8WqwMJw3Q==, tarball: file:projects/arm-machinelearningcompute.tgz} + resolution: {integrity: sha512-clysHmuJIoRN6GLbav2Ef0LbI/9Kgg+AJbuzndElf6okICaBW709mzH9q95y/kU8xLA1Pv+6VK5+kKGUQs8JQA==, tarball: file:projects/arm-machinelearningcompute.tgz} name: '@rush-temp/arm-machinelearningcompute' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14492,22 +14462,22 @@ packages: dev: false file:projects/arm-machinelearningexperimentation.tgz: - resolution: {integrity: sha512-GHFW6M81BuG7EZUBBrSUNvnhiwmu0MonuTL2iBFC4wHOo1FCFrD+zeJzMhb3PGoWqVmjRrwC9XRr4ZXRtLAytw==, tarball: file:projects/arm-machinelearningexperimentation.tgz} + resolution: {integrity: sha512-zzTrdQzKuDO7WB7aZSDSj82VDrf4+ampa4FaZIkKjnvXPqZ/8RG5oZUSfhKt6IGu38i/lkFmEw9i5zVT08YeEA==, tarball: file:projects/arm-machinelearningexperimentation.tgz} name: '@rush-temp/arm-machinelearningexperimentation' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14518,15 +14488,15 @@ packages: dev: false file:projects/arm-maintenance.tgz: - resolution: {integrity: sha512-9dEsnfcOz/nNTOcpaoekSTPdI2wIes9gC7r3dI2xU6LbEx980+RAVnK5hPWgnQ75w9PMbbHEWESKauF1gOEZoQ==, tarball: file:projects/arm-maintenance.tgz} + resolution: {integrity: sha512-yuidOEP7AWn1zvqUEAM7WI8rTRCKeQAPmzfZ3NZMRK5SK/kbfHd31ckhcG6FUPQX33lj8QA2d4TI5+1PqMzqGg==, tarball: file:projects/arm-maintenance.tgz} name: '@rush-temp/arm-maintenance' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -14541,23 +14511,23 @@ packages: dev: false file:projects/arm-managedapplications.tgz: - resolution: {integrity: sha512-xcC2gXy4yMak1dsAQZ90+L15G7r5c3yFMkyh9OKosi8wG87lhAc55k1jk+nWS2B6WoqIwKWbWdF3xAuQLTjurw==, tarball: file:projects/arm-managedapplications.tgz} + resolution: {integrity: sha512-x45e4cSI4uAh1K8TZKBjIEBa8ONrS2pndGLkNJALxeCF0WnPfnjnin9ievz0SEn33vCQYHDWhA0mTa9T1j71SA==, tarball: file:projects/arm-managedapplications.tgz} name: '@rush-temp/arm-managedapplications' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14568,23 +14538,23 @@ packages: dev: false file:projects/arm-managednetworkfabric.tgz: - resolution: {integrity: sha512-p7RcdA+wL3TCKxLeVjpurjFLU7ETSE6NZJbSst/2SDe85kIRjxNa0v9oZL/c6Bwxjk3ABOcxiM87qPXVHhW2Kg==, tarball: file:projects/arm-managednetworkfabric.tgz} + resolution: {integrity: sha512-UpgMeaPtnHKpfIJveCbCBFBvALedwS5J1ZmylwfWWnVk8Fk4wJkBphLdCbPP9VtJrcG7+7mopGb9gNMuinGdog==, tarball: file:projects/arm-managednetworkfabric.tgz} name: '@rush-temp/arm-managednetworkfabric' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14595,22 +14565,22 @@ packages: dev: false file:projects/arm-managementgroups.tgz: - resolution: {integrity: sha512-B7O4vAu0ZU9NLnrC+9XEoEnaCqZsofKWeeJBJf4iqLBNpXPyEr9S4vegeinuponSHgkPX7K3VMWoJGl9u52a4Q==, tarball: file:projects/arm-managementgroups.tgz} + resolution: {integrity: sha512-naErVuF6NP7dUvNRnLnQyQLAxhBrG4vClYWBBeBcue01sG1H+yPsKTMHRWF0FvrNKkhJ2QXJ7cUE3bBfIDwdkw==, tarball: file:projects/arm-managementgroups.tgz} name: '@rush-temp/arm-managementgroups' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14621,22 +14591,22 @@ packages: dev: false file:projects/arm-managementpartner.tgz: - resolution: {integrity: sha512-RnwjZkNbDxsLU7STx1Wjie0EcbmMzKLQsef/yx5VrilY/pa7kKLerawjMVYn1iM7rOYV/itMxBOzEnXM7Umu+w==, tarball: file:projects/arm-managementpartner.tgz} + resolution: {integrity: sha512-V/5vfpNX3DzXMWL1Doz+af2hWGrnRM+5vO7FOTK86appRUuPA3CDBza8uYQFsGvTJFdbeDhJNYo7rbYbV2IK9w==, tarball: file:projects/arm-managementpartner.tgz} name: '@rush-temp/arm-managementpartner' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14647,22 +14617,22 @@ packages: dev: false file:projects/arm-maps.tgz: - resolution: {integrity: sha512-LBFxDOR4MDgM8ER2PIIvO4v48K+xhHLFwr4agj29JVtWGnP+qU3NiUtBIYcCjzF2P9yh3K0l2WVuxOIRcmgX/w==, tarball: file:projects/arm-maps.tgz} + resolution: {integrity: sha512-iyevSHmaCF3/3r0HnXyLeD+UDAnu0eFFC7l+B+6KS7w6002PbA8qI3wZKIKtkNJ3EjD00Jl/KjiZszXPqLJ4fg==, tarball: file:projects/arm-maps.tgz} name: '@rush-temp/arm-maps' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14673,22 +14643,22 @@ packages: dev: false file:projects/arm-mariadb.tgz: - resolution: {integrity: sha512-vE2H9yszk8Fsmt6okk93OVMRjd2TaPLGhVlbQn7MaQiXI2qxQmIN76gmmuTWph50SiWT+FmUNqJniY0aD9M67A==, tarball: file:projects/arm-mariadb.tgz} + resolution: {integrity: sha512-MWtCbkD8+NPqz7gEONslSXEIAZistS7cxUuk5IcobtAre+TCY0r5ePIIto9A1J4Ry2E1kI4PgbJoKyzzlo2T8A==, tarball: file:projects/arm-mariadb.tgz} name: '@rush-temp/arm-mariadb' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14699,22 +14669,22 @@ packages: dev: false file:projects/arm-marketplaceordering.tgz: - resolution: {integrity: sha512-mvbBWVanivDkhML7A+B7Ajhc9viR+MWRsejF0xf3vLJCtHC7uZ8oHUDEc9f6PRf71jnrCdNMe8t7onC4rZpmww==, tarball: file:projects/arm-marketplaceordering.tgz} + resolution: {integrity: sha512-BFieCiiReWqBU4Bn90MT/nct9TfLeElIIWVJRvM350z7is07/Zhj7EiKkGL7w/iT+lZhfE9LwiKXd9ooU8WqrQ==, tarball: file:projects/arm-marketplaceordering.tgz} name: '@rush-temp/arm-marketplaceordering' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14725,23 +14695,23 @@ packages: dev: false file:projects/arm-mediaservices.tgz: - resolution: {integrity: sha512-7QLoLg9/16IN1LvSC4Rg4l8ZVz5teMzswqgyy5OXwrTv645DTrO1Uscm3ghbiE6yG6po17T+ElxlwmF3Q5HyQQ==, tarball: file:projects/arm-mediaservices.tgz} + resolution: {integrity: sha512-CDOlz7BXiXRyWt8iUyf4eVpx3NEErWajEeIQABkPjeIWyoIvv8D0pAMQNzl+niGGkgGLTsBfVKby3Sl+GHP96w==, tarball: file:projects/arm-mediaservices.tgz} name: '@rush-temp/arm-mediaservices' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14752,22 +14722,22 @@ packages: dev: false file:projects/arm-migrate.tgz: - resolution: {integrity: sha512-LsBo7tCSvyNR+fMaTJfJ3+tEm28s2yDvosgL/AcDjZCuxDaEnH8NI1k7NVTmBnXJx+5TuZ3mK3/VjNlSyFZW7A==, tarball: file:projects/arm-migrate.tgz} + resolution: {integrity: sha512-v8R/vweVHlHPNNLDAoQvKfeRVQ7oXpt4YEeV8G7PylAKGAJVG4tKpsiG6Kkg5xAWUwF+5CQjIrsFgyU8SV+23g==, tarball: file:projects/arm-migrate.tgz} name: '@rush-temp/arm-migrate' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14778,21 +14748,21 @@ packages: dev: false file:projects/arm-mixedreality.tgz: - resolution: {integrity: sha512-Q+psd8EPbLB0M9BQ0/FhxytuM9rslkjHw0NXLagRgQ0wIIsdOAKtupBgnkaXN/dqu7hRxTMkvkaUqQCFXnakzw==, tarball: file:projects/arm-mixedreality.tgz} + resolution: {integrity: sha512-sYBluPy2FMEuhw35LFzDGCUBt5tRNZ+s32SdZQ4X4lZxTgyYunBA8u8XOaZNM4fKGdkRFwLg6EjLIvDp4cTwfQ==, tarball: file:projects/arm-mixedreality.tgz} name: '@rush-temp/arm-mixedreality' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14803,16 +14773,16 @@ packages: dev: false file:projects/arm-mobilenetwork.tgz: - resolution: {integrity: sha512-vFnMCn9qVBX91fybM9i+Grl1zb9IvgR/SbdqrpsS0K3edmMJVahXhR44CSBI/bD2zrzFlZnCnibVWDIq3Um2fQ==, tarball: file:projects/arm-mobilenetwork.tgz} + resolution: {integrity: sha512-szV/QySx5b2H7nf86GrReqVlXdKlnnwJ/I6RYZvbJSC+0m/4VKwjh91uUPls/8lJeKNikrJ9JwSO3dewJREKpA==, tarball: file:projects/arm-mobilenetwork.tgz} name: '@rush-temp/arm-mobilenetwork' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@16.18.83) + '@microsoft/api-extractor': 7.42.3(@types/node@16.18.87) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 16.18.83 + '@types/node': 16.18.87 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -14820,7 +14790,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@16.18.83)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@16.18.87)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14831,22 +14801,22 @@ packages: dev: false file:projects/arm-monitor-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-HWAbTdMI2a3v/HGSyijai42JPgzaSxRgspUTGnIIxw5f+8w+50s1IyVFQHNJeQKkxg01eu2ue0MHnziLnv37DA==, tarball: file:projects/arm-monitor-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-cofYNg0UFFy+EfxpFwqzS3po2NIGuMeY5658PhcuwFK4JrF3B6KqtIx5PFFaMiZlnv6nTB9W0yXqKrnnxaQLUA==, tarball: file:projects/arm-monitor-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-monitor-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14857,23 +14827,23 @@ packages: dev: false file:projects/arm-monitor.tgz: - resolution: {integrity: sha512-LGe1iNUoZQYZrNM4/RNoR1/+EF8IbcjoApmtx/watdJQTkPGiiGJoZCf4s6VitBSLdthc+xSJ9+72cKXFvPLEw==, tarball: file:projects/arm-monitor.tgz} + resolution: {integrity: sha512-Efshfh+xTjfC56URQqDUCrE4Uz4CXRgP+O22PnXhrrmtufY52ttt0ChaeKHzhFIcliTi2BIKbWNPc5dBAppl9g==, tarball: file:projects/arm-monitor.tgz} name: '@rush-temp/arm-monitor' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14884,22 +14854,22 @@ packages: dev: false file:projects/arm-msi.tgz: - resolution: {integrity: sha512-Lwn16GKLfnJfDlPBpQQ3S7AVMHDUZABIS+e1mWDYgukN4ZPVPn0pXNuc9WoT970JtF8eaVdKJwjzzRLfB+UUXA==, tarball: file:projects/arm-msi.tgz} + resolution: {integrity: sha512-wdc183yCbS5B1hWay56jl87v8C15ofpipmg/LkjC/96X05HiBgCE6mo0JXtUi01lyqMV55sJshDIan7SCF1U1w==, tarball: file:projects/arm-msi.tgz} name: '@rush-temp/arm-msi' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14910,23 +14880,23 @@ packages: dev: false file:projects/arm-mysql-flexible.tgz: - resolution: {integrity: sha512-8ct3yqJVZgtDf4RG5p0cEoWq3Diu67dixpHz/vJT6XppTF9LFC9Eg6phTc2Mdv/R5KqE6fas1XrbhT0YiVsHeQ==, tarball: file:projects/arm-mysql-flexible.tgz} + resolution: {integrity: sha512-2OWuTKr2dm2jloyaQUujNd02bDOpBxP/mFFlYz3b9Om6U+6LHk96HbnNawaFE0r/i/ni+JhdedEqx1bgJuUkdQ==, tarball: file:projects/arm-mysql-flexible.tgz} name: '@rush-temp/arm-mysql-flexible' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14937,22 +14907,22 @@ packages: dev: false file:projects/arm-mysql.tgz: - resolution: {integrity: sha512-h+BTVXYteK0CeDUVTBqwDmwB1ZpRjOftvYOtLgwwt1K0GU8n0RNNANLYQLCpV3I5QchUFHZDMWpgMzFschmzhw==, tarball: file:projects/arm-mysql.tgz} + resolution: {integrity: sha512-ezWS1P7whjPMUjyfb6m9BSZbKg7kCA874ldLoYbNytscFviQn2p8StF4pBLwxqD6m2GGKQxeaHo38Pn1r0nWmg==, tarball: file:projects/arm-mysql.tgz} name: '@rush-temp/arm-mysql' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14963,16 +14933,16 @@ packages: dev: false file:projects/arm-netapp.tgz: - resolution: {integrity: sha512-NRbSU4tJHEd86VfwKHMbcal8t80wxgIPUPDqTeSleNgMA45Ri9gMA2nly60ouqM7yEO4OdIF9GTPflKSfSMPIg==, tarball: file:projects/arm-netapp.tgz} + resolution: {integrity: sha512-iOr22rUz3RnnZpiCDvp3RSo4bmPK1WzN4Xu5OF8wdmzW5Yg59oQVQlTOHhwNzvs/cA11omf0ttR4TmNaj/F68Q==, tarball: file:projects/arm-netapp.tgz} name: '@rush-temp/arm-netapp' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -14980,7 +14950,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -14991,16 +14961,16 @@ packages: dev: false file:projects/arm-network-1.tgz: - resolution: {integrity: sha512-+/uTgvdvzxGR+YCty75Sy6WOIEQArVbrpD6ZzEfrxrRpqW36HQjs72d77+73qPVQ08fpigR5eCASUK5H0DsCGA==, tarball: file:projects/arm-network-1.tgz} + resolution: {integrity: sha512-kcCcRRDpCucKA17wiiYbOvna84m4alTq68FhRTv6QtZa5OGACaE/se+vJokITCz1d5toOujUCyZ6jjkdbrWSPA==, tarball: file:projects/arm-network-1.tgz} name: '@rush-temp/arm-network-1' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -15008,7 +14978,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15019,23 +14989,23 @@ packages: dev: false file:projects/arm-network-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-LCineChGQdQRI2T/DTEtrG+i/A+XZrp7h/j8/2CxbveH94qQpxWrqVnCLlPgEEG9jXAlu2Q/unYxGu5o2OK7VQ==, tarball: file:projects/arm-network-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-tSqD3NQBVDjJ+3SxQNTPVkexM1HlO5maMeh7wYvJD42PMPni4uH7ojYnTtDXoUu7KlkQ66laBwSvr/XNDiYHng==, tarball: file:projects/arm-network-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-network-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15046,15 +15016,15 @@ packages: dev: false file:projects/arm-network.tgz: - resolution: {integrity: sha512-JoKUmprfuOrjFxiY68Y8NQlfVMoMGjoxRmQokRHL4mxgPkO1vcm/1o0r5+9JHnN9y+rYta/43v/eluNHt0c2WQ==, tarball: file:projects/arm-network.tgz} + resolution: {integrity: sha512-jI23ki0LYxtwy59OFvnMY3sYBbrtpuJZP84Rdyv3R7JzlyB3LVfaoT7PsPkQcdjCs6OfiNBbpI48qMK/DgG95Q==, tarball: file:projects/arm-network.tgz} name: '@rush-temp/arm-network' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 autorest: 3.7.1 c8: 8.0.1 chai: 4.3.10 @@ -15076,7 +15046,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -15089,16 +15059,16 @@ packages: dev: false file:projects/arm-networkanalytics.tgz: - resolution: {integrity: sha512-eVa07skT/98o2bwqgqQbEN1y/UwzoFOOIfUg/YWFWz8w7iYzktIN8GyeblJMnmB2J2/Lo8hQdgD8mfK3XVu9AA==, tarball: file:projects/arm-networkanalytics.tgz} + resolution: {integrity: sha512-C379kFhClyqTlThUmNlHIfBUkJ/D7Bpz8FpPPH/VxT9PFHeBOBRugg8DETWzEFhPjgFTB6GbV2YiXE5dGkApkQ==, tarball: file:projects/arm-networkanalytics.tgz} name: '@rush-temp/arm-networkanalytics' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -15106,7 +15076,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15117,23 +15087,23 @@ packages: dev: false file:projects/arm-networkcloud.tgz: - resolution: {integrity: sha512-NCBJCvly9qFhObxV7wLo7M/LaYkwfSx1Aw4mXzOYDNsukmrH3pHUnwZi80tUh4+oiAVd4NSa9MEiTqDlZd9llQ==, tarball: file:projects/arm-networkcloud.tgz} + resolution: {integrity: sha512-/jywTEuTPqjudCfBCxEYW/HQdRkNeifVdr4jPMhulVTRwsMRLBRijaAuf2gWNlDb61k5Wwyx3lvLpneaQJy/WQ==, tarball: file:projects/arm-networkcloud.tgz} name: '@rush-temp/arm-networkcloud' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15144,22 +15114,22 @@ packages: dev: false file:projects/arm-networkfunction.tgz: - resolution: {integrity: sha512-Z34SPZJ2yJ6iyU2XhNtss2so3u9r700aK+jrSIBHDlHUi7SCVr+srrWXHViolEwnARFFTCjkFPcGICjr9S7ccw==, tarball: file:projects/arm-networkfunction.tgz} + resolution: {integrity: sha512-W0xCa7YjUaJ8KWL48v+dSChszFcpar9VYJkckqzrqqtr+rVpXA+Qlghmmq4UwuFPSKpzdWCQztTz3tMxuTv38A==, tarball: file:projects/arm-networkfunction.tgz} name: '@rush-temp/arm-networkfunction' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15170,23 +15140,23 @@ packages: dev: false file:projects/arm-newrelicobservability.tgz: - resolution: {integrity: sha512-OX7qpyv3z9EQxyDSzQt4K0iwOacNu/o0r58CHC8k5kHRHquAVDia5sE6j0tN5Q+odhvdxZKUooXw4LRQC8FG5g==, tarball: file:projects/arm-newrelicobservability.tgz} + resolution: {integrity: sha512-fSwUreQRzyD3E2QvkZ7RHVaq++ZpZHYwV4igjsiBXi/xKjbtGOgxjABDnUimkTz5kHjBAGpNmNy1wQG3znpwkw==, tarball: file:projects/arm-newrelicobservability.tgz} name: '@rush-temp/arm-newrelicobservability' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15197,16 +15167,16 @@ packages: dev: false file:projects/arm-nginx.tgz: - resolution: {integrity: sha512-LoqehVB1afT29IOfLh7Qk5tO0L+Shm6R2NDTuhARtR741dNCcFgJGvcwfG15h9SoMvNE0r9dToFU1gMloGTLsw==, tarball: file:projects/arm-nginx.tgz} + resolution: {integrity: sha512-UWfk58+Oa2IygrftoJrMt9kBO7RG4+g5qZrjrOz9AU8m2sC8BJFh7NybgRl9wgLy8ESHQR6HuUNpy3X5ef7wwg==, tarball: file:projects/arm-nginx.tgz} name: '@rush-temp/arm-nginx' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -15214,7 +15184,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15225,22 +15195,22 @@ packages: dev: false file:projects/arm-notificationhubs.tgz: - resolution: {integrity: sha512-jKI293g20PoBmUCOGlCyMaqSELaMO10wwcclQyqOwdJJrophygB6lLXXFW8APhhlo8DhtAOv1/jIf9OWzodipQ==, tarball: file:projects/arm-notificationhubs.tgz} + resolution: {integrity: sha512-I1FS9xc0y545E4Q8dJFj1uFhkbykV2RJVI61eqy8nL3bh2R0Z8cxMbtd/rYIRdiy/l62QCC8iX7KomAWsO6NSQ==, tarball: file:projects/arm-notificationhubs.tgz} name: '@rush-temp/arm-notificationhubs' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15251,22 +15221,22 @@ packages: dev: false file:projects/arm-oep.tgz: - resolution: {integrity: sha512-gxo797QyCyQe7orCyMnvnzy7u436O0VJn71cbCBolurYom8f8ljS0PWt9hfT8NQ+dYvnWncGkHRALMAwaGdm+w==, tarball: file:projects/arm-oep.tgz} + resolution: {integrity: sha512-uEx7/GpRn6UiRy0iVP38og9AaR6FB9yQES8mDcS21TuazUwMYteEONiHCz5snmQiLTSG8eqD6Q1naHUo7Sq/OA==, tarball: file:projects/arm-oep.tgz} name: '@rush-temp/arm-oep' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15277,23 +15247,23 @@ packages: dev: false file:projects/arm-operationalinsights.tgz: - resolution: {integrity: sha512-Wyb7Eb0ySdtcocGGKaKgFkednNki++RMfltXBtWGvyC097tud2IQz/QxM26dqlIzLkHhgpRR+BbZBzAi0wHvuw==, tarball: file:projects/arm-operationalinsights.tgz} + resolution: {integrity: sha512-LnXw8KN1Xetot9SxduGDGub5SJlIHcZVAfvHYknMEK7laeFsthbDtaJhMLBnDVmuhWSGv0Pp35c91zEdPf+iYQ==, tarball: file:projects/arm-operationalinsights.tgz} name: '@rush-temp/arm-operationalinsights' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15304,22 +15274,22 @@ packages: dev: false file:projects/arm-operations.tgz: - resolution: {integrity: sha512-dpgWL0kDJp4/hfPNsEYozAAg6YMwwi6cXfHn7wsmv7R+qktlTa2PEQyuirfoDQIFD1chTEgquQ7WtpwI+KN7nw==, tarball: file:projects/arm-operations.tgz} + resolution: {integrity: sha512-hXOQDmMAllVkylM7KYMMgtQIZUJ12DH/6RowMWU961RYR1Q/E0ilHMu7Y2tdT/TIzBpS+8ksmF7giXlFsiStpA==, tarball: file:projects/arm-operations.tgz} name: '@rush-temp/arm-operations' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15330,23 +15300,23 @@ packages: dev: false file:projects/arm-orbital.tgz: - resolution: {integrity: sha512-i4wi1IyjC0rtnSs3znILZx+jLnUHejlGb9wB0SGRr8hWCRMhlUqLnYmA19ex923NQwU/Vc53Z6mSNTSe/WeEVQ==, tarball: file:projects/arm-orbital.tgz} + resolution: {integrity: sha512-tXA9+IdDIWnwYyeoe6bUpNT3Q5rcPnA7BsBtGaIsdW6oN+nqpbg9098U6BT5Q8ak36o0TBiT+dx/Tu6dEWhL8w==, tarball: file:projects/arm-orbital.tgz} name: '@rush-temp/arm-orbital' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15357,16 +15327,16 @@ packages: dev: false file:projects/arm-paloaltonetworksngfw.tgz: - resolution: {integrity: sha512-+s2/hTPQ+ei20+UDdn8CBJQzWlXSJvPHr3Bg4OuBmN1MVrpQXVDOHYCWWiNTNX2slbijSSYxFj92QWohThNHXQ==, tarball: file:projects/arm-paloaltonetworksngfw.tgz} + resolution: {integrity: sha512-SaodGf9bzBLZLfAkVcSdAodHHLKlf3LHYIN2WpwkAdXKzm4OPV/+MD7F+IMZmQRDH8jY8pfipka6l5UBUFbLbA==, tarball: file:projects/arm-paloaltonetworksngfw.tgz} name: '@rush-temp/arm-paloaltonetworksngfw' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -15374,7 +15344,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15385,21 +15355,21 @@ packages: dev: false file:projects/arm-peering.tgz: - resolution: {integrity: sha512-nwxqfuEt8kAizeFNun74U6uy9qPQRHbNIkGqAIEmcjcw141TAaSdPe5vYH1pyoxaO4WajA1b6cH5FqC5aMV4dQ==, tarball: file:projects/arm-peering.tgz} + resolution: {integrity: sha512-bMJcA6Z2q0AZlFEFmf3swnCUS9Uh+SzdjCFhkrNbLtb4uhvCUrzzuf5bvfXxR/sDz9Hltv7lHIev3DigcFc8aA==, tarball: file:projects/arm-peering.tgz} name: '@rush-temp/arm-peering' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15410,16 +15380,16 @@ packages: dev: false file:projects/arm-playwrighttesting.tgz: - resolution: {integrity: sha512-uvMCb4UDoIroxhOOohR+imdakfekXiJkBk0ltX3gJ7i+as7tkqfauzRGRzpSTJCaEVDXSW50P2nBUFZp63xKtQ==, tarball: file:projects/arm-playwrighttesting.tgz} + resolution: {integrity: sha512-CJf33p9Vv7ylIvsbdEzMuXFikIrP2QojqX601qJoHwFanjrU05ADROulvioErYQgMjafcnUV2TaxQRv7e89mbA==, tarball: file:projects/arm-playwrighttesting.tgz} name: '@rush-temp/arm-playwrighttesting' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -15427,7 +15397,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15438,22 +15408,22 @@ packages: dev: false file:projects/arm-policy-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-Wa8k5UqQgrp4U/+GrOitGrrx3hiG+b8O3t3wc2d1ijEMSyKSyuFYg56HQlGWsbZBIJpz0lQxL5l1nU9nEnAUlQ==, tarball: file:projects/arm-policy-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-ScDB/DBpaVYtx/VyVsUvIlGLL38Ob0vFMj6kOdTvwtBz3GBW8YK76hHbwzq5p9UY+3CWNFlGdWBPM3ogPqzU/Q==, tarball: file:projects/arm-policy-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-policy-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15464,22 +15434,22 @@ packages: dev: false file:projects/arm-policy.tgz: - resolution: {integrity: sha512-aB2FSfveainXfLvZI6RowqO90yRj2xCFke52+mVFnXAwv03jGxQ6ewsf+MKp3ALHsSrIDfMcSOX/sWwfbSABaA==, tarball: file:projects/arm-policy.tgz} + resolution: {integrity: sha512-AEZgoj/i7SNLMWguRNvmLssudvwgZ0S6IiPxj/EKZrFJjIYgQdWuQA2RlzjIIB2jz217+VolAwO9XRXSZfylyA==, tarball: file:projects/arm-policy.tgz} name: '@rush-temp/arm-policy' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15490,23 +15460,23 @@ packages: dev: false file:projects/arm-policyinsights.tgz: - resolution: {integrity: sha512-KRYQKocGsCeJ+CDRWzkV4vweX0Qxgil7Y7lrTNhsWdBXLYmMIEn4IBmDb6uTOao+klGCGhqZp9R+Sa7EecLJ+Q==, tarball: file:projects/arm-policyinsights.tgz} + resolution: {integrity: sha512-qvjuosuqlOAfGzKH5kr3XKzeDrE1zmd/u2c0gML81dz3Cah1tSdeZaXED4uziqro4WLTdrn5PSN6m6XvVUDfiA==, tarball: file:projects/arm-policyinsights.tgz} name: '@rush-temp/arm-policyinsights' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15517,22 +15487,22 @@ packages: dev: false file:projects/arm-portal.tgz: - resolution: {integrity: sha512-OT6lsn37reuBJ5wweEPXg+Sx4K0Q7Vz0qhnzVETQutPDn/h7TzRtc5XW/znrdI1cmelSl+nJaY4FLAxGc4eBSw==, tarball: file:projects/arm-portal.tgz} + resolution: {integrity: sha512-2/pAo489o9F6JvBw1qjuFgPRxbNqM/LqqvH2N3eCuHF+o6jPWCaFrnUaduvRvITU+90e7wnKy0ma1xpNYHzKug==, tarball: file:projects/arm-portal.tgz} name: '@rush-temp/arm-portal' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15543,16 +15513,16 @@ packages: dev: false file:projects/arm-postgresql-flexible.tgz: - resolution: {integrity: sha512-l0Hc7dJBOdXsPU6AZ4XQwmwsq9bjfTIm4CLaCTTbS9wrvs3lJn/HshqsF+shfCdRhQPCX9zkLOIhKutTsWr3QQ==, tarball: file:projects/arm-postgresql-flexible.tgz} + resolution: {integrity: sha512-l0vG6NpEp/wDV8Fotsu59mf16K2gelt+zcA4oj2F0rlCR/LPDYIs29GS0P6hbBz8cvJhbeYGxLENs6r1RVKIXw==, tarball: file:projects/arm-postgresql-flexible.tgz} name: '@rush-temp/arm-postgresql-flexible' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -15560,7 +15530,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15571,22 +15541,22 @@ packages: dev: false file:projects/arm-postgresql.tgz: - resolution: {integrity: sha512-M5ds2idICzu8Gw/+v6o/xYvp+2UaYke3IJtoyy11KRvqmT/DF4v4VZTAw5INVRx5nFbtQN/lp72ZvLWGOI/K5g==, tarball: file:projects/arm-postgresql.tgz} + resolution: {integrity: sha512-LBmz0Y4Rka9qVxtNekE7hUZHzSJ1Wak5pvO7qAps4xrRGVJ3D35Q5FUSDQOxtb44FxX5i+z7a2LyfREpI+MhnA==, tarball: file:projects/arm-postgresql.tgz} name: '@rush-temp/arm-postgresql' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15597,23 +15567,23 @@ packages: dev: false file:projects/arm-powerbidedicated.tgz: - resolution: {integrity: sha512-5Qa8t92V81IOeEsn/1yi4cDf9lxui561+EnV2MezUq247fD8P3UFhb4ocRMIWsQ2AWawtCPvOsBOeAG6FVXWxw==, tarball: file:projects/arm-powerbidedicated.tgz} + resolution: {integrity: sha512-ajCMyddRyk4S7o5Dg51r82VCn7kiC7w6CUWJLjceafh+4eU3vkSERS8Gatw9JWS6vyP3quxJzh0J7SiJnH8XAA==, tarball: file:projects/arm-powerbidedicated.tgz} name: '@rush-temp/arm-powerbidedicated' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15624,22 +15594,22 @@ packages: dev: false file:projects/arm-powerbiembedded.tgz: - resolution: {integrity: sha512-yZSYyun5j0/HNDTHSfmHp6ox5vHB1zRvVfqfKkLUUBay2wVhMbo26tK0dkHUB5easM8bxI9NfrAjp/deGVPg1A==, tarball: file:projects/arm-powerbiembedded.tgz} + resolution: {integrity: sha512-dbkP9c/pUaT6jXZOv2usIoT8Vcd6HRfVFu/GzZbGZiMENqRBdMQ/bXMNtPRSExqpP1y6AsNNVUTPSBSNJO4p9A==, tarball: file:projects/arm-powerbiembedded.tgz} name: '@rush-temp/arm-powerbiembedded' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15650,23 +15620,23 @@ packages: dev: false file:projects/arm-privatedns.tgz: - resolution: {integrity: sha512-iaQLjspd71wTIt4eSsvbIAP45CTozAm5paQyI7fWVcJzWrIGC6mFOTz+OBeeuupKzUcoAR0X8VMCUMWvlde7uw==, tarball: file:projects/arm-privatedns.tgz} + resolution: {integrity: sha512-Go/oNw0Y+VzYySaXVplOaAjQ808KKCytP2QRoJoad34bj7SIF1PzpzX0G0nGAQTMimCUD8KjeY5QbKrVXHfYiw==, tarball: file:projects/arm-privatedns.tgz} name: '@rush-temp/arm-privatedns' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15677,22 +15647,22 @@ packages: dev: false file:projects/arm-purview.tgz: - resolution: {integrity: sha512-x+zC/tSdWxGQIAXh4IQtQygsK+VO7Z+ndKNFvHighw+pDeyCOqabJ/EDBfYRiUbKKsHG9cZZ9dHrBpD/8eAldg==, tarball: file:projects/arm-purview.tgz} + resolution: {integrity: sha512-vGftQJy9mWyJQ/wL92XNBfHK9njHJ1u7FY1UNMBpVIVOF2plh2ueErK3XZZ63AJQKMzJnJ8aKEkUaUjQSLZPGg==, tarball: file:projects/arm-purview.tgz} name: '@rush-temp/arm-purview' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15703,23 +15673,23 @@ packages: dev: false file:projects/arm-quantum.tgz: - resolution: {integrity: sha512-Yyur1awjPnsHv9Pna5PtMZysZFEfci39iDAJdfw4gg7WGdRYjx8HeXocX6MKSiM5/qb544MV98arZAaE+Ar3tA==, tarball: file:projects/arm-quantum.tgz} + resolution: {integrity: sha512-M8kaJltyou+nUeP0MF+p0i3uZX7MWK4VPt/ef5Rck79ikz5R5g1TPJ5ZBQod2Wp2h5NPsFNwaiWFkePrUGImHQ==, tarball: file:projects/arm-quantum.tgz} name: '@rush-temp/arm-quantum' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15730,23 +15700,23 @@ packages: dev: false file:projects/arm-qumulo.tgz: - resolution: {integrity: sha512-g3rgrE9ZtbElbL8Te8fKtmIQAhZWqVTaXEV6FW9vTlCGspjh1zTV7IYIE+Poc12Agg4IOeLKWM/UOVvmyGPNbg==, tarball: file:projects/arm-qumulo.tgz} + resolution: {integrity: sha512-GNfb2C0thI6BztiDRxWxekFhaNMrxfr49TUTM6I8FqAcQX3TZ7+Xn6not89GXiMWVathvrFf8TMkoJ7ZGrYKKg==, tarball: file:projects/arm-qumulo.tgz} name: '@rush-temp/arm-qumulo' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15757,16 +15727,16 @@ packages: dev: false file:projects/arm-quota.tgz: - resolution: {integrity: sha512-SliWaIN+Rcv9IO/Jg5OpZ8rxNzffNfZJOa375V45hPzipbZhzW0s+9MaxYzA3zFcbuiL7UMLpoOVYxWMQejEzQ==, tarball: file:projects/arm-quota.tgz} + resolution: {integrity: sha512-NCB8Nen24P4lV4Wy+a95Sw4HrMVkqcklyfs3HMOb0IxFrpThJiOJhS1rXkvD5Ec1okfBfNPcwzWQLvt3HOEjWA==, tarball: file:projects/arm-quota.tgz} name: '@rush-temp/arm-quota' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -15774,7 +15744,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15785,16 +15755,16 @@ packages: dev: false file:projects/arm-recoveryservices-siterecovery.tgz: - resolution: {integrity: sha512-oHs4BOulQEkaG3QFPJe0IyomjAZEinjir0bYx2s68YRO+rGj0A+Sv/Qnm8LoB/6BTjUl42nLBCS7eJUpYe4WmQ==, tarball: file:projects/arm-recoveryservices-siterecovery.tgz} + resolution: {integrity: sha512-b/d81K7IFPOaKtope73jrqBUNX3I3gT8DCJD2gFLWxwmkkjD0CJLFOmMUhAxlIO0RSyvOakXpwYaKwsc1BF7nA==, tarball: file:projects/arm-recoveryservices-siterecovery.tgz} name: '@rush-temp/arm-recoveryservices-siterecovery' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -15802,7 +15772,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15813,23 +15783,23 @@ packages: dev: false file:projects/arm-recoveryservices.tgz: - resolution: {integrity: sha512-iqNtY8YcvXuQYIeUxhbhCvkji454xHj9UjfVM9r6N3akRvT+oVW7sjpNmm6Gw589QjHwdQgR5EGJnRrTsUrMMg==, tarball: file:projects/arm-recoveryservices.tgz} + resolution: {integrity: sha512-OzGxbqydzboTjE7i/WUZZuPcWWP5hrWN1Y5sz51julbp5mrrCEsbAfLJ77/AcS2C8tjFQjkpoHNXbUkJ3QoJ7A==, tarball: file:projects/arm-recoveryservices.tgz} name: '@rush-temp/arm-recoveryservices' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15840,16 +15810,16 @@ packages: dev: false file:projects/arm-recoveryservicesbackup.tgz: - resolution: {integrity: sha512-CgDiJWEfBie5uPa9+Dm/wsTvLuvtJjhMB41s1uiteo4ApKDyqJhEEaSONEdpQG6LIgfrJiywobzqGUjNIfMEAg==, tarball: file:projects/arm-recoveryservicesbackup.tgz} + resolution: {integrity: sha512-vJd7uw+vO2EWOgb4Q2VS1w730vcEK4IKXWEdHKeULLiKQkOMC2R5yv+ScT4W5qLrpPWxofVGdtvlTChaVFuxNQ==, tarball: file:projects/arm-recoveryservicesbackup.tgz} name: '@rush-temp/arm-recoveryservicesbackup' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -15857,7 +15827,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15868,23 +15838,23 @@ packages: dev: false file:projects/arm-recoveryservicesdatareplication.tgz: - resolution: {integrity: sha512-24kYQGbM58lv5R/61dogsGUC0izDyJKrMTR3KWJKYQH76CtODDn71J0E90qeyXrjRuwGqw+b34eZCaUqyUHX5Q==, tarball: file:projects/arm-recoveryservicesdatareplication.tgz} + resolution: {integrity: sha512-+BeQXBTf7kqyP76WWTlQv4QWnH7jTEp5YeFTlLmFPqNmW0Bc/Eo3A1CwWk5vXlax+CluToqUJWWwOlY0t+2djw==, tarball: file:projects/arm-recoveryservicesdatareplication.tgz} name: '@rush-temp/arm-recoveryservicesdatareplication' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15895,24 +15865,24 @@ packages: dev: false file:projects/arm-rediscache.tgz: - resolution: {integrity: sha512-mqMdKd0YceLk1s62hkd4wG7WdHbH+lAHLHvzg27AHCgw24bq2y9C1WuVSkhxVKk1TRx1zBihrxPy8Xb3fzEaYQ==, tarball: file:projects/arm-rediscache.tgz} + resolution: {integrity: sha512-4n8ys1OvtE9/Glu+R82iq1RAXAy8bQCdqfKCnmpi/XBBBTQy09gCxa2oaFd2gz2cvWpaQ+9iPEztdy4j/Vi5ng==, tarball: file:projects/arm-rediscache.tgz} name: '@rush-temp/arm-rediscache' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/arm-network': 32.2.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15923,16 +15893,16 @@ packages: dev: false file:projects/arm-redisenterprisecache.tgz: - resolution: {integrity: sha512-sI/vErh7yDc9Oufx+TIXMwNp1EH8DEznIA3832PJ9TeG+Z+dS6e2+b96N86cfm6KrXbRfGHnONJfp6BEH+3B8g==, tarball: file:projects/arm-redisenterprisecache.tgz} + resolution: {integrity: sha512-s+JbUbQxJxp9Xp8Em9GYV0o7ngPo55Mg97VaiwgBe6l9vu5LMcTTD383xdtwO7UDGkSfXEFUoNbNw+G4jKGtDw==, tarball: file:projects/arm-redisenterprisecache.tgz} name: '@rush-temp/arm-redisenterprisecache' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -15940,7 +15910,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15951,23 +15921,23 @@ packages: dev: false file:projects/arm-relay.tgz: - resolution: {integrity: sha512-xnKnpIHxEpsKfRhulihBggq//JkicyBaY7eyKIFi1utQ7H3qO33ZdCaQSVpNULOUdnfwoGhS3lZeMvlrkIYFSw==, tarball: file:projects/arm-relay.tgz} + resolution: {integrity: sha512-JlXpIV1zrOr+LpiWchISq1AlyNe8NpFmbnd8Us1TNJ5UrYOv942PP25GjqjOTIPt9dfmvx7+WyvxT11YPK+Mag==, tarball: file:projects/arm-relay.tgz} name: '@rush-temp/arm-relay' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -15978,23 +15948,23 @@ packages: dev: false file:projects/arm-reservations.tgz: - resolution: {integrity: sha512-3iRs3Rasp6wqQReALavxv1Dyn08akPMzF72PJYYtLT6n9w0h+OhrmqJ93kkZlWbkY/yujmqHGI12z17zVahvuA==, tarball: file:projects/arm-reservations.tgz} + resolution: {integrity: sha512-vasJSz66UVx6WHC/riLzubuHEUXbZjRdSb4tWNUW3Tn6tflQE53bzn1ItzFVZwdGYkIqjAesNhiVIA9tmrogCQ==, tarball: file:projects/arm-reservations.tgz} name: '@rush-temp/arm-reservations' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16005,23 +15975,23 @@ packages: dev: false file:projects/arm-resourceconnector.tgz: - resolution: {integrity: sha512-B9lagXZTe7K5PZ8NejCd5z8k3+7ZGwbdqlaHPH5RBrX55bV1IS4qhq3AJ6CuXVM8wejBdQYdu8wIdRc4KZsvdw==, tarball: file:projects/arm-resourceconnector.tgz} + resolution: {integrity: sha512-gy7eAtkdZt738VAx8eTfHQa5lc8Fj2FQjAk6W/uUVAAbmXLZ3ASm370F4gVOsRVUzxcZKVMKVgtx79xjiw6YxQ==, tarball: file:projects/arm-resourceconnector.tgz} name: '@rush-temp/arm-resourceconnector' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16032,21 +16002,21 @@ packages: dev: false file:projects/arm-resourcegraph.tgz: - resolution: {integrity: sha512-zUH7LG2pwzVDPlZCI4VhBJre2Df2c33s7NV+ux4ZRc6MSlt1mcxtXxEYvfMXNf7+Zr+sZBXmfcMiVs8+VuhQCA==, tarball: file:projects/arm-resourcegraph.tgz} + resolution: {integrity: sha512-xQzcEpIRXN7JoZUW1lA8YasKIzAb8R53i9pJxiKq+OKSLqYl5h5Vk6Zbi2+LbPYRM0C+NlHm04r/gpE+eThJdg==, tarball: file:projects/arm-resourcegraph.tgz} name: '@rush-temp/arm-resourcegraph' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16057,22 +16027,22 @@ packages: dev: false file:projects/arm-resourcehealth.tgz: - resolution: {integrity: sha512-QKYu1rCesMdlYKEKRHiTU1UeDDxNFERyKyXDh2847lxymwPP/D1MRzCP//Ctri6pe2jvXNUIZQ7fGV9ufLdtyQ==, tarball: file:projects/arm-resourcehealth.tgz} + resolution: {integrity: sha512-Z51b5HFcWWH29xEmIXXHHtKVUfQypZzALV6iTjCdD0qXITxApCxJLFse21nYLA48sBUbt088A9GHYCIBD/m2SQ==, tarball: file:projects/arm-resourcehealth.tgz} name: '@rush-temp/arm-resourcehealth' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16083,23 +16053,23 @@ packages: dev: false file:projects/arm-resourcemover.tgz: - resolution: {integrity: sha512-GfCk+cFykR+OoOwOAK4sETZulOSenwWMKQFKXow28F1TOsR7nWWRONcKMB0WOqsl4Os0XxMPF5y4uSSnAxx94w==, tarball: file:projects/arm-resourcemover.tgz} + resolution: {integrity: sha512-k7+ll78u2TfVXKR/W7UCIbPeSxCCrX8KSU+NEvUGgxNK+aygpqTmXUM8meudXQetPCcDa4TgMH/LbYA2ybzthw==, tarball: file:projects/arm-resourcemover.tgz} name: '@rush-temp/arm-resourcemover' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16110,23 +16080,23 @@ packages: dev: false file:projects/arm-resources-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-nMgyss1eb62firJEw9NM09/3z5YvqP7giS46NZ5e9ll9yHX4cJ3NWT3wHrNtwDpvb9lrV84laOv1RI5gScxpGQ==, tarball: file:projects/arm-resources-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-bmv6pnZKwvc1JpOIRG0VLSIUFOsU3d1X9SzP2+a6PEdaDEHgPQCxT7esdcfW78m788GB2IX+eJAZ7/ftw5Nvpw==, tarball: file:projects/arm-resources-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-resources-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16137,22 +16107,22 @@ packages: dev: false file:projects/arm-resources-subscriptions.tgz: - resolution: {integrity: sha512-ZLi8oi6cLlSk+Oc7Crje7aaZRCpFhQrTIRfH3p9Y0UbxM2uNB2C3DkTw2IYyNqezxrhPZfHg+3OHmm1b+U0qEA==, tarball: file:projects/arm-resources-subscriptions.tgz} + resolution: {integrity: sha512-aQa+zQmiVvqTjQNxtLs23aDqz6HvjnuhasprXgO/HC3URmZHryBN9B5fFO1RquR5xkgPWdE11518gFpBNu+m0w==, tarball: file:projects/arm-resources-subscriptions.tgz} name: '@rush-temp/arm-resources-subscriptions' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16163,23 +16133,23 @@ packages: dev: false file:projects/arm-resources.tgz: - resolution: {integrity: sha512-Qmu9lAuw2ebF6CJejpXYRp6msY9Tm80FEOUXCstYv1HTeuMT/XHWE51uiKtlzRX8mXIzEtKWqTLJbnA29HWAsw==, tarball: file:projects/arm-resources.tgz} + resolution: {integrity: sha512-VcsfgszOelIZOoH/4FhhWsUTtjFl2pvOLcQ3z2njGu5B8zkoIK1M1b7xu8kGp8b0iTnJUzcJHniFpXrb+9Ij7w==, tarball: file:projects/arm-resources.tgz} name: '@rush-temp/arm-resources' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16190,23 +16160,23 @@ packages: dev: false file:projects/arm-resourcesdeploymentstacks.tgz: - resolution: {integrity: sha512-JYfii9hNv1nNo/MVURWinVZLvStXzUhgAFwWGhwda9MEVnGqWxC2chsUZmB4SGjnsIQITuH/ValmCIPrRI6ZhQ==, tarball: file:projects/arm-resourcesdeploymentstacks.tgz} + resolution: {integrity: sha512-lcPYLyrvFVCkBL19YeAJOCcUyfKqX6Nn2gKUsgvy29vISakXeveFY21qqBINa8/VgTCHOURhZ67CP8fDZ1umAQ==, tarball: file:projects/arm-resourcesdeploymentstacks.tgz} name: '@rush-temp/arm-resourcesdeploymentstacks' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16217,23 +16187,23 @@ packages: dev: false file:projects/arm-scvmm.tgz: - resolution: {integrity: sha512-IXoHjgmuDT6lZv//NRYrQorGCNV4qvQZMw3nqZa+TVETc7SXtZ1XUJoChT7hIIFnAbvYBZx+9trbunaB8a7Y3A==, tarball: file:projects/arm-scvmm.tgz} + resolution: {integrity: sha512-6dtp0PZjlfSwh/I+Qf/R4nUjW0BF6kY6I4LNSbGSdk+bJoAdZ+6+UXZrUkBfFjv//pNI5Uf2GBF5NhhzpewYgg==, tarball: file:projects/arm-scvmm.tgz} name: '@rush-temp/arm-scvmm' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16244,23 +16214,23 @@ packages: dev: false file:projects/arm-search.tgz: - resolution: {integrity: sha512-Na4arZcPzswhzF8Fi0O0+dX7HyhCx21d/zu8uDFsqF4t7vhArbxewOFnYfMWGBubDvkRslDDUKWbZOsMI/57Yw==, tarball: file:projects/arm-search.tgz} + resolution: {integrity: sha512-g+7Hqxlm3v74YPvirCItNzAfEE+dFVKiZYfUTu8O8SUlJJqtcXWRcRu1XFd5sNrvjuPavzf61c2I1Oy3adkANg==, tarball: file:projects/arm-search.tgz} name: '@rush-temp/arm-search' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16271,23 +16241,23 @@ packages: dev: false file:projects/arm-security.tgz: - resolution: {integrity: sha512-u2esuhP1W9Bw2VFdjt2PWia9UCncJ4MSKDfRZiBjompPLsoxhK6YzKNjzRlj6xy/D9CRRveQ7tV/1w/Jt7eCkw==, tarball: file:projects/arm-security.tgz} + resolution: {integrity: sha512-qACFhnnwBFrThZ7rTUvxpSe+rFOlKRbgGZ/qy5Q6Mnu5ggDk+9p/7abIJG+Yyj8NC5HS09eELEs+K4eM9uB4wQ==, tarball: file:projects/arm-security.tgz} name: '@rush-temp/arm-security' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16298,23 +16268,23 @@ packages: dev: false file:projects/arm-securitydevops.tgz: - resolution: {integrity: sha512-28flvZM982prcnmb138ArBvrXooi85fOQeMoGj3J0okzqkKWjtkmCtO6Xz9tJY3aZ/Fuvg/r5kHvgZbU0kP0dA==, tarball: file:projects/arm-securitydevops.tgz} + resolution: {integrity: sha512-WFwbxg49BxfXBOH0+8P4kdnuri/AH9oNPKYS9O5Cmi87313R0Eht/Zzgb7/SMY78yo3s5deoJURru8t0DNrh6A==, tarball: file:projects/arm-securitydevops.tgz} name: '@rush-temp/arm-securitydevops' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16325,23 +16295,23 @@ packages: dev: false file:projects/arm-securityinsight.tgz: - resolution: {integrity: sha512-nmSllrgu/D2fIm0lEg+JBXXZszU/FM4LFJJkZXRDjLQNVUi1Lz/yz4x8b2CvoXsW1a871gTXOi8q1Y8gUpZc9w==, tarball: file:projects/arm-securityinsight.tgz} + resolution: {integrity: sha512-AQjct2rPlZn1Ru8fQ67UDbfVujDJUTnrHs+2Cv2ufopL6Orv5vVDBmp4kKQMIviKjTgDDyo0AVBtrIeaJCADKQ==, tarball: file:projects/arm-securityinsight.tgz} name: '@rush-temp/arm-securityinsight' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16352,16 +16322,16 @@ packages: dev: false file:projects/arm-selfhelp.tgz: - resolution: {integrity: sha512-q0aIALRKdXZ7X7EweAexYcIZIZcl1CebIl5ZjMHrAMew2cA1bkpCr9Qt2yejiuO7xEZCDVFREZxCLwQODbagMA==, tarball: file:projects/arm-selfhelp.tgz} + resolution: {integrity: sha512-OLahXFLD5DfBdbjyUkVzHNRBhKeM8HSPBkkFKSVufIOk+EfPH6E4gAUMGoMXf12nZ5UIsSIDSOZs3CEZ5oe8kg==, tarball: file:projects/arm-selfhelp.tgz} name: '@rush-temp/arm-selfhelp' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -16369,7 +16339,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16380,21 +16350,21 @@ packages: dev: false file:projects/arm-serialconsole.tgz: - resolution: {integrity: sha512-i5RTkCVappoHBeA3b3r/hiST+az8+zDEC7CeCvOi8SAlyu58zJewIUn6AioE+ZKQ5g3mKL7vhWvr/VyA9rgTeQ==, tarball: file:projects/arm-serialconsole.tgz} + resolution: {integrity: sha512-dl5F+DsMnDb26lV4oUQ0JwXTQEZLk8iGTzLHO0XVUYw3WB6wFmeNs3Q5xaij/TbNOq4cn6fDtICW+kl/eLRyPg==, tarball: file:projects/arm-serialconsole.tgz} name: '@rush-temp/arm-serialconsole' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16405,23 +16375,23 @@ packages: dev: false file:projects/arm-servicebus.tgz: - resolution: {integrity: sha512-71bEJOwUVHboeY+C685ShbjvT/cdO9NXdlcedl5eSugD32bShnObW3pKZ+Py0NiOxtCT+Xmk/gzZ0f0M0D7FEQ==, tarball: file:projects/arm-servicebus.tgz} + resolution: {integrity: sha512-MUuRxRAplWENpyAbZ9YlyNTPoMS6k8LfnfwqCt7g+TFqHTOsD/99ChEBqhB6be+QC9D9jmGy4J7Nw+JODDupvg==, tarball: file:projects/arm-servicebus.tgz} name: '@rush-temp/arm-servicebus' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16432,16 +16402,16 @@ packages: dev: false file:projects/arm-servicefabric-1.tgz: - resolution: {integrity: sha512-nsxfrZy9e4+uvS0s4SnZVNA49Lmk22yUTB3TZRC00zzoGuTl2/zXgbxjJ/DCRXojTAHPxAj4/enrOMVwNaj9yA==, tarball: file:projects/arm-servicefabric-1.tgz} + resolution: {integrity: sha512-2wxThW5vKAnYilJYqr4MdEdcPMPiz0ASVLSR1Jd7AgBAeeS/QhMDD8H4bWnpqs/4WzdxiZk5a+2Qr+NOxy5l8g==, tarball: file:projects/arm-servicefabric-1.tgz} name: '@rush-temp/arm-servicefabric-1' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -16449,7 +16419,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16460,15 +16430,15 @@ packages: dev: false file:projects/arm-servicefabric.tgz: - resolution: {integrity: sha512-dHSXtV5HilhWtF8WyDnTJ7DgLe4F85DVzVMs8BbN5EDioNrdalZ8tzPk+BiGsyBrtQ/VSPsRC/8EMps7HWY4UQ==, tarball: file:projects/arm-servicefabric.tgz} + resolution: {integrity: sha512-Co2PAgIlcFoJjZ3WHlg8TGDJCA0sdQLYXihgV0s0/Xd6sB9fXZt6NX1OzB86zQpWwF/ILhqQbUSGBVlhvdZ9eg==, tarball: file:projects/arm-servicefabric.tgz} name: '@rush-temp/arm-servicefabric' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 autorest: 3.7.1 c8: 8.0.1 chai: 4.3.10 @@ -16490,7 +16460,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -16503,22 +16473,22 @@ packages: dev: false file:projects/arm-servicefabricmesh.tgz: - resolution: {integrity: sha512-H40bxL/Rk2irrl7vylbxma3yRTJ1CzRHmlbvQEXBpjKFQifkCACxVGP13HAMBcAbZAMlkyqsMDVgH5daiE8TXw==, tarball: file:projects/arm-servicefabricmesh.tgz} + resolution: {integrity: sha512-hKIFXk5ywgwQf3Z2KxLSVivFg/WlCUf0MNOS4g0/D4nzX68OcGbKEA3veA7QD+HPaPBxfh81JkkjKRvPNGc2ug==, tarball: file:projects/arm-servicefabricmesh.tgz} name: '@rush-temp/arm-servicefabricmesh' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16529,23 +16499,23 @@ packages: dev: false file:projects/arm-servicelinker.tgz: - resolution: {integrity: sha512-ypfjkL6zxTQCeV1wGnuZ5jp+6xFn8xr3xxpSV7meOUpbK5g/FsPgAp+17VgL72PBWUOs7xXp5IFKYShcLKoX0g==, tarball: file:projects/arm-servicelinker.tgz} + resolution: {integrity: sha512-gO1Ynv8xmh6gAV292Xg8lRnpIDUuyLER88wTAFfByirhpWhiAA36TevG7igdodB5I7LSJ7wgP6A8mHyEXFSNRQ==, tarball: file:projects/arm-servicelinker.tgz} name: '@rush-temp/arm-servicelinker' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16556,22 +16526,22 @@ packages: dev: false file:projects/arm-servicemap.tgz: - resolution: {integrity: sha512-HcGK/ZGbBMFlRmQEjFOHxh2eEAiJD4oOktIWkw7b1ad1VSUayDyqEtyO+kwDD7Cye7+eqnOKK5KXtyq6bpCN/Q==, tarball: file:projects/arm-servicemap.tgz} + resolution: {integrity: sha512-5hAvmxN/pYBveHQdAWYkGNFpAzMJKCyt+cjS6CxHnZlxT9jmv0JmqZ4iyxrJY9v0tZJLf5iKpSkldSujFZuSrg==, tarball: file:projects/arm-servicemap.tgz} name: '@rush-temp/arm-servicemap' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16582,16 +16552,16 @@ packages: dev: false file:projects/arm-servicenetworking.tgz: - resolution: {integrity: sha512-1xeaplkloqUsU44Ww4L31jRxPXDNeB2vwZ71Vj4IVGThs/bJwAGRTin4AniXTGiI26OXZyNNoGbo7EvqdYOAkw==, tarball: file:projects/arm-servicenetworking.tgz} + resolution: {integrity: sha512-K/vw/qAVpygyid7wTMqoM9xOHEddvU/xstuFkGbC6TWdBHpPHdvpwhgEEZ0Lg/LpUJAAbo/DZRtjX7Tlf235Eg==, tarball: file:projects/arm-servicenetworking.tgz} name: '@rush-temp/arm-servicenetworking' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -16599,7 +16569,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16610,23 +16580,23 @@ packages: dev: false file:projects/arm-signalr.tgz: - resolution: {integrity: sha512-ZmMAsux5HFfA9YBrhXDyL1WiehPZSn2EoKESqoG14Zeo7POAxcIkP66kHx05vkfOYLwmfYewI9wbp0tQ990Y2g==, tarball: file:projects/arm-signalr.tgz} + resolution: {integrity: sha512-psByUZapvok/o+/UzSkfOicwB36a/80uOzZNekSWT7gx/yU3DOjzzLJRt4h4EvH1t8K2v1u6EJ5dVqvamis9YA==, tarball: file:projects/arm-signalr.tgz} name: '@rush-temp/arm-signalr' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16637,23 +16607,23 @@ packages: dev: false file:projects/arm-sphere.tgz: - resolution: {integrity: sha512-FecbO1rrKc54C8B70FYQblM9IMZu3xp+MYvqp1u+9VUoSGFsmkw47mZap9ApSqr2fbzXDFUVwl5faMAOl9iDCw==, tarball: file:projects/arm-sphere.tgz} + resolution: {integrity: sha512-7bB3KNhZkCOV4UuBBjk1eMAWMLgPwabZlacuN3UWTGk4hZipIi+BzbLxq59T8YR2jJVd/RjpbkTNf0EpImLDLA==, tarball: file:projects/arm-sphere.tgz} name: '@rush-temp/arm-sphere' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16664,16 +16634,16 @@ packages: dev: false file:projects/arm-springappdiscovery.tgz: - resolution: {integrity: sha512-A2tlPSTSESOP8s72ohjMiNNc7W7kN8Pgw9wsV/zDSF35uegD/9bh23qRy8UWHk65fzivRT6677tPfLyYIVrp/A==, tarball: file:projects/arm-springappdiscovery.tgz} + resolution: {integrity: sha512-Cvx3054L4wjXLqPYez9k27Kk6jV14PEnCRZQnX3E8JintkVnee/s0LwgDNtaRMcIG0Nwctmp7iJb4zUHdzzDqg==, tarball: file:projects/arm-springappdiscovery.tgz} name: '@rush-temp/arm-springappdiscovery' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -16681,7 +16651,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16692,16 +16662,16 @@ packages: dev: false file:projects/arm-sql.tgz: - resolution: {integrity: sha512-ex3UJHDftkICLCA5doTfowXFXLLV4D2nc4rTG/shZZjNsxDI92pqASoxVQgatsHDeFd4oklXVCoQHIG105bc4g==, tarball: file:projects/arm-sql.tgz} + resolution: {integrity: sha512-f2JeKbczdfYUglBcV15ua5iQWX0+kQiuANYmKb2jIr33ZvrqI8ITj5nY9wJwwf39VjknNUqG+YYlt+AgLOwzLg==, tarball: file:projects/arm-sql.tgz} name: '@rush-temp/arm-sql' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -16709,7 +16679,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16720,23 +16690,23 @@ packages: dev: false file:projects/arm-sqlvirtualmachine.tgz: - resolution: {integrity: sha512-/lyrMBelmHzvGtPf/WfQd7Ie/3zjXgC4QmkwnRkPtiqCf+0DXIR54w+MYcsmxy/5XXKxbpfDRNOgPQqejCShcQ==, tarball: file:projects/arm-sqlvirtualmachine.tgz} + resolution: {integrity: sha512-H3PCZcUj4J8LGTEMYqRtR3rRuqaVZ+J4ntuGONNiBSdDosHkyR2Zb9PCqJ6BpEyD+pY+XGIgO0NrHOf/N+9Fvg==, tarball: file:projects/arm-sqlvirtualmachine.tgz} name: '@rush-temp/arm-sqlvirtualmachine' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16747,23 +16717,23 @@ packages: dev: false file:projects/arm-storage-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-I6N9Dzp45uKP74OaTD+Zz0tsWS4nPf6e4FPs95IgGDCoWzeTDnesgj36U3rf/cq8ZXMtULEM3kf35aoe62QTzQ==, tarball: file:projects/arm-storage-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-A/lDTGj63BcUVlKDracjMmjqLnK6BSZYyVww2uvaHizZ1oKkQNPHdrSwy3CsLVZm0jzcM5a5oA47AyxQEGOhEQ==, tarball: file:projects/arm-storage-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-storage-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16774,23 +16744,23 @@ packages: dev: false file:projects/arm-storage.tgz: - resolution: {integrity: sha512-NaCFNQ7Pdl53jqJiSRCyGeftSaEiLOoAViaxVEz0ATYqkQTKX8GQgRtZya02ZjOX6zE7JyPAWTslA+IFTXLJVA==, tarball: file:projects/arm-storage.tgz} + resolution: {integrity: sha512-IsrRlXy9gZvyVd2b2l1pwItXE0Ny2/KktW1yHAL0SDZQrKdVDIUQl59swXoexqgYTGR5NOPKfXFVv2dd0Wflfg==, tarball: file:projects/arm-storage.tgz} name: '@rush-temp/arm-storage' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16801,16 +16771,16 @@ packages: dev: false file:projects/arm-storagecache.tgz: - resolution: {integrity: sha512-BmqN6ugeFzb49BkhF1bWQ6xJ8CD5y0mfAg+d+ZweVu0kjPTKCbhF8+Mh/mLpJ0zp2ha7S0EEE7ePWhTk0CAVpw==, tarball: file:projects/arm-storagecache.tgz} + resolution: {integrity: sha512-fM8T5Xb2jI4+F4Qh6yq2mwkfi+pSw781mYwVS9QvZcwoEpSAr779vVEdfdjyHseT5aGvVxMtdHUoSadfFgDSGg==, tarball: file:projects/arm-storagecache.tgz} name: '@rush-temp/arm-storagecache' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -16818,7 +16788,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16829,22 +16799,22 @@ packages: dev: false file:projects/arm-storageimportexport.tgz: - resolution: {integrity: sha512-GHyQElSN8jBqq+5ag5eZrOHi4VeXfOywe2GaORyTnFXTte2XTYSgpMxXfpxt3DPybZej2jieWmxqUG/b6VewqA==, tarball: file:projects/arm-storageimportexport.tgz} + resolution: {integrity: sha512-uiE/VT89Q+7TwXl3eBjcvDT/1gpGCMKWY1mT01K6JHicwGHmYrf5TxAEBw1RXKywwQ1siEk04dtTDIzyJOJVhg==, tarball: file:projects/arm-storageimportexport.tgz} name: '@rush-temp/arm-storageimportexport' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16855,23 +16825,23 @@ packages: dev: false file:projects/arm-storagemover.tgz: - resolution: {integrity: sha512-3PKBf2cm5mX9aivD/2DwLgpn95PyO3thDFjJ0CE58D1UzmwJNUOmhsEZ6ZKy7pFFmh2jYmTFzNIoU+xwg3sh7w==, tarball: file:projects/arm-storagemover.tgz} + resolution: {integrity: sha512-MFYVDNTzld7P77u8Ahv4hiPhUR3JYENMX3X+H62gfFzIvea4yswoKJ7k5GlzDG1uJ/grAUz5oIrnNXz3j7ln0A==, tarball: file:projects/arm-storagemover.tgz} name: '@rush-temp/arm-storagemover' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16882,22 +16852,22 @@ packages: dev: false file:projects/arm-storagesync.tgz: - resolution: {integrity: sha512-joRm8SmJIc86XZEolXZdFUCn5n/lnMynWLeX9dXR24yJxpY8wpO8bwJIKxfCPbUxohHiFq8lIxl63rEwgg1eCg==, tarball: file:projects/arm-storagesync.tgz} + resolution: {integrity: sha512-8eSsDVILdgrJHqo9fh3hVqo9OAlTz5gu/mZu6TXBbTon2oAhQ/dVFji/DsmgqTC+Hp0OqGsZT4W1d0b2X8oQOw==, tarball: file:projects/arm-storagesync.tgz} name: '@rush-temp/arm-storagesync' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16908,22 +16878,22 @@ packages: dev: false file:projects/arm-storsimple1200series.tgz: - resolution: {integrity: sha512-j91FpbfColfGYFcqG/Zdd5iJsHU7m4RzS3ilxSuMneHS277eCwpPlLpx4uLpFQxqTXeU84OJZI4zfMAzUIuc/Q==, tarball: file:projects/arm-storsimple1200series.tgz} + resolution: {integrity: sha512-KQePcPFTCqHq+6UQ16uMNhkvwRKVLB8hduJkVh4OfsrA9kfffsPifxvfCRo/SgMg9sxWuhj5bqvSiZD7NLJWXg==, tarball: file:projects/arm-storsimple1200series.tgz} name: '@rush-temp/arm-storsimple1200series' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16934,22 +16904,22 @@ packages: dev: false file:projects/arm-storsimple8000series.tgz: - resolution: {integrity: sha512-VRQ/YjAU5r/GytNGuxkLQm8dY6DYauU8tEZK4QiuHDKK2PAMi3htlfiG9zgvcZpY5qDhgCS6NG6bXHLIJZ13sA==, tarball: file:projects/arm-storsimple8000series.tgz} + resolution: {integrity: sha512-75eXnb9cnIg1faRH4oHjM0+8FtD3vmKtb7oYVhV2gL0O10Cr8UN8yQ8tA6N/cL/Zh+4O4cJDQRJwULKHrGkb7w==, tarball: file:projects/arm-storsimple8000series.tgz} name: '@rush-temp/arm-storsimple8000series' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16960,16 +16930,16 @@ packages: dev: false file:projects/arm-streamanalytics.tgz: - resolution: {integrity: sha512-bMBT/aKNcnJEPV/Dsoyly19s7obyxzppiRLG8QPeFpIjI8UarUMpLDlqPc7yYG767tbtOiqsTjQGb3kAE9VPNw==, tarball: file:projects/arm-streamanalytics.tgz} + resolution: {integrity: sha512-lUO5FclctX19VVQ2hjcS9wBbwCjkgS2ruhc/e4slK88hBm6oSsdR5ZFGSGXlIVUaFfoMiDqZkN2DvDeKeIsz8w==, tarball: file:projects/arm-streamanalytics.tgz} name: '@rush-temp/arm-streamanalytics' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -16977,7 +16947,7 @@ packages: mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -16988,22 +16958,22 @@ packages: dev: false file:projects/arm-subscriptions-profile-2020-09-01-hybrid.tgz: - resolution: {integrity: sha512-MFbYzgXZkhn0o2uvUgheWdCscLB6BJQRw1bxodgsbgBxOLjl6NAYiG6K8PJgQtjT66Km7/J6TjAZmbnG3fEAGw==, tarball: file:projects/arm-subscriptions-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-YRcQwLa7VJXk4rqSbKwvOrLX3P05ASOzFq3Yv/j6kxp7cRd7MOtcWA9Lkio563EHmfSmJ7cBnQGkpaWYQWW8bQ==, tarball: file:projects/arm-subscriptions-profile-2020-09-01-hybrid.tgz} name: '@rush-temp/arm-subscriptions-profile-2020-09-01-hybrid' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -17014,22 +16984,22 @@ packages: dev: false file:projects/arm-subscriptions.tgz: - resolution: {integrity: sha512-u7yuFd+M/tLW7d1vgyQalQUSfNPutU1UEbfpuMxRMdzFvzUJdVbxDy6ktk6YXDNg34X6AjDdi0T4usMfip69Fg==, tarball: file:projects/arm-subscriptions.tgz} + resolution: {integrity: sha512-M7rp04rhDaNUbmRR2V57BZ6GomyX37GVC6vUmtpV+4DLyJADh6Brl+1btNL5EN/0MySAYgcOBjKo+QmeNMWrhA==, tarball: file:projects/arm-subscriptions.tgz} name: '@rush-temp/arm-subscriptions' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -17040,23 +17010,23 @@ packages: dev: false file:projects/arm-support.tgz: - resolution: {integrity: sha512-3JVcl02aSpUgesD81sxncG7rK0U1nKN1aG2PO76mEizvWZYCtgU7j+UtFaBKr8hQQgnFv5nKUmc2Gg7ixKc/4A==, tarball: file:projects/arm-support.tgz} + resolution: {integrity: sha512-XgHePCWuTKjXuSHkZz20+016AqnFYLJ9cVZfFW77mqqU9JfJ9v29bYUXkJroBv3AWSIbRGE16qI+JIyv0nHK9w==, tarball: file:projects/arm-support.tgz} name: '@rush-temp/arm-support' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -17067,23 +17037,23 @@ packages: dev: false file:projects/arm-synapse.tgz: - resolution: {integrity: sha512-MpXgMplw6Ub2Cq3+wICiu2K434EIL3VHbUY0gQgARXmHqFYb+AK8133N4ARiGI37DIjoGPeQmzSsHVWGZnoKGA==, tarball: file:projects/arm-synapse.tgz} + resolution: {integrity: sha512-kOuS3lRnosyB8YQ3TziUxlUwgwGPCjz1Z7jlvXBMgH8TO8omKadOFQY/9hWQ4v6RARlVolwSHP1GNSvePmbfTQ==, tarball: file:projects/arm-synapse.tgz} name: '@rush-temp/arm-synapse' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -17094,21 +17064,21 @@ packages: dev: false file:projects/arm-templatespecs.tgz: - resolution: {integrity: sha512-e0UAtbuCrJ+ciKRKtK6GZCxe2ZzA6SnOJwMwkrWGU4oPROxsapRN8p8DjNu+OUAqLZPuMrOIZjrW14Y1It6lnQ==, tarball: file:projects/arm-templatespecs.tgz} + resolution: {integrity: sha512-EmKy5ke81PZG2w6t/d67Mqza32v/gsJ3/q3qSIfIU63+QCvmfXqcy2o88YsvLNPNRfFjylRJMSTgSwJczc7W6w==, tarball: file:projects/arm-templatespecs.tgz} name: '@rush-temp/arm-templatespecs' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -17119,23 +17089,23 @@ packages: dev: false file:projects/arm-timeseriesinsights.tgz: - resolution: {integrity: sha512-snC/fy5M7czA6QMqbhHDAJpOW7t2OUU9K50R3eT/ZExoqsuolkYmYPHV+UGP4H5RqcarIlIxT59+t0IoQnVVcQ==, tarball: file:projects/arm-timeseriesinsights.tgz} + resolution: {integrity: sha512-XoZWa4Jt0GMYTuSd2qRUglUWPG/sa/ty6703EJX8r/b6x3dd2YKucD5Ke5p/zq7csu8uCEb/klBkduj44vuRXw==, tarball: file:projects/arm-timeseriesinsights.tgz} name: '@rush-temp/arm-timeseriesinsights' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -17146,22 +17116,22 @@ packages: dev: false file:projects/arm-trafficmanager.tgz: - resolution: {integrity: sha512-K2hxsxFmVn+tzlhpo+KQzr5gIxRY0CWyQY6rKQJ/kll1ws0Q4f/uKThWAju4uAnr3woVR1UmX4i3GOIyNObABg==, tarball: file:projects/arm-trafficmanager.tgz} + resolution: {integrity: sha512-bg8nHImFEb1ciZRKU956sIjJGBNyqeckeiwaVbHrFtYORI0Sjt/2VNMTtAApCxJ38UASSisSVPUW7njG9sSEJg==, tarball: file:projects/arm-trafficmanager.tgz} name: '@rush-temp/arm-trafficmanager' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -17172,22 +17142,22 @@ packages: dev: false file:projects/arm-visualstudio.tgz: - resolution: {integrity: sha512-brjdBlZByMiKwKgdpxJA0uhCCg73m5NNOffwG5Wfli2JI25oPcnXNk2Vw0mghamnamqOcak/6BDi1/+7opOILg==, tarball: file:projects/arm-visualstudio.tgz} + resolution: {integrity: sha512-1Y9NsgDZSlN8vWd6LCK0Pem/9NYpSWamCh/bWSGLcs+UtmaUV1GuSwMnzjx/vVE6+ZJimBn+1FreRI198JVD8g==, tarball: file:projects/arm-visualstudio.tgz} name: '@rush-temp/arm-visualstudio' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -17198,23 +17168,23 @@ packages: dev: false file:projects/arm-vmwarecloudsimple.tgz: - resolution: {integrity: sha512-r9gtrD1gCaCbQ1XH4XSM/LfdE6keWeOaiSbPtb7QRs3f4UYar3/8zOt4uXjVNpnC+ho0o1bChpJ6y0rFsaPe0w==, tarball: file:projects/arm-vmwarecloudsimple.tgz} + resolution: {integrity: sha512-zhj2hQWVp2fvoUQhs1HseU6eV84EciqNDRA8j2OUtXtG0APU2XnnC26xb80cWJlk/mfHG5QCjq1arUi2zUeQDA==, tarball: file:projects/arm-vmwarecloudsimple.tgz} name: '@rush-temp/arm-vmwarecloudsimple' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -17225,23 +17195,23 @@ packages: dev: false file:projects/arm-voiceservices.tgz: - resolution: {integrity: sha512-3eB17MMGPKdd1mp3nXelGat2GBWw3Xy89Af4xJCFPYXuqs/Clnavu4FhsDr5osCEx+JR+apEIdW8ObjL3KMA4g==, tarball: file:projects/arm-voiceservices.tgz} + resolution: {integrity: sha512-IxfZerPD/9wJd0cnwIod168ubCV8tbS1XxSR5LUTTnmMErHluo2GID+MzMlH/5UqyAj1vA2m3FgMJr8x7KAaQA==, tarball: file:projects/arm-voiceservices.tgz} name: '@rush-temp/arm-voiceservices' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -17252,23 +17222,23 @@ packages: dev: false file:projects/arm-webpubsub.tgz: - resolution: {integrity: sha512-kjw/v4io7Hov1LS/yzhZpDvnqeubKxwt+hVjxp6FFBW/HUVCOOe4VQAWlhhN3BOBV5KBtokD7G+iT40k74uAaA==, tarball: file:projects/arm-webpubsub.tgz} + resolution: {integrity: sha512-OkIVPy5PpCCVJsorwfLwI/vvCcnQn0t2UU41O4QRbmosZfwRbF38+Ir0Wax3+s+d0kyRw8vMVX3rnovasBfnRg==, tarball: file:projects/arm-webpubsub.tgz} name: '@rush-temp/arm-webpubsub' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -17279,22 +17249,22 @@ packages: dev: false file:projects/arm-webservices.tgz: - resolution: {integrity: sha512-yyBiTNj8d3HVeYHjBlXZmvrzBKEw/uc2HgD/520PCFunarhhGU2aHcM7963avjSKvO5hDKlPFPbCBWnu8m0hnw==, tarball: file:projects/arm-webservices.tgz} + resolution: {integrity: sha512-Bs60yKzm+nOJlATCNhnb8/yHZ6WPQ5UOgPkdayU0nmdXk6FXn4hbM4zdVVeUWu+HjsEjdDjABabvXCXGINrZHQ==, tarball: file:projects/arm-webservices.tgz} name: '@rush-temp/arm-webservices' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -17305,23 +17275,23 @@ packages: dev: false file:projects/arm-workloads.tgz: - resolution: {integrity: sha512-XKudilLFmlEgKCwBkIm8nfpwBGLogLxfz3o5CS3tEm2lFIleiqLxbkT/TqJ3Gmi5D9/XgeYNGI6+2tUEyW0nwA==, tarball: file:projects/arm-workloads.tgz} + resolution: {integrity: sha512-lr5KIJunk0HbSI18EMRZhtKgzxwGjq/Ucy6PrizHnbUjTx+6sNI5KWvzOGCVd3hVBrmgag10dSq7X6abx9qgEA==, tarball: file:projects/arm-workloads.tgz} name: '@rush-temp/arm-workloads' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 mkdirp: 2.1.6 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -17332,21 +17302,21 @@ packages: dev: false file:projects/arm-workspaces.tgz: - resolution: {integrity: sha512-kI0Z+inDWhOs2eqg0lqAc4Q/2VhtxMZaIm6Uii4xuyvPkm9B/LRQOTJabYoOdl4rbFZ918sJbA9elNHM3/nd8w==, tarball: file:projects/arm-workspaces.tgz} + resolution: {integrity: sha512-L8DySKHpx3B/lB3Eem+ecbloZWvHXe4jSJnJhytVZGYO89/HOM+Acp2NquPbzzRYpHp3geVLQnZu5QqcfvAYLw==, tarball: file:projects/arm-workspaces.tgz} name: '@rush-temp/arm-workspaces' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -17357,16 +17327,16 @@ packages: dev: false file:projects/attestation.tgz: - resolution: {integrity: sha512-YwIN3qeropX+TPwF8EdEBOidsU00CxgzefGqPUVjIDduG9miM1hTUgN7W+yHW597qvL66APhxN0q5+v6RUiAAg==, tarball: file:projects/attestation.tgz} + resolution: {integrity: sha512-Tyyw19qYotupz4mlS4DmPUF2zB70bpChZno35Q4D+A1PfIgBKI7ao/xnMqrNV0TlcVjq3w5BpI2+IOZeWnck1g==, tarball: file:projects/attestation.tgz} name: '@rush-temp/attestation' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/chai-as-promised': 7.1.8 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 buffer: 6.0.3 c8: 8.0.1 chai: 4.3.10 @@ -17393,7 +17363,7 @@ packages: rimraf: 5.0.5 safe-buffer: 5.2.1 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -17407,16 +17377,16 @@ packages: dev: false file:projects/communication-alpha-ids.tgz: - resolution: {integrity: sha512-8yd47IqUf2ma+MaLeDBMpoUUaiJQU8g/vXoZeOzM7aBnIWQZ+pynNBbo1yckG4XJ7HvMVLAhGn/yBT453ko65w==, tarball: file:projects/communication-alpha-ids.tgz} + resolution: {integrity: sha512-294gcuMdC40IF/5CXi/H5JRQOfTEZYLXOoytJS0DxsvUxbCg44Jc7fGIelw5Q5FvF7+UOC7KmvjWEXy5JK+E5w==, tarball: file:projects/communication-alpha-ids.tgz} name: '@rush-temp/communication-alpha-ids' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 chai: 4.3.10 @@ -17437,7 +17407,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -17450,15 +17420,15 @@ packages: dev: false file:projects/communication-call-automation.tgz: - resolution: {integrity: sha512-LzF6jq2cRdsVswdEp93ACi2iHYunNXUaoyvc7xSDzIMtqQZOBMC3zPUvBz3PoMQPeUTW0gC5wZEPXiJ+SujqQQ==, tarball: file:projects/communication-call-automation.tgz} + resolution: {integrity: sha512-GlfaW8LpMQIUhPvcm8hPXAhIFXJm0ya38369m1RHeWxOY0MMGU11jUOYLlv2FLUVEIomHS9Qsj34SLNxiZ5s+w==, tarball: file:projects/communication-call-automation.tgz} name: '@rush-temp/communication-call-automation' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 chai: 4.3.10 @@ -17481,7 +17451,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -17495,16 +17465,16 @@ packages: dev: false file:projects/communication-chat.tgz: - resolution: {integrity: sha512-zHfAT3Jlmoxh9aAFe7K6Oi5Mk75jpndAi6emM2aNafxxM10wJFiMrKBSMIeo56d1qIDxNiamDRAxgXcA17bAbg==, tarball: file:projects/communication-chat.tgz} + resolution: {integrity: sha512-AQBomA10nLQB2QRgSfR3gWNrxtHCz+4PEwfy3RIIV+GUzKL+ERsvsaKT1oMe7xtRGPcV6qBvT5wuirJh4Wz8lA==, tarball: file:projects/communication-chat.tgz} name: '@rush-temp/communication-chat' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/communication-signaling': 1.0.0-beta.22 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 '@types/uuid': 8.3.4 c8: 8.0.1 @@ -17529,7 +17499,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -17545,16 +17515,16 @@ packages: dev: false file:projects/communication-common.tgz: - resolution: {integrity: sha512-9ElzIgkR+3Kv6IhNRJt9atGlIZa97gqjXCvVD2WxlrcdM6GODGRtIFS8bNbcUFywbJP3+2I31YE4EMsuxGS6oQ==, tarball: file:projects/communication-common.tgz} + resolution: {integrity: sha512-60J2fhLVxzSYMGCI4mFkiVH6NmTFd0DAhQydqgYbWzdYThUNyBACjHU7eo3hll9Kjun7KtezhJl8V8w+dEmy7A==, tarball: file:projects/communication-common.tgz} name: '@rush-temp/communication-common' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/chai-as-promised': 7.1.8 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 chai: 4.3.10 @@ -17578,7 +17548,7 @@ packages: mockdate: 3.0.5 rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -17592,14 +17562,14 @@ packages: dev: false file:projects/communication-email.tgz: - resolution: {integrity: sha512-KdQRPiGnVECE3zjqt8AiHtvluFeGuZwAHTqWjvbLNGVEfccUh3a+85viGKC34+PLilPpJyxUtjJwQmSgrJOAag==, tarball: file:projects/communication-email.tgz} + resolution: {integrity: sha512-82DSQ18aDqMYJztC7/2cR7p9zFQ48gTZVQGR1kABj0OTtI+5LGKPGGGuRWiqiRbf32OJqVIyKgGKIyFrS+CXwQ==, tarball: file:projects/communication-email.tgz} name: '@rush-temp/communication-email' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 c8: 8.0.1 chai: 4.3.10 cross-env: 7.0.3 @@ -17619,7 +17589,7 @@ packages: karma-sourcemap-loader: 0.3.8 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 1.14.1 typescript: 5.3.3 transitivePeerDependencies: @@ -17632,17 +17602,17 @@ packages: dev: false file:projects/communication-identity.tgz: - resolution: {integrity: sha512-zfrzDjBCmfhJBcv9semQ+F5QstOdvioprljAVPNzkCPHRG86PqhliRrVKMd7k33sRMxtc0Fxi+zeIDkntvoGIw==, tarball: file:projects/communication-identity.tgz} + resolution: {integrity: sha512-n0zbMYfUqfxoIfuoiGKp5zvCB6PgKBTZtg42KCEpo8m4+vw6w5ncYRG+ZGNIZT/BCv8vPh8GkPxNGFH1a1R4Dw==, tarball: file:projects/communication-identity.tgz} name: '@rush-temp/communication-identity' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 '@azure/msal-node': 1.18.4 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 chai: 4.3.10 @@ -17665,7 +17635,7 @@ packages: process: 0.11.10 rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -17678,15 +17648,15 @@ packages: dev: false file:projects/communication-job-router-1.tgz: - resolution: {integrity: sha512-+NNoBNG/Bl9XQEy5HX+7uYcxGjOUMNIJowNfJK36J70rFZ0xPY0w1mxYO2IOHgmCDW/nq5EMcKzcSqcEEFA8fw==, tarball: file:projects/communication-job-router-1.tgz} + resolution: {integrity: sha512-TAYak9UA+YtHtXk9/DRIGhSOWuXv8KOxdPEo9Mxz9G8EsNWGeA18Hi+Qe2AKo6XcxX55wZDxkyJheBVVwRzJJg==, tarball: file:projects/communication-job-router-1.tgz} name: '@rush-temp/communication-job-router-1' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 '@types/uuid': 8.3.4 c8: 8.0.1 @@ -17711,7 +17681,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -17726,15 +17696,15 @@ packages: dev: false file:projects/communication-job-router.tgz: - resolution: {integrity: sha512-desk9yMknQZik9abM0PiJhgOyw+Aq3MBTiSFM36lA1c8PGoR8NLXGnoe1rl7KyEnqnPO0CqIs09AAeAs9iIeSg==, tarball: file:projects/communication-job-router.tgz} + resolution: {integrity: sha512-HBXK5G5i/gMmoZH7qaA7KeN+dB01FDAj+v1S6OErZTspJNMSw8Nz+KY75OjHWOLV2XfyIx5endQH1BgPYHewqg==, tarball: file:projects/communication-job-router.tgz} name: '@rush-temp/communication-job-router' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 autorest: 3.7.1 c8: 8.0.1 chai: 4.3.10 @@ -17745,7 +17715,7 @@ packages: karma-chrome-launcher: 3.2.0 karma-coverage: 2.2.1 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 2.1.2 + karma-firefox-launcher: 2.1.3 karma-junit-reporter: 2.0.1(karma@6.4.3) karma-mocha: 2.0.1 karma-mocha-reporter: 2.2.5(karma@6.4.3) @@ -17755,7 +17725,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -17768,15 +17738,15 @@ packages: dev: false file:projects/communication-messages.tgz: - resolution: {integrity: sha512-ALfKMarmraBZVs9xT6K7B2sMkt931FOSYzjXc5h3FounSsSuHbWiDbv0Cn4ywQqWpZWb5bUWsJURuhbrEDxRcQ==, tarball: file:projects/communication-messages.tgz} + resolution: {integrity: sha512-ay8Z7Sikte3gL1nRo6XQGltuZAkclwGt6dkZANAd/bltC4f15OpEcWT1XDqcNlclsCS2QVaPQdAd1iduVPp2Vg==, tarball: file:projects/communication-messages.tgz} name: '@rush-temp/communication-messages' version: 0.0.0 dependencies: '@azure/identity': 3.4.2 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 autorest: 3.7.1 c8: 8.0.1 chai: 4.3.10 @@ -17788,7 +17758,7 @@ packages: karma-chrome-launcher: 3.2.0 karma-coverage: 2.2.1 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 2.1.2 + karma-firefox-launcher: 2.1.3 karma-junit-reporter: 2.0.1(karma@6.4.3) karma-mocha: 2.0.1 karma-mocha-reporter: 2.2.5(karma@6.4.3) @@ -17798,7 +17768,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.2.2) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.2.2) tslib: 2.6.2 typescript: 5.2.2 transitivePeerDependencies: @@ -17811,16 +17781,16 @@ packages: dev: false file:projects/communication-network-traversal.tgz: - resolution: {integrity: sha512-MlzemQSCkDYbcSrR9XBDhjHi5Z3/asZDkC0qcLpB8cYtx3IKY+ivG6yNseQmN35Vvf4hmVn9LofMFfXnw0Iziw==, tarball: file:projects/communication-network-traversal.tgz} + resolution: {integrity: sha512-FYD1FvbT7KM1L10R+soek1v49kycvpzt4hk+Tu/TlkAj/VWnfrv0o/z6Bu0iETelTDJIfaiL4vR4Ju95hsdrgA==, tarball: file:projects/communication-network-traversal.tgz} name: '@rush-temp/communication-network-traversal' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 chai: 4.3.10 @@ -17844,7 +17814,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -17857,16 +17827,16 @@ packages: dev: false file:projects/communication-phone-numbers.tgz: - resolution: {integrity: sha512-JzXOayITg3nqzZ27xSySo78kW5/DPgSpLsn0fOWUOtw2sQbv15ZeDnYXb11eQ6ly8Sts//ii1jYhf3yw0+vAFw==, tarball: file:projects/communication-phone-numbers.tgz} + resolution: {integrity: sha512-C/1Aur+M6cFGETSxmpjH1N7viR/S+CPeDL9EoqfnrWLfmrxKSz+3OhVs5MQdZYlxu8X39+oFuh6SVxPcCs1BsA==, tarball: file:projects/communication-phone-numbers.tgz} name: '@rush-temp/communication-phone-numbers' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 chai: 4.3.10 @@ -17888,7 +17858,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -17901,16 +17871,16 @@ packages: dev: false file:projects/communication-recipient-verification.tgz: - resolution: {integrity: sha512-hMfurY3Uh2Bs3QmOg4DJ0mzlycC8l37MW8PghNHNgHQWQ61VUVCFYptGewt1p4endsu9oYrLqIgv7UuXD6PSpA==, tarball: file:projects/communication-recipient-verification.tgz} + resolution: {integrity: sha512-mGvSiGEn/LCH/HebBz5bVCwWRnoPNwtRoUZ5vwtMNb7yCPpqpg7sAcg3IZkpJaAbRZjiTw4cTvDlrZfcqiAh2A==, tarball: file:projects/communication-recipient-verification.tgz} name: '@rush-temp/communication-recipient-verification' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 '@types/uuid': 8.3.4 c8: 8.0.1 @@ -17933,7 +17903,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uuid: 8.3.2 @@ -17947,14 +17917,14 @@ packages: dev: false file:projects/communication-rooms.tgz: - resolution: {integrity: sha512-Jp5ZETyt7ubXG5sGlg42nfxPsFPbpsDvA84+5m3kkjnkpc56boFDtJT+2Fc9ZF7AQ3fCzA1diA1MDtSCAEWo/A==, tarball: file:projects/communication-rooms.tgz} + resolution: {integrity: sha512-37laV/u3tPNunKHVlZBx2aDk0c7iJA2isAYHCaDejCapWs5ox47yAiV47jeDqLWfvpLkj24VIfxOZHrJDqq2gg==, tarball: file:projects/communication-rooms.tgz} name: '@rush-temp/communication-rooms' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 chai: 4.3.10 @@ -17968,7 +17938,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 1.14.1 typescript: 5.3.3 transitivePeerDependencies: @@ -17981,16 +17951,16 @@ packages: dev: false file:projects/communication-short-codes.tgz: - resolution: {integrity: sha512-c6gu2B7TY1jOjDgjMnncaXR69eRonypm26I++NV1tpuBZWSdZiNqPwkxQv2QcFzPb990Qd5e+8Duw169tn+Ajg==, tarball: file:projects/communication-short-codes.tgz} + resolution: {integrity: sha512-SLoCCQkqIbUrmX4CAtH3QLKxm0GM4JXPX24ucoXxP43UNGjI/83x35ZN1ryDQSzTKAZoVj8w6PK0xSpvecyc7g==, tarball: file:projects/communication-short-codes.tgz} name: '@rush-temp/communication-short-codes' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 '@types/uuid': 8.3.4 c8: 8.0.1 @@ -18013,7 +17983,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uuid: 8.3.2 @@ -18027,16 +17997,16 @@ packages: dev: false file:projects/communication-sms.tgz: - resolution: {integrity: sha512-AG0uIUZif3jDOmxdY78S9EJbAF1SU9G6pF12/q6hVPmrKPNdND06domPdkp9QX2D4dkJNejEIrKuMQgr96jpRA==, tarball: file:projects/communication-sms.tgz} + resolution: {integrity: sha512-QH1ojOfspANa/398LyCbgm65fB7oCRClO6dTizPduJp6RLfL6BpNkQ3Z3PfkG6rp6WGQZ1V1hXiV75ExSdFJeg==, tarball: file:projects/communication-sms.tgz} name: '@rush-temp/communication-sms' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 chai: 4.3.10 @@ -18058,7 +18028,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -18072,16 +18042,16 @@ packages: dev: false file:projects/communication-tiering.tgz: - resolution: {integrity: sha512-C/UipvVfbb9lMrYtG9rZ06v/lSCOuEyENCxu4UMKRtJ9iIbPwTsfPOHQNBGZo6LIlY3hO5AUqrbGcrDB8ueiIg==, tarball: file:projects/communication-tiering.tgz} + resolution: {integrity: sha512-BFGZCZu4YmXn4F9PYNbDzz7iCDFnDsQgsJqZ5q1KbGicMXpKBpC09SfjXZkQA2eiGjAlg6T5f8n9MeRfvYNUXQ==, tarball: file:projects/communication-tiering.tgz} name: '@rush-temp/communication-tiering' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 '@types/uuid': 8.3.4 c8: 8.0.1 @@ -18104,7 +18074,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uuid: 8.3.2 @@ -18118,16 +18088,16 @@ packages: dev: false file:projects/communication-toll-free-verification.tgz: - resolution: {integrity: sha512-Lnd58M5AuJ2Y6sNsumMKfkhgnnD1bF02Mn5fthFjm6K4vx+VnFxxLbgaUksMKBMvlrVV/+WnvMRWjNk1GzFYEA==, tarball: file:projects/communication-toll-free-verification.tgz} + resolution: {integrity: sha512-guA0GcaKeK5ePDFxXqegPcvAi6bfjF6H+IBcL+H0/hvEve5gPsszaaAHFTe1gnLQP8ISZUJydTQtYHJFQ8iOew==, tarball: file:projects/communication-toll-free-verification.tgz} name: '@rush-temp/communication-toll-free-verification' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 chai: 4.3.10 @@ -18148,7 +18118,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -18161,15 +18131,15 @@ packages: dev: false file:projects/confidential-ledger.tgz: - resolution: {integrity: sha512-PS+z+CsVtMitqUn1QCt0cO3URjvFkEq/UfQM2IPZod4x+VRUpYLDqEhysatKa6nXxfF+lg30KewHMOvn8SJ02A==, tarball: file:projects/confidential-ledger.tgz} + resolution: {integrity: sha512-9idUUYAK2cpLiiBo0CzOkySEf/VZ0gxKOQVR3Pq3MZ5rAFSqIdIV/7cla5qc4oODAxnoa7YCBVSfYi/vG62R5g==, tarball: file:projects/confidential-ledger.tgz} name: '@rush-temp/confidential-ledger' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 c8: 8.0.1 chai: 4.3.10 cross-env: 7.0.3 @@ -18179,7 +18149,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -18189,17 +18159,17 @@ packages: dev: false file:projects/container-registry.tgz: - resolution: {integrity: sha512-ii92awiqoHoZc08k2pJO9Q19HWjKA+oUR/42BFtE3HyTtOOODGKG2q3DdfUiPYzNKIfRGVNwBUkPG7mgBe2ZnA==, tarball: file:projects/container-registry.tgz} + resolution: {integrity: sha512-3RspgAOXX3qvk3JBFV1rdQYz8ml3jB0RNVF0zoe4Fg8We5BM3ERneXg5GFkvpQWQZpkY3MYfRjb6H7eY5dMqgw==, tarball: file:projects/container-registry.tgz} name: '@rush-temp/container-registry' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/chai-as-promised': 7.1.8 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 c8: 8.0.1 chai: 4.3.10 chai-as-promised: 7.1.1(chai@4.3.10) @@ -18219,7 +18189,7 @@ packages: karma-sourcemap-loader: 0.3.8 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -18233,15 +18203,15 @@ packages: dev: false file:projects/core-amqp.tgz: - resolution: {integrity: sha512-h6a/mCt2qYR/JfmGNeige8PDCTT3/8Vpkj9FypbqmH3opXycLtaN5Dro1f3ejlV9t3F19A17GrSMW+WD77waLA==, tarball: file:projects/core-amqp.tgz} + resolution: {integrity: sha512-ICsMjmllReqeC1y07hti4J86Udpgn1BXyJtSWi6lvsPiiHPGM8NlciGqN4QNLvV8lgss6H1+gXwExsxkRWDyAQ==, tarball: file:projects/core-amqp.tgz} name: '@rush-temp/core-amqp' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/debug': 4.1.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 '@types/ws': 7.4.7 buffer: 6.0.3 @@ -18256,12 +18226,12 @@ packages: karma-mocha: 2.0.1 mocha: 10.3.0 process: 0.11.10 - puppeteer: 22.3.0(typescript@5.3.3) + puppeteer: 22.4.1(typescript@5.3.3) rhea: 3.0.2 rhea-promise: 3.0.1 rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -18276,22 +18246,22 @@ packages: dev: false file:projects/core-auth.tgz: - resolution: {integrity: sha512-1LK36hxl/yFX4MHmS5CUf58rso7ZrsDtta31EihcL2mIW0rMVX4dlwG4iu2NvRvl4W1q475ps748uDNjE5Z21w==, tarball: file:projects/core-auth.tgz} + resolution: {integrity: sha512-K96YceOVe8qaxhMMzBkZCoFxcj+pj9B1nSfQHQfxy+5DvE/XnGANhIyCZw3pO8uYhmIMZW1gKVTnZTV3ObV1Kg==, tarball: file:projects/core-auth.tgz} name: '@rush-temp/core-auth' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) - '@types/node': 18.19.18 - '@vitest/browser': 1.3.1(playwright@1.41.2)(vitest@1.3.1) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) + '@types/node': 18.19.22 + '@vitest/browser': 1.3.1(playwright@1.42.1)(vitest@1.3.1) '@vitest/coverage-istanbul': 1.3.1(vitest@1.3.1) eslint: 8.57.0 - playwright: 1.41.2 + playwright: 1.42.1 prettier: 3.2.5 rimraf: 5.0.5 - tshy: 1.11.1 + tshy: 1.12.0 tslib: 2.6.2 typescript: 5.3.3 - vitest: 1.3.1(@types/node@18.19.18)(@vitest/browser@1.3.1) + vitest: 1.3.1(@types/node@18.19.22)(@vitest/browser@1.3.1) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -18309,22 +18279,22 @@ packages: dev: false file:projects/core-client-1.tgz: - resolution: {integrity: sha512-OLJyHTL0U4vLGSMZ1Uwm/cbaCSnQpJWNwZxfuqyuHvtF6GoyCXBb9RdB6KZgMhJJgBvEZr3BhxTqM57nciV7lg==, tarball: file:projects/core-client-1.tgz} + resolution: {integrity: sha512-yrsRgyVw1pJ406mbPES7sVLkTnwYAoJuy5L09RiBVRFG1GTvV5qUlrvL+uAAL7xLWAL8+vetNYYTgZqPFN8KOQ==, tarball: file:projects/core-client-1.tgz} name: '@rush-temp/core-client-1' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) - '@types/node': 18.19.18 - '@vitest/browser': 1.3.1(playwright@1.41.2)(vitest@1.3.1) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) + '@types/node': 18.19.22 + '@vitest/browser': 1.3.1(playwright@1.42.1)(vitest@1.3.1) '@vitest/coverage-istanbul': 1.3.1(vitest@1.3.1) eslint: 8.57.0 - playwright: 1.41.2 + playwright: 1.42.1 prettier: 3.2.5 rimraf: 5.0.5 - tshy: 1.11.1 + tshy: 1.12.0 tslib: 2.6.2 typescript: 5.3.3 - vitest: 1.3.1(@types/node@18.19.18)(@vitest/browser@1.3.1) + vitest: 1.3.1(@types/node@18.19.22)(@vitest/browser@1.3.1) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -18342,22 +18312,22 @@ packages: dev: false file:projects/core-client.tgz: - resolution: {integrity: sha512-J+mQDVAxm/CPhw9yQFUrQt3TLclaYwfzkmNDWVcG3wYLZPyNF6m6Oz5ZyzQpwtQgA1GrZFMtJ6ALGyXqdOYGww==, tarball: file:projects/core-client.tgz} + resolution: {integrity: sha512-38pzXw+IilxQ47iaH8qqQIDKBXJu2dnmz+293f/E3wOoLQbfVnkGMPeM+U9OnsSmUXax5cn7nObnV0nF4CDLDw==, tarball: file:projects/core-client.tgz} name: '@rush-temp/core-client' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) - '@types/node': 18.19.18 - '@vitest/browser': 1.3.1(playwright@1.41.2)(vitest@1.3.1) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) + '@types/node': 18.19.22 + '@vitest/browser': 1.3.1(playwright@1.42.1)(vitest@1.3.1) '@vitest/coverage-istanbul': 1.3.1(vitest@1.3.1) eslint: 8.57.0 - playwright: 1.41.2 + playwright: 1.42.1 prettier: 3.2.5 rimraf: 5.0.5 - tshy: 1.11.1 + tshy: 1.12.0 tslib: 2.6.2 typescript: 5.3.3 - vitest: 1.3.1(@types/node@18.19.18)(@vitest/browser@1.3.1) + vitest: 1.3.1(@types/node@18.19.22)(@vitest/browser@1.3.1) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -18375,21 +18345,21 @@ packages: dev: false file:projects/core-http-compat.tgz: - resolution: {integrity: sha512-o4+VSa/YjxAuW8meTMp04lfhMav4XhxI2mQBUsgLm6qrsG+UInoYc1XjeoG9dxsSbtoDT8iNguuNKzCXTdAEnA==, tarball: file:projects/core-http-compat.tgz} + resolution: {integrity: sha512-tJPVNWs3bvk80ejwdQWP4r+PL5FO0v6SJ40GugfqBq8vserFyZxRkVq0zDee39eORw1zVDyGp2XfZMY6BBeKxA==, tarball: file:projects/core-http-compat.tgz} name: '@rush-temp/core-http-compat' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) - '@types/node': 18.19.18 - '@vitest/browser': 1.3.1(playwright@1.41.2)(vitest@1.3.1) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) + '@types/node': 18.19.22 + '@vitest/browser': 1.3.1(playwright@1.42.1)(vitest@1.3.1) '@vitest/coverage-istanbul': 1.3.1(vitest@1.3.1) eslint: 8.57.0 - playwright: 1.41.2 + playwright: 1.42.1 prettier: 3.2.5 rimraf: 5.0.5 - tshy: 1.11.1 + tshy: 1.12.0 typescript: 5.3.3 - vitest: 1.3.1(@types/node@18.19.18)(@vitest/browser@1.3.1) + vitest: 1.3.1(@types/node@18.19.22)(@vitest/browser@1.3.1) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -18407,22 +18377,22 @@ packages: dev: false file:projects/core-lro.tgz: - resolution: {integrity: sha512-4z+td5KBrB4E4AC1W8sIikhPFggJTtbjtzYitU01rvQe6H97SnwxgSX95X3VYJuuz6FTtaTu8Ygodk7U9AvdUA==, tarball: file:projects/core-lro.tgz} + resolution: {integrity: sha512-I2vOznyNVg96o2ndmFcAi2oeJ4sM38eR0ueE6mDKa1DCg02qlf80RxrlRZGUElS19xpWKGbdnERPqCskAMyjSw==, tarball: file:projects/core-lro.tgz} name: '@rush-temp/core-lro' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) - '@types/node': 18.19.18 - '@vitest/browser': 1.3.1(playwright@1.41.2)(vitest@1.3.1) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) + '@types/node': 18.19.22 + '@vitest/browser': 1.3.1(playwright@1.42.1)(vitest@1.3.1) '@vitest/coverage-istanbul': 1.3.1(vitest@1.3.1) eslint: 8.57.0 - playwright: 1.41.2 + playwright: 1.42.1 prettier: 3.2.5 rimraf: 5.0.5 - tshy: 1.11.1 + tshy: 1.12.0 tslib: 2.6.2 typescript: 5.3.3 - vitest: 1.3.1(@types/node@18.19.18)(@vitest/browser@1.3.1) + vitest: 1.3.1(@types/node@18.19.22)(@vitest/browser@1.3.1) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -18440,22 +18410,22 @@ packages: dev: false file:projects/core-paging.tgz: - resolution: {integrity: sha512-ZSI0Vg4yD2/EK/sq4+YxdzQy9YGswtLd5DeTD397iaMoy0vyp/6BKURyIPiSoBTofFUIV3j7MwaO9tfkyHbT8Q==, tarball: file:projects/core-paging.tgz} + resolution: {integrity: sha512-vvZhetkvZ2gG2gxrDKB3AK+6758n4iCXqNQTlWCX2s3JHTGFhkNXQCBzejDjPVyBAA4UxCCsFJca70eX1J2h4A==, tarball: file:projects/core-paging.tgz} name: '@rush-temp/core-paging' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) - '@types/node': 18.19.18 - '@vitest/browser': 1.3.1(playwright@1.41.2)(vitest@1.3.1) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) + '@types/node': 18.19.22 + '@vitest/browser': 1.3.1(playwright@1.42.1)(vitest@1.3.1) '@vitest/coverage-istanbul': 1.3.1(vitest@1.3.1) eslint: 8.57.0 - playwright: 1.41.2 + playwright: 1.42.1 prettier: 3.2.5 rimraf: 5.0.5 - tshy: 1.11.1 + tshy: 1.12.0 tslib: 2.6.2 typescript: 5.3.3 - vitest: 1.3.1(@types/node@18.19.18)(@vitest/browser@1.3.1) + vitest: 1.3.1(@types/node@18.19.22)(@vitest/browser@1.3.1) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -18473,24 +18443,24 @@ packages: dev: false file:projects/core-rest-pipeline.tgz: - resolution: {integrity: sha512-SxZK8Sn3iHsCf4SUWs631chCquZR4EoAnGCZIBAN53fzEx7zu7Fn5kMgthrV7k6sZqNh3Gr+2UoTzrdfd96aKA==, tarball: file:projects/core-rest-pipeline.tgz} + resolution: {integrity: sha512-e72dDkqu0Svpxcftt3FqHr1KhLRk8t8Bago/FyrchzuS8WJB2Z4BoU3rA4dWt9GM/7Sa+CQ9V1mn+5t6J0407w==, tarball: file:projects/core-rest-pipeline.tgz} name: '@rush-temp/core-rest-pipeline' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) - '@types/node': 18.19.18 - '@vitest/browser': 1.3.1(playwright@1.41.2)(vitest@1.3.1) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) + '@types/node': 18.19.22 + '@vitest/browser': 1.3.1(playwright@1.42.1)(vitest@1.3.1) '@vitest/coverage-istanbul': 1.3.1(vitest@1.3.1) eslint: 8.57.0 http-proxy-agent: 7.0.0 https-proxy-agent: 7.0.2 - playwright: 1.41.2 + playwright: 1.42.1 prettier: 3.2.5 rimraf: 5.0.5 - tshy: 1.11.1 + tshy: 1.12.0 tslib: 2.6.2 typescript: 5.3.3 - vitest: 1.3.1(@types/node@18.19.18)(@vitest/browser@1.3.1) + vitest: 1.3.1(@types/node@18.19.22)(@vitest/browser@1.3.1) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -18508,23 +18478,23 @@ packages: dev: false file:projects/core-sse.tgz: - resolution: {integrity: sha512-SQ12AH5WYq1DSw8s4W2KBK4lI0JqidtDTYrSBid8ji11C+5EG6brZOmlEsstwrE4/ou2BRGQZjYOiFhCQASPOw==, tarball: file:projects/core-sse.tgz} + resolution: {integrity: sha512-0ulh4nAfDJFxvDkzU3PKjDgRSIUPsB6vMgZ5/U0xPNS7JPPF1q8h3cv/ZcalSTNDdAAuGihR8fEqd/JeaflLAg==, tarball: file:projects/core-sse.tgz} name: '@rush-temp/core-sse' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) - '@types/node': 18.19.18 - '@vitest/browser': 1.3.1(playwright@1.41.2)(vitest@1.3.1) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) + '@types/node': 18.19.22 + '@vitest/browser': 1.3.1(playwright@1.42.1)(vitest@1.3.1) '@vitest/coverage-istanbul': 1.3.1(vitest@1.3.1) dotenv: 16.4.5 eslint: 8.57.0 - playwright: 1.41.2 + playwright: 1.42.1 prettier: 3.2.5 rimraf: 5.0.5 - tshy: 1.11.1 + tshy: 1.12.0 tslib: 2.6.2 typescript: 5.2.2 - vitest: 1.3.1(@types/node@18.19.18)(@vitest/browser@1.3.1) + vitest: 1.3.1(@types/node@18.19.22)(@vitest/browser@1.3.1) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -18542,22 +18512,22 @@ packages: dev: false file:projects/core-tracing.tgz: - resolution: {integrity: sha512-OiN48Pr2CrhzGy/wuAmQKNxNq/JVEDsgVVIbSTMLBh09mRgHVAt1dDP2RiazPOUoVgO+a8sg0lUlT9UuJkbLQA==, tarball: file:projects/core-tracing.tgz} + resolution: {integrity: sha512-l14HhQTeoS4qlO/6BfJB4/2Z4KTf3qPD3cOGuO1UJIvYfX0mwmwJHiXc7VLPwCL0khQr8f2rhwfxS81pJcPAlg==, tarball: file:projects/core-tracing.tgz} name: '@rush-temp/core-tracing' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) - '@types/node': 18.19.18 - '@vitest/browser': 1.3.1(playwright@1.41.2)(vitest@1.3.1) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) + '@types/node': 18.19.22 + '@vitest/browser': 1.3.1(playwright@1.42.1)(vitest@1.3.1) '@vitest/coverage-istanbul': 1.3.1(vitest@1.3.1) eslint: 8.57.0 - playwright: 1.41.2 + playwright: 1.42.1 prettier: 3.2.5 rimraf: 5.0.5 - tshy: 1.11.1 + tshy: 1.12.0 tslib: 2.6.2 typescript: 5.3.3 - vitest: 1.3.1(@types/node@18.19.18)(@vitest/browser@1.3.1) + vitest: 1.3.1(@types/node@18.19.22)(@vitest/browser@1.3.1) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -18575,22 +18545,22 @@ packages: dev: false file:projects/core-util.tgz: - resolution: {integrity: sha512-m6EGouRXU6ZC5lviRF/UxOy9EcUOR0s05AMbEYkhx9w71Ohu4X8eWea8RiX5kplEaCvQj/Pxpjpk+FqIMiq6tw==, tarball: file:projects/core-util.tgz} + resolution: {integrity: sha512-b1AbMmtrh+KrnMICvIwX44gHMJ8GET4Hof9rl6JAmrc02wDYKa56ZHkHaeQg+ajFIL2tdJnm8Fp8kaDQY5YSUQ==, tarball: file:projects/core-util.tgz} name: '@rush-temp/core-util' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) - '@types/node': 18.19.18 - '@vitest/browser': 1.3.1(playwright@1.41.2)(vitest@1.3.1) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) + '@types/node': 18.19.22 + '@vitest/browser': 1.3.1(playwright@1.42.1)(vitest@1.3.1) '@vitest/coverage-istanbul': 1.3.1(vitest@1.3.1) eslint: 8.57.0 - playwright: 1.41.2 + playwright: 1.42.1 prettier: 3.2.5 rimraf: 5.0.5 - tshy: 1.11.1 + tshy: 1.12.0 tslib: 2.6.2 typescript: 5.3.3 - vitest: 1.3.1(@types/node@18.19.18)(@vitest/browser@1.3.1) + vitest: 1.3.1(@types/node@18.19.22)(@vitest/browser@1.3.1) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -18608,24 +18578,24 @@ packages: dev: false file:projects/core-xml.tgz: - resolution: {integrity: sha512-nHFQ7K/R0RCToo50zrD/m7qx1IwTGRhgSD2sa/u5eP323N1Ekv9SolsTKReAM3bqD1PPirvytI8pP9WC2dvkpg==, tarball: file:projects/core-xml.tgz} + resolution: {integrity: sha512-9pzkE3iMmjofYRSecx5G+GoXTBh7IkDfBph8D+Bi89w5fljuGlyAx7dcJL2Bw8+lr/nQEifF9vlu8Rq2WjVw4w==, tarball: file:projects/core-xml.tgz} name: '@rush-temp/core-xml' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) - '@types/node': 18.19.18 + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) + '@types/node': 18.19.22 '@types/trusted-types': 2.0.7 - '@vitest/browser': 1.3.1(playwright@1.41.2)(vitest@1.3.1) + '@vitest/browser': 1.3.1(playwright@1.42.1)(vitest@1.3.1) '@vitest/coverage-istanbul': 1.3.1(vitest@1.3.1) eslint: 8.57.0 fast-xml-parser: 4.3.5 - playwright: 1.41.2 + playwright: 1.42.1 prettier: 3.2.5 rimraf: 5.0.5 - tshy: 1.11.1 + tshy: 1.12.0 tslib: 2.6.2 typescript: 5.3.3 - vitest: 1.3.1(@types/node@18.19.18)(@vitest/browser@1.3.1) + vitest: 1.3.1(@types/node@18.19.22)(@vitest/browser@1.3.1) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -18643,18 +18613,18 @@ packages: dev: false file:projects/cosmos.tgz: - resolution: {integrity: sha512-QvMe4hvJqxGu27gFk9gSt5x0vTeAtrKAv2YfWx1f/lkIeVBhzS4PeFaw9+Gb3cfDLIqB1l9KUkOgoZzWbjgLAQ==, tarball: file:projects/cosmos.tgz} + resolution: {integrity: sha512-g2CHsQoYTDcTtSfv9WMBVR9gKsIwtB2TdGfcwsVq8jMZceOIfLt2QwQT4471bxhG4fQ+vGpkQ8oKilKgWtVu9Q==, tarball: file:projects/cosmos.tgz} name: '@rush-temp/cosmos' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@sinonjs/fake-timers': 11.2.2 '@types/chai': 4.3.12 '@types/debug': 4.1.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/priorityqueuejs': 1.0.4 '@types/semaphore': 1.1.4 '@types/sinon': 17.0.3 @@ -18679,7 +18649,7 @@ packages: semaphore: 1.1.0 sinon: 17.0.1 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 universal-user-agent: 6.0.1 @@ -18691,15 +18661,15 @@ packages: dev: false file:projects/data-tables.tgz: - resolution: {integrity: sha512-iVIBl8MiXrmlB0wceNOApa29oWDJq6U5IU7Iql2aPWo8Nr/cO35zGNEC4GSLnz9xnk0mPyo/30C+SLc7onJ8DQ==, tarball: file:projects/data-tables.tgz} + resolution: {integrity: sha512-3JEF2N6kEpndgHmxC5jqp5wdTeluMOLqER3YoAcGIatApN1jZ9/5jYHQcXN8JuPZqPFBcAIH8g2c6F2hMXSQVA==, tarball: file:projects/data-tables.tgz} name: '@rush-temp/data-tables' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 chai: 4.3.10 @@ -18720,7 +18690,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -18734,15 +18704,15 @@ packages: dev: false file:projects/defender-easm.tgz: - resolution: {integrity: sha512-cExnd6UJQQIshWTVKi3p43lDS2pAunjd056VzfoZ4auZpdMfZEh1JXWL8a2d8edmRvnLwS7dNRszanFBafh4kA==, tarball: file:projects/defender-easm.tgz} + resolution: {integrity: sha512-Feg1PWTklRinRbb0fpSl9DlGPs0F+mJPSiPF2pc26+VRmMeYq65b5jUD8EoJI0i8P0ita/XXbL5HMCTzZCSjng==, tarball: file:projects/defender-easm.tgz} name: '@rush-temp/defender-easm' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 c8: 8.0.1 chai: 4.3.10 cross-env: 7.0.3 @@ -18765,7 +18735,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -18778,18 +18748,18 @@ packages: dev: false file:projects/dev-tool.tgz: - resolution: {integrity: sha512-nG09YWhjmXYNV6+T5bq5NgXbetMsZVCsTumlZbkOnyq7pM435jJTDYSC2nsBxvDCYGkqhOQNB2N6gsNs9gZGag==, tarball: file:projects/dev-tool.tgz} + resolution: {integrity: sha512-+bhDzfvPvq4GZ7wsCa2n88wV/biduasOH0FbtwxebJKfG7Br9lefJ0RHB+vpn/S/fN9rv7E1sA0V2j5NB3huKQ==, tarball: file:projects/dev-tool.tgz} name: '@rush-temp/dev-tool' version: 0.0.0 dependencies: '@_ts/max': /typescript@5.4.2 '@_ts/min': /typescript@4.2.4 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) - '@rollup/plugin-commonjs': 25.0.7(rollup@4.12.0) - '@rollup/plugin-inject': 5.0.5(rollup@4.12.0) - '@rollup/plugin-json': 6.1.0(rollup@4.12.0) - '@rollup/plugin-multi-entry': 6.0.1(rollup@4.12.0) - '@rollup/plugin-node-resolve': 15.2.3(rollup@4.12.0) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) + '@rollup/plugin-commonjs': 25.0.7(rollup@4.12.1) + '@rollup/plugin-inject': 5.0.5(rollup@4.12.1) + '@rollup/plugin-json': 6.1.0(rollup@4.12.1) + '@rollup/plugin-multi-entry': 6.0.1(rollup@4.12.1) + '@rollup/plugin-node-resolve': 15.2.3(rollup@4.12.1) '@types/archiver': 6.0.2 '@types/chai': 4.3.12 '@types/chai-as-promised': 7.1.8 @@ -18797,9 +18767,10 @@ packages: '@types/fs-extra': 11.0.4 '@types/minimist': 1.2.5 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/semver': 7.5.8 - archiver: 7.0.0 + '@vitest/coverage-istanbul': 1.3.1(vitest@1.3.1) + archiver: 7.0.1 autorest: 3.7.1 builtin-modules: 3.3.0 c8: 8.0.1 @@ -18819,36 +18790,45 @@ packages: mocha: 10.3.0 prettier: 3.2.5 rimraf: 5.0.5 - rollup: 4.12.0 - rollup-plugin-polyfill-node: 0.13.0(rollup@4.12.0) - rollup-plugin-visualizer: 5.12.0(rollup@4.12.0) + rollup: 4.12.1 + rollup-plugin-polyfill-node: 0.13.0(rollup@4.12.1) + rollup-plugin-visualizer: 5.12.0(rollup@4.12.1) semver: 7.6.0 strip-json-comments: 5.0.1 - ts-morph: 21.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-morph: 22.0.0 + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 - yaml: 2.4.0 + vitest: 1.3.1(@types/node@18.19.22)(@vitest/browser@1.3.1) + yaml: 2.4.1 transitivePeerDependencies: + - '@edge-runtime/vm' - '@swc/core' - '@swc/wasm' - - bufferutil - - debug + - '@vitest/browser' + - '@vitest/ui' + - happy-dom + - jsdom + - less + - lightningcss + - sass + - stylus + - sugarss - supports-color - - utf-8-validate + - terser dev: false file:projects/developer-devcenter.tgz: - resolution: {integrity: sha512-9Row3h2eFyesNCODAS99pVVD0EHWgMj+adg6Xh+HGbuLSKTLzRGmiaiZQ1QydAPjIVfPQN2J6ioWsz4y5lqC0A==, tarball: file:projects/developer-devcenter.tgz} + resolution: {integrity: sha512-bfK4GOlAJ9vC+9A95OHPc+JzAJ2eRgLqDfppqIfGV0gFN/GoXTCAp8wjibbr2Byy/SqgSBJrIIQ21DlVNTCYuA==, tarball: file:projects/developer-devcenter.tgz} name: '@rush-temp/developer-devcenter' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 autorest: 3.7.1 c8: 8.0.1 chai: 4.3.10 @@ -18860,7 +18840,7 @@ packages: karma-chrome-launcher: 3.2.0 karma-coverage: 2.2.1 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 2.1.2 + karma-firefox-launcher: 2.1.3 karma-junit-reporter: 2.0.1(karma@6.4.3) karma-mocha: 2.0.1 karma-mocha-reporter: 2.2.5(karma@6.4.3) @@ -18870,7 +18850,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -18883,15 +18863,15 @@ packages: dev: false file:projects/digital-twins-core.tgz: - resolution: {integrity: sha512-WABaWf9yAF6rhuVYZinqJqHzhTAjkcb/wt1nry76qwmZImWlM7zLD2KxSnOeLAr1UMOrZtg6L7i3a82Q/N7F7A==, tarball: file:projects/digital-twins-core.tgz} + resolution: {integrity: sha512-7/162x/wY+xN2QTxxexv5jQn+cK6qLdRi1qR6vwr/j7f/CivsHNeo5bZ4juc2qfWT5lQKwo75Kym/cZwTGLnNg==, tarball: file:projects/digital-twins-core.tgz} name: '@rush-temp/digital-twins-core' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 '@types/uuid': 8.3.4 c8: 8.0.1 @@ -18913,7 +18893,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -18928,7 +18908,7 @@ packages: dev: false file:projects/eslint-plugin-azure-sdk-helper.tgz: - resolution: {integrity: sha512-81LjcHURGDNhd99ICbhwWc+aJH10sWa3J7QjDxFc5WhdewTN9gCHQRLXUlXT5oxBl6VK/7cOt8+MHIZ9Ezq8Xg==, tarball: file:projects/eslint-plugin-azure-sdk-helper.tgz} + resolution: {integrity: sha512-c2p8g6bTDtMUiM6D02QH5VPifOavw3/sEXQRQhMooIM0SyRU82dZR2qtzOGw9ZGQ2oXOmPPpW7i/N8ifmjSw/A==, tarball: file:projects/eslint-plugin-azure-sdk-helper.tgz} name: '@rush-temp/eslint-plugin-azure-sdk-helper' version: 0.0.0 dependencies: @@ -18947,7 +18927,7 @@ packages: dev: false file:projects/eslint-plugin-azure-sdk.tgz: - resolution: {integrity: sha512-QWCQpxYTL732c0p0LhhgoNH+PBuwMeWeCUVO6p/y5HVftrAf1V7fCMuNTH6MkVmX6OhcHY941iWQMGnzskrITw==, tarball: file:projects/eslint-plugin-azure-sdk.tgz} + resolution: {integrity: sha512-l4Tfx2HM9nIs5nsD8bx1N7Y1zFQ0eGuqbFbyh9loN2Am9X3m2qvsD6Ou8A5+b+kBxd/qFYhmngaESt/dCl+Gnw==, tarball: file:projects/eslint-plugin-azure-sdk.tgz} name: '@rush-temp/eslint-plugin-azure-sdk' version: 0.0.0 dependencies: @@ -18956,7 +18936,7 @@ packages: '@types/estree': 1.0.5 '@types/json-schema': 7.0.15 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@typescript-eslint/eslint-plugin': 5.57.1(@typescript-eslint/parser@5.57.1)(eslint@8.57.0)(typescript@5.3.3) '@typescript-eslint/experimental-utils': 5.57.1(eslint@8.57.0)(typescript@5.3.3) '@typescript-eslint/parser': 5.57.1(eslint@8.57.0)(typescript@5.3.3) @@ -18975,7 +18955,7 @@ packages: prettier: 3.2.5 rimraf: 3.0.2 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -18985,20 +18965,20 @@ packages: dev: false file:projects/event-hubs.tgz: - resolution: {integrity: sha512-2w5+Fho+ZEbuc8EHMwjZBU8TnU2OLZoZrUXw0svdg6gzQcEuseEC0dzWMyYfYYSpRySwV2jGo/AA5e4XY4KFsQ==, tarball: file:projects/event-hubs.tgz} + resolution: {integrity: sha512-lnKf3XksF5BrjWw+it3UJehsePqWocTU/zwZtJ1MIYSvQc9UGq4wE9TBH3jjsTf2v3pxCVCNTu98vVdM58sIRg==, tarball: file:projects/event-hubs.tgz} name: '@rush-temp/event-hubs' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/async-lock': 1.4.2 '@types/chai': 4.3.12 '@types/chai-as-promised': 7.1.8 '@types/chai-string': 1.4.5 '@types/debug': 4.1.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 '@types/ws': 7.4.7 buffer: 6.0.3 @@ -19028,11 +19008,11 @@ packages: mocha: 10.3.0 moment: 2.30.1 process: 0.11.10 - puppeteer: 22.3.0(typescript@5.3.3) + puppeteer: 22.4.1(typescript@5.3.3) rhea-promise: 3.0.1 rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 ws: 8.16.0 @@ -19046,15 +19026,15 @@ packages: dev: false file:projects/eventgrid.tgz: - resolution: {integrity: sha512-n4uul6UnWNvKSlQ++Zs0e5paVpd2DITzP1WZ7WigL+eUTvsSBsfeR35Dviw790NvjuuUiPVhZ/1SL5Ehn7ACPw==, tarball: file:projects/eventgrid.tgz} + resolution: {integrity: sha512-JA/5o9eLAnSxEpBzxWVIf+fVdRJXv4Ss4K4aLYnsWECtP4XSbzODq20l5BaZQkpO0EWSpxKCTodRmw9G6gGw6A==, tarball: file:projects/eventgrid.tgz} name: '@rush-temp/eventgrid' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/chai-as-promised': 7.1.8 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 '@types/uuid': 8.3.4 c8: 8.0.1 @@ -19063,7 +19043,6 @@ packages: cross-env: 7.0.3 dotenv: 16.4.5 eslint: 8.57.0 - esm: 3.2.25 karma: 6.4.3(debug@4.3.4) karma-chrome-launcher: 3.2.0 karma-coverage: 2.2.1 @@ -19077,7 +19056,6 @@ packages: rimraf: 5.0.5 sinon: 17.0.1 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) tslib: 2.6.2 tsx: 4.7.1 typescript: 5.3.3 @@ -19090,19 +19068,19 @@ packages: dev: false file:projects/eventhubs-checkpointstore-blob.tgz: - resolution: {integrity: sha512-9tCkRIV+ana29MG9f705LWm33vr5QP32MQSj2Ugc/FzjJFIo7m7jURJXzUnys8m6Dn4NOCrLa3fNYqzsUq5v2A==, tarball: file:projects/eventhubs-checkpointstore-blob.tgz} + resolution: {integrity: sha512-GZttLKha1yC6gORy3lLWOjzpiVHKORUDKX3goHAJKtbmKnSe+0RJ8O1SX0HJ+NQ/6/mIDzG6eiLNBkPcqqc8vQ==, tarball: file:projects/eventhubs-checkpointstore-blob.tgz} name: '@rush-temp/eventhubs-checkpointstore-blob' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/storage-blob': 12.17.0 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/chai-as-promised': 7.1.8 '@types/chai-string': 1.4.5 '@types/debug': 4.1.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 c8: 8.0.1 chai: 4.3.10 chai-as-promised: 7.1.1(chai@4.3.10) @@ -19126,7 +19104,7 @@ packages: karma-sourcemap-loader: 0.3.8 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -19140,18 +19118,18 @@ packages: dev: false file:projects/eventhubs-checkpointstore-table.tgz: - resolution: {integrity: sha512-MNAnVLgZpP2tCpMUYctWUxl1p+RHQswDcdueCxd56pcKq2nmRufWnos6IcR6xbBaJ9i5Rqc5pkFX8matcMwjJQ==, tarball: file:projects/eventhubs-checkpointstore-table.tgz} + resolution: {integrity: sha512-e2e2OZ9p4QPVXWesw+cp9dIu1L3+GjmB6Y/18qEISNDPYOc8JX1XaWBK7JnX7TSo6/xb0CsebOAQZogMEIX1vA==, tarball: file:projects/eventhubs-checkpointstore-table.tgz} name: '@rush-temp/eventhubs-checkpointstore-table' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/chai-as-promised': 7.1.8 '@types/chai-string': 1.4.5 '@types/debug': 4.1.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 c8: 8.0.1 chai: 4.3.10 chai-as-promised: 7.1.1(chai@4.3.10) @@ -19174,7 +19152,7 @@ packages: karma-sourcemap-loader: 0.3.8 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -19187,16 +19165,16 @@ packages: dev: false file:projects/functions-authentication-events.tgz: - resolution: {integrity: sha512-763pAUuz9DAzi7jlsrmynNZo5SWzxx84mSaoRo6Fp5gcbiTl83FaL4IQxDJgSyMbasckrmb0YgsH3Jzs3wpq7g==, tarball: file:projects/functions-authentication-events.tgz} + resolution: {integrity: sha512-lXoHzjMxtbz8NSmoiT9+c/HUItezv40AHHW3NHLBnKXX6kufB2Gv3He1p4iGCBJoBOGAwKQYiB4dqS4YYtm1WA==, tarball: file:projects/functions-authentication-events.tgz} name: '@rush-temp/functions-authentication-events' version: 0.0.0 dependencies: '@azure/functions': 3.5.1 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 c8: 8.0.1 chai: 4.3.10 cross-env: 7.0.3 @@ -19217,7 +19195,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -19231,16 +19209,16 @@ packages: dev: false file:projects/health-insights-cancerprofiling.tgz: - resolution: {integrity: sha512-8h2H3YNeXGdEGQ+TnUHAsDV6KLvHzLTR+qsSjKocCScNrRdwJBhaSrIo3QtLjBaB7K+iPoPxtsdm3k+lBvKCEQ==, tarball: file:projects/health-insights-cancerprofiling.tgz} + resolution: {integrity: sha512-eYSSKmiQ7PV0CFwAuZR0K9uPivC+fkXFlpbk0iCti0yF4fsAZUkaoMrwfg3lhPZ1F0K5nd1a+lJWdQpP9kRwBA==, tarball: file:projects/health-insights-cancerprofiling.tgz} name: '@rush-temp/health-insights-cancerprofiling' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 autorest: 3.7.1 c8: 8.0.1 chai: 4.3.10 @@ -19262,7 +19240,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -19275,16 +19253,16 @@ packages: dev: false file:projects/health-insights-clinicalmatching.tgz: - resolution: {integrity: sha512-R9izTxpyw5PG+oUlt8ZEJwcbNJntRoQUsktQ63K5423Ah7UG1UgDPwIiYIrSrVS+X8OxEIu3DDPo7/oeRVJd3g==, tarball: file:projects/health-insights-clinicalmatching.tgz} + resolution: {integrity: sha512-rc5CIO0faOvOu8tAe26x9g9drWFj41DNzK3xd1P9m6xepSCXy/g0V8hL0ECldsRQemB7icVFOz9debRa02NfbA==, tarball: file:projects/health-insights-clinicalmatching.tgz} name: '@rush-temp/health-insights-clinicalmatching' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 autorest: 3.7.1 c8: 8.0.1 chai: 4.3.10 @@ -19306,7 +19284,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -19319,16 +19297,16 @@ packages: dev: false file:projects/health-insights-radiologyinsights.tgz: - resolution: {integrity: sha512-MgqSqs4TL6lf77N+K1LLcTc0OArMhm7942eyZq4LOE5RQoYx+STFg+wOpncRL0oYlXQ5mLl0XjISd/DmTXb7Hg==, tarball: file:projects/health-insights-radiologyinsights.tgz} + resolution: {integrity: sha512-LzShHe5C9t4zZLNVcQO9e9ber1j7KcYsK7AtcQ4Wyy4IcmqqSb3u0cAGnOEddemfOrtdjBA81uLXBFl47FfGUg==, tarball: file:projects/health-insights-radiologyinsights.tgz} name: '@rush-temp/health-insights-radiologyinsights' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 autorest: 3.7.1 c8: 8.0.1 chai: 4.3.10 @@ -19340,7 +19318,7 @@ packages: karma-chrome-launcher: 3.2.0 karma-coverage: 2.2.1 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 2.1.2 + karma-firefox-launcher: 2.1.3 karma-junit-reporter: 2.0.1(karma@6.4.3) karma-mocha: 2.0.1 karma-mocha-reporter: 2.2.5(karma@6.4.3) @@ -19350,7 +19328,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -19363,7 +19341,7 @@ packages: dev: false file:projects/identity-broker.tgz: - resolution: {integrity: sha512-pEzSuEC+bJbFJ/bJ0uWL98hxzLq3DrXEkDOnBhOkgXIqsZ/N2i5MkwCpmF1uUtd6c/Jj7GeoBalZRKDp9rb92g==, tarball: file:projects/identity-broker.tgz} + resolution: {integrity: sha512-RE+YqSTaxxR3bgxMrHGjkuJjywZPJpdr10nDdOkrJ22/So+aW0kisoQEPaQ6WBL7HD6PSN9fWxfTBYsKfBGe2w==, tarball: file:projects/identity-broker.tgz} name: '@rush-temp/identity-broker' version: 0.0.0 dependencies: @@ -19371,15 +19349,15 @@ packages: '@azure/identity': 4.0.1 '@azure/msal-node': 2.6.4 '@azure/msal-node-extensions': 1.0.12 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 '@types/wtfnode': 0.7.2 cross-env: 7.0.3 eslint: 8.57.0 mocha: 10.3.0 - puppeteer: 22.3.0(typescript@5.3.3) + puppeteer: 22.4.1(typescript@5.3.3) rimraf: 5.0.5 sinon: 17.0.1 tslib: 2.6.2 @@ -19393,18 +19371,18 @@ packages: dev: false file:projects/identity-cache-persistence.tgz: - resolution: {integrity: sha512-xjW/usWexAhmcVMN898Kbi+t7A50zceGD22B5femIIF2pIKyExrmUN78+73vvuRWgovG22UHZ5CZwQRm02+PvQ==, tarball: file:projects/identity-cache-persistence.tgz} + resolution: {integrity: sha512-LCwbkL8GhVO0eQEUVYw5NtzezkcIVPHnwXZZ/f0YWGuevw7+KpOVzw+ZptL8VOqaM1+DOFJNfBxemjv/sxx0BA==, tarball: file:projects/identity-cache-persistence.tgz} name: '@rush-temp/identity-cache-persistence' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 '@azure/msal-node': 2.6.4 - '@azure/msal-node-extensions': 1.0.8 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@azure/msal-node-extensions': 1.0.12 + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/jws': 3.2.9 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 - '@types/qs': 6.9.11 + '@types/node': 18.19.22 + '@types/qs': 6.9.12 '@types/sinon': 17.0.3 cross-env: 7.0.3 dotenv: 16.4.5 @@ -19412,10 +19390,10 @@ packages: inherits: 2.0.4 keytar: 7.9.0 mocha: 10.3.0 - puppeteer: 22.3.0(typescript@5.3.3) + puppeteer: 22.4.1(typescript@5.3.3) rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -19429,16 +19407,16 @@ packages: dev: false file:projects/identity-vscode.tgz: - resolution: {integrity: sha512-vnqh3FnIhswMRabiCjc7s1kUEaRMfrXE643pVnnfrap6XtXLobo/uocB9Rc1XBLwpCUMp4CrgRL93ssVCehxNQ==, tarball: file:projects/identity-vscode.tgz} + resolution: {integrity: sha512-WCE5QHoZnOoqtCgxVpD5cYrQDumqgTNKpzUT/hXeLEkJ8Mu7NmDd8QnIWYd9J6MP0pwZDI2IKRVJRv+Wn6fl+A==, tarball: file:projects/identity-vscode.tgz} name: '@rush-temp/identity-vscode' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/jws': 3.2.9 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 - '@types/qs': 6.9.11 + '@types/node': 18.19.22 + '@types/qs': 6.9.12 '@types/sinon': 17.0.3 '@types/uuid': 8.3.4 cross-env: 7.0.3 @@ -19447,10 +19425,10 @@ packages: inherits: 2.0.4 keytar: 7.9.0 mocha: 10.3.0 - puppeteer: 22.3.0(typescript@5.3.3) + puppeteer: 22.4.1(typescript@5.3.3) rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -19464,7 +19442,7 @@ packages: dev: false file:projects/identity.tgz: - resolution: {integrity: sha512-j1761zpFWorjbpu/tWmXQ8wDc6t1/9J0pguRlSl1ibFzo/G3in6FLnG1Cc/8UUcQfvEUbRU3tLf+M0WffpCWdA==, tarball: file:projects/identity.tgz} + resolution: {integrity: sha512-eWwcHy7qVgJKYZylPZArxZ9mF4TxBqvuDUGf7/I/q/tBRofMWlSm5+epmkPB5EsFWmLE965r5SwyPapJh5lvrw==, tarball: file:projects/identity.tgz} name: '@rush-temp/identity' version: 0.0.0 dependencies: @@ -19472,13 +19450,13 @@ packages: '@azure/keyvault-keys': 4.8.0 '@azure/msal-browser': 3.10.0 '@azure/msal-node': 2.6.4 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 - '@types/jsonwebtoken': 9.0.5 + '@types/jsonwebtoken': 9.0.6 '@types/jws': 3.2.9 '@types/mocha': 10.0.6 '@types/ms': 0.7.34 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 '@types/stoppable': 1.1.3 '@types/uuid': 8.3.4 @@ -19502,11 +19480,11 @@ packages: mocha: 10.3.0 ms: 2.1.3 open: 8.4.2 - puppeteer: 22.3.0(typescript@5.3.3) + puppeteer: 22.4.1(typescript@5.3.3) rimraf: 5.0.5 sinon: 17.0.1 stoppable: 1.1.0 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -19521,15 +19499,15 @@ packages: dev: false file:projects/iot-device-update.tgz: - resolution: {integrity: sha512-L6CoANIvkPHd8wxwZtE2GCnmcSnhfq76pfbSFKkRIQxdAovBcUfjGWEqLn+8eefB3FG02REvWxyCFi0KBkBBTA==, tarball: file:projects/iot-device-update.tgz} + resolution: {integrity: sha512-UFNINAFOToP7NJR8stMLUfmepJc8b8YXGZJy5z2ZJYf7Db/xKAvjYOcysmy8lIPB3SyjOWiemD3U3/v0r572og==, tarball: file:projects/iot-device-update.tgz} name: '@rush-temp/iot-device-update' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/uuid': 8.3.4 c8: 8.0.1 chai: 4.3.10 @@ -19553,7 +19531,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uuid: 8.3.2 @@ -19567,14 +19545,14 @@ packages: dev: false file:projects/iot-modelsrepository.tgz: - resolution: {integrity: sha512-RpJ79+50X8ksqxlW0AWqk7c6zVguxpmmP4MhfNkuU44sRaJH96URi9ROItmGIpVRBFbpuuRUOae72ippUgzqew==, tarball: file:projects/iot-modelsrepository.tgz} + resolution: {integrity: sha512-gvMttKI/ZrYHvurbJpfqJcivpEXmmMTOGiLQhMW68m+j1LHsL+3IguNZSffPIox7lRNsDYnpIrLOZ10DbXV+/w==, tarball: file:projects/iot-modelsrepository.tgz} name: '@rush-temp/iot-modelsrepository' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 chai: 4.3.10 @@ -19597,7 +19575,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -19611,15 +19589,15 @@ packages: dev: false file:projects/keyvault-admin.tgz: - resolution: {integrity: sha512-RLWOSxjyGjR5IK5Zn3K3qhTbssFq8TbHNqWNwm9Mk3SQsUR66+jhDk6lxN6A6lkfSI2p0ACVVIe9gZCGcYTNsg==, tarball: file:projects/keyvault-admin.tgz} + resolution: {integrity: sha512-7MJ5EAxk5BnbrztcD9YgCF89aLz3bUNFh1AbWvk5HR0exX5dZ32iKnJVY7wyc5bclBYGJayh+QQlhbPJN3Scyg==, tarball: file:projects/keyvault-admin.tgz} name: '@rush-temp/keyvault-admin' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 '@types/uuid': 8.3.4 c8: 8.0.1 @@ -19631,7 +19609,7 @@ packages: rimraf: 5.0.5 sinon: 17.0.1 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uuid: 8.3.2 @@ -19642,15 +19620,15 @@ packages: dev: false file:projects/keyvault-certificates.tgz: - resolution: {integrity: sha512-gzE1si0y81RzmpykipQJd3J30EtyRdJafBQ8wL2EO5MmVOr2sGqyFTJiEOW2HivbwCtCn98DsADi2ikdNyyDxA==, tarball: file:projects/keyvault-certificates.tgz} + resolution: {integrity: sha512-OYVRsqy7v/QmN1pxwJQ5FhKJsWMfzAUELoLvT7XudEVa9wOvBZs6bzkKmNjobcyHAmxYU8zjgpsaRv0IrU8Wfg==, tarball: file:projects/keyvault-certificates.tgz} name: '@rush-temp/keyvault-certificates' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 cross-env: 7.0.3 @@ -19669,11 +19647,11 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.3) karma-sourcemap-loader: 0.3.8 mocha: 10.3.0 - puppeteer: 22.3.0(typescript@5.3.3) + puppeteer: 22.4.1(typescript@5.3.3) rimraf: 5.0.5 sinon: 17.0.1 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -19687,24 +19665,24 @@ packages: dev: false file:projects/keyvault-common.tgz: - resolution: {integrity: sha512-6/RGVMxWL5HA1fMuirrHr6Uppay8SRLhT6XUpKkX7keBA3efjjzpxMBoUweLcAx6wc5i1YzxcRkej8Yc0mp/yQ==, tarball: file:projects/keyvault-common.tgz} + resolution: {integrity: sha512-3eTt0Qa30nw+eIjDezcF8kQ9jFhiFXqTZA6XBNiQAiHrBIeOX4xWXB3kpQ1Xbz2Pqq4G+UnXsc8h3td75Etdgw==, tarball: file:projects/keyvault-common.tgz} name: '@rush-temp/keyvault-common' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 c8: 8.0.1 cross-env: 7.0.3 eslint: 8.57.0 esm: 3.2.25 mocha: 10.3.0 - puppeteer: 22.3.0(typescript@5.3.3) + puppeteer: 22.4.1(typescript@5.3.3) rimraf: 5.0.5 sinon: 17.0.1 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -19717,15 +19695,15 @@ packages: dev: false file:projects/keyvault-keys.tgz: - resolution: {integrity: sha512-lgL5ctDRRbphGvhYV2vOz4Kg88hszujP2+Jfju1c7ZBa1ipljleDh0Q66uciYRlWa/FftYixCkYGVQiQg++rtw==, tarball: file:projects/keyvault-keys.tgz} + resolution: {integrity: sha512-tGzJ200FaETep8Y2lb4/bqtGwstjimWTnepRZwgjrHYFEsjWTfhRGhYKsATCKCKbf8C5NTuQTcNdbgkN8hTLKg==, tarball: file:projects/keyvault-keys.tgz} name: '@rush-temp/keyvault-keys' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 cross-env: 7.0.3 @@ -19745,11 +19723,11 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.3) karma-sourcemap-loader: 0.3.8 mocha: 10.3.0 - puppeteer: 22.3.0(typescript@5.3.3) + puppeteer: 22.4.1(typescript@5.3.3) rimraf: 5.0.5 sinon: 17.0.1 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -19763,15 +19741,15 @@ packages: dev: false file:projects/keyvault-secrets.tgz: - resolution: {integrity: sha512-mcvWWMggYVmLH1lRR2CiE9/PgK4hcDSsjxtlvBR6c2km/1hkTxOGHPsN1vN5ifSOVsw6pYdOxFWjNIObLEGA6Q==, tarball: file:projects/keyvault-secrets.tgz} + resolution: {integrity: sha512-ceC2UCgZnkE+7/DscilyDhsx9ZVLk1jZR71J7kVXb/JIOQgkyHbQNFAYSQ2EdQRyrq4aYoeeSsKEaJT7k8qXdA==, tarball: file:projects/keyvault-secrets.tgz} name: '@rush-temp/keyvault-secrets' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 cross-env: 7.0.3 @@ -19788,11 +19766,11 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.3) karma-sourcemap-loader: 0.3.8 mocha: 10.3.0 - puppeteer: 22.3.0(typescript@5.3.3) + puppeteer: 22.4.1(typescript@5.3.3) rimraf: 5.0.5 sinon: 17.0.1 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -19806,16 +19784,16 @@ packages: dev: false file:projects/load-testing.tgz: - resolution: {integrity: sha512-9KppaB75cGaUL3m1zIWsNuS+d9Xu3ycBx1hlwOmKRXF4q4Eb1FwKd3rog2t8w3+/fJNClCK8zCMpIH+vmXki9Q==, tarball: file:projects/load-testing.tgz} + resolution: {integrity: sha512-d8IluGAh4OKdvzXCJSFJmobjvON5nq3IOAfjkafs8Ef4SDTa3QLtA195glf1tVXkfZcJq20Ak5lQ7H2yZracBw==, tarball: file:projects/load-testing.tgz} name: '@rush-temp/load-testing' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/uuid': 8.3.4 autorest: 3.7.1 c8: 8.0.1 @@ -19838,7 +19816,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uuid: 9.0.1 @@ -19852,23 +19830,23 @@ packages: dev: false file:projects/logger.tgz: - resolution: {integrity: sha512-+9REBcc8JqvPZtrlasULq44Rf/SZCr0g9nSSc62oxWhgQPsk/YBYMbcsfim7y562Vno8uYTFfqAH3xEjznwgnA==, tarball: file:projects/logger.tgz} + resolution: {integrity: sha512-jUkUA5MVUavt5VKFk1vFVZdC9Qo2YOFYXMcz8lJyUPn9xZNzJ2dIqNbrO15US44xUiLinfcx6W4qr+A7+9pcdA==, tarball: file:projects/logger.tgz} name: '@rush-temp/logger' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) - '@types/node': 18.19.18 - '@vitest/browser': 1.3.1(playwright@1.41.2)(vitest@1.3.1) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) + '@types/node': 18.19.22 + '@vitest/browser': 1.3.1(playwright@1.42.1)(vitest@1.3.1) '@vitest/coverage-istanbul': 1.3.1(vitest@1.3.1) dotenv: 16.4.5 eslint: 8.57.0 - playwright: 1.41.2 + playwright: 1.42.1 prettier: 3.2.5 rimraf: 5.0.5 - tshy: 1.11.1 + tshy: 1.12.0 tslib: 2.6.2 typescript: 5.3.3 - vitest: 1.3.1(@types/node@18.19.18)(@vitest/browser@1.3.1) + vitest: 1.3.1(@types/node@18.19.22)(@vitest/browser@1.3.1) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -19886,16 +19864,16 @@ packages: dev: false file:projects/maps-common.tgz: - resolution: {integrity: sha512-MshhAL16Di9s1phne1vgvSkvX9YI1UWTu80q2UYuUxgBHPnwtw5DwXHlGu+WnMKhGS3VbmOkwXanBPJx7AgDTQ==, tarball: file:projects/maps-common.tgz} + resolution: {integrity: sha512-3GpElejNNohWM/YZB4HYYpZsbjPr3iXqG2qqlASff6ercwPgzyU/zjmFgZj31zrnOFPNj9l7z0aoxyHhoLJlpQ==, tarball: file:projects/maps-common.tgz} name: '@rush-temp/maps-common' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) - '@types/node': 18.19.18 + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) + '@types/node': 18.19.22 eslint: 8.57.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) typescript: 5.3.3 transitivePeerDependencies: - '@swc/core' @@ -19904,16 +19882,16 @@ packages: dev: false file:projects/maps-geolocation.tgz: - resolution: {integrity: sha512-0xRLrvXCaJE17JNnFY1oUoejow+942QyefXiTjL/kvTmj4eYQ5HDCOtmOeZP4rSUXT/qadXX60Uzvdwmy+9ucg==, tarball: file:projects/maps-geolocation.tgz} + resolution: {integrity: sha512-aSRlzsxpI3DVj260DBALkhBOduoCUT/qMHaTS9AJmFFftrdJ89IPdJOeIRO89WR7BG1SaKR2d3n0gQF54JvH/w==, tarball: file:projects/maps-geolocation.tgz} name: '@rush-temp/maps-geolocation' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 '@azure/maps-common': 1.0.0-beta.2 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 autorest: 3.7.1 c8: 8.0.1 chai: 4.3.10 @@ -19935,7 +19913,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -19948,16 +19926,16 @@ packages: dev: false file:projects/maps-render.tgz: - resolution: {integrity: sha512-Mcdw8CbEFcOY5bEc4EpeHsyqXXeNpO1qwyjHbe9mkK3mlUuXymZlzvUEuLGfjVsSDHP0iPqXTXsHRlp4/AuVCQ==, tarball: file:projects/maps-render.tgz} + resolution: {integrity: sha512-U65JVg+RhikkPqt810eFVXpZO7scNbuR81bS7dFjeqjqjd4tEUsU6argF1XOsWWQxNOHaUhUp/OGZ1by4Vgbcw==, tarball: file:projects/maps-render.tgz} name: '@rush-temp/maps-render' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 '@azure/maps-common': 1.0.0-beta.2 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 autorest: 3.7.1 c8: 8.0.1 chai: 4.3.10 @@ -19979,7 +19957,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -19992,16 +19970,16 @@ packages: dev: false file:projects/maps-route.tgz: - resolution: {integrity: sha512-/zpn44m8aiOTEBEbWXQMnP412K1ihf3w5mfQVfgb6iBJM7IncdDpvsbFQokItVG5AkA6rEgJsi47xF4//Ctoag==, tarball: file:projects/maps-route.tgz} + resolution: {integrity: sha512-BoHJHYBKoMovRTG7o3iNC3pxZdk8W+inVFXa/PcdM3qygQuWNA92bv9vP+7aeF5UAkkp5f1OD+6PGor5U7SbCg==, tarball: file:projects/maps-route.tgz} name: '@rush-temp/maps-route' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 '@azure/maps-common': 1.0.0-beta.2 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 autorest: 3.7.1 c8: 8.0.1 chai: 4.3.10 @@ -20023,7 +20001,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -20036,16 +20014,16 @@ packages: dev: false file:projects/maps-search.tgz: - resolution: {integrity: sha512-B4YewDv3JmTWVIMpYJDHR/am1Cr6AP6qIs2IPDNBldh7eRq2NJVYEvGE9mhqKoVwlSmZbsI7mCdb+JGZ0cQzQA==, tarball: file:projects/maps-search.tgz} + resolution: {integrity: sha512-YVkCCBVFwS4TRx32GjOuE3qGM3/GKNH64DNYI8l/nrYcNdrO1laeq2hb6uWpvchbgcK3dFE5Nq2/cVii5uc8gw==, tarball: file:projects/maps-search.tgz} name: '@rush-temp/maps-search' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 '@azure/maps-common': 1.0.0-beta.2 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 autorest: 3.7.1 c8: 8.0.1 chai: 4.3.10 @@ -20067,7 +20045,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -20080,15 +20058,15 @@ packages: dev: false file:projects/mixed-reality-authentication.tgz: - resolution: {integrity: sha512-YmEfvYGblBDCX3ShDK6pH5vpYeehwj8YFL82EIKHRC3yOCilxojdnXY6XlWoKlGnR8PmKPacTjyv8ZLbwzm4Sg==, tarball: file:projects/mixed-reality-authentication.tgz} + resolution: {integrity: sha512-kyN9szevkPlknBySlT8Pgt46s4O0irEKZcUpNI6K2wU8SQ6oPCKMwSYqJgWB5OGgncPvEDc/F+wi8vH/PYCgmg==, tarball: file:projects/mixed-reality-authentication.tgz} name: '@rush-temp/mixed-reality-authentication' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/chai-as-promised': 7.1.8 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 c8: 8.0.1 chai: 4.3.10 chai-as-promised: 7.1.1(chai@4.3.10) @@ -20108,7 +20086,7 @@ packages: karma-sourcemap-loader: 0.3.8 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -20122,17 +20100,17 @@ packages: dev: false file:projects/mixed-reality-remote-rendering.tgz: - resolution: {integrity: sha512-bYue2z4X1o4zb+l9BKAAX0KItEqWIf0HIXwnNjbUB6/qEFpp/emif1nqJO3v5aytxdNQGbrCpKaAeNETsvWfcA==, tarball: file:projects/mixed-reality-remote-rendering.tgz} + resolution: {integrity: sha512-Lx5F3/Uhzb8W+K4uDjllDC+El5XrcN3pSZDhsQ+NYBgWmTihXkDm0uOgeIZi5VQMZLOEHNDgegMBZf25W3VJxw==, tarball: file:projects/mixed-reality-remote-rendering.tgz} name: '@rush-temp/mixed-reality-remote-rendering' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/chai-as-promised': 7.1.8 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/uuid': 8.3.4 c8: 8.0.1 chai: 4.3.10 @@ -20154,7 +20132,7 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.3) mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -20169,17 +20147,17 @@ packages: dev: false file:projects/mock-hub.tgz: - resolution: {integrity: sha512-0iFt6iHLpfCmW64Hgw/dxsQJuhX5FWqOFbYNpztGMMZ5z/EYnJ+0blwPQA47vwp6HRJCs93XGCEo9/PL8RvgUQ==, tarball: file:projects/mock-hub.tgz} + resolution: {integrity: sha512-cF5biFHCBknMGeAoMtk9cec5IzeT3ABz8tle5SCZMjc1UFO8hOUeOpL26O/SAwfdz97VYr6NeOL6XWL/l/Ng+g==, tarball: file:projects/mock-hub.tgz} name: '@rush-temp/mock-hub' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 - '@types/node': 18.19.18 + '@types/node': 18.19.22 dotenv: 16.4.5 eslint: 8.57.0 rhea: 3.0.2 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -20189,16 +20167,16 @@ packages: dev: false file:projects/monitor-ingestion.tgz: - resolution: {integrity: sha512-XTy7LjKs5BRxWuIZxdTaKpNkghCBuYKEdLuU9ax+9I/dc0XwTZ3Ia5pFYk9DYL6bKhK5u+VQIrC6+gD2NUqOyA==, tarball: file:projects/monitor-ingestion.tgz} + resolution: {integrity: sha512-dfdhur+86HxCJzb09f8aa7lRIZxjhCuZfv2/FA+dhVKsIp+KvZuQuGtbiezUd8Q6nQweFBGYS9hZbTysa5E0iA==, tarball: file:projects/monitor-ingestion.tgz} name: '@rush-temp/monitor-ingestion' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/pako': 2.0.3 '@types/sinon': 17.0.3 c8: 8.0.1 @@ -20223,7 +20201,7 @@ packages: rimraf: 5.0.5 sinon: 17.0.1 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -20237,114 +20215,107 @@ packages: dev: false file:projects/monitor-opentelemetry-exporter.tgz: - resolution: {integrity: sha512-S7vXeV/PsUy8mIA6aHvFgk532pQLVUoMVqQUm6m2UV2ywGalYGYboS0eyuQgYJn7ZSiFWVgzmcnveGMOgcPqYQ==, tarball: file:projects/monitor-opentelemetry-exporter.tgz} + resolution: {integrity: sha512-kTOHl9kMbOSOskX+nYUM3Sb7Vk6EgewbgaXKqjz+Brir3IvHoWDSgb+qZM85SeHIjYxEhQI/36jd18HyM4oepg==, tarball: file:projects/monitor-opentelemetry-exporter.tgz} name: '@rush-temp/monitor-opentelemetry-exporter' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) - '@opentelemetry/api': 1.7.0 - '@opentelemetry/api-logs': 0.48.0 - '@opentelemetry/core': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/instrumentation': 0.48.0(@opentelemetry/api@1.7.0) - '@opentelemetry/instrumentation-http': 0.48.0(@opentelemetry/api@1.7.0) - '@opentelemetry/resources': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-logs': 0.48.0(@opentelemetry/api-logs@0.48.0)(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-metrics': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-trace-base': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-trace-node': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/semantic-conventions': 1.21.0 - '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) + '@opentelemetry/api': 1.8.0 + '@opentelemetry/api-logs': 0.49.1 + '@opentelemetry/core': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/instrumentation': 0.49.1(@opentelemetry/api@1.8.0) + '@opentelemetry/instrumentation-http': 0.49.1(@opentelemetry/api@1.8.0) + '@opentelemetry/resources': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/sdk-logs': 0.49.1(@opentelemetry/api-logs@0.49.1)(@opentelemetry/api@1.8.0) + '@opentelemetry/sdk-metrics': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/sdk-trace-base': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/sdk-trace-node': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/semantic-conventions': 1.22.0 + '@types/mocha': 10.0.6 + '@types/node': 18.19.22 c8: 8.0.1 cross-env: 7.0.3 dotenv: 16.4.5 eslint: 8.57.0 eslint-plugin-node: 11.1.0(eslint@8.57.0) - esm: 3.2.25 mocha: 10.3.0 nock: 12.0.3 rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) tslib: 2.6.2 + tsx: 4.7.1 typescript: 5.3.3 transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' - supports-color dev: false file:projects/monitor-opentelemetry.tgz: - resolution: {integrity: sha512-WBujV1y7D6UTSec+Bsha86JZGhqO1YFlgQmKWJNPDuAAkDaaOf/Nm0fpOgmYIGpPNQVPa9P4g+EqBC+UTinWHg==, tarball: file:projects/monitor-opentelemetry.tgz} + resolution: {integrity: sha512-oY3JKxapMG5+aFPyq2/ae4IToa2aKOocXo2pcX0O/LBqLry3Hm6fzY302mbH8oW2LjDL7UX/82k5yxXHMXxPgQ==, tarball: file:projects/monitor-opentelemetry.tgz} name: '@rush-temp/monitor-opentelemetry' version: 0.0.0 dependencies: '@azure/functions': 3.5.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) - '@microsoft/applicationinsights-web-snippet': 1.0.1 - '@opentelemetry/api': 1.7.0 - '@opentelemetry/api-logs': 0.48.0 - '@opentelemetry/core': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/instrumentation': 0.48.0(@opentelemetry/api@1.7.0) - '@opentelemetry/instrumentation-bunyan': 0.35.0(@opentelemetry/api@1.7.0) - '@opentelemetry/instrumentation-http': 0.48.0(@opentelemetry/api@1.7.0) - '@opentelemetry/instrumentation-mongodb': 0.39.0(@opentelemetry/api@1.7.0) - '@opentelemetry/instrumentation-mysql': 0.35.0(@opentelemetry/api@1.7.0) - '@opentelemetry/instrumentation-pg': 0.38.0(@opentelemetry/api@1.7.0) - '@opentelemetry/instrumentation-redis': 0.36.0(@opentelemetry/api@1.7.0) - '@opentelemetry/instrumentation-redis-4': 0.36.0(@opentelemetry/api@1.7.0) - '@opentelemetry/resource-detector-azure': 0.2.4(@opentelemetry/api@1.7.0) - '@opentelemetry/resources': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-logs': 0.48.0(@opentelemetry/api-logs@0.48.0)(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-metrics': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-node': 0.48.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-trace-base': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-trace-node': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/semantic-conventions': 1.21.0 - '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) + '@microsoft/applicationinsights-web-snippet': 1.1.2 + '@opentelemetry/api': 1.8.0 + '@opentelemetry/api-logs': 0.49.1 + '@opentelemetry/core': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/instrumentation': 0.49.1(@opentelemetry/api@1.8.0) + '@opentelemetry/instrumentation-bunyan': 0.36.0(@opentelemetry/api@1.8.0) + '@opentelemetry/instrumentation-http': 0.49.1(@opentelemetry/api@1.8.0) + '@opentelemetry/instrumentation-mongodb': 0.40.0(@opentelemetry/api@1.8.0) + '@opentelemetry/instrumentation-mysql': 0.36.0(@opentelemetry/api@1.8.0) + '@opentelemetry/instrumentation-pg': 0.39.1(@opentelemetry/api@1.8.0) + '@opentelemetry/instrumentation-redis': 0.37.0(@opentelemetry/api@1.8.0) + '@opentelemetry/instrumentation-redis-4': 0.37.0(@opentelemetry/api@1.8.0) + '@opentelemetry/resource-detector-azure': 0.2.5(@opentelemetry/api@1.8.0) + '@opentelemetry/resources': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/sdk-logs': 0.49.1(@opentelemetry/api-logs@0.49.1)(@opentelemetry/api@1.8.0) + '@opentelemetry/sdk-metrics': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/sdk-node': 0.49.1(@opentelemetry/api@1.8.0) + '@opentelemetry/sdk-trace-base': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/sdk-trace-node': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/semantic-conventions': 1.22.0 + '@types/mocha': 10.0.6 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 cross-env: 7.0.3 dotenv: 16.4.5 eslint: 8.57.0 eslint-plugin-node: 11.1.0(eslint@8.57.0) - esm: 3.2.25 mocha: 10.3.0 nock: 12.0.3 rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) tslib: 2.6.2 + tsx: 4.7.1 typescript: 5.3.3 transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' - supports-color dev: false file:projects/monitor-query.tgz: - resolution: {integrity: sha512-wb9Nut4sCw1VEKskWOOmbAhQGDv2BH31e5tFALkZrJ6x9G9193wklgNWE01AKWcNWP0ZJB+yK1kFPHQQ8BQTOA==, tarball: file:projects/monitor-query.tgz} + resolution: {integrity: sha512-APfUA0snPDgNqjL0lwKnltwvMRAk88dB212p8rG31+7RU11DlirWZhqEiRdm9yv/SAFl1hBOzFUFkzuyi6tKEQ==, tarball: file:projects/monitor-query.tgz} name: '@rush-temp/monitor-query' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) - '@opentelemetry/api': 1.7.0 - '@opentelemetry/sdk-trace-base': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-trace-node': 1.21.0(@opentelemetry/api@1.7.0) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) + '@opentelemetry/api': 1.8.0 + '@opentelemetry/sdk-trace-base': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/sdk-trace-node': 1.22.0(@opentelemetry/api@1.8.0) '@types/chai': 4.3.12 '@types/chai-as-promised': 7.1.8 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 c8: 8.0.1 chai: 4.3.10 chai-as-promised: 7.1.1(chai@4.3.10) cross-env: 7.0.3 dotenv: 16.4.5 eslint: 8.57.0 - esm: 3.2.25 inherits: 2.0.4 karma: 6.4.3(debug@4.3.4) karma-chrome-launcher: 3.2.0 @@ -20357,12 +20328,10 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) tslib: 2.6.2 + tsx: 4.7.1 typescript: 5.3.3 transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' - bufferutil - debug - supports-color @@ -20370,14 +20339,14 @@ packages: dev: false file:projects/notification-hubs.tgz: - resolution: {integrity: sha512-wYVvhqm1c9pu0sVGbUmow/+Y1RVDeGgQPeSEXNbxXH5BBO4XS0NUD1rsS0sny/ZuiOyBmH584mTuYPitc27Qww==, tarball: file:projects/notification-hubs.tgz} + resolution: {integrity: sha512-s/yAfCbzDTCZhbHVodYO0Vyrehxkpxk771NPRrphdJznZu8v7t6V5o+Bmxx/ys92RNf36oZf9eA+nT4SgdLjDQ==, tarball: file:projects/notification-hubs.tgz} name: '@rush-temp/notification-hubs' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 c8: 8.0.1 chai: 4.3.10 dotenv: 16.4.5 @@ -20387,7 +20356,7 @@ packages: karma-chrome-launcher: 3.2.0 karma-coverage: 2.2.1 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 2.1.2 + karma-firefox-launcher: 2.1.3 karma-json-preprocessor: 0.3.3(karma@6.4.3) karma-json-to-file-reporter: 1.0.1 karma-junit-reporter: 2.0.1(karma@6.4.3) @@ -20395,9 +20364,9 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.3) karma-sourcemap-loader: 0.3.8 mocha: 10.3.0 - puppeteer: 22.3.0(typescript@5.3.3) + puppeteer: 22.4.1(typescript@5.3.3) rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -20411,15 +20380,15 @@ packages: dev: false file:projects/openai-1.tgz: - resolution: {integrity: sha512-J+fEGzw/cTpp6pt2s4N3Hrq4O+aJZHiqfiH5zTtD9s9tHiHLvGcwurZPNaNrrqNtvyCHwgS5rVAJa85c5PX63Q==, tarball: file:projects/openai-1.tgz} + resolution: {integrity: sha512-nHl5TY8ZI+5uXiQGGDdh3YtcZWRLa365QOqeSypMKKywAkRcrhFnYE+UHqFGY7caOgans8Q+wZJU6OwvjS0rmg==, tarball: file:projects/openai-1.tgz} name: '@rush-temp/openai-1' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 builtin-modules: 3.3.0 c8: 8.0.1 cross-env: 7.0.3 @@ -20431,7 +20400,7 @@ packages: karma-coverage: 2.2.1 karma-edge-launcher: 0.4.2(karma@6.4.3) karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 2.1.2 + karma-firefox-launcher: 2.1.3 karma-json-preprocessor: 0.3.3(karma@6.4.3) karma-json-to-file-reporter: 1.0.1 karma-junit-reporter: 2.0.1(karma@6.4.3) @@ -20439,9 +20408,9 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.3) karma-sourcemap-loader: 0.3.8 mocha: 10.3.0 - puppeteer: 22.3.0(typescript@5.3.3) + puppeteer: 22.4.1(typescript@5.3.3) rimraf: 3.0.2 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -20455,14 +20424,14 @@ packages: dev: false file:projects/openai-assistants.tgz: - resolution: {integrity: sha512-sAmQpau4Yt0j6ZWlakq60s7g0PJlloqpTh3opxH6LgYqH5ZMNQVHFUaoAHVVCEj4y7Al/hF68AfuyOYt8yX2LA==, tarball: file:projects/openai-assistants.tgz} + resolution: {integrity: sha512-+Al2BAe9J57+TktRmgFrEC7nr1RV2TdhPDA2qY3+/+7L3+y/KzhH1h8KoHL9SreoEtPM3B1iFni7iryatvuonw==, tarball: file:projects/openai-assistants.tgz} name: '@rush-temp/openai-assistants' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 autorest: 3.7.1 c8: 8.0.1 cross-env: 7.0.3 @@ -20473,7 +20442,7 @@ packages: karma-chrome-launcher: 3.2.0 karma-coverage: 2.2.1 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 2.1.2 + karma-firefox-launcher: 2.1.3 karma-junit-reporter: 2.0.1(karma@6.4.3) karma-mocha: 2.0.1 karma-mocha-reporter: 2.2.5(karma@6.4.3) @@ -20484,7 +20453,7 @@ packages: prettier: 2.8.8 rimraf: 3.0.2 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -20497,13 +20466,13 @@ packages: dev: false file:projects/openai.tgz: - resolution: {integrity: sha512-8k0W5UZO4jYWW3R0sw4J8w/xFEovBBusdYQqIGUMlwGq7t869oE0XXOfahDsZIGDBACj32ci3maBGF8PN/MhUQ==, tarball: file:projects/openai.tgz} + resolution: {integrity: sha512-obXb6vm/bNL9CLo3VIhpsCeY0v9qbzpa8/iCAGWGHLQCqiKrC38nOBVU86j6McQhLyTeviWOz04ax4b0w2Df8g==, tarball: file:projects/openai.tgz} name: '@rush-temp/openai' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) - '@types/node': 18.19.18 + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) + '@types/node': 18.19.22 autorest: 3.7.1 cross-env: 7.0.3 dotenv: 16.4.5 @@ -20515,26 +20484,25 @@ packages: dev: false file:projects/opentelemetry-instrumentation-azure-sdk.tgz: - resolution: {integrity: sha512-SbiGnMFn6+q17pUjEWy7BDOM1zxdOmrEW6kF7NScp0BqkEPDEX+KRiyl04aE14eX3RBEFGUOw/cWVisgp2SjLQ==, tarball: file:projects/opentelemetry-instrumentation-azure-sdk.tgz} + resolution: {integrity: sha512-My75scGbzqjp9IkJaEISCLmVKRPW2dc7a369c8s3+uFHMKIzqiz4BjITxqYlI2N7zZ1o+SAW4QV26zY7Tka3EA==, tarball: file:projects/opentelemetry-instrumentation-azure-sdk.tgz} name: '@rush-temp/opentelemetry-instrumentation-azure-sdk' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/instrumentation': 0.48.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-trace-base': 1.21.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-trace-node': 1.21.0(@opentelemetry/api@1.7.0) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) + '@opentelemetry/api': 1.8.0 + '@opentelemetry/core': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/instrumentation': 0.49.1(@opentelemetry/api@1.8.0) + '@opentelemetry/sdk-trace-base': 1.22.0(@opentelemetry/api@1.8.0) + '@opentelemetry/sdk-trace-node': 1.22.0(@opentelemetry/api@1.8.0) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 eslint: 8.57.0 - esm: 3.2.25 inherits: 2.0.4 karma: 6.4.3(debug@4.3.4) karma-chrome-launcher: 3.2.0 @@ -20548,13 +20516,11 @@ packages: rimraf: 5.0.5 sinon: 17.0.1 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) tslib: 2.6.2 + tsx: 4.7.1 typescript: 5.3.3 util: 0.12.5 transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' - bufferutil - debug - supports-color @@ -20562,16 +20528,16 @@ packages: dev: false file:projects/perf-ai-form-recognizer.tgz: - resolution: {integrity: sha512-jwvM/uBXz+A91uURcwEDNZj8aaDBn4bQbL/jKk89Kwfd0T9KbivN8gcuAV+cogmZXxukHgRhyPbV8Ha2guuSjw==, tarball: file:projects/perf-ai-form-recognizer.tgz} + resolution: {integrity: sha512-nHlDtG65YHF/9vLOzaSVYQAl0uGyfB95ZLConBASNnarAdHdTJuzsJYMH3H6STz3z9UcN9rHw7DhXh4KZsi6kw==, tarball: file:projects/perf-ai-form-recognizer.tgz} name: '@rush-temp/perf-ai-form-recognizer' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@types/node': 18.19.18 + '@types/node': 18.19.22 dotenv: 16.4.5 eslint: 8.57.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -20581,16 +20547,16 @@ packages: dev: false file:projects/perf-ai-language-text.tgz: - resolution: {integrity: sha512-zmMlXP481S2leaGbiTPTdoAgWZMmIDLzTjjPgiTqU0qfd9YHtIdaelmqBnwr9F0uRkaKYFR46r97FjSGbsQh3w==, tarball: file:projects/perf-ai-language-text.tgz} + resolution: {integrity: sha512-h5bRfw9HxK0T8exTBPJ0hrJrldRzd4i38FAt8SwD54R8IEJIgZY4hOdMI7SjE+oUSae9ZTt8YIPZujU0TIdFUQ==, tarball: file:projects/perf-ai-language-text.tgz} name: '@rush-temp/perf-ai-language-text' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@types/node': 18.19.18 + '@types/node': 18.19.22 dotenv: 16.4.5 eslint: 8.57.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -20600,15 +20566,15 @@ packages: dev: false file:projects/perf-ai-metrics-advisor.tgz: - resolution: {integrity: sha512-1Qj2vbfJQ10Gkhk3ZAx7pWWzVzFHtPEqiQqWwiGfZxErxv8k/flqDznrr0v9L5KBIml+ygYdHMKhyNFjLjAL+A==, tarball: file:projects/perf-ai-metrics-advisor.tgz} + resolution: {integrity: sha512-aRLifFK3T0HVAG5f/nS5lnGDJjtrkVIRYvdoFtDq14eoUFTYbKXVblms3mGhTAh2cCaZK4QoBa6R4IPhxO7tHg==, tarball: file:projects/perf-ai-metrics-advisor.tgz} name: '@rush-temp/perf-ai-metrics-advisor' version: 0.0.0 dependencies: - '@types/node': 18.19.18 + '@types/node': 18.19.22 dotenv: 16.4.5 eslint: 8.57.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -20618,16 +20584,16 @@ packages: dev: false file:projects/perf-ai-text-analytics.tgz: - resolution: {integrity: sha512-OSuAsD6WyU5XHFVTOIm883IVdqON4sm7COUyxmxP2s/JGz5Nuo0p2jwyFgLl+CkAk7znEvuXA9tcg5wvEE0n5g==, tarball: file:projects/perf-ai-text-analytics.tgz} + resolution: {integrity: sha512-87DiBf7cu6ukgc1f/3ZsG/JTCeJyIIQ8OaWui2YcKuPIiLPIUCdWztfytciNd49RNCLrnhyiR8UbGFAsLKcudA==, tarball: file:projects/perf-ai-text-analytics.tgz} name: '@rush-temp/perf-ai-text-analytics' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@types/node': 18.19.18 + '@types/node': 18.19.22 dotenv: 16.4.5 eslint: 8.57.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -20637,16 +20603,16 @@ packages: dev: false file:projects/perf-app-configuration.tgz: - resolution: {integrity: sha512-McDuRdZ+MgkgonF+gWWqY2MR3Uu/ZXlzv46lA5/AM2onKI/n+DMyvDai26aDDHrhmgWJ8MG2NNuJXZ8uFOvrKg==, tarball: file:projects/perf-app-configuration.tgz} + resolution: {integrity: sha512-4VBBoLiknqGY1Pf5W0b3DQXnhOPiTtwRn352YoZUqN0LtfSIl0On7t0o3bkT3wVKV9YOZHBjfKpB5jRqXJlufg==, tarball: file:projects/perf-app-configuration.tgz} name: '@rush-temp/perf-app-configuration' version: 0.0.0 dependencies: '@azure/app-configuration': 1.5.0-beta.2 - '@types/node': 18.19.18 + '@types/node': 18.19.22 dotenv: 16.4.5 eslint: 8.57.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -20656,15 +20622,15 @@ packages: dev: false file:projects/perf-container-registry.tgz: - resolution: {integrity: sha512-UknYlNsrzb9/E4tBwf0OT5CZz1Czn1VRG/CbEKG+usukq0711J+rqfaCfQS2yrwPED1r3W3Su6odqBe+MHzPew==, tarball: file:projects/perf-container-registry.tgz} + resolution: {integrity: sha512-lKrzqDt/jRSznA+hDQ/YMrYgsNq/WIqlCa0f4/ExOk9WPrFnOH6iVeY/cBCKyRa1lsYa7vUUqcDTZNAXM0f/qQ==, tarball: file:projects/perf-container-registry.tgz} name: '@rush-temp/perf-container-registry' version: 0.0.0 dependencies: - '@types/node': 18.19.18 + '@types/node': 18.19.22 dotenv: 16.4.5 eslint: 8.57.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -20674,22 +20640,22 @@ packages: dev: false file:projects/perf-core-rest-pipeline.tgz: - resolution: {integrity: sha512-d4G9rQMyMyIAfEwY9p+m6QCM9OTaEjS8/pvg89QnJRW56qqxRwI64iGfApGfQX55YXqdtLM+m4Q+a+dR8Uq/mA==, tarball: file:projects/perf-core-rest-pipeline.tgz} + resolution: {integrity: sha512-1kp1CzvjTJooy5VARRN9YdUO5E9WJV4t8SvHxlnmrr4UPpT1j0gs0Qd0EK0CaQ9NVAlzXfZLHX+EuYhzkFi4bw==, tarball: file:projects/perf-core-rest-pipeline.tgz} name: '@rush-temp/perf-core-rest-pipeline' version: 0.0.0 dependencies: '@types/express': 4.17.21 - '@types/node': 18.19.18 + '@types/node': 18.19.22 concurrently: 8.2.2 dotenv: 16.4.5 eslint: 8.57.0 - express: 4.18.2 + express: 4.18.3 prettier: 2.8.8 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 - undici: 6.6.2 + undici: 6.7.1 transitivePeerDependencies: - '@swc/core' - '@swc/wasm' @@ -20697,15 +20663,15 @@ packages: dev: false file:projects/perf-data-tables.tgz: - resolution: {integrity: sha512-+LFt85LhKL0KYqYvEJfmyUZbv3TX27CM45MC4EI0gnCwuLi23qCSEiQdDwGj4JDtMlCUwdyuWG3y7ijNYfOPmw==, tarball: file:projects/perf-data-tables.tgz} + resolution: {integrity: sha512-0JtuW3D7cXwdLvx2QeViId9d5TJDN1yEEYBsd79DLVxpUJOkS7BsKRpYx55rz4YVeYgJwflSkz4lv+THB706Yw==, tarball: file:projects/perf-data-tables.tgz} name: '@rush-temp/perf-data-tables' version: 0.0.0 dependencies: - '@types/node': 18.19.18 + '@types/node': 18.19.22 dotenv: 16.4.5 eslint: 8.57.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -20715,17 +20681,17 @@ packages: dev: false file:projects/perf-event-hubs.tgz: - resolution: {integrity: sha512-D+ZExqVjiKJUcmHO44U8xr/kNkvSQed8CEsp6e66LJ4RWNEHVZud6Rsul8LKJe87ETfXepNHUTbWkBfS4waqLA==, tarball: file:projects/perf-event-hubs.tgz} + resolution: {integrity: sha512-8kFxLUSuT66qoYQwltzcSVmhTNhEQlj35vD0JHeXFcXY537RRLe9ie63OrlBgWU7kLPawf2VTjIINFRNectKzw==, tarball: file:projects/perf-event-hubs.tgz} name: '@rush-temp/perf-event-hubs' version: 0.0.0 dependencies: - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/uuid': 8.3.4 dotenv: 16.4.5 eslint: 8.57.0 moment: 2.30.1 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uuid: 8.3.2 @@ -20736,15 +20702,15 @@ packages: dev: false file:projects/perf-eventgrid.tgz: - resolution: {integrity: sha512-787Mjzr4zBib6gFgA+xA8VgA1TTgiipDgVQEZUd+oWDuPC6jFihrPfXng9ogHgR/CVt0h81BwJmsjQ2If7upWg==, tarball: file:projects/perf-eventgrid.tgz} + resolution: {integrity: sha512-/bxfs9aM9gkVTPEZcV8kkH9nulqltQe/9UhCc2YFV8qP8RLGBivNsaJzwmq/4nG+5XGx15CJ8oFDRtwuT746kw==, tarball: file:projects/perf-eventgrid.tgz} name: '@rush-temp/perf-eventgrid' version: 0.0.0 dependencies: - '@types/node': 18.19.18 + '@types/node': 18.19.22 dotenv: 16.4.5 eslint: 8.57.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -20754,17 +20720,17 @@ packages: dev: false file:projects/perf-identity.tgz: - resolution: {integrity: sha512-dHYs1Lha6y1+zLOYjV3Ja6AZukV+yf1Js1B0j72wgzEG33F6R7+EuJuUJf1elC/zNqfS/oFHYatfrB9RBEL/Gg==, tarball: file:projects/perf-identity.tgz} + resolution: {integrity: sha512-4kKWzWkL3zi2Fm6cp3kBwDEnex1v6SHXK0/5dfeBaQi1djJ4kYHo6GFs7WqLiLq3tNhMYysMdUm1po+N7QXuBQ==, tarball: file:projects/perf-identity.tgz} name: '@rush-temp/perf-identity' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/uuid': 8.3.4 dotenv: 16.4.5 eslint: 8.57.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -20774,17 +20740,17 @@ packages: dev: false file:projects/perf-keyvault-certificates.tgz: - resolution: {integrity: sha512-cabh08grEft+jxOhMZoXdbZfqdN/yGoCRniuXihWC1+Hq4PzOq22wQrvjXM3n5IR65BWMqd8sOw/bLBONnZ5Ig==, tarball: file:projects/perf-keyvault-certificates.tgz} + resolution: {integrity: sha512-TkBrpgsbj2qtDnLPvQSyEjJ3Bd7ftehcJN2oiMGQLoP2nPMKh8h/ZA95KBtPSYjZ2fofHw7DIWQKvam0Q3XnZA==, tarball: file:projects/perf-keyvault-certificates.tgz} name: '@rush-temp/perf-keyvault-certificates' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/uuid': 8.3.4 dotenv: 16.4.5 eslint: 8.57.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uuid: 8.3.2 @@ -20795,17 +20761,17 @@ packages: dev: false file:projects/perf-keyvault-keys.tgz: - resolution: {integrity: sha512-ALF0NZ5LHk6croBUbpAxJmjXHRbDQTXQNo53rwJTq9kQ7YMFtZ8ohtmsR4+D3GsTSVkpAy8HgJzh3zCAHuwqmg==, tarball: file:projects/perf-keyvault-keys.tgz} + resolution: {integrity: sha512-Q0ubdUt2FjQKN59273vG/T+Jngcx20FT8qy87CjcOuUYkWLdXC/AQ5DkbMCZMXfmjYHg2TD0BYZXlEfZtqksuw==, tarball: file:projects/perf-keyvault-keys.tgz} name: '@rush-temp/perf-keyvault-keys' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/uuid': 8.3.4 dotenv: 16.4.5 eslint: 8.57.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uuid: 8.3.2 @@ -20816,17 +20782,17 @@ packages: dev: false file:projects/perf-keyvault-secrets.tgz: - resolution: {integrity: sha512-ZFa2bHaE3iAI/Wz/4BpDvA34VhYUC2TYJ4jJmaYUFNfVWqdoCSsFjvhVWSFJeVwgBfPD76NraCmoeUvUTkcKmw==, tarball: file:projects/perf-keyvault-secrets.tgz} + resolution: {integrity: sha512-8ka8qvilTUigrzElOGOAfOz13zfeJyaGrm6rY3hDFjy2R875w/e6twe1CTmyVgZMFf9hS1KVuljf/vCpNLzhSQ==, tarball: file:projects/perf-keyvault-secrets.tgz} name: '@rush-temp/perf-keyvault-secrets' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/uuid': 8.3.4 dotenv: 16.4.5 eslint: 8.57.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uuid: 8.3.2 @@ -20837,16 +20803,16 @@ packages: dev: false file:projects/perf-monitor-ingestion.tgz: - resolution: {integrity: sha512-NGJiYRptN2G5Aa6j0/VCmlCTFRBtboUBFKm5RfYe0odqykbXSmSUlRAHZajR4wgUN1Zc7FsSezkLnWG8pePXKg==, tarball: file:projects/perf-monitor-ingestion.tgz} + resolution: {integrity: sha512-RXBrhJZ15i6xXfeTJiQsclwIaRDnQlaJkafTNQwofVeIo/GuMECIUG1+inwMV7Ybsj9INqrzhd8k4qppMagZPg==, tarball: file:projects/perf-monitor-ingestion.tgz} name: '@rush-temp/perf-monitor-ingestion' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@types/node': 18.19.18 + '@types/node': 18.19.22 dotenv: 16.4.5 eslint: 8.57.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -20856,39 +20822,34 @@ packages: dev: false file:projects/perf-monitor-opentelemetry.tgz: - resolution: {integrity: sha512-UmIBLhCcyAUSI69l/tuebYr2ycxEi5NETn0Ft0fGi70GAG7Q0RY2276XfMKs8glQwuTcCKPbp8HTR/1jaWrPIQ==, tarball: file:projects/perf-monitor-opentelemetry.tgz} + resolution: {integrity: sha512-CuiiwICnnW5XusZrqq1Cme8qL8cgFMzpcWcdUMt2z7i2enKRuYurcb0R4I2yU6gIq7RAmT3/4ZrJ9tcuuvDZKQ==, tarball: file:projects/perf-monitor-opentelemetry.tgz} name: '@rush-temp/perf-monitor-opentelemetry' version: 0.0.0 dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/api-logs': 0.48.0 - '@opentelemetry/sdk-logs': 0.48.0(@opentelemetry/api-logs@0.48.0)(@opentelemetry/api@1.7.0) - '@types/node': 18.19.18 - '@types/uuid': 8.3.4 + '@opentelemetry/api': 1.8.0 + '@opentelemetry/api-logs': 0.49.1 + '@opentelemetry/sdk-logs': 0.49.1(@opentelemetry/api-logs@0.49.1)(@opentelemetry/api@1.8.0) + '@types/node': 18.19.22 dotenv: 16.4.5 eslint: 8.57.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 - uuid: 8.3.2 transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' - supports-color dev: false file:projects/perf-monitor-query.tgz: - resolution: {integrity: sha512-aCUoxgLoqo0l8QNC7iTzU70WDorCIA5GGZrLSJhA8NxGGVLfvSi4DeYwL0Zle/5uqbSWt6hUYA+rf4TmjWD/jg==, tarball: file:projects/perf-monitor-query.tgz} + resolution: {integrity: sha512-XxFW/3sYSD6EP8He4TK6kA/y7A+gmJ+clnkWvEEP8T8vOc0eFx8yLhTWutjHqKAftAV4EwXfR4QSQR9SMJ1E0A==, tarball: file:projects/perf-monitor-query.tgz} name: '@rush-temp/perf-monitor-query' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@types/node': 18.19.18 + '@types/node': 18.19.22 dotenv: 16.4.5 eslint: 8.57.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -20898,16 +20859,16 @@ packages: dev: false file:projects/perf-schema-registry-avro.tgz: - resolution: {integrity: sha512-LQb4g3NZ6t2QvZU9ZKrWJLawDWAt+/o5TivCr080ynesRmFdkwjpIKfQ0/V7Ysz9bs28s5oA32OWOAk9rx+oVA==, tarball: file:projects/perf-schema-registry-avro.tgz} + resolution: {integrity: sha512-jZlTTBK8TgRGSjDuWJn556aq32zaAiHB9D7dXQdGsMaYkybe6ekJCwl47L7RFAqyEC17TjYLpV7vy0a27C8z2Q==, tarball: file:projects/perf-schema-registry-avro.tgz} name: '@rush-temp/perf-schema-registry-avro' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@types/node': 18.19.18 + '@types/node': 18.19.22 dotenv: 16.4.5 eslint: 8.57.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -20917,16 +20878,16 @@ packages: dev: false file:projects/perf-search-documents.tgz: - resolution: {integrity: sha512-FVC0hyC2d9huax+dP3bndPGPgF4T+UBKgvzm7fE+ItaWIcvOdL4fmaGDRE6eEe5q+fxGjPiDWwgRKn2dHrr7eA==, tarball: file:projects/perf-search-documents.tgz} + resolution: {integrity: sha512-5sk3UwtcDYdV0qXL8+QfzH7+KTyQGDKD5klsIqVTbOf19jO6e7t58aW/uJZlk/Fj5Nw7Zwe6jDcOQrmnOXNjrQ==, tarball: file:projects/perf-search-documents.tgz} name: '@rush-temp/perf-search-documents' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@types/node': 18.19.18 + '@types/node': 18.19.22 dotenv: 16.4.5 eslint: 8.57.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -20936,16 +20897,16 @@ packages: dev: false file:projects/perf-service-bus.tgz: - resolution: {integrity: sha512-Y9OPWqLFNZ7nAuhgpm8AgSbr9mHAgRks7m57FDhbrbGYKSNC0Cluw0TISH2Lq7IflZ1a7PkTf+jGSxzb7ZQ8kg==, tarball: file:projects/perf-service-bus.tgz} + resolution: {integrity: sha512-x/dXLp6qDtd0NCXLGGi1g8zNYU5mBegh4EP6JAqOZPKYN5DkO4BVrBbr2cP/6nnqXJc3w4lNCNWEjSl6Lk45zA==, tarball: file:projects/perf-service-bus.tgz} name: '@rush-temp/perf-service-bus' version: 0.0.0 dependencies: - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/uuid': 8.3.4 dotenv: 16.4.5 eslint: 8.57.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uuid: 8.3.2 @@ -20956,15 +20917,15 @@ packages: dev: false file:projects/perf-storage-blob.tgz: - resolution: {integrity: sha512-P+LlljVMsRTiuNOETQudyNNf8IKC9+dIMp7DzrCY6Ivg6Lqnvdvr7Fs3tyON7p/bo78dzH9S+4JI4klArw6txA==, tarball: file:projects/perf-storage-blob.tgz} + resolution: {integrity: sha512-I75PQWgXOw4kRwD4WNMOlc644NER4SPKpyk0l3GE5UW9C3fYpRL4zLkmgyDILHiTaLtHH9P9x8V3kLMte7aB7w==, tarball: file:projects/perf-storage-blob.tgz} name: '@rush-temp/perf-storage-blob' version: 0.0.0 dependencies: - '@types/node': 18.19.18 + '@types/node': 18.19.22 dotenv: 16.4.5 eslint: 8.57.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -20974,16 +20935,16 @@ packages: dev: false file:projects/perf-storage-file-datalake.tgz: - resolution: {integrity: sha512-TUiBoGVM83x0pglCFNA/EyVsCZwrrMJTg5H6Ykx7/8oYhX6JDoT9A1YM1YQHytz5IhdThB4HNuLm3DbQRADhQw==, tarball: file:projects/perf-storage-file-datalake.tgz} + resolution: {integrity: sha512-UDg47biWhgKXxKxxli0Pjbhm5omIkfJs754EizXDBTRtS00oiMIiLGnZe3wd6BeSbPT7ZKvRichK7WrFs0U2VA==, tarball: file:projects/perf-storage-file-datalake.tgz} name: '@rush-temp/perf-storage-file-datalake' version: 0.0.0 dependencies: '@azure/storage-file-datalake': 12.16.0 - '@types/node': 18.19.18 + '@types/node': 18.19.22 dotenv: 16.4.5 eslint: 8.57.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -20994,16 +20955,16 @@ packages: dev: false file:projects/perf-storage-file-share.tgz: - resolution: {integrity: sha512-GRHAAh7r9j3+rjt1IkqzegBHLSo2hI/OZqcCHZvw78r1ff1TlwpH51DkGafS1DiMV57gwygapbK7AlOn/sbmQQ==, tarball: file:projects/perf-storage-file-share.tgz} + resolution: {integrity: sha512-FtcpUKv/bZdTp691/xaBDmi4j/jINmE3PBmqMqPuFjlX85WPapkaM5QGabvSZPzDhOV0cW/1M2V0N4GTTXnz+w==, tarball: file:projects/perf-storage-file-share.tgz} name: '@rush-temp/perf-storage-file-share' version: 0.0.0 dependencies: '@azure/storage-file-share': 12.17.0 - '@types/node': 18.19.18 + '@types/node': 18.19.22 dotenv: 16.4.5 eslint: 8.57.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -21014,17 +20975,17 @@ packages: dev: false file:projects/perf-template.tgz: - resolution: {integrity: sha512-QECzXzK8cPMGodFUP38hT9EX5C8jPKrGyc7A+qtGd/4pj+3tdapDoBkLwI/i9e7QRwzSa+tEjZoynwNDYWPV2g==, tarball: file:projects/perf-template.tgz} + resolution: {integrity: sha512-G2YxZvjCVJOdkhd+Kpkzac+ixyDc3t5zsxgYRjqLMYoVjSogzp+w8guG+RlVJfxGMkQyaSXo0z29zmgTYvb6Hg==, tarball: file:projects/perf-template.tgz} name: '@rush-temp/perf-template' version: 0.0.0 dependencies: '@azure/app-configuration': 1.5.0-beta.2 '@azure/identity': 4.0.1 - '@types/node': 18.19.18 + '@types/node': 18.19.22 dotenv: 16.4.5 eslint: 8.57.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -21034,15 +20995,15 @@ packages: dev: false file:projects/purview-administration.tgz: - resolution: {integrity: sha512-Gi/RDg2fXA+2d06Uy7wYhhrp0z81BlrzuiREg0z//DNGVd8qE+1kMwdpTTOcnyiz78Ko52afaBUDOpkNS0vssg==, tarball: file:projects/purview-administration.tgz} + resolution: {integrity: sha512-huaMHk3sAyDpT9oL5gA1eVSz3VlmUiWALFdjQeNnFwMPnA3sMi9b9Py+2u+cMMKOR61cdoFQbqt37oU3lLNMZQ==, tarball: file:projects/purview-administration.tgz} name: '@rush-temp/purview-administration' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 c8: 8.0.1 chai: 4.3.10 cross-env: 7.0.3 @@ -21063,7 +21024,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -21076,15 +21037,15 @@ packages: dev: false file:projects/purview-catalog.tgz: - resolution: {integrity: sha512-V9Ewq7Pzce0ceIH/xh81nWVIW9380HAebpPjJ4slzR/K1lRwKIkzaoa+V2zjVAKadlyj6xx1lTNSrFV+0c4FAA==, tarball: file:projects/purview-catalog.tgz} + resolution: {integrity: sha512-xPjDgsD/6hQS8hrfIkUct9AO/g1YoSG6Hig6KoR3n2/5Z36NR7H7iCJx4uWQnvmwdkdHL4Jo1L2tlblGqkBbyg==, tarball: file:projects/purview-catalog.tgz} name: '@rush-temp/purview-catalog' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 c8: 8.0.1 chai: 4.3.10 cross-env: 7.0.3 @@ -21105,7 +21066,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -21118,15 +21079,15 @@ packages: dev: false file:projects/purview-datamap.tgz: - resolution: {integrity: sha512-jMEVqxCSt9ZMsdYVFwcfhwLLa8sZdkZBEGbrKUi0UqTsmXnp8frn/pkdTrn1qQAMt+zhqbBGs+bnmZR+RoGD5A==, tarball: file:projects/purview-datamap.tgz} + resolution: {integrity: sha512-KYZ07b+xDgBmx68jS0Hr0g8M4EJvUCTY1qxA9PanWfe5bPQ2iNlgU3T8SUQKbGOikWijreqebroJNvEjw71GQA==, tarball: file:projects/purview-datamap.tgz} name: '@rush-temp/purview-datamap' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 autorest: 3.7.1 c8: 8.0.1 chai: 4.3.10 @@ -21138,7 +21099,7 @@ packages: karma-chrome-launcher: 3.2.0 karma-coverage: 2.2.1 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 2.1.2 + karma-firefox-launcher: 2.1.3 karma-junit-reporter: 2.0.1(karma@6.4.3) karma-mocha: 2.0.1 karma-mocha-reporter: 2.2.5(karma@6.4.3) @@ -21148,7 +21109,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -21161,15 +21122,15 @@ packages: dev: false file:projects/purview-scanning.tgz: - resolution: {integrity: sha512-rvbG0MGCQjGXE+djxJRab7Cz3i8C43p5n6Vnx3KGqA2EqMasoFPzWfcb75aYY08b0ZRu/WKcfPpJDEztOnc6Nw==, tarball: file:projects/purview-scanning.tgz} + resolution: {integrity: sha512-+i9Wn3lF42PuCG9SAFbJAqaUxEne8/0PNj0lj3gwcIzSHoykd38BWeXcsggHWc/sVGp3CwDLC5y2THpsc1hEFg==, tarball: file:projects/purview-scanning.tgz} name: '@rush-temp/purview-scanning' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 c8: 8.0.1 chai: 4.3.10 cross-env: 7.0.3 @@ -21190,7 +21151,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -21203,16 +21164,16 @@ packages: dev: false file:projects/purview-sharing.tgz: - resolution: {integrity: sha512-lc9YhGhZxgTmkzgVi52tC44tHalgQHm33H1Z+yyq54ajqxP7JzFMYv68y8KZ8ce0RrcrfNeGFxkLFGFHis3vlw==, tarball: file:projects/purview-sharing.tgz} + resolution: {integrity: sha512-jGmmE0vpjwO4bm/Z880xzUdesP9iWlKCmpRecy2/j0ZYAR2zA0Fj94xjUre3wVOIdO10pOFE+hzt2ChtiJPWeQ==, tarball: file:projects/purview-sharing.tgz} name: '@rush-temp/purview-sharing' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 autorest: 3.7.1 c8: 8.0.1 chai: 4.3.10 @@ -21234,7 +21195,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -21247,15 +21208,15 @@ packages: dev: false file:projects/purview-workflow.tgz: - resolution: {integrity: sha512-Sv3iT2nyU6/cqFlO+PSN1IEq4/EWOCbxVQg52HvEsvw6cgt+Cw3oo4f2KvIMvqzuOaTWWfHIHwmLOt7HWGr4rQ==, tarball: file:projects/purview-workflow.tgz} + resolution: {integrity: sha512-We2FWj+dxhV+6c/q5d+1BXwZJgoAmKlRg1pCvLx6khC6Ij9eFlhDNPJI1gFo+3U6F/17tlpA9iaHfBQvyIUirg==, tarball: file:projects/purview-workflow.tgz} name: '@rush-temp/purview-workflow' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 autorest: 3.7.1 c8: 8.0.1 chai: 4.3.10 @@ -21277,7 +21238,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -21290,16 +21251,16 @@ packages: dev: false file:projects/quantum-jobs.tgz: - resolution: {integrity: sha512-I1oC934zXF04xfBjYHygauOm9kupQAqX4km7iJdpEsq9PV0RED69nevGTlLCV/AJJ3mYemEtjW6ctLma8KsTxw==, tarball: file:projects/quantum-jobs.tgz} + resolution: {integrity: sha512-ynaCHfJXwZY6tCS8I0jED9ghd+ku1+w2PC81cB1Za0+nXaS+PXRBLwH1XSAoxU0l53NZTlfRPpUTTI0EUi2psQ==, tarball: file:projects/quantum-jobs.tgz} name: '@rush-temp/quantum-jobs' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 '@azure/storage-blob': 12.17.0 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 chai: 4.3.10 @@ -21320,7 +21281,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -21335,17 +21296,17 @@ packages: dev: false file:projects/schema-registry-avro.tgz: - resolution: {integrity: sha512-2zL4OfTlTEP9f3WbYgvAYRFaQXM1/1/W+/1s0QB4ZdL5ep9Vooq/9e9PutOozOaR13pY+nimzrZVZ8j3WjhFaQ==, tarball: file:projects/schema-registry-avro.tgz} + resolution: {integrity: sha512-0LhM3eb7FB5sPpxqG/xBYw2f7XjztZsPsMgsdGGfcnLc+0HIK1s48tKAER42W3T3qOombQZisYmpALT+MrroIA==, tarball: file:projects/schema-registry-avro.tgz} name: '@rush-temp/schema-registry-avro' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 '@azure/schema-registry': 1.2.0 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/chai-as-promised': 7.1.8 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/uuid': 8.3.4 avsc: 5.7.7 buffer: 6.0.3 @@ -21372,7 +21333,7 @@ packages: process: 0.11.10 rimraf: 5.0.5 stream: 0.0.2 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uuid: 8.3.2 @@ -21386,14 +21347,14 @@ packages: dev: false file:projects/schema-registry-json.tgz: - resolution: {integrity: sha512-oS74NCdlVMU/uK7EF7/QQlMyS2OCOCcRmHPxewP/4rPtk3dTQsXYnlC0MkbKF/+cT3kXbGFMJ4DYL7VN7siNGQ==, tarball: file:projects/schema-registry-json.tgz} + resolution: {integrity: sha512-doA+TR88iajbBMTcYpjZDeJ10xu0OHHllZv4Wi83kkVQT8aicmqsKWy7NfwAjybH0WxDbgCUv6Bt0VX1MmV9cQ==, tarball: file:projects/schema-registry-json.tgz} name: '@rush-temp/schema-registry-json' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 ajv: 8.12.0 c8: 8.0.1 cross-env: 7.0.3 @@ -21414,7 +21375,7 @@ packages: lru-cache: 7.18.3 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -21427,14 +21388,14 @@ packages: dev: false file:projects/schema-registry.tgz: - resolution: {integrity: sha512-0TKcx+XJFiwBwOexpulOoYYFnhZGBfK8UL+gP9BJnNuXRXWMzqlPcsEEV2lsE9klxd/6gHa8+fNAQDzgZZ4H8Q==, tarball: file:projects/schema-registry.tgz} + resolution: {integrity: sha512-K0Xo2o3mRwcUW+F8BjJjmI+782xykmK46jVth0QaXKaCmvbfzGRk60Wt0tV01ccE0Zvc8IlKE0y7UWdaZUIoAg==, tarball: file:projects/schema-registry.tgz} name: '@rush-temp/schema-registry' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 c8: 8.0.1 cross-env: 7.0.3 dotenv: 16.4.5 @@ -21453,7 +21414,7 @@ packages: karma-sourcemap-loader: 0.3.8 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -21466,14 +21427,14 @@ packages: dev: false file:projects/search-documents.tgz: - resolution: {integrity: sha512-E/8D/cCDKlJ63i4dNk+cENIjJkR/9gaskEfI+P9b88aImnWvg7GR8YZuHytxdPKh4WhBMuu4TIp+A9Jic490hA==, tarball: file:projects/search-documents.tgz} + resolution: {integrity: sha512-NCqC4aPSl3n2IZHruv3oxyg2tSowjrXfaXr61yUTCUVaiLVmmSGvQcu0N6nOlSrulyNFkGGJli9Kvs658DSv3g==, tarball: file:projects/search-documents.tgz} name: '@rush-temp/search-documents' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 chai: 4.3.10 @@ -21497,7 +21458,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -21511,19 +21472,19 @@ packages: dev: false file:projects/service-bus.tgz: - resolution: {integrity: sha512-q+lVWs4NbjEftlyi7x7dYXNMo0s8h9hgwPaiMQlk2DynzyeZULMeJe6AA88CvCm3Xe+WO2xUUzMUqGCQdkk1Ng==, tarball: file:projects/service-bus.tgz} + resolution: {integrity: sha512-reS727hnGbcKISyYBRXqHiSZxtW/W+6K4uTH3qzw1RjYvLLLPTApb0uR3dNWVZxScZYnK3JrNJVGgbph7/+CiA==, tarball: file:projects/service-bus.tgz} name: '@rush-temp/service-bus' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/chai-as-promised': 7.1.8 '@types/debug': 4.1.12 '@types/is-buffer': 2.0.2 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 '@types/uuid': 8.3.4 '@types/ws': 7.4.7 @@ -21554,11 +21515,11 @@ packages: moment: 2.30.1 process: 0.11.10 promise: 8.3.0 - puppeteer: 22.3.0(typescript@5.3.3) + puppeteer: 22.4.1(typescript@5.3.3) rhea-promise: 3.0.1 rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uuid: 8.3.2 @@ -21573,15 +21534,15 @@ packages: dev: false file:projects/storage-blob-changefeed.tgz: - resolution: {integrity: sha512-qcOjqJVfS8HR7rF6r0ThY3Ob7NyFvg/U/9jvDf0DFNgjFAf4VG3CzduflZWPYtNAN+6a7EMyUSZM1HWGgwOiIQ==, tarball: file:projects/storage-blob-changefeed.tgz} + resolution: {integrity: sha512-wnWbrl+GSHtXZeB/gqEJhk3dcAYO2hXNIqTFDB4OLNxQv7l2Jyt5YXL6TAcG/R3gs7Kxn4tKrI3k8Yn5rt2pyQ==, tarball: file:projects/storage-blob-changefeed.tgz} name: '@rush-temp/storage-blob-changefeed' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 chai: 4.3.10 @@ -21604,11 +21565,11 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.3) karma-sourcemap-loader: 0.3.8 mocha: 10.3.0 - puppeteer: 22.3.0(typescript@5.3.3) + puppeteer: 22.4.1(typescript@5.3.3) rimraf: 5.0.5 sinon: 17.0.1 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -21623,16 +21584,16 @@ packages: dev: false file:projects/storage-blob.tgz: - resolution: {integrity: sha512-AmvpINVhtD00TjMEeA7RAXuBcrmysnNYASLFmvrRJAC87HO1cngsYC0bUybR99vUJC5APEgE+d/NLYieLqOYGA==, tarball: file:projects/storage-blob.tgz} + resolution: {integrity: sha512-UbHNdtinQ+ZRDEeVK5218SsLVV6CCmraXC8wJE/XnXArgWc97f+9u2r4iLcm/qjYLy32xQYFWcIF1AmpJrY/Gw==, tarball: file:projects/storage-blob.tgz} name: '@rush-temp/storage-blob' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 c8: 8.0.1 chai: 4.3.10 cross-env: 7.0.3 @@ -21652,10 +21613,10 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.3) karma-sourcemap-loader: 0.3.8 mocha: 10.3.0 - puppeteer: 22.3.0(typescript@5.3.3) + puppeteer: 22.4.1(typescript@5.3.3) rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -21670,16 +21631,16 @@ packages: dev: false file:projects/storage-file-datalake.tgz: - resolution: {integrity: sha512-zpxRN6m+5hZFV/muh/zXAa5G9hQeWHny3j4A3ahxhqvWEY+i4rHwo4uqHQUGftAhEnNiZsSBg0YpYTr3c2ncZg==, tarball: file:projects/storage-file-datalake.tgz} + resolution: {integrity: sha512-yBtQEOX13UBeIiM5f4+xHS77YgxEaI1RHCvzV+nWKYN4XVDrvtv3yTjK38tZ0P4kZX2mktqypxRi9dAo0VT9cQ==, tarball: file:projects/storage-file-datalake.tgz} name: '@rush-temp/storage-file-datalake' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 chai: 4.3.10 @@ -21702,11 +21663,11 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.3) karma-sourcemap-loader: 0.3.8 mocha: 10.3.0 - puppeteer: 22.3.0(typescript@5.3.3) + puppeteer: 22.4.1(typescript@5.3.3) rimraf: 5.0.5 sinon: 17.0.1 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -21721,16 +21682,16 @@ packages: dev: false file:projects/storage-file-share.tgz: - resolution: {integrity: sha512-Qvu7cCuyHzfqt7R6MoYuuUDB0EWwJgHSQdPEW86UtJDXwkbOV9vhgzzKT55QGgKXiwed1hAQqCBN07N3v/eZyQ==, tarball: file:projects/storage-file-share.tgz} + resolution: {integrity: sha512-GdYbPm9Ac4ZNB3MLrVY6t6OGRRdJ3k50yFm7jXroBhBEnkwM0DoNuI7ZPDIQs9U5L0z/VgbrjrUjS4MC0yhY+Q==, tarball: file:projects/storage-file-share.tgz} name: '@rush-temp/storage-file-share' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 chai: 4.3.10 @@ -21751,11 +21712,11 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.3) karma-sourcemap-loader: 0.3.8 mocha: 10.3.0 - puppeteer: 22.3.0(typescript@5.3.3) + puppeteer: 22.4.1(typescript@5.3.3) rimraf: 5.0.5 sinon: 17.0.1 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -21770,15 +21731,15 @@ packages: dev: false file:projects/storage-internal-avro.tgz: - resolution: {integrity: sha512-/4uvdV8knvoUXWVylxyI2TUGPxYGCLFek8Yh5idIxC2WeJDAdzeTXEcwFcMobMA41J2iBwuVhpwIty8fSMJd/Q==, tarball: file:projects/storage-internal-avro.tgz} + resolution: {integrity: sha512-CwelXTLp6cMdIXH1QwW5O5Z8MK7iKVTLJ3BlBIfc9l/rwDv8T8Uq4mGo5AUV7f+mo4Q5XZnD9YAVY3n13ELVEA==, tarball: file:projects/storage-internal-avro.tgz} name: '@rush-temp/storage-internal-avro' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 c8: 8.0.1 chai: 4.3.10 cross-env: 7.0.3 @@ -21797,10 +21758,10 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.3) karma-sourcemap-loader: 0.3.8 mocha: 10.3.0 - puppeteer: 22.3.0(typescript@5.3.3) + puppeteer: 22.4.1(typescript@5.3.3) rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -21815,16 +21776,16 @@ packages: dev: false file:projects/storage-queue.tgz: - resolution: {integrity: sha512-5JIX+fXKCwPiySyzoyCJtGPfu4BV6Qxe5u5kbcYb9LkAsJm1pO/g8sEQ+ArQRZdQ4TDVVUGMz3tRO3FdLbpZrw==, tarball: file:projects/storage-queue.tgz} + resolution: {integrity: sha512-OzmxUl/PYHOS8yGyKUtF3xBu0bjmiS7sP8itZKcF9BrXcy/gUBV13jcThjQJPVdOqosige8PfFAlo+2weP2MMA==, tarball: file:projects/storage-queue.tgz} name: '@rush-temp/storage-queue' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 c8: 8.0.1 chai: 4.3.10 cross-env: 7.0.3 @@ -21843,10 +21804,10 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.3) karma-sourcemap-loader: 0.3.8 mocha: 10.3.0 - puppeteer: 22.3.0(typescript@5.3.3) + puppeteer: 22.4.1(typescript@5.3.3) rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -21861,15 +21822,15 @@ packages: dev: false file:projects/synapse-access-control-1.tgz: - resolution: {integrity: sha512-tV8DqnE6Lr8GpmVMbG7GZ3EKN7/jbnwNOvdBGFkYMr/AdF7nLhfUkk5+c67F6vpAV2hcccvBZxTcowLEu9MBWA==, tarball: file:projects/synapse-access-control-1.tgz} + resolution: {integrity: sha512-y9Gw6NsQ6LPFuwFO8oGSrDAAHqS82tjtJq1Dm6qJn22lpz+QiVdSAlv/3VO0SvaNZ9I5LyewwzlwIhkdPM6eJA==, tarball: file:projects/synapse-access-control-1.tgz} name: '@rush-temp/synapse-access-control-1' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/chai-as-promised': 7.1.8 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 chai: 4.3.10 @@ -21891,7 +21852,7 @@ packages: rimraf: 5.0.5 sinon: 17.0.1 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -21905,16 +21866,16 @@ packages: dev: false file:projects/synapse-access-control.tgz: - resolution: {integrity: sha512-p7lmls5XlMEAkMAanyI4OwaoRXFzQVnHBd5SvPuXyDOiJdv5wEszCuMaLl6HfjpKXAey0QMsyKTxR57K4ttpHA==, tarball: file:projects/synapse-access-control.tgz} + resolution: {integrity: sha512-NX2prF/kGaSLwSrS12RsS5hdh4ZqF3wIiEW9cB3dQosMGROwwzAsxWqgqzOEy+QhhWX+++Fhyx4vql29mZbPPQ==, tarball: file:projects/synapse-access-control.tgz} name: '@rush-temp/synapse-access-control' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/chai-as-promised': 7.1.8 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 chai: 4.3.10 @@ -21937,7 +21898,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -21951,17 +21912,17 @@ packages: dev: false file:projects/synapse-artifacts.tgz: - resolution: {integrity: sha512-kl1NP0Aly8KJktFBvUrc+XJMgsE9Ude92tavMC2sPKhftN9TTuq3zwHIGEu9GxAItaFsVIPOyBEqaVwZn+Gq7g==, tarball: file:projects/synapse-artifacts.tgz} + resolution: {integrity: sha512-Ga3erk3RtyoBrEhQzQ2z1/5Sp/8u3KPrPdz2KBE6lshhWhw/5RAUH9HQUgqxlPL6y6s/6Sb3BNFzWO/3C2aVEA==, tarball: file:projects/synapse-artifacts.tgz} name: '@rush-temp/synapse-artifacts' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/chai-as-promised': 7.1.8 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 chai: 4.3.10 @@ -21985,7 +21946,7 @@ packages: rimraf: 5.0.5 sinon: 17.0.1 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -21999,15 +21960,15 @@ packages: dev: false file:projects/synapse-managed-private-endpoints.tgz: - resolution: {integrity: sha512-4c7I4Sx9Qbs7tqcIquGfrBHxglzd7Aay4YlD6lf3nNOoKyqgc8Ssi9GMMCmRP17w6LZnB+P3s3mKDi/WGkqKjQ==, tarball: file:projects/synapse-managed-private-endpoints.tgz} + resolution: {integrity: sha512-tSqVosJDzzok10XlJ2YMtVAzc0Hk/wPnRZF989eU9/lAp7QEt2oDUc/NvICRe7XhUPFMcBbLhMFSSNvPtdPdBQ==, tarball: file:projects/synapse-managed-private-endpoints.tgz} name: '@rush-temp/synapse-managed-private-endpoints' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/chai-as-promised': 7.1.8 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 c8: 8.0.1 chai: 4.3.10 chai-as-promised: 7.1.1(chai@4.3.10) @@ -22026,7 +21987,7 @@ packages: karma-sourcemap-loader: 0.3.8 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -22040,13 +22001,13 @@ packages: dev: false file:projects/synapse-monitoring.tgz: - resolution: {integrity: sha512-U33UZ/EkLPoVj/MhhtBw5FeS4Z0hc4BMcQjVjSPvQj75cCgpaU0U/krZ7GTiL/Dphyd/JETYpanzw71jNZnYdw==, tarball: file:projects/synapse-monitoring.tgz} + resolution: {integrity: sha512-KAaSp+MzUlijvMRwj0RUyIpxTNmj9JRN9WtwHV+iBuFhsYFVYdlqJ8pyf/ix2LrHguwlTJ9vaN8vqjdV6k8rfQ==, tarball: file:projects/synapse-monitoring.tgz} name: '@rush-temp/synapse-monitoring' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 cross-env: 7.0.3 eslint: 8.57.0 esm: 3.2.25 @@ -22062,7 +22023,7 @@ packages: karma-sourcemap-loader: 0.3.8 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -22076,15 +22037,15 @@ packages: dev: false file:projects/synapse-spark.tgz: - resolution: {integrity: sha512-yJd96STpLIo+CTk3UTbQaSd8ldzbNsKxsiXDGFRnmkpVY0SdofAgL8ZHmRQvKR9QP/12qkM/nwtZrXheAgUP3A==, tarball: file:projects/synapse-spark.tgz} + resolution: {integrity: sha512-xHceNRrF53mpk2em5CqubyIkhKWRCywf/QFYMpXlre2L541PJiU4ck/GqVP6Ht3rpm8hXWYq85Zj5B+8Q1DYrQ==, tarball: file:projects/synapse-spark.tgz} name: '@rush-temp/synapse-spark' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/chai-as-promised': 7.1.8 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 c8: 8.0.1 chai: 4.3.10 chai-as-promised: 7.1.1(chai@4.3.10) @@ -22103,7 +22064,7 @@ packages: karma-sourcemap-loader: 0.3.8 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 uglify-js: 3.17.4 @@ -22117,14 +22078,14 @@ packages: dev: false file:projects/template-dpg.tgz: - resolution: {integrity: sha512-cWUJ54rsjIpb9PsE7hkAy4y7fkODWuNSaGjyKtqJNz4bv5GQm2CDUpuVmTMpjkiO/Eo0vhyglw8sqbG+oZGgWg==, tarball: file:projects/template-dpg.tgz} + resolution: {integrity: sha512-VJ2po8I4sUujbA0IQ4STNJoMJH+NjwDnzPPg4iK3xcLESJ1vdd2j47f3Ef0E4BlC5ItOyMgD4X0U2IDsXvrjEQ==, tarball: file:projects/template-dpg.tgz} name: '@rush-temp/template-dpg' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 c8: 8.0.1 chai: 4.3.10 cross-env: 7.0.3 @@ -22136,15 +22097,15 @@ packages: karma-coverage: 2.2.1 karma-edge-launcher: 0.4.2(karma@6.4.3) karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 2.1.2 + karma-firefox-launcher: 2.1.3 karma-junit-reporter: 2.0.1(karma@6.4.3) karma-mocha: 2.0.1 karma-mocha-reporter: 2.2.5(karma@6.4.3) karma-sourcemap-loader: 0.3.8 mocha: 10.3.0 - puppeteer: 22.3.0(typescript@5.3.3) + puppeteer: 22.4.1(typescript@5.3.3) rimraf: 3.0.2 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -22159,15 +22120,15 @@ packages: dev: false file:projects/template.tgz: - resolution: {integrity: sha512-GhtVBNJOhG2NoJLtD8125wOgW3po9rtn2P4uFJ/OifLK8Yt/Ihh+ObgH5zWxN1OSlHg7xiUHpmxR38dXH8QcWw==, tarball: file:projects/template.tgz} + resolution: {integrity: sha512-d7ntz0EHL6il93Owu/txDMufxBB+zTdeou55PJkSAiSNNjyjjgUuGpbxjV4sOx2UiLKjp+2j1z3PGFNYBaE67w==, tarball: file:projects/template.tgz} name: '@rush-temp/template' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 chai: 4.3.10 cross-env: 7.0.3 dotenv: 16.4.5 @@ -22188,7 +22149,7 @@ packages: nyc: 15.1.0 rimraf: 5.0.5 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -22202,16 +22163,16 @@ packages: dev: false file:projects/test-credential.tgz: - resolution: {integrity: sha512-DLgL6tmgleuMNJiUw3y0sl3yjzFDRCZUUqU85OiJzzicRNdCjOhx2m85EJ0MassMup+sxWsOumbeV1hdE1WHUA==, tarball: file:projects/test-credential.tgz} + resolution: {integrity: sha512-gTRmQq4EwHS+RQz40ZRg+k4l1Uw29zdRiWHTHJsPUGr3zLr9sRMDHpgvHNYNtNvEj/cuk1PecGkctr4Ks0XGRw==, tarball: file:projects/test-credential.tgz} name: '@rush-temp/test-credential' version: 0.0.0 dependencies: '@azure/identity': 4.0.1 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) - '@types/node': 18.19.18 + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) + '@types/node': 18.19.22 eslint: 8.57.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) typescript: 5.3.3 transitivePeerDependencies: - '@swc/core' @@ -22220,7 +22181,7 @@ packages: dev: false file:projects/test-recorder.tgz: - resolution: {integrity: sha512-mqd8Rhk6qP95pjgMASERASgaF6QjSBTnupvTA/3ZYA95cigg2OuobQeFdTL+t8MB8T3OWE0YSi2CAqeZYjOSaA==, tarball: file:projects/test-recorder.tgz} + resolution: {integrity: sha512-j/q/5kY0P7F7LOmefZPLX9jMJeGs3uiOxMcEtzjLbzAPsoOxr/JTQ+o1iB3BO03WfrwJ4542op1G9RPrZvnMQg==, tarball: file:projects/test-recorder.tgz} name: '@rush-temp/test-recorder' version: 0.0.0 dependencies: @@ -22228,14 +22189,14 @@ packages: '@types/express': 4.17.21 '@types/fs-extra': 8.1.5 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 c8: 8.0.1 chai: 4.3.10 concurrently: 8.2.2 cross-env: 7.0.3 dotenv: 16.4.5 eslint: 8.57.0 - express: 4.18.2 + express: 4.18.3 karma: 6.4.3(debug@4.3.4) karma-chrome-launcher: 3.2.0 karma-coverage: 2.2.1 @@ -22247,7 +22208,7 @@ packages: karma-sourcemap-loader: 0.3.8 mocha: 10.3.0 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -22260,13 +22221,13 @@ packages: dev: false file:projects/test-utils-perf.tgz: - resolution: {integrity: sha512-R/2OafMDrnpOYos4yW4RHmQAZQyxbG0+uNJQYA9jjnbnKuZTInmaAZoU73FOOrjCZBfX7TAYn/tsUBQVS3BL4A==, tarball: file:projects/test-utils-perf.tgz} + resolution: {integrity: sha512-WFP5ojdxf3UTanWWi0m66tu0AE+0RSv2q3EQSSKtDpheawdXYirXWwjR/Uf4HSLgFa2N96L4cxs5pA9BS2KO3A==, tarball: file:projects/test-utils-perf.tgz} name: '@rush-temp/test-utils-perf' version: 0.0.0 dependencies: '@types/fs-extra': 9.0.13 '@types/minimist': 1.2.5 - '@types/node': 18.19.18 + '@types/node': 18.19.22 eslint: 8.57.0 fs-extra: 10.1.0 karma: 6.4.3(debug@4.3.4) @@ -22275,7 +22236,7 @@ packages: karma-env-preprocessor: 0.1.1 minimist: 1.2.8 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -22288,16 +22249,16 @@ packages: dev: false file:projects/test-utils.tgz: - resolution: {integrity: sha512-DwBo66ieqQPqfjI3z2waj0OO8do548CVP+PZAICdC5w/Fq8ZOz6dMh09PWYXkpZCvXaFDtl0aaYtAwDmtMAcSw==, tarball: file:projects/test-utils.tgz} + resolution: {integrity: sha512-MihJGeJOvpzoOAnTPM3n3aK/NaAMMCk0mXeRigN66YPAtoX7p24DaZuThDcPrAua/uVoClSZHvloJ0NgtroLpQ==, tarball: file:projects/test-utils.tgz} name: '@rush-temp/test-utils' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) - '@opentelemetry/api': 1.7.0 + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) + '@opentelemetry/api': 1.8.0 '@types/chai': 4.3.12 '@types/chai-as-promised': 7.1.8 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 chai: 4.3.10 chai-as-promised: 7.1.1(chai@4.3.10) @@ -22311,7 +22272,7 @@ packages: mocha: 10.3.0 rimraf: 5.0.5 sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -22324,25 +22285,25 @@ packages: dev: false file:projects/ts-http-runtime.tgz: - resolution: {integrity: sha512-HyGi6Yahjy4aNreOcQN4NWv7LGcax0E/7Rpg+HuM3U022EdzNwaNQ3szWW0F/RMNw8Rph1gDvG41R0SsyELwuQ==, tarball: file:projects/ts-http-runtime.tgz} + resolution: {integrity: sha512-HPx4nELna/MO9u/GH64GLsaBqwbjM3jJM1lba5Om02nXUwp2JdAwbWS2pt6WPHipxjNhwdqEguzXr85waTIQEQ==, tarball: file:projects/ts-http-runtime.tgz} name: '@rush-temp/ts-http-runtime' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) - '@types/node': 18.19.18 - '@vitest/browser': 1.3.1(playwright@1.41.2)(vitest@1.3.1) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) + '@types/node': 18.19.22 + '@vitest/browser': 1.3.1(playwright@1.42.1)(vitest@1.3.1) '@vitest/coverage-istanbul': 1.3.1(vitest@1.3.1) cross-env: 7.0.3 eslint: 8.57.0 http-proxy-agent: 7.0.0 https-proxy-agent: 7.0.2 - playwright: 1.41.2 + playwright: 1.42.1 prettier: 3.2.5 rimraf: 5.0.5 - tshy: 1.11.1 + tshy: 1.12.0 tslib: 2.6.2 typescript: 5.3.3 - vitest: 1.3.1(@types/node@18.19.18)(@vitest/browser@1.3.1) + vitest: 1.3.1(@types/node@18.19.22)(@vitest/browser@1.3.1) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -22360,11 +22321,11 @@ packages: dev: false file:projects/vite-plugin-browser-test-map.tgz: - resolution: {integrity: sha512-8Jg44N2Xy3VsZaSgcBDkWDjjpT8NcU+0TXvb3PCravbYHdMtI8K/XpI6fkpZnisjjl6dEE2MCUX6ecPAoFvvnQ==, tarball: file:projects/vite-plugin-browser-test-map.tgz} + resolution: {integrity: sha512-oYyxWJs0yiBuHRK1euUkqJ2WM0LVn+fgnhkQrnjRmvu1kp4+rbmDA3E5UmxKBzxgdFs29chO8Fx/0YipGFMQkA==, tarball: file:projects/vite-plugin-browser-test-map.tgz} name: '@rush-temp/vite-plugin-browser-test-map' version: 0.0.0 dependencies: - '@types/node': 18.19.18 + '@types/node': 18.19.22 eslint: 8.57.0 prettier: 3.2.5 rimraf: 3.0.2 @@ -22375,19 +22336,19 @@ packages: dev: false file:projects/web-pubsub-client-protobuf.tgz: - resolution: {integrity: sha512-tW709YZSIRFko8C3hbjhQqgOO/Md5hbJRIxsbauRr9vut9fD4r5AmPP4YrGP7qcyc4OL+zZHzS9V9cVfXzmDDA==, tarball: file:projects/web-pubsub-client-protobuf.tgz} + resolution: {integrity: sha512-uvpFPo6XIzyHKic6DRBTc//6R6m8n7mhi3CoYLnzEpQMJaiXsEtxXOREBRSdgm+1fz/OaYw1i7BDr9puGy0fAA==, tarball: file:projects/web-pubsub-client-protobuf.tgz} name: '@rush-temp/web-pubsub-client-protobuf' version: 0.0.0 dependencies: '@azure/web-pubsub-client': 1.0.0-beta.2 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/chai-as-promised': 7.1.8 '@types/express': 4.17.21 '@types/express-serve-static-core': 4.17.43 - '@types/jsonwebtoken': 9.0.5 + '@types/jsonwebtoken': 9.0.6 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 '@types/ws': 7.4.7 c8: 8.0.1 @@ -22397,7 +22358,7 @@ packages: dotenv: 16.4.5 eslint: 8.57.0 esm: 3.2.25 - express: 4.18.2 + express: 4.18.3 karma: 6.4.3(debug@4.3.4) karma-chrome-launcher: 3.2.0 karma-coverage: 2.2.1 @@ -22416,12 +22377,12 @@ packages: mock-socket: 9.3.1 protobufjs: 7.2.6 protobufjs-cli: 1.1.2(protobufjs@7.2.6) - puppeteer: 22.3.0(typescript@5.3.3) + puppeteer: 22.4.1(typescript@5.3.3) rimraf: 5.0.5 - rollup: 4.12.0 + rollup: 4.12.1 sinon: 17.0.1 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -22436,19 +22397,19 @@ packages: dev: false file:projects/web-pubsub-client.tgz: - resolution: {integrity: sha512-XoXsTwBU/quZBvcXcaXviSu92SHndVE8H5SmpPL8MhpjinqmSsx6p1Hi+TK+eyxyP1zUZhS3YYIvKdk38Il3BA==, tarball: file:projects/web-pubsub-client.tgz} + resolution: {integrity: sha512-c2g3ZI0rWjlkBSH8zaqdqVuxE6p7TU0UlJk1NVn6bOgOgIYXwIrxTRMmmDFMTyoappHgeGLwzusF6lX3eGhXQQ==, tarball: file:projects/web-pubsub-client.tgz} name: '@rush-temp/web-pubsub-client' version: 0.0.0 dependencies: '@azure/abort-controller': 1.1.0 - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/chai-as-promised': 7.1.8 '@types/express': 4.17.21 '@types/express-serve-static-core': 4.17.43 - '@types/jsonwebtoken': 9.0.5 + '@types/jsonwebtoken': 9.0.6 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 '@types/ws': 7.4.7 buffer: 6.0.3 @@ -22458,7 +22419,7 @@ packages: dotenv: 16.4.5 eslint: 8.57.0 esm: 3.2.25 - express: 4.18.2 + express: 4.18.3 karma: 6.4.3(debug@4.3.4) karma-chrome-launcher: 3.2.0 karma-coverage: 2.2.1 @@ -22472,11 +22433,11 @@ packages: karma-sourcemap-loader: 0.3.8 mocha: 10.3.0 mock-socket: 9.3.1 - puppeteer: 22.3.0(typescript@5.3.3) + puppeteer: 22.4.1(typescript@5.3.3) rimraf: 5.0.5 sinon: 17.0.1 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 util: 0.12.5 @@ -22492,17 +22453,17 @@ packages: dev: false file:projects/web-pubsub-express.tgz: - resolution: {integrity: sha512-WPtvAZ0OsQOolX5WUKH/Z5x3P8CSif43aacM/a8OzBSO/RlGhiRXqxE+rZhGZZ/iWO6GMwNzLQSmO9DAuwbd4g==, tarball: file:projects/web-pubsub-express.tgz} + resolution: {integrity: sha512-ob7yKXEnCeb+cRYORSYN/N9VeHU+xA9eEppxRdkNTqYFGlQCkA3DrLvqwmYvQYYqvGuCQ5uhfCLMAXl/LBrd0Q==, tarball: file:projects/web-pubsub-express.tgz} name: '@rush-temp/web-pubsub-express' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 '@types/express': 4.17.21 '@types/express-serve-static-core': 4.17.43 - '@types/jsonwebtoken': 9.0.5 + '@types/jsonwebtoken': 9.0.6 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 c8: 8.0.1 chai: 4.3.10 @@ -22510,13 +22471,13 @@ packages: dotenv: 16.4.5 eslint: 8.57.0 esm: 3.2.25 - express: 4.18.2 + express: 4.18.3 mocha: 10.3.0 - puppeteer: 22.3.0(typescript@5.3.3) + puppeteer: 22.4.1(typescript@5.3.3) rimraf: 5.0.5 sinon: 17.0.1 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 transitivePeerDependencies: @@ -22529,15 +22490,15 @@ packages: dev: false file:projects/web-pubsub.tgz: - resolution: {integrity: sha512-leLUmqZbSAXmzpkoO5aRtpa2lPnDmKQy2gTBmhpmyRsXnH1GqDV1wGHJ/PauTVzdl7hpq9WRIuYwxwVmLaYj0Q==, tarball: file:projects/web-pubsub.tgz} + resolution: {integrity: sha512-++ibJXG+7uOjChJLGKcUkGLUcqfLXTatj1eTM7TbkJXOhGcdrUYovedIaPV51UFCwgE0yYi3XuiCJs6GvQL4vA==, tarball: file:projects/web-pubsub.tgz} name: '@rush-temp/web-pubsub' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.41.0(@types/node@18.19.18) + '@microsoft/api-extractor': 7.42.3(@types/node@18.19.22) '@types/chai': 4.3.12 - '@types/jsonwebtoken': 9.0.5 + '@types/jsonwebtoken': 9.0.6 '@types/mocha': 10.0.6 - '@types/node': 18.19.18 + '@types/node': 18.19.22 '@types/sinon': 17.0.3 '@types/ws': 8.5.10 c8: 8.0.1 @@ -22557,11 +22518,11 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.3) karma-sourcemap-loader: 0.3.8 mocha: 10.3.0 - puppeteer: 22.3.0(typescript@5.3.3) + puppeteer: 22.4.1(typescript@5.3.3) rimraf: 5.0.5 sinon: 17.0.1 source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@18.19.22)(typescript@5.3.3) tslib: 2.6.2 typescript: 5.3.3 ws: 8.16.0 diff --git a/common/tools/dev-tool/package.json b/common/tools/dev-tool/package.json index 1bc85578841a..20be41c18a84 100644 --- a/common/tools/dev-tool/package.json +++ b/common/tools/dev-tool/package.json @@ -25,7 +25,7 @@ "pack": "npm pack 2>&1", "prebuild": "npm run clean", "unit-test": "npm run unit-test:node", - "unit-test:node": "mocha --require ts-node/register test/**/*.spec.ts test/*.spec.ts", + "unit-test:node": "vitest", "unit-test:browser": "echo skipped", "build:samples": "echo Skipped.", "test": "echo Skipped." @@ -60,35 +60,29 @@ "rollup": "^4.0.0", "rollup-plugin-polyfill-node": "^0.13.0", "rollup-plugin-visualizer": "^5.9.3", - "semver": "^7.5.4", + "semver": "^7.6.0", "strip-json-comments": "^5.0.1", + "ts-morph": "^22.0.0", "ts-node": "^10.9.1", "tslib": "^2.2.0", "typescript": "~5.3.3", - "yaml": "^2.3.4", - "ts-morph": "^21.0.0" + "yaml": "^2.3.4" }, "devDependencies": { - "@microsoft/api-extractor": "^7.31.1", + "@microsoft/api-extractor": "^7.42.3", "@types/archiver": "~6.0.2", - "@types/chai": "^4.1.6", - "@types/chai-as-promised": "^7.1.0", - "@types/decompress": "^4.2.4", + "@types/decompress": "^4.2.7", "@types/fs-extra": "^11.0.4", "@types/minimist": "^1.2.5", - "@types/mocha": "^10.0.0", "@types/node": "^18.0.0", - "@types/semver": "^7.5.6", - "autorest": "^3.5.1", + "@types/semver": "^7.5.8", + "@vitest/coverage-istanbul": "^1.3.1", + "autorest": "^3.7.1", "builtin-modules": "^3.1.0", - "c8": "^8.0.1", - "chai": "^4.2.0", - "chai-as-promised": "^7.1.1", "cross-env": "^7.0.3", "eslint": "^8.54.0", - "karma": "^6.4.2", "mkdirp": "^3.0.1", - "mocha": "^10.0.0", - "rimraf": "^5.0.5" + "rimraf": "^5.0.5", + "vitest": "^1.3.1" } } diff --git a/common/tools/dev-tool/src/commands/about.ts b/common/tools/dev-tool/src/commands/about.ts index 15a44fa07596..617e6a82e0e3 100644 --- a/common/tools/dev-tool/src/commands/about.ts +++ b/common/tools/dev-tool/src/commands/about.ts @@ -2,7 +2,6 @@ // Licensed under the MIT license import chalk from "chalk"; - import { baseCommands, baseCommandInfo } from "."; import { resolveProject } from "../util/resolveProject"; import { createPrinter } from "../util/printer"; diff --git a/common/tools/dev-tool/src/commands/admin/create-migration.ts b/common/tools/dev-tool/src/commands/admin/create-migration.ts index 85cf8d08c94c..b8716f9e4d16 100644 --- a/common/tools/dev-tool/src/commands/admin/create-migration.ts +++ b/common/tools/dev-tool/src/commands/admin/create-migration.ts @@ -4,13 +4,10 @@ import path from "node:path"; import readline from "node:readline"; import { spawnSync } from "node:child_process"; - import { leafCommand, makeCommandInfo } from "../../framework/command"; import migrationTemplate, { MigrationTemplate } from "../../templates/migration"; import { createPrinter } from "../../util/printer"; - import { ensureDir, pathExists, writeFile } from "fs-extra"; - import { format } from "../../util/prettier"; const log = createPrinter("create-migration"); diff --git a/common/tools/dev-tool/src/commands/admin/list/packages.ts b/common/tools/dev-tool/src/commands/admin/list/packages.ts index 0decbf81e5e0..9408d6ea2524 100644 --- a/common/tools/dev-tool/src/commands/admin/list/packages.ts +++ b/common/tools/dev-tool/src/commands/admin/list/packages.ts @@ -2,12 +2,9 @@ // Licensed under the MIT license. import { leafCommand, makeCommandInfo } from "../../../framework/command"; - -import path from "path"; +import path from "node:path"; import { resolveRoot } from "../../../util/resolveProject"; - -import { readFile } from "fs/promises"; - +import { readFile } from "node:fs/promises"; import stripJsonComments from "strip-json-comments"; export const commandInfo = makeCommandInfo("packages", "list packages defined in the monorepo", { diff --git a/common/tools/dev-tool/src/commands/admin/list/service-folders.ts b/common/tools/dev-tool/src/commands/admin/list/service-folders.ts index d766a9dfa19f..614f9bda4ff4 100644 --- a/common/tools/dev-tool/src/commands/admin/list/service-folders.ts +++ b/common/tools/dev-tool/src/commands/admin/list/service-folders.ts @@ -2,6 +2,9 @@ // Licensed under the MIT license. import { leafCommand, makeCommandInfo } from "../../../framework/command"; +import path from "node:path"; +import { resolveRoot } from "../../../util/resolveProject"; +import { readdir } from "node:fs/promises"; export const commandInfo = makeCommandInfo("packages", "list service folders in the monorepo", { relative: { @@ -12,11 +15,6 @@ export const commandInfo = makeCommandInfo("packages", "list service folders in }, }); -import path from "path"; -import { resolveRoot } from "../../../util/resolveProject"; - -import { readdir } from "fs/promises"; - export async function getServiceFolders(root?: string): Promise { root ??= await resolveRoot(); return ( diff --git a/common/tools/dev-tool/src/commands/admin/stage-migrations.ts b/common/tools/dev-tool/src/commands/admin/stage-migrations.ts index 5c7e097ff683..5017e361d060 100644 --- a/common/tools/dev-tool/src/commands/admin/stage-migrations.ts +++ b/common/tools/dev-tool/src/commands/admin/stage-migrations.ts @@ -1,8 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { readFile, writeFile } from "fs/promises"; -import path from "path"; +import { readFile, writeFile } from "node:fs/promises"; +import path from "node:path"; import { leafCommand, makeCommandInfo } from "../../framework/command"; import { getServiceFolders } from "./list/service-folders"; diff --git a/common/tools/dev-tool/src/commands/customization/apply-v2.ts b/common/tools/dev-tool/src/commands/customization/apply-v2.ts index 884493b8b569..3dad28f876f5 100644 --- a/common/tools/dev-tool/src/commands/customization/apply-v2.ts +++ b/common/tools/dev-tool/src/commands/customization/apply-v2.ts @@ -6,7 +6,6 @@ import { createPrinter } from "../../util/printer"; import { run } from "../../util/run"; import { leafCommand } from "../../framework/command"; import { makeCommandInfo } from "../../framework/command"; - import path from "node:path"; import fs from "node:fs/promises"; import os from "node:os"; diff --git a/common/tools/dev-tool/src/commands/customization/apply.ts b/common/tools/dev-tool/src/commands/customization/apply.ts index 78e3d0bcc8df..591f18378425 100644 --- a/common/tools/dev-tool/src/commands/customization/apply.ts +++ b/common/tools/dev-tool/src/commands/customization/apply.ts @@ -1,13 +1,11 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license -import path from "path"; - +import path from "node:path"; import { resolveProject } from "../../util/resolveProject"; import { createPrinter } from "../../util/printer"; import { leafCommand } from "../../framework/command"; import { makeCommandInfo } from "../../framework/command"; - import { customize } from "../../util/customization/customize"; const log = createPrinter("apply-customization"); diff --git a/common/tools/dev-tool/src/commands/migrate.ts b/common/tools/dev-tool/src/commands/migrate.ts index ac2f9ba329e1..319ee6c2cab9 100644 --- a/common/tools/dev-tool/src/commands/migrate.ts +++ b/common/tools/dev-tool/src/commands/migrate.ts @@ -5,7 +5,7 @@ import { METADATA_KEY, ProjectInfo, resolveProject, resolveRoot } from "../util/ import { createPrinter } from "../util/printer"; import { leafCommand } from "../framework/command"; import { makeCommandInfo } from "../framework/command"; -import { cwd } from "process"; +import { cwd } from "node:process"; import { listAppliedMigrations, getMigrationById, diff --git a/common/tools/dev-tool/src/commands/package/resolve.ts b/common/tools/dev-tool/src/commands/package/resolve.ts index 966a0a4f1628..4ff8387caed7 100644 --- a/common/tools/dev-tool/src/commands/package/resolve.ts +++ b/common/tools/dev-tool/src/commands/package/resolve.ts @@ -1,8 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license -import path from "path"; - +import path from "node:path"; import { resolveProject } from "../../util/resolveProject"; import { createPrinter } from "../../util/printer"; import { leafCommand } from "../../framework/command"; diff --git a/common/tools/dev-tool/src/commands/run/build-test.ts b/common/tools/dev-tool/src/commands/run/build-test.ts index 1d91bf8a159b..2139943c5c65 100644 --- a/common/tools/dev-tool/src/commands/run/build-test.ts +++ b/common/tools/dev-tool/src/commands/run/build-test.ts @@ -2,7 +2,15 @@ // Licensed under the MIT license. import path from "node:path"; -import { cpSync, existsSync, mkdirSync, readFileSync, readdirSync, statSync, writeFileSync } from "node:fs"; +import { + cpSync, + existsSync, + mkdirSync, + readFileSync, + readdirSync, + statSync, + writeFileSync, +} from "node:fs"; import { leafCommand, makeCommandInfo } from "../../framework/command"; import { createPrinter } from "../../util/printer"; import { resolveProject } from "../../util/resolveProject"; @@ -146,7 +154,7 @@ function copyOverrides(type: string, rootDir: string, filePath: string): void { const fileToReplaceWith = path.join( fileParsed.root, fileParsed.dir, - `${fileParsed.name}-${type}.mts` + `${fileParsed.name}-${type}.mts`, ); if (existsSync(fileToReplace) && existsSync(fileToReplaceWith)) { log.info(`Copying over ${fileToReplaceWith} to ${fileToReplace}`); @@ -156,20 +164,20 @@ function copyOverrides(type: string, rootDir: string, filePath: string): void { rootDir, relativeDir, `${fileParsed.name}-${type}.d.mts`, - `${fileParsed.name}.d.ts` + `${fileParsed.name}.d.ts`, ); overrideFile( rootDir, relativeDir, `${fileParsed.name}-${type}.d.mts.map`, - `${fileParsed.name}.d.ts.map` + `${fileParsed.name}.d.ts.map`, ); overrideFile(rootDir, relativeDir, `${fileParsed.name}-${type}.mjs`, `${fileParsed.name}.js`); overrideFile( rootDir, relativeDir, `${fileParsed.name}-${type}.mjs.map`, - `${fileParsed.name}.js.map` + `${fileParsed.name}.js.map`, ); } } @@ -178,7 +186,7 @@ function overrideFile( rootDir: string, relativeDir: string, sourceFile: string, - destinationFile: string + destinationFile: string, ): void { const sourceFileType = path.join(process.cwd(), rootDir, relativeDir, sourceFile); const destFileType = path.join(process.cwd(), rootDir, relativeDir, destinationFile); @@ -189,7 +197,10 @@ function overrideFile( class OverrideSet { public map: Map; - constructor(public type: "esm" | "commonjs", public name: string) { + constructor( + public type: "esm" | "commonjs", + public name: string, + ) { this.map = new Map(); } diff --git a/common/tools/dev-tool/src/commands/run/bundle.ts b/common/tools/dev-tool/src/commands/run/bundle.ts index fb9c0ba65665..588a70a57e78 100644 --- a/common/tools/dev-tool/src/commands/run/bundle.ts +++ b/common/tools/dev-tool/src/commands/run/bundle.ts @@ -1,18 +1,15 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import path from "path"; - +import path from "node:path"; import * as rollup from "rollup"; import nodeBuiltins from "builtin-modules"; - import nodeResolve from "@rollup/plugin-node-resolve"; import cjs from "@rollup/plugin-commonjs"; import nodePolyfills from "rollup-plugin-polyfill-node"; import json from "@rollup/plugin-json"; import multiEntry from "@rollup/plugin-multi-entry"; import inject from "@rollup/plugin-inject"; - import { leafCommand, makeCommandInfo } from "../../framework/command"; import { resolveProject, resolveRoot } from "../../util/resolveProject"; import { createPrinter } from "../../util/printer"; diff --git a/common/tools/dev-tool/src/commands/run/check-api.ts b/common/tools/dev-tool/src/commands/run/check-api.ts index 5dbc0970c06c..478924db328d 100644 --- a/common/tools/dev-tool/src/commands/run/check-api.ts +++ b/common/tools/dev-tool/src/commands/run/check-api.ts @@ -1,10 +1,12 @@ -import { leafCommand, makeCommandInfo } from "../../framework/command"; +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +import { leafCommand, makeCommandInfo } from "../../framework/command"; import tsMin from "@_ts/min"; import tsMax from "@_ts/max"; import { createPrinter } from "../../util/printer"; import { resolveProject } from "../../util/resolveProject"; -import path from "path"; +import path from "node:path"; import semver from "semver"; export const commandInfo = makeCommandInfo( diff --git a/common/tools/dev-tool/src/commands/run/extract-api.ts b/common/tools/dev-tool/src/commands/run/extract-api.ts index af691bb14e1d..24f9c9fbc373 100644 --- a/common/tools/dev-tool/src/commands/run/extract-api.ts +++ b/common/tools/dev-tool/src/commands/run/extract-api.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + import { leafCommand, makeCommandInfo } from "../../framework/command"; import { Extractor, @@ -8,13 +11,12 @@ import { IConfigDtsRollup, IConfigFile, } from "@microsoft/api-extractor"; - import { createPrinter } from "../../util/printer"; import { resolveProject } from "../../util/resolveProject"; import path from "path"; import { readFile } from "fs-extra"; -import { readdir } from "fs/promises"; -import { createReadStream, createWriteStream } from "fs"; +import { readdir } from "node:fs/promises"; +import { createReadStream, createWriteStream } from "node:fs"; import archiver from "archiver"; export const commandInfo = makeCommandInfo( diff --git a/common/tools/dev-tool/src/commands/run/index.ts b/common/tools/dev-tool/src/commands/run/index.ts index 944fc7e3b06e..f0c856869174 100644 --- a/common/tools/dev-tool/src/commands/run/index.ts +++ b/common/tools/dev-tool/src/commands/run/index.ts @@ -1,13 +1,12 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license -import { subCommand, makeCommandInfo } from "../../framework/command"; +import { makeCommandInfo, subCommand } from "../../framework/command"; export const commandInfo = makeCommandInfo("run", "run scripts such as test:node"); export default subCommand(commandInfo, { "test:node-tsx-ts": () => import("./testNodeTsxTS"), - "test:node-tsx-js": () => import("./testNodeTsxJS"), "test:node-ts-input": () => import("./testNodeTSInput"), "test:node-js-input": () => import("./testNodeJSInput"), "test:browser": () => import("./testBrowser"), diff --git a/common/tools/dev-tool/src/commands/run/testNodeJSInput.ts b/common/tools/dev-tool/src/commands/run/testNodeJSInput.ts index c10a6014dcb2..60707e05ef6e 100644 --- a/common/tools/dev-tool/src/commands/run/testNodeJSInput.ts +++ b/common/tools/dev-tool/src/commands/run/testNodeJSInput.ts @@ -8,7 +8,7 @@ import { createPrinter } from "../../util/printer"; import { runTestsWithProxyTool } from "../../util/testUtils"; export const commandInfo = makeCommandInfo( - "test:node-tsx-js", + "test:node-js-input", "runs the node tests using mocha with the default and the provided options; starts the proxy-tool in record and playback modes", { "no-test-proxy": { diff --git a/common/tools/dev-tool/src/commands/run/testNodeTSInput.ts b/common/tools/dev-tool/src/commands/run/testNodeTSInput.ts index f0cf66c2cbce..a7540bd5568f 100644 --- a/common/tools/dev-tool/src/commands/run/testNodeTSInput.ts +++ b/common/tools/dev-tool/src/commands/run/testNodeTSInput.ts @@ -8,7 +8,7 @@ import { runTestsWithProxyTool } from "../../util/testUtils"; import { createPrinter } from "../../util/printer"; export const commandInfo = makeCommandInfo( - "test:node-tsx-ts", + "test:node-ts-input", "runs the node tests using mocha with the default and the provided options; starts the proxy-tool in record and playback modes", { "no-test-proxy": { @@ -25,7 +25,7 @@ export default leafCommand(commandInfo, async (options) => { const reporterArgs = "--reporter ../../../common/tools/mocha-multi-reporter.js --reporter-option output=test-results.xml"; const defaultMochaArgs = `${ - isModuleProj ? "--loader=ts-node/esm " : "" + isModuleProj ? "--loader=ts-node/esm " : "-r esm " }-r ts-node/register ${reporterArgs} --full-trace`; const updatedArgs = options["--"]?.map((opt) => opt.includes("**") && !opt.startsWith("'") && !opt.startsWith('"') ? `"${opt}"` : opt, diff --git a/common/tools/dev-tool/src/commands/run/testNodeTsxJS.ts b/common/tools/dev-tool/src/commands/run/testNodeTsxJS.ts deleted file mode 100644 index 60707e05ef6e..000000000000 --- a/common/tools/dev-tool/src/commands/run/testNodeTsxJS.ts +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license - -import { leafCommand, makeCommandInfo } from "../../framework/command"; - -import concurrently from "concurrently"; -import { createPrinter } from "../../util/printer"; -import { runTestsWithProxyTool } from "../../util/testUtils"; - -export const commandInfo = makeCommandInfo( - "test:node-js-input", - "runs the node tests using mocha with the default and the provided options; starts the proxy-tool in record and playback modes", - { - "no-test-proxy": { - shortName: "ntp", - kind: "boolean", - default: false, - description: "whether to run with test-proxy", - }, - }, -); - -export default leafCommand(commandInfo, async (options) => { - const reporterArgs = - "--reporter ../../../common/tools/mocha-multi-reporter.js --reporter-option output=test-results.xml"; - const defaultMochaArgs = `-r source-map-support/register.js ${reporterArgs} --full-trace`; - const updatedArgs = options["--"]?.map((opt) => - opt.includes("**") && !opt.startsWith("'") && !opt.startsWith('"') ? `"${opt}"` : opt, - ); - const mochaArgs = updatedArgs?.length - ? updatedArgs.join(" ") - : '--timeout 5000000 "dist-esm/test/{,!(browser)/**/}/*.spec.js"'; - const command = { - command: `c8 mocha --require tsx ${defaultMochaArgs} ${mochaArgs}`, - name: "node-tests", - }; - - if (!options["no-test-proxy"]) { - return runTestsWithProxyTool(command); - } - - createPrinter("test-info").info("Running tests without test-proxy"); - await concurrently([command]).result; - return true; -}); diff --git a/common/tools/dev-tool/src/commands/run/vendored.ts b/common/tools/dev-tool/src/commands/run/vendored.ts index fa92444e8577..2521d2304257 100644 --- a/common/tools/dev-tool/src/commands/run/vendored.ts +++ b/common/tools/dev-tool/src/commands/run/vendored.ts @@ -7,9 +7,8 @@ */ import fs from "fs-extra"; -import path from "path"; -import { spawn } from "child_process"; - +import path from "node:path"; +import { spawn } from "node:child_process"; import { makeCommandInfo, subCommand } from "../../framework/command"; import { CommandOptions } from "../../framework/CommandInfo"; import { CommandModule } from "../../framework/CommandModule"; diff --git a/common/tools/dev-tool/src/commands/samples/checkNodeVersions.ts b/common/tools/dev-tool/src/commands/samples/checkNodeVersions.ts index 3968fd322162..c3a96a174ebe 100644 --- a/common/tools/dev-tool/src/commands/samples/checkNodeVersions.ts +++ b/common/tools/dev-tool/src/commands/samples/checkNodeVersions.ts @@ -2,10 +2,10 @@ // Licensed under the MIT license. import fs from "fs-extra"; -import path from "path"; -import pr from "child_process"; -import os from "os"; -import { URL } from "url"; +import path from "node:path"; +import pr from "node:child_process"; +import os from "node:os"; +import { URL } from "node:url"; import { createPrinter } from "../../util/printer"; import { leafCommand, makeCommandInfo } from "../../framework/command"; diff --git a/common/tools/dev-tool/src/commands/samples/dev.ts b/common/tools/dev-tool/src/commands/samples/dev.ts index af925bba42f3..a89974b81b1f 100644 --- a/common/tools/dev-tool/src/commands/samples/dev.ts +++ b/common/tools/dev-tool/src/commands/samples/dev.ts @@ -2,8 +2,7 @@ // Licensed under the MIT license. import fs from "fs-extra"; -import path from "path"; - +import path from "node:path"; import { resolveProject } from "../../util/resolveProject"; import { createPrinter } from "../../util/printer"; import { leafCommand, makeCommandInfo } from "../../framework/command"; diff --git a/common/tools/dev-tool/src/commands/samples/prep.ts b/common/tools/dev-tool/src/commands/samples/prep.ts index b065ad11305d..7820f16c1d3a 100644 --- a/common/tools/dev-tool/src/commands/samples/prep.ts +++ b/common/tools/dev-tool/src/commands/samples/prep.ts @@ -2,8 +2,7 @@ // Licensed under the MIT license. import fs from "fs-extra"; -import path from "path"; - +import path from "node:path"; import { createPrinter } from "../../util/printer"; import { findMatchingFiles } from "../../util/findMatchingFiles"; import { resolveProject } from "../../util/resolveProject"; diff --git a/common/tools/dev-tool/src/commands/samples/publish.ts b/common/tools/dev-tool/src/commands/samples/publish.ts index aeb781d7dbc5..04c7bd364544 100644 --- a/common/tools/dev-tool/src/commands/samples/publish.ts +++ b/common/tools/dev-tool/src/commands/samples/publish.ts @@ -8,7 +8,7 @@ * that are eventually used to generate a coherent set of sample programs. */ -import path from "path"; +import path from "node:path"; import { leafCommand, makeCommandInfo } from "../../framework/command"; import { createPrinter } from "../../util/printer"; import { resolveProject } from "../../util/resolveProject"; diff --git a/common/tools/dev-tool/src/commands/samples/run.ts b/common/tools/dev-tool/src/commands/samples/run.ts index 5b4fc5521990..8c4d49d6d0c6 100644 --- a/common/tools/dev-tool/src/commands/samples/run.ts +++ b/common/tools/dev-tool/src/commands/samples/run.ts @@ -2,8 +2,7 @@ // Licensed under the MIT license. import fs from "fs-extra"; -import path from "path"; - +import path from "node:path"; import { findMatchingFiles } from "../../util/findMatchingFiles"; import { createPrinter } from "../../util/printer"; import { leafCommand, makeCommandInfo } from "../../framework/command"; diff --git a/common/tools/dev-tool/src/commands/test-proxy/init.ts b/common/tools/dev-tool/src/commands/test-proxy/init.ts index e7215f4920f8..9cc8b984cac3 100644 --- a/common/tools/dev-tool/src/commands/test-proxy/init.ts +++ b/common/tools/dev-tool/src/commands/test-proxy/init.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { cwd } from "process"; +import { cwd } from "node:process"; import { leafCommand, makeCommandInfo } from "../../framework/command"; import { resolveProject } from "../../util/resolveProject"; import { createAssetsJson } from "../../util/testProxyUtils"; diff --git a/common/tools/dev-tool/src/config/rollup.base.config.ts b/common/tools/dev-tool/src/config/rollup.base.config.ts index 830cea7b9b92..d39a84951a0a 100644 --- a/common/tools/dev-tool/src/config/rollup.base.config.ts +++ b/common/tools/dev-tool/src/config/rollup.base.config.ts @@ -8,14 +8,12 @@ import { RollupLog, WarningHandlerWithDefault, } from "rollup"; - import nodeResolve from "@rollup/plugin-node-resolve"; import cjs from "@rollup/plugin-commonjs"; import multiEntry from "@rollup/plugin-multi-entry"; import json from "@rollup/plugin-json"; -import * as path from "path"; +import * as path from "node:path"; import { readFile } from "node:fs/promises"; - import nodeBuiltins from "builtin-modules"; import { createPrinter } from "../util/printer"; diff --git a/common/tools/dev-tool/src/framework/parseOptions.ts b/common/tools/dev-tool/src/framework/parseOptions.ts index ac48f252e7ea..474a8f8d524e 100644 --- a/common/tools/dev-tool/src/framework/parseOptions.ts +++ b/common/tools/dev-tool/src/framework/parseOptions.ts @@ -2,7 +2,6 @@ // Licensed under the MIT license import getArgs from "minimist"; - import { createPrinter } from "../util/printer"; import { CommandOptions, StringOptionDescription, BooleanOptionDescription } from "./CommandInfo"; diff --git a/common/tools/dev-tool/src/migrations/onboard/test-proxy-asset-sync.ts b/common/tools/dev-tool/src/migrations/onboard/test-proxy-asset-sync.ts index 87f25f3ab297..cf2a93531d2d 100644 --- a/common/tools/dev-tool/src/migrations/onboard/test-proxy-asset-sync.ts +++ b/common/tools/dev-tool/src/migrations/onboard/test-proxy-asset-sync.ts @@ -2,10 +2,9 @@ // Licensed under the MIT license. import { readFile, pathExists } from "fs-extra"; -import path from "path"; +import path from "node:path"; import { createMigration } from "../../util/migrations"; import { runMigrationScript } from "../../util/testProxyUtils"; - import * as git from "../../util/git"; import * as pwsh from "../../util/pwsh"; diff --git a/common/tools/dev-tool/src/templates/migration.ts b/common/tools/dev-tool/src/templates/migration.ts index 166a684e94de..84b1cb5c9f88 100644 --- a/common/tools/dev-tool/src/templates/migration.ts +++ b/common/tools/dev-tool/src/templates/migration.ts @@ -1,5 +1,6 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. + /** * Information used to instantiate the migration code template. */ diff --git a/common/tools/dev-tool/src/templates/sampleReadme.md.ts b/common/tools/dev-tool/src/templates/sampleReadme.md.ts index fa91dd4de274..e2aa31e1e139 100644 --- a/common/tools/dev-tool/src/templates/sampleReadme.md.ts +++ b/common/tools/dev-tool/src/templates/sampleReadme.md.ts @@ -1,9 +1,8 @@ // Copyright (c) Microsoft corporation. // Licensed under the MIT license. -import path from "path"; +import path from "node:path"; import YAML from "yaml"; - import { SampleReadmeConfiguration } from "../util/samples/info"; import { format } from "../util/prettier"; @@ -82,8 +81,9 @@ function resourceLinks(info: SampleReadmeConfiguration) { function resources(info: SampleReadmeConfiguration) { const resources = Object.entries(info.requiredResources ?? {}); - const header = `You need [an Azure subscription][freesub] ${resources.length > 0 ? "and the following Azure resources " : "" - }to run these sample programs${resources.length > 0 ? ":\n\n" : "."}`; + const header = `You need [an Azure subscription][freesub] ${ + resources.length > 0 ? "and the following Azure resources " : "" + }to run these sample programs${resources.length > 0 ? ":\n\n" : "."}`; return ( header + resources.map(([name]) => `- [${name}][${resourceNameToLinkSlug(name)}]`).join("\n") @@ -134,8 +134,9 @@ function exampleNodeInvocation(info: SampleReadmeConfiguration) { .map((envVar) => `${envVar}="<${envVar.replace(/_/g, " ").toLowerCase()}>"`) .join(" "); - return `${envVars} node ${info.useTypeScript ? "dist/" : "" - }${firstModule.relativeSourcePath.replace(/\.ts$/, ".js")}`; + return `${envVars} node ${ + info.useTypeScript ? "dist/" : "" + }${firstModule.relativeSourcePath.replace(/\.ts$/, ".js")}`; } /** @@ -165,7 +166,8 @@ export default (info: SampleReadmeConfiguration): Promise => { ${info.customSnippets?.header ?? ""} -These sample programs show how to use the ${language} client libraries for ${info.productName +These sample programs show how to use the ${language} client libraries for ${ + info.productName } in some common scenarios. ${table(info)} @@ -175,17 +177,17 @@ ${table(info)} The sample programs are compatible with [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule). ${(() => { - if (info.useTypeScript) { - return [ - "Before running the samples in Node, they must be compiled to JavaScript using the TypeScript compiler. For more information on TypeScript, see the [TypeScript documentation][typescript]. Install the TypeScript compiler using:", - "", - fence("bash", "npm install -g typescript"), - "", - ].join("\n"); - } else { - return ""; - } - })()}\ + if (info.useTypeScript) { + return [ + "Before running the samples in Node, they must be compiled to JavaScript using the TypeScript compiler. For more information on TypeScript, see the [TypeScript documentation][typescript]. Install the TypeScript compiler using:", + "", + fence("bash", "npm install -g typescript"), + "", + ].join("\n"); + } else { + return ""; + } +})()}\ ${resources(info)} ${info.customSnippets?.prerequisites ?? ""} @@ -202,28 +204,28 @@ ${step("Install the dependencies using `npm`:")} ${fence("bash", "npm install")} ${(() => { - if (info.useTypeScript) { - return [step("Compile the samples:"), "", fence("bash", "npm run build"), ""].join("\n"); - } else { - return ""; - } - })()} + if (info.useTypeScript) { + return [step("Compile the samples:"), "", fence("bash", "npm run build"), ""].join("\n"); + } else { + return ""; + } +})()} ${step( - "Edit the file `sample.env`, adding the correct credentials to access the Azure service and run the samples. Then rename the file from `sample.env` to just `.env`. The sample programs will read this file automatically.", - )} + "Edit the file `sample.env`, adding the correct credentials to access the Azure service and run the samples. Then rename the file from `sample.env` to just `.env`. The sample programs will read this file automatically.", +)} ${step( - "Run whichever samples you like (note that some samples may require additional setup, see the table above):", - )} + "Run whichever samples you like (note that some samples may require additional setup, see the table above):", +)} ${fence( - "bash", - `node ${(() => { - const firstSource = filterModules(info)[0].relativeSourcePath; - const filePath = info.useTypeScript ? "dist/" : ""; - return filePath + firstSource.replace(/\.ts$/, ".js"); - })()}`, - )} + "bash", + `node ${(() => { + const firstSource = filterModules(info)[0].relativeSourcePath; + const filePath = info.useTypeScript ? "dist/" : ""; + return filePath + firstSource.replace(/\.ts$/, ".js"); + })()}`, +)} Alternatively, run a single sample with the correct environment variables set (setting up the \`.env\` file is not required if you do this), for example (cross-platform): diff --git a/common/tools/dev-tool/src/util/customization/customize.ts b/common/tools/dev-tool/src/util/customization/customize.ts index a3481bd66e0a..c9c744af6ad6 100644 --- a/common/tools/dev-tool/src/util/customization/customize.ts +++ b/common/tools/dev-tool/src/util/customization/customize.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license -import { copyFile, stat, readFile, writeFile, readdir } from "fs/promises"; +import { copyFile, stat, readFile, writeFile, readdir } from "node:fs/promises"; import { ensureDir, copy } from "fs-extra"; import path from "../pathUtil"; import { @@ -23,7 +23,6 @@ import { augmentTypeAliases } from "./aliases"; import { setCustomizationState, resetCustomizationState } from "./state"; import { getNewCustomFiles } from "./helpers/files"; import { augmentImports } from "./imports"; - import { format } from "../prettier"; import { augmentExports } from "./exports"; diff --git a/common/tools/dev-tool/src/util/fileTree.ts b/common/tools/dev-tool/src/util/fileTree.ts index c07297e45def..c414e02795ab 100644 --- a/common/tools/dev-tool/src/util/fileTree.ts +++ b/common/tools/dev-tool/src/util/fileTree.ts @@ -2,9 +2,8 @@ // Licensed under the MIT license. import fs from "fs-extra"; -import os from "os"; -import path from "path"; - +import os from "node:os"; +import path from "node:path"; import { createPrinter } from "./printer"; import * as git from "./git"; diff --git a/common/tools/dev-tool/src/util/findMatchingFiles.ts b/common/tools/dev-tool/src/util/findMatchingFiles.ts index ce1efcbcc4f6..bb8fec987ed9 100644 --- a/common/tools/dev-tool/src/util/findMatchingFiles.ts +++ b/common/tools/dev-tool/src/util/findMatchingFiles.ts @@ -2,7 +2,7 @@ // Licensed under the MIT license import fs from "fs-extra"; -import path from "path"; +import path from "node:path"; import { createPrinter } from "./printer"; import { shouldSkip } from "./samples/configuration"; diff --git a/common/tools/dev-tool/src/util/findSamplesDir.ts b/common/tools/dev-tool/src/util/findSamplesDir.ts index 3afb7b06e85f..b20fa393f9de 100644 --- a/common/tools/dev-tool/src/util/findSamplesDir.ts +++ b/common/tools/dev-tool/src/util/findSamplesDir.ts @@ -2,7 +2,7 @@ // Licensed under the MIT license import fs from "fs-extra"; -import path from "path"; +import path from "node:path"; export function findSamplesRelativeDir(samplesDir: string): string { const dirs = []; diff --git a/common/tools/dev-tool/src/util/git.ts b/common/tools/dev-tool/src/util/git.ts index 28d91cc9c55c..64ccf2550e2c 100644 --- a/common/tools/dev-tool/src/util/git.ts +++ b/common/tools/dev-tool/src/util/git.ts @@ -1,10 +1,9 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { spawn } from "child_process"; -import { tmpdir } from "os"; - -import path from "path"; +import { spawn } from "node:child_process"; +import { tmpdir } from "node:os"; +import path from "node:path"; /** * Uses the git command line to ask whether a path has any tracked, unstaged changes (if they would appear in a git diff --git a/common/tools/dev-tool/src/util/migrations.ts b/common/tools/dev-tool/src/util/migrations.ts index 18928001a8e6..ef6fa0086cb0 100644 --- a/common/tools/dev-tool/src/util/migrations.ts +++ b/common/tools/dev-tool/src/util/migrations.ts @@ -2,8 +2,8 @@ // Licensed under the MIT license. import { mkdirp, readFile, rm, stat, Stats, writeFile } from "fs-extra"; -import { userInfo } from "os"; -import path from "path"; +import { userInfo } from "node:os"; +import path from "node:path"; import { panic } from "./assert"; import { findMatchingFiles } from "./findMatchingFiles"; import { createPrinter, Printer } from "./printer"; diff --git a/common/tools/dev-tool/src/util/pathUtil.ts b/common/tools/dev-tool/src/util/pathUtil.ts index 86c6fcaf0f3b..d0739fdd32ca 100644 --- a/common/tools/dev-tool/src/util/pathUtil.ts +++ b/common/tools/dev-tool/src/util/pathUtil.ts @@ -1,4 +1,7 @@ -import path from "path"; +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import path from "node:path"; function toPosixWrapper any>(f: T): T { const wrapped = (...args: Parameters): ReturnType => { diff --git a/common/tools/dev-tool/src/util/prettier.ts b/common/tools/dev-tool/src/util/prettier.ts index 52ad480b5f6c..b9ecb351141e 100644 --- a/common/tools/dev-tool/src/util/prettier.ts +++ b/common/tools/dev-tool/src/util/prettier.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + import * as prettier from "prettier"; import prettierOptions from "../../../eslint-plugin-azure-sdk/prettier.json"; diff --git a/common/tools/dev-tool/src/util/printer.ts b/common/tools/dev-tool/src/util/printer.ts index 441b378ff67d..c0804f9be8fa 100644 --- a/common/tools/dev-tool/src/util/printer.ts +++ b/common/tools/dev-tool/src/util/printer.ts @@ -4,7 +4,7 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ import chalk from "chalk"; -import path from "path"; +import path from "node:path"; const printModes = ["info", "warn", "error", "success", "debug"] as const; diff --git a/common/tools/dev-tool/src/util/resolveProject.ts b/common/tools/dev-tool/src/util/resolveProject.ts index ac2b03410350..be9323461dcd 100644 --- a/common/tools/dev-tool/src/util/resolveProject.ts +++ b/common/tools/dev-tool/src/util/resolveProject.ts @@ -2,8 +2,7 @@ // Licensed under the MIT license. import fs from "fs-extra"; -import path from "path"; - +import path from "node:path"; import { createPrinter } from "./printer"; import { SampleConfiguration } from "./samples/configuration"; diff --git a/common/tools/dev-tool/src/util/run.ts b/common/tools/dev-tool/src/util/run.ts index 4647b1746ca0..7af269b12358 100644 --- a/common/tools/dev-tool/src/util/run.ts +++ b/common/tools/dev-tool/src/util/run.ts @@ -1,4 +1,7 @@ -import { SpawnOptions, spawn } from "child_process"; +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { SpawnOptions, spawn } from "node:child_process"; export interface RunOptions extends SpawnOptions { captureOutput?: boolean; diff --git a/common/tools/dev-tool/src/util/samples/convert.ts b/common/tools/dev-tool/src/util/samples/convert.ts index c0443b04fa8c..8798061e4074 100644 --- a/common/tools/dev-tool/src/util/samples/convert.ts +++ b/common/tools/dev-tool/src/util/samples/convert.ts @@ -1,10 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { EOL } from "os"; - +import { EOL } from "node:os"; import ts from "typescript"; - import { createPrinter } from "../printer"; import { format } from "../prettier"; diff --git a/common/tools/dev-tool/src/util/samples/generation.ts b/common/tools/dev-tool/src/util/samples/generation.ts index 38e610877b76..caba85078f81 100644 --- a/common/tools/dev-tool/src/util/samples/generation.ts +++ b/common/tools/dev-tool/src/util/samples/generation.ts @@ -1,5 +1,8 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + import fs from "fs-extra"; -import path from "path"; +import path from "node:path"; import { copy, dir, file, FileTreeFactory, lazy, safeClean, temp } from "../fileTree"; import { findMatchingFiles } from "../findMatchingFiles"; import { createPrinter } from "../printer"; @@ -17,7 +20,6 @@ import { SampleGenerationInfo, } from "./info"; import { processSources } from "./processor"; - import devToolPackageJson from "../../../package.json"; import instantiateSampleReadme from "../../templates/sampleReadme.md"; import { resolveModule } from "./transforms"; diff --git a/common/tools/dev-tool/src/util/samples/processor.ts b/common/tools/dev-tool/src/util/samples/processor.ts index 977fbb807eb0..b5c286eea950 100644 --- a/common/tools/dev-tool/src/util/samples/processor.ts +++ b/common/tools/dev-tool/src/util/samples/processor.ts @@ -2,8 +2,8 @@ // Licensed under the MIT license. import fs from "fs-extra"; -import path from "path"; -import * as ts from "typescript"; +import path from "node:path"; +import ts from "typescript"; import { convert } from "./convert"; import { createPrinter } from "../printer"; import { createAccumulator } from "../typescript/accumulator"; diff --git a/common/tools/dev-tool/src/util/samples/syntax.ts b/common/tools/dev-tool/src/util/samples/syntax.ts index 88f2585a5b94..919e03e1d383 100644 --- a/common/tools/dev-tool/src/util/samples/syntax.ts +++ b/common/tools/dev-tool/src/util/samples/syntax.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import * as ts from "typescript"; +import ts from "typescript"; /** * Tests for syntax compatibility. diff --git a/common/tools/dev-tool/src/util/testProxyUtils.ts b/common/tools/dev-tool/src/util/testProxyUtils.ts index 5767f6536b89..82d0cbb41384 100644 --- a/common/tools/dev-tool/src/util/testProxyUtils.ts +++ b/common/tools/dev-tool/src/util/testProxyUtils.ts @@ -1,14 +1,14 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { ChildProcess, exec, spawn, SpawnOptions } from "child_process"; +import { ChildProcess, exec, spawn, SpawnOptions } from "node:child_process"; import { createPrinter } from "./printer"; import { ProjectInfo, resolveProject, resolveRoot } from "./resolveProject"; import fs from "fs-extra"; -import path from "path"; +import path from "node:path"; import decompress from "decompress"; import envPaths from "env-paths"; -import { promisify } from "util"; +import { promisify } from "node:util"; const log = createPrinter("test-proxy"); const downloadLocation = path.join(envPaths("azsdk-dev-tool").cache, "test-proxy"); diff --git a/common/tools/dev-tool/src/util/testUtils.ts b/common/tools/dev-tool/src/util/testUtils.ts index a53b1f000b27..234835ab3dab 100644 --- a/common/tools/dev-tool/src/util/testUtils.ts +++ b/common/tools/dev-tool/src/util/testUtils.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + import { isProxyToolActive, startTestProxy, TestProxy } from "./testProxyUtils"; import concurrently, { Command as ConcurrentlyCommand } from "concurrently"; import { createPrinter } from "./printer"; diff --git a/common/tools/dev-tool/src/util/typescript/diagnostic.ts b/common/tools/dev-tool/src/util/typescript/diagnostic.ts index dfaad0cd2fe4..03c886dc766e 100644 --- a/common/tools/dev-tool/src/util/typescript/diagnostic.ts +++ b/common/tools/dev-tool/src/util/typescript/diagnostic.ts @@ -2,7 +2,7 @@ // Licensed under the MIT license. import ts from "typescript"; -import { EOL } from "os"; +import { EOL } from "node:os"; /** * The type of the emitter function. diff --git a/common/tools/dev-tool/test/argParsing.spec.ts b/common/tools/dev-tool/test/argParsing.spec.ts index ae960fc038d7..01f4ec93e0d3 100644 --- a/common/tools/dev-tool/test/argParsing.spec.ts +++ b/common/tools/dev-tool/test/argParsing.spec.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { assert } from "chai"; +import { describe, it, assert, beforeAll } from "vitest"; import { spawn } from "child_process"; import { StrictAllowMultiple } from "../src/framework/command"; import { CommandOptions } from "../src/framework/CommandInfo"; @@ -49,7 +49,7 @@ function shellSplit(args: string): Promise { } describe("argument parsing", function () { - before(silenceLogger); + beforeAll(silenceLogger); it("simple option", async () => { const parsed = parseOptions( diff --git a/common/tools/dev-tool/test/customization/aliases.spec.ts b/common/tools/dev-tool/test/customization/aliases.spec.ts index cc1583e314d8..3ec47e8b960d 100644 --- a/common/tools/dev-tool/test/customization/aliases.spec.ts +++ b/common/tools/dev-tool/test/customization/aliases.spec.ts @@ -1,6 +1,9 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { describe, it, assert, beforeEach } from "vitest"; import { Project, SourceFile, TypeAliasDeclaration } from "ts-morph"; import { augmentTypeAliases } from "../../src/util/customization/aliases"; -import { expect } from "chai"; describe("Customization", () => { let project: Project; @@ -25,7 +28,7 @@ describe("Customization", () => { augmentTypeAliases(originalAliases, customAliases, originalFile); - expect(originalFile.getTypeAlias("CustomAlias")).not.to.be.undefined; + assert.isDefined(originalFile.getTypeAlias("CustomAlias")); }); it("should replace existing aliases with custom aliases", () => { @@ -43,7 +46,8 @@ describe("Customization", () => { augmentTypeAliases(originalAliases, customAliases, originalFile); - expect(originalFile.getTypeAlias("OriginalAlias")?.getText()).to.equal( + assert.equal( + originalFile.getTypeAlias("OriginalAlias")?.getText(), "type OriginalAlias = number;", ); }); diff --git a/common/tools/dev-tool/test/customization/annotations.spec.ts b/common/tools/dev-tool/test/customization/annotations.spec.ts index ae67a8e44358..c5808be8c6d0 100644 --- a/common/tools/dev-tool/test/customization/annotations.spec.ts +++ b/common/tools/dev-tool/test/customization/annotations.spec.ts @@ -1,6 +1,9 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { describe, it, assert, beforeEach } from "vitest"; import { Project, SourceFile } from "ts-morph"; import { getAnnotation } from "../../src/util/customization/helpers/annotations"; -import { expect } from "chai"; describe("Annotations", () => { let project: Project; @@ -21,7 +24,7 @@ describe("Annotations", () => { }); const annotation = getAnnotation(functionDeclaration); - expect(annotation).to.deep.equal({ type: "remove", param: undefined }); + assert.deepEqual(annotation, { type: "remove", param: undefined }); }); it("should find it in Properties", () => { @@ -38,7 +41,7 @@ describe("Annotations", () => { const propertyDeclaration = interfaceDeclaration.getProperty("myProperty")!; const annotation = getAnnotation(propertyDeclaration); - expect(annotation).to.deep.equal({ type: "remove", param: undefined }); + assert.deepEqual(annotation, { type: "remove", param: undefined }); }); it("should find it in CallSignatures", () => { @@ -54,7 +57,7 @@ describe("Annotations", () => { const callSignatureDeclaration = interfaceDeclaration.getCallSignatures()[0]; const annotation = getAnnotation(callSignatureDeclaration); - expect(annotation).to.deep.equal({ type: "remove", param: undefined }); + assert.deepEqual(annotation, { type: "remove", param: undefined }); }); }); @@ -67,7 +70,7 @@ describe("Annotations", () => { }); const annotation = getAnnotation(functionDeclaration); - expect(annotation).to.deep.equal({ type: "rename", param: "myNewFunction" }); + assert.deepEqual(annotation, { type: "rename", param: "myNewFunction" }); }); it("should find it in Properties", () => { @@ -84,7 +87,7 @@ describe("Annotations", () => { const propertyDeclaration = interfaceDeclaration.getProperty("myProperty")!; const annotation = getAnnotation(propertyDeclaration); - expect(annotation).to.deep.equal({ type: "rename", param: "myNewProperty" }); + assert.deepEqual(annotation, { type: "rename", param: "myNewProperty" }); }); }); }); @@ -97,7 +100,7 @@ describe("Annotations", () => { }); const annotation = getAnnotation(functionDeclaration); - expect(annotation).to.be.undefined; + assert.isUndefined(annotation); }); it("should not find any in Properties", () => { @@ -113,7 +116,7 @@ describe("Annotations", () => { const propertyDeclaration = interfaceDeclaration.getProperty("myProperty")!; const annotation = getAnnotation(propertyDeclaration); - expect(annotation).to.be.undefined; + assert.isUndefined(annotation); }); it("should not find any in CallSignatures", () => { @@ -128,7 +131,7 @@ describe("Annotations", () => { const callSignatureDeclaration = interfaceDeclaration.getCallSignatures()[0]; const annotation = getAnnotation(callSignatureDeclaration); - expect(annotation).to.be.undefined; + assert.isUndefined(annotation); }); }); }); diff --git a/common/tools/dev-tool/test/customization/classes.spec.ts b/common/tools/dev-tool/test/customization/classes.spec.ts index f86c2a1bf950..30aae9c76856 100644 --- a/common/tools/dev-tool/test/customization/classes.spec.ts +++ b/common/tools/dev-tool/test/customization/classes.spec.ts @@ -1,3 +1,7 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { describe, it, assert, beforeEach, afterEach } from "vitest"; import { Project, SourceFile, @@ -11,7 +15,6 @@ import { augmentConstructor, augmentMethod, } from "../../src/util/customization/classes"; -import { expect } from "chai"; describe("Classes", () => { let project: Project; @@ -61,16 +64,17 @@ class MyClass {} it("should add a new class to the source file", () => { augmentClass(undefined, customClass, originalFile); - expect(originalFile.getClass("MyClass")).to.not.be.undefined; + assert.isDefined(originalFile.getClass("MyClass")); }); it("should add properties only present in the custom class", () => { originalClass = originalFile.addClass({ name: "MyClass" }); customClass.addProperty({ name: "myProperty", type: "string" }); augmentClass(originalClass, customClass, originalFile); - expect( + assert.equal( originalFile.getClass("MyClass")?.getProperty("myProperty")?.getType().getText(), - ).to.equal("string"); + "string", + ); }); it("should not add the class augmentation property", () => { @@ -78,19 +82,21 @@ class MyClass {} customClass.addProperty({ name: "myProperty", type: "string" }); customClass.addProperty({ name: AUGMENT_CLASS_TOKEN, type: "string" }); augmentClass(originalClass, customClass, originalFile); - expect(originalFile.getClass("MyClass")?.getProperty(AUGMENT_CLASS_TOKEN)).to.be.undefined; - expect( + assert.isUndefined(originalFile.getClass("MyClass")?.getProperty(AUGMENT_CLASS_TOKEN)); + assert.equal( originalFile.getClass("MyClass")?.getProperty("myProperty")?.getType().getText(), - ).to.equal("string"); + "string", + ); }); it("should replace the original property with the custom property", () => { originalClass = originalFile.addClass({ name: "MyClass" }); originalClass.addProperty({ name: "myProperty", type: "number" }); customClass.addProperty({ name: "myProperty", type: "string" }); augmentClass(originalClass, customClass, originalFile); - expect( + assert.equal( originalFile.getClass("MyClass")?.getProperty("myProperty")?.getType().getText(), - ).to.equal("string"); + "string", + ); }); }); @@ -117,7 +123,7 @@ class MyClass {} }); augmentMethod(originalMethod, customMethod, originalClass!); - expect(originalFile.getClass("MyClass")?.getMethod("myMethod")).to.not.be.undefined; + assert.isDefined(originalFile.getClass("MyClass")?.getMethod("myMethod")); }); it("should augment an existing method in the original class", () => { @@ -133,9 +139,10 @@ class MyClass {} augmentMethod(originalMethod, customMethod, originalClass!); - expect( + assert.equal( originalFile.getClass("MyClass")?.getMethod("myMethod")?.getReturnType().getText(), - ).to.equal("number"); + "number", + ); }); it("should replace an existing method in the original class", () => { @@ -151,9 +158,10 @@ class MyClass {} augmentMethod(originalMethod, customMethod, originalClass!); - expect( + assert.equal( originalFile.getClass("MyClass")?.getMethod("myMethod")?.getReturnType().getText(), - ).to.equal("number"); + "number", + ); }); it("should augment existing method with the original one", () => { @@ -195,16 +203,16 @@ class MyClass {} ?.getJsDocs() ?.map((x) => x.getDescription()); - expect(methodBody).to.contain("return originalNumber;"); - expect(methodBody).to.not.contain("return 1;"); + assert.include(methodBody, "return originalNumber;"); + assert.notInclude(methodBody, "return 1;"); - expect(methodDocs).to.have.lengthOf(1); - expect(methodDocs?.[0]).to.equal("Customized docs"); + assert.lengthOf(methodDocs!, 1); + assert.equal(methodDocs?.[0], "Customized docs"); - expect(privateMethodBody).to.not.contain("return originalNumber;"); - expect(privateMethodBody).to.contain("return 1;"); + assert.notInclude(privateMethodBody, "return originalNumber;"); + assert.include(privateMethodBody, "return 1;"); - expect(originalFile.getClass("MyClass")?.getProperty(AUGMENT_CLASS_TOKEN)).to.be.undefined; + assert.isUndefined(originalFile.getClass("MyClass")?.getProperty(AUGMENT_CLASS_TOKEN)); }); }); @@ -229,7 +237,7 @@ class MyClass {} }); augmentConstructor(customConstructor, originalClass!); - expect(originalFile.getClass("MyClass")?.getConstructors().length).to.equal(1); + assert.lengthOf(originalFile.getClass("MyClass")?.getConstructors()!, 1); }); it("should replace the original constructor with the custom constructor", () => { @@ -241,11 +249,11 @@ class MyClass {} }); augmentConstructor(customConstructor, originalClass!); - expect(originalFile.getClass("MyClass")?.getConstructors().length).to.equal(1); - expect(originalFile.getClass("MyClass")?.getConstructors()[0].getParameter("foo")).to.not.be - .undefined; - expect(originalFile.getClass("MyClass")?.getConstructors()[0].getParameter("bar")).to.be - .undefined; + assert.lengthOf(originalFile.getClass("MyClass")?.getConstructors()!, 1); + assert.isDefined(originalFile.getClass("MyClass")?.getConstructors()[0].getParameter("foo")); + assert.isUndefined( + originalFile.getClass("MyClass")?.getConstructors()[0].getParameter("bar"), + ); }); it("should augment constructor with original constructor", () => { @@ -277,24 +285,32 @@ class MyClass {} augmentConstructor(customConstructor, originalClass!); - expect(originalFile.getClass("MyClass")?.getConstructors().length).to.equal(1); - expect(originalFile.getClass("MyClass")?.getConstructors()[0].getJsDocs().length).to.equal(1); - expect( + assert.lengthOf(originalFile.getClass("MyClass")?.getConstructors()!, 1); + assert.equal(originalFile.getClass("MyClass")?.getConstructors()[0].getJsDocs().length, 1); + assert.equal( originalFile.getClass("MyClass")?.getConstructors()[0].getJsDocs()[0].getDescription(), - ).to.equal("Customized docs"); - expect(originalFile.getClass("MyClass")?.getConstructors()[0].getParameter("endpoint")).to.not - .be.undefined; - expect(originalFile.getClass("MyClass")?.getConstructors()[0].getParameter("baseUrl")).to.be; - expect(originalFile.getClass("MyClass")?.getConstructors()[0].getText()).to.include( + "Customized docs", + ); + assert.isDefined( + originalFile.getClass("MyClass")?.getConstructors()[0].getParameter("endpoint"), + ); + assert.isUndefined( + originalFile.getClass("MyClass")?.getConstructors()[0].getParameter("baseUrl"), + ); + assert.include( + originalFile.getClass("MyClass")?.getConstructors()[0].getText(), "console.log('custom');", ); - expect(originalFile.getClass("MyClass")?.getConstructors()[0].getText()).to.include( + assert.include( + originalFile.getClass("MyClass")?.getConstructors()[0].getText(), "console.log('original');", ); - expect(originalFile.getClass("MyClass")?.getConstructors()[0].getText()).to.not.include( + assert.notInclude( + originalFile.getClass("MyClass")?.getConstructors()[0].getText(), "// @azsdk-constructor-end", ); - expect(originalFile.getClass("MyClass")?.getConstructors()[0].getText()).to.include( + assert.include( + originalFile.getClass("MyClass")?.getConstructors()[0].getText(), "console.log('finish custom');", ); }); diff --git a/common/tools/dev-tool/test/customization/exports.spec.ts b/common/tools/dev-tool/test/customization/exports.spec.ts index b0509cc3ce31..6f104b9804e4 100644 --- a/common/tools/dev-tool/test/customization/exports.spec.ts +++ b/common/tools/dev-tool/test/customization/exports.spec.ts @@ -1,6 +1,9 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { describe, it, assert, beforeEach } from "vitest"; import { Project, SourceFile } from "ts-morph"; import { augmentExports } from "../../src/util/customization/exports"; -import { expect } from "chai"; describe("Exports", () => { let project: Project; @@ -20,14 +23,14 @@ describe("Exports", () => { it("should add custom exports to the original file", () => { augmentExports(customFile, originalFile); - expect(originalFile.getExportDeclarations()).to.have.lengthOf(1); + assert.equal(originalFile.getExportDeclarations().length, 1); const exportDeclaration = originalFile.getExportDeclarations()[0]; - expect(exportDeclaration.getModuleSpecifier()?.getLiteralValue()).to.equal("./module"); + assert.equal(exportDeclaration.getModuleSpecifier()?.getLiteralValue(), "./module"); const namedExports = exportDeclaration.getNamedExports(); - expect(namedExports).to.have.lengthOf(1); - expect(namedExports[0].getName()).to.equal("Foo"); + assert.lengthOf(namedExports, 1); + assert.equal(namedExports[0].getName(), "Foo"); }); it("should add named exports to the existing module export if it exists", () => { @@ -38,14 +41,14 @@ describe("Exports", () => { augmentExports(customFile, originalFile); - expect(originalFile.getExportDeclarations()).to.have.lengthOf(1); + assert.equal(originalFile.getExportDeclarations().length, 1); const exportDeclaration = originalFile.getExportDeclarations()[0]; - expect(exportDeclaration.getModuleSpecifier()?.getLiteralValue()).to.equal("./module"); + assert.equal(exportDeclaration.getModuleSpecifier()?.getLiteralValue(), "./module"); const namedExports = exportDeclaration.getNamedExports(); - expect(namedExports).to.have.lengthOf(2); - expect(namedExports.map((e) => e.getName())).contains("Foo"); - expect(namedExports.map((e) => e.getName())).contains("Bar"); + assert.lengthOf(namedExports, 2); + const namedExportNames = namedExports.map((e) => e.getName()); + assert.includeMembers(namedExportNames, ["Foo", "Bar"]); }); }); diff --git a/common/tools/dev-tool/test/customization/functions.spec.ts b/common/tools/dev-tool/test/customization/functions.spec.ts index 50af34464fc0..9a0488aa363e 100644 --- a/common/tools/dev-tool/test/customization/functions.spec.ts +++ b/common/tools/dev-tool/test/customization/functions.spec.ts @@ -1,6 +1,9 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { describe, it, assert, beforeEach } from "vitest"; import { Project, SourceFile, FunctionDeclaration } from "ts-morph"; import { augmentFunction } from "../../src/util/customization/functions"; -import { expect } from "chai"; describe("Functions", () => { let project: Project; @@ -23,7 +26,7 @@ describe("Functions", () => { it("should add custom functions to the original file", () => { augmentFunction(customFunction, originalFunction, originalFile); - expect(originalFile.getFunction("myFunction")).not.to.be.undefined; + assert.isDefined(originalFile.getFunction("myFunction")); }); it("should replace existing functions with custom functions", () => { @@ -34,9 +37,10 @@ describe("Functions", () => { augmentFunction(customFunction, originalFunction, originalFile); - expect( + assert.equal( originalFile.getFunction("myFunction")?.getParameter("param")?.getType().getText(), - ).to.equal("string"); + "string", + ); }); it("should convert existing functions to private functions", () => { @@ -49,8 +53,8 @@ describe("Functions", () => { augmentFunction(customFunction, originalFunction, originalFile); - expect(originalFile.getFunction("myFunction")).to.not.be.undefined; - expect(originalFile.getFunction("_myFunction")).to.not.be.undefined; - expect(originalFile.getFunction("myFunction")?.getText()).to.include("_myFunction"); + assert.isDefined(originalFile.getFunction("myFunction")); + assert.isDefined(originalFile.getFunction("_myFunction")); + assert.include(originalFile.getFunction("myFunction")?.getText(), "_myFunction"); }); }); diff --git a/common/tools/dev-tool/test/customization/imports.spec.ts b/common/tools/dev-tool/test/customization/imports.spec.ts index 09790fcd2fe5..a78e47bd3753 100644 --- a/common/tools/dev-tool/test/customization/imports.spec.ts +++ b/common/tools/dev-tool/test/customization/imports.spec.ts @@ -1,6 +1,9 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { describe, it, assert, beforeEach, afterEach } from "vitest"; import { ImportDeclaration, Project } from "ts-morph"; import { augmentImports } from "../../src/util/customization/imports"; -import { expect } from "chai"; import { resetCustomizationState, setCustomizationState } from "../../src/util/customization/state"; describe("Imports", () => { @@ -27,7 +30,7 @@ describe("Imports", () => { augmentImports(imports, customFile.getImportDeclarations(), originalFile); const augmentedImports = originalFile.getImportDeclarations(); - expect(augmentedImports).to.have.lengthOf(0); + assert.equal(augmentedImports.length, 0); }); it("should remove self imports on Windows", () => { @@ -49,7 +52,7 @@ describe("Imports", () => { augmentImports(imports, customFile.getImportDeclarations(), originalFile); const augmentedImports = originalFile.getImportDeclarations(); - expect(augmentedImports).to.have.lengthOf(0); + assert.equal(augmentedImports.length, 0); }); it("should rewrite relative imports to the source directory", () => { @@ -75,11 +78,11 @@ describe("Imports", () => { resetCustomizationState(); const augmentedImports = originalFile.getImportDeclarations(); - expect(augmentedImports).to.have.lengthOf(2); + assert.lengthOf(augmentedImports, 2); const rewrittenImportSpecifier = augmentedImports[0].getModuleSpecifierValue(); - expect(rewrittenImportSpecifier).to.equal("./anotherFile.js"); + assert.equal(rewrittenImportSpecifier, "./anotherFile.js"); const rewrittenImportSpecifier2 = augmentedImports[1].getModuleSpecifierValue(); - expect(rewrittenImportSpecifier2).to.equal("../rest/file.js"); + assert.equal(rewrittenImportSpecifier2, "../rest/file.js"); }); it("rewrite relative imports to the source directory on Windows", () => { @@ -106,11 +109,11 @@ describe("Imports", () => { resetCustomizationState(); const augmentedImports = originalFile.getImportDeclarations(); - expect(augmentedImports).to.have.lengthOf(2); + assert.lengthOf(augmentedImports, 2); const rewrittenImportSpecifier = augmentedImports[0].getModuleSpecifierValue(); - expect(rewrittenImportSpecifier).to.equal("./anotherFile.js"); + assert.equal(rewrittenImportSpecifier, "./anotherFile.js"); const rewrittenImportSpecifier2 = augmentedImports[1].getModuleSpecifierValue(); - expect(rewrittenImportSpecifier2).to.equal("../rest/file.js"); + assert.equal(rewrittenImportSpecifier2, "../rest/file.js"); }); it("should rewrite relative imports to the source directory when nested", () => { @@ -133,9 +136,9 @@ describe("Imports", () => { resetCustomizationState(); const augmentedImports = originalFile.getImportDeclarations(); - expect(augmentedImports).to.have.lengthOf(1); + assert.lengthOf(augmentedImports, 1); const rewrittenImportSpecifier = augmentedImports[0].getModuleSpecifierValue(); - expect(rewrittenImportSpecifier).to.equal("../anotherFile.js"); + assert.equal(rewrittenImportSpecifier, "../anotherFile.js"); }); it("should rewrite relative imports to new files from customization", () => { @@ -158,8 +161,8 @@ describe("Imports", () => { resetCustomizationState(); const augmentedImports = originalFile.getImportDeclarations(); - expect(augmentedImports).to.have.lengthOf(1); + assert.lengthOf(augmentedImports, 1); const rewrittenImportSpecifier = augmentedImports[0].getModuleSpecifierValue(); - expect(rewrittenImportSpecifier).to.equal("../anotherFile.js"); + assert.equal(rewrittenImportSpecifier, "../anotherFile.js"); }); }); diff --git a/common/tools/dev-tool/test/customization/interfaces.spec.ts b/common/tools/dev-tool/test/customization/interfaces.spec.ts index 7573f616f681..bcc208f86b25 100644 --- a/common/tools/dev-tool/test/customization/interfaces.spec.ts +++ b/common/tools/dev-tool/test/customization/interfaces.spec.ts @@ -1,5 +1,8 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { describe, it, assert, beforeEach } from "vitest"; import { Project, SourceFile, InterfaceDeclaration } from "ts-morph"; -import { expect } from "chai"; import { augmentInterface, augmentInterfaces } from "../../src/util/customization/interfaces"; import { getOriginalDeclarationsMap } from "../../src/util/customization/customize"; @@ -24,7 +27,7 @@ describe("Interfaces", () => { it("should add custom interface to the original file", () => { augmentInterface(customInterface, originalInterface, originalFile); - expect(originalFile.getInterface("myInterface")).not.to.be.undefined; + assert.isDefined(originalFile.getInterface("myInterface")); }); it("should replace existing properties with custom properties", () => { @@ -35,17 +38,19 @@ describe("Interfaces", () => { augmentInterface(customInterface, originalInterface, originalFile); - expect(originalFile.getInterface("myInterface")).not.to.be.undefined; - expect(originalFile.getInterface("myInterface")?.getProperties()).to.have.lengthOf(2); - expect(originalFile.getInterface("myInterface")?.getProperty("foo")).to.not.be.undefined; - expect( + assert.isDefined(originalFile.getInterface("myInterface")); + assert.lengthOf(originalFile.getInterface("myInterface")?.getProperties()!, 2); + assert.isDefined(originalFile.getInterface("myInterface")?.getProperty("foo")); + assert.equal( originalFile.getInterface("myInterface")?.getProperty("foo")?.getType().getText(), - ).to.equal("string"); + "string", + ); - expect(originalFile.getInterface("myInterface")?.getProperty("bar")).to.not.be.undefined; - expect( + assert.isDefined(originalFile.getInterface("myInterface")?.getProperty("bar")); + assert.equal( originalFile.getInterface("myInterface")?.getProperty("bar")?.getType().getText(), - ).to.equal("number"); + "number", + ); }); it("should remove property marked with @azsdk-remove", () => { @@ -61,19 +66,21 @@ describe("Interfaces", () => { augmentInterface(customInterface, originalInterface, originalFile); - expect(originalFile.getInterface("myInterface")).not.to.be.undefined; - expect(originalFile.getInterface("myInterface")?.getProperties()).to.have.lengthOf(2); - expect(originalFile.getInterface("myInterface")?.getProperty("foo")).to.not.be.undefined; - expect(originalFile.getInterface("myInterface")?.getProperty("baz")).to.not.be.undefined; + assert.isDefined(originalFile.getInterface("myInterface")); + assert.lengthOf(originalFile.getInterface("myInterface")?.getProperties()!, 2); + assert.isDefined(originalFile.getInterface("myInterface")?.getProperty("foo")); + assert.isDefined(originalFile.getInterface("myInterface")?.getProperty("baz")); - expect(originalFile.getInterface("myInterface")?.getProperty("bar")).to.be.undefined; - expect( + assert.isUndefined(originalFile.getInterface("myInterface")?.getProperty("bar")); + assert.equal( originalFile.getInterface("myInterface")?.getProperty("foo")?.getType().getText(), - ).to.equal("string"); + "string", + ); - expect( + assert.equal( originalFile.getInterface("myInterface")?.getProperty("baz")?.getType().getText(), - ).to.equal("boolean"); + "boolean", + ); }); it("should rename an interface marked with @azsdk-rename", () => { @@ -94,9 +101,10 @@ describe("Interfaces", () => { augmentInterfaces(originalMap.interfaces, customFile.getInterfaces(), originalFile); - expect(originalFile.getInterface("Dog")).to.be.undefined; - expect(originalFile.getInterface("Pet")).not.to.be.undefined; - expect(originalFile.getInterface("Human")?.getProperty("pets")?.getType().getText()).to.equal( + assert.isUndefined(originalFile.getInterface("Dog")); + assert.isDefined(originalFile.getInterface("Pet")); + assert.equal( + originalFile.getInterface("Human")?.getProperty("pets")?.getType().getText(), "Pet[]", ); }); diff --git a/common/tools/dev-tool/test/framework.spec.ts b/common/tools/dev-tool/test/framework.spec.ts index 879567a55184..52652bce945a 100644 --- a/common/tools/dev-tool/test/framework.spec.ts +++ b/common/tools/dev-tool/test/framework.spec.ts @@ -1,11 +1,9 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { assert } from "chai"; - +import { describe, it, assert, beforeAll } from "vitest"; import { parseOptions } from "../src/framework/parseOptions"; import { makeCommandInfo, subCommand, leafCommand } from "../src/framework/command"; - import { silenceLogger } from "./util"; const simpleCommandInfo = makeCommandInfo("simple", "a simple command", { @@ -24,7 +22,7 @@ interface SimpleExpectedOptionsType { } describe("Command Framework", () => { - before(silenceLogger); + beforeAll(silenceLogger); describe("subCommand", () => { it("simple dispatcher", async () => { diff --git a/common/tools/dev-tool/test/resolveProject.spec.ts b/common/tools/dev-tool/test/resolveProject.spec.ts index ba46643fc39b..1f0a948904e4 100644 --- a/common/tools/dev-tool/test/resolveProject.spec.ts +++ b/common/tools/dev-tool/test/resolveProject.spec.ts @@ -1,22 +1,18 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license -import { assert, use as chaiUse } from "chai"; -import chaiPromises from "chai-as-promised"; -chaiUse(chaiPromises); - -import path from "path"; - +import { describe, it, assert, expect } from "vitest"; +import path from "node:path"; import { resolveProject } from "../src/util/resolveProject"; describe("Project Resolution", () => { it("resolution halts at monorepo root", async () => { - await assert.isRejected(resolveProject(path.join(__dirname, "..", "..")), /monorepo root/); + await expect(resolveProject(path.join(__dirname, "..", ".."))).rejects.toThrow(/monorepo root/); }); it("resolution halts at filesystem root", async () => { const p = path.join(__dirname, "..", "..", "..", "..", ".."); - await assert.isRejected(resolveProject(p), /filesystem root/); + await expect(resolveProject(p)).rejects.toThrow(/filesystem root/); }); it("resolution finds dev-tool package", async () => { diff --git a/common/tools/dev-tool/test/samples/files.spec.ts b/common/tools/dev-tool/test/samples/files.spec.ts index 56baa50f606e..7b8fd1d569bb 100644 --- a/common/tools/dev-tool/test/samples/files.spec.ts +++ b/common/tools/dev-tool/test/samples/files.spec.ts @@ -1,14 +1,12 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. +import { describe, it, assert } from "vitest"; import fs from "fs-extra"; -import os from "os"; -import path from "path"; +import os from "node:os"; +import path from "node:path"; import { makeSamplesFactory } from "../../src/util/samples/generation"; - import * as git from "../../src/util/git"; - -import { assert } from "chai"; import { findMatchingFiles } from "../../src/util/findMatchingFiles"; import { METADATA_KEY } from "../../src/util/resolveProject"; @@ -17,7 +15,7 @@ import { METADATA_KEY } from "../../src/util/resolveProject"; const INPUT_PATH = path.join(__dirname, "files", "inputs"); const EXPECT_PATH = path.join(__dirname, "files", "expectations"); -describe("File content tests", async function () { +describe("File content tests", { timeout: 50000 }, async function () { const shouldWriteExpectations = process.env.TEST_MODE === "record"; if (shouldWriteExpectations) { @@ -44,7 +42,7 @@ describe("File content tests", async function () { for (const dir of inputDirectories) { const name = path.basename(dir); - it(name, async function () { + it(name, { timeout: 50000 }, async function () { const tempOutputDir = await fs.mkdtemp(path.join(os.tmpdir(), "devToolTest")); const version = name.includes("@") ? name.split("@")[1] : "1.0.0"; @@ -115,6 +113,6 @@ describe("File content tests", async function () { await fs.emptyDir(tempOutputDir); await fs.rmdir(tempOutputDir); } - }).timeout(50000); + }); } -}).timeout(50000); +}); diff --git a/common/tools/dev-tool/test/samples/skips.spec.ts b/common/tools/dev-tool/test/samples/skips.spec.ts index 41514fc28dbe..228fae3b2a6a 100644 --- a/common/tools/dev-tool/test/samples/skips.spec.ts +++ b/common/tools/dev-tool/test/samples/skips.spec.ts @@ -1,8 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { assert } from "chai"; - +import { describe, it, assert } from "vitest"; import { FileInfo } from "../../src/util/findMatchingFiles"; import { shouldSkip } from "../../src/util/samples/configuration"; diff --git a/common/tools/dev-tool/vitest.config.ts b/common/tools/dev-tool/vitest.config.ts new file mode 100644 index 000000000000..16d0436c006f --- /dev/null +++ b/common/tools/dev-tool/vitest.config.ts @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { defineConfig } from "vitest/config"; + +export default defineConfig({ + test: { + reporters: ["basic", "junit"], + outputFile: { + junit: "test-results.xml", + }, + fakeTimers: { + toFake: ["setTimeout", "Date"], + }, + watch: false, + include: ["test/**/*.spec.ts", "test/*.spec.ts"], + coverage: { + include: ["src/**/*.ts"], + exclude: [ + "src/**/*-browser.mts", + "src/**/*-react-native.mts", + "vitest*.config.ts", + "samples-dev/**/*.ts", + ], + provider: "istanbul", + reporter: ["text", "json", "html"], + reportsDirectory: "coverage", + }, + }, +}); diff --git a/eng/.docsettings.yml b/eng/.docsettings.yml index 689081ab5265..befbcdb9c233 100644 --- a/eng/.docsettings.yml +++ b/eng/.docsettings.yml @@ -23,6 +23,7 @@ omitted_paths: - sdk/storage/storage-datalake/README.md - sdk/storage/storage-internal-avro/* - sdk/test-utils/*/README.md + - sdk/identity/identity/integration/* language: js root_check_enabled: True diff --git a/eng/common/scripts/Create-APIReview.ps1 b/eng/common/scripts/Create-APIReview.ps1 index c3c8f4a46dc6..3d1f549458b7 100644 --- a/eng/common/scripts/Create-APIReview.ps1 +++ b/eng/common/scripts/Create-APIReview.ps1 @@ -15,7 +15,7 @@ Param ( ) # Submit API review request and return status whether current revision is approved or pending or failed to create review -function Submit-APIReview($packagename, $filePath, $uri, $apiKey, $apiLabel, $releaseStatus) +function Submit-APIReview($packagename, $filePath, $uri, $apiKey, $apiLabel, $releaseStatus, $packageVersion) { $multipartContent = [System.Net.Http.MultipartFormDataContent]::new() $FileStream = [System.IO.FileStream]::new($filePath, [System.IO.FileMode]::Open) @@ -35,6 +35,13 @@ function Submit-APIReview($packagename, $filePath, $uri, $apiKey, $apiLabel, $re $multipartContent.Add($stringContent) Write-Host "Request param, label: $apiLabel" + $versionParam = [System.Net.Http.Headers.ContentDispositionHeaderValue]::new("form-data") + $versionParam.Name = "packageVersion" + $versionContent = [System.Net.Http.StringContent]::new($packageVersion) + $versionContent.Headers.ContentDisposition = $versionParam + $multipartContent.Add($versionContent) + Write-Host "Request param, packageVersion: $packageVersion" + if ($releaseStatus -and ($releaseStatus -ne "Unreleased")) { $compareAllParam = [System.Net.Http.Headers.ContentDispositionHeaderValue]::new("form-data") @@ -106,6 +113,7 @@ if ($packages) # Get package info from json file created before updating version to daily dev $pkgInfo = Get-Content $pkgPropPath | ConvertFrom-Json $version = [AzureEngSemanticVersion]::ParseVersionString($pkgInfo.Version) + $versionString = $pkgInfo.Version if ($version -eq $null) { Write-Host "Version info is not available for package $PackageName, because version '$(pkgInfo.Version)' is invalid. Please check if the version follows Azure SDK package versioning guidelines." @@ -121,7 +129,7 @@ if ($packages) if ( ($SourceBranch -eq $DefaultBranch) -or (-not $version.IsPrerelease)) { Write-Host "Submitting API Review for package $($pkg)" - $respCode = Submit-APIReview -packagename $pkg -filePath $pkgPath -uri $APIViewUri -apiKey $APIKey -apiLabel $APILabel -releaseStatus $pkgInfo.ReleaseStatus + $respCode = Submit-APIReview -packagename $pkg -filePath $pkgPath -uri $APIViewUri -apiKey $APIKey -apiLabel $APILabel -releaseStatus $pkgInfo.ReleaseStatus -packageVersion $versionString Write-Host "HTTP Response code: $($respCode)" # HTTP status 200 means API is in approved status if ($respCode -eq '200') diff --git a/eng/common/scripts/Prepare-Release.ps1 b/eng/common/scripts/Prepare-Release.ps1 index 269fd113fd69..e82c5982ac96 100644 --- a/eng/common/scripts/Prepare-Release.ps1 +++ b/eng/common/scripts/Prepare-Release.ps1 @@ -116,7 +116,7 @@ $month = $ParsedReleaseDate.ToString("MMMM") Write-Host "Assuming release is in $month with release date $releaseDateString" -ForegroundColor Green if (Test-Path "Function:GetExistingPackageVersions") { - $releasedVersions = GetExistingPackageVersions -PackageName $packageProperties.Name -GroupId $packageProperties.Group + $releasedVersions = @(GetExistingPackageVersions -PackageName $packageProperties.Name -GroupId $packageProperties.Group) if ($null -ne $releasedVersions -and $releasedVersions.Count -gt 0) { $latestReleasedVersion = $releasedVersions[$releasedVersions.Count - 1] diff --git a/eng/common/scripts/Test-SampleMetadata.ps1 b/eng/common/scripts/Test-SampleMetadata.ps1 index 4a0000220fde..9e50fa1dce03 100644 --- a/eng/common/scripts/Test-SampleMetadata.ps1 +++ b/eng/common/scripts/Test-SampleMetadata.ps1 @@ -330,6 +330,7 @@ begin { "blazor-webassembly", "common-data-service", "customer-voice", + "dotnet-api", "dotnet-core", "dotnet-standard", "document-intelligence", diff --git a/eng/common/scripts/job-matrix/job-matrix-functions.ps1 b/eng/common/scripts/job-matrix/job-matrix-functions.ps1 index 198d68f00f7f..f20dbe5281b0 100644 --- a/eng/common/scripts/job-matrix/job-matrix-functions.ps1 +++ b/eng/common/scripts/job-matrix/job-matrix-functions.ps1 @@ -96,7 +96,8 @@ function GenerateMatrix( [String]$displayNameFilter = ".*", [Array]$filters = @(), [Array]$replace = @(), - [Array]$nonSparseParameters = @() + [Array]$nonSparseParameters = @(), + [Switch]$skipEnvironmentVariables ) { $matrixParameters, $importedMatrix, $combinedDisplayNameLookup = ` ProcessImport $config.matrixParameters $selectFromMatrixType $nonSparseParameters $config.displayNamesLookup @@ -124,7 +125,9 @@ function GenerateMatrix( $matrix = FilterMatrix $matrix $filters $matrix = ProcessReplace $matrix $replace $combinedDisplayNameLookup - $matrix = ProcessEnvironmentVariableReferences $matrix $combinedDisplayNameLookup + if (!$skipEnvironmentVariables) { + $matrix = ProcessEnvironmentVariableReferences $matrix $combinedDisplayNameLookup + } $matrix = FilterMatrixDisplayName $matrix $displayNameFilter return $matrix } @@ -427,10 +430,14 @@ function ProcessImport([MatrixParameter[]]$matrix, [String]$selection, [Array]$n exit 1 } $importedMatrixConfig = GetMatrixConfigFromFile (Get-Content -Raw $importPath) + # Add skipEnvironmentVariables so we don't process environment variables on import + # because we want top level filters to work against the the env key, not the value. + # The environment variables will get resolved after the import. $importedMatrix = GenerateMatrix ` -config $importedMatrixConfig ` -selectFromMatrixType $selection ` - -nonSparseParameters $nonSparseParameters + -nonSparseParameters $nonSparseParameters ` + -skipEnvironmentVariables $combinedDisplayNameLookup = $importedMatrixConfig.displayNamesLookup foreach ($lookup in $displayNamesLookup.GetEnumerator()) { diff --git a/eng/common/testproxy/test-proxy-tool-shutdown.yml b/eng/common/testproxy/test-proxy-tool-shutdown.yml new file mode 100644 index 000000000000..20e24e70a0aa --- /dev/null +++ b/eng/common/testproxy/test-proxy-tool-shutdown.yml @@ -0,0 +1,10 @@ +steps: + - pwsh: | + Stop-Process -Id $(PROXY_PID) + displayName: 'Shut down the testproxy - windows' + condition: and(succeeded(), eq(variables['Agent.OS'],'Windows_NT')) + + - bash: | + kill -9 $(PROXY_PID) + displayName: "Shut down the testproxy - linux/mac" + condition: and(succeeded(), ne(variables['Agent.OS'],'Windows_NT')) diff --git a/eng/common/testproxy/test-proxy-tool.yml b/eng/common/testproxy/test-proxy-tool.yml index 7aea55d472d2..d9a166841926 100644 --- a/eng/common/testproxy/test-proxy-tool.yml +++ b/eng/common/testproxy/test-proxy-tool.yml @@ -1,3 +1,4 @@ +# This template sets variable PROXY_PID to be used for shutdown later. parameters: rootFolder: '$(Build.SourcesDirectory)' runProxy: true @@ -42,15 +43,20 @@ steps: condition: and(succeeded(), ${{ parameters.condition }}) - pwsh: | - Start-Process $(Build.BinariesDirectory)/test-proxy/test-proxy.exe ` + $Process = Start-Process $(Build.BinariesDirectory)/test-proxy/test-proxy.exe ` -ArgumentList "start --storage-location ${{ parameters.rootFolder }} -U" ` -NoNewWindow -PassThru -RedirectStandardOutput ${{ parameters.rootFolder }}/test-proxy.log + + Write-Host "##vso[task.setvariable variable=PROXY_PID]$($Process.Id)" displayName: 'Run the testproxy - windows' condition: and(succeeded(), eq(variables['Agent.OS'],'Windows_NT'), ${{ parameters.condition }}) # nohup does NOT continue beyond the current session if you use it within powershell - bash: | nohup $(Build.BinariesDirectory)/test-proxy/test-proxy &>$(Build.SourcesDirectory)/test-proxy.log & + + echo $! > $(Build.SourcesDirectory)/test-proxy.pid + echo "##vso[task.setvariable variable=PROXY_PID]$(cat $(Build.SourcesDirectory)/test-proxy.pid)" displayName: "Run the testproxy - linux/mac" condition: and(succeeded(), ne(variables['Agent.OS'],'Windows_NT'), ${{ parameters.condition }}) workingDirectory: "${{ parameters.rootFolder }}" diff --git a/eng/emitter-package-lock.json b/eng/emitter-package-lock.json index a36fd23ff27e..369105b21396 100644 --- a/eng/emitter-package-lock.json +++ b/eng/emitter-package-lock.json @@ -6,20 +6,20 @@ "": { "name": "typescript-emitter-package", "dependencies": { - "@azure-tools/typespec-autorest": "0.39.2", - "@azure-tools/typespec-azure-core": "0.39.1", - "@azure-tools/typespec-client-generator-core": "0.39.1", - "@azure-tools/typespec-ts": "0.23.0", - "@typespec/compiler": "0.53.1", - "@typespec/http": "0.53.0", - "@typespec/rest": "0.53.0", - "@typespec/versioning": "0.53.0" + "@azure-tools/typespec-autorest": "0.40.0", + "@azure-tools/typespec-azure-core": "0.40.0", + "@azure-tools/typespec-client-generator-core": "0.40.0", + "@azure-tools/typespec-ts": "0.25.0", + "@typespec/compiler": "0.54.0", + "@typespec/http": "0.54.0", + "@typespec/rest": "0.54.0", + "@typespec/versioning": "0.54.0" } }, "node_modules/@azure-tools/rlc-common": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@azure-tools/rlc-common/-/rlc-common-0.23.0.tgz", - "integrity": "sha512-T9jfHW3ziX5fjYiiFEOoUneOm6rxNGZYMTdoRtGc/oO7LNtWZ+LvRaSL30mylfpI/vKbOOnf23+yBVpil39uqw==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@azure-tools/rlc-common/-/rlc-common-0.24.0.tgz", + "integrity": "sha512-jij+6Ahy/NgqivEzPh6fL9tgmpK3WdDfK2AdRkS5vq2KXRs24ZlEGfxwc2QYcLvOb1zThRp2f4ulsoIpX2IwCg==", "dependencies": { "handlebars": "^4.7.7", "lodash": "^4.17.21", @@ -27,71 +27,71 @@ } }, "node_modules/@azure-tools/typespec-autorest": { - "version": "0.39.2", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-autorest/-/typespec-autorest-0.39.2.tgz", - "integrity": "sha512-sdYbYKv6uIktMqX573buyMoLiJMTCwk17DN/CeX0NPtmSx1SXLPh9stQFg2H/IMgVS8VmTlVeCYoSKR7krjsGg==", + "version": "0.40.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-autorest/-/typespec-autorest-0.40.0.tgz", + "integrity": "sha512-aMgJk0pudvg11zs/2dlUWPEsdK920NvTqGkbYhy+4UeJ1hEzMM3btOyujE/irhDlcZeEgDlaXQc+xiK/Vik71A==", "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@azure-tools/typespec-azure-core": "~0.39.1", - "@azure-tools/typespec-client-generator-core": "~0.39.0", - "@typespec/compiler": "~0.53.1", - "@typespec/http": "~0.53.0", - "@typespec/openapi": "~0.53.0", - "@typespec/rest": "~0.53.0", - "@typespec/versioning": "~0.53.0" + "@azure-tools/typespec-azure-core": "~0.40.0", + "@azure-tools/typespec-client-generator-core": "~0.40.0", + "@typespec/compiler": "~0.54.0", + "@typespec/http": "~0.54.0", + "@typespec/openapi": "~0.54.0", + "@typespec/rest": "~0.54.0", + "@typespec/versioning": "~0.54.0" } }, "node_modules/@azure-tools/typespec-azure-core": { - "version": "0.39.1", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.39.1.tgz", - "integrity": "sha512-b1cN1HXTcEiKIRpk2EatFK/C4NReDaW2h4N3V4C5dxGeeLAnTa1jsQ6lwobH6Zo39CdrjazNXiSbcEq1UZ7kPw==", + "version": "0.40.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.40.0.tgz", + "integrity": "sha512-l5U47zXKYQKFbipRQLpjG4EwvPJg0SogdFEe5a3rRr7mUy8sWPkciHpngLZVOd2cKZQD5m7nqwfWL798I9TJnQ==", "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.53.1", - "@typespec/http": "~0.53.0", - "@typespec/rest": "~0.53.0" + "@typespec/compiler": "~0.54.0", + "@typespec/http": "~0.54.0", + "@typespec/rest": "~0.54.0" } }, "node_modules/@azure-tools/typespec-client-generator-core": { - "version": "0.39.1", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.39.1.tgz", - "integrity": "sha512-EV3N6IN1i/hXGqYKNfXx6+2QAyZnG4IpC9RUk6fqwSQDWX7HtMcfdXqlOaK3Rz2H6BUAc9OnH+Trq/uJCl/RgA==", + "version": "0.40.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.40.0.tgz", + "integrity": "sha512-Nm/OfDtSWBr1lylISbXR37B9QKWlZHK1j4T8L439Y1v3VcvJsC/0F5PLemY0odHpOYZNwu2uevJjAeM5W56wlw==", "dependencies": { - "change-case": "~5.3.0", + "change-case": "~5.4.2", "pluralize": "^8.0.0" }, "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.53.1", - "@typespec/http": "~0.53.0", - "@typespec/rest": "~0.53.0", - "@typespec/versioning": "~0.53.0" + "@typespec/compiler": "~0.54.0", + "@typespec/http": "~0.54.0", + "@typespec/rest": "~0.54.0", + "@typespec/versioning": "~0.54.0" } }, "node_modules/@azure-tools/typespec-ts": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-ts/-/typespec-ts-0.23.0.tgz", - "integrity": "sha512-g8DP0k3wML0PxHKbk+Xcu4AfVsf/SbsGlBPu/HJKepUASS93sFcey1jbdIrKdG5XJTX8MAsmLjEAp9QNTA93DQ==", + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-ts/-/typespec-ts-0.25.0.tgz", + "integrity": "sha512-4ZQbg375mLWmKqqa3kYbnJmzfDYNn70rLXbW6+r9+xyF46uAm/mWc7Vp4aN68plFXSoUtLJfNTb0JKLGYDAXvA==", "dependencies": { - "@azure-tools/rlc-common": "^0.23.0", + "@azure-tools/rlc-common": "^0.24.0", "fs-extra": "^11.1.0", "prettier": "^3.1.0", "ts-morph": "^15.1.0", "tslib": "^2.3.1" }, "peerDependencies": { - "@azure-tools/typespec-azure-core": ">=0.39.0 <1.0.0", - "@azure-tools/typespec-client-generator-core": ">=0.39.0 <1.0.0", - "@typespec/compiler": ">=0.53.0 <1.0.0", - "@typespec/http": ">=0.53.0 <1.0.0", - "@typespec/rest": ">=0.53.0 <1.0.0", - "@typespec/versioning": ">=0.53.0 <1.0.0" + "@azure-tools/typespec-azure-core": ">=0.40.0 <1.0.0", + "@azure-tools/typespec-client-generator-core": "0.40.0", + "@typespec/compiler": ">=0.54.0 <1.0.0", + "@typespec/http": ">=0.54.0 <1.0.0", + "@typespec/rest": ">=0.54.0 <1.0.0", + "@typespec/versioning": ">=0.54.0 <1.0.0" } }, "node_modules/@babel/code-frame": { @@ -182,21 +182,21 @@ } }, "node_modules/@typespec/compiler": { - "version": "0.53.1", - "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-0.53.1.tgz", - "integrity": "sha512-qneMDvZsLaL8+3PXzwXMAqgE4YtkUPPBg4oXrbreYa5NTccuvgVaO4cfya/SzG4WePUnmDTbbrP5aWd+VzYwYA==", + "version": "0.54.0", + "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-0.54.0.tgz", + "integrity": "sha512-lxMqlvUq5m1KZUjg+IoM/gEwY+yeSjjnpUsz6wmzjK4cO9cIY4wPJdrZwe8jUc2UFOoqKXN3AK8N1UWxA+w9Dg==", "dependencies": { "@babel/code-frame": "~7.23.5", "ajv": "~8.12.0", - "change-case": "~5.3.0", + "change-case": "~5.4.2", "globby": "~14.0.0", "mustache": "~4.2.0", "picocolors": "~1.0.0", - "prettier": "~3.1.1", + "prettier": "~3.2.5", "prompts": "~2.4.2", - "semver": "^7.5.4", - "vscode-languageserver": "~9.0.0", - "vscode-languageserver-textdocument": "~1.0.8", + "semver": "^7.6.0", + "vscode-languageserver": "~9.0.1", + "vscode-languageserver-textdocument": "~1.0.11", "yaml": "~2.3.4", "yargs": "~17.7.2" }, @@ -208,65 +208,51 @@ "node": ">=18.0.0" } }, - "node_modules/@typespec/compiler/node_modules/prettier": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.1.tgz", - "integrity": "sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==", - "bin": { - "prettier": "bin/prettier.cjs" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/prettier/prettier?sponsor=1" - } - }, "node_modules/@typespec/http": { - "version": "0.53.0", - "resolved": "https://registry.npmjs.org/@typespec/http/-/http-0.53.0.tgz", - "integrity": "sha512-Hdwbxr6KgzmJdULbbcwWaSSrWlduuMuEVUVdlytxyo9K+aoUCcPl0thR5Ez2VRh02/IJl3xG4n5wXgOwWb3amA==", + "version": "0.54.0", + "resolved": "https://registry.npmjs.org/@typespec/http/-/http-0.54.0.tgz", + "integrity": "sha512-/hZd9pkjJh3ogOekyKzZnpVV2kXzxtWDiTt3Gekc6iHTGk/CE1JpRFts8xwXoI5d3FqYotfb4w5ztVw62WjOcA==", "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.53.0" + "@typespec/compiler": "~0.54.0" } }, "node_modules/@typespec/openapi": { - "version": "0.53.0", - "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-0.53.0.tgz", - "integrity": "sha512-FRHb6Wi4Yf1HGm3EnhhXZ0Bw+EIPam6ptxRy7NDRxyMnzHsOphGcv8mDIZk6MPSy8xPasbFNwaRC1TXpxVhQBw==", + "version": "0.54.0", + "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-0.54.0.tgz", + "integrity": "sha512-QJkwq3whcqKb29ScMD5IQzqvDmPQyLAubRl82Zj6kVMCqabRwegOX9aN+K0083nci65zt9rflZbv9bKY5GRy/A==", "peer": true, "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.53.0", - "@typespec/http": "~0.53.0" + "@typespec/compiler": "~0.54.0", + "@typespec/http": "~0.54.0" } }, "node_modules/@typespec/rest": { - "version": "0.53.0", - "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.53.0.tgz", - "integrity": "sha512-aA75Ol2pRvUjtRqQvFHmFG52pkeif3m+tboLAT00AekTxOPZ3rqQmlE12ne4QF8KjgHA6denqH4f/XyDoRJOJQ==", + "version": "0.54.0", + "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.54.0.tgz", + "integrity": "sha512-F1hq/Per9epPJQ8Ey84mAtrgrZeLu6fDMIxNao1XlTfDEFZuYgFuCSyg0pyIi0Xg7KUBMvrvSv83WoF3mN2szw==", "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.53.0", - "@typespec/http": "~0.53.0" + "@typespec/compiler": "~0.54.0", + "@typespec/http": "~0.54.0" } }, "node_modules/@typespec/versioning": { - "version": "0.53.0", - "resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.53.0.tgz", - "integrity": "sha512-nrrLXCWPDrrClAfpCMzQ3YPTbKQmjPC3LSeMjq+wPiMq+1PW95ulOGD4QiCBop+4wKhMCJHnqqSzVauT1LjdvQ==", + "version": "0.54.0", + "resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.54.0.tgz", + "integrity": "sha512-IlGpveOJ0WBTbn3w8nfzgSNhJWNd0+H+bo1Ljrjpeb9SFQmS8bX2fDf0vqsHVl50XgvKIZxgOpEXN5TmuzNnRw==", "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.53.0" + "@typespec/compiler": "~0.54.0" } }, "node_modules/ajv": { @@ -341,9 +327,9 @@ } }, "node_modules/change-case": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/change-case/-/change-case-5.3.0.tgz", - "integrity": "sha512-Eykca0fGS/xYlx2fG5NqnGSnsWauhSGiSXYhB1kO6E909GUfo8S54u4UZNS7lMJmgZumZ2SUpWaoLgAcfQRICg==" + "version": "5.4.3", + "resolved": "https://registry.npmjs.org/change-case/-/change-case-5.4.3.tgz", + "integrity": "sha512-4cdyvorTy/lViZlVzw2O8/hHCLUuHqp4KpSSP3DlauhFCf3LdnfF+p5s0EAhjKsU7bqrMzu7iQArYfoPiHO2nw==" }, "node_modules/cliui": { "version": "8.0.1", @@ -382,9 +368,9 @@ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" }, "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", + "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", "engines": { "node": ">=6" } @@ -437,9 +423,9 @@ } }, "node_modules/fs-extra": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.1.tgz", - "integrity": "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==", + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", + "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -812,9 +798,9 @@ } }, "node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", "dependencies": { "lru-cache": "^6.0.0" }, diff --git a/eng/emitter-package.json b/eng/emitter-package.json index b4bc5c3294ba..4a6180ca4107 100644 --- a/eng/emitter-package.json +++ b/eng/emitter-package.json @@ -2,13 +2,13 @@ "name": "typescript-emitter-package", "main": "dist/src/index.js", "dependencies": { - "@azure-tools/typespec-ts": "0.23.0", - "@azure-tools/typespec-azure-core": "0.39.1", - "@azure-tools/typespec-autorest": "0.39.2", - "@azure-tools/typespec-client-generator-core": "0.39.1", - "@typespec/compiler": "0.53.1", - "@typespec/http": "0.53.0", - "@typespec/rest": "0.53.0", - "@typespec/versioning": "0.53.0" + "@azure-tools/typespec-ts": "0.25.0", + "@azure-tools/typespec-azure-core": "0.40.0", + "@azure-tools/typespec-autorest": "0.40.0", + "@azure-tools/typespec-client-generator-core": "0.40.0", + "@typespec/compiler": "0.54.0", + "@typespec/http": "0.54.0", + "@typespec/rest": "0.54.0", + "@typespec/versioning": "0.54.0" } } diff --git a/eng/pipelines/templates/jobs/ci.tests.yml b/eng/pipelines/templates/jobs/ci.tests.yml index 8a35f5c7b7c3..c193f5902ea8 100644 --- a/eng/pipelines/templates/jobs/ci.tests.yml +++ b/eng/pipelines/templates/jobs/ci.tests.yml @@ -11,14 +11,17 @@ parameters: - name: Matrix type: string - name: DependsOn - type: string - default: '' + type: object + default: [] - name: UsePlatformContainer type: boolean default: false - name: CloudConfig type: object default: {} + - name: OSName + type: string + default: '' jobs: - job: @@ -39,10 +42,16 @@ jobs: pool: name: $(Pool) - vmImage: $(OSVmImage) - ${{ if eq(parameters.UsePlatformContainer, 'true') }}: - # Add a default so the job doesn't fail when the matrix is empty - container: $[ variables['Container'] ] + # 1es pipeline templates converts `image` to demands: ImageOverride under the hood + # which is incompatible with image selection in the default non-1es hosted pools + ${{ if eq(parameters.OSName, 'macOS') }}: + vmImage: $(OSVmImage) + ${{ else }}: + image: $(OSVmImage) + os: ${{ parameters.OSName }} + ${{ if eq(parameters.UsePlatformContainer, 'true') }}: + # Add a default so the job doesn't fail when the matrix is empty + container: $[ variables['Container'] ] variables: - template: ../variables/globals.yml @@ -55,3 +64,4 @@ jobs: Artifacts: ${{ parameters.Artifacts }} ServiceDirectory: ${{ parameters.ServiceDirectory }} TestProxy: ${{ parameters.TestProxy }} + OSName: ${{ parameters.OSName }} diff --git a/eng/pipelines/templates/jobs/ci.yml b/eng/pipelines/templates/jobs/ci.yml index 9ce550da79be..2d91faa403f0 100644 --- a/eng/pipelines/templates/jobs/ci.yml +++ b/eng/pipelines/templates/jobs/ci.yml @@ -28,14 +28,11 @@ parameters: jobs: - job: "Build" - variables: - Codeql.Enabled: true - Codeql.BuildIdentifier: ${{ parameters.ServiceDirectory }} - Codeql.SkipTaskAutoInjection: false pool: - name: azsdk-pool-mms-ubuntu-2004-general - vmImage: MMSUbuntu20.04 + name: $(LINUXPOOL) + image: $(LINUXVMIMAGE) + os: linux steps: - script: | @@ -55,8 +52,9 @@ jobs: - job: "Analyze" pool: - name: azsdk-pool-mms-ubuntu-2004-general - vmImage: MMSUbuntu20.04 + name: $(LINUXPOOL) + image: $(LINUXVMIMAGE) + os: linux steps: - template: ../steps/common.yml @@ -67,19 +65,12 @@ jobs: ServiceDirectory: ${{ parameters.ServiceDirectory }} TestPipeline: ${{ parameters.TestPipeline }} - - job: Compliance - pool: - name: azsdk-pool-mms-win-2022-general - vmImage: MMS2022 - steps: - - template: /eng/common/pipelines/templates/steps/credscan.yml - parameters: - ServiceDirectory: ${{ parameters.ServiceDirectory }} - - ${{ if ne(parameters.RunUnitTests, false) }}: - - template: /eng/common/pipelines/templates/jobs/archetype-sdk-tests-generate.yml + - template: /eng/common/pipelines/templates/jobs/generate-job-matrix.yml parameters: JobTemplatePath: /eng/pipelines/templates/jobs/ci.tests.yml + OsVmImage: $(LINUXVMIMAGE) + Pool: $(LINUXPOOL) MatrixConfigs: ${{ parameters.MatrixConfigs }} MatrixFilters: ${{ parameters.MatrixFilters }} MatrixReplace: ${{ parameters.MatrixReplace }} diff --git a/eng/pipelines/templates/jobs/live.tests.yml b/eng/pipelines/templates/jobs/live.tests.yml index e9e4408f6701..f5aeb7428bd8 100644 --- a/eng/pipelines/templates/jobs/live.tests.yml +++ b/eng/pipelines/templates/jobs/live.tests.yml @@ -40,7 +40,8 @@ parameters: - name: UsePlatformContainer type: boolean default: false - +- name: OSName + type: string jobs: - job: @@ -57,7 +58,13 @@ jobs: pool: name: $(Pool) - vmImage: $(OSVmImage) + # 1es pipeline templates converts `image` to demands: ImageOverride under the hood + # which is incompatible with image selection in the default non-1es hosted pools + ${{ if eq(parameters.OSName, 'macOS') }}: + vmImage: $(OSVmImage) + ${{ else }}: + image: $(OSVmImage) + os: ${{ parameters.OSName }} timeoutInMinutes: ${{ parameters.TimeoutInMinutes }} @@ -190,13 +197,12 @@ jobs: codeCoverageTool: Cobertura summaryFileLocation: "$(PackagePath)/coverage/cobertura-coverage.xml" - - task: PublishPipelineArtifact@1 - displayName: "Publish Browser Code Coverage Report Artifact" - continueOnError: true - condition: and(succeededOrFailed(),eq(variables['TestType'], 'browser'),eq(variables['PublishCodeCoverage'], true)) - inputs: - path: "$(PackagePath)/coverage-browser" - artifact: BrowserCodeCoverageReport + - template: /eng/common/pipelines/templates/steps/publish-1es-artifact.yml + parameters: + ArtifactPath: "$(PackagePath)/coverage-browser" + ArtifactName: BrowserCodeCoverageReport + CustomCondition: and(succeededOrFailed(),eq(variables['TestType'], 'browser'),eq(variables['PublishCodeCoverage'], true)) + SbomEnabled: false # Unlink node_modules folders to significantly improve performance of subsequent tasks # which need to walk the directory tree (and are hardcoded to follow symlinks). diff --git a/eng/pipelines/templates/stages/archetype-js-release.yml b/eng/pipelines/templates/stages/archetype-js-release.yml index d14451c8cdbc..bf3792a6f48d 100644 --- a/eng/pipelines/templates/stages/archetype-js-release.yml +++ b/eng/pipelines/templates/stages/archetype-js-release.yml @@ -1,319 +1,294 @@ parameters: Artifacts: [] TestPipeline: false - ArtifactName: 'not-specified' + ArtifactName: not-specified DependsOn: Build - Registry: 'https://registry.npmjs.org/' - PrivateRegistry: 'https://pkgs.dev.azure.com/azure-sdk/internal/_packaging/azure-sdk-for-js-pr/npm/registry/' + Registry: https://registry.npmjs.org/ + PrivateRegistry: https://pkgs.dev.azure.com/azure-sdk/internal/_packaging/azure-sdk-for-js-pr/npm/registry/ TargetDocRepoOwner: '' TargetDocRepoName: '' ServiceDirectory: '' + stages: - ${{if and(in(variables['Build.Reason'], 'Manual', ''), eq(variables['System.TeamProject'], 'internal'))}}: - - ${{ each artifact in parameters.Artifacts }}: - - stage: - variables: - - template: /eng/pipelines/templates/variables/globals.yml - displayName: 'Release: ${{artifact.name}}' - dependsOn: ${{parameters.DependsOn}} - condition: and(succeeded(), ne(variables['SetDevVersion'], 'true'), ne(variables['Skip.Release'], 'true'), ne(variables['Build.Repository.Name'], 'Azure/azure-sdk-for-js-pr')) - jobs: - - deployment: TagRepository - displayName: "Create release tag" - condition: ne(variables['Skip.TagRepository'], 'true') - environment: github - - pool: - name: azsdk-pool-mms-ubuntu-2004-general - vmImage: MMSUbuntu20.04 - - strategy: - runOnce: - deploy: - steps: - - checkout: self - - template: /eng/common/pipelines/templates/steps/retain-run.yml - - template: /eng/common/pipelines/templates/steps/set-test-pipeline-version.yml - parameters: - PackageName: "@azure/template" - ServiceDirectory: "template" - TestPipeline: ${{ parameters.TestPipeline }} - - template: /eng/common/pipelines/templates/steps/verify-changelog.yml - parameters: - PackageName: ${{artifact.name}} - ServiceName: ${{parameters.ServiceDirectory}} - ForRelease: true - - template: /eng/common/pipelines/templates/steps/verify-restapi-spec-location.yml - parameters: - PackageName: ${{artifact.name}} - ServiceDirectory: ${{parameters.ServiceDirectory}} - ArtifactLocation: $(Pipeline.Workspace)/${{parameters.ArtifactName}} - - pwsh: | - Get-ChildItem -Recurse ${{parameters.ArtifactName}}/${{artifact.name}} - workingDirectory: $(Pipeline.Workspace) - displayName: Output Visible Artifacts - - template: /eng/common/pipelines/templates/steps/create-tags-and-git-release.yml - parameters: - ArtifactLocation: $(Pipeline.Workspace)/${{parameters.ArtifactName}}/${{artifact.name}} - PackageRepository: Npm - ReleaseSha: $(Build.SourceVersion) - RepoId: Azure/azure-sdk-for-js - WorkingDirectory: $(System.DefaultWorkingDirectory) - - - ${{if ne(artifact.skipPublishPackage, 'true')}}: - - deployment: PublishPackage - displayName: "Publish to npmjs" - condition: and(succeeded(), ne(variables['Skip.PublishPackage'], 'true')) - environment: npm - dependsOn: TagRepository - - pool: - name: azsdk-pool-mms-ubuntu-2004-general - vmImage: MMSUbuntu20.04 - - strategy: - runOnce: - deploy: - steps: - - checkout: self - - script: | - export DETECTED_PACKAGE_NAME=`ls $(Pipeline.Workspace)/${{parameters.ArtifactName}}/${{artifact.name}}/*.tgz` - echo "##vso[task.setvariable variable=Package.Archive]$DETECTED_PACKAGE_NAME" - displayName: Detecting package archive - - - pwsh: | - write-host "$(Package.Archive)" - $result = eng/scripts/get-npm-tags.ps1 -packageArtifact $(Package.Archive) -workingDirectory $(System.DefaultWorkingDirectory)/temp - write-host "Tag: $($result.Tag)" - write-host "Additional tag: $($result.AdditionalTag)" - echo "##vso[task.setvariable variable=Tag]$($result.Tag)" - echo "##vso[task.setvariable variable=AdditionalTag]$($result.AdditionalTag)" - condition: and(succeeded(), ne(variables['Skip.AutoAddTag'], 'true')) - displayName: 'Set Tag and Additional Tag' - - - script: | - npm install $(Package.Archive) - displayName: 'Validating package can be installed' - condition: succeeded() - - - task: PowerShell@2 - displayName: 'Publish to npmjs.org' - inputs: - targetType: filePath - filePath: "eng/tools/publish-to-npm.ps1" - arguments: '-pathToArtifacts $(Package.Archive) -accessLevel "public" -tag "$(Tag)" -additionalTag "$(AdditionalTag)" -registry ${{parameters.Registry}} -npmToken $(azure-sdk-npm-token)' - pwsh: true - condition: succeeded() - - - pwsh: | - write-host "$(Package.Archive)" - eng/scripts/cleanup-npm-next-tag.ps1 -packageArtifact $(Package.Archive) -workingDirectory $(System.DefaultWorkingDirectory)/temp -npmToken $(azure-sdk-npm-token) - displayName: 'Cleanup Npm Next Tag' - condition: and(succeeded(), ne(variables['Skip.RemoveOldTag'], 'true')) - - - - ${{if ne(artifact.skipPublishDocMs, 'true')}}: - - deployment: PublishDocs - displayName: Docs.MS Release - condition: and(succeeded(), ne(variables['Skip.PublishDocs'], 'true')) - environment: githubio - dependsOn: PublishPackage - - pool: - name: azsdk-pool-mms-ubuntu-2004-general - vmImage: MMSUbuntu20.04 - - strategy: - runOnce: - deploy: - steps: - - template: /eng/common/pipelines/templates/steps/sparse-checkout.yml - parameters: - Paths: - - sdk/**/*.md - - .github/CODEOWNERS - - download: current - - - template: /eng/pipelines/templates/steps/install-rex-validation-tool.yml - - - template: /eng/common/pipelines/templates/steps/update-docsms-metadata.yml - parameters: - PackageInfoLocations: - - $(Pipeline.Workspace)/${{parameters.ArtifactName}}/PackageInfo/${{artifact.name}}.json - RepoId: Azure/azure-sdk-for-js - WorkingDirectory: $(System.DefaultWorkingDirectory) - TargetDocRepoOwner: ${{parameters.TargetDocRepoOwner}} - TargetDocRepoName: ${{parameters.TargetDocRepoName}} - Language: 'javascript' - SparseCheckoutPaths: - - docs-ref-services/ - - metadata/ - - ci-configs/packages-latest.json - - ci-configs/packages-preview.json - - - ${{if ne(artifact.skipPublishDocGithubIo, 'true')}}: - - deployment: PublishDocsGitHubIO - displayName: Publish Docs to GitHubIO Blob Storage - condition: and(succeeded(), ne(variables['Skip.PublishDocs'], 'true')) - environment: githubio - dependsOn: PublishPackage - - pool: - name: azsdk-pool-mms-win-2022-general - vmImage: MMS2022 - - strategy: - runOnce: - deploy: - steps: - - checkout: self - - pwsh: | - Get-ChildItem -Recurse ${{parameters.ArtifactName}}/${{artifact.name}} - workingDirectory: $(Pipeline.Workspace) - displayName: Output Visible Artifacts - - template: /eng/common/pipelines/templates/steps/publish-blobs.yml - parameters: - FolderForUpload: '$(Pipeline.Workspace)/${{parameters.ArtifactName}}/${{artifact.name}}' - BlobSASKey: '$(azure-sdk-docs-prod-sas)' - BlobName: '$(azure-sdk-docs-prod-blob-name)' - TargetLanguage: 'javascript' - ArtifactLocation: '$(Pipeline.Workspace)/${{parameters.ArtifactName}}/${{artifact.name}}' - # we override the regular script path because we have cloned the build tools repo as a separate artifact. - ScriptPath: 'eng/common/scripts/copy-docs-to-blobstorage.ps1' - - - ${{if ne(artifact.skipUpdatePackageVersion, 'true')}}: - - deployment: UpdatePackageVersion - displayName: "Update Package Version" - condition: and(succeeded(), ne(variables['Skip.UpdatePackageVersion'], 'true')) - environment: github - dependsOn: PublishPackage - - pool: - name: azsdk-pool-mms-ubuntu-2004-general - vmImage: MMSUbuntu20.04 - - strategy: - runOnce: - deploy: - steps: - - checkout: self - - - template: /eng/pipelines/templates/steps/common.yml - - - bash: | - npm install - workingDirectory: ./eng/tools/versioning - displayName: Install versioning tool dependencies - - - bash: | - node ./eng/tools/versioning/increment.js --artifact-name ${{ artifact.name }} --repo-root . - displayName: Increment package version - - - bash: | - node common/scripts/install-run-rush.js install - displayName: "Install dependencies" - - # Disabled until packages can be updated to support ES2019 syntax. - # - bash: | - # npm install -g ./common/tools/dev-tool - # npm install ./eng/tools/eng-package-utils - # node ./eng/tools/eng-package-utils/update-samples.js ${{ artifact.name }} - # displayName: Update samples - - - template: /eng/common/pipelines/templates/steps/create-pull-request.yml - parameters: - RepoName: azure-sdk-for-js - PRBranchName: post-release-automation-${{ parameters.ServiceDirectory }}-$(Build.BuildId) - CommitMsg: "Post release automated changes for ${{ artifact.name }}" - PRTitle: "Post release automated changes for ${{ parameters.ServiceDirectory }} releases" - CloseAfterOpenForTesting: '${{ parameters.TestPipeline }}' - - + - ${{ each artifact in parameters.Artifacts }}: + - stage: + variables: + - template: /eng/pipelines/templates/variables/globals.yml + displayName: 'Release: ${{artifact.name}}' + dependsOn: ${{parameters.DependsOn}} + condition: and(succeeded(), ne(variables['SetDevVersion'], 'true'), ne(variables['Skip.Release'], 'true'), ne(variables['Build.Repository.Name'], 'Azure/azure-sdk-for-js-pr')) + jobs: + - deployment: TagRepository + displayName: Create release tag + condition: ne(variables['Skip.TagRepository'], 'true') + environment: github + pool: + name: azsdk-pool-mms-ubuntu-2004-general + image: azsdk-pool-mms-ubuntu-2004-1espt + os: linux + strategy: + runOnce: + deploy: + steps: + - checkout: self + - template: /eng/common/pipelines/templates/steps/retain-run.yml + - template: /eng/common/pipelines/templates/steps/set-test-pipeline-version.yml + parameters: + PackageName: '@azure/template' + ServiceDirectory: template + TestPipeline: ${{ parameters.TestPipeline }} + - template: /eng/common/pipelines/templates/steps/verify-changelog.yml + parameters: + PackageName: ${{artifact.name}} + ServiceName: ${{parameters.ServiceDirectory}} + ForRelease: true + - template: /eng/common/pipelines/templates/steps/verify-restapi-spec-location.yml + parameters: + PackageName: ${{artifact.name}} + ServiceDirectory: ${{parameters.ServiceDirectory}} + ArtifactLocation: $(Pipeline.Workspace)/${{parameters.ArtifactName}} + - pwsh: > + Get-ChildItem -Recurse ${{parameters.ArtifactName}}/${{artifact.name}} + workingDirectory: $(Pipeline.Workspace) + displayName: Output Visible Artifacts + - template: /eng/common/pipelines/templates/steps/create-tags-and-git-release.yml + parameters: + ArtifactLocation: $(Pipeline.Workspace)/${{parameters.ArtifactName}}/${{artifact.name}} + PackageRepository: Npm + ReleaseSha: $(Build.SourceVersion) + RepoId: Azure/azure-sdk-for-js + WorkingDirectory: $(System.DefaultWorkingDirectory) + - ${{if ne(artifact.skipPublishPackage, 'true')}}: + - deployment: PublishPackage + displayName: Publish to npmjs + condition: and(succeeded(), ne(variables['Skip.PublishPackage'], 'true')) + environment: npm + dependsOn: TagRepository + pool: + name: azsdk-pool-mms-ubuntu-2004-general + image: azsdk-pool-mms-ubuntu-2004-1espt + os: linux + strategy: + runOnce: + deploy: + steps: + - checkout: self + - script: | + export DETECTED_PACKAGE_NAME=`ls $(Pipeline.Workspace)/${{parameters.ArtifactName}}/${{artifact.name}}/*.tgz` + echo "##vso[task.setvariable variable=Package.Archive]$DETECTED_PACKAGE_NAME" + displayName: Detecting package archive + - pwsh: | + write-host "$(Package.Archive)" + $result = eng/scripts/get-npm-tags.ps1 -packageArtifact $(Package.Archive) -workingDirectory $(System.DefaultWorkingDirectory)/temp + write-host "Tag: $($result.Tag)" + write-host "Additional tag: $($result.AdditionalTag)" + echo "##vso[task.setvariable variable=Tag]$($result.Tag)" + echo "##vso[task.setvariable variable=AdditionalTag]$($result.AdditionalTag)" + condition: and(succeeded(), ne(variables['Skip.AutoAddTag'], 'true')) + displayName: Set Tag and Additional Tag + - script: > + npm install $(Package.Archive) + displayName: Validating package can be installed + condition: succeeded() + - task: PowerShell@2 + displayName: Publish to npmjs.org + inputs: + targetType: filePath + filePath: eng/tools/publish-to-npm.ps1 + arguments: -pathToArtifacts $(Package.Archive) -accessLevel "public" -tag "$(Tag)" -additionalTag "$(AdditionalTag)" -registry ${{parameters.Registry}} -npmToken $(azure-sdk-npm-token) + pwsh: true + condition: succeeded() + - pwsh: > + write-host "$(Package.Archive)" + + eng/scripts/cleanup-npm-next-tag.ps1 -packageArtifact $(Package.Archive) -workingDirectory $(System.DefaultWorkingDirectory)/temp -npmToken $(azure-sdk-npm-token) + displayName: Cleanup Npm Next Tag + condition: and(succeeded(), ne(variables['Skip.RemoveOldTag'], 'true')) + - ${{if ne(artifact.skipPublishDocMs, 'true')}}: + - deployment: PublishDocs + displayName: Docs.MS Release + condition: and(succeeded(), ne(variables['Skip.PublishDocs'], 'true')) + environment: githubio + dependsOn: PublishPackage + pool: + name: azsdk-pool-mms-ubuntu-2004-general + image: azsdk-pool-mms-ubuntu-2004-1espt + os: linux + strategy: + runOnce: + deploy: + steps: + - template: /eng/common/pipelines/templates/steps/sparse-checkout.yml + parameters: + Paths: + - sdk/**/*.md + - .github/CODEOWNERS + - download: current + - template: /eng/pipelines/templates/steps/install-rex-validation-tool.yml + - template: /eng/common/pipelines/templates/steps/update-docsms-metadata.yml + parameters: + PackageInfoLocations: + - $(Pipeline.Workspace)/${{parameters.ArtifactName}}/PackageInfo/${{artifact.name}}.json + RepoId: Azure/azure-sdk-for-js + WorkingDirectory: $(System.DefaultWorkingDirectory) + TargetDocRepoOwner: ${{parameters.TargetDocRepoOwner}} + TargetDocRepoName: ${{parameters.TargetDocRepoName}} + Language: javascript + SparseCheckoutPaths: + - docs-ref-services/ + - metadata/ + - ci-configs/packages-latest.json + - ci-configs/packages-preview.json + - ${{if ne(artifact.skipPublishDocGithubIo, 'true')}}: + - deployment: PublishDocsGitHubIO + displayName: Publish Docs to GitHubIO Blob Storage + condition: and(succeeded(), ne(variables['Skip.PublishDocs'], 'true')) + environment: githubio + dependsOn: PublishPackage + pool: + name: azsdk-pool-mms-win-2022-general + image: azsdk-pool-mms-win-2022-1espt + os: windows + strategy: + runOnce: + deploy: + steps: + - checkout: self + - pwsh: | + Get-ChildItem -Recurse ${{parameters.ArtifactName}}/${{artifact.name}} + workingDirectory: $(Pipeline.Workspace) + displayName: Output Visible Artifacts + - template: /eng/common/pipelines/templates/steps/publish-blobs.yml + parameters: + FolderForUpload: $(Pipeline.Workspace)/${{parameters.ArtifactName}}/${{artifact.name}} + BlobSASKey: $(azure-sdk-docs-prod-sas) + BlobName: $(azure-sdk-docs-prod-blob-name) + TargetLanguage: javascript + ArtifactLocation: $(Pipeline.Workspace)/${{parameters.ArtifactName}}/${{artifact.name}} + ScriptPath: eng/common/scripts/copy-docs-to-blobstorage.ps1 + - ${{if ne(artifact.skipUpdatePackageVersion, 'true')}}: + - deployment: UpdatePackageVersion + displayName: Update Package Version + condition: and(succeeded(), ne(variables['Skip.UpdatePackageVersion'], 'true')) + environment: github + dependsOn: PublishPackage + pool: + name: azsdk-pool-mms-ubuntu-2004-general + image: azsdk-pool-mms-ubuntu-2004-1espt + os: linux + strategy: + runOnce: + deploy: + steps: + - checkout: self + - template: /eng/pipelines/templates/steps/common.yml + - bash: | + npm install + workingDirectory: ./eng/tools/versioning + displayName: Install versioning tool dependencies + + - bash: | + node ./eng/tools/versioning/increment.js --artifact-name ${{ artifact.name }} --repo-root . + displayName: Increment package version + + - bash: | + node common/scripts/install-run-rush.js install + displayName: "Install dependencies" + + # Disabled until packages can be updated to support ES2019 syntax. + # - bash: | + # npm install -g ./common/tools/dev-tool + # npm install ./eng/tools/eng-package-utils + # node ./eng/tools/eng-package-utils/update-samples.js ${{ artifact.name }} + # displayName: Update samples + + - template: /eng/common/pipelines/templates/steps/create-pull-request.yml + parameters: + RepoName: azure-sdk-for-js + PRBranchName: post-release-automation-${{ parameters.ServiceDirectory }}-$(Build.BuildId) + CommitMsg: Post release automated changes for ${{ artifact.name }} + PRTitle: Post release automated changes for ${{ parameters.ServiceDirectory }} releases + CloseAfterOpenForTesting: ${{ parameters.TestPipeline }} - stage: Integration dependsOn: ${{parameters.DependsOn}} variables: - - template: /eng/pipelines/templates/variables/globals.yml + - template: /eng/pipelines/templates/variables/globals.yml jobs: - - job: PublishPackages - # Run Integration job only if SetDevVersion is set to true or ( SetDevVersion is empty and job is a scheduled CI run) - # If SetDevVersion is set to false then we should skip integration job even for scheduled runs. - condition: or(eq(variables['SetDevVersion'], 'true'), and(eq(variables['Build.Reason'],'Schedule'), eq(variables['System.TeamProject'], 'internal'))) - displayName: Publish package to daily feed - pool: - name: azsdk-pool-mms-ubuntu-2004-general - vmImage: MMSUbuntu20.04 - steps: - - checkout: self - - download: current - artifact: ${{parameters.ArtifactName}} - timeoutInMinutes: 5 - - ${{ each artifact in parameters.Artifacts }}: - - ${{if ne(artifact.skipPublishDevFeed, 'true')}}: - - pwsh: | - $detectedPackageName=Get-ChildItem $(Pipeline.Workspace)/${{parameters.ArtifactName}}/${{artifact.name}}/*.tgz - Write-Host "Detected package name: $($detectedPackageName)" - if ($detectedPackageName -notmatch "-alpha") - { - Write-Error "Found non alpha version artifact to publish as dev version. Failing publish step. VersionPolicy should be client or core in rush.json to get alpha version build." - exit 1 - } - echo "##vso[task.setvariable variable=Package.Archive]$detectedPackageName" - if ('$(Build.Repository.Name)' -eq 'Azure/azure-sdk-for-js') { - $npmToken="$(azure-sdk-npm-token)" - $registry="${{parameters.Registry}}" - } - else { - $npmToken="$(azure-sdk-devops-npm-token)" - $registry="${{parameters.PrivateRegistry}}" - } - echo "##vso[task.setvariable variable=NpmToken]$npmToken" - echo "##vso[task.setvariable variable=Registry]$registry" - displayName: Detecting package archive_${{artifact.name}} - - - task: PowerShell@2 - displayName: "Publish_${{artifact.name}} to dev feed" - inputs: - targetType: filePath - filePath: "eng/tools/publish-to-npm.ps1" - arguments: '-pathToArtifacts $(Package.Archive) -accessLevel "public" -tag "dev" -registry "$(Registry)" -npmToken "$(NpmToken)"' - - - job: PublishDocsToNightlyBranch - condition: or(eq(variables['SetDevVersion'], 'true'), and(eq(variables['Build.Reason'],'Schedule'), eq(variables['System.TeamProject'], 'internal'), ne(variables['Skip.PublishDocs'], 'true'))) - dependsOn: PublishPackages - pool: - name: azsdk-pool-mms-ubuntu-2004-general - vmImage: MMSUbuntu20.04 - - steps: - - template: /eng/common/pipelines/templates/steps/sparse-checkout.yml - parameters: - Paths: - - sdk/**/*.md - - .github/CODEOWNERS - - download: current - - pwsh: | - Get-ChildItem -Recurse $(Pipeline.Workspace)/${{parameters.ArtifactName}}/ - displayName: Show visible artifacts - - - template: /eng/pipelines/templates/steps/install-rex-validation-tool.yml - - - template: /eng/common/pipelines/templates/steps/update-docsms-metadata.yml - parameters: - PackageInfoLocations: - - ${{ each artifact in parameters.Artifacts }}: - - ${{if ne(artifact.skipPublishDocMs, 'true')}}: - - $(Pipeline.Workspace)/${{parameters.ArtifactName}}/PackageInfo/${{artifact.name}}.json - RepoId: Azure/azure-sdk-for-js - WorkingDirectory: $(System.DefaultWorkingDirectory) - TargetDocRepoOwner: ${{parameters.TargetDocRepoOwner}} - TargetDocRepoName: ${{parameters.TargetDocRepoName}} - Language: 'javascript' - DailyDocsBuild: true - SparseCheckoutPaths: - - docs-ref-services/ - - metadata/ - - ci-configs/packages-latest.json - - ci-configs/packages-preview.json - - - template: /eng/common/pipelines/templates/steps/docsms-ensure-validation.yml + - job: PublishPackages + condition: or(eq(variables['SetDevVersion'], 'true'), and(eq(variables['Build.Reason'],'Schedule'), eq(variables['System.TeamProject'], 'internal'))) + displayName: Publish package to daily feed + pool: + name: azsdk-pool-mms-ubuntu-2004-general + image: azsdk-pool-mms-ubuntu-2004-1espt + os: linux + steps: + - checkout: self + - download: current + artifact: ${{parameters.ArtifactName}} + timeoutInMinutes: 5 + - ${{ each artifact in parameters.Artifacts }}: + - ${{if ne(artifact.skipPublishDevFeed, 'true')}}: + - pwsh: | + $detectedPackageName=Get-ChildItem $(Pipeline.Workspace)/${{parameters.ArtifactName}}/${{artifact.name}}/*.tgz + Write-Host "Detected package name: $($detectedPackageName)" + if ($detectedPackageName -notmatch "-alpha") + { + Write-Error "Found non alpha version artifact to publish as dev version. Failing publish step. VersionPolicy should be client or core in rush.json to get alpha version build." + exit 1 + } + echo "##vso[task.setvariable variable=Package.Archive]$detectedPackageName" + if ('$(Build.Repository.Name)' -eq 'Azure/azure-sdk-for-js') { + $npmToken="$(azure-sdk-npm-token)" + $registry="${{parameters.Registry}}" + } + else { + $npmToken="$(azure-sdk-devops-npm-token)" + $registry="${{parameters.PrivateRegistry}}" + } + echo "##vso[task.setvariable variable=NpmToken]$npmToken" + echo "##vso[task.setvariable variable=Registry]$registry" + displayName: Detecting package archive_${{artifact.name}} + - task: PowerShell@2 + displayName: Publish_${{artifact.name}} to dev feed + inputs: + targetType: filePath + filePath: eng/tools/publish-to-npm.ps1 + arguments: -pathToArtifacts $(Package.Archive) -accessLevel "public" -tag "dev" -registry "$(Registry)" -npmToken "$(NpmToken)" + - job: PublishDocsToNightlyBranch + condition: or(eq(variables['SetDevVersion'], 'true'), and(eq(variables['Build.Reason'],'Schedule'), eq(variables['System.TeamProject'], 'internal'), ne(variables['Skip.PublishDocs'], 'true'))) + dependsOn: PublishPackages + pool: + name: azsdk-pool-mms-ubuntu-2004-general + image: azsdk-pool-mms-ubuntu-2004-1espt + os: linux + steps: + - template: /eng/common/pipelines/templates/steps/sparse-checkout.yml + parameters: + Paths: + - sdk/**/*.md + - .github/CODEOWNERS + - download: current + - pwsh: | + Get-ChildItem -Recurse $(Pipeline.Workspace)/${{parameters.ArtifactName}}/ + displayName: Show visible artifacts + - template: /eng/pipelines/templates/steps/install-rex-validation-tool.yml + - template: /eng/common/pipelines/templates/steps/update-docsms-metadata.yml + parameters: + PackageInfoLocations: + - ${{ each artifact in parameters.Artifacts }}: + - ${{if ne(artifact.skipPublishDocMs, 'true')}}: + - $(Pipeline.Workspace)/${{parameters.ArtifactName}}/PackageInfo/${{artifact.name}}.json + RepoId: Azure/azure-sdk-for-js + WorkingDirectory: $(System.DefaultWorkingDirectory) + TargetDocRepoOwner: ${{parameters.TargetDocRepoOwner}} + TargetDocRepoName: ${{parameters.TargetDocRepoName}} + Language: javascript + DailyDocsBuild: true + SparseCheckoutPaths: + - docs-ref-services/ + - metadata/ + - ci-configs/packages-latest.json + - ci-configs/packages-preview.json + - template: /eng/common/pipelines/templates/steps/docsms-ensure-validation.yml diff --git a/eng/pipelines/templates/stages/archetype-sdk-client.yml b/eng/pipelines/templates/stages/archetype-sdk-client.yml index 823aafc85745..1811aba459a4 100644 --- a/eng/pipelines/templates/stages/archetype-sdk-client.yml +++ b/eng/pipelines/templates/stages/archetype-sdk-client.yml @@ -1,3 +1,10 @@ +resources: + repositories: + - repository: 1ESPipelineTemplates + type: git + name: 1ESPipelineTemplates/1ESPipelineTemplates + ref: refs/tags/release + parameters: - name: Artifacts type: object @@ -40,43 +47,65 @@ parameters: type: object default: [] -variables: - - template: ../variables/globals.yml - -stages: - - stage: Build - jobs: - - template: /eng/pipelines/templates/jobs/ci.yml - parameters: - ServiceDirectory: ${{ parameters.ServiceDirectory }} - TestProxy: ${{ parameters.TestProxy }} - Artifacts: ${{ parameters.Artifacts }} - ${{ if eq(parameters.ServiceDirectory, 'template') }}: - TestPipeline: true - RunUnitTests: ${{ parameters.RunUnitTests }} - MatrixConfigs: - - ${{ each config in parameters.MatrixConfigs }}: - - ${{ config }} - - ${{ each config in parameters.AdditionalMatrixConfigs }}: - - ${{ config }} - MatrixFilters: - - TestType=node|browser - - DependencyVersion=^$ - - ${{ each filter in parameters.MatrixFilters }}: - - ${{ filter}} - MatrixReplace: ${{ parameters.MatrixReplace }} - IncludeRelease: ${{ parameters.IncludeRelease }} +extends: + ${{ if eq(variables['System.TeamProject'], 'internal') }}: + template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates + ${{ else }}: + template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplates + parameters: + settings: + skipBuildTagsForGitHubPullRequests: true + sdl: + sourceAnalysisPool: + name: azsdk-pool-mms-win-2022-general + image: azsdk-pool-mms-win-2022-1espt + os: windows + eslint: + enabled: false + justificationForDisabling: 'ESLint injected task has failures because it uses an old version of mkdirp. We should not fail for tools not controlled by the repo. See: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=3499746' + psscriptanalyzer: + compiled: true + break: true + policy: M365 + credscan: + suppressionsFile: $(Build.SourcesDirectory)/eng/CredScanSuppression.json + toolVersion: 2.3.12.23 + stages: + - stage: Build + jobs: + - template: /eng/pipelines/templates/jobs/ci.yml@self + parameters: + ServiceDirectory: ${{ parameters.ServiceDirectory }} + TestProxy: ${{ parameters.TestProxy }} + Artifacts: ${{ parameters.Artifacts }} + ${{ if eq(parameters.ServiceDirectory, 'template') }}: + TestPipeline: true + RunUnitTests: ${{ parameters.RunUnitTests }} + MatrixConfigs: + - ${{ each config in parameters.MatrixConfigs }}: + - ${{ config }} + - ${{ each config in parameters.AdditionalMatrixConfigs }}: + - ${{ config }} + MatrixFilters: + - TestType=node|browser + - DependencyVersion=^$ + - ${{ each filter in parameters.MatrixFilters }}: + - ${{ filter}} + MatrixReplace: ${{ parameters.MatrixReplace }} + IncludeRelease: ${{ parameters.IncludeRelease }} + variables: + - template: /eng/pipelines/templates/variables/globals.yml@self + - template: /eng/pipelines/templates/variables/image.yml@self - # The Prerelease and Release stages are conditioned on whether we are building a pull request and the branch. - - ${{if and(ne(variables['Build.Reason'], 'PullRequest'), eq(variables['System.TeamProject'], 'internal'), eq(parameters.IncludeRelease,true))}}: - - template: archetype-js-release.yml - parameters: - DependsOn: Build - ServiceDirectory: ${{ parameters.ServiceDirectory }} - TestProxy: ${{ parameters.TestProxy }} - Artifacts: ${{ parameters.Artifacts }} - ${{ if eq(parameters.ServiceDirectory, 'template') }}: - TestPipeline: true - ArtifactName: packages - TargetDocRepoOwner: ${{ parameters.TargetDocRepoOwner }} - TargetDocRepoName: ${{ parameters.TargetDocRepoName }} + - ${{if and(ne(variables['Build.Reason'], 'PullRequest'), eq(variables['System.TeamProject'], 'internal'), eq(parameters.IncludeRelease,true))}}: + - template: archetype-js-release.yml@self + parameters: + DependsOn: Build + ServiceDirectory: ${{ parameters.ServiceDirectory }} + TestProxy: ${{ parameters.TestProxy }} + Artifacts: ${{ parameters.Artifacts }} + ${{ if eq(parameters.ServiceDirectory, 'template') }}: + TestPipeline: true + ArtifactName: packages + TargetDocRepoOwner: ${{ parameters.TargetDocRepoOwner }} + TargetDocRepoName: ${{ parameters.TargetDocRepoName }} diff --git a/eng/pipelines/templates/stages/archetype-sdk-tests-isolated.yml b/eng/pipelines/templates/stages/archetype-sdk-tests-isolated.yml new file mode 100644 index 000000000000..e6eb543b37fa --- /dev/null +++ b/eng/pipelines/templates/stages/archetype-sdk-tests-isolated.yml @@ -0,0 +1,123 @@ +parameters: + - name: PackageName + type: string + default: "" + - name: ServiceDirectory + type: string + default: "" + - name: TestResourceDirectories + type: object + default: + - name: EnvVars + type: object + default: {} + - name: MaxParallel + type: number + default: 0 + - name: TimeoutInMinutes + type: number + default: 60 + - name: PublishCodeCoverage + type: boolean + default: false + - name: Location + type: string + default: "" + - name: Clouds + type: string + default: 'Public' + - name: SupportedClouds + type: string + default: 'Public' + - name: UnsupportedClouds + type: string + default: '' + - name: PreSteps + type: object + default: [] + - name: PostSteps + type: object + default: [] + - name: CloudConfig + type: object + default: + Public: + SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources) + Preview: + SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources-preview) + Canary: + SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources) + Location: 'centraluseuap' + MatrixFilters: + - OSVmImage=.*Ubuntu.* + - DependencyVersion=^$ + UsGov: + SubscriptionConfiguration: $(sub-config-gov-test-resources) + China: + SubscriptionConfiguration: $(sub-config-cn-test-resources) + - name: MatrixConfigs + type: object + default: + - Name: Js_live_test_base + Path: eng/pipelines/templates/stages/platform-matrix.json + Selection: sparse + GenerateVMJobs: true + - name: AdditionalMatrixConfigs + type: object + default: [] + - name: MatrixFilters + type: object + default: [] + - name: MatrixReplace + type: object + default: [] + +stages: + - ${{ each cloud in parameters.CloudConfig }}: + - ${{ if or(contains(parameters.Clouds, cloud.key), and(contains(variables['Build.DefinitionName'], 'tests-weekly'), contains(parameters.SupportedClouds, cloud.key))) }}: + - ${{ if not(contains(parameters.UnsupportedClouds, cloud.key)) }}: + - stage: ${{ cloud.key }} + dependsOn: [] + variables: + - template: /eng/pipelines/templates/variables/globals.yml + - template: /eng/pipelines/templates/variables/image.yml + jobs: + - template: /eng/common/pipelines/templates/jobs/generate-job-matrix.yml + parameters: + SparseCheckoutPaths: + # JS recording files are implicit excluded here since they are using '.js' file extension. + - "sdk/${{ parameters.ServiceDirectory }}/**/*.json" + JobTemplatePath: /eng/pipelines/templates/jobs/live.tests.yml + OsVmImage: $(LINUXVMIMAGE) + Pool: $(LINUXPOOL) + AdditionalParameters: + PackageName: ${{ parameters.PackageName }} + ServiceDirectory: ${{ parameters.ServiceDirectory }} + EnvVars: ${{ parameters.EnvVars }} + MaxParallel: ${{ parameters.MaxParallel }} + TimeoutInMinutes: ${{ parameters.TimeoutInMinutes }} + TestResourceDirectories: ${{ parameters.TestResourceDirectories }} + PublishCodeCoverage: ${{ parameters.PublishCodeCoverage }} + PreSteps: + - ${{ parameters.PreSteps }} + PostSteps: + - ${{ parameters.PostSteps }} + MatrixConfigs: + # Enumerate platforms and additional platforms based on supported clouds (sparse platform<-->cloud matrix). + - ${{ each config in parameters.MatrixConfigs }}: + - ${{ config }} + - ${{ each config in parameters.AdditionalMatrixConfigs }}: + - ${{ config }} + MatrixFilters: + - ${{ each cloudFilter in cloud.value.MatrixFilters }}: + - ${{ cloudFilter }} + - ${{ parameters.MatrixFilters }} + MatrixReplace: + - ${{ each cloudReplace in cloud.value.MatrixReplace }}: + - ${{ cloudReplace }} + - ${{ parameters.MatrixReplace }} + CloudConfig: + SubscriptionConfiguration: ${{ cloud.value.SubscriptionConfiguration }} + SubscriptionConfigurations: ${{ cloud.value.SubscriptionConfigurations }} + Location: ${{ coalesce(parameters.Location, cloud.value.Location) }} + Cloud: ${{ cloud.key }} diff --git a/eng/pipelines/templates/stages/archetype-sdk-tests.yml b/eng/pipelines/templates/stages/archetype-sdk-tests.yml index 9b6828ddb1d3..d2955f2aecd7 100644 --- a/eng/pipelines/templates/stages/archetype-sdk-tests.yml +++ b/eng/pipelines/templates/stages/archetype-sdk-tests.yml @@ -1,10 +1,16 @@ +resources: + repositories: + - repository: 1ESPipelineTemplates + type: git + name: 1ESPipelineTemplates/1ESPipelineTemplates + ref: refs/tags/release parameters: - name: PackageName type: string - default: "" + default: '' - name: ServiceDirectory type: string - default: "" + default: '' - name: TestResourceDirectories type: object default: @@ -22,13 +28,13 @@ parameters: default: false - name: Location type: string - default: "" + default: '' - name: Clouds type: string - default: 'Public' + default: Public - name: SupportedClouds type: string - default: 'Public' + default: Public - name: UnsupportedClouds type: string default: '' @@ -47,7 +53,7 @@ parameters: SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources-preview) Canary: SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources) - Location: 'centraluseuap' + Location: centraluseuap MatrixFilters: - OSVmImage=.*Ubuntu.* - DependencyVersion=^$ @@ -72,47 +78,57 @@ parameters: type: object default: [] -stages: -- ${{ each cloud in parameters.CloudConfig }}: - - ${{ if or(contains(parameters.Clouds, cloud.key), and(contains(variables['Build.DefinitionName'], 'tests-weekly'), contains(parameters.SupportedClouds, cloud.key))) }}: - - ${{ if not(contains(parameters.UnsupportedClouds, cloud.key)) }}: - - stage: ${{ cloud.key }} - dependsOn: [] - jobs: - - template: /eng/common/pipelines/templates/jobs/archetype-sdk-tests-generate.yml - parameters: - SparseCheckoutPaths: - # JS recording files are implicit excluded here since they are using '.js' file extension. - - "sdk/${{ parameters.ServiceDirectory }}/**/*.json" - JobTemplatePath: /eng/pipelines/templates/jobs/live.tests.yml - AdditionalParameters: - PackageName: ${{ parameters.PackageName }} - ServiceDirectory: ${{ parameters.ServiceDirectory }} - EnvVars: ${{ parameters.EnvVars }} - MaxParallel: ${{ parameters.MaxParallel }} - TimeoutInMinutes: ${{ parameters.TimeoutInMinutes }} - TestResourceDirectories: ${{ parameters.TestResourceDirectories }} - PublishCodeCoverage: ${{ parameters.PublishCodeCoverage }} - PreSteps: - - ${{ parameters.PreSteps }} - PostSteps: - - ${{ parameters.PostSteps }} - MatrixConfigs: - # Enumerate platforms and additional platforms based on supported clouds (sparse platform<-->cloud matrix). - - ${{ each config in parameters.MatrixConfigs }}: - - ${{ config }} - - ${{ each config in parameters.AdditionalMatrixConfigs }}: - - ${{ config }} - MatrixFilters: - - ${{ each cloudFilter in cloud.value.MatrixFilters }}: - - ${{ cloudFilter }} - - ${{ parameters.MatrixFilters }} - MatrixReplace: - - ${{ each cloudReplace in cloud.value.MatrixReplace }}: - - ${{ cloudReplace }} - - ${{ parameters.MatrixReplace }} - CloudConfig: - SubscriptionConfiguration: ${{ cloud.value.SubscriptionConfiguration }} - SubscriptionConfigurations: ${{ cloud.value.SubscriptionConfigurations }} - Location: ${{ coalesce(parameters.Location, cloud.value.Location) }} - Cloud: ${{ cloud.key }} +extends: + ${{ if eq(variables['System.TeamProject'], 'internal') }}: + template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates + ${{ else }}: + template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplates + parameters: + settings: + skipBuildTagsForGitHubPullRequests: true + sdl: + sourceAnalysisPool: + name: azsdk-pool-mms-win-2022-general + image: azsdk-pool-mms-win-2022-1espt + os: windows + eslint: + enabled: false + justificationForDisabling: 'ESLint injected task has failures because it uses an old version of mkdirp. We should not fail for tools not controlled by the repo. See: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=3499746' + psscriptanalyzer: + compiled: true + break: true + policy: M365 + credscan: + suppressionsFile: $(Build.SourcesDirectory)/eng/CredScanSuppression.json + toolVersion: 2.3.12.23 + stages: + - template: archetype-sdk-tests-isolated.yml@self + parameters: + PackageName: ${{ parameters.PackageName }} + ServiceDirectory: ${{ parameters.ServiceDirectory }} + TestResourceDirectories: ${{ parameters.TestResourceDirectories }} + EnvVars: ${{ parameters.EnvVars }} + MaxParallel: ${{ parameters.MaxParallel }} + TimeoutInMinutes: ${{ parameters.TimeoutInMinutes }} + PublishCodeCoverage: ${{ parameters.PublishCodeCoverage }} + Location: ${{ parameters.Location }} + Clouds: ${{ parameters.Clouds }} + SupportedClouds: ${{ parameters.SupportedClouds }} + UnsupportedClouds: ${{ parameters.UnsupportedClouds }} + PreSteps: + - ${{ parameters.PreSteps }} + PostSteps: + - ${{ parameters.PostSteps }} + CloudConfig: ${{ parameters.CloudConfig }} + MatrixConfigs: + - ${{ each config in parameters.MatrixConfigs }}: + - ${{ config }} + AdditionalMatrixConfigs: + - ${{ each config in parameters.AdditionalMatrixConfigs }}: + - ${{ config }} + MatrixFilters: + - ${{ each config in parameters.MatrixFilters }}: + - ${{ config }} + MatrixReplace: + - ${{ each config in parameters.MatrixReplace }}: + - ${{ config }} diff --git a/eng/pipelines/templates/stages/cosmos-sdk-client.yml b/eng/pipelines/templates/stages/cosmos-sdk-client.yml index 35410e878afb..d53c28ed80f2 100644 --- a/eng/pipelines/templates/stages/cosmos-sdk-client.yml +++ b/eng/pipelines/templates/stages/cosmos-sdk-client.yml @@ -1,60 +1,90 @@ +resources: + repositories: + - repository: 1ESPipelineTemplates + type: git + name: 1ESPipelineTemplates/1ESPipelineTemplates + ref: refs/tags/release + parameters: -- name: Artifacts - type: object - default: [] -- name: ServiceDirectory - type: string - default: not-specified -- name: RunUnitTests - type: boolean - default: false -- name: TargetDocRepoOwner - type: string - default: MicrosoftDocs -- name: TargetDocRepoName - type: string - default: azure-docs-sdk-node + - name: Artifacts + type: object + default: [] + - name: ServiceDirectory + type: string + default: not-specified + - name: RunUnitTests + type: boolean + default: false + - name: TargetDocRepoOwner + type: string + default: MicrosoftDocs + - name: TargetDocRepoName + type: string + default: azure-docs-sdk-node -variables: - - template: /eng/pipelines/templates/variables/globals.yml +extends: + ${{ if eq(variables['System.TeamProject'], 'internal') }}: + template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates + ${{ else }}: + template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplates + parameters: + settings: + skipBuildTagsForGitHubPullRequests: true + sdl: + sourceAnalysisPool: + name: azsdk-pool-mms-win-2022-general + image: azsdk-pool-mms-win-2022-1espt + os: windows + eslint: + enabled: false + justificationForDisabling: 'ESLint injected task has failures because it uses an old version of mkdirp. We should not fail for tools not controlled by the repo. See: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=3499746' + psscriptanalyzer: + compiled: true + break: true + policy: M365 + credscan: + suppressionsFile: $(Build.SourcesDirectory)/eng/CredScanSuppression.json + toolVersion: 2.3.12.23 + stages: + - stage: Build + jobs: + - template: /eng/pipelines/templates/jobs/ci.yml@self + parameters: + Artifacts: ${{parameters.Artifacts}} + ServiceDirectory: ${{ parameters.ServiceDirectory }} + RunUnitTests: ${{ parameters.RunUnitTests }} + MatrixConfigs: + - Name: Javascript_ci_test_base + Path: eng/pipelines/templates/stages/platform-matrix.json + Selection: sparse + GenerateVMJobs: true + variables: + - template: /eng/pipelines/templates/variables/globals.yml@self + - template: /eng/pipelines/templates/variables/image.yml@self -stages: - - stage: Build - jobs: - - template: /eng/pipelines/templates/jobs/ci.yml + - template: /eng/pipelines/templates/stages/archetype-sdk-tests-isolated.yml@self parameters: - Artifacts: ${{parameters.Artifacts}} - ServiceDirectory: ${{ parameters.ServiceDirectory }} - RunUnitTests: ${{ parameters.RunUnitTests }} - MatrixConfigs: - - Name: Javascript_ci_test_base - Path: eng/pipelines/templates/stages/platform-matrix.json - Selection: sparse - GenerateVMJobs: true - - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml - parameters: - PackageName: "@azure/cosmos" - MatrixFilters: - - TestType=node - - DependencyVersion=^$ - - NodeTestVersion=18.x - - Pool=.*mms-win-2022.* - PreSteps: - - template: /eng/pipelines/templates/steps/cosmos-integration-public.yml - PostSteps: - - template: /eng/pipelines/templates/steps/cosmos-additional-steps.yml - EnvVars: - MOCHA_TIMEOUT: 100000 - NODE_TLS_REJECT_UNAUTHORIZED: 0 + PackageName: '@azure/cosmos' + MatrixFilters: + - TestType=node + - DependencyVersion=^$ + - NodeTestVersion=18.x + - Pool=.*mms-win-2022.* + PreSteps: + - template: /eng/pipelines/templates/steps/cosmos-integration-public.yml@self + PostSteps: + - template: /eng/pipelines/templates/steps/cosmos-additional-steps.yml@self + EnvVars: + MOCHA_TIMEOUT: 100000 + NODE_TLS_REJECT_UNAUTHORIZED: 0 - # The Prerelease and Release stages are conditioned on whether we are building a pull request and the branch. - - ${{if and(ne(variables['Build.Reason'], 'PullRequest'), eq(variables['System.TeamProject'], 'internal'))}}: - - template: archetype-js-release.yml - parameters: - DependsOn: Build - ServiceDirectory: ${{parameters.ServiceDirectory}} - Artifacts: ${{parameters.Artifacts}} - ArtifactName: packages - TargetDocRepoOwner: ${{ parameters.TargetDocRepoOwner }} - TargetDocRepoName: ${{ parameters.TargetDocRepoName }} + # The Prerelease and Release stages are conditioned on whether we are building a pull request and the branch. + - ${{if and(ne(variables['Build.Reason'], 'PullRequest'), eq(variables['System.TeamProject'], 'internal'))}}: + - template: archetype-js-release.yml@self + parameters: + DependsOn: Build + ServiceDirectory: ${{parameters.ServiceDirectory}} + Artifacts: ${{parameters.Artifacts}} + ArtifactName: packages + TargetDocRepoOwner: ${{ parameters.TargetDocRepoOwner }} + TargetDocRepoName: ${{ parameters.TargetDocRepoName }} diff --git a/eng/pipelines/templates/stages/platform-matrix.json b/eng/pipelines/templates/stages/platform-matrix.json index 0ffeac1321c7..85b96d2390fd 100644 --- a/eng/pipelines/templates/stages/platform-matrix.json +++ b/eng/pipelines/templates/stages/platform-matrix.json @@ -5,16 +5,16 @@ "matrix": { "Agent": { "windows-2022": { - "OSVmImage": "MMS2022", - "Pool": "azsdk-pool-mms-win-2022-general" + "OSVmImage": "env:WINDOWSVMIMAGE", + "Pool": "env:WINDOWSPOOL" }, "ubuntu-20.04": { - "OSVmImage": "MMSUbuntu20.04", - "Pool": "azsdk-pool-mms-ubuntu-2004-general" + "OSVmImage": "env:LINUXVMIMAGE", + "Pool": "env:LINUXPOOL" }, "macos-11": { - "OSVmImage": "macos-11", - "Pool": "Azure Pipelines" + "OSVmImage": "env:MACVMIMAGE", + "Pool": "env:MACPOOL" } }, "NodeTestVersion": [ @@ -29,8 +29,8 @@ { "Agent": { "windows-2022": { - "OSVmImage": "MMS2022", - "Pool": "azsdk-pool-mms-win-2022-general" + "OSVmImage": "env:WINDOWSVMIMAGE", + "Pool": "env:WINDOWSPOOL" } }, "Scenario": { @@ -53,13 +53,16 @@ { "Agent": { "ubuntu-20.04": { - "OSVmImage": "MMSUbuntu20.04", - "Pool": "azsdk-pool-mms-ubuntu-2004-general" + "OSVmImage": "env:LINUXVMIMAGE", + "Pool": "env:LINUXPOOL" } }, "TestType": "node", "NodeTestVersion": "18.x", - "DependencyVersion": ["max", "min"], + "DependencyVersion": [ + "max", + "min" + ], "TestResultsFiles": "**/test-results.xml" } ] diff --git a/eng/pipelines/templates/steps/analyze.yml b/eng/pipelines/templates/steps/analyze.yml index dd3d425d5b3d..f210e844445c 100644 --- a/eng/pipelines/templates/steps/analyze.yml +++ b/eng/pipelines/templates/steps/analyze.yml @@ -20,12 +20,12 @@ steps: ServiceDirectory: "template" TestPipeline: ${{ parameters.TestPipeline }} - - task: PublishPipelineArtifact@1 - condition: succeededOrFailed() - displayName: "Publish Report Artifacts" - inputs: - artifactName: package-diffs - path: $(Build.ArtifactStagingDirectory) + - template: /eng/common/pipelines/templates/steps/publish-1es-artifact.yml + parameters: + ArtifactPath: '$(Build.ArtifactStagingDirectory)' + ArtifactName: 'package-diffs' + SbomEnabled: false + - template: /eng/common/pipelines/templates/steps/verify-readme.yml parameters: @@ -104,9 +104,10 @@ steps: flattenFolders: true displayName: "Copy lint reports" - - template: /eng/common/pipelines/templates/steps/publish-artifact.yml + - template: /eng/common/pipelines/templates/steps/publish-1es-artifact.yml parameters: ArtifactPath: '$(Build.ArtifactStagingDirectory)' ArtifactName: 'reports' + SbomEnabled: false - template: /eng/common/pipelines/templates/steps/eng-common-workflow-enforcer.yml diff --git a/eng/pipelines/templates/steps/build.yml b/eng/pipelines/templates/steps/build.yml index a7555dfcd491..d8f28da3ae65 100644 --- a/eng/pipelines/templates/steps/build.yml +++ b/eng/pipelines/templates/steps/build.yml @@ -106,22 +106,11 @@ steps: workingDirectory: $(Pipeline.Workspace) displayName: Create APIView code file - - template: /eng/common/pipelines/templates/steps/publish-artifact.yml + - template: /eng/common/pipelines/templates/steps/publish-1es-artifact.yml parameters: ArtifactPath: '$(Build.ArtifactStagingDirectory)' ArtifactName: 'packages' - - ${{if eq(variables['System.TeamProject'], 'internal') }}: - - task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0 - displayName: 'Upload Package SBOM' - inputs: - BuildDropPath: $(Build.ArtifactStagingDirectory) - - - template: /eng/common/pipelines/templates/steps/publish-artifact.yml - parameters: - ArtifactPath: '$(Build.ArtifactStagingDirectory)/_manifest' - ArtifactName: 'manifest' - - template: /eng/pipelines/templates/steps/create-apireview.yml parameters: Artifacts: ${{ parameters.Artifacts }} diff --git a/eng/pipelines/templates/steps/test.yml b/eng/pipelines/templates/steps/test.yml index 9993cd5b9bf8..2aabf185499c 100644 --- a/eng/pipelines/templates/steps/test.yml +++ b/eng/pipelines/templates/steps/test.yml @@ -2,11 +2,12 @@ parameters: Artifacts: [] ServiceDirectory: not-specified TestProxy: true + OSName: '' steps: - template: /eng/common/pipelines/templates/steps/verify-agent-os.yml parameters: - AgentImage: $(OSVmImage) + AgentImage: ${{ parameters.OSName}} - script: | node common/scripts/install-run-rush.js install diff --git a/eng/pipelines/templates/variables/globals.yml b/eng/pipelines/templates/variables/globals.yml index 13a1ea4753ad..5f2759dace7b 100644 --- a/eng/pipelines/templates/variables/globals.yml +++ b/eng/pipelines/templates/variables/globals.yml @@ -5,7 +5,6 @@ variables: skipComponentGovernanceDetection: true coalesceResultFilter: $[ coalesce(variables['packageGlobFilter'], '**') ] ServiceVersion: "" - Package.EnableSBOMSigning: true # Disable CodeQL injections except for where we specifically enable it Codeql.SkipTaskAutoInjection: true # Disable warning until issue 21765 and 21766 are closed diff --git a/eng/pipelines/templates/variables/image.yml b/eng/pipelines/templates/variables/image.yml new file mode 100644 index 000000000000..322e3875f38e --- /dev/null +++ b/eng/pipelines/templates/variables/image.yml @@ -0,0 +1,26 @@ +# Default pool image selection. Set as variable so we can override at pipeline level + +variables: + - name: LINUXPOOL + value: azsdk-pool-mms-ubuntu-2004-general + - name: WINDOWSPOOL + value: azsdk-pool-mms-win-2022-general + - name: MACPOOL + value: Azure Pipelines + + - name: LINUXVMIMAGE + value: azsdk-pool-mms-ubuntu-2004-1espt + - name: LINUXNEXTVMIMAGE + value: azsdk-pool-mms-ubuntu-2204-1espt + - name: WINDOWSVMIMAGE + value: azsdk-pool-mms-win-2022-1espt + - name: MACVMIMAGE + value: macos-11 + + # Values required for pool.os field in 1es pipeline templates + - name: LINUXOS + value: linux + - name: WINDOWSOS + value: windows + - name: MACOS + value: macOS diff --git a/eng/tools/dependency-testing/templates/package.json b/eng/tools/dependency-testing/templates/package.json index 69f281c2def4..32a19a377451 100644 --- a/eng/tools/dependency-testing/templates/package.json +++ b/eng/tools/dependency-testing/templates/package.json @@ -9,7 +9,7 @@ "scripts": { "build": "tsc -p .", "integration-test:browser": "karma start --single-run", - "integration-test:node": "mocha -r esm-workaround.js -r esm --require source-map-support/register --reporter mocha-multi-reporter.js --reporter-option output=test-results.xml --timeout 350000 --full-trace \"dist-esm/**/{,!(browser)/**/}*.spec.js\" --exit", + "integration-test:node": "mocha --require tsx --require source-map-support/register --reporter mocha-multi-reporter.js --reporter-option output=test-results.xml --timeout 350000 --full-trace \"dist-esm/**/{,!(browser)/**/}*.spec.js\" --exit", "integration-test": "npm run integration-test:node && npm run integration-test:browser" }, "repository": { diff --git a/sdk/appconfiguration/app-configuration/package.json b/sdk/appconfiguration/app-configuration/package.json index 98b8cb8a81b2..6703c94fa2a8 100644 --- a/sdk/appconfiguration/app-configuration/package.json +++ b/sdk/appconfiguration/app-configuration/package.json @@ -53,7 +53,7 @@ "pack": "npm pack 2>&1", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "integration-test:browser": "npm run build:test && dev-tool run test:browser", - "integration-test:node": "dev-tool run test:node-tsx-js -- --timeout 180000 'dist-esm/test/**/*.spec.js'", + "integration-test:node": "dev-tool run test:node-js-input -- --timeout 180000 'dist-esm/test/**/*.spec.js'", "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser", "test:node": "npm run clean && npm run build:test && npm run unit-test:node", "test": "npm run test:node && npm run test:browser", diff --git a/sdk/appconfiguration/app-configuration/tests.yml b/sdk/appconfiguration/app-configuration/tests.yml index c9b41fc3046f..a13fad4d7b64 100644 --- a/sdk/appconfiguration/app-configuration/tests.yml +++ b/sdk/appconfiguration/app-configuration/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/app-configuration" ServiceDirectory: appconfiguration diff --git a/sdk/attestation/attestation/tests.yml b/sdk/attestation/attestation/tests.yml index 84bf84f57416..e2ee7247b1f2 100644 --- a/sdk/attestation/attestation/tests.yml +++ b/sdk/attestation/attestation/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/attestation" ServiceDirectory: attestation diff --git a/sdk/cognitivelanguage/ai-language-conversations/tests.yml b/sdk/cognitivelanguage/ai-language-conversations/tests.yml index 315e2cc37f0f..44d8d82140fb 100644 --- a/sdk/cognitivelanguage/ai-language-conversations/tests.yml +++ b/sdk/cognitivelanguage/ai-language-conversations/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/ai-language-conversations" EnvVars: diff --git a/sdk/cognitivelanguage/ai-language-text/package.json b/sdk/cognitivelanguage/ai-language-text/package.json index 0eb94954798e..bb0f08cc7c9c 100644 --- a/sdk/cognitivelanguage/ai-language-text/package.json +++ b/sdk/cognitivelanguage/ai-language-text/package.json @@ -73,7 +73,7 @@ "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "generate:client": "autorest --typescript swagger/README.md", "integration-test:browser": "dev-tool run test:browser", - "integration-test:node": "dev-tool run test:node-js-input --use-esm-workaround=true -- --timeout 5000000 \"dist-esm/test/**/*.spec.js\"", + "integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 \"dist-esm/test/**/*.spec.js\"", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "lint:fix": "eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]", "lint": "eslint package.json api-extractor.json src test --ext .ts", diff --git a/sdk/cognitivelanguage/ai-language-text/tests.yml b/sdk/cognitivelanguage/ai-language-text/tests.yml index 5a29e0c5893b..fb80b48d48f7 100644 --- a/sdk/cognitivelanguage/ai-language-text/tests.yml +++ b/sdk/cognitivelanguage/ai-language-text/tests.yml @@ -6,8 +6,8 @@ parameters: trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/ai-language-text" ServiceDirectory: cognitivelanguage diff --git a/sdk/cognitivelanguage/ai-language-textauthoring/tests.yml b/sdk/cognitivelanguage/ai-language-textauthoring/tests.yml index 92d54769a006..51e45060b2a6 100644 --- a/sdk/cognitivelanguage/ai-language-textauthoring/tests.yml +++ b/sdk/cognitivelanguage/ai-language-textauthoring/tests.yml @@ -6,8 +6,8 @@ parameters: trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/ai-language-textauthoring" ServiceDirectory: cognitivelanguage diff --git a/sdk/communication/communication-alpha-ids/tests.yml b/sdk/communication/communication-alpha-ids/tests.yml index 26ca0dd979bc..34f8c7dd9cae 100644 --- a/sdk/communication/communication-alpha-ids/tests.yml +++ b/sdk/communication/communication-alpha-ids/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure-tools/communication-alpha-ids" ServiceDirectory: communication diff --git a/sdk/communication/communication-call-automation/assets.json b/sdk/communication/communication-call-automation/assets.json index 39ec18aeb1c2..8fc7f9c9d870 100644 --- a/sdk/communication/communication-call-automation/assets.json +++ b/sdk/communication/communication-call-automation/assets.json @@ -2,5 +2,5 @@ "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixPath": "js", "TagPrefix": "js/communication/communication-call-automation", - "Tag": "js/communication/communication-call-automation_3c8effc58e" + "Tag": "js/communication/communication-call-automation_22a209c61b" } diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_and_get_call_properties.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_and_get_call_properties.json index 63119dd144af..7460358624e5 100644 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_and_get_call_properties.json +++ b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_and_get_call_properties.json @@ -22,30 +22,10 @@ [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-0788-4e8d-8e76-5753d141e789", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/401f0700-0788-4e8d-8e76-5753d141e789", - "operationContext": "addParticipantsAnswer", - "version": "2023-10-03-preview", - "callConnectionId": "401f0700-0788-4e8d-8e76-5753d141e789", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-01-04T13:54:40.746015+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-0788-4e8d-8e76-5753d141e789" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/401f0700-0788-4e8d-8e76-5753d141e789", + "source": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-0788-4e8d-8e76-5753d141e789", + "eventSource": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", "participants": [ { "identifier": { @@ -55,7 +35,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -65,29 +46,50 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-0788-4e8d-8e76-5753d141e789", + "callConnectionId": "421f0b00-1788-4472-967b-7f2d40b27e35", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:54:40.746015+00:00", + "time": "2024-03-08T21:37:40.4102928+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-0788-4e8d-8e76-5753d141e789" + "subject": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-a370-42eb-9403-c2d88b330bc9", + "source": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f", + "type": "Microsoft.Communication.CallConnected", + "data": { + "eventSource": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f", + "operationContext": "addParticipantsAnswer", + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-5109-49a7-a383-10c99342351f", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-03-08T21:37:40.3634744+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-a370-42eb-9403-c2d88b330bc9", + "eventSource": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f", "participants": [ { "identifier": { @@ -97,7 +99,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -107,40 +110,41 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-a370-42eb-9403-c2d88b330bc9", + "callConnectionId": "421f0b00-5109-49a7-a383-10c99342351f", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:54:40.8397743+00:00", + "time": "2024-03-08T21:37:40.3947633+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-a370-42eb-9403-c2d88b330bc9" + "subject": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-a370-42eb-9403-c2d88b330bc9", + "source": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-a370-42eb-9403-c2d88b330bc9", + "eventSource": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", "operationContext": "addParticipantsCreateCall", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-a370-42eb-9403-c2d88b330bc9", + "callConnectionId": "421f0b00-1788-4472-967b-7f2d40b27e35", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:54:40.8397743+00:00", + "time": "2024-03-08T21:37:40.4102928+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-a370-42eb-9403-c2d88b330bc9" + "subject": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35" } ], { @@ -166,30 +170,57 @@ [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-9218-421c-86be-cb808bc4100f", + "source": "calling/callConnections/421f0b00-4a48-46d5-9052-4acc50dbd6a9", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-9218-421c-86be-cb808bc4100f", + "eventSource": "calling/callConnections/421f0b00-4a48-46d5-9052-4acc50dbd6a9", "operationContext": "addParticipantsAnswer2", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-9218-421c-86be-cb808bc4100f", + "callConnectionId": "421f0b00-4a48-46d5-9052-4acc50dbd6a9", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:54:54.6377958+00:00", + "time": "2024-03-08T21:37:48.6373583+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-9218-421c-86be-cb808bc4100f" + "subject": "calling/callConnections/421f0b00-4a48-46d5-9052-4acc50dbd6a9" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-0788-4e8d-8e76-5753d141e789", + "source": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", + "type": "Microsoft.Communication.AddParticipantSucceeded", + "data": { + "eventSource": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", + "operationContext": "addParticipants", + "participant": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-1788-4472-967b-7f2d40b27e35", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.AddParticipantSucceeded" + }, + "time": "2024-03-08T21:37:48.9655424+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-0788-4e8d-8e76-5753d141e789", + "eventSource": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f", "participants": [ { "identifier": { @@ -199,7 +230,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -209,7 +241,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -219,29 +252,85 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 3, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-0788-4e8d-8e76-5753d141e789", + "callConnectionId": "421f0b00-5109-49a7-a383-10c99342351f", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-03-08T21:37:48.9655424+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-4a48-46d5-9052-4acc50dbd6a9", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "eventSource": "calling/callConnections/421f0b00-4a48-46d5-9052-4acc50dbd6a9", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 4, + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-4a48-46d5-9052-4acc50dbd6a9", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:54:55.1222236+00:00", + "time": "2024-03-08T21:37:49.0592372+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-0788-4e8d-8e76-5753d141e789" + "subject": "calling/callConnections/421f0b00-4a48-46d5-9052-4acc50dbd6a9" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-9218-421c-86be-cb808bc4100f", + "source": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-9218-421c-86be-cb808bc4100f", + "eventSource": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", "participants": [ { "identifier": { @@ -251,7 +340,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -261,7 +351,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -271,47 +362,186 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 3, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-9218-421c-86be-cb808bc4100f", + "callConnectionId": "421f0b00-1788-4472-967b-7f2d40b27e35", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:54:55.1222236+00:00", + "time": "2024-03-08T21:37:48.9655424+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-9218-421c-86be-cb808bc4100f" + "subject": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-a370-42eb-9403-c2d88b330bc9", - "type": "Microsoft.Communication.AddParticipantSucceeded", + "source": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", + "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-a370-42eb-9403-c2d88b330bc9", - "operationContext": "addParticipants", - "participant": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" + "eventSource": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false } - }, + ], + "sequenceNumber": 5, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-a370-42eb-9403-c2d88b330bc9", + "callConnectionId": "421f0b00-1788-4472-967b-7f2d40b27e35", "serverCallId": "sanitized", "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.AddParticipantSucceeded" + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-03-08T21:37:49.5593014+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-4a48-46d5-9052-4acc50dbd6a9", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "eventSource": "calling/callConnections/421f0b00-4a48-46d5-9052-4acc50dbd6a9", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 5, + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-4a48-46d5-9052-4acc50dbd6a9", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-03-08T21:37:49.6374189+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-4a48-46d5-9052-4acc50dbd6a9" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "eventSource": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 4, + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-5109-49a7-a383-10c99342351f", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:54:55.1690901+00:00", + "time": "2024-03-08T21:37:49.5593014+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-a370-42eb-9403-c2d88b330bc9" + "subject": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_cancels_add_participant_request.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_cancels_add_participant_request.json index ee35e4f574ce..533bf983ca4f 100644 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_cancels_add_participant_request.json +++ b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_cancels_add_participant_request.json @@ -22,30 +22,30 @@ [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-b00b-430b-be94-c5e26efa4261", + "source": "calling/callConnections/421f0b00-b2ae-42ed-93d9-260c55a41871", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-b00b-430b-be94-c5e26efa4261", + "eventSource": "calling/callConnections/421f0b00-b2ae-42ed-93d9-260c55a41871", "operationContext": "cancelAddCreateAnswer", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-b00b-430b-be94-c5e26efa4261", + "callConnectionId": "421f0b00-b2ae-42ed-93d9-260c55a41871", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:55:54.8379005+00:00", + "time": "2024-03-08T21:38:23.8905626+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-b00b-430b-be94-c5e26efa4261" + "subject": "calling/callConnections/421f0b00-b2ae-42ed-93d9-260c55a41871" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-b00b-430b-be94-c5e26efa4261", + "source": "calling/callConnections/421f0b00-b2ae-42ed-93d9-260c55a41871", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-b00b-430b-be94-c5e26efa4261", + "eventSource": "calling/callConnections/421f0b00-b2ae-42ed-93d9-260c55a41871", "participants": [ { "identifier": { @@ -55,7 +55,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -65,29 +66,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-b00b-430b-be94-c5e26efa4261", + "callConnectionId": "421f0b00-b2ae-42ed-93d9-260c55a41871", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:54.8535359+00:00", + "time": "2024-03-08T21:38:23.9061909+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-b00b-430b-be94-c5e26efa4261" + "subject": "calling/callConnections/421f0b00-b2ae-42ed-93d9-260c55a41871" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-5c1c-453e-ac00-6084be25e84b", + "source": "calling/callConnections/421f0b00-71de-46ae-8a08-62b2325ab09b", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-5c1c-453e-ac00-6084be25e84b", + "eventSource": "calling/callConnections/421f0b00-71de-46ae-8a08-62b2325ab09b", "participants": [ { "identifier": { @@ -97,7 +99,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -107,60 +110,61 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-5c1c-453e-ac00-6084be25e84b", + "callConnectionId": "421f0b00-71de-46ae-8a08-62b2325ab09b", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:54.9316037+00:00", + "time": "2024-03-08T21:38:23.9531188+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-5c1c-453e-ac00-6084be25e84b" + "subject": "calling/callConnections/421f0b00-71de-46ae-8a08-62b2325ab09b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-5c1c-453e-ac00-6084be25e84b", + "source": "calling/callConnections/421f0b00-71de-46ae-8a08-62b2325ab09b", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-5c1c-453e-ac00-6084be25e84b", + "eventSource": "calling/callConnections/421f0b00-71de-46ae-8a08-62b2325ab09b", "operationContext": "cancelAddCreateCall", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-5c1c-453e-ac00-6084be25e84b", + "callConnectionId": "421f0b00-71de-46ae-8a08-62b2325ab09b", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:55:54.9316037+00:00", + "time": "2024-03-08T21:38:23.9531188+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-5c1c-453e-ac00-6084be25e84b" + "subject": "calling/callConnections/421f0b00-71de-46ae-8a08-62b2325ab09b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-5c1c-453e-ac00-6084be25e84b", + "source": "calling/callConnections/421f0b00-71de-46ae-8a08-62b2325ab09b", "type": "Microsoft.Communication.CancelAddParticipantSucceeded", "data": { - "invitationId": "f08736db-22ea-4f9e-a71e-d7740e63adba", + "invitationId": "313f266e-c54a-4843-88a6-84a66b1b8f57", "operationContext": "cancelAdd", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-5c1c-453e-ac00-6084be25e84b", + "callConnectionId": "421f0b00-71de-46ae-8a08-62b2325ab09b", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CancelAddParticipantSucceeded" }, - "time": "2024-01-04T13:56:02.1509756+00:00", + "time": "2024-03-08T21:38:28.7198819+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-5c1c-453e-ac00-6084be25e84b" + "subject": "calling/callConnections/421f0b00-71de-46ae-8a08-62b2325ab09b" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_List_all_participants.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_List_all_participants.json index f2c1759fe2da..7d6f59f4a35e 100644 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_List_all_participants.json +++ b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_List_all_participants.json @@ -22,30 +22,30 @@ [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-fec1-44da-8b3a-3112f9584da7", + "source": "calling/callConnections/421f0b00-065e-4aa6-bc19-013d801ead79", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-fec1-44da-8b3a-3112f9584da7", + "eventSource": "calling/callConnections/421f0b00-065e-4aa6-bc19-013d801ead79", "operationContext": "listParticipantsAnswer", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-fec1-44da-8b3a-3112f9584da7", + "callConnectionId": "421f0b00-065e-4aa6-bc19-013d801ead79", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:54:26.1654933+00:00", + "time": "2024-03-08T21:37:32.4250079+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-fec1-44da-8b3a-3112f9584da7" + "subject": "calling/callConnections/421f0b00-065e-4aa6-bc19-013d801ead79" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-261a-435a-a136-2b766145adfd", + "source": "calling/callConnections/421f0b00-065e-4aa6-bc19-013d801ead79", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-261a-435a-a136-2b766145adfd", + "eventSource": "calling/callConnections/421f0b00-065e-4aa6-bc19-013d801ead79", "participants": [ { "identifier": { @@ -55,39 +55,30 @@ "id": "sanitized" } }, - "isMuted": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], - "sequenceNumber": 1, + "sequenceNumber": 0, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-261a-435a-a136-2b766145adfd", + "callConnectionId": "421f0b00-065e-4aa6-bc19-013d801ead79", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:54:26.1811225+00:00", + "time": "2024-03-08T21:37:32.4250079+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-261a-435a-a136-2b766145adfd" + "subject": "calling/callConnections/421f0b00-065e-4aa6-bc19-013d801ead79" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-fec1-44da-8b3a-3112f9584da7", + "source": "calling/callConnections/421f0b00-b014-4eca-b06f-c8dfe2337605", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-fec1-44da-8b3a-3112f9584da7", + "eventSource": "calling/callConnections/421f0b00-b014-4eca-b06f-c8dfe2337605", "participants": [ { "identifier": { @@ -97,7 +88,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -107,40 +99,85 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-fec1-44da-8b3a-3112f9584da7", + "callConnectionId": "421f0b00-b014-4eca-b06f-c8dfe2337605", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:54:26.1811225+00:00", + "time": "2024-03-08T21:37:32.4876083+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-fec1-44da-8b3a-3112f9584da7" + "subject": "calling/callConnections/421f0b00-b014-4eca-b06f-c8dfe2337605" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-261a-435a-a136-2b766145adfd", + "source": "calling/callConnections/421f0b00-b014-4eca-b06f-c8dfe2337605", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-261a-435a-a136-2b766145adfd", + "eventSource": "calling/callConnections/421f0b00-b014-4eca-b06f-c8dfe2337605", "operationContext": "listParticipantsCreateCall", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-261a-435a-a136-2b766145adfd", + "callConnectionId": "421f0b00-b014-4eca-b06f-c8dfe2337605", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:54:26.1811225+00:00", + "time": "2024-03-08T21:37:32.4876083+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-b014-4eca-b06f-c8dfe2337605" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-065e-4aa6-bc19-013d801ead79", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "eventSource": "calling/callConnections/421f0b00-065e-4aa6-bc19-013d801ead79", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-065e-4aa6-bc19-013d801ead79", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-03-08T21:37:33.0188504+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-261a-435a-a136-2b766145adfd" + "subject": "calling/callConnections/421f0b00-065e-4aa6-bc19-013d801ead79" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Mute_a_participant.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Mute_a_participant.json index 409bcd700b11..2b4a1b9d9321 100644 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Mute_a_participant.json +++ b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Mute_a_participant.json @@ -22,29 +22,29 @@ [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209", + "source": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209", + "eventSource": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-d58e-40f6-8f91-d260042c0209", + "callConnectionId": "421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:55:24.744086+00:00", + "time": "2024-03-08T21:38:06.5154356+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209" + "subject": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209", + "source": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209", + "eventSource": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "participants": [ { "identifier": { @@ -54,7 +54,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -64,48 +65,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-d58e-40f6-8f91-d260042c0209", + "callConnectionId": "421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:24.744086+00:00", + "time": "2024-03-08T21:38:06.5310077+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209" + "subject": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15", - "version": "2023-10-03-preview", - "callConnectionId": "401f0700-379c-4224-b8c1-b3ad7e671e15", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-01-04T13:55:24.7753314+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15", + "source": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15", + "eventSource": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", "participants": [ { "identifier": { @@ -115,7 +98,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -125,20 +109,40 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-379c-4224-b8c1-b3ad7e671e15", + "callConnectionId": "421f0b00-2982-4d0a-86c9-c3065a3aeb31", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:24.7753314+00:00", + "time": "2024-03-08T21:38:06.7810657+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "type": "Microsoft.Communication.CallConnected", + "data": { + "eventSource": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-03-08T21:38:06.7966563+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15" + "subject": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31" } ], { @@ -164,29 +168,29 @@ [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23", + "source": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23", + "eventSource": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-e1ec-433e-9c58-71e1c1200d23", + "callConnectionId": "421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:55:38.7929865+00:00", + "time": "2024-03-08T21:38:13.968592+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23" + "subject": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15", + "source": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", "type": "Microsoft.Communication.AddParticipantSucceeded", "data": { - "eventSource": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15", + "eventSource": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", "operationContext": "addParticipant", "participant": { "rawId": "sanitized", @@ -196,24 +200,24 @@ } }, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-379c-4224-b8c1-b3ad7e671e15", + "callConnectionId": "421f0b00-2982-4d0a-86c9-c3065a3aeb31", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.AddParticipantSucceeded" }, - "time": "2024-01-04T13:55:38.933557+00:00", + "time": "2024-03-08T21:38:14.218591+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15" + "subject": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23", + "source": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23", + "eventSource": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "participants": [ { "identifier": { @@ -223,7 +227,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -233,7 +238,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -243,29 +249,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 3, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-e1ec-433e-9c58-71e1c1200d23", + "callConnectionId": "421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:38.9491772+00:00", + "time": "2024-03-08T21:38:14.218591+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23" + "subject": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15", + "source": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15", + "eventSource": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "participants": [ { "identifier": { @@ -275,7 +282,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -285,7 +293,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -295,29 +304,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 3, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-379c-4224-b8c1-b3ad7e671e15", + "callConnectionId": "421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:38.9491772+00:00", + "time": "2024-03-08T21:38:14.218591+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15" + "subject": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23", + "source": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23", + "eventSource": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", "participants": [ { "identifier": { @@ -327,7 +337,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -337,7 +348,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -347,29 +359,85 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 3, + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-03-08T21:38:14.218591+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "eventSource": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 4, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-e1ec-433e-9c58-71e1c1200d23", + "callConnectionId": "421f0b00-2982-4d0a-86c9-c3065a3aeb31", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:40.13679+00:00", + "time": "2024-03-08T21:38:14.8123462+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23" + "subject": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209", + "source": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209", + "eventSource": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "participants": [ { "identifier": { @@ -379,7 +447,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -389,7 +458,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -399,29 +469,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], - "sequenceNumber": 3, + "sequenceNumber": 4, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-d58e-40f6-8f91-d260042c0209", + "callConnectionId": "421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:38.933557+00:00", + "time": "2024-03-08T21:38:14.827968+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209" + "subject": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15", + "source": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15", + "eventSource": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "participants": [ { "identifier": { @@ -431,7 +502,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -441,7 +513,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -451,29 +524,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 4, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-379c-4224-b8c1-b3ad7e671e15", + "callConnectionId": "421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:40.1524766+00:00", + "time": "2024-03-08T21:38:14.827968+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15" + "subject": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23", + "source": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23", + "eventSource": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", "participants": [ { "identifier": { @@ -483,7 +557,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -493,7 +568,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -503,29 +579,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 5, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-e1ec-433e-9c58-71e1c1200d23", + "callConnectionId": "421f0b00-2982-4d0a-86c9-c3065a3aeb31", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:41.3198768+00:00", + "time": "2024-03-08T21:38:15.4061534+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23" + "subject": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209", + "source": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209", + "eventSource": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "participants": [ { "identifier": { @@ -535,7 +612,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -545,7 +623,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -555,29 +634,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], - "sequenceNumber": 4, + "sequenceNumber": 5, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-d58e-40f6-8f91-d260042c0209", + "callConnectionId": "421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:40.1524766+00:00", + "time": "2024-03-08T21:38:15.4217244+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209" + "subject": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23", + "source": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23", + "eventSource": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "participants": [ { "identifier": { @@ -587,7 +667,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -597,7 +678,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -607,29 +689,85 @@ "id": "sanitized" } }, - "isMuted": true + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 5, + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-03-08T21:38:15.4217244+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "eventSource": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 6, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-e1ec-433e-9c58-71e1c1200d23", + "callConnectionId": "421f0b00-2982-4d0a-86c9-c3065a3aeb31", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:42.5074841+00:00", + "time": "2024-03-08T21:38:15.9999232+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23" + "subject": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15", + "source": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15", + "eventSource": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "participants": [ { "identifier": { @@ -639,7 +777,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -649,7 +788,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -659,29 +799,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], - "sequenceNumber": 5, + "sequenceNumber": 6, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-379c-4224-b8c1-b3ad7e671e15", + "callConnectionId": "421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:41.3354448+00:00", + "time": "2024-03-08T21:38:15.9999232+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15" + "subject": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209", + "source": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209", + "eventSource": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "participants": [ { "identifier": { @@ -691,7 +832,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -701,7 +843,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -711,20 +854,186 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], - "sequenceNumber": 5, + "sequenceNumber": 6, + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-03-08T21:38:16.0467512+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "eventSource": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": true, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 7, + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-03-08T21:38:16.5780399+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "eventSource": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": true, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 7, + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-03-08T21:38:16.6092362+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "eventSource": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": true, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 7, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-d58e-40f6-8f91-d260042c0209", + "callConnectionId": "421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:41.3354448+00:00", + "time": "2024-03-08T21:38:16.6249232+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209" + "subject": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Remove_a_participant.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Remove_a_participant.json index d9f4526710bd..0341a2677d81 100644 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Remove_a_participant.json +++ b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Remove_a_participant.json @@ -22,10 +22,30 @@ [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-8e42-49d8-a63d-9ab40787d973", + "source": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9", + "type": "Microsoft.Communication.CallConnected", + "data": { + "eventSource": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9", + "operationContext": "removeParticipantCreateCall", + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-9791-41e0-8604-56e89212b4b9", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-03-08T21:37:57.6687101+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-8e42-49d8-a63d-9ab40787d973", + "eventSource": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9", "participants": [ { "identifier": { @@ -35,7 +55,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -45,69 +66,50 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-8e42-49d8-a63d-9ab40787d973", + "callConnectionId": "421f0b00-9791-41e0-8604-56e89212b4b9", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:07.9457991+00:00", + "time": "2024-03-08T21:37:57.6843442+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-8e42-49d8-a63d-9ab40787d973" + "subject": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-8e42-49d8-a63d-9ab40787d973", + "source": "calling/callConnections/421f0b00-60ad-44f0-a298-0c82455f948b", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-8e42-49d8-a63d-9ab40787d973", + "eventSource": "calling/callConnections/421f0b00-60ad-44f0-a298-0c82455f948b", "operationContext": "removeParticipantsAnswer", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-8e42-49d8-a63d-9ab40787d973", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-01-04T13:55:07.9301673+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-8e42-49d8-a63d-9ab40787d973" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/401f0700-b4bf-4a28-8ca5-fc055b3c7777", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/401f0700-b4bf-4a28-8ca5-fc055b3c7777", - "operationContext": "removeParticipantCreateCall", - "version": "2023-10-03-preview", - "callConnectionId": "401f0700-b4bf-4a28-8ca5-fc055b3c7777", + "callConnectionId": "421f0b00-60ad-44f0-a298-0c82455f948b", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:55:07.9926678+00:00", + "time": "2024-03-08T21:37:57.6687101+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-b4bf-4a28-8ca5-fc055b3c7777" + "subject": "calling/callConnections/421f0b00-60ad-44f0-a298-0c82455f948b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-b4bf-4a28-8ca5-fc055b3c7777", + "source": "calling/callConnections/421f0b00-60ad-44f0-a298-0c82455f948b", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-b4bf-4a28-8ca5-fc055b3c7777", + "eventSource": "calling/callConnections/421f0b00-60ad-44f0-a298-0c82455f948b", "participants": [ { "identifier": { @@ -117,7 +119,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -127,29 +130,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-b4bf-4a28-8ca5-fc055b3c7777", + "callConnectionId": "421f0b00-60ad-44f0-a298-0c82455f948b", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:07.9926678+00:00", + "time": "2024-03-08T21:37:57.6843442+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-b4bf-4a28-8ca5-fc055b3c7777" + "subject": "calling/callConnections/421f0b00-60ad-44f0-a298-0c82455f948b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-b4bf-4a28-8ca5-fc055b3c7777", + "source": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9", "type": "Microsoft.Communication.RemoveParticipantSucceeded", "data": { - "eventSource": "calling/callConnections/401f0700-b4bf-4a28-8ca5-fc055b3c7777", + "eventSource": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9", "operationContext": "removeParticipants", "participant": { "rawId": "sanitized", @@ -159,55 +163,55 @@ } }, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-b4bf-4a28-8ca5-fc055b3c7777", + "callConnectionId": "421f0b00-9791-41e0-8604-56e89212b4b9", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.RemoveParticipantSucceeded" }, - "time": "2024-01-04T13:55:11.5242201+00:00", + "time": "2024-03-08T21:37:59.1843522+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-b4bf-4a28-8ca5-fc055b3c7777" + "subject": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-8e42-49d8-a63d-9ab40787d973", + "source": "calling/callConnections/421f0b00-60ad-44f0-a298-0c82455f948b", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/401f0700-8e42-49d8-a63d-9ab40787d973", + "eventSource": "calling/callConnections/421f0b00-60ad-44f0-a298-0c82455f948b", "operationContext": "removeParticipantsAnswer", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-8e42-49d8-a63d-9ab40787d973", + "callConnectionId": "421f0b00-60ad-44f0-a298-0c82455f948b", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-01-04T13:55:11.5242201+00:00", + "time": "2024-03-08T21:37:59.2468533+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-8e42-49d8-a63d-9ab40787d973" + "subject": "calling/callConnections/421f0b00-60ad-44f0-a298-0c82455f948b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-b4bf-4a28-8ca5-fc055b3c7777", + "source": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/401f0700-b4bf-4a28-8ca5-fc055b3c7777", + "eventSource": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9", "operationContext": "removeParticipantCreateCall", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-b4bf-4a28-8ca5-fc055b3c7777", + "callConnectionId": "421f0b00-9791-41e0-8604-56e89212b4b9", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-01-04T13:55:11.6180411+00:00", + "time": "2024-03-08T21:37:59.6062835+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-b4bf-4a28-8ca5-fc055b3c7777" + "subject": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallRecording_Live_Tests_Creates_a_call,_start_recording,_and_hangs_up.json b/sdk/communication/communication-call-automation/recordings/CallRecording_Live_Tests_Creates_a_call,_start_recording,_and_hangs_up.json index 7341f216485a..765177979ce2 100644 --- a/sdk/communication/communication-call-automation/recordings/CallRecording_Live_Tests_Creates_a_call,_start_recording,_and_hangs_up.json +++ b/sdk/communication/communication-call-automation/recordings/CallRecording_Live_Tests_Creates_a_call,_start_recording,_and_hangs_up.json @@ -22,30 +22,74 @@ [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33", + "source": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "eventSource": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-1c38-48f3-b14b-7c8146050645", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-03-08T21:39:29.5080308+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33", + "eventSource": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", "operationContext": "recordingAnswer", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-9488-401a-9a68-02a7f6bb7f33", + "callConnectionId": "421f0b00-1c38-48f3-b14b-7c8146050645", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:58:21.8864495+00:00", + "time": "2024-03-08T21:39:29.5080308+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33" + "subject": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33", + "source": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33", + "eventSource": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", "participants": [ { "identifier": { @@ -55,49 +99,61 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false } ], - "sequenceNumber": 0, + "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-9488-401a-9a68-02a7f6bb7f33", + "callConnectionId": "421f0b00-8f10-482b-aba4-d4a4fc26b925", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:58:21.8864495+00:00", + "time": "2024-03-08T21:39:29.5861543+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33" + "subject": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-4e44-4a21-9adf-e22fd76ebadb", + "source": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-4e44-4a21-9adf-e22fd76ebadb", + "eventSource": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", "operationContext": "recordingCreateCall", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-4e44-4a21-9adf-e22fd76ebadb", + "callConnectionId": "421f0b00-8f10-482b-aba4-d4a4fc26b925", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:58:21.9177675+00:00", + "time": "2024-03-08T21:39:29.5861543+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-4e44-4a21-9adf-e22fd76ebadb" + "subject": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-4e44-4a21-9adf-e22fd76ebadb", + "source": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-4e44-4a21-9adf-e22fd76ebadb", + "eventSource": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", "participants": [ { "identifier": { @@ -107,7 +163,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -117,29 +174,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], - "sequenceNumber": 1, + "sequenceNumber": 3, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-4e44-4a21-9adf-e22fd76ebadb", + "callConnectionId": "421f0b00-1c38-48f3-b14b-7c8146050645", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:58:21.9177675+00:00", + "time": "2024-03-08T21:39:34.6831704+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-4e44-4a21-9adf-e22fd76ebadb" + "subject": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33", + "source": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33", + "eventSource": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", "participants": [ { "identifier": { @@ -149,7 +207,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -159,52 +218,53 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], - "sequenceNumber": 1, + "sequenceNumber": 3, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-9488-401a-9a68-02a7f6bb7f33", + "callConnectionId": "421f0b00-8f10-482b-aba4-d4a4fc26b925", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:58:23.0896932+00:00", + "time": "2024-03-08T21:39:34.6831704+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33" + "subject": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925" } ], [ { "id": "sanitized", - "source": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LWFzc2UtMDEuY29udi5za3lwZS5jb20vY29udi9hNWNWNncxZXlFT3ZIRUZhWm52Yk53P2k9OSZlPTYzODM4NjE4OTY4OTI2OTg0Mw==/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MDFmMDcwMC0wNjk1LTRmYTAtOGI4Ni1mMWEyZWQ4MzRiODkiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3N2Y4ZTZmZS0yNmM3LTRiODAtYTFlZS1lOWI5OTQyZTJmOTkifQ/RecordingStateChanged", + "source": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAxLmNvbnYuc2t5cGUuY29tL2NvbnYvYUJ3NVNTLXpSa0c0a1d5OGVzVGJXQT9pPTMzJmU9NjM4NDU1MzAwNjYzMTg0NDc0/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MjFmMGIwMC1lZDQyLTQxZjAtOWNiYy00OGZmZGEwODAxMjEiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI2NzE3ZmE2MS03YTFmLTQ0MzEtYWE1ZS1hMDYwM2E1MjBhNDIifQ/RecordingStateChanged", "type": "Microsoft.Communication.RecordingStateChanged", "data": { - "eventSource": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LWFzc2UtMDEuY29udi5za3lwZS5jb20vY29udi9hNWNWNncxZXlFT3ZIRUZhWm52Yk53P2k9OSZlPTYzODM4NjE4OTY4OTI2OTg0Mw==/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MDFmMDcwMC0wNjk1LTRmYTAtOGI4Ni1mMWEyZWQ4MzRiODkiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3N2Y4ZTZmZS0yNmM3LTRiODAtYTFlZS1lOWI5OTQyZTJmOTkifQ/RecordingStateChanged", - "recordingId": "eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MDFmMDcwMC0wNjk1LTRmYTAtOGI4Ni1mMWEyZWQ4MzRiODkiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3N2Y4ZTZmZS0yNmM3LTRiODAtYTFlZS1lOWI5OTQyZTJmOTkifQ", - "state": "inactive", - "startDateTime": "0001-01-01T00:00:00+00:00", + "eventSource": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAxLmNvbnYuc2t5cGUuY29tL2NvbnYvYUJ3NVNTLXpSa0c0a1d5OGVzVGJXQT9pPTMzJmU9NjM4NDU1MzAwNjYzMTg0NDc0/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MjFmMGIwMC1lZDQyLTQxZjAtOWNiYy00OGZmZGEwODAxMjEiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI2NzE3ZmE2MS03YTFmLTQ0MzEtYWE1ZS1hMDYwM2E1MjBhNDIifQ/RecordingStateChanged", + "recordingId": "eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MjFmMGIwMC1lZDQyLTQxZjAtOWNiYy00OGZmZGEwODAxMjEiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI2NzE3ZmE2MS03YTFmLTQ0MzEtYWE1ZS1hMDYwM2E1MjBhNDIifQ", + "state": "active", + "startDateTime": "2024-03-08T21:39:34.3666276+00:00", "recordingType": "acs", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-0695-4fa0-8b86-f1a2ed834b89", + "callConnectionId": "421f0b00-ed42-41f0-9cbc-48ffda080121", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.RecordingStateChanged" }, - "time": "2024-01-04T13:58:34.9828678+00:00", + "time": "2024-03-08T21:39:34.6831704+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LWFzc2UtMDEuY29udi5za3lwZS5jb20vY29udi9hNWNWNncxZXlFT3ZIRUZhWm52Yk53P2k9OSZlPTYzODM4NjE4OTY4OTI2OTg0Mw==/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MDFmMDcwMC0wNjk1LTRmYTAtOGI4Ni1mMWEyZWQ4MzRiODkiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3N2Y4ZTZmZS0yNmM3LTRiODAtYTFlZS1lOWI5OTQyZTJmOTkifQ/RecordingStateChanged" + "subject": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAxLmNvbnYuc2t5cGUuY29tL2NvbnYvYUJ3NVNTLXpSa0c0a1d5OGVzVGJXQT9pPTMzJmU9NjM4NDU1MzAwNjYzMTg0NDc0/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MjFmMGIwMC1lZDQyLTQxZjAtOWNiYy00OGZmZGEwODAxMjEiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI2NzE3ZmE2MS03YTFmLTQ0MzEtYWE1ZS1hMDYwM2E1MjBhNDIifQ/RecordingStateChanged" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-4e44-4a21-9adf-e22fd76ebadb", + "source": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-4e44-4a21-9adf-e22fd76ebadb", + "eventSource": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", "participants": [ { "identifier": { @@ -214,7 +274,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -224,29 +285,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], - "sequenceNumber": 3, + "sequenceNumber": 4, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-4e44-4a21-9adf-e22fd76ebadb", + "callConnectionId": "421f0b00-1c38-48f3-b14b-7c8146050645", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:58:34.9828678+00:00", + "time": "2024-03-08T21:39:35.3394745+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-4e44-4a21-9adf-e22fd76ebadb" + "subject": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33", + "source": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33", + "eventSource": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", "participants": [ { "identifier": { @@ -256,7 +318,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -266,52 +329,55 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], - "sequenceNumber": 3, + "sequenceNumber": 4, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-9488-401a-9a68-02a7f6bb7f33", + "callConnectionId": "421f0b00-8f10-482b-aba4-d4a4fc26b925", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:58:34.9828678+00:00", + "time": "2024-03-08T21:39:35.3394745+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33" + "subject": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925" } ], [ { "id": "sanitized", - "source": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LWFzc2UtMDEuY29udi5za3lwZS5jb20vY29udi9hNWNWNncxZXlFT3ZIRUZhWm52Yk53P2k9OSZlPTYzODM4NjE4OTY4OTI2OTg0Mw==/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MDFmMDcwMC0wNjk1LTRmYTAtOGI4Ni1mMWEyZWQ4MzRiODkiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3N2Y4ZTZmZS0yNmM3LTRiODAtYTFlZS1lOWI5OTQyZTJmOTkifQ/RecordingStateChanged", - "type": "Microsoft.Communication.RecordingStateChanged", + "source": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", + "type": "Microsoft.Communication.PlayCompleted", "data": { - "eventSource": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LWFzc2UtMDEuY29udi5za3lwZS5jb20vY29udi9hNWNWNncxZXlFT3ZIRUZhWm52Yk53P2k9OSZlPTYzODM4NjE4OTY4OTI2OTg0Mw==/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MDFmMDcwMC0wNjk1LTRmYTAtOGI4Ni1mMWEyZWQ4MzRiODkiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3N2Y4ZTZmZS0yNmM3LTRiODAtYTFlZS1lOWI5OTQyZTJmOTkifQ/RecordingStateChanged", - "recordingId": "eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MDFmMDcwMC0wNjk1LTRmYTAtOGI4Ni1mMWEyZWQ4MzRiODkiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3N2Y4ZTZmZS0yNmM3LTRiODAtYTFlZS1lOWI5OTQyZTJmOTkifQ", - "state": "active", - "startDateTime": "2024-01-04T13:58:35.232275+00:00", - "recordingType": "acs", + "eventSource": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "operationContext": "recordingPlay", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-0695-4fa0-8b86-f1a2ed834b89", + "callConnectionId": "421f0b00-8f10-482b-aba4-d4a4fc26b925", "serverCallId": "sanitized", "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.RecordingStateChanged" + "publicEventType": "Microsoft.Communication.PlayCompleted" }, - "time": "2024-01-04T13:58:35.8891917+00:00", + "time": "2024-03-08T21:39:35.3550509+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LWFzc2UtMDEuY29udi5za3lwZS5jb20vY29udi9hNWNWNncxZXlFT3ZIRUZhWm52Yk53P2k9OSZlPTYzODM4NjE4OTY4OTI2OTg0Mw==/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MDFmMDcwMC0wNjk1LTRmYTAtOGI4Ni1mMWEyZWQ4MzRiODkiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3N2Y4ZTZmZS0yNmM3LTRiODAtYTFlZS1lOWI5OTQyZTJmOTkifQ/RecordingStateChanged" + "subject": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-4e44-4a21-9adf-e22fd76ebadb", + "source": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-4e44-4a21-9adf-e22fd76ebadb", + "eventSource": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", "participants": [ { "identifier": { @@ -321,7 +387,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -331,71 +398,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], - "sequenceNumber": 4, - "version": "2023-10-03-preview", - "callConnectionId": "401f0700-4e44-4a21-9adf-e22fd76ebadb", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-01-04T13:58:36.1860826+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-4e44-4a21-9adf-e22fd76ebadb" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "eventSource": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33", - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false - } - ], - "sequenceNumber": 4, + "sequenceNumber": 5, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-9488-401a-9a68-02a7f6bb7f33", + "callConnectionId": "421f0b00-8f10-482b-aba4-d4a4fc26b925", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:58:36.2017818+00:00", + "time": "2024-03-08T21:39:36.5582401+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33" + "subject": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33", + "source": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33", + "eventSource": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", "participants": [ { "identifier": { @@ -405,7 +431,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -415,20 +442,21 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 5, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-9488-401a-9a68-02a7f6bb7f33", + "callConnectionId": "421f0b00-1c38-48f3-b14b-7c8146050645", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:58:37.4675102+00:00", + "time": "2024-03-08T21:39:36.5582401+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33" + "subject": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Create_a_call_and_hangup.json b/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Create_a_call_and_hangup.json index 287231ffb725..e490eb496916 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Create_a_call_and_hangup.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Create_a_call_and_hangup.json @@ -22,10 +22,30 @@ [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-d821-48bf-b4d7-2eecd560844d", + "source": "calling/callConnections/421f0b00-8403-4066-abe5-59b513c6c993", + "type": "Microsoft.Communication.CallConnected", + "data": { + "eventSource": "calling/callConnections/421f0b00-8403-4066-abe5-59b513c6c993", + "operationContext": "operationContextAnswerCall", + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-8403-4066-abe5-59b513c6c993", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-03-08T21:37:18.0158141+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-8403-4066-abe5-59b513c6c993" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-8403-4066-abe5-59b513c6c993", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-d821-48bf-b4d7-2eecd560844d", + "eventSource": "calling/callConnections/421f0b00-8403-4066-abe5-59b513c6c993", "participants": [ { "identifier": { @@ -35,7 +55,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -45,69 +66,50 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-d821-48bf-b4d7-2eecd560844d", + "callConnectionId": "421f0b00-8403-4066-abe5-59b513c6c993", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:53:55.7324065+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-d821-48bf-b4d7-2eecd560844d" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/401f0700-d821-48bf-b4d7-2eecd560844d", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/401f0700-d821-48bf-b4d7-2eecd560844d", - "operationContext": "operationContextAnswerCall", - "version": "2023-10-03-preview", - "callConnectionId": "401f0700-d821-48bf-b4d7-2eecd560844d", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-01-04T13:53:55.7167862+00:00", + "time": "2024-03-08T21:37:18.0158141+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-d821-48bf-b4d7-2eecd560844d" + "subject": "calling/callConnections/421f0b00-8403-4066-abe5-59b513c6c993" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-759b-4279-8fee-66a58c29e311", + "source": "calling/callConnections/421f0b00-6ea3-4c2a-8f2d-be27dfd8b713", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-759b-4279-8fee-66a58c29e311", + "eventSource": "calling/callConnections/421f0b00-6ea3-4c2a-8f2d-be27dfd8b713", "operationContext": "operationContextCreateCall", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-759b-4279-8fee-66a58c29e311", + "callConnectionId": "421f0b00-6ea3-4c2a-8f2d-be27dfd8b713", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:53:55.7949435+00:00", + "time": "2024-03-08T21:37:18.0627211+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-759b-4279-8fee-66a58c29e311" + "subject": "calling/callConnections/421f0b00-6ea3-4c2a-8f2d-be27dfd8b713" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-759b-4279-8fee-66a58c29e311", + "source": "calling/callConnections/421f0b00-6ea3-4c2a-8f2d-be27dfd8b713", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-759b-4279-8fee-66a58c29e311", + "eventSource": "calling/callConnections/421f0b00-6ea3-4c2a-8f2d-be27dfd8b713", "participants": [ { "identifier": { @@ -117,7 +119,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -127,60 +130,61 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-759b-4279-8fee-66a58c29e311", + "callConnectionId": "421f0b00-6ea3-4c2a-8f2d-be27dfd8b713", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:53:55.779278+00:00", + "time": "2024-03-08T21:37:18.0627211+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-759b-4279-8fee-66a58c29e311" + "subject": "calling/callConnections/421f0b00-6ea3-4c2a-8f2d-be27dfd8b713" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-759b-4279-8fee-66a58c29e311", + "source": "calling/callConnections/421f0b00-8403-4066-abe5-59b513c6c993", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/401f0700-759b-4279-8fee-66a58c29e311", - "operationContext": "operationContextCreateCall", + "eventSource": "calling/callConnections/421f0b00-8403-4066-abe5-59b513c6c993", + "operationContext": "operationContextAnswerCall", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-759b-4279-8fee-66a58c29e311", + "callConnectionId": "421f0b00-8403-4066-abe5-59b513c6c993", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-01-04T13:53:59.2327653+00:00", + "time": "2024-03-08T21:37:19.7502105+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-759b-4279-8fee-66a58c29e311" + "subject": "calling/callConnections/421f0b00-8403-4066-abe5-59b513c6c993" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-d821-48bf-b4d7-2eecd560844d", + "source": "calling/callConnections/421f0b00-6ea3-4c2a-8f2d-be27dfd8b713", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/401f0700-d821-48bf-b4d7-2eecd560844d", - "operationContext": "operationContextAnswerCall", + "eventSource": "calling/callConnections/421f0b00-6ea3-4c2a-8f2d-be27dfd8b713", + "operationContext": "operationContextCreateCall", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-d821-48bf-b4d7-2eecd560844d", + "callConnectionId": "421f0b00-6ea3-4c2a-8f2d-be27dfd8b713", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-01-04T13:53:59.2484162+00:00", + "time": "2024-03-08T21:37:19.7345971+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-d821-48bf-b4d7-2eecd560844d" + "subject": "calling/callConnections/421f0b00-6ea3-4c2a-8f2d-be27dfd8b713" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Reject_call.json b/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Reject_call.json index 7caa5956e875..74aee6445616 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Reject_call.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Reject_call.json @@ -22,20 +22,24 @@ [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-7539-4784-b1ea-cd57a598c685", - "type": "Microsoft.Communication.CallDisconnected", + "source": "calling/callConnections/421f0b00-d931-441b-bf88-58b09e9de827", + "type": "Microsoft.Communication.CreateCallFailed", "data": { - "eventSource": "calling/callConnections/401f0700-7539-4784-b1ea-cd57a598c685", - "operationContext": "operationContextRejectCall", + "eventSource": "calling/callConnections/421f0b00-d931-441b-bf88-58b09e9de827", + "resultInformation": { + "code": 603, + "subCode": 0, + "message": "Decline. DiagCode: 603#0.@" + }, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-7539-4784-b1ea-cd57a598c685", + "callConnectionId": "421f0b00-d931-441b-bf88-58b09e9de827", "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallDisconnected" + "publicEventType": "Microsoft.Communication.CreateCallFailed" }, - "time": "2024-01-04T13:54:12.2650422+00:00", + "time": "2024-03-08T21:37:25.9377797+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-7539-4784-b1ea-cd57a598c685" + "subject": "calling/callConnections/421f0b00-d931-441b-bf88-58b09e9de827" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Cancel_all_media_operations.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Cancel_all_media_operations.json index 1b15eee5e091..da0cf3e95de1 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Cancel_all_media_operations.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Cancel_all_media_operations.json @@ -22,30 +22,10 @@ [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-8e04-413a-9b5e-b02759908051", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/401f0700-8e04-413a-9b5e-b02759908051", - "operationContext": "CancelMediaAnswer", - "version": "2023-10-03-preview", - "callConnectionId": "401f0700-8e04-413a-9b5e-b02759908051", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-01-04T13:57:30.3101884+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-8e04-413a-9b5e-b02759908051" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/401f0700-8e04-413a-9b5e-b02759908051", + "source": "calling/callConnections/421f0b00-9261-412e-a223-4b580dafa91b", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-8e04-413a-9b5e-b02759908051", + "eventSource": "calling/callConnections/421f0b00-9261-412e-a223-4b580dafa91b", "participants": [ { "identifier": { @@ -55,7 +35,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -65,49 +46,70 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-8e04-413a-9b5e-b02759908051", + "callConnectionId": "421f0b00-9261-412e-a223-4b580dafa91b", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:57:30.3258031+00:00", + "time": "2024-03-08T21:39:05.4893087+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-9261-412e-a223-4b580dafa91b" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-9261-412e-a223-4b580dafa91b", + "type": "Microsoft.Communication.CallConnected", + "data": { + "eventSource": "calling/callConnections/421f0b00-9261-412e-a223-4b580dafa91b", + "operationContext": "CancelMediaAnswer", + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-9261-412e-a223-4b580dafa91b", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-03-08T21:39:05.4893087+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-8e04-413a-9b5e-b02759908051" + "subject": "calling/callConnections/421f0b00-9261-412e-a223-4b580dafa91b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-ce1c-463a-8ffa-2e86a6a6c239", + "source": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-ce1c-463a-8ffa-2e86a6a6c239", + "eventSource": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db", "operationContext": "CancelMediaCreateCall", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-ce1c-463a-8ffa-2e86a6a6c239", + "callConnectionId": "421f0b00-dc54-4538-9eb8-ed6ee263a7db", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:57:30.3883243+00:00", + "time": "2024-03-08T21:39:05.5674975+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-ce1c-463a-8ffa-2e86a6a6c239" + "subject": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-ce1c-463a-8ffa-2e86a6a6c239", + "source": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-ce1c-463a-8ffa-2e86a6a6c239", + "eventSource": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db", "participants": [ { "identifier": { @@ -117,7 +119,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -127,80 +130,81 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-ce1c-463a-8ffa-2e86a6a6c239", + "callConnectionId": "421f0b00-dc54-4538-9eb8-ed6ee263a7db", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:57:30.3727507+00:00", + "time": "2024-03-08T21:39:05.5674975+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-ce1c-463a-8ffa-2e86a6a6c239" + "subject": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-ce1c-463a-8ffa-2e86a6a6c239", + "source": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db", "type": "Microsoft.Communication.PlayCanceled", "data": { - "eventSource": "calling/callConnections/401f0700-ce1c-463a-8ffa-2e86a6a6c239", + "eventSource": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db", "operationContext": "CancelplayToAllAudio", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-ce1c-463a-8ffa-2e86a6a6c239", + "callConnectionId": "421f0b00-dc54-4538-9eb8-ed6ee263a7db", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.PlayCanceled" }, - "time": "2024-01-04T13:57:33.9198494+00:00", + "time": "2024-03-08T21:39:07.2549531+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-ce1c-463a-8ffa-2e86a6a6c239" + "subject": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-ce1c-463a-8ffa-2e86a6a6c239", + "source": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/401f0700-ce1c-463a-8ffa-2e86a6a6c239", + "eventSource": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db", "operationContext": "CancelMediaCreateCall", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-ce1c-463a-8ffa-2e86a6a6c239", + "callConnectionId": "421f0b00-dc54-4538-9eb8-ed6ee263a7db", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-01-04T13:57:36.1075228+00:00", + "time": "2024-03-08T21:39:08.4112185+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-ce1c-463a-8ffa-2e86a6a6c239" + "subject": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-8e04-413a-9b5e-b02759908051", + "source": "calling/callConnections/421f0b00-9261-412e-a223-4b580dafa91b", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/401f0700-8e04-413a-9b5e-b02759908051", + "eventSource": "calling/callConnections/421f0b00-9261-412e-a223-4b580dafa91b", "operationContext": "CancelMediaAnswer", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-8e04-413a-9b5e-b02759908051", + "callConnectionId": "421f0b00-9261-412e-a223-4b580dafa91b", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-01-04T13:57:36.1388376+00:00", + "time": "2024-03-08T21:39:08.4737327+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-8e04-413a-9b5e-b02759908051" + "subject": "calling/callConnections/421f0b00-9261-412e-a223-4b580dafa91b" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_all_participants.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_all_participants.json index 77679c725ca2..2be2bce78d17 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_all_participants.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_all_participants.json @@ -22,10 +22,30 @@ [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-80ab-45c1-b923-a8776c5d8c1d", + "source": "calling/callConnections/421f0b00-7d30-4c7e-bd99-05a35aa38603", + "type": "Microsoft.Communication.CallConnected", + "data": { + "eventSource": "calling/callConnections/421f0b00-7d30-4c7e-bd99-05a35aa38603", + "operationContext": "playToAllAnswer", + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-7d30-4c7e-bd99-05a35aa38603", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-03-08T21:38:52.3016596+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-7d30-4c7e-bd99-05a35aa38603" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-7d30-4c7e-bd99-05a35aa38603", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-80ab-45c1-b923-a8776c5d8c1d", + "eventSource": "calling/callConnections/421f0b00-7d30-4c7e-bd99-05a35aa38603", "participants": [ { "identifier": { @@ -35,7 +55,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -45,29 +66,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-80ab-45c1-b923-a8776c5d8c1d", + "callConnectionId": "421f0b00-7d30-4c7e-bd99-05a35aa38603", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:56:53.4703527+00:00", + "time": "2024-03-08T21:38:52.3172836+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-80ab-45c1-b923-a8776c5d8c1d" + "subject": "calling/callConnections/421f0b00-7d30-4c7e-bd99-05a35aa38603" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-0a30-48dd-9303-766f08019c43", + "source": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-0a30-48dd-9303-766f08019c43", + "eventSource": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325", "participants": [ { "identifier": { @@ -77,7 +99,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -87,69 +110,50 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-0a30-48dd-9303-766f08019c43", + "callConnectionId": "421f0b00-190f-4eb1-ae5b-37dadd8c0325", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:56:53.4546795+00:00", + "time": "2024-03-08T21:38:52.3642538+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-0a30-48dd-9303-766f08019c43" + "subject": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-80ab-45c1-b923-a8776c5d8c1d", + "source": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-80ab-45c1-b923-a8776c5d8c1d", + "eventSource": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325", "operationContext": "playToAllCreateCall", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-80ab-45c1-b923-a8776c5d8c1d", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-01-04T13:56:53.4703527+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-80ab-45c1-b923-a8776c5d8c1d" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/401f0700-0a30-48dd-9303-766f08019c43", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/401f0700-0a30-48dd-9303-766f08019c43", - "operationContext": "playToAllAnswer", - "version": "2023-10-03-preview", - "callConnectionId": "401f0700-0a30-48dd-9303-766f08019c43", + "callConnectionId": "421f0b00-190f-4eb1-ae5b-37dadd8c0325", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:56:53.4390729+00:00", + "time": "2024-03-08T21:38:52.3642538+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-0a30-48dd-9303-766f08019c43" + "subject": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-80ab-45c1-b923-a8776c5d8c1d", + "source": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325", "type": "Microsoft.Communication.PlayCompleted", "data": { - "eventSource": "calling/callConnections/401f0700-80ab-45c1-b923-a8776c5d8c1d", + "eventSource": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325", "resultInformation": { "code": 200, "subCode": 0, @@ -157,55 +161,55 @@ }, "operationContext": "playToAllAudio", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-80ab-45c1-b923-a8776c5d8c1d", + "callConnectionId": "421f0b00-190f-4eb1-ae5b-37dadd8c0325", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.PlayCompleted" }, - "time": "2024-01-04T13:57:14.4328996+00:00", + "time": "2024-03-08T21:38:58.1299007+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-80ab-45c1-b923-a8776c5d8c1d" + "subject": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-80ab-45c1-b923-a8776c5d8c1d", + "source": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/401f0700-80ab-45c1-b923-a8776c5d8c1d", + "eventSource": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325", "operationContext": "playToAllCreateCall", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-80ab-45c1-b923-a8776c5d8c1d", + "callConnectionId": "421f0b00-190f-4eb1-ae5b-37dadd8c0325", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-01-04T13:57:16.40183+00:00", + "time": "2024-03-08T21:38:59.0048585+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-80ab-45c1-b923-a8776c5d8c1d" + "subject": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-0a30-48dd-9303-766f08019c43", + "source": "calling/callConnections/421f0b00-7d30-4c7e-bd99-05a35aa38603", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/401f0700-0a30-48dd-9303-766f08019c43", + "eventSource": "calling/callConnections/421f0b00-7d30-4c7e-bd99-05a35aa38603", "operationContext": "playToAllAnswer", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-0a30-48dd-9303-766f08019c43", + "callConnectionId": "421f0b00-7d30-4c7e-bd99-05a35aa38603", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-01-04T13:57:16.417459+00:00", + "time": "2024-03-08T21:38:59.0673616+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-0a30-48dd-9303-766f08019c43" + "subject": "calling/callConnections/421f0b00-7d30-4c7e-bd99-05a35aa38603" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_target_participant.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_target_participant.json index 4b6b565dcb3c..a173c1890ef5 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_target_participant.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_target_participant.json @@ -22,30 +22,30 @@ [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "source": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7", - "operationContext": "playAudioCreateCall", + "eventSource": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", + "operationContext": "playAudioAnswer", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "callConnectionId": "421f0b00-abd6-405b-adcd-379e020f1e79", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:56:15.480259+00:00", + "time": "2024-03-08T21:38:36.0029069+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7" + "subject": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "source": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "eventSource": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", "participants": [ { "identifier": { @@ -55,7 +55,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -65,49 +66,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "callConnectionId": "421f0b00-abd6-405b-adcd-379e020f1e79", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:56:15.511458+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395", - "operationContext": "playAudioAnswer", - "version": "2023-10-03-preview", - "callConnectionId": "401f0700-97a3-48bb-946e-f87a63e62395", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-01-04T13:56:15.4958338+00:00", + "time": "2024-03-08T21:38:36.0341077+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395" + "subject": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395", + "source": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395", + "eventSource": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "participants": [ { "identifier": { @@ -117,7 +99,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -127,29 +110,50 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-97a3-48bb-946e-f87a63e62395", + "callConnectionId": "421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:56:15.4958338+00:00", + "time": "2024-03-08T21:38:36.0653533+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", + "type": "Microsoft.Communication.CallConnected", + "data": { + "eventSource": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", + "operationContext": "playAudioCreateCall", + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-0c00-44cd-bcf7-dbf37e55eca3", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-03-08T21:38:36.0653533+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395" + "subject": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "source": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "eventSource": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", "participants": [ { "identifier": { @@ -159,7 +163,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -169,29 +174,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": true } ], - "sequenceNumber": 4, + "sequenceNumber": 3, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "callConnectionId": "421f0b00-abd6-405b-adcd-379e020f1e79", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:56:19.261861+00:00", + "time": "2024-03-08T21:38:39.7372743+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7" + "subject": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395", + "source": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395", + "eventSource": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "participants": [ { "identifier": { @@ -201,7 +207,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -211,29 +218,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": true } ], - "sequenceNumber": 4, + "sequenceNumber": 3, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-97a3-48bb-946e-f87a63e62395", + "callConnectionId": "421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:56:19.261861+00:00", + "time": "2024-03-08T21:38:39.7372743+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395" + "subject": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "source": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "type": "Microsoft.Communication.PlayCompleted", "data": { - "eventSource": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "eventSource": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "resultInformation": { "code": 200, "subCode": 0, @@ -241,24 +249,24 @@ }, "operationContext": "playAudio", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "callConnectionId": "421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.PlayCompleted" }, - "time": "2024-01-04T13:56:36.9976507+00:00", + "time": "2024-03-08T21:38:44.6123274+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7" + "subject": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "source": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "eventSource": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", "participants": [ { "identifier": { @@ -268,7 +276,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -278,29 +287,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 5, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "callConnectionId": "421f0b00-abd6-405b-adcd-379e020f1e79", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:56:37.0288941+00:00", + "time": "2024-03-08T21:38:44.6435749+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7" + "subject": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395", + "source": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395", + "eventSource": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "participants": [ { "identifier": { @@ -310,7 +320,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -320,60 +331,61 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 5, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-97a3-48bb-946e-f87a63e62395", + "callConnectionId": "421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:56:37.0288941+00:00", + "time": "2024-03-08T21:38:44.6592091+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395" + "subject": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "source": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "eventSource": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "operationContext": "playAudioCreateCall", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "callConnectionId": "421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-01-04T13:56:38.8597105+00:00", + "time": "2024-03-08T21:38:46.2061446+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7" + "subject": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395", + "source": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395", + "eventSource": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", "operationContext": "playAudioAnswer", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-97a3-48bb-946e-f87a63e62395", + "callConnectionId": "421f0b00-abd6-405b-adcd-379e020f1e79", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-01-04T13:56:38.8753817+00:00", + "time": "2024-03-08T21:38:46.2842181+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395" + "subject": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Trigger_DTMF_actions.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Trigger_DTMF_actions.json index b3e790370c9c..201def493756 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Trigger_DTMF_actions.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Trigger_DTMF_actions.json @@ -22,201 +22,205 @@ [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef", + "source": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef", + "eventSource": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-1b44-47f8-9969-2db0c54eb3ef", + "callConnectionId": "421f0b00-bad1-454d-b3c5-8864182de29d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:57:51.7181755+00:00", + "time": "2024-03-08T21:39:16.1300989+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef" + "subject": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef", + "source": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef", + "eventSource": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", "participants": [ { "identifier": { "rawId": "sanitized", - "kind": "phoneNumber", - "phoneNumber": { - "value": "sanitized" + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" + "kind": "phoneNumber", + "phoneNumber": { + "value": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-1b44-47f8-9969-2db0c54eb3ef", + "callConnectionId": "421f0b00-bad1-454d-b3c5-8864182de29d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:57:51.7025558+00:00", + "time": "2024-03-08T21:39:16.1300989+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef" + "subject": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-383c-430b-8294-b15170b76617", + "source": "calling/callConnections/421f0b00-df51-4e90-a348-c1afd0559a7d", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-383c-430b-8294-b15170b76617", + "eventSource": "calling/callConnections/421f0b00-df51-4e90-a348-c1afd0559a7d", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-383c-430b-8294-b15170b76617", + "callConnectionId": "421f0b00-df51-4e90-a348-c1afd0559a7d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:57:52.0776421+00:00", + "time": "2024-03-08T21:39:16.2082231+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-383c-430b-8294-b15170b76617" + "subject": "calling/callConnections/421f0b00-df51-4e90-a348-c1afd0559a7d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-383c-430b-8294-b15170b76617", + "source": "calling/callConnections/421f0b00-df51-4e90-a348-c1afd0559a7d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-383c-430b-8294-b15170b76617", + "eventSource": "calling/callConnections/421f0b00-df51-4e90-a348-c1afd0559a7d", "participants": [ { "identifier": { "rawId": "sanitized", - "kind": "phoneNumber", - "phoneNumber": { - "value": "sanitized" + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" + "kind": "phoneNumber", + "phoneNumber": { + "value": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-383c-430b-8294-b15170b76617", + "callConnectionId": "421f0b00-df51-4e90-a348-c1afd0559a7d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:57:52.9370184+00:00", + "time": "2024-03-08T21:39:16.4454559+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-383c-430b-8294-b15170b76617" + "subject": "calling/callConnections/421f0b00-df51-4e90-a348-c1afd0559a7d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef", + "source": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", "type": "Microsoft.Communication.SendDtmfTonesCompleted", "data": { - "eventSource": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef", + "eventSource": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", "operationContext": "ContinuousDtmfRecognitionSend", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-1b44-47f8-9969-2db0c54eb3ef", + "callConnectionId": "421f0b00-bad1-454d-b3c5-8864182de29d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.SendDtmfTonesCompleted" }, - "time": "2024-01-04T13:57:59.0469098+00:00", + "time": "2024-03-08T21:39:21.1954969+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef" + "subject": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef", + "source": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", "type": "Microsoft.Communication.ContinuousDtmfRecognitionStopped", "data": { - "eventSource": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef", + "eventSource": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", "operationContext": "ContinuousDtmfRecognitionStop", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-1b44-47f8-9969-2db0c54eb3ef", + "callConnectionId": "421f0b00-bad1-454d-b3c5-8864182de29d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ContinuousDtmfRecognitionStopped" }, - "time": "2024-01-04T13:58:00.8751965+00:00", + "time": "2024-03-08T21:39:21.8830024+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef" + "subject": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef", + "source": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef", + "eventSource": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-1b44-47f8-9969-2db0c54eb3ef", + "callConnectionId": "421f0b00-bad1-454d-b3c5-8864182de29d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-01-04T13:58:03.0785144+00:00", + "time": "2024-03-08T21:39:23.0548241+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef" + "subject": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-383c-430b-8294-b15170b76617", + "source": "calling/callConnections/421f0b00-df51-4e90-a348-c1afd0559a7d", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/401f0700-383c-430b-8294-b15170b76617", + "eventSource": "calling/callConnections/421f0b00-df51-4e90-a348-c1afd0559a7d", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-383c-430b-8294-b15170b76617", + "callConnectionId": "421f0b00-df51-4e90-a348-c1afd0559a7d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-01-04T13:58:03.7504511+00:00", + "time": "2024-03-08T21:39:23.2892567+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-383c-430b-8294-b15170b76617" + "subject": "calling/callConnections/421f0b00-df51-4e90-a348-c1afd0559a7d" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/review/communication-call-automation.api.md b/sdk/communication/communication-call-automation/review/communication-call-automation.api.md index 7a38a844edfd..32f31323e343 100644 --- a/sdk/communication/communication-call-automation/review/communication-call-automation.api.md +++ b/sdk/communication/communication-call-automation/review/communication-call-automation.api.md @@ -65,6 +65,7 @@ export interface AddParticipantSucceeded extends Omit; } +// Warning: (ae-forgotten-export) The symbol "RestAnswerFailed" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export interface AnswerFailed extends Omit { + callConnectionId: string; + correlationId: string; + kind: "AnswerFailed"; + // Warning: (ae-forgotten-export) The symbol "RestResultInformation" needs to be exported by the entry point index.d.ts + resultInformation?: RestResultInformation; + serverCallId: string; +} + // @public export class CallAutomationClient { constructor(connectionString: string, options?: CallAutomationClientOptions); @@ -106,7 +119,7 @@ export interface CallAutomationClientOptions extends CommonClientOptions { } // @public -export type CallAutomationEvent = AddParticipantSucceeded | AddParticipantFailed | RemoveParticipantSucceeded | RemoveParticipantFailed | CallConnected | CallDisconnected | CallTransferAccepted | CallTransferFailed | ParticipantsUpdated | RecordingStateChanged | TeamsComplianceRecordingStateChanged | TeamsRecordingStateChanged | PlayCompleted | PlayFailed | PlayCanceled | RecognizeCompleted | RecognizeCanceled | RecognizeFailed | ContinuousDtmfRecognitionToneReceived | ContinuousDtmfRecognitionToneFailed | ContinuousDtmfRecognitionStopped | SendDtmfTonesCompleted | SendDtmfTonesFailed | CancelAddParticipantSucceeded | CancelAddParticipantFailed | TranscriptionStarted | TranscriptionStopped | TranscriptionUpdated | TranscriptionFailed; +export type CallAutomationEvent = AddParticipantSucceeded | AddParticipantFailed | RemoveParticipantSucceeded | RemoveParticipantFailed | CallConnected | CallDisconnected | CallTransferAccepted | CallTransferFailed | ParticipantsUpdated | RecordingStateChanged | TeamsComplianceRecordingStateChanged | TeamsRecordingStateChanged | PlayCompleted | PlayFailed | PlayCanceled | RecognizeCompleted | RecognizeCanceled | RecognizeFailed | ContinuousDtmfRecognitionToneReceived | ContinuousDtmfRecognitionToneFailed | ContinuousDtmfRecognitionStopped | SendDtmfTonesCompleted | SendDtmfTonesFailed | CancelAddParticipantSucceeded | CancelAddParticipantFailed | TranscriptionStarted | TranscriptionStopped | TranscriptionUpdated | TranscriptionFailed | CreateCallFailed | AnswerFailed; // @public export class CallAutomationEventProcessor { @@ -203,7 +216,7 @@ export class CallMedia { playToAll(playSources: (FileSource | TextSource | SsmlSource)[], options?: PlayOptions): Promise; sendDtmfTones(tones: Tone[] | DtmfTone[], targetParticipant: CommunicationIdentifier, options?: SendDtmfTonesOptions): Promise; startContinuousDtmfRecognition(targetParticipant: CommunicationIdentifier, options?: ContinuousDtmfRecognitionOptions): Promise; - startHoldMusic(targetParticipant: CommunicationIdentifier, playSource: FileSource | TextSource | SsmlSource, loop?: boolean, operationContext?: string | undefined): Promise; + startHoldMusic(targetParticipant: CommunicationIdentifier, playSource: FileSource | TextSource | SsmlSource, operationContext?: string | undefined): Promise; // @deprecated startRecognizing(targetParticipant: CommunicationIdentifier, maxTonesToCollect: number, options: CallMediaRecognizeDtmfOptions): Promise; startRecognizing(targetParticipant: CommunicationIdentifier, options: CallMediaRecognizeDtmfOptions | CallMediaRecognizeChoiceOptions | CallMediaRecognizeSpeechOptions | CallMediaRecognizeSpeechOrDtmfOptions): Promise; @@ -423,10 +436,22 @@ export interface ContinuousDtmfRecognitionToneReceived extends Omit { + callConnectionId: string; + correlationId: string; + kind: "CreateCallFailed"; + resultInformation?: RestResultInformation; + serverCallId: string; +} + // @public export interface CreateCallOptions extends OperationOptions { callIntelligenceOptions?: CallIntelligenceOptions; @@ -772,8 +797,6 @@ export interface RemoveParticipantSucceeded extends Omit { code: number; diff --git a/sdk/communication/communication-call-automation/src/callAutomationClient.ts b/sdk/communication/communication-call-automation/src/callAutomationClient.ts index fe8b7390c924..9f2c36f9fa1c 100644 --- a/sdk/communication/communication-call-automation/src/callAutomationClient.ts +++ b/sdk/communication/communication-call-automation/src/callAutomationClient.ts @@ -209,6 +209,13 @@ export class CallAutomationClient { createCallEventResult.isSuccess = true; createCallEventResult.successResult = event; return true; + } else if ( + event.callConnectionId === callConnectionId && + event.kind === "CreateCallFailed" + ) { + createCallEventResult.isSuccess = false; + createCallEventResult.failureResult = event; + return true; } else { return false; } @@ -349,6 +356,11 @@ export class CallAutomationClient { answerCallEventResult.isSuccess = true; answerCallEventResult.successResult = event; return true; + } + if (event.callConnectionId === callConnectionId && event.kind === "AnswerFailed") { + answerCallEventResult.isSuccess = false; + answerCallEventResult.failureResult = event; + return true; } else { return false; } diff --git a/sdk/communication/communication-call-automation/src/callAutomationEventParser.ts b/sdk/communication/communication-call-automation/src/callAutomationEventParser.ts index 5b7b3ac9567a..caa409bfc1f1 100644 --- a/sdk/communication/communication-call-automation/src/callAutomationEventParser.ts +++ b/sdk/communication/communication-call-automation/src/callAutomationEventParser.ts @@ -36,6 +36,8 @@ import { TranscriptionStopped, TranscriptionUpdated, TranscriptionFailed, + CreateCallFailed, + AnswerFailed, } from "./models/events"; import { CloudEventMapper } from "./models/mapper"; @@ -160,6 +162,12 @@ export function parseCallAutomationEvent( case "Microsoft.Communication.TranscriptionFailed": callbackEvent = { kind: "TranscriptionFailed" } as TranscriptionFailed; break; + case "Microsoft.Communication.CreateCallFailed": + callbackEvent = { kind: "CreateCallFailed" } as CreateCallFailed; + break; + case "Microsoft.Communication.AnswerFailed": + callbackEvent = { kind: "AnswerFailed" } as AnswerFailed; + break; default: throw new TypeError(`Unknown Call Automation Event type: ${eventType}`); } diff --git a/sdk/communication/communication-call-automation/src/callMedia.ts b/sdk/communication/communication-call-automation/src/callMedia.ts index 3255431f1c8d..d430bd3a5c3b 100644 --- a/sdk/communication/communication-call-automation/src/callMedia.ts +++ b/sdk/communication/communication-call-automation/src/callMedia.ts @@ -608,19 +608,16 @@ export class CallMedia { * * @param targetParticipant - The targets to play to. * @param playSource - A PlaySource representing the source to play. - * @param loop - To play the audio continously until stopped. * @param operationContext - Operation Context. */ public async startHoldMusic( targetParticipant: CommunicationIdentifier, playSource: FileSource | TextSource | SsmlSource, - loop: boolean = true, operationContext: string | undefined = undefined, ): Promise { const holdRequest: StartHoldMusicRequest = { targetParticipant: serializeCommunicationIdentifier(targetParticipant), playSourceInfo: this.createPlaySourceInternal(playSource), - loop: loop, operationContext: operationContext, }; diff --git a/sdk/communication/communication-call-automation/src/eventprocessor/eventResponses.ts b/sdk/communication/communication-call-automation/src/eventprocessor/eventResponses.ts index fbd084daecc7..49d60951447f 100644 --- a/sdk/communication/communication-call-automation/src/eventprocessor/eventResponses.ts +++ b/sdk/communication/communication-call-automation/src/eventprocessor/eventResponses.ts @@ -19,6 +19,8 @@ import { CallTransferFailed, CancelAddParticipantSucceeded, CancelAddParticipantFailed, + CreateCallFailed, + AnswerFailed, } from "../models/events"; /** @@ -43,6 +45,8 @@ export interface AnswerCallEventResult { isSuccess: boolean; /** contains success event if the result was successful */ successResult?: CallConnected; + /** contains failure event if the result was failure */ + failureResult?: AnswerFailed; } /** @@ -65,6 +69,8 @@ export interface CreateCallEventResult { isSuccess: boolean; /** contains success event if the result was successful */ successResult?: CallConnected; + /** contains failure event if the result was failure */ + failureResult?: CreateCallFailed; } /** diff --git a/sdk/communication/communication-call-automation/src/generated/src/models/index.ts b/sdk/communication/communication-call-automation/src/generated/src/models/index.ts index 302b85cb4f58..e686b118d1ef 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/models/index.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/models/index.ts @@ -53,6 +53,8 @@ export interface CommunicationIdentifierModel { phoneNumber?: PhoneNumberIdentifierModel; /** The Microsoft Teams user. */ microsoftTeamsUser?: MicrosoftTeamsUserIdentifierModel; + /** The Microsoft Teams application. */ + microsoftTeamsApp?: MicrosoftTeamsAppIdentifierModel; } /** A user that got created with an Azure Communication Services resource. */ @@ -77,6 +79,14 @@ export interface MicrosoftTeamsUserIdentifierModel { cloud?: CommunicationCloudEnvironmentModel; } +/** A Microsoft Teams application. */ +export interface MicrosoftTeamsAppIdentifierModel { + /** The Id of the Microsoft Teams application. */ + appId: string; + /** The cloud that the Microsoft Teams application belongs to. By default 'public' if missing. */ + cloud?: CommunicationCloudEnvironmentModel; +} + /** Configuration of Media streaming. */ export interface MediaStreamingConfiguration { /** Transport URL for media streaming */ @@ -143,8 +153,8 @@ export interface CallConnectionPropertiesInternal { correlationId?: string; /** Identity of the answering entity. Only populated when identity is provided in the request. */ answeredBy?: CommunicationUserIdentifierModel; - /** The original PSTN target of the incoming Call. */ - originalPstnTarget?: PhoneNumberIdentifierModel; + /** Identity of the original Pstn target of an incoming Call. Only populated when the original target is a Pstn number. */ + answeredFor?: PhoneNumberIdentifierModel; } /** The Communication Services error. */ @@ -419,16 +429,45 @@ export interface UpdateTranscriptionRequest { locale: string; } +/** The request payload for holding participant from the call. */ +export interface HoldRequest { + /** Participant to be held from the call. */ + targetParticipant: CommunicationIdentifierModel; + /** Prompt to play while in hold. */ + playSourceInfo?: PlaySourceInternal; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** + * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation. + * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used. + */ + operationCallbackUri?: string; +} + +/** The request payload for holding participant from the call. */ +export interface UnholdRequest { + /** + * Participants to be hold from the call. + * Only ACS Users are supported. + */ + targetParticipant: CommunicationIdentifierModel; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; +} + /** The request payload for holding participant from the call. */ export interface StartHoldMusicRequest { /** Participant to be held from the call. */ targetParticipant: CommunicationIdentifierModel; /** Prompt to play while in hold. */ - playSourceInfo: PlaySourceInternal; - /** If the prompt will be looped or not. */ - loop?: boolean; + playSourceInfo?: PlaySourceInternal; /** Used by customers when calling mid-call actions to correlate the request to the response event. */ operationContext?: string; + /** + * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation. + * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used. + */ + operationCallbackUri?: string; } /** The request payload for holding participant from the call. */ @@ -503,6 +542,8 @@ export interface CallParticipantInternal { identifier?: CommunicationIdentifierModel; /** Is participant muted */ isMuted?: boolean; + /** Is participant on hold. */ + isOnHold?: boolean; } /** The request payload for adding participant to the call. */ @@ -1989,6 +2030,92 @@ export interface RestTranscriptionFailed { readonly correlationId?: string; } +/** The CreateCallFailed event */ +export interface RestCreateCallFailed { + /** + * Used by customers when calling mid-call actions to correlate the request to the response event. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly operationContext?: string; + /** + * Contains the resulting SIP code, sub-code and message. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resultInformation?: RestResultInformation; + /** + * Call connection ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly callConnectionId?: string; + /** + * Server call ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly serverCallId?: string; + /** + * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly correlationId?: string; +} + +/** AnswerFailed event */ +export interface RestAnswerFailed { + /** + * Used by customers when calling mid-call actions to correlate the request to the response event. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly operationContext?: string; + /** + * Contains the resulting SIP code, sub-code and message. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resultInformation?: RestResultInformation; + /** + * Call connection ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly callConnectionId?: string; + /** + * Server call ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly serverCallId?: string; + /** + * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly correlationId?: string; +} + +export interface RestHoldFailed { + /** + * Used by customers when calling mid-call actions to correlate the request to the response event. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly operationContext?: string; + /** + * Contains the resulting SIP code, sub-code and message. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resultInformation?: RestResultInformation; + /** + * Call connection ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly callConnectionId?: string; + /** + * Server call ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly serverCallId?: string; + /** + * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly correlationId?: string; +} + /** Azure Open AI Dialog */ export interface AzureOpenAIDialog extends BaseDialog { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -2021,6 +2148,8 @@ export enum KnownCommunicationIdentifierModelKind { PhoneNumber = "phoneNumber", /** MicrosoftTeamsUser */ MicrosoftTeamsUser = "microsoftTeamsUser", + /** MicrosoftTeamsApp */ + MicrosoftTeamsApp = "microsoftTeamsApp", } /** @@ -2031,7 +2160,8 @@ export enum KnownCommunicationIdentifierModelKind { * **unknown** \ * **communicationUser** \ * **phoneNumber** \ - * **microsoftTeamsUser** + * **microsoftTeamsUser** \ + * **microsoftTeamsApp** */ export type CommunicationIdentifierModelKind = string; @@ -2452,6 +2582,8 @@ export enum KnownTranscriptionStatus { TranscriptionStarted = "transcriptionStarted", /** TranscriptionFailed */ TranscriptionFailed = "transcriptionFailed", + /** TranscriptionResumed */ + TranscriptionResumed = "transcriptionResumed", /** TranscriptionUpdated */ TranscriptionUpdated = "transcriptionUpdated", /** TranscriptionStopped */ @@ -2467,6 +2599,7 @@ export enum KnownTranscriptionStatus { * ### Known values supported by the service * **transcriptionStarted** \ * **transcriptionFailed** \ + * **transcriptionResumed** \ * **transcriptionUpdated** \ * **transcriptionStopped** \ * **unspecifiedError** @@ -2748,6 +2881,14 @@ export type CallMediaSendDtmfTonesResponse = SendDtmfTonesResult; export interface CallMediaUpdateTranscriptionOptionalParams extends coreClient.OperationOptions {} +/** Optional parameters. */ +export interface CallMediaHoldOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface CallMediaUnholdOptionalParams + extends coreClient.OperationOptions {} + /** Optional parameters. */ export interface CallMediaStartHoldMusicOptionalParams extends coreClient.OperationOptions {} @@ -2766,7 +2907,7 @@ export type CallDialogStartDialogResponse = DialogStateResponse; /** Optional parameters. */ export interface CallDialogStopDialogOptionalParams extends coreClient.OperationOptions { - /** Opeation callback URI. */ + /** Operation callback URI. */ operationCallbackUri?: string; } diff --git a/sdk/communication/communication-call-automation/src/generated/src/models/mappers.ts b/sdk/communication/communication-call-automation/src/generated/src/models/mappers.ts index 275f7ef68f8d..63a7175c1418 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/models/mappers.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/models/mappers.ts @@ -129,6 +129,13 @@ export const CommunicationIdentifierModel: coreClient.CompositeMapper = { className: "MicrosoftTeamsUserIdentifierModel", }, }, + microsoftTeamsApp: { + serializedName: "microsoftTeamsApp", + type: { + name: "Composite", + className: "MicrosoftTeamsAppIdentifierModel", + }, + }, }, }, }; @@ -193,6 +200,28 @@ export const MicrosoftTeamsUserIdentifierModel: coreClient.CompositeMapper = { }, }; +export const MicrosoftTeamsAppIdentifierModel: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MicrosoftTeamsAppIdentifierModel", + modelProperties: { + appId: { + serializedName: "appId", + required: true, + type: { + name: "String", + }, + }, + cloud: { + serializedName: "cloud", + type: { + name: "String", + }, + }, + }, + }, +}; + export const MediaStreamingConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", @@ -391,8 +420,8 @@ export const CallConnectionPropertiesInternal: coreClient.CompositeMapper = { className: "CommunicationUserIdentifierModel", }, }, - originalPstnTarget: { - serializedName: "originalPSTNTarget", + answeredFor: { + serializedName: "answeredFor", type: { name: "Composite", className: "PhoneNumberIdentifierModel", @@ -1175,10 +1204,10 @@ export const UpdateTranscriptionRequest: coreClient.CompositeMapper = { }, }; -export const StartHoldMusicRequest: coreClient.CompositeMapper = { +export const HoldRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "StartHoldMusicRequest", + className: "HoldRequest", modelProperties: { targetParticipant: { serializedName: "targetParticipant", @@ -1194,10 +1223,61 @@ export const StartHoldMusicRequest: coreClient.CompositeMapper = { className: "PlaySourceInternal", }, }, - loop: { - serializedName: "loop", + operationContext: { + serializedName: "operationContext", type: { - name: "Boolean", + name: "String", + }, + }, + operationCallbackUri: { + serializedName: "operationCallbackUri", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const UnholdRequest: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "UnholdRequest", + modelProperties: { + targetParticipant: { + serializedName: "targetParticipant", + type: { + name: "Composite", + className: "CommunicationIdentifierModel", + }, + }, + operationContext: { + serializedName: "operationContext", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const StartHoldMusicRequest: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "StartHoldMusicRequest", + modelProperties: { + targetParticipant: { + serializedName: "targetParticipant", + type: { + name: "Composite", + className: "CommunicationIdentifierModel", + }, + }, + playSourceInfo: { + serializedName: "playSourceInfo", + type: { + name: "Composite", + className: "PlaySourceInternal", }, }, operationContext: { @@ -1206,6 +1286,12 @@ export const StartHoldMusicRequest: coreClient.CompositeMapper = { name: "String", }, }, + operationCallbackUri: { + serializedName: "operationCallbackUri", + type: { + name: "String", + }, + }, }, }, }; @@ -1423,6 +1509,12 @@ export const CallParticipantInternal: coreClient.CompositeMapper = { name: "Boolean", }, }, + isOnHold: { + serializedName: "isOnHold", + type: { + name: "Boolean", + }, + }, }, }, }; @@ -4034,6 +4126,138 @@ export const RestTranscriptionFailed: coreClient.CompositeMapper = { }, }; +export const RestCreateCallFailed: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestCreateCallFailed", + modelProperties: { + operationContext: { + serializedName: "operationContext", + readOnly: true, + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, + callConnectionId: { + serializedName: "callConnectionId", + readOnly: true, + type: { + name: "String", + }, + }, + serverCallId: { + serializedName: "serverCallId", + readOnly: true, + type: { + name: "String", + }, + }, + correlationId: { + serializedName: "correlationId", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const RestAnswerFailed: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestAnswerFailed", + modelProperties: { + operationContext: { + serializedName: "operationContext", + readOnly: true, + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, + callConnectionId: { + serializedName: "callConnectionId", + readOnly: true, + type: { + name: "String", + }, + }, + serverCallId: { + serializedName: "serverCallId", + readOnly: true, + type: { + name: "String", + }, + }, + correlationId: { + serializedName: "correlationId", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const RestHoldFailed: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestHoldFailed", + modelProperties: { + operationContext: { + serializedName: "operationContext", + readOnly: true, + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, + callConnectionId: { + serializedName: "callConnectionId", + readOnly: true, + type: { + name: "String", + }, + }, + serverCallId: { + serializedName: "serverCallId", + readOnly: true, + type: { + name: "String", + }, + }, + correlationId: { + serializedName: "correlationId", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + export const AzureOpenAIDialog: coreClient.CompositeMapper = { serializedName: "AzureOpenAI", type: { diff --git a/sdk/communication/communication-call-automation/src/generated/src/models/parameters.ts b/sdk/communication/communication-call-automation/src/generated/src/models/parameters.ts index bba2d0e3de02..b2bc1a702c9a 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/models/parameters.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/models/parameters.ts @@ -29,6 +29,8 @@ import { ContinuousDtmfRecognitionRequest as ContinuousDtmfRecognitionRequestMapper, SendDtmfTonesRequest as SendDtmfTonesRequestMapper, UpdateTranscriptionRequest as UpdateTranscriptionRequestMapper, + HoldRequest as HoldRequestMapper, + UnholdRequest as UnholdRequestMapper, StartHoldMusicRequest as StartHoldMusicRequestMapper, StopHoldMusicRequest as StopHoldMusicRequestMapper, StartDialogRequest as StartDialogRequestMapper, @@ -223,6 +225,16 @@ export const updateTranscriptionRequest: OperationParameter = { mapper: UpdateTranscriptionRequestMapper, }; +export const holdRequest: OperationParameter = { + parameterPath: "holdRequest", + mapper: HoldRequestMapper, +}; + +export const unholdRequest: OperationParameter = { + parameterPath: "unholdRequest", + mapper: UnholdRequestMapper, +}; + export const startHoldMusicRequest: OperationParameter = { parameterPath: "startHoldMusicRequest", mapper: StartHoldMusicRequestMapper, diff --git a/sdk/communication/communication-call-automation/src/generated/src/operations/callConnection.ts b/sdk/communication/communication-call-automation/src/generated/src/operations/callConnection.ts index cf6da1fd1803..bee6ed521a63 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operations/callConnection.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operations/callConnection.ts @@ -464,7 +464,7 @@ const muteOperationSpec: coreClient.OperationSpec = { path: "/calling/callConnections/{callConnectionId}/participants:mute", httpMethod: "POST", responses: { - 202: { + 200: { bodyMapper: Mappers.MuteParticipantsResult, }, default: { diff --git a/sdk/communication/communication-call-automation/src/generated/src/operations/callMedia.ts b/sdk/communication/communication-call-automation/src/generated/src/operations/callMedia.ts index 2725b56d1313..c0c7f56357cb 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operations/callMedia.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operations/callMedia.ts @@ -29,6 +29,10 @@ import { CallMediaSendDtmfTonesResponse, UpdateTranscriptionRequest, CallMediaUpdateTranscriptionOptionalParams, + HoldRequest, + CallMediaHoldOptionalParams, + UnholdRequest, + CallMediaUnholdOptionalParams, StartHoldMusicRequest, CallMediaStartHoldMusicOptionalParams, StopHoldMusicRequest, @@ -198,6 +202,40 @@ export class CallMediaImpl implements CallMedia { ); } + /** + * Hold participant from the call using identifier. + * @param callConnectionId The call connection id. + * @param holdRequest The participants to be hold from the call. + * @param options The options parameters. + */ + hold( + callConnectionId: string, + holdRequest: HoldRequest, + options?: CallMediaHoldOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { callConnectionId, holdRequest, options }, + holdOperationSpec, + ); + } + + /** + * Unhold participants from the call using identifier. + * @param callConnectionId The call connection id. + * @param unholdRequest The participants to be hold from the call. + * @param options The options parameters. + */ + unhold( + callConnectionId: string, + unholdRequest: UnholdRequest, + options?: CallMediaUnholdOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { callConnectionId, unholdRequest, options }, + unholdOperationSpec, + ); + } + /** * Hold participant from the call using identifier. * @param callConnectionId The call connection id. @@ -384,6 +422,38 @@ const updateTranscriptionOperationSpec: coreClient.OperationSpec = { mediaType: "json", serializer, }; +const holdOperationSpec: coreClient.OperationSpec = { + path: "/calling/callConnections/{callConnectionId}:hold", + httpMethod: "POST", + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CommunicationErrorResponse, + }, + }, + requestBody: Parameters.holdRequest, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.endpoint, Parameters.callConnectionId], + headerParameters: [Parameters.contentType, Parameters.accept], + mediaType: "json", + serializer, +}; +const unholdOperationSpec: coreClient.OperationSpec = { + path: "/calling/callConnections/{callConnectionId}:unhold", + httpMethod: "POST", + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CommunicationErrorResponse, + }, + }, + requestBody: Parameters.unholdRequest, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.endpoint, Parameters.callConnectionId], + headerParameters: [Parameters.contentType, Parameters.accept], + mediaType: "json", + serializer, +}; const startHoldMusicOperationSpec: coreClient.OperationSpec = { path: "/calling/callConnections/{callConnectionId}:startHoldMusic", httpMethod: "POST", diff --git a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callMedia.ts b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callMedia.ts index 40e0281bee7b..63a2a9419233 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callMedia.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callMedia.ts @@ -24,6 +24,10 @@ import { CallMediaSendDtmfTonesResponse, UpdateTranscriptionRequest, CallMediaUpdateTranscriptionOptionalParams, + HoldRequest, + CallMediaHoldOptionalParams, + UnholdRequest, + CallMediaUnholdOptionalParams, StartHoldMusicRequest, CallMediaStartHoldMusicOptionalParams, StopHoldMusicRequest, @@ -129,6 +133,28 @@ export interface CallMedia { updateTranscriptionRequest: UpdateTranscriptionRequest, options?: CallMediaUpdateTranscriptionOptionalParams, ): Promise; + /** + * Hold participant from the call using identifier. + * @param callConnectionId The call connection id. + * @param holdRequest The participants to be hold from the call. + * @param options The options parameters. + */ + hold( + callConnectionId: string, + holdRequest: HoldRequest, + options?: CallMediaHoldOptionalParams, + ): Promise; + /** + * Unhold participants from the call using identifier. + * @param callConnectionId The call connection id. + * @param unholdRequest The participants to be hold from the call. + * @param options The options parameters. + */ + unhold( + callConnectionId: string, + unholdRequest: UnholdRequest, + options?: CallMediaUnholdOptionalParams, + ): Promise; /** * Hold participant from the call using identifier. * @param callConnectionId The call connection id. diff --git a/sdk/communication/communication-call-automation/src/models/events.ts b/sdk/communication/communication-call-automation/src/models/events.ts index fb57b6f120b1..a314b5d092f4 100644 --- a/sdk/communication/communication-call-automation/src/models/events.ts +++ b/sdk/communication/communication-call-automation/src/models/events.ts @@ -35,6 +35,8 @@ import { RestTranscriptionStopped, RestTranscriptionUpdated, RestTranscriptionFailed, + RestCreateCallFailed, + RestAnswerFailed, } from "../generated/src/models"; import { CallParticipant } from "./models"; @@ -69,7 +71,9 @@ export type CallAutomationEvent = | TranscriptionStarted | TranscriptionStopped | TranscriptionUpdated - | TranscriptionFailed; + | TranscriptionFailed + | CreateCallFailed + | AnswerFailed; export interface ResultInformation extends Omit { @@ -597,3 +601,37 @@ export interface TranscriptionFailed /** kind of this event. */ kind: "TranscriptionFailed"; } + +export interface CreateCallFailed + extends Omit< + RestCreateCallFailed, + "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation" + > { + /** Call connection ID. */ + callConnectionId: string; + /** Server call ID. */ + serverCallId: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; + /** kind of this event. */ + kind: "CreateCallFailed"; +} + +export interface AnswerFailed + extends Omit< + RestAnswerFailed, + "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation" + > { + /** Call connection ID. */ + callConnectionId: string; + /** Server call ID. */ + serverCallId: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; + /** kind of this event. */ + kind: "AnswerFailed"; +} diff --git a/sdk/communication/communication-call-automation/src/models/transcription.ts b/sdk/communication/communication-call-automation/src/models/transcription.ts new file mode 100644 index 000000000000..46f5bcbff9e7 --- /dev/null +++ b/sdk/communication/communication-call-automation/src/models/transcription.ts @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { CommunicationIdentifier } from "@azure/communication-common"; + +/** + * The status of the result of transcription. + */ +export enum ResultStatus { + /** Intermediate result.*/ + Intermediate = "intermediate", + /** Final result.*/ + Final = "final", +} + +/** + * The format of transcription text. + */ +export enum TextFormat { + /** Formatted recognize text with punctuations.*/ + Disply = "display", +} + +/** + * Text in the phrase. + */ +export interface WordData { + /** Text in the phrase.*/ + text: string; + /** The word's position within the phrase.*/ + offset: number; + /** Duration in ticks. 1 tick = 100 nanoseconds.*/ + duration: number; +} + +/** + * Metadata for Transcription Streaming. + */ +export interface TranscriptionMetadata { + /** Transcription Subscription Id.*/ + subscriptionId: string; + /** The target locale in which the translated text needs to be.*/ + locale: string; + /** call connection Id.*/ + callConnectionId: string; + /** correlation Id.*/ + correlationId: string; +} + +/** + * Streaming Transcription. + */ +export interface TranscriptionData { + /** The display form of the recognized word.*/ + text: string; + /** The format of text.*/ + format: TextFormat; + /** Confidence of recognition of the whole phrase, from 0.0 (no confidence) to 1.0 (full confidence). */ + confidence: number; + /** The position of this payload. */ + offset: number; + /** Duration in ticks. 1 tick = 100 nanoseconds. */ + duration: number; + /** The result for each word of the phrase. */ + words: WordData[]; + /** The identified speaker based on participant raw ID. */ + participant: CommunicationIdentifier; + /** Status of the result of transcription. */ + resultStatus: ResultStatus; +} diff --git a/sdk/communication/communication-call-automation/src/utli/streamingDataParser.ts b/sdk/communication/communication-call-automation/src/utli/streamingDataParser.ts new file mode 100644 index 000000000000..709ee52092d8 --- /dev/null +++ b/sdk/communication/communication-call-automation/src/utli/streamingDataParser.ts @@ -0,0 +1,43 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { createIdentifierFromRawId } from "@azure/communication-common"; +import { TranscriptionMetadata, TranscriptionData } from "../models/transcription"; + +/** Parse the incoming package. */ +export function streamingData( + packetData: string | ArrayBuffer, +): TranscriptionMetadata | TranscriptionData { + let stringJson: string; + if (typeof packetData === "string") { + stringJson = packetData; + } else { + const decoder = new TextDecoder(); + stringJson = decoder.decode(packetData); + } + + const jsonObject = JSON.parse(stringJson); + const kind: string = jsonObject.kind; + + switch (kind) { + case "TranscriptionMetadata": { + const transcriptionMetadata: TranscriptionMetadata = jsonObject.transcriptionMetadata; + return transcriptionMetadata; + } + case "TranscriptionData": { + const transcriptionData: TranscriptionData = { + text: jsonObject.transcriptionData.text, + format: jsonObject.transcriptionData.format, + confidence: jsonObject.transcriptionData.confidence, + offset: jsonObject.transcriptionData.offset, + duration: jsonObject.transcriptionData.duration, + words: jsonObject.transcriptionData.words, + participant: createIdentifierFromRawId(jsonObject.transcriptionData.participantRawID), + resultStatus: jsonObject.transcriptionData.resultStatus, + }; + return transcriptionData; + } + default: + throw new Error(stringJson); + } +} diff --git a/sdk/communication/communication-call-automation/swagger/README.md b/sdk/communication/communication-call-automation/swagger/README.md index 8f8f05be31a6..105deb9eb6b5 100644 --- a/sdk/communication/communication-call-automation/swagger/README.md +++ b/sdk/communication/communication-call-automation/swagger/README.md @@ -13,7 +13,7 @@ license-header: MICROSOFT_MIT_NO_VERSION output-folder: ../src/generated tag: package-2023-10-03-preview require: - - https://github.com/Azure/azure-rest-api-specs/blob/384aedb56cfbadfa16ccb35737eab58dfeae81c5/specification/communication/data-plane/CallAutomation/readme.md + - https://github.com/Azure/azure-rest-api-specs/blob/77d25dd8426c4ba1619d15582a8c9d9b2f6890e8/specification/communication/data-plane/CallAutomation/readme.md package-version: 1.2.0-beta.1 model-date-time-as-string: false optional-response-headers: true @@ -155,4 +155,13 @@ directive: - rename-model: from: TranscriptionFailed to: RestTranscriptionFailed + - rename-model: + from: CreateCallFailed + to: RestCreateCallFailed + - rename-model: + from: AnswerFailed + to: RestAnswerFailed + - rename-model: + from: HoldFailed + to: RestHoldFailed ``` diff --git a/sdk/communication/communication-call-automation/test/callAutomationClient.spec.ts b/sdk/communication/communication-call-automation/test/callAutomationClient.spec.ts index c40d9a9c6213..f6db51af1dab 100644 --- a/sdk/communication/communication-call-automation/test/callAutomationClient.spec.ts +++ b/sdk/communication/communication-call-automation/test/callAutomationClient.spec.ts @@ -302,7 +302,7 @@ describe("Call Automation Main Client Live Tests", function () { await receiverCallAutomationClient.rejectCall(incomingCallContext); } - const callDisconnectedEvent = await waitForEvent("CallDisconnected", callConnectionId, 8000); - assert.isDefined(callDisconnectedEvent); + const createCallFailedEvent = await waitForEvent("CreateCallFailed", callConnectionId, 8000); + assert.isDefined(createCallFailedEvent); }).timeout(60000); }); diff --git a/sdk/communication/communication-call-automation/test/callMediaClient.spec.ts b/sdk/communication/communication-call-automation/test/callMediaClient.spec.ts index d583e98ec145..f34ab2313dc0 100644 --- a/sdk/communication/communication-call-automation/test/callMediaClient.spec.ts +++ b/sdk/communication/communication-call-automation/test/callMediaClient.spec.ts @@ -346,7 +346,6 @@ describe("CallMedia Unit Tests", async function () { assert.equal(data.targetParticipant.rawId, CALL_TARGET_ID); assert.equal(data.playSourceInfo.kind, "text"); assert.equal(data.playSourceInfo.text.text, playSource.text); - assert.equal(data.loop, true); assert.equal(request.method, "POST"); }); diff --git a/sdk/communication/communication-call-automation/test/streamingDataParser.spec.ts b/sdk/communication/communication-call-automation/test/streamingDataParser.spec.ts new file mode 100644 index 000000000000..b339bf4e9c83 --- /dev/null +++ b/sdk/communication/communication-call-automation/test/streamingDataParser.spec.ts @@ -0,0 +1,69 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { TranscriptionData, TranscriptionMetadata } from "../src/models/transcription"; +import { streamingData } from "../src/utli/streamingDataParser"; +import { assert } from "chai"; + +describe("Stream data parser unit tests", function () { + const encoder = new TextEncoder(); + const transcriptionMetaDataJson = + '{"kind":"TranscriptionMetadata","transcriptionMetadata":{"subscriptionId":"0000a000-9999-5555-ae00-cd00e0bc0000","locale":"en-US","callConnectionId":"6d09449c-6677-4f91-8cb7-012c338e6ec1","correlationId":"6d09449c-6677-4f91-8cb7-012c338e6ec1"}}'; + const transcriptionDataJson = + '{"kind":"TranscriptionData","transcriptionData":{"text":"Hello everyone.","format":"display","confidence":0.8249790668487549,"offset":2516933652456984600,"words":[{"text":"hello","offset":2516933652456984600},{"text":"everyone","offset":2516933652459784700}],"participantRawID":"4:+910000000000","resultStatus":"Final"}}'; + + it("Successfully parse binary data to transcription meta data ", function () { + const transcriptionMetaDataBinary = encoder.encode(transcriptionMetaDataJson); + const parsedData = streamingData(transcriptionMetaDataBinary); + if ("locale" in parsedData) { + validateTranscriptionMetadata(parsedData); + } + }); + + it("Successfully parse json data to transcription meta data ", function () { + const parsedData = streamingData(transcriptionMetaDataJson); + if ("locale" in parsedData) { + validateTranscriptionMetadata(parsedData); + } + }); + + it("Successfully parse binary data to transcription data ", function () { + const transcriptionDataBinary = encoder.encode(transcriptionDataJson); + const parsedData = streamingData(transcriptionDataBinary); + if ("text" in parsedData) { + validateTranscriptionData(parsedData); + } + }); + + it("Successfully parse json data to transcription data ", function () { + const parsedData = streamingData(transcriptionDataJson); + if ("text" in parsedData) { + validateTranscriptionData(parsedData); + } + }); +}); + +function validateTranscriptionMetadata(transcriptionMetadata: TranscriptionMetadata): void { + assert.equal(transcriptionMetadata.subscriptionId, "0000a000-9999-5555-ae00-cd00e0bc0000"); + assert.equal(transcriptionMetadata.locale, "en-US"); + assert.equal(transcriptionMetadata.correlationId, "6d09449c-6677-4f91-8cb7-012c338e6ec1"); + assert.equal(transcriptionMetadata.callConnectionId, "6d09449c-6677-4f91-8cb7-012c338e6ec1"); +} + +function validateTranscriptionData(transcriptionData: TranscriptionData): void { + assert.equal(transcriptionData.text, "Hello everyone."); + assert.equal(transcriptionData.resultStatus, "Final"); + assert.equal(transcriptionData.confidence, 0.8249790668487549); + assert.equal(transcriptionData.offset, 2516933652456984600); + assert.equal(transcriptionData.words.length, 2); + assert.equal(transcriptionData.words[0].text, "hello"); + assert.equal(transcriptionData.words[0].offset, 2516933652456984600); + assert.equal(transcriptionData.words[1].text, "everyone"); + assert.equal(transcriptionData.words[1].offset, 2516933652459784700); + if ("kind" in transcriptionData.participant) { + assert.equal(transcriptionData.participant.kind, "phoneNumber"); + } + if ("phoneNumber" in transcriptionData.participant) { + assert.equal(transcriptionData.participant.phoneNumber, "+910000000000"); + } +} diff --git a/sdk/communication/communication-call-automation/tests.yml b/sdk/communication/communication-call-automation/tests.yml index d38e8e2a6232..61c569791340 100644 --- a/sdk/communication/communication-call-automation/tests.yml +++ b/sdk/communication/communication-call-automation/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/communication-call-automation" ServiceDirectory: communication diff --git a/sdk/communication/communication-chat/tests.yml b/sdk/communication/communication-chat/tests.yml index f3fb50ee0cde..59f77f77d9fd 100644 --- a/sdk/communication/communication-chat/tests.yml +++ b/sdk/communication/communication-chat/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/communication-chat" ServiceDirectory: communication diff --git a/sdk/communication/communication-common/tests.yml b/sdk/communication/communication-common/tests.yml index 12adea725ce5..d7edd83c0d2f 100644 --- a/sdk/communication/communication-common/tests.yml +++ b/sdk/communication/communication-common/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/communication-common" ServiceDirectory: communication diff --git a/sdk/communication/communication-email/tests.yml b/sdk/communication/communication-email/tests.yml index a8892ea4f281..f2a9c7332b84 100644 --- a/sdk/communication/communication-email/tests.yml +++ b/sdk/communication/communication-email/tests.yml @@ -6,8 +6,8 @@ parameters: type: boolean default: false -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/communication-email" ServiceDirectory: communication diff --git a/sdk/communication/communication-identity/tests.yml b/sdk/communication/communication-identity/tests.yml index 41f8c011356c..8f3064f917f0 100644 --- a/sdk/communication/communication-identity/tests.yml +++ b/sdk/communication/communication-identity/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/communication-identity" ServiceDirectory: communication diff --git a/sdk/communication/communication-messages-rest/tests.yml b/sdk/communication/communication-messages-rest/tests.yml index fa20a01d2811..817bc0f930de 100644 --- a/sdk/communication/communication-messages-rest/tests.yml +++ b/sdk/communication/communication-messages-rest/tests.yml @@ -6,8 +6,8 @@ parameters: type: boolean default: false -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure-rest/communication-messages" ServiceDirectory: communication diff --git a/sdk/communication/communication-network-traversal/tests.yml b/sdk/communication/communication-network-traversal/tests.yml index bb402d8c5c37..31c40c62444c 100644 --- a/sdk/communication/communication-network-traversal/tests.yml +++ b/sdk/communication/communication-network-traversal/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/communication-network-traversal" ServiceDirectory: communication diff --git a/sdk/communication/communication-phone-numbers/phone-numbers-livetest-matrix.json b/sdk/communication/communication-phone-numbers/phone-numbers-livetest-matrix.json index 18c045be47c6..c94e60adb29e 100644 --- a/sdk/communication/communication-phone-numbers/phone-numbers-livetest-matrix.json +++ b/sdk/communication/communication-phone-numbers/phone-numbers-livetest-matrix.json @@ -5,19 +5,19 @@ "matrix": { "Agent": { "windows-2022": { - "OSVmImage": "MMS2022", - "Pool": "azsdk-pool-mms-win-2022-general", + "OSVmImage": "env:WINDOWSVMIMAGE", + "Pool": "env:WINDOWSPOOL", "SKIP_UPDATE_CAPABILITIES_LIVE_TESTS": "true" }, "ubuntu-20.04": { - "OSVmImage": "MMSUbuntu20.04", - "Pool": "azsdk-pool-mms-ubuntu-2004-general", + "OSVmImage": "env:LINUXVMIMAGE", + "Pool": "env:LINUXPOOL", "AZURE_TEST_AGENT": "UBUNTU_2004_NODE14", "SKIP_UPDATE_CAPABILITIES_LIVE_TESTS": "false" }, "macos-11": { - "OSVmImage": "macos-11", - "Pool": "Azure Pipelines", + "OSVmImage": "env:MACVMIMAGE", + "Pool": "env:MACPOOL", "SKIP_UPDATE_CAPABILITIES_LIVE_TESTS": "true" } }, @@ -29,8 +29,8 @@ { "Agent": { "windows-2022": { - "OSVmImage": "MMS2022", - "Pool": "azsdk-pool-mms-win-2022-general" + "OSVmImage": "env:WINDOWSVMIMAGE", + "Pool": "env:WINDOWSPOOL" } }, "Scenario": { @@ -58,8 +58,8 @@ { "Agent": { "ubuntu-20.04": { - "OSVmImage": "MMSUbuntu20.04", - "Pool": "azsdk-pool-mms-ubuntu-2004-general" + "OSVmImage": "env:LINUXVMIMAGE", + "Pool": "env:LINUXPOOL" } }, "TestType": "node", diff --git a/sdk/communication/communication-phone-numbers/tests.yml b/sdk/communication/communication-phone-numbers/tests.yml index 5e4c1518d83a..2722c1e8a928 100644 --- a/sdk/communication/communication-phone-numbers/tests.yml +++ b/sdk/communication/communication-phone-numbers/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/communication-phone-numbers" ServiceDirectory: communication diff --git a/sdk/communication/communication-recipient-verification/tests.yml b/sdk/communication/communication-recipient-verification/tests.yml index 5a220b503e41..c50f84b602b1 100644 --- a/sdk/communication/communication-recipient-verification/tests.yml +++ b/sdk/communication/communication-recipient-verification/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure-tools/communication-recipient-verification" ServiceDirectory: communication diff --git a/sdk/communication/communication-rooms/tests.yml b/sdk/communication/communication-rooms/tests.yml index b21e88b5a278..aacbe11e28c1 100644 --- a/sdk/communication/communication-rooms/tests.yml +++ b/sdk/communication/communication-rooms/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/communication-rooms" ServiceDirectory: communication diff --git a/sdk/communication/communication-short-codes/tests.yml b/sdk/communication/communication-short-codes/tests.yml index 3aef1aedfbf0..4c5dc346860c 100644 --- a/sdk/communication/communication-short-codes/tests.yml +++ b/sdk/communication/communication-short-codes/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure-tools/communication-short-codes" ServiceDirectory: communication diff --git a/sdk/communication/communication-sms/tests.yml b/sdk/communication/communication-sms/tests.yml index d01d1aeb9158..f29af967e1c6 100644 --- a/sdk/communication/communication-sms/tests.yml +++ b/sdk/communication/communication-sms/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/communication-sms" ServiceDirectory: communication diff --git a/sdk/communication/communication-tiering/tests.yml b/sdk/communication/communication-tiering/tests.yml index 9a0f31550477..2a95c9266ac3 100644 --- a/sdk/communication/communication-tiering/tests.yml +++ b/sdk/communication/communication-tiering/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure-tools/communication-tiering" ServiceDirectory: communication diff --git a/sdk/communication/communication-toll-free-verification/tests.yml b/sdk/communication/communication-toll-free-verification/tests.yml index 9b3deb71ad76..28d647604926 100644 --- a/sdk/communication/communication-toll-free-verification/tests.yml +++ b/sdk/communication/communication-toll-free-verification/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure-tools/communication-toll-free-verification" ServiceDirectory: communication diff --git a/sdk/confidentialledger/tests.yml b/sdk/confidentialledger/tests.yml index 77f505a39564..96c61391493b 100644 --- a/sdk/confidentialledger/tests.yml +++ b/sdk/confidentialledger/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure-rest/confidential-ledger" ServiceDirectory: confidentialledger diff --git a/sdk/containerregistry/container-registry/tests.yml b/sdk/containerregistry/container-registry/tests.yml index f5a9c8dac61d..7d11931889d0 100644 --- a/sdk/containerregistry/container-registry/tests.yml +++ b/sdk/containerregistry/container-registry/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/container-registry" ServiceDirectory: containerregistry diff --git a/sdk/core/abort-controller/CHANGELOG.md b/sdk/core/abort-controller/CHANGELOG.md index 274e1bfba833..24f02323bd99 100644 --- a/sdk/core/abort-controller/CHANGELOG.md +++ b/sdk/core/abort-controller/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 2.0.1 (Unreleased) +## 2.1.1 (Unreleased) ### Features Added @@ -10,6 +10,13 @@ ### Other Changes +## 2.1.0 (2024-03-12) + +### Other Changes + +- Migrated the codebase to ESM. This change is internal and should not affect customers. +- Migrated unit tests to vitest. + ## 2.0.0 (2024-01-05) ### Breaking Changes diff --git a/sdk/core/abort-controller/package.json b/sdk/core/abort-controller/package.json index d194b1645806..cff6efd46dd0 100644 --- a/sdk/core/abort-controller/package.json +++ b/sdk/core/abort-controller/package.json @@ -1,7 +1,7 @@ { "name": "@azure/abort-controller", "sdk-type": "client", - "version": "2.0.1", + "version": "2.1.1", "description": "Microsoft Azure SDK for JavaScript - Aborter", "author": "Microsoft Corporation", "license": "MIT", diff --git a/sdk/core/core-auth/CHANGELOG.md b/sdk/core/core-auth/CHANGELOG.md index bef94d9bf651..db776f7ab51f 100644 --- a/sdk/core/core-auth/CHANGELOG.md +++ b/sdk/core/core-auth/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 1.6.1 (Unreleased) +## 1.7.1 (Unreleased) ### Features Added @@ -10,6 +10,13 @@ ### Other Changes +## 1.7.0 (2024-03-12) + +### Other Changes + +- Migrated the codebase to ESM. This change is internal and should not affect customers. +- Migrated unit tests to vitest. + ## 1.6.0 (2024-02-01) ### Features Added diff --git a/sdk/core/core-auth/package.json b/sdk/core/core-auth/package.json index bcd65de80c50..1bc722cb78ad 100644 --- a/sdk/core/core-auth/package.json +++ b/sdk/core/core-auth/package.json @@ -1,6 +1,6 @@ { "name": "@azure/core-auth", - "version": "1.6.1", + "version": "1.7.1", "description": "Provides low-level interfaces and helper methods for authentication in Azure SDK", "sdk-type": "client", "type": "module", diff --git a/sdk/core/core-client-rest/CHANGELOG.md b/sdk/core/core-client-rest/CHANGELOG.md index 1aaa50f27e76..403f5087e2b4 100644 --- a/sdk/core/core-client-rest/CHANGELOG.md +++ b/sdk/core/core-client-rest/CHANGELOG.md @@ -1,19 +1,30 @@ # Release History -## 1.2.1 (Unreleased) +## 1.3.1 (Unreleased) ### Features Added -- Allow customers to set request content type by `option.contentType` or `content-type` request headers. - ### Breaking Changes ### Bugs Fixed +### Other Changes + +## 1.3.0 (2024-03-12) + +### Features Added + +- Allow customers to set request content type by `option.contentType` or `content-type` request headers. + +### Bugs Fixed + - Set the content-type as `undefined` if it's a non-json string in the body and we are unknown of the content-type, but remain to be `application/json` if it's json string. ### Other Changes +- Migrated the codebase to ESM. This change is internal and should not affect customers. +- Migrated unit tests to vitest. + ## 1.2.0 (2024-02-01) ### Features Added diff --git a/sdk/core/core-client-rest/package.json b/sdk/core/core-client-rest/package.json index 43dc2367576e..57946d793ee3 100644 --- a/sdk/core/core-client-rest/package.json +++ b/sdk/core/core-client-rest/package.json @@ -1,6 +1,6 @@ { "name": "@azure-rest/core-client", - "version": "1.2.1", + "version": "1.3.1", "description": "Core library for interfacing with Azure Rest Clients", "sdk-type": "client", "type": "module", diff --git a/sdk/core/core-client/.tshy/browser.json b/sdk/core/core-client/.tshy/browser.json index 32e74e04ec62..58163fb8398e 100644 --- a/sdk/core/core-client/.tshy/browser.json +++ b/sdk/core/core-client/.tshy/browser.json @@ -5,7 +5,9 @@ "../src/**/*.mts", "../src/**/*.tsx" ], - "exclude": [], + "exclude": [ + ".././src/state-cjs.cts" + ], "compilerOptions": { "outDir": "../.tshy-build/browser" } diff --git a/sdk/core/core-client/.tshy/commonjs.json b/sdk/core/core-client/.tshy/commonjs.json index c0f38bdd7176..5bf9d5b42975 100644 --- a/sdk/core/core-client/.tshy/commonjs.json +++ b/sdk/core/core-client/.tshy/commonjs.json @@ -7,7 +7,8 @@ ], "exclude": [ "../src/**/*.mts", - "../src/base64-browser.mts" + "../src/base64-browser.mts", + "../src/state-browser.mts" ], "compilerOptions": { "outDir": "../.tshy-build/commonjs" diff --git a/sdk/core/core-client/.tshy/esm.json b/sdk/core/core-client/.tshy/esm.json index 0c45c26618b2..26e2bdfa8211 100644 --- a/sdk/core/core-client/.tshy/esm.json +++ b/sdk/core/core-client/.tshy/esm.json @@ -6,7 +6,9 @@ "../src/**/*.tsx" ], "exclude": [ - ".././src/base64-browser.mts" + ".././src/state-cjs.cts", + ".././src/base64-browser.mts", + ".././src/state-browser.mts" ], "compilerOptions": { "outDir": "../.tshy-build/esm" diff --git a/sdk/core/core-client/.tshy/react-native.json b/sdk/core/core-client/.tshy/react-native.json index 2b28336a2d5f..8f1fbed22998 100644 --- a/sdk/core/core-client/.tshy/react-native.json +++ b/sdk/core/core-client/.tshy/react-native.json @@ -6,7 +6,9 @@ "../src/**/*.tsx" ], "exclude": [ - ".././src/base64-browser.mts" + ".././src/state-cjs.cts", + ".././src/base64-browser.mts", + ".././src/state-browser.mts" ], "compilerOptions": { "outDir": "../.tshy-build/react-native" diff --git a/sdk/core/core-client/CHANGELOG.md b/sdk/core/core-client/CHANGELOG.md index 5d73fe62da34..2c9d18a043f2 100644 --- a/sdk/core/core-client/CHANGELOG.md +++ b/sdk/core/core-client/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 1.8.1 (Unreleased) +## 1.9.1 (Unreleased) ### Features Added @@ -10,6 +10,13 @@ ### Other Changes +## 1.9.0 (2024-03-12) + +### Other Changes + +- Migrated the codebase to ESM. This change is internal and should not affect customers. +- Migrated unit tests to vitest. + ## 1.8.0 (2024-02-01) ### Bugs Fixed diff --git a/sdk/core/core-client/package.json b/sdk/core/core-client/package.json index f718bd9ef99e..714f45a0d542 100644 --- a/sdk/core/core-client/package.json +++ b/sdk/core/core-client/package.json @@ -1,6 +1,6 @@ { "name": "@azure/core-client", - "version": "1.8.1", + "version": "1.9.1", "description": "Core library for interfacing with AutoRest generated code", "sdk-type": "client", "type": "module", @@ -65,7 +65,7 @@ "pack": "npm pack 2>&1", "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser", "test:node": "npm run clean && tshy && npm run unit-test:node && npm run integration-test:node", - "test": "npm run clean && tshy && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test", + "test": "npm run clean && tshy && npm run unit-test:node && npm run unit-test:browser && npm run integration-test", "unit-test:browser": "npm run build:test && dev-tool run test:vitest --no-test-proxy --browser", "unit-test:node": "dev-tool run test:vitest --no-test-proxy", "unit-test": "npm run unit-test:node && npm run unit-test:browser" diff --git a/sdk/core/core-client/src/operationHelpers.ts b/sdk/core/core-client/src/operationHelpers.ts index c385d2e93aaf..387cfb324787 100644 --- a/sdk/core/core-client/src/operationHelpers.ts +++ b/sdk/core/core-client/src/operationHelpers.ts @@ -11,6 +11,8 @@ import { ParameterPath, } from "./interfaces.js"; +import { state } from "./state.js"; + /** * @internal * Retrieves the value to use for a given operation argument @@ -106,7 +108,6 @@ function getPropertyFromParameterPath( return result; } -const operationRequestMap = new WeakMap(); const originalRequestSymbol = Symbol.for("@azure/core-client original request"); function hasOriginalRequest( @@ -119,11 +120,11 @@ export function getOperationRequestInfo(request: OperationRequest): OperationReq if (hasOriginalRequest(request)) { return getOperationRequestInfo(request[originalRequestSymbol]); } - let info = operationRequestMap.get(request); + let info = state.operationRequestMap.get(request); if (!info) { info = {}; - operationRequestMap.set(request, info); + state.operationRequestMap.set(request, info); } return info; } diff --git a/sdk/core/core-client/src/state-browser.mts b/sdk/core/core-client/src/state-browser.mts new file mode 100644 index 000000000000..81b4d3890408 --- /dev/null +++ b/sdk/core/core-client/src/state-browser.mts @@ -0,0 +1,11 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { OperationRequest, OperationRequestInfo } from "./interfaces.js"; + +/** + * Browser-only implementation of the module's state. The browser esm variant will not load the commonjs state, so we do not need to share state between the two. + */ +export const state = { + operationRequestMap: new WeakMap(), +}; diff --git a/sdk/core/core-client/src/state-cjs.cts b/sdk/core/core-client/src/state-cjs.cts new file mode 100644 index 000000000000..aefce55d4899 --- /dev/null +++ b/sdk/core/core-client/src/state-cjs.cts @@ -0,0 +1,9 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +/** + * Holds the singleton operationRequestMap, to be shared across CJS and ESM imports. + */ +export const state = { + operationRequestMap: new WeakMap(), +}; diff --git a/sdk/core/core-client/src/state.ts b/sdk/core/core-client/src/state.ts new file mode 100644 index 000000000000..ff129017f26b --- /dev/null +++ b/sdk/core/core-client/src/state.ts @@ -0,0 +1,15 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { OperationRequest, OperationRequestInfo } from "./interfaces.js"; + +// @ts-expect-error The recommended approach to sharing module state between ESM and CJS. +// See https://github.com/isaacs/tshy/blob/main/README.md#module-local-state for additional information. +import { state as cjsState } from "../commonjs/state.js"; + +/** + * Defines the shared state between CJS and ESM by re-exporting the CJS state. + */ +export const state = cjsState as { + operationRequestMap: WeakMap; +}; diff --git a/sdk/core/core-client/vitest.config.ts b/sdk/core/core-client/vitest.config.ts index e94c7dd91c76..1e30814aad1c 100644 --- a/sdk/core/core-client/vitest.config.ts +++ b/sdk/core/core-client/vitest.config.ts @@ -2,6 +2,7 @@ // Licensed under the MIT license. import { defineConfig } from "vitest/config"; +import { resolve } from "node:path"; export default defineConfig({ test: { @@ -13,6 +14,9 @@ export default defineConfig({ toFake: ["setTimeout", "Date"], }, watch: false, + alias: { + "../commonjs/state.js": resolve("./src/state-cjs.cts"), + }, include: ["test/**/*.spec.ts"], exclude: ["test/**/browser/*.spec.ts"], coverage: { diff --git a/sdk/core/core-http-compat/CHANGELOG.md b/sdk/core/core-http-compat/CHANGELOG.md index 3f6cc20b6a19..91b8a62d3ee5 100644 --- a/sdk/core/core-http-compat/CHANGELOG.md +++ b/sdk/core/core-http-compat/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 2.0.2 (Unreleased) +## 2.1.1 (Unreleased) ### Features Added @@ -10,6 +10,13 @@ ### Other Changes +## 2.1.0 (2024-03-12) + +### Other Changes + +- Migrated the codebase to ESM. This change is internal and should not affect customers. +- Migrated unit tests to vitest. + ## 2.0.1 (2023-04-06) ### Bugs Fixed diff --git a/sdk/core/core-http-compat/package.json b/sdk/core/core-http-compat/package.json index cf8a37a8d5c4..a50fe272c60b 100644 --- a/sdk/core/core-http-compat/package.json +++ b/sdk/core/core-http-compat/package.json @@ -1,6 +1,6 @@ { "name": "@azure/core-http-compat", - "version": "2.0.2", + "version": "2.1.1", "description": "Core HTTP Compatibility Library to bridge the gap between Core V1 & V2 packages.", "sdk-type": "client", "type": "module", diff --git a/sdk/core/core-lro/CHANGELOG.md b/sdk/core/core-lro/CHANGELOG.md index c2fcfecce9a5..9be834352b56 100644 --- a/sdk/core/core-lro/CHANGELOG.md +++ b/sdk/core/core-lro/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 2.6.1 (Unreleased) +## 2.7.1 (Unreleased) ### Features Added @@ -10,6 +10,13 @@ ### Other Changes +## 2.7.0 (2024-03-12) + +### Other Changes + +- Migrated the codebase to ESM. This change is internal and should not affect customers. +- Migrated unit tests to vitest. + ## 2.6.0 (2024-02-01) ### Other Changes diff --git a/sdk/core/core-lro/package.json b/sdk/core/core-lro/package.json index 719b6f72501d..5d90e88a4735 100644 --- a/sdk/core/core-lro/package.json +++ b/sdk/core/core-lro/package.json @@ -3,7 +3,7 @@ "author": "Microsoft Corporation", "sdk-type": "client", "type": "module", - "version": "2.6.1", + "version": "2.7.1", "description": "Isomorphic client library for supporting long-running operations in node.js and browser.", "exports": { "./package.json": "./package.json", @@ -26,6 +26,11 @@ } } }, + "files": [ + "dist/", + "LICENSE", + "README.md" + ], "main": "./dist/commonjs/index.js", "types": "./dist/commonjs/index.d.ts", "tags": [ diff --git a/sdk/core/core-paging/CHANGELOG.md b/sdk/core/core-paging/CHANGELOG.md index 1fd3eafb8c77..38c98106b608 100644 --- a/sdk/core/core-paging/CHANGELOG.md +++ b/sdk/core/core-paging/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 1.5.1 (Unreleased) +## 1.6.1 (Unreleased) ### Features Added @@ -10,6 +10,13 @@ ### Other Changes +## 1.6.0 (2024-03-12) + +### Other Changes + +- Migrated the codebase to ESM. This change is internal and should not affect customers. +- Migrated unit tests to vitest. + ## 1.5.0 (2023-02-02) ### Features Added diff --git a/sdk/core/core-paging/package.json b/sdk/core/core-paging/package.json index b6ad22f732b8..be471e0b05e2 100644 --- a/sdk/core/core-paging/package.json +++ b/sdk/core/core-paging/package.json @@ -2,7 +2,7 @@ "name": "@azure/core-paging", "author": "Microsoft Corporation", "sdk-type": "client", - "version": "1.5.1", + "version": "1.6.1", "description": "Core types for paging async iterable iterators", "type": "module", "main": "./dist/commonjs/index.js", diff --git a/sdk/core/core-rest-pipeline/CHANGELOG.md b/sdk/core/core-rest-pipeline/CHANGELOG.md index dd966237d560..bda03acd7caf 100644 --- a/sdk/core/core-rest-pipeline/CHANGELOG.md +++ b/sdk/core/core-rest-pipeline/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 1.14.1 (Unreleased) +## 1.15.1 (Unreleased) ### Features Added @@ -8,11 +8,19 @@ ### Bugs Fixed +### Other Changes + +## 1.15.0 (2024-03-12) + +### Bugs Fixed + - Fix issue where files created using `createFileFromStream` were not properly supported in the browser. ### Other Changes - In the browser, `formDataPolicy` once again uses `multipartPolicy` when content type is `multipart/form-data`. This functionality was removed in 1.14.0, but has now been re-enabled. +- Migrated the codebase to ESM. This change is internal and should not affect customers. +- Migrated unit tests to vitest. ## 1.14.0 (2024-02-01) diff --git a/sdk/core/core-rest-pipeline/package.json b/sdk/core/core-rest-pipeline/package.json index 9548be998c46..bb5ced282040 100644 --- a/sdk/core/core-rest-pipeline/package.json +++ b/sdk/core/core-rest-pipeline/package.json @@ -1,6 +1,6 @@ { "name": "@azure/core-rest-pipeline", - "version": "1.14.1", + "version": "1.15.1", "description": "Isomorphic client library for making HTTP requests in node.js and browser.", "sdk-type": "client", "type": "module", diff --git a/sdk/core/core-rest-pipeline/src/constants.ts b/sdk/core/core-rest-pipeline/src/constants.ts index 54250c836e2b..26ff5a829a76 100644 --- a/sdk/core/core-rest-pipeline/src/constants.ts +++ b/sdk/core/core-rest-pipeline/src/constants.ts @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -export const SDK_VERSION: string = "1.14.1"; +export const SDK_VERSION: string = "1.15.1"; export const DEFAULT_RETRY_POLICY_COUNT = 3; diff --git a/sdk/core/core-sse/CHANGELOG.md b/sdk/core/core-sse/CHANGELOG.md index 96ce115e15f5..e0d7b32e5088 100644 --- a/sdk/core/core-sse/CHANGELOG.md +++ b/sdk/core/core-sse/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 2.0.1 (Unreleased) +## 2.1.1 (Unreleased) ### Features Added @@ -10,6 +10,13 @@ ### Other Changes +## 2.1.0 (2024-03-12) + +### Other Changes + +- Migrated the codebase to ESM. This change is internal and should not affect customers. +- Migrated unit tests to vitest. + ## 2.0.0 (2024-01-02) ### Features Added diff --git a/sdk/core/core-sse/package.json b/sdk/core/core-sse/package.json index ac671056dcfc..4e65a7d7b4d8 100644 --- a/sdk/core/core-sse/package.json +++ b/sdk/core/core-sse/package.json @@ -1,6 +1,6 @@ { "name": "@azure/core-sse", - "version": "2.0.1", + "version": "2.1.1", "description": "Implementation of the Server-sent events protocol for Node.js and browsers.", "sdk-type": "client", "type": "module", diff --git a/sdk/core/core-tracing/CHANGELOG.md b/sdk/core/core-tracing/CHANGELOG.md index 0019056bf643..63ac9d907cf8 100644 --- a/sdk/core/core-tracing/CHANGELOG.md +++ b/sdk/core/core-tracing/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 1.0.2 (Unreleased) +## 1.1.1 (Unreleased) ### Features Added @@ -10,6 +10,13 @@ ### Other Changes +## 1.1.0 (2024-03-12) + +### Other Changes + +- Migrated the codebase to ESM. This change is internal and should not affect customers. +- Migrated unit tests to vitest. + ## 1.0.1 (2022-05-05) ### Other Changes diff --git a/sdk/core/core-tracing/package.json b/sdk/core/core-tracing/package.json index 7210f2b64a43..5b72d9373350 100644 --- a/sdk/core/core-tracing/package.json +++ b/sdk/core/core-tracing/package.json @@ -1,6 +1,6 @@ { "name": "@azure/core-tracing", - "version": "1.0.2", + "version": "1.1.1", "description": "Provides low-level interfaces and helper methods for tracing in Azure SDK", "sdk-type": "client", "type": "module", diff --git a/sdk/core/core-util/CHANGELOG.md b/sdk/core/core-util/CHANGELOG.md index 19eedf1f53ad..45b651f77743 100644 --- a/sdk/core/core-util/CHANGELOG.md +++ b/sdk/core/core-util/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 1.7.1 (Unreleased) +## 1.8.1 (Unreleased) ### Features Added @@ -10,6 +10,13 @@ ### Other Changes +## 1.8.0 (2024-03-12) + +### Other Changes + +- Migrated the codebase to ESM. This change is internal and should not affect customers. +- Migrated unit tests to vitest. + ## 1.7.0 (2024-02-01) ### Other Changes diff --git a/sdk/core/core-util/package.json b/sdk/core/core-util/package.json index b3344bc4e774..9cdbfc2d32d5 100644 --- a/sdk/core/core-util/package.json +++ b/sdk/core/core-util/package.json @@ -1,6 +1,6 @@ { "name": "@azure/core-util", - "version": "1.7.1", + "version": "1.8.1", "description": "Core library for shared utility methods", "sdk-type": "client", "type": "module", diff --git a/sdk/core/core-xml/CHANGELOG.md b/sdk/core/core-xml/CHANGELOG.md index 7569ff78ab37..c94a03d6f006 100644 --- a/sdk/core/core-xml/CHANGELOG.md +++ b/sdk/core/core-xml/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 1.3.5 (Unreleased) +## 1.4.1 (Unreleased) ### Features Added @@ -10,6 +10,13 @@ ### Other Changes +## 1.4.0 (2024-03-12) + +### Other Changes + +- Migrated the codebase to ESM. This change is internal and should not affect customers. +- Migrated unit tests to vitest. + ## 1.3.4 (2023-06-20) ### Other Changes diff --git a/sdk/core/core-xml/package.json b/sdk/core/core-xml/package.json index 88f7ccd87c22..a2915da0dafa 100644 --- a/sdk/core/core-xml/package.json +++ b/sdk/core/core-xml/package.json @@ -1,6 +1,6 @@ { "name": "@azure/core-xml", - "version": "1.3.5", + "version": "1.4.1", "description": "Core library for interacting with XML payloads", "sdk-type": "client", "type": "module", diff --git a/sdk/core/logger/CHANGELOG.md b/sdk/core/logger/CHANGELOG.md index 64cd41c60e6e..303115c4589d 100644 --- a/sdk/core/logger/CHANGELOG.md +++ b/sdk/core/logger/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 1.0.5 (Unreleased) +## 1.1.1 (Unreleased) ### Features Added @@ -10,6 +10,13 @@ ### Other Changes +## 1.1.0 (2024-03-12) + +### Other Changes + +- Migrated the codebase to ESM. This change is internal and should not affect customers. +- Migrated unit tests to vitest. + ## 1.0.4 (2023-03-02) ### Other Changes diff --git a/sdk/core/logger/package.json b/sdk/core/logger/package.json index 47753d5a86f1..54237befda17 100644 --- a/sdk/core/logger/package.json +++ b/sdk/core/logger/package.json @@ -1,7 +1,7 @@ { "name": "@azure/logger", "sdk-type": "client", - "version": "1.0.5", + "version": "1.1.1", "description": "Microsoft Azure SDK for JavaScript - Logger", "type": "module", "main": "./dist/commonjs/index.js", diff --git a/sdk/core/ts-http-runtime/review/ts-http-runtime.api.md b/sdk/core/ts-http-runtime/review/ts-http-runtime.api.md index 10c7710313f6..37ca69ae2bb0 100644 --- a/sdk/core/ts-http-runtime/review/ts-http-runtime.api.md +++ b/sdk/core/ts-http-runtime/review/ts-http-runtime.api.md @@ -36,7 +36,7 @@ export interface AccessToken { } // @public -export function addCredentialPipelinePolicy(pipeline: Pipeline, baseUrl: string, options?: AddCredentialPipelinePolicyOptions): void; +export function addCredentialPipelinePolicy(pipeline: Pipeline, endpoint: string, options?: AddCredentialPipelinePolicyOptions): void; // @public export interface AddCredentialPipelinePolicyOptions { @@ -129,6 +129,7 @@ export type ClientOptions = PipelineOptions & { apiKeyHeaderName?: string; }; baseUrl?: string; + endpoint?: string; apiVersion?: string; allowInsecureConnection?: boolean; additionalPolicies?: AdditionalPolicyConfig[]; @@ -262,10 +263,10 @@ export interface FullOperationResponse extends PipelineResponse { } // @public -export function getClient(baseUrl: string, options?: ClientOptions): Client; +export function getClient(endpoint: string, options?: ClientOptions): Client; // @public -export function getClient(baseUrl: string, credentials?: TokenCredential | KeyCredential, options?: ClientOptions): Client; +export function getClient(endpoint: string, credentials?: TokenCredential | KeyCredential, options?: ClientOptions): Client; // @public export function getDefaultProxySettings(proxyUrl?: string): ProxySettings | undefined; diff --git a/sdk/core/ts-http-runtime/src/client/clientHelpers.ts b/sdk/core/ts-http-runtime/src/client/clientHelpers.ts index 1dc927985468..19a61ee79b34 100644 --- a/sdk/core/ts-http-runtime/src/client/clientHelpers.ts +++ b/sdk/core/ts-http-runtime/src/client/clientHelpers.ts @@ -33,7 +33,7 @@ export interface AddCredentialPipelinePolicyOptions { */ export function addCredentialPipelinePolicy( pipeline: Pipeline, - baseUrl: string, + endpoint: string, options: AddCredentialPipelinePolicyOptions = {}, ): void { const { credential, clientOptions } = options; @@ -44,7 +44,7 @@ export function addCredentialPipelinePolicy( if (isTokenCredential(credential)) { const tokenPolicy = bearerTokenAuthenticationPolicy({ credential, - scopes: clientOptions?.credentials?.scopes ?? `${baseUrl}/.default`, + scopes: clientOptions?.credentials?.scopes ?? `${endpoint}/.default`, }); pipeline.addPolicy(tokenPolicy); } else if (isKeyCredential(credential)) { @@ -63,7 +63,7 @@ export function addCredentialPipelinePolicy( * Creates a default rest pipeline to re-use accross Rest Level Clients */ export function createDefaultPipeline( - baseUrl: string, + endpoint: string, credential?: TokenCredential | KeyCredential, options: ClientOptions = {}, ): Pipeline { @@ -71,7 +71,7 @@ export function createDefaultPipeline( pipeline.addPolicy(apiVersionPolicy(options)); - addCredentialPipelinePolicy(pipeline, baseUrl, { credential, clientOptions: options }); + addCredentialPipelinePolicy(pipeline, endpoint, { credential, clientOptions: options }); return pipeline; } diff --git a/sdk/core/ts-http-runtime/src/client/common.ts b/sdk/core/ts-http-runtime/src/client/common.ts index bbd4af675d56..0f3a2e64322a 100644 --- a/sdk/core/ts-http-runtime/src/client/common.ts +++ b/sdk/core/ts-http-runtime/src/client/common.ts @@ -317,8 +317,13 @@ export type ClientOptions = PipelineOptions & { }; /** * Base url for the client + * @deprecated This property is deprecated and will be removed soon, please use endpoint instead */ baseUrl?: string; + /** + * Endpoint for the client + */ + endpoint?: string; /** * Options for setting a custom apiVersion. */ diff --git a/sdk/core/ts-http-runtime/src/client/getClient.ts b/sdk/core/ts-http-runtime/src/client/getClient.ts index d1f5c29d8ea8..1fa1f44aa38d 100644 --- a/sdk/core/ts-http-runtime/src/client/getClient.ts +++ b/sdk/core/ts-http-runtime/src/client/getClient.ts @@ -20,23 +20,23 @@ import { PipelineOptions } from "../createPipelineFromOptions.js"; /** * Creates a client with a default pipeline - * @param baseUrl - Base endpoint for the client + * @param endpoint - Base endpoint for the client * @param options - Client options */ -export function getClient(baseUrl: string, options?: ClientOptions): Client; +export function getClient(endpoint: string, options?: ClientOptions): Client; /** * Creates a client with a default pipeline - * @param baseUrl - Base endpoint for the client + * @param endpoint - Base endpoint for the client * @param credentials - Credentials to authenticate the requests * @param options - Client options */ export function getClient( - baseUrl: string, + endpoint: string, credentials?: TokenCredential | KeyCredential, options?: ClientOptions, ): Client; export function getClient( - baseUrl: string, + endpoint: string, credentialsOrPipelineOptions?: (TokenCredential | KeyCredential) | ClientOptions, clientOptions: ClientOptions = {}, ): Client { @@ -49,7 +49,7 @@ export function getClient( } } - const pipeline = createDefaultPipeline(baseUrl, credentials, clientOptions); + const pipeline = createDefaultPipeline(endpoint, credentials, clientOptions); if (clientOptions.additionalPolicies?.length) { for (const { policy, position } of clientOptions.additionalPolicies) { // Sign happens after Retry and is commonly needed to occur @@ -64,7 +64,7 @@ export function getClient( const { allowInsecureConnection, httpClient } = clientOptions; const client = (path: string, ...args: Array) => { const getUrl = (requestOptions: RequestParameters): string => - buildRequestUrl(baseUrl, path, args, { allowInsecureConnection, ...requestOptions }); + buildRequestUrl(endpoint, path, args, { allowInsecureConnection, ...requestOptions }); return { get: (requestOptions: RequestParameters = {}): StreamableMethod => { diff --git a/sdk/core/ts-http-runtime/src/client/urlHelpers.ts b/sdk/core/ts-http-runtime/src/client/urlHelpers.ts index c36dc09b11ce..7e77d312d649 100644 --- a/sdk/core/ts-http-runtime/src/client/urlHelpers.ts +++ b/sdk/core/ts-http-runtime/src/client/urlHelpers.ts @@ -5,14 +5,14 @@ import { RequestParameters } from "./common.js"; /** * Builds the request url, filling in query and path parameters - * @param baseUrl - base url which can be a template url - * @param routePath - path to append to the baseUrl + * @param endpoint - base url which can be a template url + * @param routePath - path to append to the endpoint * @param pathParameters - values of the path parameters * @param options - request parameters including query parameters * @returns a full url with path and query parameters */ export function buildRequestUrl( - baseUrl: string, + endpoint: string, routePath: string, pathParameters: string[], options: RequestParameters = {}, @@ -20,9 +20,9 @@ export function buildRequestUrl( if (routePath.startsWith("https://") || routePath.startsWith("http://")) { return routePath; } - baseUrl = buildBaseUrl(baseUrl, options); + endpoint = buildBaseUrl(endpoint, options); routePath = buildRoutePath(routePath, pathParameters, options); - const requestUrl = appendQueryParams(`${baseUrl}/${routePath}`, options); + const requestUrl = appendQueryParams(`${endpoint}/${routePath}`, options); const url = new URL(requestUrl); return ( @@ -71,9 +71,9 @@ function skipQueryParameterEncoding(url: URL): URL { return url; } -export function buildBaseUrl(baseUrl: string, options: RequestParameters): string { +export function buildBaseUrl(endpoint: string, options: RequestParameters): string { if (!options.pathParameters) { - return baseUrl; + return endpoint; } const pathParams = options.pathParameters; for (const [key, param] of Object.entries(pathParams)) { @@ -87,9 +87,9 @@ export function buildBaseUrl(baseUrl: string, options: RequestParameters): strin if (!options.skipUrlEncoding) { value = encodeURIComponent(param); } - baseUrl = replaceAll(baseUrl, `{${key}}`, value) ?? ""; + endpoint = replaceAll(endpoint, `{${key}}`, value) ?? ""; } - return baseUrl; + return endpoint; } function buildRoutePath( diff --git a/sdk/digitaltwins/digital-twins-core/tests.yml b/sdk/digitaltwins/digital-twins-core/tests.yml index 0cfbed6ee781..ef643c5f75b8 100644 --- a/sdk/digitaltwins/digital-twins-core/tests.yml +++ b/sdk/digitaltwins/digital-twins-core/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/digital-twins-core" ServiceDirectory: digitaltwins diff --git a/sdk/documentintelligence/ai-document-intelligence-rest/tests.yml b/sdk/documentintelligence/ai-document-intelligence-rest/tests.yml index 805cdac774ee..edc529d018e1 100644 --- a/sdk/documentintelligence/ai-document-intelligence-rest/tests.yml +++ b/sdk/documentintelligence/ai-document-intelligence-rest/tests.yml @@ -10,8 +10,8 @@ parameters: trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure-rest/ai-document-intelligence" ServiceDirectory: documentintelligence diff --git a/sdk/eventgrid/eventgrid/CHANGELOG.md b/sdk/eventgrid/eventgrid/CHANGELOG.md index 8aabd391daf5..4cc8427e2544 100644 --- a/sdk/eventgrid/eventgrid/CHANGELOG.md +++ b/sdk/eventgrid/eventgrid/CHANGELOG.md @@ -1,14 +1,13 @@ # Release History -## 5.2.1 (Unreleased) +## 5.3.0 (2024-03-13) ### Features Added -### Breaking Changes - -### Bugs Fixed +- Added new System Events: -### Other Changes + - `Microsoft.ApiCenter.ApiDefinitionAdded` + - `Microsoft.ApiCenter.ApiDefinitionUpdated` ## 5.2.0 (2024-02-08) diff --git a/sdk/eventgrid/eventgrid/package.json b/sdk/eventgrid/eventgrid/package.json index d56fc80c4fe1..73a804aee41e 100644 --- a/sdk/eventgrid/eventgrid/package.json +++ b/sdk/eventgrid/eventgrid/package.json @@ -3,7 +3,7 @@ "sdk-type": "client", "author": "Microsoft Corporation", "description": "An isomorphic client library for the Azure Event Grid service.", - "version": "5.2.1", + "version": "5.3.0", "keywords": [ "node", "azure", @@ -76,7 +76,7 @@ "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "generate:client": "autorest --typescript ./swagger/README.md && node ./scripts/setPathToEmpty.js", "integration-test:browser": "dev-tool run test:browser", - "integration-test:node": "dev-tool run test:node-tsx-js -- --timeout 5000000 \"dist-esm/test/**/*.spec.js\"", + "integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 \"dist-esm/test/**/*.spec.js\"", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "lint:fix": "eslint package.json api-extractor.json README.md src test --ext .ts,.javascript,.js --fix --fix-type [problem,suggestion]", "lint": "eslint package.json api-extractor.json README.md src test --ext .ts,.javascript,.js", diff --git a/sdk/eventgrid/eventgrid/review/eventgrid.api.md b/sdk/eventgrid/eventgrid/review/eventgrid.api.md index a41672a4bf71..645f3f1dea25 100644 --- a/sdk/eventgrid/eventgrid/review/eventgrid.api.md +++ b/sdk/eventgrid/eventgrid/review/eventgrid.api.md @@ -514,6 +514,26 @@ export interface AcsUserDisconnectedEventData { // @public export type AcsUserEngagement = string; +// @public +export interface ApiCenterApiDefinitionAddedEventData { + description: string; + specification: ApiCenterApiSpecification; + title: string; +} + +// @public +export interface ApiCenterApiDefinitionUpdatedEventData { + description: string; + specification: ApiCenterApiSpecification; + title: string; +} + +// @public +export interface ApiCenterApiSpecification { + name: string; + version: string; +} + // @public export interface ApiManagementApiCreatedEventData { resourceUri: string; @@ -2448,6 +2468,8 @@ export interface SubscriptionValidationEventData { // @public export interface SystemEventNameToEventData { + "Microsoft.ApiCenter.ApiDefinitionAdded": ApiCenterApiDefinitionAddedEventData; + "Microsoft.ApiCenter.ApiDefinitionUpdated": ApiCenterApiDefinitionUpdatedEventData; "Microsoft.ApiManagement.APICreated": ApiManagementApiCreatedEventData; "Microsoft.ApiManagement.APIDeleted": ApiManagementApiDeletedEventData; "Microsoft.ApiManagement.APIReleaseCreated": ApiManagementApiReleaseCreatedEventData; diff --git a/sdk/eventgrid/eventgrid/src/generated/generatedClientContext.ts b/sdk/eventgrid/eventgrid/src/generated/generatedClientContext.ts index c34451a0752b..09353b40d951 100644 --- a/sdk/eventgrid/eventgrid/src/generated/generatedClientContext.ts +++ b/sdk/eventgrid/eventgrid/src/generated/generatedClientContext.ts @@ -26,7 +26,7 @@ export class GeneratedClientContext extends coreClient.ServiceClient { requestContentType: "application/json; charset=utf-8" }; - const packageDetails = `azsdk-js-eventgrid/5.2.1`; + const packageDetails = `azsdk-js-eventgrid/5.3.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/eventgrid/eventgrid/src/generated/models/index.ts b/sdk/eventgrid/eventgrid/src/generated/models/index.ts index cde66beadd7e..b08c38ec9a20 100644 --- a/sdk/eventgrid/eventgrid/src/generated/models/index.ts +++ b/sdk/eventgrid/eventgrid/src/generated/models/index.ts @@ -2721,6 +2721,34 @@ export interface AvsScriptExecutionEventData { output: string[]; } +/** Schema of the data property of an EventGridEvent for a Microsoft.ApiCenter.ApiDefinitionAdded event. */ +export interface ApiCenterApiDefinitionAddedEventData { + /** API definition title. */ + title: string; + /** API definition description. */ + description: string; + /** API specification details. */ + specification: ApiCenterApiSpecification; +} + +/** API specification details. */ +export interface ApiCenterApiSpecification { + /** Specification name. */ + name: string; + /** Specification version. */ + version: string; +} + +/** Schema of the data property of an EventGridEvent for a Microsoft.ApiCenter.ApiDefinitionUpdated event. */ +export interface ApiCenterApiDefinitionUpdatedEventData { + /** API definition title. */ + title: string; + /** API definition description. */ + description: string; + /** API specification details. */ + specification: ApiCenterApiSpecification; +} + /** Event data for Microsoft.EventGrid.MQTTClientCreatedOrUpdated event. */ export type EventGridMqttClientCreatedOrUpdatedEventData = EventGridMqttClientEventData & { /** Configured state of the client. The value could be Enabled or Disabled */ diff --git a/sdk/eventgrid/eventgrid/src/generated/models/mappers.ts b/sdk/eventgrid/eventgrid/src/generated/models/mappers.ts index 173c9f2d0dd3..7ce605986d47 100644 --- a/sdk/eventgrid/eventgrid/src/generated/models/mappers.ts +++ b/sdk/eventgrid/eventgrid/src/generated/models/mappers.ts @@ -7946,6 +7946,89 @@ export const AvsScriptExecutionEventData: coreClient.CompositeMapper = { } }; +export const ApiCenterApiDefinitionAddedEventData: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ApiCenterApiDefinitionAddedEventData", + modelProperties: { + title: { + serializedName: "title", + required: true, + type: { + name: "String" + } + }, + description: { + serializedName: "description", + required: true, + type: { + name: "String" + } + }, + specification: { + serializedName: "specification", + type: { + name: "Composite", + className: "ApiCenterApiSpecification" + } + } + } + } +}; + +export const ApiCenterApiSpecification: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ApiCenterApiSpecification", + modelProperties: { + name: { + serializedName: "name", + required: true, + type: { + name: "String" + } + }, + version: { + serializedName: "version", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const ApiCenterApiDefinitionUpdatedEventData: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ApiCenterApiDefinitionUpdatedEventData", + modelProperties: { + title: { + serializedName: "title", + required: true, + type: { + name: "String" + } + }, + description: { + serializedName: "description", + required: true, + type: { + name: "String" + } + }, + specification: { + serializedName: "specification", + type: { + name: "Composite", + className: "ApiCenterApiSpecification" + } + } + } + } +}; + export const EventGridMqttClientCreatedOrUpdatedEventData: coreClient.CompositeMapper = { type: { name: "Composite", diff --git a/sdk/eventgrid/eventgrid/src/index.ts b/sdk/eventgrid/eventgrid/src/index.ts index 304372580c14..514b263396d0 100644 --- a/sdk/eventgrid/eventgrid/src/index.ts +++ b/sdk/eventgrid/eventgrid/src/index.ts @@ -334,4 +334,7 @@ export { KnownAcsEmailDeliveryReportStatus, KnownAcsUserEngagement, KnownHealthcareFhirResourceType, + ApiCenterApiDefinitionAddedEventData, + ApiCenterApiDefinitionUpdatedEventData, + ApiCenterApiSpecification, } from "./generated/models"; diff --git a/sdk/eventgrid/eventgrid/src/predicates.ts b/sdk/eventgrid/eventgrid/src/predicates.ts index 5bc4167933db..aefbb8993040 100644 --- a/sdk/eventgrid/eventgrid/src/predicates.ts +++ b/sdk/eventgrid/eventgrid/src/predicates.ts @@ -204,6 +204,8 @@ import { StorageTaskAssignmentCompletedEventData, AvsClusterUpdatedEventData, AvsClusterFailedEventData, + ApiCenterApiDefinitionAddedEventData, + ApiCenterApiDefinitionUpdatedEventData, } from "./generated/models"; import { CloudEvent, EventGridEvent } from "./models"; @@ -622,6 +624,10 @@ export interface SystemEventNameToEventData { "Microsoft.AVS.ClusterUpdated": AvsClusterUpdatedEventData; /** An interface for the event data of a "Microsoft.AVS.ClusterFailed" event. */ "Microsoft.AVS.ClusterFailed": AvsClusterFailedEventData; + /** An interface for the event data of a "Microsoft.ApiCenter.ApiDefinitionAdded" event. */ + "Microsoft.ApiCenter.ApiDefinitionAdded": ApiCenterApiDefinitionAddedEventData; + /** An interface for the event data of a "Microsoft.ApiCenter.ApiDefinitionUpdated" event. */ + "Microsoft.ApiCenter.ApiDefinitionUpdated": ApiCenterApiDefinitionUpdatedEventData; } /** diff --git a/sdk/eventgrid/eventgrid/src/tracing.ts b/sdk/eventgrid/eventgrid/src/tracing.ts index 3f2d35906375..baa82fc90103 100644 --- a/sdk/eventgrid/eventgrid/src/tracing.ts +++ b/sdk/eventgrid/eventgrid/src/tracing.ts @@ -10,5 +10,5 @@ import { createTracingClient } from "@azure/core-tracing"; export const tracingClient = createTracingClient({ namespace: "Microsoft.Messaging.EventGrid", packageName: "@azure/event-grid", - packageVersion: "5.2.1", + packageVersion: "5.3.0", }); diff --git a/sdk/eventgrid/eventgrid/swagger/README.md b/sdk/eventgrid/eventgrid/swagger/README.md index 20eb28f027a3..f46bfdea7709 100644 --- a/sdk/eventgrid/eventgrid/swagger/README.md +++ b/sdk/eventgrid/eventgrid/swagger/README.md @@ -5,9 +5,9 @@ ## Configuration ```yaml -require: "https://github.com/Azure/azure-rest-api-specs/blob/46e9f311c397352c1f9b60c5277bf6f982c3c172/specification/eventgrid/data-plane/readme.md" +require: "https://github.com/Azure/azure-rest-api-specs/blob/64819c695760764afa059d799fc7320d3fee33de/specification/eventgrid/data-plane/readme.md" package-name: "@azure/eventgrid" -package-version: "5.2.1" +package-version: "5.3.0" title: GeneratedClient description: EventGrid Client generate-metadata: false diff --git a/sdk/eventgrid/eventgrid/tests.yml b/sdk/eventgrid/eventgrid/tests.yml index 5c802ace4c1c..92a319dbb68a 100644 --- a/sdk/eventgrid/eventgrid/tests.yml +++ b/sdk/eventgrid/eventgrid/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/eventgrid" ServiceDirectory: eventgrid diff --git a/sdk/eventhub/event-hubs/package.json b/sdk/eventhub/event-hubs/package.json index 9def17528196..d45f75cd7acf 100644 --- a/sdk/eventhub/event-hubs/package.json +++ b/sdk/eventhub/event-hubs/package.json @@ -52,7 +52,7 @@ "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "generate-certs": "node ./scripts/generateCerts.js", "integration-test:browser": "cross-env TEST_TARGET=live DISABLE_MULTI_VERSION_TESTING=true karma start --single-run", - "integration-test:node": "cross-env TEST_TARGET=live DISABLE_MULTI_VERSION_TESTING=true dev-tool run test:node-js-input --no-test-proxy=true --use-esm-workaround=true -- --timeout 600000 \"dist-esm/test/internal/*.spec.js\" \"dist-esm/test/public/*.spec.js\" \"dist-esm/test/public/**/*.spec.js\" \"dist-esm/test/internal/**/*.spec.js\"", + "integration-test:node": "cross-env TEST_TARGET=live DISABLE_MULTI_VERSION_TESTING=true dev-tool run test:node-js-input --no-test-proxy=true -- --timeout 600000 \"dist-esm/test/internal/*.spec.js\" \"dist-esm/test/public/*.spec.js\" \"dist-esm/test/public/**/*.spec.js\" \"dist-esm/test/internal/**/*.spec.js\"", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "lint:fix": "eslint package.json api-extractor.json README.md src test --ext .ts,.javascript,.js --fix --fix-type [problem,suggestion]", "lint": "eslint package.json api-extractor.json README.md src test --ext .ts,.javascript,.js", diff --git a/sdk/eventhub/event-hubs/tests.yml b/sdk/eventhub/event-hubs/tests.yml index 0c6e35938d19..80a237ff4728 100644 --- a/sdk/eventhub/event-hubs/tests.yml +++ b/sdk/eventhub/event-hubs/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/event-hubs" ServiceDirectory: eventhub diff --git a/sdk/eventhub/eventhubs-checkpointstore-blob/tests.yml b/sdk/eventhub/eventhubs-checkpointstore-blob/tests.yml index 3bf7161497d4..7da912e12354 100644 --- a/sdk/eventhub/eventhubs-checkpointstore-blob/tests.yml +++ b/sdk/eventhub/eventhubs-checkpointstore-blob/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/eventhubs-checkpointstore-blob" ServiceDirectory: eventhub diff --git a/sdk/eventhub/eventhubs-checkpointstore-table/tests.yml b/sdk/eventhub/eventhubs-checkpointstore-table/tests.yml index a12b37fddfc0..07f8c698970d 100644 --- a/sdk/eventhub/eventhubs-checkpointstore-table/tests.yml +++ b/sdk/eventhub/eventhubs-checkpointstore-table/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/eventhubs-checkpointstore-table" ServiceDirectory: eventhub diff --git a/sdk/formrecognizer/ai-form-recognizer/tests.yml b/sdk/formrecognizer/ai-form-recognizer/tests.yml index d8238dc886b1..6b7d993e8824 100644 --- a/sdk/formrecognizer/ai-form-recognizer/tests.yml +++ b/sdk/formrecognizer/ai-form-recognizer/tests.yml @@ -10,8 +10,8 @@ parameters: trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/ai-form-recognizer" ServiceDirectory: formrecognizer diff --git a/sdk/identity/identity/.gitignore b/sdk/identity/identity/.gitignore index 3d6981104f4d..ba21a232df7d 100644 --- a/sdk/identity/identity/.gitignore +++ b/sdk/identity/identity/.gitignore @@ -1,3 +1,5 @@ src/**/*.js +integration/AzureFunctions/app.zip +integration/AzureWebApps/.azure/ !assets/fake-cert.pem !assets/fake-cert-password.pem diff --git a/sdk/identity/identity/integration/AzureFunctions/RunTest/function.json b/sdk/identity/identity/integration/AzureFunctions/RunTest/function.json new file mode 100644 index 000000000000..f79d5fe8bf33 --- /dev/null +++ b/sdk/identity/identity/integration/AzureFunctions/RunTest/function.json @@ -0,0 +1,17 @@ +{ + "bindings": [ + { + "type": "httpTrigger", + "direction": "in", + "authLevel": "anonymous", + "methods": ["get"], + "name": "req" + }, + { + "type": "http", + "direction": "out", + "name": "res" + } + ], + "scriptFile": "./dist/authenticateToStorageFunction.js" +} diff --git a/sdk/identity/identity/integration/AzureFunctions/RunTest/host.json b/sdk/identity/identity/integration/AzureFunctions/RunTest/host.json new file mode 100644 index 000000000000..9abc15037e03 --- /dev/null +++ b/sdk/identity/identity/integration/AzureFunctions/RunTest/host.json @@ -0,0 +1,15 @@ +{ + "version": "2.0", + "logging": { + "applicationInsights": { + "samplingSettings": { + "isEnabled": true, + "excludedTypes": "Request" + } + } + }, + "extensionBundle": { + "id": "Microsoft.Azure.Functions.ExtensionBundle", + "version": "[4.0.0, 5.0.0)" + } + } \ No newline at end of file diff --git a/sdk/identity/identity/integration/AzureFunctions/RunTest/local.settings.json b/sdk/identity/identity/integration/AzureFunctions/RunTest/local.settings.json new file mode 100644 index 000000000000..8cba42ef2749 --- /dev/null +++ b/sdk/identity/identity/integration/AzureFunctions/RunTest/local.settings.json @@ -0,0 +1,7 @@ +{ + "IsEncrypted": false, + "Values": { + "FUNCTIONS_WORKER_RUNTIME": "node" + }, + "ConnectionStrings": {} + } \ No newline at end of file diff --git a/sdk/identity/identity/integration/AzureFunctions/RunTest/package.json b/sdk/identity/identity/integration/AzureFunctions/RunTest/package.json new file mode 100644 index 000000000000..0242646db4ff --- /dev/null +++ b/sdk/identity/identity/integration/AzureFunctions/RunTest/package.json @@ -0,0 +1,29 @@ +{ + "name": "@azure-samples/azure-function-test", + "version": "1.0.0", + "description": "", + "main": "dist/authenticateToStorageFunction.js", + "scripts": { + "build": "tsc", + "build:production": "npm run prestart && npm prune --production", + "clean": "rimraf --glob dist dist-*", + "prestart": "npm run build:production && func extensions install", + "start:host": "func start --typescript", + "start": "npm-run-all --parallel start:host watch", + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "", + "license": "ISC", + "dependencies": { + "@azure/identity": "^4.0.0", + "@azure/storage-blob": "^12.17.0", + "@azure/functions": "^4.1.0", + "applicationinsights": "^2.9.2", + "tslib": "^1.10.0" + }, + "devDependencies": { + "npm-run-all": "^4.1.5", + "typescript": "^5.3.3", + "rimraf": "^5.0.5" + } +} diff --git a/sdk/identity/identity/integration/AzureFunctions/RunTest/src/functions/authenticateToStorageFunction.ts b/sdk/identity/identity/integration/AzureFunctions/RunTest/src/functions/authenticateToStorageFunction.ts new file mode 100644 index 000000000000..de747a680dac --- /dev/null +++ b/sdk/identity/identity/integration/AzureFunctions/RunTest/src/functions/authenticateToStorageFunction.ts @@ -0,0 +1,61 @@ + +import { BlobServiceClient } from "@azure/storage-blob"; +import { ManagedIdentityCredential } from "@azure/identity"; +import { app, HttpRequest, HttpResponseInit, InvocationContext } from "@azure/functions"; + +export async function authenticateStorage(request: HttpRequest, context: InvocationContext): Promise { + try { + context.log('Http function was triggered.'); + //parse the request body + await authToStorageHelper(context); + + return { + // status: 200, /* Defaults to 200 */ + body: "Successfully authenticated with storage", + }; + } catch (error: any) { + context.log(error); + return { + status: 400, + body: error, + }; + } +}; + +app.http('authenticateStorage', { + methods: ['GET', 'POST'], + authLevel: "anonymous", + handler: authenticateStorage +}); + +async function authToStorageHelper(context: InvocationContext): Promise { + // This will use the system managed identity + const credential1 = new ManagedIdentityCredential(); + + const clientId = process.env.IDENTITY_USER_DEFINED_IDENTITY_CLIENT_ID!; + const account1 = process.env.IDENTITY_STORAGE_NAME_1; + const account2 = process.env.IDENTITY_STORAGE_NAME_2; + + const credential2 = new ManagedIdentityCredential({ "clientId": clientId }); + const client1 = new BlobServiceClient(`https://${account1}.blob.core.windows.net`, credential1); + const client2 = new BlobServiceClient(`https://${account2}.blob.core.windows.net`, credential2); + context.log("Getting containers for storage account client: system managed identity") + let iter = client1.listContainers(); + let i = 1; + context.log("Client with system assigned identity"); + let containerItem = await iter.next(); + while (!containerItem.done) { + context.log(`Container ${i++}: ${containerItem.value.name}`); + containerItem = await iter.next(); + } + + context.log("Getting properties for storage account client: user assigned managed identity") + iter = client2.listContainers(); + context.log("Client with user assigned identity"); + containerItem = await iter.next(); + while (!containerItem.done) { + context.log(`Container ${i++}: ${containerItem.value.name}`); + containerItem = await iter.next(); + } + +} diff --git a/sdk/identity/identity/integration/AzureFunctions/RunTest/tsconfig.json b/sdk/identity/identity/integration/AzureFunctions/RunTest/tsconfig.json new file mode 100644 index 000000000000..62ac3de554d7 --- /dev/null +++ b/sdk/identity/identity/integration/AzureFunctions/RunTest/tsconfig.json @@ -0,0 +1,14 @@ +{ + "compilerOptions": { + "target": "ES2020", + "module": "commonjs", + "moduleResolution": "node", + "resolveJsonModule": true, + "esModuleInterop": true, + "strict": true, + "alwaysStrict": true, + "outDir": "dist", + }, + "include": ["src"] + } + \ No newline at end of file diff --git a/sdk/identity/identity/integration/AzureKubernetes/Dockerfile b/sdk/identity/identity/integration/AzureKubernetes/Dockerfile new file mode 100644 index 000000000000..143b832a5485 --- /dev/null +++ b/sdk/identity/identity/integration/AzureKubernetes/Dockerfile @@ -0,0 +1,20 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +ARG NODE_VERSION=20 + +# docker can't tell when the repo has changed and will therefore cache this layer +# internal users should provide MCR registry to build via 'docker build . --build-arg REGISTRY="mcr.microsoft.com/mirror/docker/library/"' +# public OSS users should simply leave this argument blank or ignore its presence entirely +ARG REGISTRY="" + +FROM ${REGISTRY}node:${NODE_VERSION}-alpine as repo +RUN apk --no-cache add git +RUN git clone https://github.com/azure/azure-sdk-for-js --single-branch --branch main --depth 1 /azure-sdk-for-js + +WORKDIR /azure-sdk-for-js/sdk/identity/identity/test/integration/AzureKubernetes +RUN npm install +RUN npm install -g typescript +RUN tsc -p . +CMD ["node", "index"] diff --git a/sdk/identity/identity/integration/AzureKubernetes/package.json b/sdk/identity/identity/integration/AzureKubernetes/package.json new file mode 100644 index 000000000000..ba94e773afbe --- /dev/null +++ b/sdk/identity/identity/integration/AzureKubernetes/package.json @@ -0,0 +1,22 @@ +{ + "name": "@azure-samples/azure-kubernetes-test", + "version": "1.0.0", + "description": "", + "main": "index.js", + "scripts": { + "build": "tsc", + "start": "ts-node src/index.ts", + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "", + "license": "ISC", + "dependencies": { + "@azure/identity": "^4.0.0", + "@azure/storage-blob": "^12.17.0", + "tslib": "^1.10.0", + "ts-node": "10.9.2" + }, + "devDependencies": { + "typescript": "^5.3.3" + } + } diff --git a/sdk/identity/identity/integration/AzureKubernetes/src/index.ts b/sdk/identity/identity/integration/AzureKubernetes/src/index.ts new file mode 100644 index 000000000000..a35f0bb35d86 --- /dev/null +++ b/sdk/identity/identity/integration/AzureKubernetes/src/index.ts @@ -0,0 +1,48 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { ManagedIdentityCredential } from "@azure/identity"; +import { BlobServiceClient } from "@azure/storage-blob"; +import * as dotenv from "dotenv"; +// Initialize the environment +dotenv.config(); + +async function main(): Promise { + let systemSuccessMessage = ""; + try{ + const account1 = process.env.IDENTITY_STORAGE_NAME_1; + const account2 = process.env.IDENTITY_STORAGE_NAME_2; + const credentialSystemAssigned = new ManagedIdentityCredential(); + const credentialUserAssigned = new ManagedIdentityCredential({clientId: process.env.IDENTITY_USER_DEFINED_IDENTITY_CLIENT_ID}) + const client1 = new BlobServiceClient(`https://${account1}.blob.core.windows.net`, credentialSystemAssigned); + const client2 = new BlobServiceClient(`https://${account2}.blob.core.windows.net`, credentialUserAssigned); + let iter = client1.listContainers(); + + let i = 1; + console.log("Client with system assigned identity"); + let containerItem = await iter.next(); + while (!containerItem.done) { + console.log(`Container ${i++}: ${containerItem.value.name}`); + containerItem = await iter.next(); + } + systemSuccessMessage = "Successfully acquired token with system-assigned ManagedIdentityCredential" + console.log("Client with user assigned identity") + iter = client2.listContainers(); + i = 1; + containerItem = await iter.next(); + while (!containerItem.done) { + console.log(`Container ${i++}: ${containerItem.value.name}`); + containerItem = await iter.next(); + } + console.log("Successfully acquired tokens with async ManagedIdentityCredential") + } + catch(e){ + console.error(`${e} \n ${systemSuccessMessage}`); + } + } + + main().catch((err) => { + console.log("error code: ", err.code); + console.log("error message: ", err.message); + console.log("error stack: ", err.stack); + }); diff --git a/sdk/identity/identity/integration/AzureKubernetes/tsconfig.json b/sdk/identity/identity/integration/AzureKubernetes/tsconfig.json new file mode 100644 index 000000000000..48d7948cbd24 --- /dev/null +++ b/sdk/identity/identity/integration/AzureKubernetes/tsconfig.json @@ -0,0 +1,13 @@ +{ + "compilerOptions": { + "target": "ES2020", + "module": "commonjs", + "moduleResolution": "node", + "resolveJsonModule": true, + "esModuleInterop": true, + "strict": true, + "alwaysStrict": true, + "outDir": "dist", + "rootDir": "." + } + } \ No newline at end of file diff --git a/sdk/identity/identity/integration/AzureWebApps/package.json b/sdk/identity/identity/integration/AzureWebApps/package.json new file mode 100644 index 000000000000..8cce2f60ae33 --- /dev/null +++ b/sdk/identity/identity/integration/AzureWebApps/package.json @@ -0,0 +1,27 @@ +{ + "name": "@azure-samples/azure-web-apps-test", + "version": "1.0.0", + "description": "", + "main": "dist/index.js", + "scripts": { + "build": "tsc", + "start": "node dist/index.js", + "clean": "rimraf --glob dist dist-*", + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "", + "license": "ISC", + "dependencies": { + "@azure/identity": "^4.0.0", + "@azure/storage-blob": "^12.17.0", + "express": "^4.18.2", + "tslib": "^1.10.0" + }, + "devDependencies": { + "npm-run-all": "^4.1.5", + "typescript": "^5.3.3", + "@types/express": "^4.17.21", + "dotenv": "16.4.4", + "rimraf": "^5.0.5" + } +} diff --git a/sdk/identity/identity/integration/AzureWebApps/src/index.ts b/sdk/identity/identity/integration/AzureWebApps/src/index.ts new file mode 100644 index 000000000000..235c7b4e6345 --- /dev/null +++ b/sdk/identity/identity/integration/AzureWebApps/src/index.ts @@ -0,0 +1,60 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import express from "express"; +import { ManagedIdentityCredential } from "@azure/identity"; +import { BlobServiceClient } from "@azure/storage-blob"; +import dotenv from "dotenv"; +// Initialize the environment +dotenv.config(); +const app = express(); + +app.get("/", (req: express.Request, res: express.Response) => { + res.send("Ok") +}) + +app.get("/sync", async (req: express.Request, res: express.Response) => { + let systemSuccessMessage = ""; + try { + const account1 = process.env.IDENTITY_STORAGE_NAME_1; + const credentialSystemAssigned = new ManagedIdentityCredential(); + const client1 = new BlobServiceClient(`https://${account1}.blob.core.windows.net`, credentialSystemAssigned); + let iter = client1.listContainers(); + let i = 0; + console.log("Client with system assigned identity"); + let containerItem = await iter.next(); + while (!containerItem.done) { + console.log(`Container ${i++}: ${containerItem.value.name}`); + containerItem = await iter.next(); + } + console.log("Client with system assigned identity"); + console.log("Properties of the 1st client =", iter); + systemSuccessMessage = "Successfully acquired token with system-assigned ManagedIdentityCredential" + console.log(systemSuccessMessage); + } + catch (e) { + console.error(e); + } + try { + const account2 = process.env.IDENTITY_STORAGE_NAME_2; + const credentialUserAssigned = new ManagedIdentityCredential({ clientId: process.env.IDENTITY_USER_DEFINED_IDENTITY_CLIENT_ID }) + const client2 = new BlobServiceClient(`https://${account2}.blob.core.windows.net`, credentialUserAssigned); + let iter = client2.listContainers(); + let i = 0; + console.log("Client with user assigned identity") + let containerItem = await iter.next(); + while (!containerItem.done) { + console.log(`Container ${i++}: ${containerItem.value.name}`); + containerItem = await iter.next(); + } + res.status(200).send("Successfully acquired tokens with async ManagedIdentityCredential") + } + catch (e) { + console.error(e); + res.status(500).send(`${e} \n ${systemSuccessMessage}`); + } +}) + +app.listen(8080, () => { + console.log(`Authorization code redirect server listening on port 8080`); +}); diff --git a/sdk/identity/identity/integration/AzureWebApps/tsconfig.json b/sdk/identity/identity/integration/AzureWebApps/tsconfig.json new file mode 100644 index 000000000000..d6dc70359561 --- /dev/null +++ b/sdk/identity/identity/integration/AzureWebApps/tsconfig.json @@ -0,0 +1,13 @@ +{ + "compilerOptions": { + "target": "ES2020", + "module": "commonjs", + "moduleResolution": "node", + "resolveJsonModule": true, + "esModuleInterop": true, + "strict": true, + "alwaysStrict": true, + "outDir": "dist", + }, + "include": ["src"] + } \ No newline at end of file diff --git a/sdk/identity/identity/package.json b/sdk/identity/identity/package.json index de3eac1d4112..e244d7c21828 100644 --- a/sdk/identity/identity/package.json +++ b/sdk/identity/identity/package.json @@ -55,7 +55,7 @@ "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "integration-test:browser": "echo skipped", - "integration-test:node": "dev-tool run test:node-js-input -- --timeout 180000 'dist-esm/test/public/node/*.spec.js' 'dist-esm/test/internal/node/*.spec.js'", + "integration-test:node": "dev-tool run test:node-ts-input -- --timeout 180000 'test/public/node/*.spec.ts' 'test/internal/node/*.spec.ts' 'test/integration/*.spec.ts'", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "lint:fix": "eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]", "lint": "eslint package.json api-extractor.json src test --ext .ts", diff --git a/sdk/identity/identity/src/msal/nodeFlows/msalClient.ts b/sdk/identity/identity/src/msal/nodeFlows/msalClient.ts index 20b394e697cf..2fdb72fed08e 100644 --- a/sdk/identity/identity/src/msal/nodeFlows/msalClient.ts +++ b/sdk/identity/identity/src/msal/nodeFlows/msalClient.ts @@ -4,7 +4,7 @@ import * as msal from "@azure/msal-node"; import { AccessToken, GetTokenOptions } from "@azure/core-auth"; -import { PluginConfiguration, generatePluginConfiguration } from "./msalPlugins"; +import { PluginConfiguration, msalPlugins } from "./msalPlugins"; import { credentialLogger, formatSuccess } from "../../util/logging"; import { defaultLoggerCallback, @@ -141,7 +141,7 @@ export function createMsalClient( cachedAccount: createMsalClientOptions.authenticationRecord ? publicToMsal(createMsalClientOptions.authenticationRecord) : null, - pluginConfiguration: generatePluginConfiguration(createMsalClientOptions), + pluginConfiguration: msalPlugins.generatePluginConfiguration(createMsalClientOptions), }; const confidentialApps: Map = new Map(); diff --git a/sdk/identity/identity/src/msal/nodeFlows/msalPlugins.ts b/sdk/identity/identity/src/msal/nodeFlows/msalPlugins.ts index c5d2145afb42..099f7d732058 100644 --- a/sdk/identity/identity/src/msal/nodeFlows/msalPlugins.ts +++ b/sdk/identity/identity/src/msal/nodeFlows/msalPlugins.ts @@ -82,7 +82,7 @@ export const msalNodeFlowNativeBrokerControl: NativeBrokerPluginControl = { * @param options - options for creating the MSAL client * @returns plugin configuration */ -export function generatePluginConfiguration(options: MsalClientOptions): PluginConfiguration { +function generatePluginConfiguration(options: MsalClientOptions): PluginConfiguration { const config: PluginConfiguration = { cache: {}, broker: { @@ -130,3 +130,10 @@ export function generatePluginConfiguration(options: MsalClientOptions): PluginC return config; } + +/** + * Wraps generatePluginConfiguration as a writeable property for test stubbing purposes. + */ +export const msalPlugins = { + generatePluginConfiguration, +}; diff --git a/sdk/identity/identity/test-resources.bicep b/sdk/identity/identity/test-resources.bicep deleted file mode 100644 index b3490d3b50af..000000000000 --- a/sdk/identity/identity/test-resources.bicep +++ /dev/null @@ -1 +0,0 @@ -param baseName string diff --git a/sdk/identity/identity/test/integration/azureFunctionsTest.spec.ts b/sdk/identity/identity/test/integration/azureFunctionsTest.spec.ts new file mode 100644 index 000000000000..a989f0a973d6 --- /dev/null +++ b/sdk/identity/identity/test/integration/azureFunctionsTest.spec.ts @@ -0,0 +1,39 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { ServiceClient } from "@azure/core-client"; +import { createPipelineRequest } from "@azure/core-rest-pipeline"; +import { assert } from "chai"; +import { Context } from "mocha"; +import { isLiveMode } from "@azure-tools/test-recorder"; + +describe("AzureFunctions Integration test", function () { + it("test the Azure Functions endpoint where the sync MI credential is used.", async function (this: Context) { + if (!isLiveMode()) { + this.skip(); + } + const baseUri = baseUrl(); + const client = new ServiceClient({ baseUri: baseUri }); + const pipelineRequest = createPipelineRequest({ + url: baseUri, + method: "GET", + }); + const response = await client.sendRequest(pipelineRequest); + console.log(response.bodyAsText); + assert.equal(response.status, 200, `Expected status 200. Received ${response.status}`); + assert.equal( + response.bodyAsText, + "Successfully authenticated with storage", + `Expected message: "Successfully authenticated with storage". Received message: ${response.bodyAsText}`, + ); + }); +}); + +function baseUrl(): string { + const functionName = process.env.IDENTITY_FUNCTION_NAME; + if (!functionName) { + console.log("IDENTITY_FUNCTION_NAME is not set"); + throw new Error("IDENTITY_FUNCTION_NAME is not set"); + } + return `https://${functionName}.azurewebsites.net/api/authenticateStorage`; +} diff --git a/sdk/identity/identity/test/integration/azureWebAppsTest.spec.ts b/sdk/identity/identity/test/integration/azureWebAppsTest.spec.ts new file mode 100644 index 000000000000..ce77e9ddd09f --- /dev/null +++ b/sdk/identity/identity/test/integration/azureWebAppsTest.spec.ts @@ -0,0 +1,34 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { ServiceClient } from "@azure/core-client"; +import { createPipelineRequest } from "@azure/core-rest-pipeline"; +import { assert } from "chai"; +import { Context } from "mocha"; +import { isLiveMode } from "@azure-tools/test-recorder"; + +describe("AzureWebApps Integration test", function () { + it("test the Azure Web Apps endpoint where the MI credential is used.", async function (this: Context) { + if (!isLiveMode()) { + this.skip(); + } + const baseUri = baseUrl(); + const client = new ServiceClient({ baseUri: baseUri }); + const pipelineRequest = createPipelineRequest({ + url: baseUri, + method: "GET", + }); + const response = await client.sendRequest(pipelineRequest); + console.log(response.bodyAsText); + assert.equal(response.status, 200, `Expected status 200. Received ${response.status}`); + }); +}); + +function baseUrl(): string { + const webAppName = process.env.IDENTITY_WEBAPP_NAME; + if (!webAppName) { + console.log("IDENTITY_WEBAPP_NAME is not set"); + throw new Error("IDENTITY_WEBAPP_NAME is not set"); + } + return `https://${webAppName}.azurewebsites.net/sync`; +} diff --git a/sdk/identity/identity/test/internal/node/msalClient.spec.ts b/sdk/identity/identity/test/internal/node/msalClient.spec.ts index ba03e6aad1e0..c4ad622eac28 100644 --- a/sdk/identity/identity/test/internal/node/msalClient.spec.ts +++ b/sdk/identity/identity/test/internal/node/msalClient.spec.ts @@ -2,7 +2,6 @@ // Licensed under the MIT license. import * as msalClient from "../../../src/msal/nodeFlows/msalClient"; -import * as msalPlugins from "../../../src/msal/nodeFlows/msalPlugins"; import { AuthenticationResult, ConfidentialClientApplication } from "@azure/msal-node"; import { MsalTestCleanup, msalNodeTestSetup } from "../../node/msalNodeTestSetup"; @@ -13,6 +12,7 @@ import { AuthenticationRequiredError } from "../../../src/errors"; import { IdentityClient } from "../../../src/client/identityClient"; import { assert } from "@azure/test-utils"; import { credentialLogger } from "../../../src/util/logging"; +import { msalPlugins } from "../../../src/msal/nodeFlows/msalPlugins"; import sinon from "sinon"; describe("MsalClient", function () { diff --git a/sdk/identity/identity/test/internal/node/msalPlugins.spec.ts b/sdk/identity/identity/test/internal/node/msalPlugins.spec.ts index edeb73fcb2d1..cf1de97d8da3 100644 --- a/sdk/identity/identity/test/internal/node/msalPlugins.spec.ts +++ b/sdk/identity/identity/test/internal/node/msalPlugins.spec.ts @@ -4,9 +4,9 @@ import { ICachePlugin, INativeBrokerPlugin } from "@azure/msal-node"; import { PluginConfiguration, - generatePluginConfiguration, msalNodeFlowCacheControl, msalNodeFlowNativeBrokerControl, + msalPlugins, } from "../../../src/msal/nodeFlows/msalPlugins"; import { MsalClientOptions } from "../../../src/msal/nodeFlows/msalClient"; @@ -21,7 +21,7 @@ describe("#generatePluginConfiguration", function () { }); it("returns a PluginConfiguration with default values", function () { - const result = generatePluginConfiguration(options); + const result = msalPlugins.generatePluginConfiguration(options); const expected: PluginConfiguration = { cache: {}, broker: { @@ -40,7 +40,7 @@ describe("#generatePluginConfiguration", function () { it("should throw an error if persistence provider is not configured", () => { options.tokenCachePersistenceOptions = { enabled: true }; assert.throws( - () => generatePluginConfiguration(options), + () => msalPlugins.generatePluginConfiguration(options), /Persistent token caching was requested/, ); }); @@ -54,7 +54,7 @@ describe("#generatePluginConfiguration", function () { }; const pluginProvider: () => Promise = () => Promise.resolve(cachePlugin); msalNodeFlowCacheControl.setPersistence(pluginProvider); - const result = generatePluginConfiguration(options); + const result = msalPlugins.generatePluginConfiguration(options); assert.exists(result.cache.cachePlugin); const plugin = await result.cache.cachePlugin; assert.strictEqual(plugin, cachePlugin); @@ -69,7 +69,7 @@ describe("#generatePluginConfiguration", function () { }; const pluginProvider: () => Promise = () => Promise.resolve(cachePluginCae); msalNodeFlowCacheControl.setPersistence(pluginProvider); - const result = generatePluginConfiguration(options); + const result = msalPlugins.generatePluginConfiguration(options); assert.exists(result.cache.cachePluginCae); const plugin = await result.cache.cachePluginCae; assert.strictEqual(plugin, cachePluginCae); @@ -86,7 +86,7 @@ describe("#generatePluginConfiguration", function () { it("throws an error if native broker is not configured", () => { options.brokerOptions = { enabled: true, parentWindowHandle }; assert.throws( - () => generatePluginConfiguration(options), + () => msalPlugins.generatePluginConfiguration(options), /Broker for WAM was requested to be enabled/, ); }); @@ -100,7 +100,7 @@ describe("#generatePluginConfiguration", function () { const nativeBrokerPlugin: INativeBrokerPlugin = {} as INativeBrokerPlugin; msalNodeFlowNativeBrokerControl.setNativeBroker(nativeBrokerPlugin); - const result = generatePluginConfiguration(options); + const result = msalPlugins.generatePluginConfiguration(options); assert.strictEqual(result.broker.nativeBrokerPlugin, nativeBrokerPlugin); assert.strictEqual(result.broker.enableMsaPassthrough, true); assert.strictEqual(result.broker.parentWindowHandle, parentWindowHandle); diff --git a/sdk/identity/identity/tests.yml b/sdk/identity/identity/tests.yml index 6f729796cd1e..e9f7a3176445 100644 --- a/sdk/identity/identity/tests.yml +++ b/sdk/identity/identity/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/identity" ServiceDirectory: identity diff --git a/sdk/identity/identity/tsconfig.json b/sdk/identity/identity/tsconfig.json index dc4de9e400d1..ff9ab311ff4e 100644 --- a/sdk/identity/identity/tsconfig.json +++ b/sdk/identity/identity/tsconfig.json @@ -10,5 +10,5 @@ } }, "include": ["src/**/*", "test/**/*", "samples-dev/**/*.ts"], - "exclude": ["test/manual*/**/*", "node_modules"] + "exclude": ["test/manual*/**/*", "integration/**", "node_modules"] } diff --git a/sdk/identity/test-resources-post.ps1 b/sdk/identity/test-resources-post.ps1 new file mode 100644 index 000000000000..f0108f4fc09d --- /dev/null +++ b/sdk/identity/test-resources-post.ps1 @@ -0,0 +1,139 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + +# IMPORTANT: Do not invoke this file directly. Please instead run eng/New-TestResources.ps1 from the repository root. + +param ( + [Parameter(ValueFromRemainingArguments = $true)] + $RemainingArguments, + + [Parameter()] + [hashtable] $DeploymentOutputs +) + +# If not Linux, skip this script. +# if ($isLinux -ne "Linux") { +# Write-Host "Skipping post-deployment because not running on Linux." +# return +# } + +$ErrorActionPreference = 'Continue' +$PSNativeCommandUseErrorActionPreference = $true + +$webappRoot = "$PSScriptRoot/identity/integration" | Resolve-Path +$workingFolder = $webappRoot; + +Write-Host "Working directory: $workingFolder" + +az login --service-principal -u $DeploymentOutputs['IDENTITY_CLIENT_ID'] -p $DeploymentOutputs['IDENTITY_CLIENT_SECRET'] --tenant $DeploymentOutputs['IDENTITY_TENANT_ID'] +az account set --subscription $DeploymentOutputs['IDENTITY_SUBSCRIPTION_ID'] + +# Azure Functions app deployment +Write-Host "Building the code for functions app" +Push-Location "$webappRoot/AzureFunctions/RunTest" +npm install +npm run build +Pop-Location +Write-Host "starting azure functions deployment" +Compress-Archive -Path "$workingFolder/AzureFunctions/RunTest/*" -DestinationPath "$workingFolder/AzureFunctions/app.zip" -Force +az functionapp deployment source config-zip -g $DeploymentOutputs['IDENTITY_RESOURCE_GROUP'] -n $DeploymentOutputs['IDENTITY_FUNCTION_NAME'] --src "$workingFolder/AzureFunctions/app.zip" +Remove-Item -Force "$workingFolder/AzureFunctions/app.zip" + +Write-Host "Deployed function app" +# $image = "$loginServer/identity-functions-test-image" +# docker build --no-cache -t $image "$workingFolder/AzureFunctions" +# docker push $image + +# az functionapp config container set -g $DeploymentOutputs['IDENTITY_RESOURCE_GROUP'] -n $DeploymentOutputs['IDENTITY_FUNCTION_NAME'] -i $image -r $loginServer -p $(az acr credential show -n $DeploymentOutputs['IDENTITY_ACR_NAME'] --query "passwords[0].value" -o tsv) -u $(az acr credential show -n $DeploymentOutputs['IDENTITY_ACR_NAME'] --query username -o tsv) + +# Azure Web Apps app deployment +# Push-Location "$webappRoot/AzureWebApps" +# npm install +# npm run build +# Compress-Archive -Path "$workingFolder/AzureWebApps/*" -DestinationPath "$workingFolder/AzureWebApps/app.zip" -Force +# az webapp deploy --resource-group $DeploymentOutputs['IDENTITY_RESOURCE_GROUP'] --name $DeploymentOutputs['IDENTITY_WEBAPP_NAME'] --src-path "$workingFolder/AzureWebApps/app.zip" --async true +# Remove-Item -Force "$workingFolder/AzureWebApps/app.zip" +# Pop-Location + +Push-Location "$webappRoot/AzureWebApps" +npm install +npm run build +az webapp up --resource-group $DeploymentOutputs['IDENTITY_RESOURCE_GROUP'] --name $DeploymentOutputs['IDENTITY_WEBAPP_NAME'] --plan $DeploymentOutputs['IDENTITY_WEBAPP_PLAN'] --runtime NODE:18-lts +Pop-Location + +Write-Host "Deployed webapp" +Write-Host "Sleeping for a bit to ensure logs is ready." +Start-Sleep -Seconds 300 + +# Write-Host "Sleeping for a bit to ensure container registry is ready." +# Start-Sleep -Seconds 20 +# Write-Host "trying to login to acr" +# az acr login -n $DeploymentOutputs['IDENTITY_ACR_NAME'] +# $loginServer = az acr show -n $DeploymentOutputs['IDENTITY_ACR_NAME'] --query loginServer -o tsv + +# # Azure Kubernetes Service deployment +# $image = "$loginServer/identity-aks-test-image" +# docker build --no-cache -t $image "$workingFolder/AzureKubernetes" +# docker push $image + +# Attach the ACR to the AKS cluster +# Write-Host "Attaching ACR to AKS cluster" +# az aks update -n $DeploymentOutputs['IDENTITY_AKS_CLUSTER_NAME'] -g $DeploymentOutputs['IDENTITY_RESOURCE_GROUP'] --attach-acr $DeploymentOutputs['IDENTITY_ACR_NAME'] + +# $MIClientId = $DeploymentOutputs['IDENTITY_USER_DEFINED_IDENTITY_CLIENT_ID'] +# $MIName = $DeploymentOutputs['IDENTITY_USER_DEFINED_IDENTITY_NAME'] +# $SaAccountName = 'workload-identity-sa' +# $PodName = $DeploymentOutputs['IDENTITY_AKS_POD_NAME'] +# $storageName = $DeploymentOutputs['IDENTITY_STORAGE_NAME_2'] + +# # Get the aks cluster credentials +# Write-Host "Getting AKS credentials" +# az aks get-credentials --resource-group $DeploymentOutputs['IDENTITY_RESOURCE_GROUP'] --name $DeploymentOutputs['IDENTITY_AKS_CLUSTER_NAME'] + +# #Get the aks cluster OIDC issuer +# Write-Host "Getting AKS OIDC issuer" +# $AKS_OIDC_ISSUER = az aks show -n $DeploymentOutputs['IDENTITY_AKS_CLUSTER_NAME'] -g $DeploymentOutputs['IDENTITY_RESOURCE_GROUP'] --query "oidcIssuerProfile.issuerUrl" -otsv + +# # Create the federated identity +# Write-Host "Creating federated identity" +# az identity federated-credential create --name $MIName --identity-name $MIName --resource-group $DeploymentOutputs['IDENTITY_RESOURCE_GROUP'] --issuer $AKS_OIDC_ISSUER --subject system:serviceaccount:default:workload-identity-sa + +# # Build the kubernetes deployment yaml +# $kubeConfig = @" +# apiVersion: v1 +# kind: ServiceAccount +# metadata: +# annotations: +# azure.workload.identity/client-id: $MIClientId +# name: $SaAccountName +# namespace: default +# --- +# apiVersion: v1 +# kind: Pod +# metadata: +# name: $PodName +# namespace: default +# labels: +# azure.workload.identity/use: "true" +# spec: +# serviceAccountName: $SaAccountName +# containers: +# - name: $PodName +# image: $image +# env: +# - name: IDENTITY_STORAGE_NAME +# value: "$StorageName" +# ports: +# - containerPort: 80 +# nodeSelector: +# kubernetes.io/os: linux +# "@ + +# Set-Content -Path "$workingFolder/kubeconfig.yaml" -Value $kubeConfig +# Write-Host "Created kubeconfig.yaml with contents:" +# Write-Host $kubeConfig + +# # Apply the config +# kubectl apply -f "$workingFolder/kubeconfig.yaml" --overwrite=true +# Write-Host "Applied kubeconfig.yaml" +# az logout diff --git a/sdk/identity/test-resources-pre.ps1 b/sdk/identity/test-resources-pre.ps1 new file mode 100644 index 000000000000..cb1f6dc12761 --- /dev/null +++ b/sdk/identity/test-resources-pre.ps1 @@ -0,0 +1,59 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + +# IMPORTANT: Do not invoke this file directly. Please instead run eng/New-TestResources.ps1 from the repository root. +[CmdletBinding(SupportsShouldProcess = $true, ConfirmImpact = 'Medium')] +param ( + # Captures any arguments from eng/New-TestResources.ps1 not declared here (no parameter errors). + [Parameter(ValueFromRemainingArguments = $true)] + $RemainingArguments, + + [Parameter()] + [string] $Location = '', + + [Parameter()] + [ValidatePattern('^[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}$')] + [string] $TestApplicationId, + + [Parameter()] + [string] $TestApplicationSecret, + + [Parameter()] + [ValidatePattern('^[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}$')] + [string] $SubscriptionId, + + [Parameter(ParameterSetName = 'Provisioner', Mandatory = $true)] + [ValidateNotNullOrEmpty()] + [string] $TenantId, + + [Parameter()] + [switch] $CI = ($null -ne $env:SYSTEM_TEAMPROJECTID) + +) + +Import-Module -Name $PSScriptRoot/../../eng/common/scripts/X509Certificate2 -Verbose + +ssh-keygen -t rsa -b 4096 -f $PSScriptRoot/sshKey -N '' -C '' +$sshKey = Get-Content $PSScriptRoot/sshKey.pub + +$templateFileParameters['sshPubKey'] = $sshKey + +Write-Host "Sleeping for a bit to ensure service principal is ready." +Start-Sleep -s 45 + +if ($CI) { + # Install this specific version of the Azure CLI to avoid https://github.com/Azure/azure-cli/issues/28358. + pip install azure-cli=="2.56.0" +} +$az_version = az version +Write-Host "Azure CLI version: $az_version" + +az login --service-principal -u $TestApplicationId -p $TestApplicationSecret --tenant $TenantId +az account set --subscription $SubscriptionId +$versions = az aks get-versions -l westus -o json | ConvertFrom-Json +Write-Host "AKS versions: $($versions | ConvertTo-Json -Depth 100)" +$patchVersions = $versions.values | Where-Object { $_.isPreview -eq $null } | Select-Object -ExpandProperty patchVersions +Write-Host "AKS patch versions: $($patchVersions | ConvertTo-Json -Depth 100)" +$latestAksVersion = $patchVersions | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | Sort-Object -Descending | Select-Object -First 1 +Write-Host "Latest AKS version: $latestAksVersion" +$templateFileParameters['latestAksVersion'] = $latestAksVersion diff --git a/sdk/identity/test-resources.bicep b/sdk/identity/test-resources.bicep new file mode 100644 index 000000000000..881450bd0c83 --- /dev/null +++ b/sdk/identity/test-resources.bicep @@ -0,0 +1,332 @@ +@minLength(6) +@maxLength(23) +@description('The base resource name.') +param baseName string = resourceGroup().name + +@description('The location of the resource. By default, this is the same as the resource group.') +param location string = resourceGroup().location + +@description('The client OID to grant access to test resources.') +param testApplicationOid string + +@minLength(5) +@maxLength(50) +@description('Provide a globally unique name of the Azure Container Registry') +param acrName string = 'acr${uniqueString(resourceGroup().id)}' + +@description('The latest AKS version available in the region.') +param latestAksVersion string + +@description('The SSH public key to use for the Linux VMs.') +param sshPubKey string + +@description('The admin user name for the Linux VMs.') +param adminUserName string = 'azureuser' + +// https://learn.microsoft.com/azure/role-based-access-control/built-in-roles +// var blobContributor = subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'ba92f5b4-2d11-453d-a403-e96b0029c9fe') // Storage Blob Data Contributor +var blobOwner = subscriptionResourceId('Microsoft.Authorization/roleDefinitions','b7e6dc6d-f1e8-4753-8033-0f276bb0955b') // Storage Blob Data Owner +var websiteContributor = subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'de139f84-1756-47ae-9be6-808fbbe84772') // Website Contributor + +// Cluster parameters +var kubernetesVersion = latestAksVersion + +resource userAssignedIdentity 'Microsoft.ManagedIdentity/userAssignedIdentities@2018-11-30' = { + name: baseName + location: location +} + +resource blobRoleWeb 'Microsoft.Authorization/roleAssignments@2022-04-01' = { + scope: storageAccount + name: guid(resourceGroup().id, blobOwner) + properties: { + principalId: web.identity.principalId + roleDefinitionId: blobOwner + principalType: 'ServicePrincipal' + } +} + +resource blobRoleFunc 'Microsoft.Authorization/roleAssignments@2022-04-01' = { + scope: storageAccount + name: guid(resourceGroup().id, blobOwner, 'azureFunction') + properties: { + principalId: azureFunction.identity.principalId + roleDefinitionId: blobOwner + principalType: 'ServicePrincipal' + } +} + +resource blobRoleCluster 'Microsoft.Authorization/roleAssignments@2022-04-01' = { + scope: storageAccount + name: guid(resourceGroup().id, blobOwner, 'kubernetes') + properties: { + principalId: kubernetesCluster.identity.principalId + roleDefinitionId: blobOwner + principalType: 'ServicePrincipal' + } +} + +resource blobRole2 'Microsoft.Authorization/roleAssignments@2022-04-01' = { + scope: storageAccount2 + name: guid(resourceGroup().id, blobOwner, userAssignedIdentity.id) + properties: { + principalId: userAssignedIdentity.properties.principalId + roleDefinitionId: blobOwner + principalType: 'ServicePrincipal' + } +} + +resource webRole 'Microsoft.Authorization/roleAssignments@2022-04-01' = { + scope: web + name: guid(resourceGroup().id, websiteContributor, 'web') + properties: { + principalId: testApplicationOid + roleDefinitionId: websiteContributor + principalType: 'ServicePrincipal' + } +} + +resource webRole2 'Microsoft.Authorization/roleAssignments@2022-04-01' = { + scope: azureFunction + name: guid(resourceGroup().id, websiteContributor, 'azureFunction') + properties: { + principalId: testApplicationOid + roleDefinitionId: websiteContributor + principalType: 'ServicePrincipal' + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-08-01' = { + name: baseName + location: location + sku: { + name: 'Standard_LRS' + } + kind: 'StorageV2' + properties: { + accessTier: 'Hot' + } +} + +resource storageAccount2 'Microsoft.Storage/storageAccounts@2021-08-01' = { + name: '${baseName}2' + location: location + sku: { + name: 'Standard_LRS' + } + kind: 'StorageV2' + properties: { + accessTier: 'Hot' + } +} + +resource farm 'Microsoft.Web/serverfarms@2021-03-01' = { + name: '${baseName}_farm' + location: location + sku: { + name: 'B1' + tier: 'Basic' + size: 'B1' + family: 'B' + capacity: 1 + } + properties: { + reserved: true + } + kind: 'app,linux' +} + +resource web 'Microsoft.Web/sites@2022-09-01' = { + name: '${baseName}webapp' + location: location + kind: 'app' + identity: { + type: 'SystemAssigned, UserAssigned' + userAssignedIdentities: { + '${userAssignedIdentity.id}' : { } + } + } + properties: { + enabled: true + serverFarmId: farm.id + httpsOnly: true + keyVaultReferenceIdentity: 'SystemAssigned' + siteConfig: { + linuxFxVersion: 'NODE|18-lts' + http20Enabled: true + minTlsVersion: '1.2' + appSettings: [ + { + name: 'AZURE_REGIONAL_AUTHORITY_NAME' + value: 'eastus' + } + { + name: 'IDENTITY_STORAGE_NAME_1' + value: storageAccount.name + } + { + name: 'IDENTITY_STORAGE_NAME_2' + value: storageAccount2.name + } + { + name: 'IDENTITY_USER_DEFINED_IDENTITY_CLIENT_ID' + value: userAssignedIdentity.properties.clientId + } + { + name: 'SCM_DO_BUILD_DURING_DEPLOYMENT' + value: 'true' + } + ] + } + } +} + +resource azureFunction 'Microsoft.Web/sites@2022-09-01' = { + name: '${baseName}func' + location: location + kind: 'functionapp' + identity: { + type: 'SystemAssigned, UserAssigned' + userAssignedIdentities: { + '${userAssignedIdentity.id}' : { } + } + } + properties: { + enabled: true + serverFarmId: farm.id + httpsOnly: true + keyVaultReferenceIdentity: 'SystemAssigned' + siteConfig: { + alwaysOn: true + http20Enabled: true + minTlsVersion: '1.2' + appSettings: [ + { + name: 'IDENTITY_STORAGE_NAME_1' + value: storageAccount.name + } + { + name: 'IDENTITY_STORAGE_NAME_2' + value: storageAccount2.name + } + { + name: 'IDENTITY_USER_DEFINED_IDENTITY_CLIENT_ID' + value: userAssignedIdentity.properties.clientId + } + { + name: 'AzureWebJobsStorage' + value: 'DefaultEndpointsProtocol=https;AccountName=${storageAccount.name};EndpointSuffix=${environment().suffixes.storage};AccountKey=${storageAccount.listKeys().keys[0].value}' + } + { + name: 'WEBSITE_CONTENTAZUREFILECONNECTIONSTRING' + value: 'DefaultEndpointsProtocol=https;AccountName=${storageAccount.name};EndpointSuffix=${environment().suffixes.storage};AccountKey=${storageAccount.listKeys().keys[0].value}' + } + { + name: 'WEBSITE_CONTENTSHARE' + value: toLower('${baseName}-func') + } + { + name: 'FUNCTIONS_EXTENSION_VERSION' + value: '~4' + } + { + name: 'FUNCTIONS_WORKER_RUNTIME' + value: 'node' + } + { + name: 'DOCKER_CUSTOM_IMAGE_NAME' + value: 'mcr.microsoft.com/azure-functions/node:4-node18-appservice-stage3' + } + ] + } + } +} + +resource publishPolicyWeb 'Microsoft.Web/sites/basicPublishingCredentialsPolicies@2022-09-01' = { + kind: 'app' + parent: web + name: 'scm' + properties: { + allow: true + } +} + +resource publishPolicyFunction 'Microsoft.Web/sites/basicPublishingCredentialsPolicies@2022-09-01' = { + kind: 'functionapp' + parent: azureFunction + name: 'scm' + properties: { + allow: true + } +} + +resource acrResource 'Microsoft.ContainerRegistry/registries@2023-01-01-preview' = { + name: acrName + location: location + sku: { + name: 'Basic' + } + properties: { + adminUserEnabled: true + } +} + +resource kubernetesCluster 'Microsoft.ContainerService/managedClusters@2023-06-01' = { + name: baseName + location: location + identity: { + type: 'SystemAssigned' + } + properties: { + kubernetesVersion: kubernetesVersion + enableRBAC: true + dnsPrefix: 'identitytest' + agentPoolProfiles: [ + { + name: 'agentpool' + count: 1 + vmSize: 'Standard_D2s_v3' + osDiskSizeGB: 128 + osDiskType: 'Managed' + kubeletDiskType: 'OS' + type: 'VirtualMachineScaleSets' + enableAutoScaling: false + orchestratorVersion: kubernetesVersion + mode: 'System' + osType: 'Linux' + osSKU: 'Ubuntu' + } + ] + linuxProfile: { + adminUsername: adminUserName + ssh: { + publicKeys: [ + { + keyData: sshPubKey + } + ] + } + } + oidcIssuerProfile: { + enabled: true + } + securityProfile: { + workloadIdentity: { + enabled: true + } + } + } +} + +output IDENTITY_WEBAPP_NAME string = web.name +output IDENTITY_WEBAPP_PLAN string = farm.name +output IDENTITY_USER_DEFINED_IDENTITY string = userAssignedIdentity.id +output IDENTITY_USER_DEFINED_IDENTITY_CLIENT_ID string = userAssignedIdentity.properties.clientId +output IDENTITY_USER_DEFINED_IDENTITY_NAME string = userAssignedIdentity.name +output IDENTITY_STORAGE_NAME_1 string = storageAccount.name +output IDENTITY_STORAGE_NAME_2 string = storageAccount2.name +output IDENTITY_FUNCTION_NAME string = azureFunction.name +output IDENTITY_AKS_CLUSTER_NAME string = kubernetesCluster.name +output IDENTITY_AKS_POD_NAME string = 'javascript-test-app' +output IDENTITY_ACR_NAME string = acrResource.name +output IDENTITY_ACR_LOGIN_SERVER string = acrResource.properties.loginServer diff --git a/sdk/instrumentation/opentelemetry-instrumentation-azure-sdk/package.json b/sdk/instrumentation/opentelemetry-instrumentation-azure-sdk/package.json index 6a3f1c0fd67d..10cc151168dc 100644 --- a/sdk/instrumentation/opentelemetry-instrumentation-azure-sdk/package.json +++ b/sdk/instrumentation/opentelemetry-instrumentation-azure-sdk/package.json @@ -39,7 +39,7 @@ "test:node": "npm run clean && tsc -p . && npm run unit-test:node && npm run integration-test:node", "test": "npm run clean && tsc -p . && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test", "unit-test:browser": "karma start --single-run", - "unit-test:node": "dev-tool run test:node-ts-input --no-test-proxy=true", + "unit-test:node": "dev-tool run test:node-tsx-ts --no-test-proxy=true", "unit-test": "npm run unit-test:node && npm run unit-test:browser" }, "files": [ @@ -70,9 +70,9 @@ "dependencies": { "@azure/core-tracing": "^1.0.0", "@azure/logger": "^1.0.0", - "@opentelemetry/api": "^1.7.0", - "@opentelemetry/core": "^1.21.0", - "@opentelemetry/instrumentation": "^0.48.0", + "@opentelemetry/api": "^1.8.0", + "@opentelemetry/core": "^1.22.0", + "@opentelemetry/instrumentation": "^0.49.1", "tslib": "^2.2.0" }, "devDependencies": { @@ -80,8 +80,8 @@ "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@microsoft/api-extractor": "^7.31.1", - "@opentelemetry/sdk-trace-base": "^1.21.0", - "@opentelemetry/sdk-trace-node": "^1.21.0", + "@opentelemetry/sdk-trace-base": "^1.22.0", + "@opentelemetry/sdk-trace-node": "^1.22.0", "@types/chai": "^4.1.6", "@types/mocha": "^10.0.0", "@types/node": "^18.0.0", @@ -90,7 +90,6 @@ "cross-env": "^7.0.2", "dotenv": "^16.0.0", "eslint": "^8.0.0", - "esm": "^3.2.18", "inherits": "^2.0.3", "karma": "^6.2.0", "karma-chrome-launcher": "^3.0.0", @@ -105,9 +104,9 @@ "rimraf": "^5.0.5", "sinon": "^17.0.0", "source-map-support": "^0.5.9", + "tsx": "^4.7.1", "typescript": "~5.3.3", - "util": "^0.12.1", - "ts-node": "^10.0.0" + "util": "^0.12.1" }, "//sampleConfiguration": { "skipFolder": true, diff --git a/sdk/instrumentation/opentelemetry-instrumentation-azure-sdk/test/public/instrumenter.spec.ts b/sdk/instrumentation/opentelemetry-instrumentation-azure-sdk/test/public/instrumenter.spec.ts index 8b75af3193ac..b8d31f2f6624 100644 --- a/sdk/instrumentation/opentelemetry-instrumentation-azure-sdk/test/public/instrumenter.spec.ts +++ b/sdk/instrumentation/opentelemetry-instrumentation-azure-sdk/test/public/instrumenter.spec.ts @@ -264,29 +264,6 @@ describe("OpenTelemetryInstrumenter", () => { assert.isTrue(contextSpy.calledWith(activeContext, callback, undefined, callbackArg)); }); - it("works when caller binds `this`", function (this: Context) { - // a bit of a silly test but demonstrates how to bind `this` correctly - // and ensures the behavior does not regress - - // Function syntax - instrumenter.withContext(context.active(), function (this: any) { - assert.notExists(this); - }); - instrumenter.withContext( - context.active(), - function (this: any) { - assert.equal(this, 42); - }.bind(42), - ); - - // Arrow syntax - // eslint-disable-next-line @typescript-eslint/no-this-alias - const that = this; - instrumenter.withContext(context.active(), () => { - assert.equal(this, that); - }); - }); - it("Returns the value of the callback", () => { const result = instrumenter.withContext(context.active(), () => 42); assert.equal(result, 42); diff --git a/sdk/instrumentation/opentelemetry-instrumentation-azure-sdk/tests.yml b/sdk/instrumentation/opentelemetry-instrumentation-azure-sdk/tests.yml index bdde61d49358..756cb38e7e3a 100644 --- a/sdk/instrumentation/opentelemetry-instrumentation-azure-sdk/tests.yml +++ b/sdk/instrumentation/opentelemetry-instrumentation-azure-sdk/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/opentelemetry-instrumentation-azure-sdk" ServiceDirectory: instrumentation diff --git a/sdk/keyvault/keyvault-admin/package.json b/sdk/keyvault/keyvault-admin/package.json index 2fb79ac408a3..8661f0004ab5 100644 --- a/sdk/keyvault/keyvault-admin/package.json +++ b/sdk/keyvault/keyvault-admin/package.json @@ -50,14 +50,14 @@ "build": "npm run clean && tsc -p . && npm run build:nodebrowser && api-extractor run --local", "bundle": "dev-tool run bundle --browser-test=false", "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", - "clean": "rimraf --glob dist dist-* types *.tgz *.log statistics.html coverage && rimraf src/**/*.js && rimraf test/**/*.js", + "clean": "rimraf --glob dist dist-* types *.tgz *.log statistics.html coverage && rimraf --glob src/**/*.js && rimraf --glob test/**/*.js", "execute:samples": "dev-tool samples run samples-dev", "extract-api": "tsc -p . && api-extractor run --local", "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "generate:client": "autorest --typescript swagger/README.md", "integration-test:browser": "echo skipped", - "integration-test:node": "dev-tool run test:node-js-input --use-esm-workaround=true -- --timeout 180000 --exclude \"dist-esm/**/*.browser.spec.js\" \"dist-esm/**/*.spec.js\"", - "integration-test:node:no-timeout": "dev-tool run test:node-js-input --use-esm-workaround=true -- --no-timeouts --full-trace --exclude \"dist-esm/**/*.browser.spec.js\" \"dist-esm/**/*.spec.js\"", + "integration-test:node": "dev-tool run test:node-js-input -- --timeout 180000 --exclude \"dist-esm/**/*.browser.spec.js\" \"dist-esm/**/*.spec.js\"", + "integration-test:node:no-timeout": "dev-tool run test:node-js-input -- --no-timeouts --full-trace --exclude \"dist-esm/**/*.browser.spec.js\" \"dist-esm/**/*.spec.js\"", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "lint:fix": "eslint package.json src --ext .ts --fix --fix-type [problem,suggestion]", "lint": "eslint package.json api-extractor.json src --ext .ts", diff --git a/sdk/keyvault/keyvault-admin/platform-matrix.json b/sdk/keyvault/keyvault-admin/platform-matrix.json index 444880dffe54..edd8ed1e999f 100644 --- a/sdk/keyvault/keyvault-admin/platform-matrix.json +++ b/sdk/keyvault/keyvault-admin/platform-matrix.json @@ -3,8 +3,8 @@ { "Agent": { "ubuntu-20.04_ManagedHSM": { - "OSVmImage": "MMSUbuntu20.04", - "Pool": "azsdk-pool-mms-ubuntu-2004-general", + "OSVmImage": "env:LINUXVMIMAGE", + "Pool": "env:LINUXPOOL", "ArmTemplateParameters": "@{ enableHsm = $true }" } }, diff --git a/sdk/keyvault/keyvault-admin/tests.yml b/sdk/keyvault/keyvault-admin/tests.yml index 40d752f767a8..7a01a487dcc5 100644 --- a/sdk/keyvault/keyvault-admin/tests.yml +++ b/sdk/keyvault/keyvault-admin/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/keyvault-admin" ServiceDirectory: keyvault diff --git a/sdk/keyvault/keyvault-certificates/package.json b/sdk/keyvault/keyvault-certificates/package.json index 8e36b53c5345..a0da17e87549 100644 --- a/sdk/keyvault/keyvault-certificates/package.json +++ b/sdk/keyvault/keyvault-certificates/package.json @@ -51,8 +51,8 @@ "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"samples-dev/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "generate:client": "autorest --typescript swagger/README.md", "integration-test:browser": "dev-tool run test:browser", - "integration-test:node": "dev-tool run test:node-js-input --use-esm-workaround=true -- --timeout 350000 'dist-esm/**/*.spec.js'", - "integration-test:node:no-timeout": "dev-tool run test:node-js-input --use-esm-workaround=true -- --no-timeouts 'dist-esm/**/*.spec.js'", + "integration-test:node": "dev-tool run test:node-js-input -- --timeout 350000 'dist-esm/**/*.spec.js'", + "integration-test:node:no-timeout": "dev-tool run test:node-js-input -- --no-timeouts 'dist-esm/**/*.spec.js'", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "lint:fix": "eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]", "lint": "eslint package.json api-extractor.json src test --ext .ts", diff --git a/sdk/keyvault/keyvault-certificates/platform-matrix.json b/sdk/keyvault/keyvault-certificates/platform-matrix.json index 6065fc16ea27..f9a69be168d6 100644 --- a/sdk/keyvault/keyvault-certificates/platform-matrix.json +++ b/sdk/keyvault/keyvault-certificates/platform-matrix.json @@ -3,8 +3,8 @@ { "Agent": { "ubuntu-20.04": { - "OSVmImage": "MMSUbuntu20.04", - "Pool": "azsdk-pool-mms-ubuntu-2004-general" + "OSVmImage": "env:LINUXVMIMAGE", + "Pool": "env:LINUXPOOL" } }, "TestType": "node", diff --git a/sdk/keyvault/keyvault-certificates/tests.yml b/sdk/keyvault/keyvault-certificates/tests.yml index 537b8c5f6b4e..e23e65669440 100644 --- a/sdk/keyvault/keyvault-certificates/tests.yml +++ b/sdk/keyvault/keyvault-certificates/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/keyvault-certificates" ServiceDirectory: keyvault diff --git a/sdk/keyvault/keyvault-keys/api-extractor.json b/sdk/keyvault/keyvault-keys/api-extractor.json index 3afc3e69a5ea..24dc512f9c4c 100644 --- a/sdk/keyvault/keyvault-keys/api-extractor.json +++ b/sdk/keyvault/keyvault-keys/api-extractor.json @@ -1,6 +1,6 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "mainEntryPointFilePath": "types/keyvault-keys/src/index.d.ts", + "mainEntryPointFilePath": "types/src/index.d.ts", "docModel": { "enabled": true }, diff --git a/sdk/keyvault/keyvault-keys/package.json b/sdk/keyvault/keyvault-keys/package.json index 5a338747b89e..134ef4c925c0 100644 --- a/sdk/keyvault/keyvault-keys/package.json +++ b/sdk/keyvault/keyvault-keys/package.json @@ -20,7 +20,7 @@ "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "main": "./dist/index.js", - "module": "dist-esm/keyvault-keys/src/index.js", + "module": "dist-esm/src/index.js", "types": "./types/keyvault-keys.d.ts", "engines": { "node": ">=18.0.0" @@ -28,18 +28,17 @@ "files": [ "types/keyvault-keys.d.ts", "dist/", - "dist-esm/keyvault-keys/src", - "dist-esm/keyvault-common/src", + "dist-esm/src", "README.md", "LICENSE" ], "browser": { "os": false, "process": false, - "./dist-esm/keyvault-keys/src/cryptography/crypto.js": "./dist-esm/keyvault-keys/src/cryptography/crypto.browser.js", - "./dist-esm/keyvault-keys/src/cryptography/rsaCryptographyProvider.js": "./dist-esm/keyvault-keys/src/cryptography/rsaCryptographyProvider.browser.js", - "./dist-esm/keyvault-keys/src/cryptography/aesCryptographyProvider.js": "./dist-esm/keyvault-keys/src/cryptography/aesCryptographyProvider.browser.js", - "./dist-esm/keyvault-keys/test/utils/base64url.js": "./dist-esm/keyvault-keys/test/utils/base64url.browser.js" + "./dist-esm/src/cryptography/crypto.js": "./dist-esm/src/cryptography/crypto.browser.js", + "./dist-esm/src/cryptography/rsaCryptographyProvider.js": "./dist-esm/src/cryptography/rsaCryptographyProvider.browser.js", + "./dist-esm/src/cryptography/aesCryptographyProvider.js": "./dist-esm/src/cryptography/aesCryptographyProvider.browser.js", + "./dist-esm/test/utils/base64url.js": "./dist-esm/test/utils/base64url.browser.js" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", @@ -51,14 +50,14 @@ "build": "npm run clean && tsc -p . && npm run build:nodebrowser && api-extractor run --local", "bundle": "dev-tool run bundle", "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", - "clean": "rimraf --glob dist dist-* types *.tgz *.log dist-browser statistics.html coverage && rimraf src/**/*.js && rimraf test/**/*.js", + "clean": "rimraf --glob dist dist-* types *.tgz *.log dist-browser statistics.html coverage && rimraf --glob src/**/*.js && rimraf --glob test/**/*.js", "execute:samples": "dev-tool samples run samples-dev", "extract-api": "tsc -p . && api-extractor run --local", "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "generate:client": "autorest --typescript swagger/README.md", "integration-test:browser": "dev-tool run test:browser", - "integration-test:node": "dev-tool run test:node-js-input --use-esm-workaround=true -- --timeout 5000000 'dist-esm/**/*.spec.js'", - "integration-test:node:no-timeout": "dev-tool run test:node-js-input --use-esm-workaround=true -- --timeout 9999999 'dist-esm/**/*.spec.js'", + "integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/**/*.spec.js'", + "integration-test:node:no-timeout": "dev-tool run test:node-js-input -- --timeout 9999999 'dist-esm/**/*.spec.js'", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "lint:fix": "eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]", "lint": "eslint package.json api-extractor.json src test --ext .ts", @@ -111,6 +110,7 @@ "@azure/core-lro": "^2.2.0", "@azure/core-paging": "^1.1.1", "@azure/core-tracing": "^1.0.0", + "@azure/keyvault-common": "^1.0.0", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, diff --git a/sdk/keyvault/keyvault-keys/platform-matrix.json b/sdk/keyvault/keyvault-keys/platform-matrix.json index c24868cafd88..25173042d16d 100644 --- a/sdk/keyvault/keyvault-keys/platform-matrix.json +++ b/sdk/keyvault/keyvault-keys/platform-matrix.json @@ -3,8 +3,8 @@ { "Agent": { "ubuntu-20.04_ManagedHSM": { - "OSVmImage": "MMSUbuntu20.04", - "Pool": "azsdk-pool-mms-ubuntu-2004-general", + "OSVmImage": "env:LINUXVMIMAGE", + "Pool": "env:LINUXPOOL", "ArmTemplateParameters": "@{ enableHsm = $true }" } }, @@ -14,8 +14,8 @@ { "Agent": { "ubuntu-20.04": { - "OSVmImage": "MMSUbuntu20.04", - "Pool": "azsdk-pool-mms-ubuntu-2004-general" + "OSVmImage": "env:LINUXVMIMAGE", + "Pool": "env:LINUXPOOL" } }, "TestType": "node", diff --git a/sdk/keyvault/keyvault-keys/src/cryptography/remoteCryptographyProvider.ts b/sdk/keyvault/keyvault-keys/src/cryptography/remoteCryptographyProvider.ts index b2f38d12fe3e..3bc0e8ef9c67 100644 --- a/sdk/keyvault/keyvault-keys/src/cryptography/remoteCryptographyProvider.ts +++ b/sdk/keyvault/keyvault-keys/src/cryptography/remoteCryptographyProvider.ts @@ -34,7 +34,7 @@ import { getKeyFromKeyBundle } from "../transformations"; import { createHash } from "./crypto"; import { CryptographyProvider, CryptographyProviderOperation } from "./models"; import { logger } from "../log"; -import { createKeyVaultChallengeCallbacks } from "../../../keyvault-common/src"; +import { createKeyVaultChallengeCallbacks } from "@azure/keyvault-common"; import { tracingClient } from "../tracing"; /** diff --git a/sdk/keyvault/keyvault-keys/src/identifier.ts b/sdk/keyvault/keyvault-keys/src/identifier.ts index 0c4866c9d006..ebd180cc0c96 100644 --- a/sdk/keyvault/keyvault-keys/src/identifier.ts +++ b/sdk/keyvault/keyvault-keys/src/identifier.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { parseKeyVaultIdentifier } from "../../keyvault-common/src"; +import { parseKeyVaultIdentifier } from "@azure/keyvault-common"; /** * Represents the segments that compose a Key Vault Key Id. diff --git a/sdk/keyvault/keyvault-keys/src/index.ts b/sdk/keyvault/keyvault-keys/src/index.ts index 79b08b40c33e..ee4aa8cf82c5 100644 --- a/sdk/keyvault/keyvault-keys/src/index.ts +++ b/sdk/keyvault/keyvault-keys/src/index.ts @@ -19,7 +19,7 @@ import { } from "./generated/models"; import { KeyVaultClient } from "./generated/keyVaultClient"; import { SDK_VERSION } from "./constants"; -import { createKeyVaultChallengeCallbacks } from "../../keyvault-common/src"; +import { createKeyVaultChallengeCallbacks } from "@azure/keyvault-common"; import { DeleteKeyPoller } from "./lro/delete/poller"; import { RecoverDeletedKeyPoller } from "./lro/recover/poller"; diff --git a/sdk/keyvault/keyvault-keys/test/internal/userAgent.spec.ts b/sdk/keyvault/keyvault-keys/test/internal/userAgent.spec.ts index 3d84c95fa7e3..73f04e84b645 100644 --- a/sdk/keyvault/keyvault-keys/test/internal/userAgent.spec.ts +++ b/sdk/keyvault/keyvault-keys/test/internal/userAgent.spec.ts @@ -45,9 +45,9 @@ describe("Keys client's user agent", () => { version = fileContents.version; } catch { // The integration-test script has this test file in a considerably different place, - // Along the lines of: dist-esm/keyvault-keys/test/internal/userAgent.spec.ts + // Along the lines of: dist-esm/test/internal/userAgent.spec.ts const fileContents = JSON.parse( - fs.readFileSync(path.join(__dirname, "../../../../package.json"), { encoding: "utf-8" }), + fs.readFileSync(path.join(__dirname, "../../../package.json"), { encoding: "utf-8" }), ); version = fileContents.version; } diff --git a/sdk/keyvault/keyvault-keys/tests.yml b/sdk/keyvault/keyvault-keys/tests.yml index 14b9dd458ea7..5e0cb21dfe89 100644 --- a/sdk/keyvault/keyvault-keys/tests.yml +++ b/sdk/keyvault/keyvault-keys/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/keyvault-keys" ServiceDirectory: keyvault diff --git a/sdk/keyvault/keyvault-keys/tsconfig.json b/sdk/keyvault/keyvault-keys/tsconfig.json index 593cf16cd84d..d1b1b2b6d52e 100644 --- a/sdk/keyvault/keyvault-keys/tsconfig.json +++ b/sdk/keyvault/keyvault-keys/tsconfig.json @@ -9,10 +9,5 @@ "@azure/keyvault-keys": ["./src/index"] } }, - "include": [ - "./src/**/*.ts", - "./test/**/*.ts", - "../keyvault-common/src/**/*.ts", - "samples-dev/**/*.ts" - ] + "include": ["./src/**/*.ts", "./test/**/*.ts", "samples-dev/**/*.ts"] } diff --git a/sdk/keyvault/keyvault-secrets/api-extractor.json b/sdk/keyvault/keyvault-secrets/api-extractor.json index 3ae6cbeedc67..7a4d1e7f8cfb 100644 --- a/sdk/keyvault/keyvault-secrets/api-extractor.json +++ b/sdk/keyvault/keyvault-secrets/api-extractor.json @@ -1,6 +1,6 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "mainEntryPointFilePath": "types/keyvault-secrets/src/index.d.ts", + "mainEntryPointFilePath": "types/src/index.d.ts", "docModel": { "enabled": true }, diff --git a/sdk/keyvault/keyvault-secrets/package.json b/sdk/keyvault/keyvault-secrets/package.json index 487b7f34a487..b447b05b1def 100644 --- a/sdk/keyvault/keyvault-secrets/package.json +++ b/sdk/keyvault/keyvault-secrets/package.json @@ -20,7 +20,7 @@ "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "main": "./dist/index.js", - "module": "dist-esm/keyvault-secrets/src/index.js", + "module": "dist-esm/src/index.js", "types": "./types/keyvault-secrets.d.ts", "engines": { "node": ">=18.0.0" @@ -28,8 +28,7 @@ "files": [ "types/keyvault-secrets.d.ts", "dist/", - "dist-esm/keyvault-secrets/src", - "dist-esm/keyvault-common/src", + "dist-esm/src", "README.md", "LICENSE" ], @@ -46,14 +45,14 @@ "build:test": "tsc -p . && dev-tool run bundle", "build": "npm run clean && tsc -p . && npm run build:nodebrowser && api-extractor run --local", "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", - "clean": "rimraf --glob dist dist-* types *.tgz *.log dist-browser statistics.html coverage && rimraf src/**/*.js && rimraf test/**/*.js", + "clean": "rimraf --glob dist dist-* types *.tgz *.log dist-browser statistics.html coverage && rimraf --glob src/**/*.js && rimraf --glob test/**/*.js", "execute:samples": "dev-tool samples run samples-dev", "extract-api": "tsc -p . && api-extractor run --local", "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "generate:client": "autorest --typescript swagger/README.md", "integration-test:browser": "dev-tool run test:browser", - "integration-test:node": "dev-tool run test:node-js-input --use-esm-workaround=true -- --timeout 350000 'dist-esm/**/*.spec.js'", - "integration-test:node:no-timeout": "dev-tool run test:node-js-input --use-esm-workaround=true -- --no-timeout 'dist-esm/**/*.spec.js'", + "integration-test:node": "dev-tool run test:node-js-input -- --timeout 350000 'dist-esm/**/*.spec.js'", + "integration-test:node:no-timeout": "dev-tool run test:node-js-input -- --no-timeout 'dist-esm/**/*.spec.js'", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "lint:fix": "eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]", "lint": "eslint package.json api-extractor.json src test --ext .ts", @@ -109,6 +108,7 @@ "@azure/core-lro": "^2.2.0", "@azure/core-paging": "^1.1.1", "@azure/core-tracing": "^1.0.0", + "@azure/keyvault-common": "^1.0.0", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, diff --git a/sdk/keyvault/keyvault-secrets/platform-matrix.json b/sdk/keyvault/keyvault-secrets/platform-matrix.json index 6065fc16ea27..f9a69be168d6 100644 --- a/sdk/keyvault/keyvault-secrets/platform-matrix.json +++ b/sdk/keyvault/keyvault-secrets/platform-matrix.json @@ -3,8 +3,8 @@ { "Agent": { "ubuntu-20.04": { - "OSVmImage": "MMSUbuntu20.04", - "Pool": "azsdk-pool-mms-ubuntu-2004-general" + "OSVmImage": "env:LINUXVMIMAGE", + "Pool": "env:LINUXPOOL" } }, "TestType": "node", diff --git a/sdk/keyvault/keyvault-secrets/src/identifier.ts b/sdk/keyvault/keyvault-secrets/src/identifier.ts index 61a14a20f68b..38bd3e1a32fa 100644 --- a/sdk/keyvault/keyvault-secrets/src/identifier.ts +++ b/sdk/keyvault/keyvault-secrets/src/identifier.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { parseKeyVaultIdentifier } from "../../keyvault-common/src"; +import { parseKeyVaultIdentifier } from "@azure/keyvault-common"; /** * Represents the segments that compose a Key Vault Secret Id. diff --git a/sdk/keyvault/keyvault-secrets/src/index.ts b/sdk/keyvault/keyvault-secrets/src/index.ts index 93b807bfabcd..6970cb19a64c 100644 --- a/sdk/keyvault/keyvault-secrets/src/index.ts +++ b/sdk/keyvault/keyvault-secrets/src/index.ts @@ -18,7 +18,7 @@ import { SecretBundle, } from "./generated/models"; import { KeyVaultClient } from "./generated/keyVaultClient"; -import { createKeyVaultChallengeCallbacks } from "../../keyvault-common/src"; +import { createKeyVaultChallengeCallbacks } from "@azure/keyvault-common"; import { DeleteSecretPoller } from "./lro/delete/poller"; import { RecoverDeletedSecretPoller } from "./lro/recover/poller"; diff --git a/sdk/keyvault/keyvault-secrets/test/internal/userAgent.spec.ts b/sdk/keyvault/keyvault-secrets/test/internal/userAgent.spec.ts index 1d6d850e87ea..650276e6aafe 100644 --- a/sdk/keyvault/keyvault-secrets/test/internal/userAgent.spec.ts +++ b/sdk/keyvault/keyvault-secrets/test/internal/userAgent.spec.ts @@ -44,9 +44,9 @@ describe("Secrets client's user agent (only in Node, because of fs)", () => { version = fileContents.version; } catch { // The integration-test script has this test file in a considerably different place, - // Along the lines of: dist-esm/keyvault-keys/test/internal/userAgent.spec.ts + // Along the lines of: dist-esm/test/internal/userAgent.spec.ts const fileContents = JSON.parse( - fs.readFileSync(path.join(__dirname, "../../../../package.json"), { encoding: "utf-8" }), + fs.readFileSync(path.join(__dirname, "../../../package.json"), { encoding: "utf-8" }), ); version = fileContents.version; } diff --git a/sdk/keyvault/keyvault-secrets/tests.yml b/sdk/keyvault/keyvault-secrets/tests.yml index f8574b1aad07..a473f435ad0e 100644 --- a/sdk/keyvault/keyvault-secrets/tests.yml +++ b/sdk/keyvault/keyvault-secrets/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/keyvault-secrets" ServiceDirectory: keyvault diff --git a/sdk/keyvault/keyvault-secrets/tsconfig.json b/sdk/keyvault/keyvault-secrets/tsconfig.json index a377b7b11846..4cbb26181ea3 100644 --- a/sdk/keyvault/keyvault-secrets/tsconfig.json +++ b/sdk/keyvault/keyvault-secrets/tsconfig.json @@ -9,10 +9,5 @@ "@azure/keyvault-secrets": ["./src/index"] } }, - "include": [ - "./src/**/*.ts", - "./test/**/*.ts", - "../keyvault-common/src/**/*.ts", - "samples-dev/**/*.ts" - ] + "include": ["./src/**/*.ts", "./test/**/*.ts", "samples-dev/**/*.ts"] } diff --git a/sdk/machinelearning/arm-machinelearning/CHANGELOG.md b/sdk/machinelearning/arm-machinelearning/CHANGELOG.md index d36dc18306dc..58266731b869 100644 --- a/sdk/machinelearning/arm-machinelearning/CHANGELOG.md +++ b/sdk/machinelearning/arm-machinelearning/CHANGELOG.md @@ -1,15 +1,621 @@ # Release History + +## 3.0.0 (2024-03-14) + +**Features** -## 2.1.2 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed + - Added operation group Features + - Added operation group FeaturesetContainers + - Added operation group FeaturesetVersions + - Added operation group FeaturestoreEntityContainers + - Added operation group FeaturestoreEntityVersions + - Added operation group ManagedNetworkProvisions + - Added operation group ManagedNetworkSettingsRule + - Added operation group Registries + - Added operation group RegistryCodeContainers + - Added operation group RegistryCodeVersions + - Added operation group RegistryComponentContainers + - Added operation group RegistryComponentVersions + - Added operation group RegistryDataContainers + - Added operation group RegistryDataReferences + - Added operation group RegistryDataVersions + - Added operation group RegistryEnvironmentContainers + - Added operation group RegistryEnvironmentVersions + - Added operation group RegistryModelContainers + - Added operation group RegistryModelVersions + - Added operation CodeVersions.beginPublish + - Added operation CodeVersions.beginPublishAndWait + - Added operation CodeVersions.createOrGetStartPendingUpload + - Added operation ComponentVersions.beginPublish + - Added operation ComponentVersions.beginPublishAndWait + - Added operation DataVersions.beginPublish + - Added operation DataVersions.beginPublishAndWait + - Added operation EnvironmentVersions.beginPublish + - Added operation EnvironmentVersions.beginPublishAndWait + - Added operation ModelVersions.beginPublish + - Added operation ModelVersions.beginPublishAndWait + - Added Interface AcrDetails + - Added Interface AllFeatures + - Added Interface AllNodes + - Added Interface AmlTokenComputeIdentity + - Added Interface AnonymousAccessCredential + - Added Interface ArmResourceId + - Added Interface AzureDatastore + - Added Interface AzureDevOpsWebhook + - Added Interface AzureMachineLearningServicesOptionalParams + - Added Interface BatchDeploymentConfiguration + - Added Interface BatchPipelineComponentDeploymentConfiguration + - Added Interface BindOptions + - Added Interface BlobReferenceForConsumptionDto + - Added Interface CategoricalDataDriftMetricThreshold + - Added Interface CategoricalDataQualityMetricThreshold + - Added Interface CategoricalPredictionDriftMetricThreshold + - Added Interface CodeVersionsCreateOrGetStartPendingUploadOptionalParams + - Added Interface CodeVersionsPublishHeaders + - Added Interface CodeVersionsPublishOptionalParams + - Added Interface ComponentVersionsPublishHeaders + - Added Interface ComponentVersionsPublishOptionalParams + - Added Interface ComputeRecurrenceSchedule + - Added Interface ComputeRuntimeDto + - Added Interface CreateMonitorAction + - Added Interface Cron + - Added Interface CustomMetricThreshold + - Added Interface CustomMonitoringSignal + - Added Interface CustomService + - Added Interface DataDriftMetricThresholdBase + - Added Interface DataDriftMonitoringSignal + - Added Interface DataQualityMetricThresholdBase + - Added Interface DataQualityMonitoringSignal + - Added Interface DataReferenceCredential + - Added Interface DataVersionsPublishHeaders + - Added Interface DataVersionsPublishOptionalParams + - Added Interface DestinationAsset + - Added Interface Docker + - Added Interface DockerCredential + - Added Interface Endpoint + - Added Interface EnvironmentVariable + - Added Interface EnvironmentVersionsPublishHeaders + - Added Interface EnvironmentVersionsPublishOptionalParams + - Added Interface Feature + - Added Interface FeatureAttributionDriftMonitoringSignal + - Added Interface FeatureAttributionMetricThreshold + - Added Interface FeatureImportanceSettings + - Added Interface FeatureProperties + - Added Interface FeatureResourceArmPaginatedResult + - Added Interface FeaturesetContainer + - Added Interface FeaturesetContainerProperties + - Added Interface FeaturesetContainerResourceArmPaginatedResult + - Added Interface FeaturesetContainersCreateOrUpdateHeaders + - Added Interface FeaturesetContainersCreateOrUpdateOptionalParams + - Added Interface FeaturesetContainersDeleteHeaders + - Added Interface FeaturesetContainersDeleteOptionalParams + - Added Interface FeaturesetContainersGetEntityOptionalParams + - Added Interface FeaturesetContainersListNextOptionalParams + - Added Interface FeaturesetContainersListOptionalParams + - Added Interface FeaturesetSpecification + - Added Interface FeaturesetVersion + - Added Interface FeaturesetVersionBackfillRequest + - Added Interface FeaturesetVersionBackfillResponse + - Added Interface FeaturesetVersionProperties + - Added Interface FeaturesetVersionResourceArmPaginatedResult + - Added Interface FeaturesetVersionsBackfillHeaders + - Added Interface FeaturesetVersionsBackfillOptionalParams + - Added Interface FeaturesetVersionsCreateOrUpdateHeaders + - Added Interface FeaturesetVersionsCreateOrUpdateOptionalParams + - Added Interface FeaturesetVersionsDeleteHeaders + - Added Interface FeaturesetVersionsDeleteOptionalParams + - Added Interface FeaturesetVersionsGetOptionalParams + - Added Interface FeaturesetVersionsListNextOptionalParams + - Added Interface FeaturesetVersionsListOptionalParams + - Added Interface FeaturesGetOptionalParams + - Added Interface FeaturesListNextOptionalParams + - Added Interface FeaturesListOptionalParams + - Added Interface FeaturestoreEntityContainer + - Added Interface FeaturestoreEntityContainerProperties + - Added Interface FeaturestoreEntityContainerResourceArmPaginatedResult + - Added Interface FeaturestoreEntityContainersCreateOrUpdateHeaders + - Added Interface FeaturestoreEntityContainersCreateOrUpdateOptionalParams + - Added Interface FeaturestoreEntityContainersDeleteHeaders + - Added Interface FeaturestoreEntityContainersDeleteOptionalParams + - Added Interface FeaturestoreEntityContainersGetEntityOptionalParams + - Added Interface FeaturestoreEntityContainersListNextOptionalParams + - Added Interface FeaturestoreEntityContainersListOptionalParams + - Added Interface FeaturestoreEntityVersion + - Added Interface FeaturestoreEntityVersionProperties + - Added Interface FeaturestoreEntityVersionResourceArmPaginatedResult + - Added Interface FeaturestoreEntityVersionsCreateOrUpdateHeaders + - Added Interface FeaturestoreEntityVersionsCreateOrUpdateOptionalParams + - Added Interface FeaturestoreEntityVersionsDeleteHeaders + - Added Interface FeaturestoreEntityVersionsDeleteOptionalParams + - Added Interface FeaturestoreEntityVersionsGetOptionalParams + - Added Interface FeaturestoreEntityVersionsListNextOptionalParams + - Added Interface FeaturestoreEntityVersionsListOptionalParams + - Added Interface FeatureStoreSettings + - Added Interface FeatureSubset + - Added Interface FeatureWindow + - Added Interface FixedInputData + - Added Interface FqdnOutboundRule + - Added Interface GetBlobReferenceForConsumptionDto + - Added Interface GetBlobReferenceSASRequestDto + - Added Interface GetBlobReferenceSASResponseDto + - Added Interface IdleShutdownSetting + - Added Interface Image_2 + - Added Interface ImageMetadata + - Added Interface IndexColumn + - Added Interface LakeHouseArtifact + - Added Interface ManagedComputeIdentity + - Added Interface ManagedIdentityCredential + - Added Interface ManagedNetworkProvisionOptions + - Added Interface ManagedNetworkProvisionsProvisionManagedNetworkHeaders + - Added Interface ManagedNetworkProvisionsProvisionManagedNetworkOptionalParams + - Added Interface ManagedNetworkProvisionStatus + - Added Interface ManagedNetworkSettings + - Added Interface ManagedNetworkSettingsRuleCreateOrUpdateHeaders + - Added Interface ManagedNetworkSettingsRuleCreateOrUpdateOptionalParams + - Added Interface ManagedNetworkSettingsRuleDeleteHeaders + - Added Interface ManagedNetworkSettingsRuleDeleteOptionalParams + - Added Interface ManagedNetworkSettingsRuleGetOptionalParams + - Added Interface ManagedNetworkSettingsRuleListNextOptionalParams + - Added Interface ManagedNetworkSettingsRuleListOptionalParams + - Added Interface MaterializationComputeResource + - Added Interface MaterializationSettings + - Added Interface ModelVersionsPublishHeaders + - Added Interface ModelVersionsPublishOptionalParams + - Added Interface MonitorComputeConfigurationBase + - Added Interface MonitorComputeIdentityBase + - Added Interface MonitorDefinition + - Added Interface MonitorEmailNotificationSettings + - Added Interface MonitoringFeatureFilterBase + - Added Interface MonitoringInputDataBase + - Added Interface MonitoringSignalBase + - Added Interface MonitoringTarget + - Added Interface MonitoringThreshold + - Added Interface MonitorNotificationSettings + - Added Interface MonitorServerlessSparkCompute + - Added Interface Nodes + - Added Interface NotificationSetting + - Added Interface NumericalDataDriftMetricThreshold + - Added Interface NumericalDataQualityMetricThreshold + - Added Interface NumericalPredictionDriftMetricThreshold + - Added Interface OneLakeArtifact + - Added Interface OneLakeDatastore + - Added Interface Operation + - Added Interface OperationDisplay + - Added Interface OperationListResult + - Added Interface OutboundRule + - Added Interface OutboundRuleBasicResource + - Added Interface OutboundRuleListResult + - Added Interface PartialRegistryPartialTrackedResource + - Added Interface PendingUploadCredentialDto + - Added Interface PendingUploadRequestDto + - Added Interface PendingUploadResponseDto + - Added Interface PredictionDriftMetricThresholdBase + - Added Interface PredictionDriftMonitoringSignal + - Added Interface PrivateEndpointDestination + - Added Interface PrivateEndpointOutboundRule + - Added Interface PrivateEndpointResource + - Added Interface ProxyResource + - Added Interface QueueSettings + - Added Interface Recurrence + - Added Interface RegistriesCreateOrUpdateOptionalParams + - Added Interface RegistriesDeleteHeaders + - Added Interface RegistriesDeleteOptionalParams + - Added Interface RegistriesGetOptionalParams + - Added Interface RegistriesListBySubscriptionNextOptionalParams + - Added Interface RegistriesListBySubscriptionOptionalParams + - Added Interface RegistriesListNextOptionalParams + - Added Interface RegistriesListOptionalParams + - Added Interface RegistriesRemoveRegionsHeaders + - Added Interface RegistriesRemoveRegionsOptionalParams + - Added Interface RegistriesUpdateOptionalParams + - Added Interface Registry + - Added Interface RegistryCodeContainersCreateOrUpdateHeaders + - Added Interface RegistryCodeContainersCreateOrUpdateOptionalParams + - Added Interface RegistryCodeContainersDeleteHeaders + - Added Interface RegistryCodeContainersDeleteOptionalParams + - Added Interface RegistryCodeContainersGetOptionalParams + - Added Interface RegistryCodeContainersListNextOptionalParams + - Added Interface RegistryCodeContainersListOptionalParams + - Added Interface RegistryCodeVersionsCreateOrGetStartPendingUploadOptionalParams + - Added Interface RegistryCodeVersionsCreateOrUpdateHeaders + - Added Interface RegistryCodeVersionsCreateOrUpdateOptionalParams + - Added Interface RegistryCodeVersionsDeleteHeaders + - Added Interface RegistryCodeVersionsDeleteOptionalParams + - Added Interface RegistryCodeVersionsGetOptionalParams + - Added Interface RegistryCodeVersionsListNextOptionalParams + - Added Interface RegistryCodeVersionsListOptionalParams + - Added Interface RegistryComponentContainersCreateOrUpdateHeaders + - Added Interface RegistryComponentContainersCreateOrUpdateOptionalParams + - Added Interface RegistryComponentContainersDeleteHeaders + - Added Interface RegistryComponentContainersDeleteOptionalParams + - Added Interface RegistryComponentContainersGetOptionalParams + - Added Interface RegistryComponentContainersListNextOptionalParams + - Added Interface RegistryComponentContainersListOptionalParams + - Added Interface RegistryComponentVersionsCreateOrUpdateHeaders + - Added Interface RegistryComponentVersionsCreateOrUpdateOptionalParams + - Added Interface RegistryComponentVersionsDeleteHeaders + - Added Interface RegistryComponentVersionsDeleteOptionalParams + - Added Interface RegistryComponentVersionsGetOptionalParams + - Added Interface RegistryComponentVersionsListNextOptionalParams + - Added Interface RegistryComponentVersionsListOptionalParams + - Added Interface RegistryDataContainersCreateOrUpdateHeaders + - Added Interface RegistryDataContainersCreateOrUpdateOptionalParams + - Added Interface RegistryDataContainersDeleteHeaders + - Added Interface RegistryDataContainersDeleteOptionalParams + - Added Interface RegistryDataContainersGetOptionalParams + - Added Interface RegistryDataContainersListNextOptionalParams + - Added Interface RegistryDataContainersListOptionalParams + - Added Interface RegistryDataReferencesGetBlobReferenceSASOptionalParams + - Added Interface RegistryDataVersionsCreateOrGetStartPendingUploadOptionalParams + - Added Interface RegistryDataVersionsCreateOrUpdateHeaders + - Added Interface RegistryDataVersionsCreateOrUpdateOptionalParams + - Added Interface RegistryDataVersionsDeleteHeaders + - Added Interface RegistryDataVersionsDeleteOptionalParams + - Added Interface RegistryDataVersionsGetOptionalParams + - Added Interface RegistryDataVersionsListNextOptionalParams + - Added Interface RegistryDataVersionsListOptionalParams + - Added Interface RegistryEnvironmentContainersCreateOrUpdateHeaders + - Added Interface RegistryEnvironmentContainersCreateOrUpdateOptionalParams + - Added Interface RegistryEnvironmentContainersDeleteHeaders + - Added Interface RegistryEnvironmentContainersDeleteOptionalParams + - Added Interface RegistryEnvironmentContainersGetOptionalParams + - Added Interface RegistryEnvironmentContainersListNextOptionalParams + - Added Interface RegistryEnvironmentContainersListOptionalParams + - Added Interface RegistryEnvironmentVersionsCreateOrUpdateHeaders + - Added Interface RegistryEnvironmentVersionsCreateOrUpdateOptionalParams + - Added Interface RegistryEnvironmentVersionsDeleteHeaders + - Added Interface RegistryEnvironmentVersionsDeleteOptionalParams + - Added Interface RegistryEnvironmentVersionsGetOptionalParams + - Added Interface RegistryEnvironmentVersionsListNextOptionalParams + - Added Interface RegistryEnvironmentVersionsListOptionalParams + - Added Interface RegistryModelContainersCreateOrUpdateHeaders + - Added Interface RegistryModelContainersCreateOrUpdateOptionalParams + - Added Interface RegistryModelContainersDeleteHeaders + - Added Interface RegistryModelContainersDeleteOptionalParams + - Added Interface RegistryModelContainersGetOptionalParams + - Added Interface RegistryModelContainersListNextOptionalParams + - Added Interface RegistryModelContainersListOptionalParams + - Added Interface RegistryModelVersionsCreateOrGetStartPendingUploadOptionalParams + - Added Interface RegistryModelVersionsCreateOrUpdateHeaders + - Added Interface RegistryModelVersionsCreateOrUpdateOptionalParams + - Added Interface RegistryModelVersionsDeleteHeaders + - Added Interface RegistryModelVersionsDeleteOptionalParams + - Added Interface RegistryModelVersionsGetOptionalParams + - Added Interface RegistryModelVersionsListNextOptionalParams + - Added Interface RegistryModelVersionsListOptionalParams + - Added Interface RegistryPartialManagedServiceIdentity + - Added Interface RegistryPrivateEndpointConnection + - Added Interface RegistryPrivateLinkServiceConnectionState + - Added Interface RegistryRegionArmDetails + - Added Interface RegistryTrackedResourceArmPaginatedResult + - Added Interface RollingInputData + - Added Interface SASCredential + - Added Interface SASCredentialDto + - Added Interface ServerlessComputeSettings + - Added Interface ServiceTagDestination + - Added Interface ServiceTagOutboundRule + - Added Interface SparkJob + - Added Interface SparkJobEntry + - Added Interface SparkJobPythonEntry + - Added Interface SparkJobScalaEntry + - Added Interface SparkResourceConfiguration + - Added Interface StaticInputData + - Added Interface StorageAccountDetails + - Added Interface SystemCreatedAcrAccount + - Added Interface SystemCreatedStorageAccount + - Added Interface TmpfsOptions + - Added Interface TopNFeaturesByAttribution + - Added Interface UserCreatedAcrAccount + - Added Interface UserCreatedStorageAccount + - Added Interface VolumeDefinition + - Added Interface VolumeOptions + - Added Interface Webhook + - Added Interface WorkspacesCreateOrUpdateHeaders + - Added Interface WorkspacesPrepareNotebookHeaders + - Added Interface WorkspacesResyncKeysHeaders + - Added Interface WorkspacesUpdateHeaders + - Added Class AzureMachineLearningServices + - Added Type Alias ActionType + - Added Type Alias AssetProvisioningState + - Added Type Alias BatchDeploymentConfigurationType + - Added Type Alias BatchDeploymentConfigurationUnion + - Added Type Alias CategoricalDataDriftMetric + - Added Type Alias CategoricalDataQualityMetric + - Added Type Alias CategoricalPredictionDriftMetric + - Added Type Alias CodeVersionsCreateOrGetStartPendingUploadResponse + - Added Type Alias ComputeRecurrenceFrequency + - Added Type Alias ComputeTriggerType + - Added Type Alias ComputeWeekDay + - Added Type Alias DataAvailabilityStatus + - Added Type Alias DataDriftMetricThresholdBaseUnion + - Added Type Alias DataQualityMetricThresholdBaseUnion + - Added Type Alias DataReferenceCredentialType + - Added Type Alias DataReferenceCredentialUnion + - Added Type Alias EmailNotificationEnableType + - Added Type Alias EndpointServiceConnectionStatus + - Added Type Alias EnvironmentVariableType + - Added Type Alias FeatureAttributionMetric + - Added Type Alias FeatureDataType + - Added Type Alias FeatureImportanceMode + - Added Type Alias FeaturesetContainersCreateOrUpdateResponse + - Added Type Alias FeaturesetContainersGetEntityResponse + - Added Type Alias FeaturesetContainersListNextResponse + - Added Type Alias FeaturesetContainersListResponse + - Added Type Alias FeaturesetVersionsBackfillResponse + - Added Type Alias FeaturesetVersionsCreateOrUpdateResponse + - Added Type Alias FeaturesetVersionsGetResponse + - Added Type Alias FeaturesetVersionsListNextResponse + - Added Type Alias FeaturesetVersionsListResponse + - Added Type Alias FeaturesGetResponse + - Added Type Alias FeaturesListNextResponse + - Added Type Alias FeaturesListResponse + - Added Type Alias FeaturestoreEntityContainersCreateOrUpdateResponse + - Added Type Alias FeaturestoreEntityContainersGetEntityResponse + - Added Type Alias FeaturestoreEntityContainersListNextResponse + - Added Type Alias FeaturestoreEntityContainersListResponse + - Added Type Alias FeaturestoreEntityVersionsCreateOrUpdateResponse + - Added Type Alias FeaturestoreEntityVersionsGetResponse + - Added Type Alias FeaturestoreEntityVersionsListNextResponse + - Added Type Alias FeaturestoreEntityVersionsListResponse + - Added Type Alias ImageType + - Added Type Alias IsolationMode + - Added Type Alias JobTier + - Added Type Alias ManagedNetworkProvisionsProvisionManagedNetworkResponse + - Added Type Alias ManagedNetworkSettingsRuleCreateOrUpdateResponse + - Added Type Alias ManagedNetworkSettingsRuleGetResponse + - Added Type Alias ManagedNetworkSettingsRuleListNextResponse + - Added Type Alias ManagedNetworkSettingsRuleListResponse + - Added Type Alias ManagedNetworkStatus + - Added Type Alias MaterializationStoreType + - Added Type Alias ModelTaskType + - Added Type Alias MonitorComputeConfigurationBaseUnion + - Added Type Alias MonitorComputeIdentityBaseUnion + - Added Type Alias MonitorComputeIdentityType + - Added Type Alias MonitorComputeType + - Added Type Alias MonitoringFeatureDataType + - Added Type Alias MonitoringFeatureFilterBaseUnion + - Added Type Alias MonitoringFeatureFilterType + - Added Type Alias MonitoringInputDataBaseUnion + - Added Type Alias MonitoringInputDataType + - Added Type Alias MonitoringNotificationType + - Added Type Alias MonitoringSignalBaseUnion + - Added Type Alias MonitoringSignalType + - Added Type Alias NodesUnion + - Added Type Alias NodesValueType + - Added Type Alias NumericalDataDriftMetric + - Added Type Alias NumericalDataQualityMetric + - Added Type Alias NumericalPredictionDriftMetric + - Added Type Alias OneLakeArtifactType + - Added Type Alias OneLakeArtifactUnion + - Added Type Alias Origin + - Added Type Alias OutboundRuleUnion + - Added Type Alias PendingUploadCredentialDtoUnion + - Added Type Alias PendingUploadCredentialType + - Added Type Alias PendingUploadType + - Added Type Alias PredictionDriftMetricThresholdBaseUnion + - Added Type Alias Protocol + - Added Type Alias RegistriesCreateOrUpdateResponse + - Added Type Alias RegistriesGetResponse + - Added Type Alias RegistriesListBySubscriptionNextResponse + - Added Type Alias RegistriesListBySubscriptionResponse + - Added Type Alias RegistriesListNextResponse + - Added Type Alias RegistriesListResponse + - Added Type Alias RegistriesRemoveRegionsResponse + - Added Type Alias RegistriesUpdateResponse + - Added Type Alias RegistryCodeContainersCreateOrUpdateResponse + - Added Type Alias RegistryCodeContainersGetResponse + - Added Type Alias RegistryCodeContainersListNextResponse + - Added Type Alias RegistryCodeContainersListResponse + - Added Type Alias RegistryCodeVersionsCreateOrGetStartPendingUploadResponse + - Added Type Alias RegistryCodeVersionsCreateOrUpdateResponse + - Added Type Alias RegistryCodeVersionsGetResponse + - Added Type Alias RegistryCodeVersionsListNextResponse + - Added Type Alias RegistryCodeVersionsListResponse + - Added Type Alias RegistryComponentContainersCreateOrUpdateResponse + - Added Type Alias RegistryComponentContainersGetResponse + - Added Type Alias RegistryComponentContainersListNextResponse + - Added Type Alias RegistryComponentContainersListResponse + - Added Type Alias RegistryComponentVersionsCreateOrUpdateResponse + - Added Type Alias RegistryComponentVersionsGetResponse + - Added Type Alias RegistryComponentVersionsListNextResponse + - Added Type Alias RegistryComponentVersionsListResponse + - Added Type Alias RegistryDataContainersCreateOrUpdateResponse + - Added Type Alias RegistryDataContainersGetResponse + - Added Type Alias RegistryDataContainersListNextResponse + - Added Type Alias RegistryDataContainersListResponse + - Added Type Alias RegistryDataReferencesGetBlobReferenceSASResponse + - Added Type Alias RegistryDataVersionsCreateOrGetStartPendingUploadResponse + - Added Type Alias RegistryDataVersionsCreateOrUpdateResponse + - Added Type Alias RegistryDataVersionsGetResponse + - Added Type Alias RegistryDataVersionsListNextResponse + - Added Type Alias RegistryDataVersionsListResponse + - Added Type Alias RegistryEnvironmentContainersCreateOrUpdateResponse + - Added Type Alias RegistryEnvironmentContainersGetResponse + - Added Type Alias RegistryEnvironmentContainersListNextResponse + - Added Type Alias RegistryEnvironmentContainersListResponse + - Added Type Alias RegistryEnvironmentVersionsCreateOrUpdateResponse + - Added Type Alias RegistryEnvironmentVersionsGetResponse + - Added Type Alias RegistryEnvironmentVersionsListNextResponse + - Added Type Alias RegistryEnvironmentVersionsListResponse + - Added Type Alias RegistryModelContainersCreateOrUpdateResponse + - Added Type Alias RegistryModelContainersGetResponse + - Added Type Alias RegistryModelContainersListNextResponse + - Added Type Alias RegistryModelContainersListResponse + - Added Type Alias RegistryModelVersionsCreateOrGetStartPendingUploadResponse + - Added Type Alias RegistryModelVersionsCreateOrUpdateResponse + - Added Type Alias RegistryModelVersionsGetResponse + - Added Type Alias RegistryModelVersionsListNextResponse + - Added Type Alias RegistryModelVersionsListResponse + - Added Type Alias RuleAction + - Added Type Alias RuleCategory + - Added Type Alias RuleStatus + - Added Type Alias RuleType + - Added Type Alias SparkJobEntryType + - Added Type Alias SparkJobEntryUnion + - Added Type Alias VolumeDefinitionType + - Added Type Alias WebhookType + - Added Type Alias WebhookUnion + - Interface AutoMLJob has a new optional parameter queueSettings + - Interface BatchDeploymentProperties has a new optional parameter deploymentConfiguration + - Interface CodeContainerProperties has a new optional parameter provisioningState + - Interface CodeVersionProperties has a new optional parameter provisioningState + - Interface CodeVersionsListOptionalParams has a new optional parameter hash + - Interface CodeVersionsListOptionalParams has a new optional parameter hashVersion + - Interface CommandJob has a new optional parameter queueSettings + - Interface ComponentContainerProperties has a new optional parameter provisioningState + - Interface ComponentVersionProperties has a new optional parameter provisioningState + - Interface ComputeInstanceProperties has a new optional parameter customServices + - Interface ComputeInstanceProperties has a new optional parameter osImageMetadata + - Interface EnvironmentContainerProperties has a new optional parameter provisioningState + - Interface EnvironmentVersionProperties has a new optional parameter provisioningState + - Interface EnvironmentVersionProperties has a new optional parameter stage + - Interface JobService has a new optional parameter nodes + - Interface JobsListOptionalParams has a new optional parameter properties + - Interface ModelContainerProperties has a new optional parameter provisioningState + - Interface ModelVersionProperties has a new optional parameter provisioningState + - Interface ModelVersionProperties has a new optional parameter stage + - Interface OnlineEndpointProperties has a new optional parameter mirrorTraffic + - Interface SweepJob has a new optional parameter queueSettings + - Interface Workspace has a new optional parameter featureStoreSettings + - Interface Workspace has a new optional parameter kind + - Interface Workspace has a new optional parameter managedNetwork + - Interface Workspace has a new optional parameter serverlessComputeSettings + - Interface WorkspacesDeleteOptionalParams has a new optional parameter forceToPurge + - Interface WorkspaceUpdateParameters has a new optional parameter featureStoreSettings + - Interface WorkspaceUpdateParameters has a new optional parameter serverlessComputeSettings + - Type of parameter referenceType of interface AssetReferenceBase is changed from "DataPath" | "Id" | "OutputPath" to "Id" | "DataPath" | "OutputPath" + - Type of parameter actionType of interface ScheduleActionBase is changed from "InvokeBatchEndpoint" | "CreateJob" to "CreateMonitor" | "InvokeBatchEndpoint" | "CreateJob" + - Added Enum KnownActionType + - Added Enum KnownAssetProvisioningState + - Added Enum KnownBatchDeploymentConfigurationType + - Added Enum KnownCategoricalDataDriftMetric + - Added Enum KnownCategoricalDataQualityMetric + - Added Enum KnownCategoricalPredictionDriftMetric + - Added Enum KnownComputeRecurrenceFrequency + - Added Enum KnownComputeTriggerType + - Added Enum KnownComputeWeekDay + - Added Enum KnownDataAvailabilityStatus + - Added Enum KnownDataReferenceCredentialType + - Added Enum KnownEmailNotificationEnableType + - Added Enum KnownEndpointServiceConnectionStatus + - Added Enum KnownEnvironmentVariableType + - Added Enum KnownFeatureAttributionMetric + - Added Enum KnownFeatureDataType + - Added Enum KnownFeatureImportanceMode + - Added Enum KnownImageType + - Added Enum KnownIsolationMode + - Added Enum KnownJobTier + - Added Enum KnownManagedNetworkStatus + - Added Enum KnownMaterializationStoreType + - Added Enum KnownModelTaskType + - Added Enum KnownMonitorComputeIdentityType + - Added Enum KnownMonitorComputeType + - Added Enum KnownMonitoringFeatureDataType + - Added Enum KnownMonitoringFeatureFilterType + - Added Enum KnownMonitoringInputDataType + - Added Enum KnownMonitoringNotificationType + - Added Enum KnownMonitoringSignalType + - Added Enum KnownNodesValueType + - Added Enum KnownNumericalDataDriftMetric + - Added Enum KnownNumericalDataQualityMetric + - Added Enum KnownNumericalPredictionDriftMetric + - Added Enum KnownOneLakeArtifactType + - Added Enum KnownOrigin + - Added Enum KnownPendingUploadCredentialType + - Added Enum KnownPendingUploadType + - Added Enum KnownProtocol + - Added Enum KnownRuleAction + - Added Enum KnownRuleCategory + - Added Enum KnownRuleStatus + - Added Enum KnownRuleType + - Added Enum KnownSparkJobEntryType + - Added Enum KnownVolumeDefinitionType + - Added Enum KnownWebhookType + - Enum KnownDatastoreType has a new value OneLake + - Enum KnownJobType has a new value Spark + - Enum KnownOutputDeliveryMode has a new value Direct + - Enum KnownScheduleActionType has a new value CreateMonitor -### Other Changes +**Breaking Changes** + - Deleted Class AzureMachineLearningWorkspaces + - Interface BatchDeploymentsListNextOptionalParams no longer has parameter orderBy + - Interface BatchDeploymentsListNextOptionalParams no longer has parameter skip + - Interface BatchDeploymentsListNextOptionalParams no longer has parameter top + - Interface BatchEndpointsListNextOptionalParams no longer has parameter count + - Interface BatchEndpointsListNextOptionalParams no longer has parameter skip + - Interface CodeContainersListNextOptionalParams no longer has parameter skip + - Interface CodeVersionsListNextOptionalParams no longer has parameter orderBy + - Interface CodeVersionsListNextOptionalParams no longer has parameter skip + - Interface CodeVersionsListNextOptionalParams no longer has parameter top + - Interface ComponentContainersListNextOptionalParams no longer has parameter listViewType + - Interface ComponentContainersListNextOptionalParams no longer has parameter skip + - Interface ComponentVersionsListNextOptionalParams no longer has parameter listViewType + - Interface ComponentVersionsListNextOptionalParams no longer has parameter orderBy + - Interface ComponentVersionsListNextOptionalParams no longer has parameter skip + - Interface ComponentVersionsListNextOptionalParams no longer has parameter top + - Interface ComputeListNextOptionalParams no longer has parameter skip + - Interface DataContainersListNextOptionalParams no longer has parameter listViewType + - Interface DataContainersListNextOptionalParams no longer has parameter skip + - Interface DatastoresListNextOptionalParams no longer has parameter count + - Interface DatastoresListNextOptionalParams no longer has parameter isDefault + - Interface DatastoresListNextOptionalParams no longer has parameter names + - Interface DatastoresListNextOptionalParams no longer has parameter orderBy + - Interface DatastoresListNextOptionalParams no longer has parameter orderByAsc + - Interface DatastoresListNextOptionalParams no longer has parameter searchText + - Interface DatastoresListNextOptionalParams no longer has parameter skip + - Interface DataVersionsListNextOptionalParams no longer has parameter listViewType + - Interface DataVersionsListNextOptionalParams no longer has parameter orderBy + - Interface DataVersionsListNextOptionalParams no longer has parameter skip + - Interface DataVersionsListNextOptionalParams no longer has parameter tags + - Interface DataVersionsListNextOptionalParams no longer has parameter top + - Interface EnvironmentContainersListNextOptionalParams no longer has parameter listViewType + - Interface EnvironmentContainersListNextOptionalParams no longer has parameter skip + - Interface EnvironmentVersionsListNextOptionalParams no longer has parameter listViewType + - Interface EnvironmentVersionsListNextOptionalParams no longer has parameter orderBy + - Interface EnvironmentVersionsListNextOptionalParams no longer has parameter skip + - Interface EnvironmentVersionsListNextOptionalParams no longer has parameter top + - Interface JobsListNextOptionalParams no longer has parameter jobType + - Interface JobsListNextOptionalParams no longer has parameter listViewType + - Interface JobsListNextOptionalParams no longer has parameter skip + - Interface JobsListNextOptionalParams no longer has parameter tag + - Interface ModelContainersListNextOptionalParams no longer has parameter count + - Interface ModelContainersListNextOptionalParams no longer has parameter listViewType + - Interface ModelContainersListNextOptionalParams no longer has parameter skip + - Interface ModelVersionsListNextOptionalParams no longer has parameter description + - Interface ModelVersionsListNextOptionalParams no longer has parameter feed + - Interface ModelVersionsListNextOptionalParams no longer has parameter listViewType + - Interface ModelVersionsListNextOptionalParams no longer has parameter offset + - Interface ModelVersionsListNextOptionalParams no longer has parameter orderBy + - Interface ModelVersionsListNextOptionalParams no longer has parameter properties + - Interface ModelVersionsListNextOptionalParams no longer has parameter skip + - Interface ModelVersionsListNextOptionalParams no longer has parameter tags + - Interface ModelVersionsListNextOptionalParams no longer has parameter top + - Interface ModelVersionsListNextOptionalParams no longer has parameter version + - Interface OnlineDeploymentsListNextOptionalParams no longer has parameter orderBy + - Interface OnlineDeploymentsListNextOptionalParams no longer has parameter skip + - Interface OnlineDeploymentsListNextOptionalParams no longer has parameter top + - Interface OnlineDeploymentsListSkusNextOptionalParams no longer has parameter count + - Interface OnlineDeploymentsListSkusNextOptionalParams no longer has parameter skip + - Interface OnlineEndpointsListNextOptionalParams no longer has parameter computeType + - Interface OnlineEndpointsListNextOptionalParams no longer has parameter count + - Interface OnlineEndpointsListNextOptionalParams no longer has parameter name + - Interface OnlineEndpointsListNextOptionalParams no longer has parameter orderBy + - Interface OnlineEndpointsListNextOptionalParams no longer has parameter properties + - Interface OnlineEndpointsListNextOptionalParams no longer has parameter skip + - Interface OnlineEndpointsListNextOptionalParams no longer has parameter tags + - Interface PrivateEndpoint no longer has parameter subnetArmId + - Interface SchedulesListNextOptionalParams no longer has parameter listViewType + - Interface SchedulesListNextOptionalParams no longer has parameter skip + - Interface WorkspaceConnectionsListNextOptionalParams no longer has parameter category + - Interface WorkspaceConnectionsListNextOptionalParams no longer has parameter target + - Interface WorkspacesListByResourceGroupNextOptionalParams no longer has parameter skip + - Interface WorkspacesListBySubscriptionNextOptionalParams no longer has parameter skip + - Type of parameter cron of interface ComputeStartStopSchedule is changed from CronTrigger to Cron + - Type of parameter recurrence of interface ComputeStartStopSchedule is changed from RecurrenceTrigger to Recurrence + - Type of parameter triggerType of interface ComputeStartStopSchedule is changed from TriggerType to ComputeTriggerType + + ## 2.1.1 (2022-11-28) **Features** @@ -213,4 +819,4 @@ ## 1.0.0 (2022-07-13) -The package of @azure/arm-machinelearning is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ). +The package of @azure/arm-machinelearning is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart). diff --git a/sdk/machinelearning/arm-machinelearning/LICENSE b/sdk/machinelearning/arm-machinelearning/LICENSE index 5d1d36e0af80..7d5934740965 100644 --- a/sdk/machinelearning/arm-machinelearning/LICENSE +++ b/sdk/machinelearning/arm-machinelearning/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2022 Microsoft +Copyright (c) 2024 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/machinelearning/arm-machinelearning/README.md b/sdk/machinelearning/arm-machinelearning/README.md index c7c7e6faee9e..17cd50197d7d 100644 --- a/sdk/machinelearning/arm-machinelearning/README.md +++ b/sdk/machinelearning/arm-machinelearning/README.md @@ -1,6 +1,6 @@ -# AzureMachineLearningWorkspaces client library for JavaScript +# Azure Machine Learning client library for JavaScript -This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureMachineLearningWorkspaces client. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure Machine Learning client. These APIs allow end users to operate on Azure Machine Learning Workspace resources. @@ -24,16 +24,16 @@ See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUP ### Install the `@azure/arm-machinelearning` package -Install the AzureMachineLearningWorkspaces client library for JavaScript with `npm`: +Install the Azure Machine Learning client library for JavaScript with `npm`: ```bash npm install @azure/arm-machinelearning ``` -### Create and authenticate a `AzureMachineLearningWorkspaces` +### Create and authenticate a `AzureMachineLearningServices` -To create a client object to access the AzureMachineLearningWorkspaces API, you will need the `endpoint` of your AzureMachineLearningWorkspaces resource and a `credential`. The AzureMachineLearningWorkspaces client can use Azure Active Directory credentials to authenticate. -You can find the endpoint for your AzureMachineLearningWorkspaces resource in the [Azure Portal][azure_portal]. +To create a client object to access the Azure Machine Learning API, you will need the `endpoint` of your Azure Machine Learning resource and a `credential`. The Azure Machine Learning client can use Azure Active Directory credentials to authenticate. +You can find the endpoint for your Azure Machine Learning resource in the [Azure Portal][azure_portal]. You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token). @@ -43,25 +43,25 @@ To use the [DefaultAzureCredential][defaultazurecredential] provider shown below npm install @azure/identity ``` -You will also need to **register a new AAD application and grant access to AzureMachineLearningWorkspaces** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions). +You will also need to **register a new AAD application and grant access to Azure Machine Learning** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions). Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`. For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal). ```javascript -const { AzureMachineLearningWorkspaces } = require("@azure/arm-machinelearning"); +const { AzureMachineLearningServices } = require("@azure/arm-machinelearning"); const { DefaultAzureCredential } = require("@azure/identity"); // For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details. const subscriptionId = "00000000-0000-0000-0000-000000000000"; -const client = new AzureMachineLearningWorkspaces(new DefaultAzureCredential(), subscriptionId); +const client = new AzureMachineLearningServices(new DefaultAzureCredential(), subscriptionId); // For client-side applications running in the browser, use this code instead: // const credential = new InteractiveBrowserCredential({ // tenantId: "", // clientId: "" // }); -// const client = new AzureMachineLearningWorkspaces(credential, subscriptionId); +// const client = new AzureMachineLearningServices(credential, subscriptionId); ``` @@ -70,9 +70,9 @@ To use this client library in the browser, first you need to use a bundler. For ## Key concepts -### AzureMachineLearningWorkspaces +### AzureMachineLearningServices -`AzureMachineLearningWorkspaces` is the primary interface for developers using the AzureMachineLearningWorkspaces client library. Explore the methods on this client object to understand the different features of the AzureMachineLearningWorkspaces service that you can access. +`AzureMachineLearningServices` is the primary interface for developers using the Azure Machine Learning client library. Explore the methods on this client object to understand the different features of the Azure Machine Learning service that you can access. ## Troubleshooting diff --git a/sdk/machinelearning/arm-machinelearning/_meta.json b/sdk/machinelearning/arm-machinelearning/_meta.json index ed615b9d846a..2c8a29d4745a 100644 --- a/sdk/machinelearning/arm-machinelearning/_meta.json +++ b/sdk/machinelearning/arm-machinelearning/_meta.json @@ -1,8 +1,8 @@ { - "commit": "1fefe3f5cee88319b17c08a2dbf95e1e983a9f8c", + "commit": "157d911a77bd557a54bb95ff8ddd1612b6fe339d", "readme": "specification/machinelearningservices/resource-manager/readme.md", - "autorest_command": "autorest --version=3.8.4 --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\\machinelearningservices\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.3.20221108.1 --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/machinelearningservices/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.4.2", - "use": "@autorest/typescript@6.0.0-rc.3.20221108.1" + "release_tool": "@azure-tools/js-sdk-release-tools@2.7.4", + "use": "@autorest/typescript@^6.0.12" } \ No newline at end of file diff --git a/sdk/machinelearning/arm-machinelearning/package.json b/sdk/machinelearning/arm-machinelearning/package.json index a5157bf14706..27fd92e8868a 100644 --- a/sdk/machinelearning/arm-machinelearning/package.json +++ b/sdk/machinelearning/arm-machinelearning/package.json @@ -2,18 +2,18 @@ "name": "@azure/arm-machinelearning", "sdk-type": "mgmt", "author": "Microsoft Corporation", - "description": "A generated SDK for AzureMachineLearningWorkspaces.", - "version": "2.1.2", + "description": "A generated SDK for AzureMachineLearningServices.", + "version": "3.0.0", "engines": { "node": ">=18.0.0" }, "dependencies": { - "@azure/core-lro": "^2.2.0", + "@azure/core-lro": "^2.5.4", "@azure/abort-controller": "^1.0.0", "@azure/core-paging": "^1.2.0", - "@azure/core-client": "^1.6.1", - "@azure/core-auth": "^1.3.0", - "@azure/core-rest-pipeline": "^1.8.0", + "@azure/core-client": "^1.7.0", + "@azure/core-auth": "^1.6.0", + "@azure/core-rest-pipeline": "^1.14.0", "tslib": "^2.2.0" }, "keywords": [ @@ -29,23 +29,24 @@ "types": "./types/arm-machinelearning.d.ts", "devDependencies": { "@microsoft/api-extractor": "^7.31.1", - "mkdirp": "^1.0.4", + "mkdirp": "^2.1.2", "typescript": "~5.3.3", "uglify-js": "^3.4.9", - "rimraf": "^5.0.5", + "rimraf": "^5.0.0", + "dotenv": "^16.0.0", + "@azure/dev-tool": "^1.0.0", "@azure/identity": "^4.0.1", "@azure-tools/test-recorder": "^3.0.0", "@azure-tools/test-credential": "^1.0.0", "mocha": "^10.0.0", + "@types/mocha": "^10.0.0", + "esm": "^3.2.18", "@types/chai": "^4.2.8", "chai": "^4.2.0", "cross-env": "^7.0.2", "@types/node": "^18.0.0", - "@azure/dev-tool": "^1.0.0", - "ts-node": "^10.0.0", - "@types/mocha": "^10.0.0" + "ts-node": "^10.0.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/machinelearning/arm-machinelearning", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" @@ -77,7 +78,6 @@ "pack": "npm pack 2>&1", "extract-api": "api-extractor run --local", "lint": "echo skipped", - "audit": "echo skipped", "clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", "build:node": "echo skipped", "build:browser": "echo skipped", @@ -100,18 +100,11 @@ "//metadata": { "constantPaths": [ { - "path": "src/azureMachineLearningWorkspaces.ts", + "path": "src/azureMachineLearningServices.ts", "prefix": "packageDetails" } ] }, "autoPublish": true, - "//sampleConfiguration": { - "productName": "", - "productSlugs": [ - "azure" - ], - "disableDocsMs": true, - "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-machinelearning?view=azure-node-preview" - } -} + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/machinelearning/arm-machinelearning" +} \ No newline at end of file diff --git a/sdk/machinelearning/arm-machinelearning/review/arm-machinelearning.api.md b/sdk/machinelearning/arm-machinelearning/review/arm-machinelearning.api.md index 550802b181a7..1410796af250 100644 --- a/sdk/machinelearning/arm-machinelearning/review/arm-machinelearning.api.md +++ b/sdk/machinelearning/arm-machinelearning/review/arm-machinelearning.api.md @@ -6,9 +6,9 @@ import * as coreAuth from '@azure/core-auth'; import * as coreClient from '@azure/core-client'; +import { OperationState } from '@azure/core-lro'; import { PagedAsyncIterableIterator } from '@azure/core-paging'; -import { PollerLike } from '@azure/core-lro'; -import { PollOperationState } from '@azure/core-lro'; +import { SimplePollerLike } from '@azure/core-lro'; // @public export interface AccountKeyDatastoreCredentials extends DatastoreCredentials { @@ -22,6 +22,15 @@ export interface AccountKeyDatastoreSecrets extends DatastoreSecrets { secretsType: "AccountKey"; } +// @public +export interface AcrDetails { + systemCreatedAcrAccount?: SystemCreatedAcrAccount; + userCreatedAcrAccount?: UserCreatedAcrAccount; +} + +// @public +export type ActionType = string; + // @public export interface Aks extends Compute, AKSSchema { computeType: "AKS"; @@ -65,6 +74,16 @@ export interface AKSSchemaProperties { readonly systemServices?: SystemService[]; } +// @public (undocumented) +export interface AllFeatures extends MonitoringFeatureFilterBase { + filterType: "AllFeatures"; +} + +// @public +export interface AllNodes extends Nodes { + nodesValueType: "All"; +} + // @public export type AllocationState = string; @@ -116,28 +135,13 @@ export interface AmlComputeSchema { } // @public -export interface AmlOperation { - display?: AmlOperationDisplay; - isDataAction?: boolean; - name?: string; -} - -// @public -export interface AmlOperationDisplay { - description?: string; - operation?: string; - provider?: string; - resource?: string; -} - -// @public -export interface AmlOperationListResult { - value?: AmlOperation[]; +export interface AmlToken extends IdentityConfiguration { + identityType: "AMLToken"; } // @public -export interface AmlToken extends IdentityConfiguration { - identityType: "AMLToken"; +export interface AmlTokenComputeIdentity extends MonitorComputeIdentityBase { + computeIdentityType: "AmlToken"; } // @public @@ -147,9 +151,19 @@ export interface AmlUserFeature { id?: string; } +// @public +export interface AnonymousAccessCredential extends DataReferenceCredential { + credentialType: "NoCredentials"; +} + // @public export type ApplicationSharingPolicy = string; +// @public +export interface ArmResourceId { + resourceId?: string; +} + // @public (undocumented) export interface AssetBase extends ResourceBase { isAnonymous?: boolean; @@ -175,13 +189,16 @@ export interface AssetJobOutput { uri?: string; } +// @public +export type AssetProvisioningState = string; + // @public export interface AssetReferenceBase { - referenceType: "DataPath" | "Id" | "OutputPath"; + referenceType: "Id" | "DataPath" | "OutputPath"; } // @public (undocumented) -export type AssetReferenceBaseUnion = AssetReferenceBase | DataPathAssetReference | IdAssetReference | OutputPathAssetReference; +export type AssetReferenceBaseUnion = AssetReferenceBase | IdAssetReference | DataPathAssetReference | OutputPathAssetReference; // @public export interface AssignedUser { @@ -204,6 +221,7 @@ export interface AutoMLJob extends JobBaseProperties { outputs?: { [propertyName: string]: JobOutputUnion | null; }; + queueSettings?: QueueSettings; resources?: JobResourceConfiguration; taskDetails: AutoMLVerticalUnion; } @@ -264,26 +282,23 @@ export interface AutoTargetRollingWindowSize extends TargetRollingWindowSize { } // @public -export interface AzureBlobDatastore extends DatastoreProperties { +export interface AzureBlobDatastore extends AzureDatastore, DatastoreProperties { accountName?: string; containerName?: string; - datastoreType: "AzureBlob"; endpoint?: string; protocol?: string; serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; } // @public -export interface AzureDataLakeGen1Datastore extends DatastoreProperties { - datastoreType: "AzureDataLakeGen1"; +export interface AzureDataLakeGen1Datastore extends AzureDatastore, DatastoreProperties { serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; storeName: string; } // @public -export interface AzureDataLakeGen2Datastore extends DatastoreProperties { +export interface AzureDataLakeGen2Datastore extends AzureDatastore, DatastoreProperties { accountName: string; - datastoreType: "AzureDataLakeGen2"; endpoint?: string; filesystem: string; protocol?: string; @@ -291,9 +306,19 @@ export interface AzureDataLakeGen2Datastore extends DatastoreProperties { } // @public -export interface AzureFileDatastore extends DatastoreProperties { +export interface AzureDatastore { + resourceGroup?: string; + subscriptionId?: string; +} + +// @public +export interface AzureDevOpsWebhook extends Webhook { + webhookType: "AzureDevOps"; +} + +// @public +export interface AzureFileDatastore extends AzureDatastore, DatastoreProperties { accountName: string; - datastoreType: "AzureFile"; endpoint?: string; fileShareName: string; protocol?: string; @@ -301,10 +326,10 @@ export interface AzureFileDatastore extends DatastoreProperties { } // @public (undocumented) -export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { +export class AzureMachineLearningServices extends coreClient.ServiceClient { // (undocumented) $host: string; - constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AzureMachineLearningWorkspacesOptionalParams); + constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AzureMachineLearningServicesOptionalParams); // (undocumented) apiVersion: string; // (undocumented) @@ -332,8 +357,22 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { // (undocumented) environmentVersions: EnvironmentVersions; // (undocumented) + features: Features; + // (undocumented) + featuresetContainers: FeaturesetContainers; + // (undocumented) + featuresetVersions: FeaturesetVersions; + // (undocumented) + featurestoreEntityContainers: FeaturestoreEntityContainers; + // (undocumented) + featurestoreEntityVersions: FeaturestoreEntityVersions; + // (undocumented) jobs: Jobs; // (undocumented) + managedNetworkProvisions: ManagedNetworkProvisions; + // (undocumented) + managedNetworkSettingsRule: ManagedNetworkSettingsRule; + // (undocumented) modelContainers: ModelContainers; // (undocumented) modelVersions: ModelVersions; @@ -350,6 +389,30 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { // (undocumented) quotas: Quotas; // (undocumented) + registries: Registries; + // (undocumented) + registryCodeContainers: RegistryCodeContainers; + // (undocumented) + registryCodeVersions: RegistryCodeVersions; + // (undocumented) + registryComponentContainers: RegistryComponentContainers; + // (undocumented) + registryComponentVersions: RegistryComponentVersions; + // (undocumented) + registryDataContainers: RegistryDataContainers; + // (undocumented) + registryDataReferences: RegistryDataReferences; + // (undocumented) + registryDataVersions: RegistryDataVersions; + // (undocumented) + registryEnvironmentContainers: RegistryEnvironmentContainers; + // (undocumented) + registryEnvironmentVersions: RegistryEnvironmentVersions; + // (undocumented) + registryModelContainers: RegistryModelContainers; + // (undocumented) + registryModelVersions: RegistryModelVersions; + // (undocumented) schedules: Schedules; // (undocumented) subscriptionId: string; @@ -366,7 +429,7 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { } // @public -export interface AzureMachineLearningWorkspacesOptionalParams extends coreClient.ServiceClientOptions { +export interface AzureMachineLearningServicesOptionalParams extends coreClient.ServiceClientOptions { $host?: string; apiVersion?: string; endpoint?: string; @@ -387,9 +450,21 @@ export interface BatchDeployment extends TrackedResource { sku?: Sku; } +// @public +export interface BatchDeploymentConfiguration { + deploymentConfigurationType: "PipelineComponent"; +} + +// @public +export type BatchDeploymentConfigurationType = string; + +// @public (undocumented) +export type BatchDeploymentConfigurationUnion = BatchDeploymentConfiguration | BatchPipelineComponentDeploymentConfiguration; + // @public export interface BatchDeploymentProperties extends EndpointDeploymentPropertiesBase { compute?: string; + deploymentConfiguration?: BatchDeploymentConfigurationUnion; errorThreshold?: number; loggingLevel?: BatchLoggingLevel; maxConcurrencyPerInstance?: number; @@ -404,11 +479,11 @@ export interface BatchDeploymentProperties extends EndpointDeploymentPropertiesB // @public export interface BatchDeployments { - beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: BatchDeployment, options?: BatchDeploymentsCreateOrUpdateOptionalParams): Promise, BatchDeploymentsCreateOrUpdateResponse>>; + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: BatchDeployment, options?: BatchDeploymentsCreateOrUpdateOptionalParams): Promise, BatchDeploymentsCreateOrUpdateResponse>>; beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: BatchDeployment, options?: BatchDeploymentsCreateOrUpdateOptionalParams): Promise; - beginDelete(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, options?: BatchDeploymentsDeleteOptionalParams): Promise, void>>; + beginDelete(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, options?: BatchDeploymentsDeleteOptionalParams): Promise, void>>; beginDeleteAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, options?: BatchDeploymentsDeleteOptionalParams): Promise; - beginUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties, options?: BatchDeploymentsUpdateOptionalParams): Promise, BatchDeploymentsUpdateResponse>>; + beginUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties, options?: BatchDeploymentsUpdateOptionalParams): Promise, BatchDeploymentsUpdateResponse>>; beginUpdateAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties, options?: BatchDeploymentsUpdateOptionalParams): Promise; get(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, options?: BatchDeploymentsGetOptionalParams): Promise; list(resourceGroupName: string, workspaceName: string, endpointName: string, options?: BatchDeploymentsListOptionalParams): PagedAsyncIterableIterator; @@ -451,9 +526,6 @@ export type BatchDeploymentsGetResponse = BatchDeployment; // @public export interface BatchDeploymentsListNextOptionalParams extends coreClient.OperationOptions { - orderBy?: string; - skip?: string; - top?: number; } // @public @@ -512,11 +584,11 @@ export interface BatchEndpointProperties extends EndpointPropertiesBase { // @public export interface BatchEndpoints { - beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, body: BatchEndpoint, options?: BatchEndpointsCreateOrUpdateOptionalParams): Promise, BatchEndpointsCreateOrUpdateResponse>>; + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, body: BatchEndpoint, options?: BatchEndpointsCreateOrUpdateOptionalParams): Promise, BatchEndpointsCreateOrUpdateResponse>>; beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, body: BatchEndpoint, options?: BatchEndpointsCreateOrUpdateOptionalParams): Promise; - beginDelete(resourceGroupName: string, workspaceName: string, endpointName: string, options?: BatchEndpointsDeleteOptionalParams): Promise, void>>; + beginDelete(resourceGroupName: string, workspaceName: string, endpointName: string, options?: BatchEndpointsDeleteOptionalParams): Promise, void>>; beginDeleteAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, options?: BatchEndpointsDeleteOptionalParams): Promise; - beginUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, body: PartialMinimalTrackedResourceWithIdentity, options?: BatchEndpointsUpdateOptionalParams): Promise, BatchEndpointsUpdateResponse>>; + beginUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, body: PartialMinimalTrackedResourceWithIdentity, options?: BatchEndpointsUpdateOptionalParams): Promise, BatchEndpointsUpdateResponse>>; beginUpdateAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, body: PartialMinimalTrackedResourceWithIdentity, options?: BatchEndpointsUpdateOptionalParams): Promise; get(resourceGroupName: string, workspaceName: string, endpointName: string, options?: BatchEndpointsGetOptionalParams): Promise; list(resourceGroupName: string, workspaceName: string, options?: BatchEndpointsListOptionalParams): PagedAsyncIterableIterator; @@ -567,8 +639,6 @@ export type BatchEndpointsListKeysResponse = EndpointAuthKeys; // @public export interface BatchEndpointsListNextOptionalParams extends coreClient.OperationOptions { - count?: number; - skip?: string; } // @public @@ -611,6 +681,19 @@ export type BatchLoggingLevel = string; // @public export type BatchOutputAction = string; +// @public +export interface BatchPipelineComponentDeploymentConfiguration extends BatchDeploymentConfiguration { + componentId?: IdAssetReference; + deploymentConfigurationType: "PipelineComponent"; + description?: string; + settings?: { + [propertyName: string]: string | null; + }; + tags?: { + [propertyName: string]: string | null; + }; +} + // @public export interface BatchRetrySettings { maxRetries?: number; @@ -625,6 +708,20 @@ export interface BayesianSamplingAlgorithm extends SamplingAlgorithm { // @public export type BillingCurrency = string; +// @public +export interface BindOptions { + createHostPath?: boolean; + propagation?: string; + selinux?: string; +} + +// @public (undocumented) +export interface BlobReferenceForConsumptionDto { + blobUri?: string; + credential?: PendingUploadCredentialDtoUnion; + storageAccountArmId?: string; +} + // @public export type BlockedTransformers = string; @@ -637,6 +734,33 @@ export interface BuildContext { // @public export type Caching = string; +// @public +export type CategoricalDataDriftMetric = string; + +// @public (undocumented) +export interface CategoricalDataDriftMetricThreshold extends DataDriftMetricThresholdBase { + dataType: "Categorical"; + metric: CategoricalDataDriftMetric; +} + +// @public +export type CategoricalDataQualityMetric = string; + +// @public (undocumented) +export interface CategoricalDataQualityMetricThreshold extends DataQualityMetricThresholdBase { + dataType: "Categorical"; + metric: CategoricalDataQualityMetric; +} + +// @public +export type CategoricalPredictionDriftMetric = string; + +// @public (undocumented) +export interface CategoricalPredictionDriftMetricThreshold extends PredictionDriftMetricThresholdBase { + dataType: "Categorical"; + metric: CategoricalPredictionDriftMetric; +} + // @public export interface CertificateDatastoreCredentials extends DatastoreCredentials { authorityUrl?: string; @@ -691,12 +815,13 @@ export interface CodeConfiguration { } // @public -export interface CodeContainer extends Resource { +export interface CodeContainer extends ProxyResource { properties: CodeContainerProperties; } // @public export interface CodeContainerProperties extends AssetContainer { + readonly provisioningState?: AssetProvisioningState; } // @public @@ -733,7 +858,6 @@ export type CodeContainersGetResponse = CodeContainer; // @public export interface CodeContainersListNextOptionalParams extends coreClient.OperationOptions { - skip?: string; } // @public @@ -748,13 +872,14 @@ export interface CodeContainersListOptionalParams extends coreClient.OperationOp export type CodeContainersListResponse = CodeContainerResourceArmPaginatedResult; // @public -export interface CodeVersion extends Resource { +export interface CodeVersion extends ProxyResource { properties: CodeVersionProperties; } // @public export interface CodeVersionProperties extends AssetBase { codeUri?: string; + readonly provisioningState?: AssetProvisioningState; } // @public @@ -765,12 +890,22 @@ export interface CodeVersionResourceArmPaginatedResult { // @public export interface CodeVersions { + beginPublish(resourceGroupName: string, workspaceName: string, name: string, version: string, body: DestinationAsset, options?: CodeVersionsPublishOptionalParams): Promise, void>>; + beginPublishAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, body: DestinationAsset, options?: CodeVersionsPublishOptionalParams): Promise; + createOrGetStartPendingUpload(resourceGroupName: string, workspaceName: string, name: string, version: string, body: PendingUploadRequestDto, options?: CodeVersionsCreateOrGetStartPendingUploadOptionalParams): Promise; createOrUpdate(resourceGroupName: string, workspaceName: string, name: string, version: string, body: CodeVersion, options?: CodeVersionsCreateOrUpdateOptionalParams): Promise; delete(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: CodeVersionsDeleteOptionalParams): Promise; get(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: CodeVersionsGetOptionalParams): Promise; list(resourceGroupName: string, workspaceName: string, name: string, options?: CodeVersionsListOptionalParams): PagedAsyncIterableIterator; } +// @public +export interface CodeVersionsCreateOrGetStartPendingUploadOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type CodeVersionsCreateOrGetStartPendingUploadResponse = PendingUploadResponseDto; + // @public export interface CodeVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { } @@ -791,9 +926,6 @@ export type CodeVersionsGetResponse = CodeVersion; // @public export interface CodeVersionsListNextOptionalParams extends coreClient.OperationOptions { - orderBy?: string; - skip?: string; - top?: number; } // @public @@ -801,6 +933,8 @@ export type CodeVersionsListNextResponse = CodeVersionResourceArmPaginatedResult // @public export interface CodeVersionsListOptionalParams extends coreClient.OperationOptions { + hash?: string; + hashVersion?: string; orderBy?: string; skip?: string; top?: number; @@ -809,6 +943,18 @@ export interface CodeVersionsListOptionalParams extends coreClient.OperationOpti // @public export type CodeVersionsListResponse = CodeVersionResourceArmPaginatedResult; +// @public +export interface CodeVersionsPublishHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface CodeVersionsPublishOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + // @public export interface ColumnTransformer { fields?: string[]; @@ -833,6 +979,7 @@ export interface CommandJob extends JobBaseProperties { [propertyName: string]: JobOutputUnion | null; }; readonly parameters?: Record; + queueSettings?: QueueSettings; resources?: JobResourceConfiguration; } @@ -842,12 +989,13 @@ export interface CommandJobLimits extends JobLimits { } // @public -export interface ComponentContainer extends Resource { +export interface ComponentContainer extends ProxyResource { properties: ComponentContainerProperties; } // @public export interface ComponentContainerProperties extends AssetContainer { + readonly provisioningState?: AssetProvisioningState; } // @public @@ -884,8 +1032,6 @@ export type ComponentContainersGetResponse = ComponentContainer; // @public export interface ComponentContainersListNextOptionalParams extends coreClient.OperationOptions { - listViewType?: ListViewType; - skip?: string; } // @public @@ -901,13 +1047,14 @@ export interface ComponentContainersListOptionalParams extends coreClient.Operat export type ComponentContainersListResponse = ComponentContainerResourceArmPaginatedResult; // @public -export interface ComponentVersion extends Resource { +export interface ComponentVersion extends ProxyResource { properties: ComponentVersionProperties; } // @public export interface ComponentVersionProperties extends AssetBase { componentSpec?: Record; + readonly provisioningState?: AssetProvisioningState; } // @public @@ -918,6 +1065,8 @@ export interface ComponentVersionResourceArmPaginatedResult { // @public export interface ComponentVersions { + beginPublish(resourceGroupName: string, workspaceName: string, name: string, version: string, body: DestinationAsset, options?: ComponentVersionsPublishOptionalParams): Promise, void>>; + beginPublishAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, body: DestinationAsset, options?: ComponentVersionsPublishOptionalParams): Promise; createOrUpdate(resourceGroupName: string, workspaceName: string, name: string, version: string, body: ComponentVersion, options?: ComponentVersionsCreateOrUpdateOptionalParams): Promise; delete(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: ComponentVersionsDeleteOptionalParams): Promise; get(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: ComponentVersionsGetOptionalParams): Promise; @@ -944,10 +1093,6 @@ export type ComponentVersionsGetResponse = ComponentVersion; // @public export interface ComponentVersionsListNextOptionalParams extends coreClient.OperationOptions { - listViewType?: ListViewType; - orderBy?: string; - skip?: string; - top?: number; } // @public @@ -964,6 +1109,18 @@ export interface ComponentVersionsListOptionalParams extends coreClient.Operatio // @public export type ComponentVersionsListResponse = ComponentVersionResourceArmPaginatedResult; +// @public +export interface ComponentVersionsPublishHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface ComponentVersionsPublishOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + // @public export interface Compute { computeLocation?: string; @@ -1091,13 +1248,15 @@ export interface ComputeInstanceProperties { readonly connectivityEndpoints?: ComputeInstanceConnectivityEndpoints; readonly containers?: ComputeInstanceContainer[]; readonly createdBy?: ComputeInstanceCreatedBy; + customServices?: CustomService[]; readonly dataDisks?: ComputeInstanceDataDisk[]; readonly dataMounts?: ComputeInstanceDataMount[]; enableNodePublicIp?: boolean; readonly errors?: ErrorResponse[]; readonly lastOperation?: ComputeInstanceLastOperation; + readonly osImageMetadata?: ImageMetadata; personalComputeInstanceSettings?: PersonalComputeInstanceSettings; - readonly schedules?: ComputeSchedules; + schedules?: ComputeSchedules; setupScripts?: SetupScripts; sshSettings?: ComputeInstanceSshSettings; readonly state?: ComputeInstanceState; @@ -1136,7 +1295,6 @@ export type ComputeListKeysResponse = ComputeSecretsUnion; // @public export interface ComputeListNextOptionalParams extends coreClient.OperationOptions { - skip?: string; } // @public @@ -1166,17 +1324,17 @@ export type ComputeListResponse = PaginatedComputeResourcesList; // @public export interface ComputeOperations { - beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, computeName: string, parameters: ComputeResource, options?: ComputeCreateOrUpdateOptionalParams): Promise, ComputeCreateOrUpdateResponse>>; + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, computeName: string, parameters: ComputeResource, options?: ComputeCreateOrUpdateOptionalParams): Promise, ComputeCreateOrUpdateResponse>>; beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, computeName: string, parameters: ComputeResource, options?: ComputeCreateOrUpdateOptionalParams): Promise; - beginDelete(resourceGroupName: string, workspaceName: string, computeName: string, underlyingResourceAction: UnderlyingResourceAction, options?: ComputeDeleteOptionalParams): Promise, void>>; + beginDelete(resourceGroupName: string, workspaceName: string, computeName: string, underlyingResourceAction: UnderlyingResourceAction, options?: ComputeDeleteOptionalParams): Promise, void>>; beginDeleteAndWait(resourceGroupName: string, workspaceName: string, computeName: string, underlyingResourceAction: UnderlyingResourceAction, options?: ComputeDeleteOptionalParams): Promise; - beginRestart(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeRestartOptionalParams): Promise, void>>; + beginRestart(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeRestartOptionalParams): Promise, void>>; beginRestartAndWait(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeRestartOptionalParams): Promise; - beginStart(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeStartOptionalParams): Promise, void>>; + beginStart(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeStartOptionalParams): Promise, void>>; beginStartAndWait(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeStartOptionalParams): Promise; - beginStop(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeStopOptionalParams): Promise, void>>; + beginStop(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeStopOptionalParams): Promise, void>>; beginStopAndWait(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeStopOptionalParams): Promise; - beginUpdate(resourceGroupName: string, workspaceName: string, computeName: string, parameters: ClusterUpdateParameters, options?: ComputeUpdateOptionalParams): Promise, ComputeUpdateResponse>>; + beginUpdate(resourceGroupName: string, workspaceName: string, computeName: string, parameters: ClusterUpdateParameters, options?: ComputeUpdateOptionalParams): Promise, ComputeUpdateResponse>>; beginUpdateAndWait(resourceGroupName: string, workspaceName: string, computeName: string, parameters: ClusterUpdateParameters, options?: ComputeUpdateOptionalParams): Promise; get(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeGetOptionalParams): Promise; list(resourceGroupName: string, workspaceName: string, options?: ComputeListOptionalParams): PagedAsyncIterableIterator; @@ -1187,6 +1345,17 @@ export interface ComputeOperations { // @public export type ComputePowerAction = string; +// @public +export type ComputeRecurrenceFrequency = string; + +// @public (undocumented) +export interface ComputeRecurrenceSchedule { + hours: number[]; + minutes: number[]; + monthDays?: number[]; + weekDays?: ComputeWeekDay[]; +} + // @public export interface ComputeResource extends Resource, ComputeResourceSchema { identity?: ManagedServiceIdentity; @@ -1208,6 +1377,12 @@ export interface ComputeRestartOptionalParams extends coreClient.OperationOption updateIntervalInMs?: number; } +// @public +export interface ComputeRuntimeDto { + // (undocumented) + sparkRuntimeVersion?: string; +} + // @public export interface ComputeSchedules { computeStartStop?: ComputeStartStopSchedule[]; @@ -1230,13 +1405,13 @@ export interface ComputeStartOptionalParams extends coreClient.OperationOptions // @public export interface ComputeStartStopSchedule { action?: ComputePowerAction; - cron?: CronTrigger; + cron?: Cron; readonly id?: string; readonly provisioningStatus?: ProvisioningStatus; - recurrence?: RecurrenceTrigger; + recurrence?: Recurrence; schedule?: ScheduleBase; status?: ScheduleStatus; - triggerType?: TriggerType; + triggerType?: ComputeTriggerType; } // @public @@ -1245,6 +1420,9 @@ export interface ComputeStopOptionalParams extends coreClient.OperationOptions { updateIntervalInMs?: number; } +// @public +export type ComputeTriggerType = string; + // @public export type ComputeType = string; @@ -1260,6 +1438,9 @@ export interface ComputeUpdateOptionalParams extends coreClient.OperationOptions // @public export type ComputeUpdateResponse = ComputeResource; +// @public +export type ComputeWeekDay = string; + // @public export type ConnectionAuthType = string; @@ -1290,9 +1471,22 @@ export interface CosmosDbSettings { // @public export type CreatedByType = string; +// @public (undocumented) +export interface CreateMonitorAction extends ScheduleActionBase { + actionType: "CreateMonitor"; + monitorDefinition: MonitorDefinition; +} + // @public export type CredentialsType = string; +// @public +export interface Cron { + expression?: string; + startTime?: string; + timeZone?: string; +} + // @public (undocumented) export interface CronTrigger extends TriggerBase { expression: string; @@ -1305,6 +1499,12 @@ export interface CustomForecastHorizon extends ForecastHorizon { value: number; } +// @public (undocumented) +export interface CustomMetricThreshold { + metric: string; + threshold?: MonitoringThreshold; +} + // @public (undocumented) export interface CustomModelJobInput extends AssetJobInput, JobInput { } @@ -1313,6 +1513,19 @@ export interface CustomModelJobInput extends AssetJobInput, JobInput { export interface CustomModelJobOutput extends AssetJobOutput, JobOutput { } +// @public (undocumented) +export interface CustomMonitoringSignal extends MonitoringSignalBase { + componentId: string; + inputAssets?: { + [propertyName: string]: MonitoringInputDataBaseUnion | null; + }; + inputs?: { + [propertyName: string]: JobInputUnion | null; + }; + metricThresholds: CustomMetricThreshold[]; + signalType: "Custom"; +} + // @public export interface CustomNCrossValidations extends NCrossValidations { mode: "Custom"; @@ -1325,6 +1538,19 @@ export interface CustomSeasonality extends Seasonality { value: number; } +// @public +export interface CustomService { + [property: string]: any; + docker?: Docker; + endpoints?: Endpoint[]; + environmentVariables?: { + [propertyName: string]: EnvironmentVariable; + }; + image?: Image_2; + name?: string; + volumes?: VolumeDefinition[]; +} + // @public (undocumented) export interface CustomTargetLags extends TargetLags { mode: "Custom"; @@ -1337,6 +1563,9 @@ export interface CustomTargetRollingWindowSize extends TargetRollingWindowSize { value: number; } +// @public +export type DataAvailabilityStatus = string; + // @public export interface Databricks extends Compute, DatabricksSchema { computeType: "Databricks"; @@ -1364,7 +1593,7 @@ export interface DatabricksSchema { } // @public -export interface DataContainer extends Resource { +export interface DataContainer extends ProxyResource { properties: DataContainerProperties; } @@ -1407,8 +1636,6 @@ export type DataContainersGetResponse = DataContainer; // @public export interface DataContainersListNextOptionalParams extends coreClient.OperationOptions { - listViewType?: ListViewType; - skip?: string; } // @public @@ -1423,6 +1650,28 @@ export interface DataContainersListOptionalParams extends coreClient.OperationOp // @public export type DataContainersListResponse = DataContainerResourceArmPaginatedResult; +// @public (undocumented) +export interface DataDriftMetricThresholdBase { + dataType: "Categorical" | "Numerical"; + threshold?: MonitoringThreshold; +} + +// @public (undocumented) +export type DataDriftMetricThresholdBaseUnion = DataDriftMetricThresholdBase | CategoricalDataDriftMetricThreshold | NumericalDataDriftMetricThreshold; + +// @public (undocumented) +export interface DataDriftMonitoringSignal extends MonitoringSignalBase { + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; + }; + featureImportanceSettings?: FeatureImportanceSettings; + features?: MonitoringFeatureFilterBaseUnion; + metricThresholds: DataDriftMetricThresholdBaseUnion[]; + productionData: MonitoringInputDataBaseUnion; + referenceData: MonitoringInputDataBaseUnion; + signalType: "DataDrift"; +} + // @public export interface DataFactory extends Compute { computeType: "DataFactory"; @@ -1451,8 +1700,41 @@ export interface DataPathAssetReference extends AssetReferenceBase { referenceType: "DataPath"; } +// @public (undocumented) +export interface DataQualityMetricThresholdBase { + dataType: "Categorical" | "Numerical"; + threshold?: MonitoringThreshold; +} + +// @public (undocumented) +export type DataQualityMetricThresholdBaseUnion = DataQualityMetricThresholdBase | CategoricalDataQualityMetricThreshold | NumericalDataQualityMetricThreshold; + +// @public (undocumented) +export interface DataQualityMonitoringSignal extends MonitoringSignalBase { + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; + }; + featureImportanceSettings?: FeatureImportanceSettings; + features?: MonitoringFeatureFilterBaseUnion; + metricThresholds: DataQualityMetricThresholdBaseUnion[]; + productionData: MonitoringInputDataBaseUnion; + referenceData: MonitoringInputDataBaseUnion; + signalType: "DataQuality"; +} + +// @public +export interface DataReferenceCredential { + credentialType: "NoCredentials" | "DockerCredentials" | "ManagedIdentity" | "SAS"; +} + +// @public +export type DataReferenceCredentialType = string; + +// @public (undocumented) +export type DataReferenceCredentialUnion = DataReferenceCredential | AnonymousAccessCredential | DockerCredential | ManagedIdentityCredential | SASCredential; + // @public -export interface Datastore extends Resource { +export interface Datastore extends ProxyResource { properties: DatastorePropertiesUnion; } @@ -1472,7 +1754,7 @@ export interface DatastoreProperties extends ResourceBase { } // @public (undocumented) -export type DatastorePropertiesUnion = DatastoreProperties | AzureBlobDatastore | AzureDataLakeGen1Datastore | AzureDataLakeGen2Datastore | AzureFileDatastore; +export type DatastorePropertiesUnion = DatastoreProperties | AzureBlobDatastore | AzureDataLakeGen1Datastore | AzureDataLakeGen2Datastore | AzureFileDatastore | OneLakeDatastore; // @public export interface DatastoreResourceArmPaginatedResult { @@ -1518,13 +1800,6 @@ export type DatastoresGetResponse = Datastore; // @public export interface DatastoresListNextOptionalParams extends coreClient.OperationOptions { - count?: number; - isDefault?: boolean; - names?: string[]; - orderBy?: string; - orderByAsc?: boolean; - searchText?: string; - skip?: string; } // @public @@ -1558,7 +1833,7 @@ export type DatastoreType = string; export type DataType = string; // @public -export interface DataVersionBase extends Resource { +export interface DataVersionBase extends ProxyResource { properties: DataVersionBasePropertiesUnion; } @@ -1579,6 +1854,8 @@ export interface DataVersionBaseResourceArmPaginatedResult { // @public export interface DataVersions { + beginPublish(resourceGroupName: string, workspaceName: string, name: string, version: string, body: DestinationAsset, options?: DataVersionsPublishOptionalParams): Promise, void>>; + beginPublishAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, body: DestinationAsset, options?: DataVersionsPublishOptionalParams): Promise; createOrUpdate(resourceGroupName: string, workspaceName: string, name: string, version: string, body: DataVersionBase, options?: DataVersionsCreateOrUpdateOptionalParams): Promise; delete(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: DataVersionsDeleteOptionalParams): Promise; get(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: DataVersionsGetOptionalParams): Promise; @@ -1605,11 +1882,6 @@ export type DataVersionsGetResponse = DataVersionBase; // @public export interface DataVersionsListNextOptionalParams extends coreClient.OperationOptions { - listViewType?: ListViewType; - orderBy?: string; - skip?: string; - tags?: string; - top?: number; } // @public @@ -1627,6 +1899,18 @@ export interface DataVersionsListOptionalParams extends coreClient.OperationOpti // @public export type DataVersionsListResponse = DataVersionBaseResourceArmPaginatedResult; +// @public +export interface DataVersionsPublishHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface DataVersionsPublishOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + // @public (undocumented) export interface DefaultScaleSettings extends OnlineScaleSettings { scaleType: "Default"; @@ -1650,6 +1934,13 @@ export type DeploymentProvisioningState = string; export interface DeploymentResourceConfiguration extends ResourceConfiguration { } +// @public +export interface DestinationAsset { + destinationName?: string; + destinationVersion?: string; + registryName?: string; +} + // @public (undocumented) export interface DiagnoseRequestProperties { applicationInsights?: { @@ -1735,6 +2026,19 @@ export type DistributionConfigurationUnion = DistributionConfiguration | Mpi | P // @public export type DistributionType = string; +// @public +export interface Docker { + [property: string]: any; + privileged?: boolean; +} + +// @public +export interface DockerCredential extends DataReferenceCredential { + credentialType: "DockerCredentials"; + password?: string; + userName?: string; +} + // @public export interface EarlyTerminationPolicy { delayEvaluation?: number; @@ -1751,6 +2055,9 @@ export type EarlyTerminationPolicyUnion = EarlyTerminationPolicy | BanditPolicy // @public export type EgressPublicNetworkAccessType = string; +// @public +export type EmailNotificationEnableType = string; + // @public (undocumented) export interface EncryptionKeyVaultProperties { identityClientId?: string; @@ -1768,6 +2075,15 @@ export interface EncryptionProperty { // @public export type EncryptionStatus = string; +// @public +export interface Endpoint { + hostIp?: string; + name?: string; + protocol?: Protocol; + published?: number; + target?: number; +} + // @public export interface EndpointAuthKeys { primaryKey?: string; @@ -1823,12 +2139,16 @@ export interface EndpointScheduleAction extends ScheduleActionBase { } // @public -export interface EnvironmentContainer extends Resource { +export type EndpointServiceConnectionStatus = string; + +// @public +export interface EnvironmentContainer extends ProxyResource { properties: EnvironmentContainerProperties; } // @public export interface EnvironmentContainerProperties extends AssetContainer { + readonly provisioningState?: AssetProvisioningState; } // @public @@ -1865,8 +2185,6 @@ export type EnvironmentContainersGetResponse = EnvironmentContainer; // @public export interface EnvironmentContainersListNextOptionalParams extends coreClient.OperationOptions { - listViewType?: ListViewType; - skip?: string; } // @public @@ -1885,7 +2203,17 @@ export type EnvironmentContainersListResponse = EnvironmentContainerResourceArmP export type EnvironmentType = string; // @public -export interface EnvironmentVersion extends Resource { +export interface EnvironmentVariable { + [property: string]: any; + type?: EnvironmentVariableType; + value?: string; +} + +// @public +export type EnvironmentVariableType = string; + +// @public +export interface EnvironmentVersion extends ProxyResource { properties: EnvironmentVersionProperties; } @@ -1898,6 +2226,8 @@ export interface EnvironmentVersionProperties extends AssetBase { image?: string; inferenceConfig?: InferenceContainerProperties; osType?: OperatingSystemType; + readonly provisioningState?: AssetProvisioningState; + stage?: string; } // @public @@ -1908,6 +2238,8 @@ export interface EnvironmentVersionResourceArmPaginatedResult { // @public export interface EnvironmentVersions { + beginPublish(resourceGroupName: string, workspaceName: string, name: string, version: string, body: DestinationAsset, options?: EnvironmentVersionsPublishOptionalParams): Promise, void>>; + beginPublishAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, body: DestinationAsset, options?: EnvironmentVersionsPublishOptionalParams): Promise; createOrUpdate(resourceGroupName: string, workspaceName: string, name: string, version: string, body: EnvironmentVersion, options?: EnvironmentVersionsCreateOrUpdateOptionalParams): Promise; delete(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: EnvironmentVersionsDeleteOptionalParams): Promise; get(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: EnvironmentVersionsGetOptionalParams): Promise; @@ -1934,10 +2266,6 @@ export type EnvironmentVersionsGetResponse = EnvironmentVersion; // @public export interface EnvironmentVersionsListNextOptionalParams extends coreClient.OperationOptions { - listViewType?: ListViewType; - orderBy?: string; - skip?: string; - top?: number; } // @public @@ -1954,6 +2282,18 @@ export interface EnvironmentVersionsListOptionalParams extends coreClient.Operat // @public export type EnvironmentVersionsListResponse = EnvironmentVersionResourceArmPaginatedResult; +// @public +export interface EnvironmentVersionsPublishHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface EnvironmentVersionsPublishOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + // @public export interface ErrorAdditionalInfo { readonly info?: Record; @@ -1995,569 +2335,1141 @@ export interface ExternalFqdnResponse { } // @public -export type FeatureLags = string; - -// @public -export type FeaturizationMode = string; - -// @public -export interface FeaturizationSettings { - datasetLanguage?: string; +export interface Feature extends ProxyResource { + properties: FeatureProperties; } // @public (undocumented) -export interface FlavorData { - data?: { - [propertyName: string]: string | null; +export interface FeatureAttributionDriftMonitoringSignal extends MonitoringSignalBase { + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; }; + featureImportanceSettings: FeatureImportanceSettings; + metricThreshold: FeatureAttributionMetricThreshold; + productionData: MonitoringInputDataBaseUnion[]; + referenceData: MonitoringInputDataBaseUnion; + signalType: "FeatureAttributionDrift"; } // @public -export interface ForecastHorizon { - mode: "Auto" | "Custom"; +export type FeatureAttributionMetric = string; + +// @public (undocumented) +export interface FeatureAttributionMetricThreshold { + metric: FeatureAttributionMetric; + threshold?: MonitoringThreshold; } // @public -export type ForecastHorizonMode = string; +export type FeatureDataType = string; + +// @public +export type FeatureImportanceMode = string; // @public (undocumented) -export type ForecastHorizonUnion = ForecastHorizon | AutoForecastHorizon | CustomForecastHorizon; +export interface FeatureImportanceSettings { + mode?: FeatureImportanceMode; + targetColumn?: string; +} // @public -export interface Forecasting extends TableVertical, AutoMLVertical { - forecastingSettings?: ForecastingSettings; - primaryMetric?: ForecastingPrimaryMetrics; - trainingSettings?: ForecastingTrainingSettings; -} +export type FeatureLags = string; // @public -export type ForecastingModels = string; +export interface FeatureProperties extends ResourceBase { + dataType?: FeatureDataType; + featureName?: string; +} // @public -export type ForecastingPrimaryMetrics = string; +export interface FeatureResourceArmPaginatedResult { + nextLink?: string; + value?: Feature[]; +} // @public -export interface ForecastingSettings { - countryOrRegionForHolidays?: string; - cvStepSize?: number; - featureLags?: FeatureLags; - forecastHorizon?: ForecastHorizonUnion; - frequency?: string; - seasonality?: SeasonalityUnion; - shortSeriesHandlingConfig?: ShortSeriesHandlingConfiguration; - targetAggregateFunction?: TargetAggregationFunction; - targetLags?: TargetLagsUnion; - targetRollingWindowSize?: TargetRollingWindowSizeUnion; - timeColumnName?: string; - timeSeriesIdColumnNames?: string[]; - useStl?: UseStl; +export interface Features { + get(resourceGroupName: string, workspaceName: string, featuresetName: string, featuresetVersion: string, featureName: string, options?: FeaturesGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, featuresetName: string, featuresetVersion: string, options?: FeaturesListOptionalParams): PagedAsyncIterableIterator; } // @public -export interface ForecastingTrainingSettings extends TrainingSettings { - allowedTrainingAlgorithms?: ForecastingModels[]; - blockedTrainingAlgorithms?: ForecastingModels[]; +export interface FeaturesetContainer extends ProxyResource { + properties: FeaturesetContainerProperties; } -// @public (undocumented) -export interface FqdnEndpoint { - // (undocumented) - domainName?: string; - // (undocumented) - endpointDetails?: FqdnEndpointDetail[]; +// @public +export interface FeaturesetContainerProperties extends AssetContainer { + readonly provisioningState?: AssetProvisioningState; } -// @public (undocumented) -export interface FqdnEndpointDetail { - // (undocumented) - port?: number; +// @public +export interface FeaturesetContainerResourceArmPaginatedResult { + nextLink?: string; + value?: FeaturesetContainer[]; } -// @public (undocumented) -export interface FqdnEndpoints { - // (undocumented) - properties?: FqdnEndpointsProperties; +// @public +export interface FeaturesetContainers { + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, name: string, body: FeaturesetContainer, options?: FeaturesetContainersCreateOrUpdateOptionalParams): Promise, FeaturesetContainersCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, name: string, body: FeaturesetContainer, options?: FeaturesetContainersCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturesetContainersDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturesetContainersDeleteOptionalParams): Promise; + getEntity(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturesetContainersGetEntityOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: FeaturesetContainersListOptionalParams): PagedAsyncIterableIterator; } -// @public (undocumented) -export interface FqdnEndpointsProperties { - // (undocumented) - category?: string; - // (undocumented) - endpoints?: FqdnEndpoint[]; +// @public +export interface FeaturesetContainersCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; } // @public -export function getContinuationToken(page: unknown): string | undefined; +export interface FeaturesetContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} // @public -export type Goal = string; +export type FeaturesetContainersCreateOrUpdateResponse = FeaturesetContainer; // @public -export interface GridSamplingAlgorithm extends SamplingAlgorithm { - samplingAlgorithmType: "Grid"; +export interface FeaturesetContainersDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; } // @public -export interface HDInsight extends Compute, HDInsightSchema { - computeType: "HDInsight"; +export interface FeaturesetContainersDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export interface HDInsightProperties { - address?: string; - administratorAccount?: VirtualMachineSshCredentials; - sshPort?: number; +export interface FeaturesetContainersGetEntityOptionalParams extends coreClient.OperationOptions { } -// @public (undocumented) -export interface HDInsightSchema { - properties?: HDInsightProperties; -} +// @public +export type FeaturesetContainersGetEntityResponse = FeaturesetContainer; // @public -export interface IdAssetReference extends AssetReferenceBase { - assetId: string; - referenceType: "Id"; +export interface FeaturesetContainersListNextOptionalParams extends coreClient.OperationOptions { } // @public -export interface IdentityConfiguration { - identityType: "AMLToken" | "Managed" | "UserIdentity"; -} +export type FeaturesetContainersListNextResponse = FeaturesetContainerResourceArmPaginatedResult; // @public -export type IdentityConfigurationType = string; +export interface FeaturesetContainersListOptionalParams extends coreClient.OperationOptions { + createdBy?: string; + description?: string; + listViewType?: ListViewType; + name?: string; + pageSize?: number; + skip?: string; + tags?: string; +} -// @public (undocumented) -export type IdentityConfigurationUnion = IdentityConfiguration | AmlToken | ManagedIdentity | UserIdentity; +// @public +export type FeaturesetContainersListResponse = FeaturesetContainerResourceArmPaginatedResult; // @public -export interface IdentityForCmk { - userAssignedIdentity?: string; +export interface FeaturesetSpecification { + path?: string; } // @public -export interface ImageClassification extends ImageClassificationBase, AutoMLVertical { - primaryMetric?: ClassificationPrimaryMetrics; +export interface FeaturesetVersion extends ProxyResource { + properties: FeaturesetVersionProperties; } -// @public (undocumented) -export interface ImageClassificationBase extends ImageVertical { - modelSettings?: ImageModelSettingsClassification; - searchSpace?: ImageModelDistributionSettingsClassification[]; +// @public +export interface FeaturesetVersionBackfillRequest { + dataAvailabilityStatus?: DataAvailabilityStatus[]; + description?: string; + displayName?: string; + featureWindow?: FeatureWindow; + jobId?: string; + properties?: { + [propertyName: string]: string | null; + }; + resource?: MaterializationComputeResource; + sparkConfiguration?: { + [propertyName: string]: string | null; + }; + tags?: { + [propertyName: string]: string | null; + }; } // @public -export interface ImageClassificationMultilabel extends ImageClassificationBase, AutoMLVertical { - primaryMetric?: ClassificationMultilabelPrimaryMetrics; +export interface FeaturesetVersionBackfillResponse { + jobIds?: string[]; } // @public -export interface ImageInstanceSegmentation extends ImageObjectDetectionBase, AutoMLVertical { - primaryMetric?: InstanceSegmentationPrimaryMetrics; +export interface FeaturesetVersionProperties extends AssetBase { + entities?: string[]; + materializationSettings?: MaterializationSettings; + readonly provisioningState?: AssetProvisioningState; + specification?: FeaturesetSpecification; + stage?: string; } // @public -export interface ImageLimitSettings { - maxConcurrentTrials?: number; - maxTrials?: number; - timeout?: string; +export interface FeaturesetVersionResourceArmPaginatedResult { + nextLink?: string; + value?: FeaturesetVersion[]; } // @public -export interface ImageModelDistributionSettings { - amsGradient?: string; - augmentations?: string; - beta1?: string; - beta2?: string; - distributed?: string; - earlyStopping?: string; - earlyStoppingDelay?: string; - earlyStoppingPatience?: string; - enableOnnxNormalization?: string; - evaluationFrequency?: string; - gradientAccumulationStep?: string; - layersToFreeze?: string; - learningRate?: string; - learningRateScheduler?: string; - modelName?: string; - momentum?: string; - nesterov?: string; - numberOfEpochs?: string; - numberOfWorkers?: string; - optimizer?: string; - randomSeed?: string; - stepLRGamma?: string; - stepLRStepSize?: string; - trainingBatchSize?: string; - validationBatchSize?: string; - warmupCosineLRCycles?: string; - warmupCosineLRWarmupEpochs?: string; - weightDecay?: string; +export interface FeaturesetVersions { + beginBackfill(resourceGroupName: string, workspaceName: string, name: string, version: string, body: FeaturesetVersionBackfillRequest, options?: FeaturesetVersionsBackfillOptionalParams): Promise, FeaturesetVersionsBackfillResponse>>; + beginBackfillAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, body: FeaturesetVersionBackfillRequest, options?: FeaturesetVersionsBackfillOptionalParams): Promise; + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, name: string, version: string, body: FeaturesetVersion, options?: FeaturesetVersionsCreateOrUpdateOptionalParams): Promise, FeaturesetVersionsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, body: FeaturesetVersion, options?: FeaturesetVersionsCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: FeaturesetVersionsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: FeaturesetVersionsDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: FeaturesetVersionsGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturesetVersionsListOptionalParams): PagedAsyncIterableIterator; } // @public -export interface ImageModelDistributionSettingsClassification extends ImageModelDistributionSettings { - trainingCropSize?: string; - validationCropSize?: string; - validationResizeSize?: string; - weightedLoss?: string; +export interface FeaturesetVersionsBackfillHeaders { + location?: string; + retryAfter?: number; } // @public -export interface ImageModelDistributionSettingsObjectDetection extends ImageModelDistributionSettings { - boxDetectionsPerImage?: string; - boxScoreThreshold?: string; - imageSize?: string; - maxSize?: string; - minSize?: string; - modelSize?: string; - multiScale?: string; - nmsIouThreshold?: string; - tileGridSize?: string; - tileOverlapRatio?: string; - tilePredictionsNmsThreshold?: string; - validationIouThreshold?: string; - validationMetricType?: string; +export interface FeaturesetVersionsBackfillOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export interface ImageModelSettings { - advancedSettings?: string; - amsGradient?: boolean; - augmentations?: string; - beta1?: number; - beta2?: number; - checkpointFrequency?: number; - checkpointModel?: MLFlowModelJobInput; - checkpointRunId?: string; - distributed?: boolean; - earlyStopping?: boolean; - earlyStoppingDelay?: number; - earlyStoppingPatience?: number; - enableOnnxNormalization?: boolean; - evaluationFrequency?: number; - gradientAccumulationStep?: number; - layersToFreeze?: number; - learningRate?: number; - learningRateScheduler?: LearningRateScheduler; - modelName?: string; - momentum?: number; - nesterov?: boolean; - numberOfEpochs?: number; - numberOfWorkers?: number; - optimizer?: StochasticOptimizer; - randomSeed?: number; - stepLRGamma?: number; - stepLRStepSize?: number; - trainingBatchSize?: number; - validationBatchSize?: number; - warmupCosineLRCycles?: number; - warmupCosineLRWarmupEpochs?: number; - weightDecay?: number; +export type FeaturesetVersionsBackfillResponse = FeaturesetVersionBackfillResponse; + +// @public +export interface FeaturesetVersionsCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; } // @public -export interface ImageModelSettingsClassification extends ImageModelSettings { - trainingCropSize?: number; - validationCropSize?: number; - validationResizeSize?: number; - weightedLoss?: number; +export interface FeaturesetVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export interface ImageModelSettingsObjectDetection extends ImageModelSettings { - boxDetectionsPerImage?: number; - boxScoreThreshold?: number; - imageSize?: number; - maxSize?: number; - minSize?: number; - modelSize?: ModelSize; - multiScale?: boolean; - nmsIouThreshold?: number; - tileGridSize?: string; - tileOverlapRatio?: number; - tilePredictionsNmsThreshold?: number; - validationIouThreshold?: number; - validationMetricType?: ValidationMetricType; +export type FeaturesetVersionsCreateOrUpdateResponse = FeaturesetVersion; + +// @public +export interface FeaturesetVersionsDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; } // @public -export interface ImageObjectDetection extends ImageObjectDetectionBase, AutoMLVertical { - primaryMetric?: ObjectDetectionPrimaryMetrics; +export interface FeaturesetVersionsDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } -// @public (undocumented) -export interface ImageObjectDetectionBase extends ImageVertical { - modelSettings?: ImageModelSettingsObjectDetection; - searchSpace?: ImageModelDistributionSettingsObjectDetection[]; +// @public +export interface FeaturesetVersionsGetOptionalParams extends coreClient.OperationOptions { } // @public -export interface ImageSweepSettings { - earlyTermination?: EarlyTerminationPolicyUnion; - samplingAlgorithm: SamplingAlgorithmType; +export type FeaturesetVersionsGetResponse = FeaturesetVersion; + +// @public +export interface FeaturesetVersionsListNextOptionalParams extends coreClient.OperationOptions { } // @public -export interface ImageVertical { - limitSettings: ImageLimitSettings; - sweepSettings?: ImageSweepSettings; - validationData?: MLTableJobInput; - validationDataSize?: number; +export type FeaturesetVersionsListNextResponse = FeaturesetVersionResourceArmPaginatedResult; + +// @public +export interface FeaturesetVersionsListOptionalParams extends coreClient.OperationOptions { + createdBy?: string; + description?: string; + listViewType?: ListViewType; + pageSize?: number; + skip?: string; + stage?: string; + tags?: string; + version?: string; + versionName?: string; } -// @public (undocumented) -export interface InferenceContainerProperties { - livenessRoute?: Route; - readinessRoute?: Route; - scoringRoute?: Route; +// @public +export type FeaturesetVersionsListResponse = FeaturesetVersionResourceArmPaginatedResult; + +// @public +export interface FeaturesGetOptionalParams extends coreClient.OperationOptions { } // @public -export type InputDeliveryMode = string; +export type FeaturesGetResponse = Feature; // @public -export type InstanceSegmentationPrimaryMetrics = string; +export interface FeaturesListNextOptionalParams extends coreClient.OperationOptions { +} // @public -export interface InstanceTypeSchema { - nodeSelector?: { - [propertyName: string]: string | null; - }; - resources?: InstanceTypeSchemaResources; +export type FeaturesListNextResponse = FeatureResourceArmPaginatedResult; + +// @public +export interface FeaturesListOptionalParams extends coreClient.OperationOptions { + description?: string; + featureName?: string; + listViewType?: ListViewType; + pageSize?: number; + skip?: string; + tags?: string; } // @public -export interface InstanceTypeSchemaResources { - limits?: { - [propertyName: string]: string; - }; - requests?: { - [propertyName: string]: string; - }; +export type FeaturesListResponse = FeatureResourceArmPaginatedResult; + +// @public +export interface FeaturestoreEntityContainer extends ProxyResource { + properties: FeaturestoreEntityContainerProperties; } // @public -export interface JobBase extends Resource { - properties: JobBasePropertiesUnion; +export interface FeaturestoreEntityContainerProperties extends AssetContainer { + readonly provisioningState?: AssetProvisioningState; } // @public -export interface JobBaseProperties extends ResourceBase { - componentId?: string; - computeId?: string; - displayName?: string; - experimentName?: string; - identity?: IdentityConfigurationUnion; - isArchived?: boolean; - jobType: JobType; - services?: { - [propertyName: string]: JobService | null; - }; - readonly status?: JobStatus; +export interface FeaturestoreEntityContainerResourceArmPaginatedResult { + nextLink?: string; + value?: FeaturestoreEntityContainer[]; } -// @public (undocumented) -export type JobBasePropertiesUnion = JobBaseProperties | AutoMLJob | CommandJob | PipelineJob | SweepJob; +// @public +export interface FeaturestoreEntityContainers { + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, name: string, body: FeaturestoreEntityContainer, options?: FeaturestoreEntityContainersCreateOrUpdateOptionalParams): Promise, FeaturestoreEntityContainersCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, name: string, body: FeaturestoreEntityContainer, options?: FeaturestoreEntityContainersCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturestoreEntityContainersDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturestoreEntityContainersDeleteOptionalParams): Promise; + getEntity(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturestoreEntityContainersGetEntityOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: FeaturestoreEntityContainersListOptionalParams): PagedAsyncIterableIterator; +} // @public -export interface JobBaseResourceArmPaginatedResult { - nextLink?: string; - value?: JobBase[]; +export interface FeaturestoreEntityContainersCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; } // @public -export interface JobInput { - description?: string; - jobInputType: "mltable" | "custom_model" | "mlflow_model" | "literal" | "triton_model" | "uri_file" | "uri_folder"; +export interface FeaturestoreEntityContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export type JobInputType = string; +export type FeaturestoreEntityContainersCreateOrUpdateResponse = FeaturestoreEntityContainer; -// @public (undocumented) -export type JobInputUnion = JobInput | MLTableJobInput | CustomModelJobInput | MLFlowModelJobInput | LiteralJobInput | TritonModelJobInput | UriFileJobInput | UriFolderJobInput; +// @public +export interface FeaturestoreEntityContainersDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; +} -// @public (undocumented) -export interface JobLimits { - jobLimitsType: "Command" | "Sweep"; - timeout?: string; +// @public +export interface FeaturestoreEntityContainersDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export type JobLimitsType = string; +export interface FeaturestoreEntityContainersGetEntityOptionalParams extends coreClient.OperationOptions { +} -// @public (undocumented) -export type JobLimitsUnion = JobLimits | CommandJobLimits | SweepJobLimits; +// @public +export type FeaturestoreEntityContainersGetEntityResponse = FeaturestoreEntityContainer; // @public -export interface JobOutput { - description?: string; - jobOutputType: "custom_model" | "mlflow_model" | "mltable" | "triton_model" | "uri_file" | "uri_folder"; +export interface FeaturestoreEntityContainersListNextOptionalParams extends coreClient.OperationOptions { } // @public -export type JobOutputType = string; +export type FeaturestoreEntityContainersListNextResponse = FeaturestoreEntityContainerResourceArmPaginatedResult; -// @public (undocumented) -export type JobOutputUnion = JobOutput | CustomModelJobOutput | MLFlowModelJobOutput | MLTableJobOutput | TritonModelJobOutput | UriFileJobOutput | UriFolderJobOutput; +// @public +export interface FeaturestoreEntityContainersListOptionalParams extends coreClient.OperationOptions { + createdBy?: string; + description?: string; + listViewType?: ListViewType; + name?: string; + pageSize?: number; + skip?: string; + tags?: string; +} -// @public (undocumented) -export interface JobResourceConfiguration extends ResourceConfiguration { - dockerArgs?: string; - shmSize?: string; +// @public +export type FeaturestoreEntityContainersListResponse = FeaturestoreEntityContainerResourceArmPaginatedResult; + +// @public +export interface FeaturestoreEntityVersion extends ProxyResource { + properties: FeaturestoreEntityVersionProperties; } // @public -export interface Jobs { - beginCancel(resourceGroupName: string, workspaceName: string, id: string, options?: JobsCancelOptionalParams): Promise, void>>; - beginCancelAndWait(resourceGroupName: string, workspaceName: string, id: string, options?: JobsCancelOptionalParams): Promise; - beginDelete(resourceGroupName: string, workspaceName: string, id: string, options?: JobsDeleteOptionalParams): Promise, void>>; - beginDeleteAndWait(resourceGroupName: string, workspaceName: string, id: string, options?: JobsDeleteOptionalParams): Promise; - createOrUpdate(resourceGroupName: string, workspaceName: string, id: string, body: JobBase, options?: JobsCreateOrUpdateOptionalParams): Promise; - get(resourceGroupName: string, workspaceName: string, id: string, options?: JobsGetOptionalParams): Promise; - list(resourceGroupName: string, workspaceName: string, options?: JobsListOptionalParams): PagedAsyncIterableIterator; +export interface FeaturestoreEntityVersionProperties extends AssetBase { + indexColumns?: IndexColumn[]; + readonly provisioningState?: AssetProvisioningState; + stage?: string; } // @public -export interface JobsCancelHeaders { - location?: string; - retryAfter?: number; +export interface FeaturestoreEntityVersionResourceArmPaginatedResult { + nextLink?: string; + value?: FeaturestoreEntityVersion[]; } // @public -export interface JobsCancelOptionalParams extends coreClient.OperationOptions { - resumeFrom?: string; - updateIntervalInMs?: number; +export interface FeaturestoreEntityVersions { + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, name: string, version: string, body: FeaturestoreEntityVersion, options?: FeaturestoreEntityVersionsCreateOrUpdateOptionalParams): Promise, FeaturestoreEntityVersionsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, body: FeaturestoreEntityVersion, options?: FeaturestoreEntityVersionsCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: FeaturestoreEntityVersionsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: FeaturestoreEntityVersionsDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: FeaturestoreEntityVersionsGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturestoreEntityVersionsListOptionalParams): PagedAsyncIterableIterator; } -// @public (undocumented) -export interface JobScheduleAction extends ScheduleActionBase { - actionType: "CreateJob"; - jobDefinition: JobBasePropertiesUnion; +// @public +export interface FeaturestoreEntityVersionsCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; } // @public -export interface JobsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +export interface FeaturestoreEntityVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export type JobsCreateOrUpdateResponse = JobBase; +export type FeaturestoreEntityVersionsCreateOrUpdateResponse = FeaturestoreEntityVersion; // @public -export interface JobsDeleteHeaders { +export interface FeaturestoreEntityVersionsDeleteHeaders { location?: string; retryAfter?: number; xMsAsyncOperationTimeout?: string; } // @public -export interface JobsDeleteOptionalParams extends coreClient.OperationOptions { +export interface FeaturestoreEntityVersionsDeleteOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; updateIntervalInMs?: number; } // @public -export interface JobService { - endpoint?: string; - readonly errorMessage?: string; - jobServiceType?: string; - port?: number; - properties?: { - [propertyName: string]: string | null; - }; - readonly status?: string; +export interface FeaturestoreEntityVersionsGetOptionalParams extends coreClient.OperationOptions { } // @public -export interface JobsGetOptionalParams extends coreClient.OperationOptions { +export type FeaturestoreEntityVersionsGetResponse = FeaturestoreEntityVersion; + +// @public +export interface FeaturestoreEntityVersionsListNextOptionalParams extends coreClient.OperationOptions { } // @public -export type JobsGetResponse = JobBase; +export type FeaturestoreEntityVersionsListNextResponse = FeaturestoreEntityVersionResourceArmPaginatedResult; // @public -export interface JobsListNextOptionalParams extends coreClient.OperationOptions { - jobType?: string; +export interface FeaturestoreEntityVersionsListOptionalParams extends coreClient.OperationOptions { + createdBy?: string; + description?: string; listViewType?: ListViewType; + pageSize?: number; skip?: string; - tag?: string; + stage?: string; + tags?: string; + version?: string; + versionName?: string; } // @public -export type JobsListNextResponse = JobBaseResourceArmPaginatedResult; +export type FeaturestoreEntityVersionsListResponse = FeaturestoreEntityVersionResourceArmPaginatedResult; // @public -export interface JobsListOptionalParams extends coreClient.OperationOptions { - jobType?: string; - listViewType?: ListViewType; - skip?: string; - tag?: string; +export interface FeatureStoreSettings { + computeRuntime?: ComputeRuntimeDto; + // (undocumented) + offlineStoreConnectionName?: string; + // (undocumented) + onlineStoreConnectionName?: string; } -// @public -export type JobsListResponse = JobBaseResourceArmPaginatedResult; +// @public (undocumented) +export interface FeatureSubset extends MonitoringFeatureFilterBase { + features: string[]; + filterType: "FeatureSubset"; +} // @public -export type JobStatus = string; +export interface FeatureWindow { + featureWindowEnd?: Date; + featureWindowStart?: Date; +} // @public -export type JobType = string; +export type FeaturizationMode = string; // @public -type KeyType_2 = string; -export { KeyType_2 as KeyType } +export interface FeaturizationSettings { + datasetLanguage?: string; +} // @public -export enum KnownAllocationState { - Resizing = "Resizing", - Steady = "Steady" +export interface FixedInputData extends MonitoringInputDataBase { + inputDataType: "Fixed"; } -// @public -export enum KnownApplicationSharingPolicy { - Personal = "Personal", - Shared = "Shared" +// @public (undocumented) +export interface FlavorData { + data?: { + [propertyName: string]: string | null; + }; } // @public -export enum KnownAutoRebuildSetting { - Disabled = "Disabled", - OnBaseImageUpdate = "OnBaseImageUpdate" +export interface ForecastHorizon { + mode: "Auto" | "Custom"; } // @public -export enum KnownAutosave { - Local = "Local", - None = "None", - Remote = "Remote" -} +export type ForecastHorizonMode = string; + +// @public (undocumented) +export type ForecastHorizonUnion = ForecastHorizon | AutoForecastHorizon | CustomForecastHorizon; // @public -export enum KnownBatchLoggingLevel { - Debug = "Debug", - Info = "Info", - Warning = "Warning" +export interface Forecasting extends TableVertical, AutoMLVertical { + forecastingSettings?: ForecastingSettings; + primaryMetric?: ForecastingPrimaryMetrics; + trainingSettings?: ForecastingTrainingSettings; } // @public -export enum KnownBatchOutputAction { - AppendRow = "AppendRow", - SummaryOnly = "SummaryOnly" -} +export type ForecastingModels = string; // @public -export enum KnownBillingCurrency { - USD = "USD" -} +export type ForecastingPrimaryMetrics = string; // @public -export enum KnownBlockedTransformers { - CatTargetEncoder = "CatTargetEncoder", - CountVectorizer = "CountVectorizer", - HashOneHotEncoder = "HashOneHotEncoder", +export interface ForecastingSettings { + countryOrRegionForHolidays?: string; + cvStepSize?: number; + featureLags?: FeatureLags; + forecastHorizon?: ForecastHorizonUnion; + frequency?: string; + seasonality?: SeasonalityUnion; + shortSeriesHandlingConfig?: ShortSeriesHandlingConfiguration; + targetAggregateFunction?: TargetAggregationFunction; + targetLags?: TargetLagsUnion; + targetRollingWindowSize?: TargetRollingWindowSizeUnion; + timeColumnName?: string; + timeSeriesIdColumnNames?: string[]; + useStl?: UseStl; +} + +// @public +export interface ForecastingTrainingSettings extends TrainingSettings { + allowedTrainingAlgorithms?: ForecastingModels[]; + blockedTrainingAlgorithms?: ForecastingModels[]; +} + +// @public (undocumented) +export interface FqdnEndpoint { + // (undocumented) + domainName?: string; + // (undocumented) + endpointDetails?: FqdnEndpointDetail[]; +} + +// @public (undocumented) +export interface FqdnEndpointDetail { + // (undocumented) + port?: number; +} + +// @public (undocumented) +export interface FqdnEndpoints { + // (undocumented) + properties?: FqdnEndpointsProperties; +} + +// @public (undocumented) +export interface FqdnEndpointsProperties { + // (undocumented) + category?: string; + // (undocumented) + endpoints?: FqdnEndpoint[]; +} + +// @public +export interface FqdnOutboundRule extends OutboundRule { + // (undocumented) + destination?: string; + type: "FQDN"; +} + +// @public (undocumented) +export interface GetBlobReferenceForConsumptionDto { + blobUri?: string; + credential?: DataReferenceCredentialUnion; + storageAccountArmId?: string; +} + +// @public +export interface GetBlobReferenceSASRequestDto { + assetId?: string; + blobUri?: string; +} + +// @public +export interface GetBlobReferenceSASResponseDto { + blobReferenceForConsumption?: GetBlobReferenceForConsumptionDto; +} + +// @public +export function getContinuationToken(page: unknown): string | undefined; + +// @public +export type Goal = string; + +// @public +export interface GridSamplingAlgorithm extends SamplingAlgorithm { + samplingAlgorithmType: "Grid"; +} + +// @public +export interface HDInsight extends Compute, HDInsightSchema { + computeType: "HDInsight"; +} + +// @public +export interface HDInsightProperties { + address?: string; + administratorAccount?: VirtualMachineSshCredentials; + sshPort?: number; +} + +// @public (undocumented) +export interface HDInsightSchema { + properties?: HDInsightProperties; +} + +// @public +export interface IdAssetReference extends AssetReferenceBase { + assetId: string; + referenceType: "Id"; +} + +// @public +export interface IdentityConfiguration { + identityType: "AMLToken" | "Managed" | "UserIdentity"; +} + +// @public +export type IdentityConfigurationType = string; + +// @public (undocumented) +export type IdentityConfigurationUnion = IdentityConfiguration | AmlToken | ManagedIdentity | UserIdentity; + +// @public +export interface IdentityForCmk { + userAssignedIdentity?: string; +} + +// @public +export interface IdleShutdownSetting { + idleTimeBeforeShutdown?: string; +} + +// @public +interface Image_2 { + [property: string]: any; + reference?: string; + type?: ImageType; +} +export { Image_2 as Image } + +// @public +export interface ImageClassification extends ImageClassificationBase, AutoMLVertical { + primaryMetric?: ClassificationPrimaryMetrics; +} + +// @public (undocumented) +export interface ImageClassificationBase extends ImageVertical { + modelSettings?: ImageModelSettingsClassification; + searchSpace?: ImageModelDistributionSettingsClassification[]; +} + +// @public +export interface ImageClassificationMultilabel extends ImageClassificationBase, AutoMLVertical { + primaryMetric?: ClassificationMultilabelPrimaryMetrics; +} + +// @public +export interface ImageInstanceSegmentation extends ImageObjectDetectionBase, AutoMLVertical { + primaryMetric?: InstanceSegmentationPrimaryMetrics; +} + +// @public +export interface ImageLimitSettings { + maxConcurrentTrials?: number; + maxTrials?: number; + timeout?: string; +} + +// @public +export interface ImageMetadata { + currentImageVersion?: string; + isLatestOsImageVersion?: boolean; + latestImageVersion?: string; +} + +// @public +export interface ImageModelDistributionSettings { + amsGradient?: string; + augmentations?: string; + beta1?: string; + beta2?: string; + distributed?: string; + earlyStopping?: string; + earlyStoppingDelay?: string; + earlyStoppingPatience?: string; + enableOnnxNormalization?: string; + evaluationFrequency?: string; + gradientAccumulationStep?: string; + layersToFreeze?: string; + learningRate?: string; + learningRateScheduler?: string; + modelName?: string; + momentum?: string; + nesterov?: string; + numberOfEpochs?: string; + numberOfWorkers?: string; + optimizer?: string; + randomSeed?: string; + stepLRGamma?: string; + stepLRStepSize?: string; + trainingBatchSize?: string; + validationBatchSize?: string; + warmupCosineLRCycles?: string; + warmupCosineLRWarmupEpochs?: string; + weightDecay?: string; +} + +// @public +export interface ImageModelDistributionSettingsClassification extends ImageModelDistributionSettings { + trainingCropSize?: string; + validationCropSize?: string; + validationResizeSize?: string; + weightedLoss?: string; +} + +// @public +export interface ImageModelDistributionSettingsObjectDetection extends ImageModelDistributionSettings { + boxDetectionsPerImage?: string; + boxScoreThreshold?: string; + imageSize?: string; + maxSize?: string; + minSize?: string; + modelSize?: string; + multiScale?: string; + nmsIouThreshold?: string; + tileGridSize?: string; + tileOverlapRatio?: string; + tilePredictionsNmsThreshold?: string; + validationIouThreshold?: string; + validationMetricType?: string; +} + +// @public +export interface ImageModelSettings { + advancedSettings?: string; + amsGradient?: boolean; + augmentations?: string; + beta1?: number; + beta2?: number; + checkpointFrequency?: number; + checkpointModel?: MLFlowModelJobInput; + checkpointRunId?: string; + distributed?: boolean; + earlyStopping?: boolean; + earlyStoppingDelay?: number; + earlyStoppingPatience?: number; + enableOnnxNormalization?: boolean; + evaluationFrequency?: number; + gradientAccumulationStep?: number; + layersToFreeze?: number; + learningRate?: number; + learningRateScheduler?: LearningRateScheduler; + modelName?: string; + momentum?: number; + nesterov?: boolean; + numberOfEpochs?: number; + numberOfWorkers?: number; + optimizer?: StochasticOptimizer; + randomSeed?: number; + stepLRGamma?: number; + stepLRStepSize?: number; + trainingBatchSize?: number; + validationBatchSize?: number; + warmupCosineLRCycles?: number; + warmupCosineLRWarmupEpochs?: number; + weightDecay?: number; +} + +// @public +export interface ImageModelSettingsClassification extends ImageModelSettings { + trainingCropSize?: number; + validationCropSize?: number; + validationResizeSize?: number; + weightedLoss?: number; +} + +// @public +export interface ImageModelSettingsObjectDetection extends ImageModelSettings { + boxDetectionsPerImage?: number; + boxScoreThreshold?: number; + imageSize?: number; + maxSize?: number; + minSize?: number; + modelSize?: ModelSize; + multiScale?: boolean; + nmsIouThreshold?: number; + tileGridSize?: string; + tileOverlapRatio?: number; + tilePredictionsNmsThreshold?: number; + validationIouThreshold?: number; + validationMetricType?: ValidationMetricType; +} + +// @public +export interface ImageObjectDetection extends ImageObjectDetectionBase, AutoMLVertical { + primaryMetric?: ObjectDetectionPrimaryMetrics; +} + +// @public (undocumented) +export interface ImageObjectDetectionBase extends ImageVertical { + modelSettings?: ImageModelSettingsObjectDetection; + searchSpace?: ImageModelDistributionSettingsObjectDetection[]; +} + +// @public +export interface ImageSweepSettings { + earlyTermination?: EarlyTerminationPolicyUnion; + samplingAlgorithm: SamplingAlgorithmType; +} + +// @public +export type ImageType = string; + +// @public +export interface ImageVertical { + limitSettings: ImageLimitSettings; + sweepSettings?: ImageSweepSettings; + validationData?: MLTableJobInput; + validationDataSize?: number; +} + +// @public +export interface IndexColumn { + columnName?: string; + dataType?: FeatureDataType; +} + +// @public (undocumented) +export interface InferenceContainerProperties { + livenessRoute?: Route; + readinessRoute?: Route; + scoringRoute?: Route; +} + +// @public +export type InputDeliveryMode = string; + +// @public +export type InstanceSegmentationPrimaryMetrics = string; + +// @public +export interface InstanceTypeSchema { + nodeSelector?: { + [propertyName: string]: string | null; + }; + resources?: InstanceTypeSchemaResources; +} + +// @public +export interface InstanceTypeSchemaResources { + limits?: { + [propertyName: string]: string; + }; + requests?: { + [propertyName: string]: string; + }; +} + +// @public +export type IsolationMode = string; + +// @public +export interface JobBase extends ProxyResource { + properties: JobBasePropertiesUnion; +} + +// @public +export interface JobBaseProperties extends ResourceBase { + componentId?: string; + computeId?: string; + displayName?: string; + experimentName?: string; + identity?: IdentityConfigurationUnion; + isArchived?: boolean; + jobType: JobType; + services?: { + [propertyName: string]: JobService | null; + }; + readonly status?: JobStatus; +} + +// @public (undocumented) +export type JobBasePropertiesUnion = JobBaseProperties | AutoMLJob | CommandJob | PipelineJob | SparkJob | SweepJob; + +// @public +export interface JobBaseResourceArmPaginatedResult { + nextLink?: string; + value?: JobBase[]; +} + +// @public +export interface JobInput { + description?: string; + jobInputType: "mltable" | "custom_model" | "mlflow_model" | "literal" | "triton_model" | "uri_file" | "uri_folder"; +} + +// @public +export type JobInputType = string; + +// @public (undocumented) +export type JobInputUnion = JobInput | MLTableJobInput | CustomModelJobInput | MLFlowModelJobInput | LiteralJobInput | TritonModelJobInput | UriFileJobInput | UriFolderJobInput; + +// @public (undocumented) +export interface JobLimits { + jobLimitsType: "Command" | "Sweep"; + timeout?: string; +} + +// @public +export type JobLimitsType = string; + +// @public (undocumented) +export type JobLimitsUnion = JobLimits | CommandJobLimits | SweepJobLimits; + +// @public +export interface JobOutput { + description?: string; + jobOutputType: "custom_model" | "mlflow_model" | "mltable" | "triton_model" | "uri_file" | "uri_folder"; +} + +// @public +export type JobOutputType = string; + +// @public (undocumented) +export type JobOutputUnion = JobOutput | CustomModelJobOutput | MLFlowModelJobOutput | MLTableJobOutput | TritonModelJobOutput | UriFileJobOutput | UriFolderJobOutput; + +// @public (undocumented) +export interface JobResourceConfiguration extends ResourceConfiguration { + dockerArgs?: string; + shmSize?: string; +} + +// @public +export interface Jobs { + beginCancel(resourceGroupName: string, workspaceName: string, id: string, options?: JobsCancelOptionalParams): Promise, void>>; + beginCancelAndWait(resourceGroupName: string, workspaceName: string, id: string, options?: JobsCancelOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, id: string, options?: JobsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, id: string, options?: JobsDeleteOptionalParams): Promise; + createOrUpdate(resourceGroupName: string, workspaceName: string, id: string, body: JobBase, options?: JobsCreateOrUpdateOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, id: string, options?: JobsGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: JobsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface JobsCancelHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface JobsCancelOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public (undocumented) +export interface JobScheduleAction extends ScheduleActionBase { + actionType: "CreateJob"; + jobDefinition: JobBasePropertiesUnion; +} + +// @public +export interface JobsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type JobsCreateOrUpdateResponse = JobBase; + +// @public +export interface JobsDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; +} + +// @public +export interface JobsDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export interface JobService { + endpoint?: string; + readonly errorMessage?: string; + jobServiceType?: string; + nodes?: NodesUnion; + port?: number; + properties?: { + [propertyName: string]: string | null; + }; + readonly status?: string; +} + +// @public +export interface JobsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type JobsGetResponse = JobBase; + +// @public +export interface JobsListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type JobsListNextResponse = JobBaseResourceArmPaginatedResult; + +// @public +export interface JobsListOptionalParams extends coreClient.OperationOptions { + jobType?: string; + listViewType?: ListViewType; + properties?: string; + skip?: string; + tag?: string; +} + +// @public +export type JobsListResponse = JobBaseResourceArmPaginatedResult; + +// @public +export type JobStatus = string; + +// @public +export type JobTier = string; + +// @public +export type JobType = string; + +// @public +type KeyType_2 = string; +export { KeyType_2 as KeyType } + +// @public +export enum KnownActionType { + Internal = "Internal" +} + +// @public +export enum KnownAllocationState { + Resizing = "Resizing", + Steady = "Steady" +} + +// @public +export enum KnownApplicationSharingPolicy { + Personal = "Personal", + Shared = "Shared" +} + +// @public +export enum KnownAssetProvisioningState { + Canceled = "Canceled", + Creating = "Creating", + Deleting = "Deleting", + Failed = "Failed", + Succeeded = "Succeeded", + Updating = "Updating" +} + +// @public +export enum KnownAutoRebuildSetting { + Disabled = "Disabled", + OnBaseImageUpdate = "OnBaseImageUpdate" +} + +// @public +export enum KnownAutosave { + Local = "Local", + None = "None", + Remote = "Remote" +} + +// @public +export enum KnownBatchDeploymentConfigurationType { + Model = "Model", + PipelineComponent = "PipelineComponent" +} + +// @public +export enum KnownBatchLoggingLevel { + Debug = "Debug", + Info = "Info", + Warning = "Warning" +} + +// @public +export enum KnownBatchOutputAction { + AppendRow = "AppendRow", + SummaryOnly = "SummaryOnly" +} + +// @public +export enum KnownBillingCurrency { + USD = "USD" +} + +// @public +export enum KnownBlockedTransformers { + CatTargetEncoder = "CatTargetEncoder", + CountVectorizer = "CountVectorizer", + HashOneHotEncoder = "HashOneHotEncoder", LabelEncoder = "LabelEncoder", NaiveBayes = "NaiveBayes", OneHotEncoder = "OneHotEncoder", @@ -2568,1901 +3480,3467 @@ export enum KnownBlockedTransformers { } // @public -export enum KnownCaching { - None = "None", - ReadOnly = "ReadOnly", - ReadWrite = "ReadWrite" +export enum KnownCaching { + None = "None", + ReadOnly = "ReadOnly", + ReadWrite = "ReadWrite" +} + +// @public +export enum KnownCategoricalDataDriftMetric { + JensenShannonDistance = "JensenShannonDistance", + PearsonsChiSquaredTest = "PearsonsChiSquaredTest", + PopulationStabilityIndex = "PopulationStabilityIndex" +} + +// @public +export enum KnownCategoricalDataQualityMetric { + DataTypeErrorRate = "DataTypeErrorRate", + NullValueRate = "NullValueRate", + OutOfBoundsRate = "OutOfBoundsRate" +} + +// @public +export enum KnownCategoricalPredictionDriftMetric { + JensenShannonDistance = "JensenShannonDistance", + PearsonsChiSquaredTest = "PearsonsChiSquaredTest", + PopulationStabilityIndex = "PopulationStabilityIndex" +} + +// @public +export enum KnownClassificationModels { + BernoulliNaiveBayes = "BernoulliNaiveBayes", + DecisionTree = "DecisionTree", + ExtremeRandomTrees = "ExtremeRandomTrees", + GradientBoosting = "GradientBoosting", + KNN = "KNN", + LightGBM = "LightGBM", + LinearSVM = "LinearSVM", + LogisticRegression = "LogisticRegression", + MultinomialNaiveBayes = "MultinomialNaiveBayes", + RandomForest = "RandomForest", + SGD = "SGD", + SVM = "SVM", + XGBoostClassifier = "XGBoostClassifier" +} + +// @public +export enum KnownClassificationMultilabelPrimaryMetrics { + Accuracy = "Accuracy", + AUCWeighted = "AUCWeighted", + AveragePrecisionScoreWeighted = "AveragePrecisionScoreWeighted", + IOU = "IOU", + NormMacroRecall = "NormMacroRecall", + PrecisionScoreWeighted = "PrecisionScoreWeighted" +} + +// @public +export enum KnownClassificationPrimaryMetrics { + Accuracy = "Accuracy", + AUCWeighted = "AUCWeighted", + AveragePrecisionScoreWeighted = "AveragePrecisionScoreWeighted", + NormMacroRecall = "NormMacroRecall", + PrecisionScoreWeighted = "PrecisionScoreWeighted" +} + +// @public +export enum KnownClusterPurpose { + DenseProd = "DenseProd", + DevTest = "DevTest", + FastProd = "FastProd" +} + +// @public +export enum KnownComputeInstanceAuthorizationType { + Personal = "personal" +} + +// @public +export enum KnownComputeInstanceState { + CreateFailed = "CreateFailed", + Creating = "Creating", + Deleting = "Deleting", + JobRunning = "JobRunning", + Restarting = "Restarting", + Running = "Running", + SettingUp = "SettingUp", + SetupFailed = "SetupFailed", + Starting = "Starting", + Stopped = "Stopped", + Stopping = "Stopping", + Unknown = "Unknown", + Unusable = "Unusable", + UserSettingUp = "UserSettingUp", + UserSetupFailed = "UserSetupFailed" +} + +// @public +export enum KnownComputePowerAction { + Start = "Start", + Stop = "Stop" +} + +// @public +export enum KnownComputeRecurrenceFrequency { + Day = "Day", + Hour = "Hour", + Minute = "Minute", + Month = "Month", + Week = "Week" +} + +// @public +export enum KnownComputeTriggerType { + Cron = "Cron", + Recurrence = "Recurrence" +} + +// @public +export enum KnownComputeType { + AKS = "AKS", + AmlCompute = "AmlCompute", + ComputeInstance = "ComputeInstance", + Databricks = "Databricks", + DataFactory = "DataFactory", + DataLakeAnalytics = "DataLakeAnalytics", + HDInsight = "HDInsight", + Kubernetes = "Kubernetes", + SynapseSpark = "SynapseSpark", + VirtualMachine = "VirtualMachine" +} + +// @public +export enum KnownComputeWeekDay { + Friday = "Friday", + Monday = "Monday", + Saturday = "Saturday", + Sunday = "Sunday", + Thursday = "Thursday", + Tuesday = "Tuesday", + Wednesday = "Wednesday" +} + +// @public +export enum KnownConnectionAuthType { + ManagedIdentity = "ManagedIdentity", + None = "None", + PAT = "PAT", + SAS = "SAS", + UsernamePassword = "UsernamePassword" +} + +// @public +export enum KnownConnectionCategory { + ContainerRegistry = "ContainerRegistry", + Git = "Git", + PythonFeed = "PythonFeed" +} + +// @public +export enum KnownContainerType { + InferenceServer = "InferenceServer", + StorageInitializer = "StorageInitializer" +} + +// @public +export enum KnownCreatedByType { + Application = "Application", + Key = "Key", + ManagedIdentity = "ManagedIdentity", + User = "User" +} + +// @public +export enum KnownCredentialsType { + AccountKey = "AccountKey", + Certificate = "Certificate", + None = "None", + Sas = "Sas", + ServicePrincipal = "ServicePrincipal" +} + +// @public +export enum KnownDataAvailabilityStatus { + Complete = "Complete", + Incomplete = "Incomplete", + None = "None", + Pending = "Pending" +} + +// @public +export enum KnownDataReferenceCredentialType { + DockerCredentials = "DockerCredentials", + ManagedIdentity = "ManagedIdentity", + NoCredentials = "NoCredentials", + SAS = "SAS" +} + +// @public +export enum KnownDatastoreType { + AzureBlob = "AzureBlob", + AzureDataLakeGen1 = "AzureDataLakeGen1", + AzureDataLakeGen2 = "AzureDataLakeGen2", + AzureFile = "AzureFile", + OneLake = "OneLake" +} + +// @public +export enum KnownDataType { + Mltable = "mltable", + UriFile = "uri_file", + UriFolder = "uri_folder" +} + +// @public +export enum KnownDeploymentProvisioningState { + Canceled = "Canceled", + Creating = "Creating", + Deleting = "Deleting", + Failed = "Failed", + Scaling = "Scaling", + Succeeded = "Succeeded", + Updating = "Updating" +} + +// @public +export enum KnownDiagnoseResultLevel { + Error = "Error", + Information = "Information", + Warning = "Warning" +} + +// @public +export enum KnownDistributionType { + Mpi = "Mpi", + PyTorch = "PyTorch", + TensorFlow = "TensorFlow" +} + +// @public +export enum KnownEarlyTerminationPolicyType { + Bandit = "Bandit", + MedianStopping = "MedianStopping", + TruncationSelection = "TruncationSelection" +} + +// @public +export enum KnownEgressPublicNetworkAccessType { + Disabled = "Disabled", + Enabled = "Enabled" +} + +// @public +export enum KnownEmailNotificationEnableType { + JobCancelled = "JobCancelled", + JobCompleted = "JobCompleted", + JobFailed = "JobFailed" +} + +// @public +export enum KnownEncryptionStatus { + Disabled = "Disabled", + Enabled = "Enabled" +} + +// @public +export enum KnownEndpointAuthMode { + AADToken = "AADToken", + AMLToken = "AMLToken", + Key = "Key" +} + +// @public +export enum KnownEndpointComputeType { + AzureMLCompute = "AzureMLCompute", + Kubernetes = "Kubernetes", + Managed = "Managed" +} + +// @public +export enum KnownEndpointProvisioningState { + Canceled = "Canceled", + Creating = "Creating", + Deleting = "Deleting", + Failed = "Failed", + Succeeded = "Succeeded", + Updating = "Updating" +} + +// @public +export enum KnownEndpointServiceConnectionStatus { + Approved = "Approved", + Disconnected = "Disconnected", + Pending = "Pending", + Rejected = "Rejected" +} + +// @public +export enum KnownEnvironmentType { + Curated = "Curated", + UserCreated = "UserCreated" +} + +// @public +export enum KnownEnvironmentVariableType { + Local = "local" +} + +// @public +export enum KnownFeatureAttributionMetric { + NormalizedDiscountedCumulativeGain = "NormalizedDiscountedCumulativeGain" +} + +// @public +export enum KnownFeatureDataType { + Binary = "Binary", + Boolean = "Boolean", + Datetime = "Datetime", + Double = "Double", + Float = "Float", + Integer = "Integer", + Long = "Long", + String = "String" +} + +// @public +export enum KnownFeatureImportanceMode { + Disabled = "Disabled", + Enabled = "Enabled" +} + +// @public +export enum KnownFeatureLags { + Auto = "Auto", + None = "None" +} + +// @public +export enum KnownFeaturizationMode { + Auto = "Auto", + Custom = "Custom", + Off = "Off" +} + +// @public +export enum KnownForecastHorizonMode { + Auto = "Auto", + Custom = "Custom" +} + +// @public +export enum KnownForecastingModels { + Arimax = "Arimax", + AutoArima = "AutoArima", + Average = "Average", + DecisionTree = "DecisionTree", + ElasticNet = "ElasticNet", + ExponentialSmoothing = "ExponentialSmoothing", + ExtremeRandomTrees = "ExtremeRandomTrees", + GradientBoosting = "GradientBoosting", + KNN = "KNN", + LassoLars = "LassoLars", + LightGBM = "LightGBM", + Naive = "Naive", + Prophet = "Prophet", + RandomForest = "RandomForest", + SeasonalAverage = "SeasonalAverage", + SeasonalNaive = "SeasonalNaive", + SGD = "SGD", + TCNForecaster = "TCNForecaster", + XGBoostRegressor = "XGBoostRegressor" +} + +// @public +export enum KnownForecastingPrimaryMetrics { + NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError", + NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", + R2Score = "R2Score", + SpearmanCorrelation = "SpearmanCorrelation" +} + +// @public +export enum KnownGoal { + Maximize = "Maximize", + Minimize = "Minimize" +} + +// @public +export enum KnownIdentityConfigurationType { + AMLToken = "AMLToken", + Managed = "Managed", + UserIdentity = "UserIdentity" +} + +// @public +export enum KnownImageType { + Azureml = "azureml", + Docker = "docker" +} + +// @public +export enum KnownInputDeliveryMode { + Direct = "Direct", + Download = "Download", + EvalDownload = "EvalDownload", + EvalMount = "EvalMount", + ReadOnlyMount = "ReadOnlyMount", + ReadWriteMount = "ReadWriteMount" +} + +// @public +export enum KnownInstanceSegmentationPrimaryMetrics { + MeanAveragePrecision = "MeanAveragePrecision" +} + +// @public +export enum KnownIsolationMode { + AllowInternetOutbound = "AllowInternetOutbound", + AllowOnlyApprovedOutbound = "AllowOnlyApprovedOutbound", + Disabled = "Disabled" +} + +// @public +export enum KnownJobInputType { + CustomModel = "custom_model", + Literal = "literal", + MlflowModel = "mlflow_model", + Mltable = "mltable", + TritonModel = "triton_model", + UriFile = "uri_file", + UriFolder = "uri_folder" +} + +// @public +export enum KnownJobLimitsType { + Command = "Command", + Sweep = "Sweep" +} + +// @public +export enum KnownJobOutputType { + CustomModel = "custom_model", + MlflowModel = "mlflow_model", + Mltable = "mltable", + TritonModel = "triton_model", + UriFile = "uri_file", + UriFolder = "uri_folder" +} + +// @public +export enum KnownJobStatus { + Canceled = "Canceled", + CancelRequested = "CancelRequested", + Completed = "Completed", + Failed = "Failed", + Finalizing = "Finalizing", + NotResponding = "NotResponding", + NotStarted = "NotStarted", + Paused = "Paused", + Preparing = "Preparing", + Provisioning = "Provisioning", + Queued = "Queued", + Running = "Running", + Starting = "Starting", + Unknown = "Unknown" +} + +// @public +export enum KnownJobTier { + Basic = "Basic", + Null = "Null", + Premium = "Premium", + Spot = "Spot", + Standard = "Standard" +} + +// @public +export enum KnownJobType { + AutoML = "AutoML", + Command = "Command", + Pipeline = "Pipeline", + Spark = "Spark", + Sweep = "Sweep" +} + +// @public +export enum KnownKeyType { + Primary = "Primary", + Secondary = "Secondary" +} + +// @public +export enum KnownLearningRateScheduler { + None = "None", + Step = "Step", + WarmupCosine = "WarmupCosine" +} + +// @public +export enum KnownListViewType { + ActiveOnly = "ActiveOnly", + All = "All", + ArchivedOnly = "ArchivedOnly" +} + +// @public +export enum KnownLoadBalancerType { + InternalLoadBalancer = "InternalLoadBalancer", + PublicIp = "PublicIp" +} + +// @public +export enum KnownLogVerbosity { + Critical = "Critical", + Debug = "Debug", + Error = "Error", + Info = "Info", + NotSet = "NotSet", + Warning = "Warning" +} + +// @public +export enum KnownManagedNetworkStatus { + Active = "Active", + Inactive = "Inactive" +} + +// @public +export enum KnownManagedServiceIdentityType { + None = "None", + SystemAssigned = "SystemAssigned", + SystemAssignedUserAssigned = "SystemAssigned,UserAssigned", + UserAssigned = "UserAssigned" +} + +// @public +export enum KnownMaterializationStoreType { + None = "None", + Offline = "Offline", + Online = "Online", + OnlineAndOffline = "OnlineAndOffline" +} + +// @public +export enum KnownModelSize { + ExtraLarge = "ExtraLarge", + Large = "Large", + Medium = "Medium", + None = "None", + Small = "Small" +} + +// @public +export enum KnownModelTaskType { + Classification = "Classification", + Regression = "Regression" +} + +// @public +export enum KnownMonitorComputeIdentityType { + AmlToken = "AmlToken", + ManagedIdentity = "ManagedIdentity" +} + +// @public +export enum KnownMonitorComputeType { + ServerlessSpark = "ServerlessSpark" +} + +// @public +export enum KnownMonitoringFeatureDataType { + Categorical = "Categorical", + Numerical = "Numerical" +} + +// @public +export enum KnownMonitoringFeatureFilterType { + AllFeatures = "AllFeatures", + FeatureSubset = "FeatureSubset", + TopNByAttribution = "TopNByAttribution" +} + +// @public +export enum KnownMonitoringInputDataType { + Fixed = "Fixed", + Rolling = "Rolling", + Static = "Static" +} + +// @public +export enum KnownMonitoringNotificationType { + AmlNotification = "AmlNotification" +} + +// @public +export enum KnownMonitoringSignalType { + Custom = "Custom", + DataDrift = "DataDrift", + DataQuality = "DataQuality", + FeatureAttributionDrift = "FeatureAttributionDrift", + PredictionDrift = "PredictionDrift" +} + +// @public +export enum KnownMountAction { + Mount = "Mount", + Unmount = "Unmount" +} + +// @public +export enum KnownMountState { + Mounted = "Mounted", + MountFailed = "MountFailed", + MountRequested = "MountRequested", + Unmounted = "Unmounted", + UnmountFailed = "UnmountFailed", + UnmountRequested = "UnmountRequested" +} + +// @public +export enum KnownNCrossValidationsMode { + Auto = "Auto", + Custom = "Custom" +} + +// @public +export enum KnownNetwork { + Bridge = "Bridge", + Host = "Host" +} + +// @public +export enum KnownNodeState { + Idle = "idle", + Leaving = "leaving", + Preempted = "preempted", + Preparing = "preparing", + Running = "running", + Unusable = "unusable" +} + +// @public +export enum KnownNodesValueType { + All = "All" +} + +// @public +export enum KnownNumericalDataDriftMetric { + JensenShannonDistance = "JensenShannonDistance", + NormalizedWassersteinDistance = "NormalizedWassersteinDistance", + PopulationStabilityIndex = "PopulationStabilityIndex", + TwoSampleKolmogorovSmirnovTest = "TwoSampleKolmogorovSmirnovTest" +} + +// @public +export enum KnownNumericalDataQualityMetric { + DataTypeErrorRate = "DataTypeErrorRate", + NullValueRate = "NullValueRate", + OutOfBoundsRate = "OutOfBoundsRate" +} + +// @public +export enum KnownNumericalPredictionDriftMetric { + JensenShannonDistance = "JensenShannonDistance", + NormalizedWassersteinDistance = "NormalizedWassersteinDistance", + PopulationStabilityIndex = "PopulationStabilityIndex", + TwoSampleKolmogorovSmirnovTest = "TwoSampleKolmogorovSmirnovTest" +} + +// @public +export enum KnownObjectDetectionPrimaryMetrics { + MeanAveragePrecision = "MeanAveragePrecision" +} + +// @public +export enum KnownOneLakeArtifactType { + LakeHouse = "LakeHouse" +} + +// @public +export enum KnownOperatingSystemType { + Linux = "Linux", + Windows = "Windows" +} + +// @public +export enum KnownOperationName { + Create = "Create", + Delete = "Delete", + Reimage = "Reimage", + Restart = "Restart", + Start = "Start", + Stop = "Stop" +} + +// @public +export enum KnownOperationStatus { + CreateFailed = "CreateFailed", + DeleteFailed = "DeleteFailed", + InProgress = "InProgress", + ReimageFailed = "ReimageFailed", + RestartFailed = "RestartFailed", + StartFailed = "StartFailed", + StopFailed = "StopFailed", + Succeeded = "Succeeded" +} + +// @public +export enum KnownOperationTrigger { + IdleShutdown = "IdleShutdown", + Schedule = "Schedule", + User = "User" +} + +// @public +export enum KnownOrderString { + CreatedAtAsc = "CreatedAtAsc", + CreatedAtDesc = "CreatedAtDesc", + UpdatedAtAsc = "UpdatedAtAsc", + UpdatedAtDesc = "UpdatedAtDesc" +} + +// @public +export enum KnownOrigin { + System = "system", + User = "user", + UserSystem = "user,system" +} + +// @public +export enum KnownOsType { + Linux = "Linux", + Windows = "Windows" +} + +// @public +export enum KnownOutputDeliveryMode { + Direct = "Direct", + ReadWriteMount = "ReadWriteMount", + Upload = "Upload" +} + +// @public +export enum KnownPendingUploadCredentialType { + SAS = "SAS" +} + +// @public +export enum KnownPendingUploadType { + None = "None", + TemporaryBlobReference = "TemporaryBlobReference" +} + +// @public +export enum KnownPrivateEndpointConnectionProvisioningState { + Creating = "Creating", + Deleting = "Deleting", + Failed = "Failed", + Succeeded = "Succeeded" +} + +// @public +export enum KnownPrivateEndpointServiceConnectionStatus { + Approved = "Approved", + Disconnected = "Disconnected", + Pending = "Pending", + Rejected = "Rejected", + Timeout = "Timeout" +} + +// @public +export enum KnownProtocol { + Http = "http", + Tcp = "tcp", + Udp = "udp" +} + +// @public +export enum KnownProvisioningState { + Canceled = "Canceled", + Creating = "Creating", + Deleting = "Deleting", + Failed = "Failed", + Succeeded = "Succeeded", + Unknown = "Unknown", + Updating = "Updating" +} + +// @public +export enum KnownProvisioningStatus { + Completed = "Completed", + Failed = "Failed", + Provisioning = "Provisioning" +} + +// @public +export enum KnownPublicNetworkAccess { + Disabled = "Disabled", + Enabled = "Enabled" +} + +// @public +export enum KnownPublicNetworkAccessType { + Disabled = "Disabled", + Enabled = "Enabled" +} + +// @public +export enum KnownQuotaUnit { + Count = "Count" +} + +// @public +export enum KnownRandomSamplingAlgorithmRule { + Random = "Random", + Sobol = "Sobol" +} + +// @public +export enum KnownRecurrenceFrequency { + Day = "Day", + Hour = "Hour", + Minute = "Minute", + Month = "Month", + Week = "Week" +} + +// @public +export enum KnownReferenceType { + DataPath = "DataPath", + Id = "Id", + OutputPath = "OutputPath" +} + +// @public +export enum KnownRegressionModels { + DecisionTree = "DecisionTree", + ElasticNet = "ElasticNet", + ExtremeRandomTrees = "ExtremeRandomTrees", + GradientBoosting = "GradientBoosting", + KNN = "KNN", + LassoLars = "LassoLars", + LightGBM = "LightGBM", + RandomForest = "RandomForest", + SGD = "SGD", + XGBoostRegressor = "XGBoostRegressor" +} + +// @public +export enum KnownRegressionPrimaryMetrics { + NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError", + NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", + R2Score = "R2Score", + SpearmanCorrelation = "SpearmanCorrelation" +} + +// @public +export enum KnownRemoteLoginPortPublicAccess { + Disabled = "Disabled", + Enabled = "Enabled", + NotSpecified = "NotSpecified" +} + +// @public +export enum KnownRuleAction { + Allow = "Allow", + Deny = "Deny" +} + +// @public +export enum KnownRuleCategory { + Recommended = "Recommended", + Required = "Required", + UserDefined = "UserDefined" +} + +// @public +export enum KnownRuleStatus { + Active = "Active", + Inactive = "Inactive" +} + +// @public +export enum KnownRuleType { + Fqdn = "FQDN", + PrivateEndpoint = "PrivateEndpoint", + ServiceTag = "ServiceTag" +} + +// @public +export enum KnownSamplingAlgorithmType { + Bayesian = "Bayesian", + Grid = "Grid", + Random = "Random" +} + +// @public +export enum KnownScaleType { + Default = "Default", + TargetUtilization = "TargetUtilization" +} + +// @public +export enum KnownScheduleActionType { + CreateJob = "CreateJob", + CreateMonitor = "CreateMonitor", + InvokeBatchEndpoint = "InvokeBatchEndpoint" +} + +// @public +export enum KnownScheduleListViewType { + All = "All", + DisabledOnly = "DisabledOnly", + EnabledOnly = "EnabledOnly" +} + +// @public +export enum KnownScheduleProvisioningState { + Completed = "Completed", + Failed = "Failed", + Provisioning = "Provisioning" +} + +// @public +export enum KnownScheduleProvisioningStatus { + Canceled = "Canceled", + Creating = "Creating", + Deleting = "Deleting", + Failed = "Failed", + Succeeded = "Succeeded", + Updating = "Updating" +} + +// @public +export enum KnownScheduleStatus { + Disabled = "Disabled", + Enabled = "Enabled" +} + +// @public +export enum KnownSeasonalityMode { + Auto = "Auto", + Custom = "Custom" +} + +// @public +export enum KnownSecretsType { + AccountKey = "AccountKey", + Certificate = "Certificate", + Sas = "Sas", + ServicePrincipal = "ServicePrincipal" +} + +// @public +export enum KnownServiceDataAccessAuthIdentity { + None = "None", + WorkspaceSystemAssignedIdentity = "WorkspaceSystemAssignedIdentity", + WorkspaceUserAssignedIdentity = "WorkspaceUserAssignedIdentity" +} + +// @public +export enum KnownShortSeriesHandlingConfiguration { + Auto = "Auto", + Drop = "Drop", + None = "None", + Pad = "Pad" +} + +// @public +export enum KnownSkuScaleType { + Automatic = "Automatic", + Manual = "Manual", + None = "None" +} + +// @public +export enum KnownSourceType { + Dataset = "Dataset", + Datastore = "Datastore", + URI = "URI" +} + +// @public +export enum KnownSparkJobEntryType { + SparkJobPythonEntry = "SparkJobPythonEntry", + SparkJobScalaEntry = "SparkJobScalaEntry" +} + +// @public +export enum KnownSshPublicAccess { + Disabled = "Disabled", + Enabled = "Enabled" +} + +// @public +export enum KnownSslConfigStatus { + Auto = "Auto", + Disabled = "Disabled", + Enabled = "Enabled" +} + +// @public +export enum KnownStackMetaLearnerType { + ElasticNet = "ElasticNet", + ElasticNetCV = "ElasticNetCV", + LightGBMClassifier = "LightGBMClassifier", + LightGBMRegressor = "LightGBMRegressor", + LinearRegression = "LinearRegression", + LogisticRegression = "LogisticRegression", + LogisticRegressionCV = "LogisticRegressionCV", + None = "None" +} + +// @public +export enum KnownStatus { + Failure = "Failure", + InvalidQuotaBelowClusterMinimum = "InvalidQuotaBelowClusterMinimum", + InvalidQuotaExceedsSubscriptionLimit = "InvalidQuotaExceedsSubscriptionLimit", + InvalidVMFamilyName = "InvalidVMFamilyName", + OperationNotEnabledForRegion = "OperationNotEnabledForRegion", + OperationNotSupportedForSku = "OperationNotSupportedForSku", + Success = "Success", + Undefined = "Undefined" +} + +// @public +export enum KnownStochasticOptimizer { + Adam = "Adam", + Adamw = "Adamw", + None = "None", + Sgd = "Sgd" +} + +// @public +export enum KnownStorageAccountType { + PremiumLRS = "Premium_LRS", + StandardLRS = "Standard_LRS" +} + +// @public +export enum KnownTargetAggregationFunction { + Max = "Max", + Mean = "Mean", + Min = "Min", + None = "None", + Sum = "Sum" +} + +// @public +export enum KnownTargetLagsMode { + Auto = "Auto", + Custom = "Custom" +} + +// @public +export enum KnownTargetRollingWindowSizeMode { + Auto = "Auto", + Custom = "Custom" +} + +// @public +export enum KnownTaskType { + Classification = "Classification", + Forecasting = "Forecasting", + ImageClassification = "ImageClassification", + ImageClassificationMultilabel = "ImageClassificationMultilabel", + ImageInstanceSegmentation = "ImageInstanceSegmentation", + ImageObjectDetection = "ImageObjectDetection", + Regression = "Regression", + TextClassification = "TextClassification", + TextClassificationMultilabel = "TextClassificationMultilabel", + TextNER = "TextNER" +} + +// @public +export enum KnownTriggerType { + Cron = "Cron", + Recurrence = "Recurrence" +} + +// @public +export enum KnownUnderlyingResourceAction { + Delete = "Delete", + Detach = "Detach" +} + +// @public +export enum KnownUnitOfMeasure { + OneHour = "OneHour" +} + +// @public +export enum KnownUsageUnit { + Count = "Count" +} + +// @public +export enum KnownUseStl { + None = "None", + Season = "Season", + SeasonTrend = "SeasonTrend" +} + +// @public +export enum KnownValidationMetricType { + Coco = "Coco", + CocoVoc = "CocoVoc", + None = "None", + Voc = "Voc" +} + +// @public +export enum KnownValueFormat { + Json = "JSON" +} + +// @public +export enum KnownVMPriceOSType { + Linux = "Linux", + Windows = "Windows" +} + +// @public +export enum KnownVmPriority { + Dedicated = "Dedicated", + LowPriority = "LowPriority" +} + +// @public +export enum KnownVMTier { + LowPriority = "LowPriority", + Spot = "Spot", + Standard = "Standard" +} + +// @public +export enum KnownVolumeDefinitionType { + Bind = "bind", + Npipe = "npipe", + Tmpfs = "tmpfs", + Volume = "volume" +} + +// @public +export enum KnownWebhookType { + AzureDevOps = "AzureDevOps" +} + +// @public +export enum KnownWeekDay { + Friday = "Friday", + Monday = "Monday", + Saturday = "Saturday", + Sunday = "Sunday", + Thursday = "Thursday", + Tuesday = "Tuesday", + Wednesday = "Wednesday" +} + +// @public +export interface Kubernetes extends Compute, KubernetesSchema { + computeType: "Kubernetes"; +} + +// @public +export interface KubernetesOnlineDeployment extends OnlineDeploymentProperties { + containerResourceRequirements?: ContainerResourceRequirements; + endpointComputeType: "Kubernetes"; +} + +// @public +export interface KubernetesProperties { + defaultInstanceType?: string; + extensionInstanceReleaseTrain?: string; + extensionPrincipalId?: string; + instanceTypes?: { + [propertyName: string]: InstanceTypeSchema; + }; + namespace?: string; + relayConnectionString?: string; + serviceBusConnectionString?: string; + vcName?: string; +} + +// @public +export interface KubernetesSchema { + properties?: KubernetesProperties; +} + +// @public (undocumented) +export interface LakeHouseArtifact extends OneLakeArtifact { + artifactType: "LakeHouse"; +} + +// @public +export type LearningRateScheduler = string; + +// @public +export interface ListAmlUserFeatureResult { + readonly nextLink?: string; + readonly value?: AmlUserFeature[]; +} + +// @public (undocumented) +export interface ListNotebookKeysResult { + readonly primaryAccessKey?: string; + readonly secondaryAccessKey?: string; +} + +// @public (undocumented) +export interface ListStorageAccountKeysResult { + readonly userStorageKey?: string; +} + +// @public +export interface ListUsagesResult { + readonly nextLink?: string; + readonly value?: Usage[]; +} + +// @public +export type ListViewType = string; + +// @public (undocumented) +export interface ListWorkspaceKeysResult { + readonly appInsightsInstrumentationKey?: string; + readonly containerRegistryCredentials?: RegistryListCredentialsResult; + readonly notebookAccessKeys?: ListNotebookKeysResult; + readonly userStorageKey?: string; + readonly userStorageResourceId?: string; +} + +// @public +export interface ListWorkspaceQuotas { + readonly nextLink?: string; + readonly value?: ResourceQuota[]; +} + +// @public +export interface LiteralJobInput extends JobInput { + jobInputType: "literal"; + value: string; +} + +// @public +export type LoadBalancerType = string; + +// @public +export type LogVerbosity = string; + +// @public +export interface ManagedComputeIdentity extends MonitorComputeIdentityBase { + computeIdentityType: "ManagedIdentity"; + identity?: ManagedServiceIdentity; +} + +// @public +export interface ManagedIdentity extends IdentityConfiguration { + clientId?: string; + identityType: "Managed"; + objectId?: string; + resourceId?: string; +} + +// @public (undocumented) +export interface ManagedIdentityAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { + authType: "ManagedIdentity"; + // (undocumented) + credentials?: WorkspaceConnectionManagedIdentity; +} + +// @public +export interface ManagedIdentityCredential extends DataReferenceCredential { + credentialType: "ManagedIdentity"; + managedIdentityType?: string; + userManagedIdentityClientId?: string; + userManagedIdentityPrincipalId?: string; + userManagedIdentityResourceId?: string; + userManagedIdentityTenantId?: string; +} + +// @public +export interface ManagedNetworkProvisionOptions { + // (undocumented) + includeSpark?: boolean; +} + +// @public +export interface ManagedNetworkProvisions { + beginProvisionManagedNetwork(resourceGroupName: string, workspaceName: string, options?: ManagedNetworkProvisionsProvisionManagedNetworkOptionalParams): Promise, ManagedNetworkProvisionsProvisionManagedNetworkResponse>>; + beginProvisionManagedNetworkAndWait(resourceGroupName: string, workspaceName: string, options?: ManagedNetworkProvisionsProvisionManagedNetworkOptionalParams): Promise; +} + +// @public +export interface ManagedNetworkProvisionsProvisionManagedNetworkHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface ManagedNetworkProvisionsProvisionManagedNetworkOptionalParams extends coreClient.OperationOptions { + body?: ManagedNetworkProvisionOptions; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type ManagedNetworkProvisionsProvisionManagedNetworkResponse = ManagedNetworkProvisionStatus; + +// @public +export interface ManagedNetworkProvisionStatus { + // (undocumented) + sparkReady?: boolean; + status?: ManagedNetworkStatus; +} + +// @public +export interface ManagedNetworkSettings { + isolationMode?: IsolationMode; + readonly networkId?: string; + outboundRules?: { + [propertyName: string]: OutboundRuleUnion; + }; + status?: ManagedNetworkProvisionStatus; +} + +// @public +export interface ManagedNetworkSettingsRule { + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, ruleName: string, body: OutboundRuleBasicResource, options?: ManagedNetworkSettingsRuleCreateOrUpdateOptionalParams): Promise, ManagedNetworkSettingsRuleCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, ruleName: string, body: OutboundRuleBasicResource, options?: ManagedNetworkSettingsRuleCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, ruleName: string, options?: ManagedNetworkSettingsRuleDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, ruleName: string, options?: ManagedNetworkSettingsRuleDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, ruleName: string, options?: ManagedNetworkSettingsRuleGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: ManagedNetworkSettingsRuleListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface ManagedNetworkSettingsRuleCreateOrUpdateHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface ManagedNetworkSettingsRuleCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type ManagedNetworkSettingsRuleCreateOrUpdateResponse = OutboundRuleBasicResource; + +// @public +export interface ManagedNetworkSettingsRuleDeleteHeaders { + location?: string; +} + +// @public +export interface ManagedNetworkSettingsRuleDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export interface ManagedNetworkSettingsRuleGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ManagedNetworkSettingsRuleGetResponse = OutboundRuleBasicResource; + +// @public +export interface ManagedNetworkSettingsRuleListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ManagedNetworkSettingsRuleListNextResponse = OutboundRuleListResult; + +// @public +export interface ManagedNetworkSettingsRuleListOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ManagedNetworkSettingsRuleListResponse = OutboundRuleListResult; + +// @public +export type ManagedNetworkStatus = string; + +// @public +export interface ManagedOnlineDeployment extends OnlineDeploymentProperties { + endpointComputeType: "Managed"; +} + +// @public +export interface ManagedServiceIdentity { + readonly principalId?: string; + readonly tenantId?: string; + type: ManagedServiceIdentityType; + userAssignedIdentities?: { + [propertyName: string]: UserAssignedIdentity; + }; +} + +// @public +export type ManagedServiceIdentityType = string; + +// @public +export interface MaterializationComputeResource { + instanceType?: string; +} + +// @public (undocumented) +export interface MaterializationSettings { + notification?: NotificationSetting; + resource?: MaterializationComputeResource; + schedule?: RecurrenceTrigger; + sparkConfiguration?: { + [propertyName: string]: string | null; + }; + storeType?: MaterializationStoreType; +} + +// @public +export type MaterializationStoreType = string; + +// @public +export interface MedianStoppingPolicy extends EarlyTerminationPolicy { + policyType: "MedianStopping"; +} + +// @public (undocumented) +export interface MLFlowModelJobInput extends AssetJobInput, JobInput { +} + +// @public (undocumented) +export interface MLFlowModelJobOutput extends AssetJobOutput, JobOutput { +} + +// @public +export interface MLTableData extends DataVersionBaseProperties { + dataType: "mltable"; + referencedUris?: string[]; +} + +// @public (undocumented) +export interface MLTableJobInput extends AssetJobInput, JobInput { +} + +// @public (undocumented) +export interface MLTableJobOutput extends AssetJobOutput, JobOutput { +} + +// @public +export interface ModelContainer extends ProxyResource { + properties: ModelContainerProperties; +} + +// @public (undocumented) +export interface ModelContainerProperties extends AssetContainer { + readonly provisioningState?: AssetProvisioningState; +} + +// @public +export interface ModelContainerResourceArmPaginatedResult { + nextLink?: string; + value?: ModelContainer[]; +} + +// @public +export interface ModelContainers { + createOrUpdate(resourceGroupName: string, workspaceName: string, name: string, body: ModelContainer, options?: ModelContainersCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, workspaceName: string, name: string, options?: ModelContainersDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, name: string, options?: ModelContainersGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: ModelContainersListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface ModelContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ModelContainersCreateOrUpdateResponse = ModelContainer; + +// @public +export interface ModelContainersDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface ModelContainersGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ModelContainersGetResponse = ModelContainer; + +// @public +export interface ModelContainersListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ModelContainersListNextResponse = ModelContainerResourceArmPaginatedResult; + +// @public +export interface ModelContainersListOptionalParams extends coreClient.OperationOptions { + count?: number; + listViewType?: ListViewType; + skip?: string; +} + +// @public +export type ModelContainersListResponse = ModelContainerResourceArmPaginatedResult; + +// @public +export type ModelSize = string; + +// @public +export type ModelTaskType = string; + +// @public +export interface ModelVersion extends ProxyResource { + properties: ModelVersionProperties; +} + +// @public +export interface ModelVersionProperties extends AssetBase { + flavors?: { + [propertyName: string]: FlavorData | null; + }; + jobName?: string; + modelType?: string; + modelUri?: string; + readonly provisioningState?: AssetProvisioningState; + stage?: string; } // @public -export enum KnownClassificationModels { - BernoulliNaiveBayes = "BernoulliNaiveBayes", - DecisionTree = "DecisionTree", - ExtremeRandomTrees = "ExtremeRandomTrees", - GradientBoosting = "GradientBoosting", - KNN = "KNN", - LightGBM = "LightGBM", - LinearSVM = "LinearSVM", - LogisticRegression = "LogisticRegression", - MultinomialNaiveBayes = "MultinomialNaiveBayes", - RandomForest = "RandomForest", - SGD = "SGD", - SVM = "SVM", - XGBoostClassifier = "XGBoostClassifier" +export interface ModelVersionResourceArmPaginatedResult { + nextLink?: string; + value?: ModelVersion[]; } // @public -export enum KnownClassificationMultilabelPrimaryMetrics { - Accuracy = "Accuracy", - AUCWeighted = "AUCWeighted", - AveragePrecisionScoreWeighted = "AveragePrecisionScoreWeighted", - IOU = "IOU", - NormMacroRecall = "NormMacroRecall", - PrecisionScoreWeighted = "PrecisionScoreWeighted" +export interface ModelVersions { + beginPublish(resourceGroupName: string, workspaceName: string, name: string, version: string, body: DestinationAsset, options?: ModelVersionsPublishOptionalParams): Promise, void>>; + beginPublishAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, body: DestinationAsset, options?: ModelVersionsPublishOptionalParams): Promise; + createOrUpdate(resourceGroupName: string, workspaceName: string, name: string, version: string, body: ModelVersion, options?: ModelVersionsCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: ModelVersionsDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: ModelVersionsGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, name: string, options?: ModelVersionsListOptionalParams): PagedAsyncIterableIterator; } // @public -export enum KnownClassificationPrimaryMetrics { - Accuracy = "Accuracy", - AUCWeighted = "AUCWeighted", - AveragePrecisionScoreWeighted = "AveragePrecisionScoreWeighted", - NormMacroRecall = "NormMacroRecall", - PrecisionScoreWeighted = "PrecisionScoreWeighted" +export interface ModelVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ModelVersionsCreateOrUpdateResponse = ModelVersion; + +// @public +export interface ModelVersionsDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface ModelVersionsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ModelVersionsGetResponse = ModelVersion; + +// @public +export interface ModelVersionsListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ModelVersionsListNextResponse = ModelVersionResourceArmPaginatedResult; + +// @public +export interface ModelVersionsListOptionalParams extends coreClient.OperationOptions { + description?: string; + feed?: string; + listViewType?: ListViewType; + offset?: number; + orderBy?: string; + properties?: string; + skip?: string; + tags?: string; + top?: number; + version?: string; +} + +// @public +export type ModelVersionsListResponse = ModelVersionResourceArmPaginatedResult; + +// @public +export interface ModelVersionsPublishHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface ModelVersionsPublishOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export interface MonitorComputeConfigurationBase { + computeType: "ServerlessSpark"; +} + +// @public (undocumented) +export type MonitorComputeConfigurationBaseUnion = MonitorComputeConfigurationBase | MonitorServerlessSparkCompute; + +// @public +export interface MonitorComputeIdentityBase { + computeIdentityType: "AmlToken" | "ManagedIdentity"; +} + +// @public (undocumented) +export type MonitorComputeIdentityBaseUnion = MonitorComputeIdentityBase | AmlTokenComputeIdentity | ManagedComputeIdentity; + +// @public +export type MonitorComputeIdentityType = string; + +// @public +export type MonitorComputeType = string; + +// @public (undocumented) +export interface MonitorDefinition { + alertNotificationSettings?: MonitorNotificationSettings; + computeConfiguration: MonitorComputeConfigurationBaseUnion; + monitoringTarget?: MonitoringTarget; + signals: { + [propertyName: string]: MonitoringSignalBaseUnion | null; + }; +} + +// @public (undocumented) +export interface MonitorEmailNotificationSettings { + emails?: string[]; +} + +// @public +export type MonitoringFeatureDataType = string; + +// @public (undocumented) +export interface MonitoringFeatureFilterBase { + filterType: "AllFeatures" | "FeatureSubset" | "TopNByAttribution"; +} + +// @public (undocumented) +export type MonitoringFeatureFilterBaseUnion = MonitoringFeatureFilterBase | AllFeatures | FeatureSubset | TopNFeaturesByAttribution; + +// @public +export type MonitoringFeatureFilterType = string; + +// @public +export interface MonitoringInputDataBase { + columns?: { + [propertyName: string]: string | null; + }; + dataContext?: string; + inputDataType: "Fixed" | "Rolling" | "Static"; + jobInputType: JobInputType; + uri: string; +} + +// @public (undocumented) +export type MonitoringInputDataBaseUnion = MonitoringInputDataBase | FixedInputData | RollingInputData | StaticInputData; + +// @public +export type MonitoringInputDataType = string; + +// @public +export type MonitoringNotificationType = string; + +// @public (undocumented) +export interface MonitoringSignalBase { + notificationTypes?: MonitoringNotificationType[]; + properties?: { + [propertyName: string]: string | null; + }; + signalType: "Custom" | "DataDrift" | "DataQuality" | "FeatureAttributionDrift" | "PredictionDrift"; +} + +// @public (undocumented) +export type MonitoringSignalBaseUnion = MonitoringSignalBase | CustomMonitoringSignal | DataDriftMonitoringSignal | DataQualityMonitoringSignal | FeatureAttributionDriftMonitoringSignal | PredictionDriftMonitoringSignal; + +// @public +export type MonitoringSignalType = string; + +// @public +export interface MonitoringTarget { + deploymentId?: string; + modelId?: string; + taskType: ModelTaskType; +} + +// @public (undocumented) +export interface MonitoringThreshold { + value?: number; +} + +// @public (undocumented) +export interface MonitorNotificationSettings { + emailNotificationSettings?: MonitorEmailNotificationSettings; +} + +// @public +export interface MonitorServerlessSparkCompute extends MonitorComputeConfigurationBase { + computeIdentity: MonitorComputeIdentityBaseUnion; + computeType: "ServerlessSpark"; + instanceType: string; + runtimeVersion: string; +} + +// @public +export type MountAction = string; + +// @public +export type MountState = string; + +// @public +export interface Mpi extends DistributionConfiguration { + distributionType: "Mpi"; + processCountPerInstance?: number; +} + +// @public +export interface NCrossValidations { + mode: "Auto" | "Custom"; +} + +// @public +export type NCrossValidationsMode = string; + +// @public (undocumented) +export type NCrossValidationsUnion = NCrossValidations | AutoNCrossValidations | CustomNCrossValidations; + +// @public +export type Network = string; + +// @public +export interface NlpVertical { + featurizationSettings?: NlpVerticalFeaturizationSettings; + limitSettings?: NlpVerticalLimitSettings; + validationData?: MLTableJobInput; +} + +// @public (undocumented) +export interface NlpVerticalFeaturizationSettings extends FeaturizationSettings { +} + +// @public +export interface NlpVerticalLimitSettings { + maxConcurrentTrials?: number; + maxTrials?: number; + timeout?: string; +} + +// @public +export interface Nodes { + nodesValueType: "All"; +} + +// @public +export type NodeState = string; + +// @public +export interface NodeStateCounts { + readonly idleNodeCount?: number; + readonly leavingNodeCount?: number; + readonly preemptedNodeCount?: number; + readonly preparingNodeCount?: number; + readonly runningNodeCount?: number; + readonly unusableNodeCount?: number; +} + +// @public (undocumented) +export type NodesUnion = Nodes | AllNodes; + +// @public +export type NodesValueType = string; + +// @public (undocumented) +export interface NoneAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { + authType: "None"; +} + +// @public +export interface NoneDatastoreCredentials extends DatastoreCredentials { + credentialsType: "None"; +} + +// @public (undocumented) +export interface NotebookAccessTokenResult { + readonly accessToken?: string; + readonly expiresIn?: number; + readonly hostName?: string; + readonly notebookResourceId?: string; + readonly publicDns?: string; + readonly refreshToken?: string; + readonly scope?: string; + readonly tokenType?: string; +} + +// @public (undocumented) +export interface NotebookPreparationError { + // (undocumented) + errorMessage?: string; + // (undocumented) + statusCode?: number; +} + +// @public (undocumented) +export interface NotebookResourceInfo { + // (undocumented) + fqdn?: string; + notebookPreparationError?: NotebookPreparationError; + resourceId?: string; } // @public -export enum KnownClusterPurpose { - DenseProd = "DenseProd", - DevTest = "DevTest", - FastProd = "FastProd" +export interface NotificationSetting { + emailOn?: EmailNotificationEnableType[]; + emails?: string[]; + webhooks?: { + [propertyName: string]: WebhookUnion | null; + }; } // @public -export enum KnownComputeInstanceAuthorizationType { - Personal = "personal" +export type NumericalDataDriftMetric = string; + +// @public (undocumented) +export interface NumericalDataDriftMetricThreshold extends DataDriftMetricThresholdBase { + dataType: "Numerical"; + metric: NumericalDataDriftMetric; } // @public -export enum KnownComputeInstanceState { - CreateFailed = "CreateFailed", - Creating = "Creating", - Deleting = "Deleting", - JobRunning = "JobRunning", - Restarting = "Restarting", - Running = "Running", - SettingUp = "SettingUp", - SetupFailed = "SetupFailed", - Starting = "Starting", - Stopped = "Stopped", - Stopping = "Stopping", - Unknown = "Unknown", - Unusable = "Unusable", - UserSettingUp = "UserSettingUp", - UserSetupFailed = "UserSetupFailed" +export type NumericalDataQualityMetric = string; + +// @public (undocumented) +export interface NumericalDataQualityMetricThreshold extends DataQualityMetricThresholdBase { + dataType: "Numerical"; + metric: NumericalDataQualityMetric; } // @public -export enum KnownComputePowerAction { - Start = "Start", - Stop = "Stop" +export type NumericalPredictionDriftMetric = string; + +// @public (undocumented) +export interface NumericalPredictionDriftMetricThreshold extends PredictionDriftMetricThresholdBase { + dataType: "Numerical"; + metric: NumericalPredictionDriftMetric; } // @public -export enum KnownComputeType { - AKS = "AKS", - AmlCompute = "AmlCompute", - ComputeInstance = "ComputeInstance", - Databricks = "Databricks", - DataFactory = "DataFactory", - DataLakeAnalytics = "DataLakeAnalytics", - HDInsight = "HDInsight", - Kubernetes = "Kubernetes", - SynapseSpark = "SynapseSpark", - VirtualMachine = "VirtualMachine" -} +export type ObjectDetectionPrimaryMetrics = string; // @public -export enum KnownConnectionAuthType { - ManagedIdentity = "ManagedIdentity", - None = "None", - PAT = "PAT", - SAS = "SAS", - UsernamePassword = "UsernamePassword" +export interface Objective { + goal: Goal; + primaryMetric: string; } // @public -export enum KnownConnectionCategory { - ContainerRegistry = "ContainerRegistry", - Git = "Git", - PythonFeed = "PythonFeed" +export interface OneLakeArtifact { + artifactName: string; + artifactType: "LakeHouse"; } // @public -export enum KnownContainerType { - InferenceServer = "InferenceServer", - StorageInitializer = "StorageInitializer" -} +export type OneLakeArtifactType = string; + +// @public (undocumented) +export type OneLakeArtifactUnion = OneLakeArtifact | LakeHouseArtifact; // @public -export enum KnownCreatedByType { - Application = "Application", - Key = "Key", - ManagedIdentity = "ManagedIdentity", - User = "User" +export interface OneLakeDatastore extends DatastoreProperties { + artifact: OneLakeArtifactUnion; + datastoreType: "OneLake"; + endpoint?: string; + oneLakeWorkspaceName: string; + serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; } -// @public -export enum KnownCredentialsType { - AccountKey = "AccountKey", - Certificate = "Certificate", - None = "None", - Sas = "Sas", - ServicePrincipal = "ServicePrincipal" +// @public (undocumented) +export interface OnlineDeployment extends TrackedResource { + identity?: ManagedServiceIdentity; + kind?: string; + properties: OnlineDeploymentPropertiesUnion; + sku?: Sku; } -// @public -export enum KnownDatastoreType { - AzureBlob = "AzureBlob", - AzureDataLakeGen1 = "AzureDataLakeGen1", - AzureDataLakeGen2 = "AzureDataLakeGen2", - AzureFile = "AzureFile" +// @public (undocumented) +export interface OnlineDeploymentProperties extends EndpointDeploymentPropertiesBase { + appInsightsEnabled?: boolean; + egressPublicNetworkAccess?: EgressPublicNetworkAccessType; + endpointComputeType: EndpointComputeType; + instanceType?: string; + livenessProbe?: ProbeSettings; + model?: string; + modelMountPath?: string; + readonly provisioningState?: DeploymentProvisioningState; + readinessProbe?: ProbeSettings; + requestSettings?: OnlineRequestSettings; + scaleSettings?: OnlineScaleSettingsUnion; } +// @public (undocumented) +export type OnlineDeploymentPropertiesUnion = OnlineDeploymentProperties | KubernetesOnlineDeployment | ManagedOnlineDeployment; + // @public -export enum KnownDataType { - Mltable = "mltable", - UriFile = "uri_file", - UriFolder = "uri_folder" +export interface OnlineDeployments { + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: OnlineDeployment, options?: OnlineDeploymentsCreateOrUpdateOptionalParams): Promise, OnlineDeploymentsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: OnlineDeployment, options?: OnlineDeploymentsCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, options?: OnlineDeploymentsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, options?: OnlineDeploymentsDeleteOptionalParams): Promise; + beginUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: PartialMinimalTrackedResourceWithSku, options?: OnlineDeploymentsUpdateOptionalParams): Promise, OnlineDeploymentsUpdateResponse>>; + beginUpdateAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: PartialMinimalTrackedResourceWithSku, options?: OnlineDeploymentsUpdateOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, options?: OnlineDeploymentsGetOptionalParams): Promise; + getLogs(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: DeploymentLogsRequest, options?: OnlineDeploymentsGetLogsOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, endpointName: string, options?: OnlineDeploymentsListOptionalParams): PagedAsyncIterableIterator; + listSkus(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, options?: OnlineDeploymentsListSkusOptionalParams): PagedAsyncIterableIterator; } // @public -export enum KnownDeploymentProvisioningState { - Canceled = "Canceled", - Creating = "Creating", - Deleting = "Deleting", - Failed = "Failed", - Scaling = "Scaling", - Succeeded = "Succeeded", - Updating = "Updating" +export interface OnlineDeploymentsCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; } // @public -export enum KnownDiagnoseResultLevel { - Error = "Error", - Information = "Information", - Warning = "Warning" +export interface OnlineDeploymentsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export enum KnownDistributionType { - Mpi = "Mpi", - PyTorch = "PyTorch", - TensorFlow = "TensorFlow" -} +export type OnlineDeploymentsCreateOrUpdateResponse = OnlineDeployment; // @public -export enum KnownEarlyTerminationPolicyType { - Bandit = "Bandit", - MedianStopping = "MedianStopping", - TruncationSelection = "TruncationSelection" +export interface OnlineDeploymentsDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; } // @public -export enum KnownEgressPublicNetworkAccessType { - Disabled = "Disabled", - Enabled = "Enabled" +export interface OnlineDeploymentsDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export enum KnownEncryptionStatus { - Disabled = "Disabled", - Enabled = "Enabled" +export interface OnlineDeploymentsGetLogsOptionalParams extends coreClient.OperationOptions { } // @public -export enum KnownEndpointAuthMode { - AADToken = "AADToken", - AMLToken = "AMLToken", - Key = "Key" -} +export type OnlineDeploymentsGetLogsResponse = DeploymentLogs; // @public -export enum KnownEndpointComputeType { - AzureMLCompute = "AzureMLCompute", - Kubernetes = "Kubernetes", - Managed = "Managed" +export interface OnlineDeploymentsGetOptionalParams extends coreClient.OperationOptions { } // @public -export enum KnownEndpointProvisioningState { - Canceled = "Canceled", - Creating = "Creating", - Deleting = "Deleting", - Failed = "Failed", - Succeeded = "Succeeded", - Updating = "Updating" -} +export type OnlineDeploymentsGetResponse = OnlineDeployment; // @public -export enum KnownEnvironmentType { - Curated = "Curated", - UserCreated = "UserCreated" +export interface OnlineDeploymentsListNextOptionalParams extends coreClient.OperationOptions { } // @public -export enum KnownFeatureLags { - Auto = "Auto", - None = "None" -} +export type OnlineDeploymentsListNextResponse = OnlineDeploymentTrackedResourceArmPaginatedResult; // @public -export enum KnownFeaturizationMode { - Auto = "Auto", - Custom = "Custom", - Off = "Off" +export interface OnlineDeploymentsListOptionalParams extends coreClient.OperationOptions { + orderBy?: string; + skip?: string; + top?: number; } // @public -export enum KnownForecastHorizonMode { - Auto = "Auto", - Custom = "Custom" -} +export type OnlineDeploymentsListResponse = OnlineDeploymentTrackedResourceArmPaginatedResult; // @public -export enum KnownForecastingModels { - Arimax = "Arimax", - AutoArima = "AutoArima", - Average = "Average", - DecisionTree = "DecisionTree", - ElasticNet = "ElasticNet", - ExponentialSmoothing = "ExponentialSmoothing", - ExtremeRandomTrees = "ExtremeRandomTrees", - GradientBoosting = "GradientBoosting", - KNN = "KNN", - LassoLars = "LassoLars", - LightGBM = "LightGBM", - Naive = "Naive", - Prophet = "Prophet", - RandomForest = "RandomForest", - SeasonalAverage = "SeasonalAverage", - SeasonalNaive = "SeasonalNaive", - SGD = "SGD", - TCNForecaster = "TCNForecaster", - XGBoostRegressor = "XGBoostRegressor" +export interface OnlineDeploymentsListSkusNextOptionalParams extends coreClient.OperationOptions { } // @public -export enum KnownForecastingPrimaryMetrics { - NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError", - NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", - R2Score = "R2Score", - SpearmanCorrelation = "SpearmanCorrelation" -} +export type OnlineDeploymentsListSkusNextResponse = SkuResourceArmPaginatedResult; // @public -export enum KnownGoal { - Maximize = "Maximize", - Minimize = "Minimize" +export interface OnlineDeploymentsListSkusOptionalParams extends coreClient.OperationOptions { + count?: number; + skip?: string; } // @public -export enum KnownIdentityConfigurationType { - AMLToken = "AMLToken", - Managed = "Managed", - UserIdentity = "UserIdentity" -} +export type OnlineDeploymentsListSkusResponse = SkuResourceArmPaginatedResult; // @public -export enum KnownInputDeliveryMode { - Direct = "Direct", - Download = "Download", - EvalDownload = "EvalDownload", - EvalMount = "EvalMount", - ReadOnlyMount = "ReadOnlyMount", - ReadWriteMount = "ReadWriteMount" +export interface OnlineDeploymentsUpdateHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; } // @public -export enum KnownInstanceSegmentationPrimaryMetrics { - MeanAveragePrecision = "MeanAveragePrecision" +export interface OnlineDeploymentsUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export enum KnownJobInputType { - CustomModel = "custom_model", - Literal = "literal", - MlflowModel = "mlflow_model", - Mltable = "mltable", - TritonModel = "triton_model", - UriFile = "uri_file", - UriFolder = "uri_folder" -} +export type OnlineDeploymentsUpdateResponse = OnlineDeployment; // @public -export enum KnownJobLimitsType { - Command = "Command", - Sweep = "Sweep" +export interface OnlineDeploymentTrackedResourceArmPaginatedResult { + nextLink?: string; + value?: OnlineDeployment[]; } -// @public -export enum KnownJobOutputType { - CustomModel = "custom_model", - MlflowModel = "mlflow_model", - Mltable = "mltable", - TritonModel = "triton_model", - UriFile = "uri_file", - UriFolder = "uri_folder" +// @public (undocumented) +export interface OnlineEndpoint extends TrackedResource { + identity?: ManagedServiceIdentity; + kind?: string; + properties: OnlineEndpointProperties; + sku?: Sku; } // @public -export enum KnownJobStatus { - Canceled = "Canceled", - CancelRequested = "CancelRequested", - Completed = "Completed", - Failed = "Failed", - Finalizing = "Finalizing", - NotResponding = "NotResponding", - NotStarted = "NotStarted", - Paused = "Paused", - Preparing = "Preparing", - Provisioning = "Provisioning", - Queued = "Queued", - Running = "Running", - Starting = "Starting", - Unknown = "Unknown" +export interface OnlineEndpointProperties extends EndpointPropertiesBase { + compute?: string; + mirrorTraffic?: { + [propertyName: string]: number; + }; + readonly provisioningState?: EndpointProvisioningState; + publicNetworkAccess?: PublicNetworkAccessType; + traffic?: { + [propertyName: string]: number; + }; } // @public -export enum KnownJobType { - AutoML = "AutoML", - Command = "Command", - Pipeline = "Pipeline", - Sweep = "Sweep" +export interface OnlineEndpoints { + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, body: OnlineEndpoint, options?: OnlineEndpointsCreateOrUpdateOptionalParams): Promise, OnlineEndpointsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, body: OnlineEndpoint, options?: OnlineEndpointsCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, endpointName: string, options?: OnlineEndpointsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, options?: OnlineEndpointsDeleteOptionalParams): Promise; + beginRegenerateKeys(resourceGroupName: string, workspaceName: string, endpointName: string, body: RegenerateEndpointKeysRequest, options?: OnlineEndpointsRegenerateKeysOptionalParams): Promise, void>>; + beginRegenerateKeysAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, body: RegenerateEndpointKeysRequest, options?: OnlineEndpointsRegenerateKeysOptionalParams): Promise; + beginUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, body: PartialMinimalTrackedResourceWithIdentity, options?: OnlineEndpointsUpdateOptionalParams): Promise, OnlineEndpointsUpdateResponse>>; + beginUpdateAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, body: PartialMinimalTrackedResourceWithIdentity, options?: OnlineEndpointsUpdateOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, endpointName: string, options?: OnlineEndpointsGetOptionalParams): Promise; + getToken(resourceGroupName: string, workspaceName: string, endpointName: string, options?: OnlineEndpointsGetTokenOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: OnlineEndpointsListOptionalParams): PagedAsyncIterableIterator; + listKeys(resourceGroupName: string, workspaceName: string, endpointName: string, options?: OnlineEndpointsListKeysOptionalParams): Promise; } // @public -export enum KnownKeyType { - Primary = "Primary", - Secondary = "Secondary" +export interface OnlineEndpointsCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; } // @public -export enum KnownLearningRateScheduler { - None = "None", - Step = "Step", - WarmupCosine = "WarmupCosine" +export interface OnlineEndpointsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export enum KnownListViewType { - ActiveOnly = "ActiveOnly", - All = "All", - ArchivedOnly = "ArchivedOnly" -} +export type OnlineEndpointsCreateOrUpdateResponse = OnlineEndpoint; // @public -export enum KnownLoadBalancerType { - InternalLoadBalancer = "InternalLoadBalancer", - PublicIp = "PublicIp" +export interface OnlineEndpointsDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; } // @public -export enum KnownLogVerbosity { - Critical = "Critical", - Debug = "Debug", - Error = "Error", - Info = "Info", - NotSet = "NotSet", - Warning = "Warning" +export interface OnlineEndpointsDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export enum KnownManagedServiceIdentityType { - None = "None", - SystemAssigned = "SystemAssigned", - SystemAssignedUserAssigned = "SystemAssigned,UserAssigned", - UserAssigned = "UserAssigned" +export interface OnlineEndpointsGetOptionalParams extends coreClient.OperationOptions { } // @public -export enum KnownModelSize { - ExtraLarge = "ExtraLarge", - Large = "Large", - Medium = "Medium", - None = "None", - Small = "Small" -} +export type OnlineEndpointsGetResponse = OnlineEndpoint; // @public -export enum KnownMountAction { - Mount = "Mount", - Unmount = "Unmount" +export interface OnlineEndpointsGetTokenOptionalParams extends coreClient.OperationOptions { } // @public -export enum KnownMountState { - Mounted = "Mounted", - MountFailed = "MountFailed", - MountRequested = "MountRequested", - Unmounted = "Unmounted", - UnmountFailed = "UnmountFailed", - UnmountRequested = "UnmountRequested" -} +export type OnlineEndpointsGetTokenResponse = EndpointAuthToken; // @public -export enum KnownNCrossValidationsMode { - Auto = "Auto", - Custom = "Custom" +export interface OnlineEndpointsListKeysOptionalParams extends coreClient.OperationOptions { } // @public -export enum KnownNetwork { - Bridge = "Bridge", - Host = "Host" -} +export type OnlineEndpointsListKeysResponse = EndpointAuthKeys; // @public -export enum KnownNodeState { - Idle = "idle", - Leaving = "leaving", - Preempted = "preempted", - Preparing = "preparing", - Running = "running", - Unusable = "unusable" +export interface OnlineEndpointsListNextOptionalParams extends coreClient.OperationOptions { } // @public -export enum KnownObjectDetectionPrimaryMetrics { - MeanAveragePrecision = "MeanAveragePrecision" -} +export type OnlineEndpointsListNextResponse = OnlineEndpointTrackedResourceArmPaginatedResult; // @public -export enum KnownOperatingSystemType { - Linux = "Linux", - Windows = "Windows" +export interface OnlineEndpointsListOptionalParams extends coreClient.OperationOptions { + computeType?: EndpointComputeType; + count?: number; + name?: string; + orderBy?: OrderString; + properties?: string; + skip?: string; + tags?: string; } // @public -export enum KnownOperationName { - Create = "Create", - Delete = "Delete", - Reimage = "Reimage", - Restart = "Restart", - Start = "Start", - Stop = "Stop" -} +export type OnlineEndpointsListResponse = OnlineEndpointTrackedResourceArmPaginatedResult; // @public -export enum KnownOperationStatus { - CreateFailed = "CreateFailed", - DeleteFailed = "DeleteFailed", - InProgress = "InProgress", - ReimageFailed = "ReimageFailed", - RestartFailed = "RestartFailed", - StartFailed = "StartFailed", - StopFailed = "StopFailed", - Succeeded = "Succeeded" +export interface OnlineEndpointsRegenerateKeysHeaders { + location?: string; + retryAfter?: number; } // @public -export enum KnownOperationTrigger { - IdleShutdown = "IdleShutdown", - Schedule = "Schedule", - User = "User" +export interface OnlineEndpointsRegenerateKeysOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export enum KnownOrderString { - CreatedAtAsc = "CreatedAtAsc", - CreatedAtDesc = "CreatedAtDesc", - UpdatedAtAsc = "UpdatedAtAsc", - UpdatedAtDesc = "UpdatedAtDesc" +export interface OnlineEndpointsUpdateHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; } // @public -export enum KnownOsType { - Linux = "Linux", - Windows = "Windows" +export interface OnlineEndpointsUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export enum KnownOutputDeliveryMode { - ReadWriteMount = "ReadWriteMount", - Upload = "Upload" -} +export type OnlineEndpointsUpdateResponse = OnlineEndpoint; // @public -export enum KnownPrivateEndpointConnectionProvisioningState { - Creating = "Creating", - Deleting = "Deleting", - Failed = "Failed", - Succeeded = "Succeeded" +export interface OnlineEndpointTrackedResourceArmPaginatedResult { + nextLink?: string; + value?: OnlineEndpoint[]; } // @public -export enum KnownPrivateEndpointServiceConnectionStatus { - Approved = "Approved", - Disconnected = "Disconnected", - Pending = "Pending", - Rejected = "Rejected", - Timeout = "Timeout" +export interface OnlineRequestSettings { + maxConcurrentRequestsPerInstance?: number; + maxQueueWait?: string; + requestTimeout?: string; } // @public -export enum KnownProvisioningState { - Canceled = "Canceled", - Creating = "Creating", - Deleting = "Deleting", - Failed = "Failed", - Succeeded = "Succeeded", - Unknown = "Unknown", - Updating = "Updating" +export interface OnlineScaleSettings { + scaleType: "Default" | "TargetUtilization"; } +// @public (undocumented) +export type OnlineScaleSettingsUnion = OnlineScaleSettings | DefaultScaleSettings | TargetUtilizationScaleSettings; + // @public -export enum KnownProvisioningStatus { - Completed = "Completed", - Failed = "Failed", - Provisioning = "Provisioning" +export type OperatingSystemType = string; + +// @public +export interface Operation { + readonly actionType?: ActionType; + display?: OperationDisplay; + readonly isDataAction?: boolean; + readonly name?: string; + readonly origin?: Origin; } // @public -export enum KnownPublicNetworkAccess { - Disabled = "Disabled", - Enabled = "Enabled" +export interface OperationDisplay { + readonly description?: string; + readonly operation?: string; + readonly provider?: string; + readonly resource?: string; } // @public -export enum KnownPublicNetworkAccessType { - Disabled = "Disabled", - Enabled = "Enabled" +export interface OperationListResult { + readonly nextLink?: string; + readonly value?: Operation[]; } // @public -export enum KnownQuotaUnit { - Count = "Count" -} +export type OperationName = string; // @public -export enum KnownRandomSamplingAlgorithmRule { - Random = "Random", - Sobol = "Sobol" +export interface Operations { + list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator; } // @public -export enum KnownRecurrenceFrequency { - Day = "Day", - Hour = "Hour", - Minute = "Minute", - Month = "Month", - Week = "Week" +export interface OperationsListOptionalParams extends coreClient.OperationOptions { } // @public -export enum KnownReferenceType { - DataPath = "DataPath", - Id = "Id", - OutputPath = "OutputPath" -} +export type OperationsListResponse = OperationListResult; // @public -export enum KnownRegressionModels { - DecisionTree = "DecisionTree", - ElasticNet = "ElasticNet", - ExtremeRandomTrees = "ExtremeRandomTrees", - GradientBoosting = "GradientBoosting", - KNN = "KNN", - LassoLars = "LassoLars", - LightGBM = "LightGBM", - RandomForest = "RandomForest", - SGD = "SGD", - XGBoostRegressor = "XGBoostRegressor" -} +export type OperationStatus = string; // @public -export enum KnownRegressionPrimaryMetrics { - NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError", - NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", - R2Score = "R2Score", - SpearmanCorrelation = "SpearmanCorrelation" -} +export type OperationTrigger = string; // @public -export enum KnownRemoteLoginPortPublicAccess { - Disabled = "Disabled", - Enabled = "Enabled", - NotSpecified = "NotSpecified" -} +export type OrderString = string; // @public -export enum KnownSamplingAlgorithmType { - Bayesian = "Bayesian", - Grid = "Grid", - Random = "Random" -} +export type Origin = string; // @public -export enum KnownScaleType { - Default = "Default", - TargetUtilization = "TargetUtilization" -} +export type OsType = string; // @public -export enum KnownScheduleActionType { - CreateJob = "CreateJob", - InvokeBatchEndpoint = "InvokeBatchEndpoint" +export interface OutboundRule { + category?: RuleCategory; + status?: RuleStatus; + type: "PrivateEndpoint" | "ServiceTag" | "FQDN"; } // @public -export enum KnownScheduleListViewType { - All = "All", - DisabledOnly = "DisabledOnly", - EnabledOnly = "EnabledOnly" +export interface OutboundRuleBasicResource extends Resource { + properties: OutboundRuleUnion; } // @public -export enum KnownScheduleProvisioningState { - Completed = "Completed", - Failed = "Failed", - Provisioning = "Provisioning" +export interface OutboundRuleListResult { + nextLink?: string; + value?: OutboundRuleBasicResource[]; } +// @public (undocumented) +export type OutboundRuleUnion = OutboundRule | PrivateEndpointOutboundRule | ServiceTagOutboundRule | FqdnOutboundRule; + // @public -export enum KnownScheduleProvisioningStatus { - Canceled = "Canceled", - Creating = "Creating", - Deleting = "Deleting", - Failed = "Failed", - Succeeded = "Succeeded", - Updating = "Updating" -} +export type OutputDeliveryMode = string; // @public -export enum KnownScheduleStatus { - Disabled = "Disabled", - Enabled = "Enabled" +export interface OutputPathAssetReference extends AssetReferenceBase { + jobId?: string; + path?: string; + referenceType: "OutputPath"; } // @public -export enum KnownSeasonalityMode { - Auto = "Auto", - Custom = "Custom" +export interface PaginatedComputeResourcesList { + nextLink?: string; + value?: ComputeResource[]; } // @public -export enum KnownSecretsType { - AccountKey = "AccountKey", - Certificate = "Certificate", - Sas = "Sas", - ServicePrincipal = "ServicePrincipal" +export interface PartialBatchDeployment { + description?: string; } // @public -export enum KnownServiceDataAccessAuthIdentity { - None = "None", - WorkspaceSystemAssignedIdentity = "WorkspaceSystemAssignedIdentity", - WorkspaceUserAssignedIdentity = "WorkspaceUserAssignedIdentity" +export interface PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties { + properties?: PartialBatchDeployment; + tags?: { + [propertyName: string]: string | null; + }; } // @public -export enum KnownShortSeriesHandlingConfiguration { - Auto = "Auto", - Drop = "Drop", - None = "None", - Pad = "Pad" +export interface PartialManagedServiceIdentity { + type?: ManagedServiceIdentityType; + userAssignedIdentities?: { + [propertyName: string]: Record; + }; } // @public -export enum KnownSkuScaleType { - Automatic = "Automatic", - Manual = "Manual", - None = "None" +export interface PartialMinimalTrackedResource { + tags?: { + [propertyName: string]: string | null; + }; } // @public -export enum KnownSourceType { - Dataset = "Dataset", - Datastore = "Datastore", - URI = "URI" +export interface PartialMinimalTrackedResourceWithIdentity extends PartialMinimalTrackedResource { + identity?: PartialManagedServiceIdentity; } // @public -export enum KnownSshPublicAccess { - Disabled = "Disabled", - Enabled = "Enabled" +export interface PartialMinimalTrackedResourceWithSku extends PartialMinimalTrackedResource { + sku?: PartialSku; } // @public -export enum KnownSslConfigStatus { - Auto = "Auto", - Disabled = "Disabled", - Enabled = "Enabled" +export interface PartialRegistryPartialTrackedResource { + identity?: RegistryPartialManagedServiceIdentity; + sku?: PartialSku; + tags?: { + [propertyName: string]: string | null; + }; } // @public -export enum KnownStackMetaLearnerType { - ElasticNet = "ElasticNet", - ElasticNetCV = "ElasticNetCV", - LightGBMClassifier = "LightGBMClassifier", - LightGBMRegressor = "LightGBMRegressor", - LinearRegression = "LinearRegression", - LogisticRegression = "LogisticRegression", - LogisticRegressionCV = "LogisticRegressionCV", - None = "None" +export interface PartialSku { + capacity?: number; + family?: string; + name?: string; + size?: string; + tier?: SkuTier; } -// @public -export enum KnownStatus { - Failure = "Failure", - InvalidQuotaBelowClusterMinimum = "InvalidQuotaBelowClusterMinimum", - InvalidQuotaExceedsSubscriptionLimit = "InvalidQuotaExceedsSubscriptionLimit", - InvalidVMFamilyName = "InvalidVMFamilyName", - OperationNotEnabledForRegion = "OperationNotEnabledForRegion", - OperationNotSupportedForSku = "OperationNotSupportedForSku", - Success = "Success", - Undefined = "Undefined" +// @public (undocumented) +export interface Password { + readonly name?: string; + readonly value?: string; +} + +// @public (undocumented) +export interface PATAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { + authType: "PAT"; + // (undocumented) + credentials?: WorkspaceConnectionPersonalAccessToken; } +// @public (undocumented) +export interface PendingUploadCredentialDto { + credentialType: "SAS"; +} + +// @public (undocumented) +export type PendingUploadCredentialDtoUnion = PendingUploadCredentialDto | SASCredentialDto; + // @public -export enum KnownStochasticOptimizer { - Adam = "Adam", - Adamw = "Adamw", - None = "None", - Sgd = "Sgd" +export type PendingUploadCredentialType = string; + +// @public (undocumented) +export interface PendingUploadRequestDto { + pendingUploadId?: string; + pendingUploadType?: PendingUploadType; +} + +// @public (undocumented) +export interface PendingUploadResponseDto { + blobReferenceForConsumption?: BlobReferenceForConsumptionDto; + pendingUploadId?: string; + pendingUploadType?: PendingUploadType; } // @public -export enum KnownStorageAccountType { - PremiumLRS = "Premium_LRS", - StandardLRS = "Standard_LRS" +export type PendingUploadType = string; + +// @public +export interface PersonalComputeInstanceSettings { + assignedUser?: AssignedUser; } // @public -export enum KnownTargetAggregationFunction { - Max = "Max", - Mean = "Mean", - Min = "Min", - None = "None", - Sum = "Sum" +export interface PipelineJob extends JobBaseProperties { + inputs?: { + [propertyName: string]: JobInputUnion | null; + }; + jobs?: { + [propertyName: string]: Record; + }; + jobType: "Pipeline"; + outputs?: { + [propertyName: string]: JobOutputUnion | null; + }; + settings?: Record; + sourceJobId?: string; +} + +// @public (undocumented) +export interface PredictionDriftMetricThresholdBase { + dataType: "Categorical" | "Numerical"; + threshold?: MonitoringThreshold; +} + +// @public (undocumented) +export type PredictionDriftMetricThresholdBaseUnion = PredictionDriftMetricThresholdBase | CategoricalPredictionDriftMetricThreshold | NumericalPredictionDriftMetricThreshold; + +// @public (undocumented) +export interface PredictionDriftMonitoringSignal extends MonitoringSignalBase { + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; + }; + metricThresholds: PredictionDriftMetricThresholdBaseUnion[]; + productionData: MonitoringInputDataBaseUnion; + referenceData: MonitoringInputDataBaseUnion; + signalType: "PredictionDrift"; } // @public -export enum KnownTargetLagsMode { - Auto = "Auto", - Custom = "Custom" +export interface PrivateEndpoint { + readonly id?: string; } // @public -export enum KnownTargetRollingWindowSizeMode { - Auto = "Auto", - Custom = "Custom" +export interface PrivateEndpointConnection extends Resource { + identity?: ManagedServiceIdentity; + location?: string; + privateEndpoint?: PrivateEndpoint; + privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; + readonly provisioningState?: PrivateEndpointConnectionProvisioningState; + sku?: Sku; + tags?: { + [propertyName: string]: string; + }; } // @public -export enum KnownTaskType { - Classification = "Classification", - Forecasting = "Forecasting", - ImageClassification = "ImageClassification", - ImageClassificationMultilabel = "ImageClassificationMultilabel", - ImageInstanceSegmentation = "ImageInstanceSegmentation", - ImageObjectDetection = "ImageObjectDetection", - Regression = "Regression", - TextClassification = "TextClassification", - TextClassificationMultilabel = "TextClassificationMultilabel", - TextNER = "TextNER" +export interface PrivateEndpointConnectionListResult { + value?: PrivateEndpointConnection[]; } // @public -export enum KnownTriggerType { - Cron = "Cron", - Recurrence = "Recurrence" -} +export type PrivateEndpointConnectionProvisioningState = string; // @public -export enum KnownUnderlyingResourceAction { - Delete = "Delete", - Detach = "Detach" +export interface PrivateEndpointConnections { + createOrUpdate(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: PrivateEndpointConnectionsListOptionalParams): PagedAsyncIterableIterator; } // @public -export enum KnownUnitOfMeasure { - OneHour = "OneHour" +export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { } // @public -export enum KnownUsageUnit { - Count = "Count" -} +export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection; // @public -export enum KnownUseStl { - None = "None", - Season = "Season", - SeasonTrend = "SeasonTrend" +export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions { } // @public -export enum KnownValidationMetricType { - Coco = "Coco", - CocoVoc = "CocoVoc", - None = "None", - Voc = "Voc" +export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions { } // @public -export enum KnownValueFormat { - Json = "JSON" -} +export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection; // @public -export enum KnownVMPriceOSType { - Linux = "Linux", - Windows = "Windows" +export interface PrivateEndpointConnectionsListOptionalParams extends coreClient.OperationOptions { } // @public -export enum KnownVmPriority { - Dedicated = "Dedicated", - LowPriority = "LowPriority" -} +export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult; // @public -export enum KnownVMTier { - LowPriority = "LowPriority", - Spot = "Spot", - Standard = "Standard" +export interface PrivateEndpointDestination { + // (undocumented) + serviceResourceId?: string; + // (undocumented) + sparkEnabled?: boolean; + sparkStatus?: RuleStatus; + // (undocumented) + subresourceTarget?: string; } // @public -export enum KnownWeekDay { - Friday = "Friday", - Monday = "Monday", - Saturday = "Saturday", - Sunday = "Sunday", - Thursday = "Thursday", - Tuesday = "Tuesday", - Wednesday = "Wednesday" +export interface PrivateEndpointOutboundRule extends OutboundRule { + destination?: PrivateEndpointDestination; + type: "PrivateEndpoint"; } // @public -export interface Kubernetes extends Compute, KubernetesSchema { - computeType: "Kubernetes"; +export interface PrivateEndpointResource extends PrivateEndpoint { + subnetArmId?: string; } // @public -export interface KubernetesOnlineDeployment extends OnlineDeploymentProperties { - containerResourceRequirements?: ContainerResourceRequirements; - endpointComputeType: "Kubernetes"; -} +export type PrivateEndpointServiceConnectionStatus = string; // @public -export interface KubernetesProperties { - defaultInstanceType?: string; - extensionInstanceReleaseTrain?: string; - extensionPrincipalId?: string; - instanceTypes?: { - [propertyName: string]: InstanceTypeSchema; +export interface PrivateLinkResource extends Resource { + readonly groupId?: string; + identity?: ManagedServiceIdentity; + location?: string; + readonly requiredMembers?: string[]; + requiredZoneNames?: string[]; + sku?: Sku; + tags?: { + [propertyName: string]: string; }; - namespace?: string; - relayConnectionString?: string; - serviceBusConnectionString?: string; - vcName?: string; } // @public -export interface KubernetesSchema { - properties?: KubernetesProperties; +export interface PrivateLinkResourceListResult { + value?: PrivateLinkResource[]; } // @public -export type LearningRateScheduler = string; +export interface PrivateLinkResources { + list(resourceGroupName: string, workspaceName: string, options?: PrivateLinkResourcesListOptionalParams): Promise; +} // @public -export interface ListAmlUserFeatureResult { - readonly nextLink?: string; - readonly value?: AmlUserFeature[]; +export interface PrivateLinkResourcesListOptionalParams extends coreClient.OperationOptions { } -// @public (undocumented) -export interface ListNotebookKeysResult { - readonly primaryAccessKey?: string; - readonly secondaryAccessKey?: string; -} +// @public +export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult; -// @public (undocumented) -export interface ListStorageAccountKeysResult { - readonly userStorageKey?: string; +// @public +export interface PrivateLinkServiceConnectionState { + actionsRequired?: string; + description?: string; + status?: PrivateEndpointServiceConnectionStatus; } // @public -export interface ListUsagesResult { - readonly nextLink?: string; - readonly value?: Usage[]; +export interface ProbeSettings { + failureThreshold?: number; + initialDelay?: string; + period?: string; + successThreshold?: number; + timeout?: string; } // @public -export type ListViewType = string; +export type Protocol = string; -// @public (undocumented) -export interface ListWorkspaceKeysResult { - readonly appInsightsInstrumentationKey?: string; - readonly containerRegistryCredentials?: RegistryListCredentialsResult; - readonly notebookAccessKeys?: ListNotebookKeysResult; - readonly userStorageKey?: string; - readonly userStorageResourceId?: string; -} +// @public +export type ProvisioningState = string; // @public -export interface ListWorkspaceQuotas { - readonly nextLink?: string; - readonly value?: ResourceQuota[]; -} +export type ProvisioningStatus = string; // @public -export interface LiteralJobInput extends JobInput { - jobInputType: "literal"; - value: string; +export interface ProxyResource extends Resource { } // @public -export type LoadBalancerType = string; +export type PublicNetworkAccess = string; // @public -export type LogVerbosity = string; +export type PublicNetworkAccessType = string; // @public -export interface ManagedIdentity extends IdentityConfiguration { - clientId?: string; - identityType: "Managed"; - objectId?: string; - resourceId?: string; +export interface PyTorch extends DistributionConfiguration { + distributionType: "PyTorch"; + processCountPerInstance?: number; } // @public (undocumented) -export interface ManagedIdentityAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { - authType: "ManagedIdentity"; - // (undocumented) - credentials?: WorkspaceConnectionManagedIdentity; +export interface QueueSettings { + jobTier?: JobTier; } // @public -export interface ManagedOnlineDeployment extends OnlineDeploymentProperties { - endpointComputeType: "Managed"; +export interface QuotaBaseProperties { + id?: string; + limit?: number; + type?: string; + unit?: QuotaUnit; } // @public -export interface ManagedServiceIdentity { - readonly principalId?: string; - readonly tenantId?: string; - type: ManagedServiceIdentityType; - userAssignedIdentities?: { - [propertyName: string]: UserAssignedIdentity; - }; +export interface Quotas { + list(location: string, options?: QuotasListOptionalParams): PagedAsyncIterableIterator; + update(location: string, parameters: QuotaUpdateParameters, options?: QuotasUpdateOptionalParams): Promise; } // @public -export type ManagedServiceIdentityType = string; +export interface QuotasListNextOptionalParams extends coreClient.OperationOptions { +} // @public -export interface MedianStoppingPolicy extends EarlyTerminationPolicy { - policyType: "MedianStopping"; -} +export type QuotasListNextResponse = ListWorkspaceQuotas; -// @public (undocumented) -export interface MLFlowModelJobInput extends AssetJobInput, JobInput { +// @public +export interface QuotasListOptionalParams extends coreClient.OperationOptions { } -// @public (undocumented) -export interface MLFlowModelJobOutput extends AssetJobOutput, JobOutput { -} +// @public +export type QuotasListResponse = ListWorkspaceQuotas; // @public -export interface MLTableData extends DataVersionBaseProperties { - dataType: "mltable"; - referencedUris?: string[]; +export interface QuotasUpdateOptionalParams extends coreClient.OperationOptions { } -// @public (undocumented) -export interface MLTableJobInput extends AssetJobInput, JobInput { -} +// @public +export type QuotasUpdateResponse = UpdateWorkspaceQuotasResult; -// @public (undocumented) -export interface MLTableJobOutput extends AssetJobOutput, JobOutput { -} +// @public +export type QuotaUnit = string; // @public -export interface ModelContainer extends Resource { - properties: ModelContainerProperties; +export interface QuotaUpdateParameters { + location?: string; + value?: QuotaBaseProperties[]; } -// @public (undocumented) -export interface ModelContainerProperties extends AssetContainer { +// @public +export interface RandomSamplingAlgorithm extends SamplingAlgorithm { + rule?: RandomSamplingAlgorithmRule; + samplingAlgorithmType: "Random"; + seed?: number; } // @public -export interface ModelContainerResourceArmPaginatedResult { - nextLink?: string; - value?: ModelContainer[]; -} +export type RandomSamplingAlgorithmRule = string; // @public -export interface ModelContainers { - createOrUpdate(resourceGroupName: string, workspaceName: string, name: string, body: ModelContainer, options?: ModelContainersCreateOrUpdateOptionalParams): Promise; - delete(resourceGroupName: string, workspaceName: string, name: string, options?: ModelContainersDeleteOptionalParams): Promise; - get(resourceGroupName: string, workspaceName: string, name: string, options?: ModelContainersGetOptionalParams): Promise; - list(resourceGroupName: string, workspaceName: string, options?: ModelContainersListOptionalParams): PagedAsyncIterableIterator; +export interface Recurrence { + frequency?: ComputeRecurrenceFrequency; + interval?: number; + schedule?: ComputeRecurrenceSchedule; + startTime?: string; + timeZone?: string; } // @public -export interface ModelContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +export type RecurrenceFrequency = string; + +// @public (undocumented) +export interface RecurrenceSchedule { + hours: number[]; + minutes: number[]; + monthDays?: number[]; + weekDays?: WeekDay[]; +} + +// @public (undocumented) +export interface RecurrenceTrigger extends TriggerBase { + frequency: RecurrenceFrequency; + interval: number; + schedule?: RecurrenceSchedule; + triggerType: "Recurrence"; } // @public -export type ModelContainersCreateOrUpdateResponse = ModelContainer; +export type ReferenceType = string; -// @public -export interface ModelContainersDeleteOptionalParams extends coreClient.OperationOptions { +// @public (undocumented) +export interface RegenerateEndpointKeysRequest { + keyType: KeyType_2; + keyValue?: string; } // @public -export interface ModelContainersGetOptionalParams extends coreClient.OperationOptions { +export interface Registries { + beginCreateOrUpdate(resourceGroupName: string, registryName: string, body: Registry, options?: RegistriesCreateOrUpdateOptionalParams): Promise, RegistriesCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, registryName: string, body: Registry, options?: RegistriesCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, registryName: string, options?: RegistriesDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, registryName: string, options?: RegistriesDeleteOptionalParams): Promise; + beginRemoveRegions(resourceGroupName: string, registryName: string, body: Registry, options?: RegistriesRemoveRegionsOptionalParams): Promise, RegistriesRemoveRegionsResponse>>; + beginRemoveRegionsAndWait(resourceGroupName: string, registryName: string, body: Registry, options?: RegistriesRemoveRegionsOptionalParams): Promise; + get(resourceGroupName: string, registryName: string, options?: RegistriesGetOptionalParams): Promise; + list(resourceGroupName: string, options?: RegistriesListOptionalParams): PagedAsyncIterableIterator; + listBySubscription(options?: RegistriesListBySubscriptionOptionalParams): PagedAsyncIterableIterator; + update(resourceGroupName: string, registryName: string, body: PartialRegistryPartialTrackedResource, options?: RegistriesUpdateOptionalParams): Promise; } // @public -export type ModelContainersGetResponse = ModelContainer; +export interface RegistriesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} // @public -export interface ModelContainersListNextOptionalParams extends coreClient.OperationOptions { - count?: number; - listViewType?: ListViewType; - skip?: string; -} +export type RegistriesCreateOrUpdateResponse = Registry; // @public -export type ModelContainersListNextResponse = ModelContainerResourceArmPaginatedResult; +export interface RegistriesDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; +} // @public -export interface ModelContainersListOptionalParams extends coreClient.OperationOptions { - count?: number; - listViewType?: ListViewType; - skip?: string; +export interface RegistriesDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export type ModelContainersListResponse = ModelContainerResourceArmPaginatedResult; +export interface RegistriesGetOptionalParams extends coreClient.OperationOptions { +} // @public -export type ModelSize = string; +export type RegistriesGetResponse = Registry; // @public -export interface ModelVersion extends Resource { - properties: ModelVersionProperties; +export interface RegistriesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions { } // @public -export interface ModelVersionProperties extends AssetBase { - flavors?: { - [propertyName: string]: FlavorData | null; - }; - jobName?: string; - modelType?: string; - modelUri?: string; -} +export type RegistriesListBySubscriptionNextResponse = RegistryTrackedResourceArmPaginatedResult; // @public -export interface ModelVersionResourceArmPaginatedResult { - nextLink?: string; - value?: ModelVersion[]; +export interface RegistriesListBySubscriptionOptionalParams extends coreClient.OperationOptions { } // @public -export interface ModelVersions { - createOrUpdate(resourceGroupName: string, workspaceName: string, name: string, version: string, body: ModelVersion, options?: ModelVersionsCreateOrUpdateOptionalParams): Promise; - delete(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: ModelVersionsDeleteOptionalParams): Promise; - get(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: ModelVersionsGetOptionalParams): Promise; - list(resourceGroupName: string, workspaceName: string, name: string, options?: ModelVersionsListOptionalParams): PagedAsyncIterableIterator; -} +export type RegistriesListBySubscriptionResponse = RegistryTrackedResourceArmPaginatedResult; // @public -export interface ModelVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +export interface RegistriesListNextOptionalParams extends coreClient.OperationOptions { } // @public -export type ModelVersionsCreateOrUpdateResponse = ModelVersion; +export type RegistriesListNextResponse = RegistryTrackedResourceArmPaginatedResult; // @public -export interface ModelVersionsDeleteOptionalParams extends coreClient.OperationOptions { +export interface RegistriesListOptionalParams extends coreClient.OperationOptions { } // @public -export interface ModelVersionsGetOptionalParams extends coreClient.OperationOptions { -} +export type RegistriesListResponse = RegistryTrackedResourceArmPaginatedResult; // @public -export type ModelVersionsGetResponse = ModelVersion; +export interface RegistriesRemoveRegionsHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; +} // @public -export interface ModelVersionsListNextOptionalParams extends coreClient.OperationOptions { - description?: string; - feed?: string; - listViewType?: ListViewType; - offset?: number; - orderBy?: string; - properties?: string; - skip?: string; - tags?: string; - top?: number; - version?: string; +export interface RegistriesRemoveRegionsOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export type ModelVersionsListNextResponse = ModelVersionResourceArmPaginatedResult; +export type RegistriesRemoveRegionsResponse = Registry; // @public -export interface ModelVersionsListOptionalParams extends coreClient.OperationOptions { - description?: string; - feed?: string; - listViewType?: ListViewType; - offset?: number; - orderBy?: string; - properties?: string; - skip?: string; - tags?: string; - top?: number; - version?: string; +export interface RegistriesUpdateOptionalParams extends coreClient.OperationOptions { } // @public -export type ModelVersionsListResponse = ModelVersionResourceArmPaginatedResult; - -// @public -export type MountAction = string; +export type RegistriesUpdateResponse = Registry; -// @public -export type MountState = string; +// @public (undocumented) +export interface Registry extends TrackedResource { + discoveryUrl?: string; + identity?: ManagedServiceIdentity; + intellectualPropertyPublisher?: string; + kind?: string; + managedResourceGroup?: ArmResourceId; + mlFlowRegistryUri?: string; + publicNetworkAccess?: string; + regionDetails?: RegistryRegionArmDetails[]; + registryPrivateEndpointConnections?: RegistryPrivateEndpointConnection[]; + sku?: Sku; +} // @public -export interface Mpi extends DistributionConfiguration { - distributionType: "Mpi"; - processCountPerInstance?: number; +export interface RegistryCodeContainers { + beginCreateOrUpdate(resourceGroupName: string, registryName: string, codeName: string, body: CodeContainer, options?: RegistryCodeContainersCreateOrUpdateOptionalParams): Promise, RegistryCodeContainersCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, registryName: string, codeName: string, body: CodeContainer, options?: RegistryCodeContainersCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, registryName: string, codeName: string, options?: RegistryCodeContainersDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, registryName: string, codeName: string, options?: RegistryCodeContainersDeleteOptionalParams): Promise; + get(resourceGroupName: string, registryName: string, codeName: string, options?: RegistryCodeContainersGetOptionalParams): Promise; + list(resourceGroupName: string, registryName: string, options?: RegistryCodeContainersListOptionalParams): PagedAsyncIterableIterator; } // @public -export interface NCrossValidations { - mode: "Auto" | "Custom"; +export interface RegistryCodeContainersCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; } // @public -export type NCrossValidationsMode = string; - -// @public (undocumented) -export type NCrossValidationsUnion = NCrossValidations | AutoNCrossValidations | CustomNCrossValidations; +export interface RegistryCodeContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} // @public -export type Network = string; +export type RegistryCodeContainersCreateOrUpdateResponse = CodeContainer; // @public -export interface NlpVertical { - featurizationSettings?: NlpVerticalFeaturizationSettings; - limitSettings?: NlpVerticalLimitSettings; - validationData?: MLTableJobInput; +export interface RegistryCodeContainersDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; } -// @public (undocumented) -export interface NlpVerticalFeaturizationSettings extends FeaturizationSettings { +// @public +export interface RegistryCodeContainersDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export interface NlpVerticalLimitSettings { - maxConcurrentTrials?: number; - maxTrials?: number; - timeout?: string; +export interface RegistryCodeContainersGetOptionalParams extends coreClient.OperationOptions { } // @public -export type NodeState = string; +export type RegistryCodeContainersGetResponse = CodeContainer; // @public -export interface NodeStateCounts { - readonly idleNodeCount?: number; - readonly leavingNodeCount?: number; - readonly preemptedNodeCount?: number; - readonly preparingNodeCount?: number; - readonly runningNodeCount?: number; - readonly unusableNodeCount?: number; -} - -// @public (undocumented) -export interface NoneAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { - authType: "None"; +export interface RegistryCodeContainersListNextOptionalParams extends coreClient.OperationOptions { } // @public -export interface NoneDatastoreCredentials extends DatastoreCredentials { - credentialsType: "None"; -} - -// @public (undocumented) -export interface NotebookAccessTokenResult { - readonly accessToken?: string; - readonly expiresIn?: number; - readonly hostName?: string; - readonly notebookResourceId?: string; - readonly publicDns?: string; - readonly refreshToken?: string; - readonly scope?: string; - readonly tokenType?: string; -} - -// @public (undocumented) -export interface NotebookPreparationError { - // (undocumented) - errorMessage?: string; - // (undocumented) - statusCode?: number; -} +export type RegistryCodeContainersListNextResponse = CodeContainerResourceArmPaginatedResult; -// @public (undocumented) -export interface NotebookResourceInfo { - // (undocumented) - fqdn?: string; - notebookPreparationError?: NotebookPreparationError; - resourceId?: string; +// @public +export interface RegistryCodeContainersListOptionalParams extends coreClient.OperationOptions { + skip?: string; } // @public -export type ObjectDetectionPrimaryMetrics = string; +export type RegistryCodeContainersListResponse = CodeContainerResourceArmPaginatedResult; // @public -export interface Objective { - goal: Goal; - primaryMetric: string; +export interface RegistryCodeVersions { + beginCreateOrUpdate(resourceGroupName: string, registryName: string, codeName: string, version: string, body: CodeVersion, options?: RegistryCodeVersionsCreateOrUpdateOptionalParams): Promise, RegistryCodeVersionsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, registryName: string, codeName: string, version: string, body: CodeVersion, options?: RegistryCodeVersionsCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, registryName: string, codeName: string, version: string, options?: RegistryCodeVersionsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, registryName: string, codeName: string, version: string, options?: RegistryCodeVersionsDeleteOptionalParams): Promise; + createOrGetStartPendingUpload(resourceGroupName: string, registryName: string, codeName: string, version: string, body: PendingUploadRequestDto, options?: RegistryCodeVersionsCreateOrGetStartPendingUploadOptionalParams): Promise; + get(resourceGroupName: string, registryName: string, codeName: string, version: string, options?: RegistryCodeVersionsGetOptionalParams): Promise; + list(resourceGroupName: string, registryName: string, codeName: string, options?: RegistryCodeVersionsListOptionalParams): PagedAsyncIterableIterator; } -// @public (undocumented) -export interface OnlineDeployment extends TrackedResource { - identity?: ManagedServiceIdentity; - kind?: string; - properties: OnlineDeploymentPropertiesUnion; - sku?: Sku; -} - -// @public (undocumented) -export interface OnlineDeploymentProperties extends EndpointDeploymentPropertiesBase { - appInsightsEnabled?: boolean; - egressPublicNetworkAccess?: EgressPublicNetworkAccessType; - endpointComputeType: EndpointComputeType; - instanceType?: string; - livenessProbe?: ProbeSettings; - model?: string; - modelMountPath?: string; - readonly provisioningState?: DeploymentProvisioningState; - readinessProbe?: ProbeSettings; - requestSettings?: OnlineRequestSettings; - scaleSettings?: OnlineScaleSettingsUnion; +// @public +export interface RegistryCodeVersionsCreateOrGetStartPendingUploadOptionalParams extends coreClient.OperationOptions { } -// @public (undocumented) -export type OnlineDeploymentPropertiesUnion = OnlineDeploymentProperties | KubernetesOnlineDeployment | ManagedOnlineDeployment; - // @public -export interface OnlineDeployments { - beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: OnlineDeployment, options?: OnlineDeploymentsCreateOrUpdateOptionalParams): Promise, OnlineDeploymentsCreateOrUpdateResponse>>; - beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: OnlineDeployment, options?: OnlineDeploymentsCreateOrUpdateOptionalParams): Promise; - beginDelete(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, options?: OnlineDeploymentsDeleteOptionalParams): Promise, void>>; - beginDeleteAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, options?: OnlineDeploymentsDeleteOptionalParams): Promise; - beginUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: PartialMinimalTrackedResourceWithSku, options?: OnlineDeploymentsUpdateOptionalParams): Promise, OnlineDeploymentsUpdateResponse>>; - beginUpdateAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: PartialMinimalTrackedResourceWithSku, options?: OnlineDeploymentsUpdateOptionalParams): Promise; - get(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, options?: OnlineDeploymentsGetOptionalParams): Promise; - getLogs(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: DeploymentLogsRequest, options?: OnlineDeploymentsGetLogsOptionalParams): Promise; - list(resourceGroupName: string, workspaceName: string, endpointName: string, options?: OnlineDeploymentsListOptionalParams): PagedAsyncIterableIterator; - listSkus(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, options?: OnlineDeploymentsListSkusOptionalParams): PagedAsyncIterableIterator; -} +export type RegistryCodeVersionsCreateOrGetStartPendingUploadResponse = PendingUploadResponseDto; // @public -export interface OnlineDeploymentsCreateOrUpdateHeaders { +export interface RegistryCodeVersionsCreateOrUpdateHeaders { azureAsyncOperation?: string; xMsAsyncOperationTimeout?: string; } // @public -export interface OnlineDeploymentsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +export interface RegistryCodeVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; updateIntervalInMs?: number; } // @public -export type OnlineDeploymentsCreateOrUpdateResponse = OnlineDeployment; +export type RegistryCodeVersionsCreateOrUpdateResponse = CodeVersion; // @public -export interface OnlineDeploymentsDeleteHeaders { +export interface RegistryCodeVersionsDeleteHeaders { location?: string; retryAfter?: number; xMsAsyncOperationTimeout?: string; } // @public -export interface OnlineDeploymentsDeleteOptionalParams extends coreClient.OperationOptions { +export interface RegistryCodeVersionsDeleteOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; updateIntervalInMs?: number; } // @public -export interface OnlineDeploymentsGetLogsOptionalParams extends coreClient.OperationOptions { +export interface RegistryCodeVersionsGetOptionalParams extends coreClient.OperationOptions { } // @public -export type OnlineDeploymentsGetLogsResponse = DeploymentLogs; +export type RegistryCodeVersionsGetResponse = CodeVersion; // @public -export interface OnlineDeploymentsGetOptionalParams extends coreClient.OperationOptions { +export interface RegistryCodeVersionsListNextOptionalParams extends coreClient.OperationOptions { } // @public -export type OnlineDeploymentsGetResponse = OnlineDeployment; +export type RegistryCodeVersionsListNextResponse = CodeVersionResourceArmPaginatedResult; // @public -export interface OnlineDeploymentsListNextOptionalParams extends coreClient.OperationOptions { +export interface RegistryCodeVersionsListOptionalParams extends coreClient.OperationOptions { orderBy?: string; skip?: string; top?: number; } // @public -export type OnlineDeploymentsListNextResponse = OnlineDeploymentTrackedResourceArmPaginatedResult; +export type RegistryCodeVersionsListResponse = CodeVersionResourceArmPaginatedResult; // @public -export interface OnlineDeploymentsListOptionalParams extends coreClient.OperationOptions { - orderBy?: string; - skip?: string; - top?: number; +export interface RegistryComponentContainers { + beginCreateOrUpdate(resourceGroupName: string, registryName: string, componentName: string, body: ComponentContainer, options?: RegistryComponentContainersCreateOrUpdateOptionalParams): Promise, RegistryComponentContainersCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, registryName: string, componentName: string, body: ComponentContainer, options?: RegistryComponentContainersCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, registryName: string, componentName: string, options?: RegistryComponentContainersDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, registryName: string, componentName: string, options?: RegistryComponentContainersDeleteOptionalParams): Promise; + get(resourceGroupName: string, registryName: string, componentName: string, options?: RegistryComponentContainersGetOptionalParams): Promise; + list(resourceGroupName: string, registryName: string, options?: RegistryComponentContainersListOptionalParams): PagedAsyncIterableIterator; } // @public -export type OnlineDeploymentsListResponse = OnlineDeploymentTrackedResourceArmPaginatedResult; - -// @public -export interface OnlineDeploymentsListSkusNextOptionalParams extends coreClient.OperationOptions { - count?: number; - skip?: string; +export interface RegistryComponentContainersCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; } // @public -export type OnlineDeploymentsListSkusNextResponse = SkuResourceArmPaginatedResult; - -// @public -export interface OnlineDeploymentsListSkusOptionalParams extends coreClient.OperationOptions { - count?: number; - skip?: string; +export interface RegistryComponentContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export type OnlineDeploymentsListSkusResponse = SkuResourceArmPaginatedResult; +export type RegistryComponentContainersCreateOrUpdateResponse = ComponentContainer; // @public -export interface OnlineDeploymentsUpdateHeaders { +export interface RegistryComponentContainersDeleteHeaders { location?: string; retryAfter?: number; xMsAsyncOperationTimeout?: string; } // @public -export interface OnlineDeploymentsUpdateOptionalParams extends coreClient.OperationOptions { +export interface RegistryComponentContainersDeleteOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; updateIntervalInMs?: number; } // @public -export type OnlineDeploymentsUpdateResponse = OnlineDeployment; - -// @public -export interface OnlineDeploymentTrackedResourceArmPaginatedResult { - nextLink?: string; - value?: OnlineDeployment[]; +export interface RegistryComponentContainersGetOptionalParams extends coreClient.OperationOptions { } -// @public (undocumented) -export interface OnlineEndpoint extends TrackedResource { - identity?: ManagedServiceIdentity; - kind?: string; - properties: OnlineEndpointProperties; - sku?: Sku; +// @public +export type RegistryComponentContainersGetResponse = ComponentContainer; + +// @public +export interface RegistryComponentContainersListNextOptionalParams extends coreClient.OperationOptions { } // @public -export interface OnlineEndpointProperties extends EndpointPropertiesBase { - compute?: string; - readonly provisioningState?: EndpointProvisioningState; - publicNetworkAccess?: PublicNetworkAccessType; - traffic?: { - [propertyName: string]: number; - }; +export type RegistryComponentContainersListNextResponse = ComponentContainerResourceArmPaginatedResult; + +// @public +export interface RegistryComponentContainersListOptionalParams extends coreClient.OperationOptions { + skip?: string; } // @public -export interface OnlineEndpoints { - beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, body: OnlineEndpoint, options?: OnlineEndpointsCreateOrUpdateOptionalParams): Promise, OnlineEndpointsCreateOrUpdateResponse>>; - beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, body: OnlineEndpoint, options?: OnlineEndpointsCreateOrUpdateOptionalParams): Promise; - beginDelete(resourceGroupName: string, workspaceName: string, endpointName: string, options?: OnlineEndpointsDeleteOptionalParams): Promise, void>>; - beginDeleteAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, options?: OnlineEndpointsDeleteOptionalParams): Promise; - beginRegenerateKeys(resourceGroupName: string, workspaceName: string, endpointName: string, body: RegenerateEndpointKeysRequest, options?: OnlineEndpointsRegenerateKeysOptionalParams): Promise, void>>; - beginRegenerateKeysAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, body: RegenerateEndpointKeysRequest, options?: OnlineEndpointsRegenerateKeysOptionalParams): Promise; - beginUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, body: PartialMinimalTrackedResourceWithIdentity, options?: OnlineEndpointsUpdateOptionalParams): Promise, OnlineEndpointsUpdateResponse>>; - beginUpdateAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, body: PartialMinimalTrackedResourceWithIdentity, options?: OnlineEndpointsUpdateOptionalParams): Promise; - get(resourceGroupName: string, workspaceName: string, endpointName: string, options?: OnlineEndpointsGetOptionalParams): Promise; - getToken(resourceGroupName: string, workspaceName: string, endpointName: string, options?: OnlineEndpointsGetTokenOptionalParams): Promise; - list(resourceGroupName: string, workspaceName: string, options?: OnlineEndpointsListOptionalParams): PagedAsyncIterableIterator; - listKeys(resourceGroupName: string, workspaceName: string, endpointName: string, options?: OnlineEndpointsListKeysOptionalParams): Promise; +export type RegistryComponentContainersListResponse = ComponentContainerResourceArmPaginatedResult; + +// @public +export interface RegistryComponentVersions { + beginCreateOrUpdate(resourceGroupName: string, registryName: string, componentName: string, version: string, body: ComponentVersion, options?: RegistryComponentVersionsCreateOrUpdateOptionalParams): Promise, RegistryComponentVersionsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, registryName: string, componentName: string, version: string, body: ComponentVersion, options?: RegistryComponentVersionsCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, registryName: string, componentName: string, version: string, options?: RegistryComponentVersionsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, registryName: string, componentName: string, version: string, options?: RegistryComponentVersionsDeleteOptionalParams): Promise; + get(resourceGroupName: string, registryName: string, componentName: string, version: string, options?: RegistryComponentVersionsGetOptionalParams): Promise; + list(resourceGroupName: string, registryName: string, componentName: string, options?: RegistryComponentVersionsListOptionalParams): PagedAsyncIterableIterator; } // @public -export interface OnlineEndpointsCreateOrUpdateHeaders { +export interface RegistryComponentVersionsCreateOrUpdateHeaders { azureAsyncOperation?: string; xMsAsyncOperationTimeout?: string; } // @public -export interface OnlineEndpointsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +export interface RegistryComponentVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; updateIntervalInMs?: number; } // @public -export type OnlineEndpointsCreateOrUpdateResponse = OnlineEndpoint; +export type RegistryComponentVersionsCreateOrUpdateResponse = ComponentVersion; // @public -export interface OnlineEndpointsDeleteHeaders { +export interface RegistryComponentVersionsDeleteHeaders { location?: string; retryAfter?: number; xMsAsyncOperationTimeout?: string; } // @public -export interface OnlineEndpointsDeleteOptionalParams extends coreClient.OperationOptions { +export interface RegistryComponentVersionsDeleteOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; updateIntervalInMs?: number; } // @public -export interface OnlineEndpointsGetOptionalParams extends coreClient.OperationOptions { +export interface RegistryComponentVersionsGetOptionalParams extends coreClient.OperationOptions { } // @public -export type OnlineEndpointsGetResponse = OnlineEndpoint; +export type RegistryComponentVersionsGetResponse = ComponentVersion; // @public -export interface OnlineEndpointsGetTokenOptionalParams extends coreClient.OperationOptions { +export interface RegistryComponentVersionsListNextOptionalParams extends coreClient.OperationOptions { } // @public -export type OnlineEndpointsGetTokenResponse = EndpointAuthToken; +export type RegistryComponentVersionsListNextResponse = ComponentVersionResourceArmPaginatedResult; // @public -export interface OnlineEndpointsListKeysOptionalParams extends coreClient.OperationOptions { +export interface RegistryComponentVersionsListOptionalParams extends coreClient.OperationOptions { + orderBy?: string; + skip?: string; + top?: number; } // @public -export type OnlineEndpointsListKeysResponse = EndpointAuthKeys; +export type RegistryComponentVersionsListResponse = ComponentVersionResourceArmPaginatedResult; // @public -export interface OnlineEndpointsListNextOptionalParams extends coreClient.OperationOptions { - computeType?: EndpointComputeType; - count?: number; - name?: string; - orderBy?: OrderString; - properties?: string; - skip?: string; - tags?: string; +export interface RegistryDataContainers { + beginCreateOrUpdate(resourceGroupName: string, registryName: string, name: string, body: DataContainer, options?: RegistryDataContainersCreateOrUpdateOptionalParams): Promise, RegistryDataContainersCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, registryName: string, name: string, body: DataContainer, options?: RegistryDataContainersCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, registryName: string, name: string, options?: RegistryDataContainersDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, registryName: string, name: string, options?: RegistryDataContainersDeleteOptionalParams): Promise; + get(resourceGroupName: string, registryName: string, name: string, options?: RegistryDataContainersGetOptionalParams): Promise; + list(resourceGroupName: string, registryName: string, options?: RegistryDataContainersListOptionalParams): PagedAsyncIterableIterator; } // @public -export type OnlineEndpointsListNextResponse = OnlineEndpointTrackedResourceArmPaginatedResult; +export interface RegistryDataContainersCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; +} // @public -export interface OnlineEndpointsListOptionalParams extends coreClient.OperationOptions { - computeType?: EndpointComputeType; - count?: number; - name?: string; - orderBy?: OrderString; - properties?: string; - skip?: string; - tags?: string; +export interface RegistryDataContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export type OnlineEndpointsListResponse = OnlineEndpointTrackedResourceArmPaginatedResult; +export type RegistryDataContainersCreateOrUpdateResponse = DataContainer; // @public -export interface OnlineEndpointsRegenerateKeysHeaders { +export interface RegistryDataContainersDeleteHeaders { location?: string; retryAfter?: number; + xMsAsyncOperationTimeout?: string; } // @public -export interface OnlineEndpointsRegenerateKeysOptionalParams extends coreClient.OperationOptions { +export interface RegistryDataContainersDeleteOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; updateIntervalInMs?: number; } // @public -export interface OnlineEndpointsUpdateHeaders { - location?: string; - retryAfter?: number; - xMsAsyncOperationTimeout?: string; +export interface RegistryDataContainersGetOptionalParams extends coreClient.OperationOptions { } // @public -export interface OnlineEndpointsUpdateOptionalParams extends coreClient.OperationOptions { - resumeFrom?: string; - updateIntervalInMs?: number; +export type RegistryDataContainersGetResponse = DataContainer; + +// @public +export interface RegistryDataContainersListNextOptionalParams extends coreClient.OperationOptions { } // @public -export type OnlineEndpointsUpdateResponse = OnlineEndpoint; +export type RegistryDataContainersListNextResponse = DataContainerResourceArmPaginatedResult; // @public -export interface OnlineEndpointTrackedResourceArmPaginatedResult { - nextLink?: string; - value?: OnlineEndpoint[]; +export interface RegistryDataContainersListOptionalParams extends coreClient.OperationOptions { + listViewType?: ListViewType; + skip?: string; } // @public -export interface OnlineRequestSettings { - maxConcurrentRequestsPerInstance?: number; - maxQueueWait?: string; - requestTimeout?: string; -} +export type RegistryDataContainersListResponse = DataContainerResourceArmPaginatedResult; // @public -export interface OnlineScaleSettings { - scaleType: "Default" | "TargetUtilization"; +export interface RegistryDataReferences { + getBlobReferenceSAS(resourceGroupName: string, registryName: string, name: string, version: string, body: GetBlobReferenceSASRequestDto, options?: RegistryDataReferencesGetBlobReferenceSASOptionalParams): Promise; } -// @public (undocumented) -export type OnlineScaleSettingsUnion = OnlineScaleSettings | DefaultScaleSettings | TargetUtilizationScaleSettings; - // @public -export type OperatingSystemType = string; +export interface RegistryDataReferencesGetBlobReferenceSASOptionalParams extends coreClient.OperationOptions { +} // @public -export type OperationName = string; +export type RegistryDataReferencesGetBlobReferenceSASResponse = GetBlobReferenceSASResponseDto; // @public -export interface Operations { - list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator; +export interface RegistryDataVersions { + beginCreateOrUpdate(resourceGroupName: string, registryName: string, name: string, version: string, body: DataVersionBase, options?: RegistryDataVersionsCreateOrUpdateOptionalParams): Promise, RegistryDataVersionsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, registryName: string, name: string, version: string, body: DataVersionBase, options?: RegistryDataVersionsCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, registryName: string, name: string, version: string, options?: RegistryDataVersionsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, registryName: string, name: string, version: string, options?: RegistryDataVersionsDeleteOptionalParams): Promise; + createOrGetStartPendingUpload(resourceGroupName: string, registryName: string, name: string, version: string, body: PendingUploadRequestDto, options?: RegistryDataVersionsCreateOrGetStartPendingUploadOptionalParams): Promise; + get(resourceGroupName: string, registryName: string, name: string, version: string, options?: RegistryDataVersionsGetOptionalParams): Promise; + list(resourceGroupName: string, registryName: string, name: string, options?: RegistryDataVersionsListOptionalParams): PagedAsyncIterableIterator; } // @public -export interface OperationsListOptionalParams extends coreClient.OperationOptions { +export interface RegistryDataVersionsCreateOrGetStartPendingUploadOptionalParams extends coreClient.OperationOptions { } // @public -export type OperationsListResponse = AmlOperationListResult; +export type RegistryDataVersionsCreateOrGetStartPendingUploadResponse = PendingUploadResponseDto; // @public -export type OperationStatus = string; +export interface RegistryDataVersionsCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; +} // @public -export type OperationTrigger = string; +export interface RegistryDataVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} // @public -export type OrderString = string; +export type RegistryDataVersionsCreateOrUpdateResponse = DataVersionBase; // @public -export type OsType = string; +export interface RegistryDataVersionsDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; +} // @public -export type OutputDeliveryMode = string; +export interface RegistryDataVersionsDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} // @public -export interface OutputPathAssetReference extends AssetReferenceBase { - jobId?: string; - path?: string; - referenceType: "OutputPath"; +export interface RegistryDataVersionsGetOptionalParams extends coreClient.OperationOptions { } // @public -export interface PaginatedComputeResourcesList { - nextLink?: string; - value?: ComputeResource[]; -} +export type RegistryDataVersionsGetResponse = DataVersionBase; // @public -export interface PartialBatchDeployment { - description?: string; +export interface RegistryDataVersionsListNextOptionalParams extends coreClient.OperationOptions { } // @public -export interface PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties { - properties?: PartialBatchDeployment; - tags?: { - [propertyName: string]: string | null; - }; -} +export type RegistryDataVersionsListNextResponse = DataVersionBaseResourceArmPaginatedResult; // @public -export interface PartialManagedServiceIdentity { - type?: ManagedServiceIdentityType; - userAssignedIdentities?: { - [propertyName: string]: Record; - }; +export interface RegistryDataVersionsListOptionalParams extends coreClient.OperationOptions { + listViewType?: ListViewType; + orderBy?: string; + skip?: string; + tags?: string; + top?: number; } // @public -export interface PartialMinimalTrackedResource { - tags?: { - [propertyName: string]: string | null; - }; -} +export type RegistryDataVersionsListResponse = DataVersionBaseResourceArmPaginatedResult; // @public -export interface PartialMinimalTrackedResourceWithIdentity extends PartialMinimalTrackedResource { - identity?: PartialManagedServiceIdentity; +export interface RegistryEnvironmentContainers { + beginCreateOrUpdate(resourceGroupName: string, registryName: string, environmentName: string, body: EnvironmentContainer, options?: RegistryEnvironmentContainersCreateOrUpdateOptionalParams): Promise, RegistryEnvironmentContainersCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, registryName: string, environmentName: string, body: EnvironmentContainer, options?: RegistryEnvironmentContainersCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, registryName: string, environmentName: string, options?: RegistryEnvironmentContainersDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, registryName: string, environmentName: string, options?: RegistryEnvironmentContainersDeleteOptionalParams): Promise; + get(resourceGroupName: string, registryName: string, environmentName: string, options?: RegistryEnvironmentContainersGetOptionalParams): Promise; + list(resourceGroupName: string, registryName: string, options?: RegistryEnvironmentContainersListOptionalParams): PagedAsyncIterableIterator; } // @public -export interface PartialMinimalTrackedResourceWithSku extends PartialMinimalTrackedResource { - sku?: PartialSku; +export interface RegistryEnvironmentContainersCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; } // @public -export interface PartialSku { - capacity?: number; - family?: string; - name?: string; - size?: string; - tier?: SkuTier; +export interface RegistryEnvironmentContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } -// @public (undocumented) -export interface Password { - readonly name?: string; - readonly value?: string; -} +// @public +export type RegistryEnvironmentContainersCreateOrUpdateResponse = EnvironmentContainer; -// @public (undocumented) -export interface PATAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { - authType: "PAT"; - // (undocumented) - credentials?: WorkspaceConnectionPersonalAccessToken; +// @public +export interface RegistryEnvironmentContainersDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; } // @public -export interface PersonalComputeInstanceSettings { - assignedUser?: AssignedUser; +export interface RegistryEnvironmentContainersDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export interface PipelineJob extends JobBaseProperties { - inputs?: { - [propertyName: string]: JobInputUnion | null; - }; - jobs?: { - [propertyName: string]: Record; - }; - jobType: "Pipeline"; - outputs?: { - [propertyName: string]: JobOutputUnion | null; - }; - settings?: Record; - sourceJobId?: string; +export interface RegistryEnvironmentContainersGetOptionalParams extends coreClient.OperationOptions { } // @public -export interface PrivateEndpoint { - readonly id?: string; - readonly subnetArmId?: string; -} +export type RegistryEnvironmentContainersGetResponse = EnvironmentContainer; // @public -export interface PrivateEndpointConnection extends Resource { - identity?: ManagedServiceIdentity; - location?: string; - privateEndpoint?: PrivateEndpoint; - privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; - readonly provisioningState?: PrivateEndpointConnectionProvisioningState; - sku?: Sku; - tags?: { - [propertyName: string]: string; - }; +export interface RegistryEnvironmentContainersListNextOptionalParams extends coreClient.OperationOptions { } // @public -export interface PrivateEndpointConnectionListResult { - value?: PrivateEndpointConnection[]; +export type RegistryEnvironmentContainersListNextResponse = EnvironmentContainerResourceArmPaginatedResult; + +// @public +export interface RegistryEnvironmentContainersListOptionalParams extends coreClient.OperationOptions { + listViewType?: ListViewType; + skip?: string; } // @public -export type PrivateEndpointConnectionProvisioningState = string; +export type RegistryEnvironmentContainersListResponse = EnvironmentContainerResourceArmPaginatedResult; // @public -export interface PrivateEndpointConnections { - createOrUpdate(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise; - delete(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise; - get(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise; - list(resourceGroupName: string, workspaceName: string, options?: PrivateEndpointConnectionsListOptionalParams): PagedAsyncIterableIterator; +export interface RegistryEnvironmentVersions { + beginCreateOrUpdate(resourceGroupName: string, registryName: string, environmentName: string, version: string, body: EnvironmentVersion, options?: RegistryEnvironmentVersionsCreateOrUpdateOptionalParams): Promise, RegistryEnvironmentVersionsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, registryName: string, environmentName: string, version: string, body: EnvironmentVersion, options?: RegistryEnvironmentVersionsCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, registryName: string, environmentName: string, version: string, options?: RegistryEnvironmentVersionsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, registryName: string, environmentName: string, version: string, options?: RegistryEnvironmentVersionsDeleteOptionalParams): Promise; + get(resourceGroupName: string, registryName: string, environmentName: string, version: string, options?: RegistryEnvironmentVersionsGetOptionalParams): Promise; + list(resourceGroupName: string, registryName: string, environmentName: string, options?: RegistryEnvironmentVersionsListOptionalParams): PagedAsyncIterableIterator; } // @public -export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +export interface RegistryEnvironmentVersionsCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; } // @public -export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection; +export interface RegistryEnvironmentVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} // @public -export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions { +export type RegistryEnvironmentVersionsCreateOrUpdateResponse = EnvironmentVersion; + +// @public +export interface RegistryEnvironmentVersionsDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; } // @public -export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions { +export interface RegistryEnvironmentVersionsDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection; +export interface RegistryEnvironmentVersionsGetOptionalParams extends coreClient.OperationOptions { +} // @public -export interface PrivateEndpointConnectionsListOptionalParams extends coreClient.OperationOptions { +export type RegistryEnvironmentVersionsGetResponse = EnvironmentVersion; + +// @public +export interface RegistryEnvironmentVersionsListNextOptionalParams extends coreClient.OperationOptions { } // @public -export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult; +export type RegistryEnvironmentVersionsListNextResponse = EnvironmentVersionResourceArmPaginatedResult; // @public -export type PrivateEndpointServiceConnectionStatus = string; +export interface RegistryEnvironmentVersionsListOptionalParams extends coreClient.OperationOptions { + listViewType?: ListViewType; + orderBy?: string; + skip?: string; + top?: number; +} // @public -export interface PrivateLinkResource extends Resource { - readonly groupId?: string; - identity?: ManagedServiceIdentity; - location?: string; - readonly requiredMembers?: string[]; - requiredZoneNames?: string[]; - sku?: Sku; - tags?: { - [propertyName: string]: string; - }; +export type RegistryEnvironmentVersionsListResponse = EnvironmentVersionResourceArmPaginatedResult; + +// @public (undocumented) +export interface RegistryListCredentialsResult { + readonly location?: string; + // (undocumented) + passwords?: Password[]; + readonly username?: string; } // @public -export interface PrivateLinkResourceListResult { - value?: PrivateLinkResource[]; +export interface RegistryModelContainers { + beginCreateOrUpdate(resourceGroupName: string, registryName: string, modelName: string, body: ModelContainer, options?: RegistryModelContainersCreateOrUpdateOptionalParams): Promise, RegistryModelContainersCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, registryName: string, modelName: string, body: ModelContainer, options?: RegistryModelContainersCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, registryName: string, modelName: string, options?: RegistryModelContainersDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, registryName: string, modelName: string, options?: RegistryModelContainersDeleteOptionalParams): Promise; + get(resourceGroupName: string, registryName: string, modelName: string, options?: RegistryModelContainersGetOptionalParams): Promise; + list(resourceGroupName: string, registryName: string, options?: RegistryModelContainersListOptionalParams): PagedAsyncIterableIterator; } // @public -export interface PrivateLinkResources { - list(resourceGroupName: string, workspaceName: string, options?: PrivateLinkResourcesListOptionalParams): Promise; +export interface RegistryModelContainersCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; } // @public -export interface PrivateLinkResourcesListOptionalParams extends coreClient.OperationOptions { +export interface RegistryModelContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult; +export type RegistryModelContainersCreateOrUpdateResponse = ModelContainer; // @public -export interface PrivateLinkServiceConnectionState { - actionsRequired?: string; - description?: string; - status?: PrivateEndpointServiceConnectionStatus; +export interface RegistryModelContainersDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; } // @public -export interface ProbeSettings { - failureThreshold?: number; - initialDelay?: string; - period?: string; - successThreshold?: number; - timeout?: string; +export interface RegistryModelContainersDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export type ProvisioningState = string; +export interface RegistryModelContainersGetOptionalParams extends coreClient.OperationOptions { +} // @public -export type ProvisioningStatus = string; +export type RegistryModelContainersGetResponse = ModelContainer; // @public -export type PublicNetworkAccess = string; +export interface RegistryModelContainersListNextOptionalParams extends coreClient.OperationOptions { +} // @public -export type PublicNetworkAccessType = string; +export type RegistryModelContainersListNextResponse = ModelContainerResourceArmPaginatedResult; // @public -export interface PyTorch extends DistributionConfiguration { - distributionType: "PyTorch"; - processCountPerInstance?: number; +export interface RegistryModelContainersListOptionalParams extends coreClient.OperationOptions { + listViewType?: ListViewType; + skip?: string; } // @public -export interface QuotaBaseProperties { - id?: string; - limit?: number; - type?: string; - unit?: QuotaUnit; -} +export type RegistryModelContainersListResponse = ModelContainerResourceArmPaginatedResult; // @public -export interface Quotas { - list(location: string, options?: QuotasListOptionalParams): PagedAsyncIterableIterator; - update(location: string, parameters: QuotaUpdateParameters, options?: QuotasUpdateOptionalParams): Promise; +export interface RegistryModelVersions { + beginCreateOrUpdate(resourceGroupName: string, registryName: string, modelName: string, version: string, body: ModelVersion, options?: RegistryModelVersionsCreateOrUpdateOptionalParams): Promise, RegistryModelVersionsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, registryName: string, modelName: string, version: string, body: ModelVersion, options?: RegistryModelVersionsCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, registryName: string, modelName: string, version: string, options?: RegistryModelVersionsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, registryName: string, modelName: string, version: string, options?: RegistryModelVersionsDeleteOptionalParams): Promise; + createOrGetStartPendingUpload(resourceGroupName: string, registryName: string, modelName: string, version: string, body: PendingUploadRequestDto, options?: RegistryModelVersionsCreateOrGetStartPendingUploadOptionalParams): Promise; + get(resourceGroupName: string, registryName: string, modelName: string, version: string, options?: RegistryModelVersionsGetOptionalParams): Promise; + list(resourceGroupName: string, registryName: string, modelName: string, options?: RegistryModelVersionsListOptionalParams): PagedAsyncIterableIterator; } // @public -export interface QuotasListNextOptionalParams extends coreClient.OperationOptions { +export interface RegistryModelVersionsCreateOrGetStartPendingUploadOptionalParams extends coreClient.OperationOptions { } // @public -export type QuotasListNextResponse = ListWorkspaceQuotas; +export type RegistryModelVersionsCreateOrGetStartPendingUploadResponse = PendingUploadResponseDto; // @public -export interface QuotasListOptionalParams extends coreClient.OperationOptions { +export interface RegistryModelVersionsCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; } // @public -export type QuotasListResponse = ListWorkspaceQuotas; +export interface RegistryModelVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} // @public -export interface QuotasUpdateOptionalParams extends coreClient.OperationOptions { -} +export type RegistryModelVersionsCreateOrUpdateResponse = ModelVersion; // @public -export type QuotasUpdateResponse = UpdateWorkspaceQuotasResult; +export interface RegistryModelVersionsDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; +} // @public -export type QuotaUnit = string; +export interface RegistryModelVersionsDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} // @public -export interface QuotaUpdateParameters { - location?: string; - value?: QuotaBaseProperties[]; +export interface RegistryModelVersionsGetOptionalParams extends coreClient.OperationOptions { } // @public -export interface RandomSamplingAlgorithm extends SamplingAlgorithm { - rule?: RandomSamplingAlgorithmRule; - samplingAlgorithmType: "Random"; - seed?: number; +export type RegistryModelVersionsGetResponse = ModelVersion; + +// @public +export interface RegistryModelVersionsListNextOptionalParams extends coreClient.OperationOptions { } // @public -export type RandomSamplingAlgorithmRule = string; +export type RegistryModelVersionsListNextResponse = ModelVersionResourceArmPaginatedResult; // @public -export type RecurrenceFrequency = string; +export interface RegistryModelVersionsListOptionalParams extends coreClient.OperationOptions { + description?: string; + listViewType?: ListViewType; + orderBy?: string; + properties?: string; + skip?: string; + tags?: string; + top?: number; + version?: string; +} -// @public (undocumented) -export interface RecurrenceSchedule { - hours: number[]; - minutes: number[]; - monthDays?: number[]; - weekDays?: WeekDay[]; +// @public +export type RegistryModelVersionsListResponse = ModelVersionResourceArmPaginatedResult; + +// @public +export interface RegistryPartialManagedServiceIdentity extends ManagedServiceIdentity { } -// @public (undocumented) -export interface RecurrenceTrigger extends TriggerBase { - frequency: RecurrenceFrequency; - interval: number; - schedule?: RecurrenceSchedule; - triggerType: "Recurrence"; +// @public +export interface RegistryPrivateEndpointConnection { + groupIds?: string[]; + id?: string; + location?: string; + privateEndpoint?: PrivateEndpointResource; + provisioningState?: string; + registryPrivateLinkServiceConnectionState?: RegistryPrivateLinkServiceConnectionState; } // @public -export type ReferenceType = string; +export interface RegistryPrivateLinkServiceConnectionState { + actionsRequired?: string; + description?: string; + status?: EndpointServiceConnectionStatus; +} -// @public (undocumented) -export interface RegenerateEndpointKeysRequest { - keyType: KeyType_2; - keyValue?: string; +// @public +export interface RegistryRegionArmDetails { + acrDetails?: AcrDetails[]; + location?: string; + storageAccountDetails?: StorageAccountDetails[]; } -// @public (undocumented) -export interface RegistryListCredentialsResult { - readonly location?: string; - // (undocumented) - passwords?: Password[]; - readonly username?: string; +// @public +export interface RegistryTrackedResourceArmPaginatedResult { + nextLink?: string; + value?: Registry[]; } // @public @@ -4535,12 +7013,32 @@ export interface ResourceQuota { readonly unit?: QuotaUnit; } +// @public +export interface RollingInputData extends MonitoringInputDataBase { + inputDataType: "Rolling"; + preprocessingComponentId?: string; + windowOffset: string; + windowSize: string; +} + // @public (undocumented) export interface Route { path: string; port: number; } +// @public +export type RuleAction = string; + +// @public +export type RuleCategory = string; + +// @public +export type RuleStatus = string; + +// @public +export type RuleType = string; + // @public export interface SamplingAlgorithm { samplingAlgorithmType: "Bayesian" | "Grid" | "Random"; @@ -4559,6 +7057,18 @@ export interface SASAuthTypeWorkspaceConnectionProperties extends WorkspaceConne credentials?: WorkspaceConnectionSharedAccessSignature; } +// @public +export interface SASCredential extends DataReferenceCredential { + credentialType: "SAS"; + sasUri?: string; +} + +// @public (undocumented) +export interface SASCredentialDto extends PendingUploadCredentialDto { + credentialType: "SAS"; + sasUri?: string; +} + // @public export interface SasDatastoreCredentials extends DatastoreCredentials { credentialsType: "Sas"; @@ -4587,17 +7097,17 @@ export interface ScaleSettingsInformation { export type ScaleType = string; // @public -export interface Schedule extends Resource { +export interface Schedule extends ProxyResource { properties: ScheduleProperties; } // @public (undocumented) export interface ScheduleActionBase { - actionType: "InvokeBatchEndpoint" | "CreateJob"; + actionType: "CreateMonitor" | "InvokeBatchEndpoint" | "CreateJob"; } // @public (undocumented) -export type ScheduleActionBaseUnion = ScheduleActionBase | EndpointScheduleAction | JobScheduleAction; +export type ScheduleActionBaseUnion = ScheduleActionBase | CreateMonitorAction | EndpointScheduleAction | JobScheduleAction; // @public export type ScheduleActionType = string; @@ -4635,9 +7145,9 @@ export interface ScheduleResourceArmPaginatedResult { // @public export interface Schedules { - beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, name: string, body: Schedule, options?: SchedulesCreateOrUpdateOptionalParams): Promise, SchedulesCreateOrUpdateResponse>>; + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, name: string, body: Schedule, options?: SchedulesCreateOrUpdateOptionalParams): Promise, SchedulesCreateOrUpdateResponse>>; beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, name: string, body: Schedule, options?: SchedulesCreateOrUpdateOptionalParams): Promise; - beginDelete(resourceGroupName: string, workspaceName: string, name: string, options?: SchedulesDeleteOptionalParams): Promise, void>>; + beginDelete(resourceGroupName: string, workspaceName: string, name: string, options?: SchedulesDeleteOptionalParams): Promise, void>>; beginDeleteAndWait(resourceGroupName: string, workspaceName: string, name: string, options?: SchedulesDeleteOptionalParams): Promise; get(resourceGroupName: string, workspaceName: string, name: string, options?: SchedulesGetOptionalParams): Promise; list(resourceGroupName: string, workspaceName: string, options?: SchedulesListOptionalParams): PagedAsyncIterableIterator; @@ -4680,8 +7190,6 @@ export type SchedulesGetResponse = Schedule; // @public export interface SchedulesListNextOptionalParams extends coreClient.OperationOptions { - listViewType?: ScheduleListViewType; - skip?: string; } // @public @@ -4727,6 +7235,12 @@ export type SeasonalityUnion = Seasonality | AutoSeasonality | CustomSeasonality // @public export type SecretsType = string; +// @public (undocumented) +export interface ServerlessComputeSettings { + serverlessComputeCustomSubnet?: string; + serverlessComputeNoPublicIP?: boolean; +} + // @public export type ServiceDataAccessAuthIdentity = string; @@ -4751,6 +7265,24 @@ export interface ServicePrincipalDatastoreSecrets extends DatastoreSecrets { secretsType: "ServicePrincipal"; } +// @public +export interface ServiceTagDestination { + action?: RuleAction; + readonly addressPrefixes?: string[]; + // (undocumented) + portRanges?: string; + // (undocumented) + protocol?: string; + // (undocumented) + serviceTag?: string; +} + +// @public +export interface ServiceTagOutboundRule extends OutboundRule { + destination?: ServiceTagDestination; + type: "ServiceTag"; +} + // @public export interface SetupScripts { scripts?: ScriptsToExecute; @@ -4813,6 +7345,62 @@ export type SkuTier = "Free" | "Basic" | "Standard" | "Premium"; // @public export type SourceType = string; +// @public +export interface SparkJob extends JobBaseProperties { + archives?: string[]; + args?: string; + codeId: string; + conf?: { + [propertyName: string]: string | null; + }; + entry: SparkJobEntryUnion; + environmentId?: string; + environmentVariables?: { + [propertyName: string]: string | null; + }; + files?: string[]; + inputs?: { + [propertyName: string]: JobInputUnion | null; + }; + jars?: string[]; + jobType: "Spark"; + outputs?: { + [propertyName: string]: JobOutputUnion | null; + }; + pyFiles?: string[]; + queueSettings?: QueueSettings; + resources?: SparkResourceConfiguration; +} + +// @public +export interface SparkJobEntry { + sparkJobEntryType: "SparkJobPythonEntry" | "SparkJobScalaEntry"; +} + +// @public +export type SparkJobEntryType = string; + +// @public (undocumented) +export type SparkJobEntryUnion = SparkJobEntry | SparkJobPythonEntry | SparkJobScalaEntry; + +// @public (undocumented) +export interface SparkJobPythonEntry extends SparkJobEntry { + file: string; + sparkJobEntryType: "SparkJobPythonEntry"; +} + +// @public (undocumented) +export interface SparkJobScalaEntry extends SparkJobEntry { + className: string; + sparkJobEntryType: "SparkJobScalaEntry"; +} + +// @public (undocumented) +export interface SparkResourceConfiguration { + instanceType?: string; + runtimeVersion?: string; +} + // @public export type SshPublicAccess = string; @@ -4839,12 +7427,26 @@ export interface StackEnsembleSettings { // @public export type StackMetaLearnerType = string; +// @public +export interface StaticInputData extends MonitoringInputDataBase { + inputDataType: "Static"; + preprocessingComponentId?: string; + windowEnd: Date; + windowStart: Date; +} + // @public export type Status = string; // @public export type StochasticOptimizer = string; +// @public +export interface StorageAccountDetails { + systemCreatedStorageAccount?: SystemCreatedStorageAccount; + userCreatedStorageAccount?: UserCreatedStorageAccount; +} + // @public export type StorageAccountType = string; @@ -4860,6 +7462,7 @@ export interface SweepJob extends JobBaseProperties { outputs?: { [propertyName: string]: JobOutputUnion | null; }; + queueSettings?: QueueSettings; samplingAlgorithm: SamplingAlgorithmUnion; searchSpace: Record; trial: TrialComponent; @@ -4894,6 +7497,22 @@ export interface SynapseSparkProperties { workspaceName?: string; } +// @public (undocumented) +export interface SystemCreatedAcrAccount { + acrAccountName?: string; + acrAccountSku?: string; + armResourceId?: ArmResourceId; +} + +// @public (undocumented) +export interface SystemCreatedStorageAccount { + allowBlobPublicAccess?: boolean; + armResourceId?: ArmResourceId; + storageAccountHnsEnabled?: boolean; + storageAccountName?: string; + storageAccountType?: string; +} + // @public export interface SystemData { createdAt?: Date; @@ -5007,6 +7626,17 @@ export interface TextNer extends NlpVertical, AutoMLVertical { readonly primaryMetric?: ClassificationPrimaryMetrics; } +// @public +export interface TmpfsOptions { + size?: number; +} + +// @public (undocumented) +export interface TopNFeaturesByAttribution extends MonitoringFeatureFilterBase { + filterType: "TopNByAttribution"; + top?: number; +} + // @public export interface TrackedResource extends Resource { location: string; @@ -5165,6 +7795,16 @@ export interface UserAssignedIdentity { readonly principalId?: string; } +// @public (undocumented) +export interface UserCreatedAcrAccount { + armResourceId?: ArmResourceId; +} + +// @public (undocumented) +export interface UserCreatedStorageAccount { + armResourceId?: ArmResourceId; +} + // @public export interface UserIdentity extends IdentityConfiguration { identityType: "UserIdentity"; @@ -5271,6 +7911,38 @@ export type VmPriority = string; // @public export type VMTier = string; +// @public +export interface VolumeDefinition { + bind?: BindOptions; + consistency?: string; + readOnly?: boolean; + source?: string; + target?: string; + tmpfs?: TmpfsOptions; + type?: VolumeDefinitionType; + volume?: VolumeOptions; +} + +// @public +export type VolumeDefinitionType = string; + +// @public +export interface VolumeOptions { + nocopy?: boolean; +} + +// @public +export interface Webhook { + eventType?: string; + webhookType: "AzureDevOps"; +} + +// @public +export type WebhookType = string; + +// @public (undocumented) +export type WebhookUnion = Webhook | AzureDevOpsWebhook; + // @public export type WeekDay = string; @@ -5282,12 +7954,16 @@ export interface Workspace extends Resource { description?: string; discoveryUrl?: string; encryption?: EncryptionProperty; + featureStoreSettings?: FeatureStoreSettings; friendlyName?: string; hbiWorkspace?: boolean; identity?: ManagedServiceIdentity; imageBuildCompute?: string; keyVault?: string; + // (undocumented) + kind?: string; location?: string; + managedNetwork?: ManagedNetworkSettings; readonly mlFlowTrackingUri?: string; readonly notebookInfo?: NotebookResourceInfo; primaryUserAssignedIdentity?: string; @@ -5295,6 +7971,7 @@ export interface Workspace extends Resource { readonly privateLinkCount?: number; readonly provisioningState?: ProvisioningState; publicNetworkAccess?: PublicNetworkAccess; + serverlessComputeSettings?: ServerlessComputeSettings; serviceManagedResourcesSettings?: ServiceManagedResourcesSettings; readonly serviceProvisionedResourceGroup?: string; sharedPrivateLinkResources?: SharedPrivateLinkResource[]; @@ -5387,8 +8064,6 @@ export interface WorkspaceConnectionSharedAccessSignature { // @public export interface WorkspaceConnectionsListNextOptionalParams extends coreClient.OperationOptions { - category?: string; - target?: string; } // @public @@ -5438,17 +8113,17 @@ export interface WorkspaceListResult { // @public export interface Workspaces { - beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise, WorkspacesCreateOrUpdateResponse>>; + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise, WorkspacesCreateOrUpdateResponse>>; beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, parameters: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise; - beginDelete(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise, void>>; + beginDelete(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise, void>>; beginDeleteAndWait(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise; - beginDiagnose(resourceGroupName: string, workspaceName: string, options?: WorkspacesDiagnoseOptionalParams): Promise, WorkspacesDiagnoseResponse>>; + beginDiagnose(resourceGroupName: string, workspaceName: string, options?: WorkspacesDiagnoseOptionalParams): Promise, WorkspacesDiagnoseResponse>>; beginDiagnoseAndWait(resourceGroupName: string, workspaceName: string, options?: WorkspacesDiagnoseOptionalParams): Promise; - beginPrepareNotebook(resourceGroupName: string, workspaceName: string, options?: WorkspacesPrepareNotebookOptionalParams): Promise, WorkspacesPrepareNotebookResponse>>; + beginPrepareNotebook(resourceGroupName: string, workspaceName: string, options?: WorkspacesPrepareNotebookOptionalParams): Promise, WorkspacesPrepareNotebookResponse>>; beginPrepareNotebookAndWait(resourceGroupName: string, workspaceName: string, options?: WorkspacesPrepareNotebookOptionalParams): Promise; - beginResyncKeys(resourceGroupName: string, workspaceName: string, options?: WorkspacesResyncKeysOptionalParams): Promise, void>>; + beginResyncKeys(resourceGroupName: string, workspaceName: string, options?: WorkspacesResyncKeysOptionalParams): Promise, void>>; beginResyncKeysAndWait(resourceGroupName: string, workspaceName: string, options?: WorkspacesResyncKeysOptionalParams): Promise; - beginUpdate(resourceGroupName: string, workspaceName: string, parameters: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams): Promise, WorkspacesUpdateResponse>>; + beginUpdate(resourceGroupName: string, workspaceName: string, parameters: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams): Promise, WorkspacesUpdateResponse>>; beginUpdateAndWait(resourceGroupName: string, workspaceName: string, parameters: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams): Promise; get(resourceGroupName: string, workspaceName: string, options?: WorkspacesGetOptionalParams): Promise; listByResourceGroup(resourceGroupName: string, options?: WorkspacesListByResourceGroupOptionalParams): PagedAsyncIterableIterator; @@ -5460,6 +8135,12 @@ export interface Workspaces { listStorageAccountKeys(resourceGroupName: string, workspaceName: string, options?: WorkspacesListStorageAccountKeysOptionalParams): Promise; } +// @public +export interface WorkspacesCreateOrUpdateHeaders { + location?: string; + retryAfter?: number; +} + // @public export interface WorkspacesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; @@ -5471,6 +8152,7 @@ export type WorkspacesCreateOrUpdateResponse = Workspace; // @public export interface WorkspacesDeleteOptionalParams extends coreClient.OperationOptions { + forceToPurge?: boolean; resumeFrom?: string; updateIntervalInMs?: number; } @@ -5500,7 +8182,6 @@ export type WorkspacesGetResponse = Workspace; // @public export interface WorkspacesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions { - skip?: string; } // @public @@ -5516,7 +8197,6 @@ export type WorkspacesListByResourceGroupResponse = WorkspaceListResult; // @public export interface WorkspacesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions { - skip?: string; } // @public @@ -5565,6 +8245,12 @@ export interface WorkspacesListStorageAccountKeysOptionalParams extends coreClie // @public export type WorkspacesListStorageAccountKeysResponse = ListStorageAccountKeysResult; +// @public +export interface WorkspacesPrepareNotebookHeaders { + location?: string; + retryAfter?: number; +} + // @public export interface WorkspacesPrepareNotebookOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; @@ -5574,12 +8260,24 @@ export interface WorkspacesPrepareNotebookOptionalParams extends coreClient.Oper // @public export type WorkspacesPrepareNotebookResponse = NotebookResourceInfo; +// @public +export interface WorkspacesResyncKeysHeaders { + location?: string; + retryAfter?: number; +} + // @public export interface WorkspacesResyncKeysOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; updateIntervalInMs?: number; } +// @public +export interface WorkspacesUpdateHeaders { + location?: string; + retryAfter?: number; +} + // @public export interface WorkspacesUpdateOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; @@ -5594,11 +8292,13 @@ export interface WorkspaceUpdateParameters { applicationInsights?: string; containerRegistry?: string; description?: string; + featureStoreSettings?: FeatureStoreSettings; friendlyName?: string; identity?: ManagedServiceIdentity; imageBuildCompute?: string; primaryUserAssignedIdentity?: string; publicNetworkAccess?: PublicNetworkAccess; + serverlessComputeSettings?: ServerlessComputeSettings; serviceManagedResourcesSettings?: ServiceManagedResourcesSettings; sku?: Sku; tags?: { diff --git a/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningWorkspaces.ts b/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServices.ts similarity index 63% rename from sdk/machinelearning/arm-machinelearning/src/azureMachineLearningWorkspaces.ts rename to sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServices.ts index 141a281ef475..c6909b759664 100644 --- a/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningWorkspaces.ts +++ b/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServices.ts @@ -11,7 +11,7 @@ import * as coreRestPipeline from "@azure/core-rest-pipeline"; import { PipelineRequest, PipelineResponse, - SendRequest + SendRequest, } from "@azure/core-rest-pipeline"; import * as coreAuth from "@azure/core-auth"; import { @@ -24,6 +24,19 @@ import { PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl, WorkspaceConnectionsImpl, + ManagedNetworkSettingsRuleImpl, + ManagedNetworkProvisionsImpl, + RegistryCodeContainersImpl, + RegistryCodeVersionsImpl, + RegistryComponentContainersImpl, + RegistryComponentVersionsImpl, + RegistryDataContainersImpl, + RegistryDataVersionsImpl, + RegistryDataReferencesImpl, + RegistryEnvironmentContainersImpl, + RegistryEnvironmentVersionsImpl, + RegistryModelContainersImpl, + RegistryModelVersionsImpl, BatchEndpointsImpl, BatchDeploymentsImpl, CodeContainersImpl, @@ -35,13 +48,19 @@ import { DatastoresImpl, EnvironmentContainersImpl, EnvironmentVersionsImpl, + FeaturesetContainersImpl, + FeaturesImpl, + FeaturesetVersionsImpl, + FeaturestoreEntityContainersImpl, + FeaturestoreEntityVersionsImpl, JobsImpl, ModelContainersImpl, ModelVersionsImpl, OnlineEndpointsImpl, OnlineDeploymentsImpl, SchedulesImpl, - WorkspaceFeaturesImpl + RegistriesImpl, + WorkspaceFeaturesImpl, } from "./operations"; import { Operations, @@ -53,6 +72,19 @@ import { PrivateEndpointConnections, PrivateLinkResources, WorkspaceConnections, + ManagedNetworkSettingsRule, + ManagedNetworkProvisions, + RegistryCodeContainers, + RegistryCodeVersions, + RegistryComponentContainers, + RegistryComponentVersions, + RegistryDataContainers, + RegistryDataVersions, + RegistryDataReferences, + RegistryEnvironmentContainers, + RegistryEnvironmentVersions, + RegistryModelContainers, + RegistryModelVersions, BatchEndpoints, BatchDeployments, CodeContainers, @@ -64,23 +96,29 @@ import { Datastores, EnvironmentContainers, EnvironmentVersions, + FeaturesetContainers, + Features, + FeaturesetVersions, + FeaturestoreEntityContainers, + FeaturestoreEntityVersions, Jobs, ModelContainers, ModelVersions, OnlineEndpoints, OnlineDeployments, Schedules, - WorkspaceFeatures + Registries, + WorkspaceFeatures, } from "./operationsInterfaces"; -import { AzureMachineLearningWorkspacesOptionalParams } from "./models"; +import { AzureMachineLearningServicesOptionalParams } from "./models"; -export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { +export class AzureMachineLearningServices extends coreClient.ServiceClient { $host: string; apiVersion: string; subscriptionId: string; /** - * Initializes a new instance of the AzureMachineLearningWorkspaces class. + * Initializes a new instance of the AzureMachineLearningServices class. * @param credentials Subscription credentials which uniquely identify client subscription. * @param subscriptionId The ID of the target subscription. * @param options The parameter options @@ -88,7 +126,7 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { constructor( credentials: coreAuth.TokenCredential, subscriptionId: string, - options?: AzureMachineLearningWorkspacesOptionalParams + options?: AzureMachineLearningServicesOptionalParams, ) { if (credentials === undefined) { throw new Error("'credentials' cannot be null"); @@ -101,12 +139,12 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { if (!options) { options = {}; } - const defaults: AzureMachineLearningWorkspacesOptionalParams = { + const defaults: AzureMachineLearningServicesOptionalParams = { requestContentType: "application/json; charset=utf-8", - credential: credentials + credential: credentials, }; - const packageDetails = `azsdk-js-arm-machinelearning/2.1.2`; + const packageDetails = `azsdk-js-arm-machinelearning/3.0.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -116,20 +154,21 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { ...defaults, ...options, userAgentOptions: { - userAgentPrefix + userAgentPrefix, }, endpoint: - options.endpoint ?? options.baseUri ?? "https://management.azure.com" + options.endpoint ?? options.baseUri ?? "https://management.azure.com", }; super(optionsWithDefaults); let bearerTokenAuthenticationPolicyFound: boolean = false; if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) { - const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies(); + const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = + options.pipeline.getOrderedPolicies(); bearerTokenAuthenticationPolicyFound = pipelinePolicies.some( (pipelinePolicy) => pipelinePolicy.name === - coreRestPipeline.bearerTokenAuthenticationPolicyName + coreRestPipeline.bearerTokenAuthenticationPolicyName, ); } if ( @@ -139,7 +178,7 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { !bearerTokenAuthenticationPolicyFound ) { this.pipeline.removePolicy({ - name: coreRestPipeline.bearerTokenAuthenticationPolicyName + name: coreRestPipeline.bearerTokenAuthenticationPolicyName, }); this.pipeline.addPolicy( coreRestPipeline.bearerTokenAuthenticationPolicy({ @@ -149,9 +188,9 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { `${optionsWithDefaults.endpoint}/.default`, challengeCallbacks: { authorizeRequestOnChallenge: - coreClient.authorizeRequestOnClaimChallenge - } - }) + coreClient.authorizeRequestOnClaimChallenge, + }, + }), ); } // Parameter assignments @@ -159,7 +198,7 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { // Assigning values to Constant parameters this.$host = options.$host || "https://management.azure.com"; - this.apiVersion = options.apiVersion || "2022-10-01"; + this.apiVersion = options.apiVersion || "2024-04-01"; this.operations = new OperationsImpl(this); this.workspaces = new WorkspacesImpl(this); this.usages = new UsagesImpl(this); @@ -169,6 +208,25 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this); this.privateLinkResources = new PrivateLinkResourcesImpl(this); this.workspaceConnections = new WorkspaceConnectionsImpl(this); + this.managedNetworkSettingsRule = new ManagedNetworkSettingsRuleImpl(this); + this.managedNetworkProvisions = new ManagedNetworkProvisionsImpl(this); + this.registryCodeContainers = new RegistryCodeContainersImpl(this); + this.registryCodeVersions = new RegistryCodeVersionsImpl(this); + this.registryComponentContainers = new RegistryComponentContainersImpl( + this, + ); + this.registryComponentVersions = new RegistryComponentVersionsImpl(this); + this.registryDataContainers = new RegistryDataContainersImpl(this); + this.registryDataVersions = new RegistryDataVersionsImpl(this); + this.registryDataReferences = new RegistryDataReferencesImpl(this); + this.registryEnvironmentContainers = new RegistryEnvironmentContainersImpl( + this, + ); + this.registryEnvironmentVersions = new RegistryEnvironmentVersionsImpl( + this, + ); + this.registryModelContainers = new RegistryModelContainersImpl(this); + this.registryModelVersions = new RegistryModelVersionsImpl(this); this.batchEndpoints = new BatchEndpointsImpl(this); this.batchDeployments = new BatchDeploymentsImpl(this); this.codeContainers = new CodeContainersImpl(this); @@ -180,12 +238,20 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { this.datastores = new DatastoresImpl(this); this.environmentContainers = new EnvironmentContainersImpl(this); this.environmentVersions = new EnvironmentVersionsImpl(this); + this.featuresetContainers = new FeaturesetContainersImpl(this); + this.features = new FeaturesImpl(this); + this.featuresetVersions = new FeaturesetVersionsImpl(this); + this.featurestoreEntityContainers = new FeaturestoreEntityContainersImpl( + this, + ); + this.featurestoreEntityVersions = new FeaturestoreEntityVersionsImpl(this); this.jobs = new JobsImpl(this); this.modelContainers = new ModelContainersImpl(this); this.modelVersions = new ModelVersionsImpl(this); this.onlineEndpoints = new OnlineEndpointsImpl(this); this.onlineDeployments = new OnlineDeploymentsImpl(this); this.schedules = new SchedulesImpl(this); + this.registries = new RegistriesImpl(this); this.workspaceFeatures = new WorkspaceFeaturesImpl(this); this.addCustomApiVersionPolicy(options.apiVersion); } @@ -199,7 +265,7 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { name: "CustomApiVersionPolicy", async sendRequest( request: PipelineRequest, - next: SendRequest + next: SendRequest, ): Promise { const param = request.url.split("?"); if (param.length > 1) { @@ -213,7 +279,7 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { request.url = param[0] + "?" + newParams.join("&"); } return next(request); - } + }, }; this.pipeline.addPolicy(apiVersionPolicy); } @@ -227,6 +293,19 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { privateEndpointConnections: PrivateEndpointConnections; privateLinkResources: PrivateLinkResources; workspaceConnections: WorkspaceConnections; + managedNetworkSettingsRule: ManagedNetworkSettingsRule; + managedNetworkProvisions: ManagedNetworkProvisions; + registryCodeContainers: RegistryCodeContainers; + registryCodeVersions: RegistryCodeVersions; + registryComponentContainers: RegistryComponentContainers; + registryComponentVersions: RegistryComponentVersions; + registryDataContainers: RegistryDataContainers; + registryDataVersions: RegistryDataVersions; + registryDataReferences: RegistryDataReferences; + registryEnvironmentContainers: RegistryEnvironmentContainers; + registryEnvironmentVersions: RegistryEnvironmentVersions; + registryModelContainers: RegistryModelContainers; + registryModelVersions: RegistryModelVersions; batchEndpoints: BatchEndpoints; batchDeployments: BatchDeployments; codeContainers: CodeContainers; @@ -238,11 +317,17 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { datastores: Datastores; environmentContainers: EnvironmentContainers; environmentVersions: EnvironmentVersions; + featuresetContainers: FeaturesetContainers; + features: Features; + featuresetVersions: FeaturesetVersions; + featurestoreEntityContainers: FeaturestoreEntityContainers; + featurestoreEntityVersions: FeaturestoreEntityVersions; jobs: Jobs; modelContainers: ModelContainers; modelVersions: ModelVersions; onlineEndpoints: OnlineEndpoints; onlineDeployments: OnlineDeployments; schedules: Schedules; + registries: Registries; workspaceFeatures: WorkspaceFeatures; } diff --git a/sdk/machinelearning/arm-machinelearning/src/index.ts b/sdk/machinelearning/arm-machinelearning/src/index.ts index fa7dd652dbe3..e034d9465142 100644 --- a/sdk/machinelearning/arm-machinelearning/src/index.ts +++ b/sdk/machinelearning/arm-machinelearning/src/index.ts @@ -9,5 +9,5 @@ /// export { getContinuationToken } from "./pagingHelper"; export * from "./models"; -export { AzureMachineLearningWorkspaces } from "./azureMachineLearningWorkspaces"; +export { AzureMachineLearningServices } from "./azureMachineLearningServices"; export * from "./operationsInterfaces"; diff --git a/sdk/machinelearning/arm-machinelearning/src/lroImpl.ts b/sdk/machinelearning/arm-machinelearning/src/lroImpl.ts index 518d5f053b4e..b27f5ac7209b 100644 --- a/sdk/machinelearning/arm-machinelearning/src/lroImpl.ts +++ b/sdk/machinelearning/arm-machinelearning/src/lroImpl.ts @@ -6,29 +6,37 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { AbortSignalLike } from "@azure/abort-controller"; import { LongRunningOperation, LroResponse } from "@azure/core-lro"; -export class LroImpl implements LongRunningOperation { - constructor( - private sendOperationFn: (args: any, spec: any) => Promise>, - private args: Record, - private spec: { - readonly requestBody?: unknown; - readonly path?: string; - readonly httpMethod: string; - } & Record, - public requestPath: string = spec.path!, - public requestMethod: string = spec.httpMethod - ) {} - public async sendInitialRequest(): Promise> { - return this.sendOperationFn(this.args, this.spec); - } - public async sendPollRequest(path: string): Promise> { - const { requestBody, ...restSpec } = this.spec; - return this.sendOperationFn(this.args, { - ...restSpec, - path, - httpMethod: "GET" - }); - } +export function createLroSpec(inputs: { + sendOperationFn: (args: any, spec: any) => Promise>; + args: Record; + spec: { + readonly requestBody?: unknown; + readonly path?: string; + readonly httpMethod: string; + } & Record; +}): LongRunningOperation { + const { args, spec, sendOperationFn } = inputs; + return { + requestMethod: spec.httpMethod, + requestPath: spec.path!, + sendInitialRequest: () => sendOperationFn(args, spec), + sendPollRequest: ( + path: string, + options?: { abortSignal?: AbortSignalLike }, + ) => { + const { requestBody, ...restSpec } = spec; + return sendOperationFn(args, { + ...restSpec, + httpMethod: "GET", + path, + abortSignal: options?.abortSignal, + }); + }, + }; } diff --git a/sdk/machinelearning/arm-machinelearning/src/models/index.ts b/sdk/machinelearning/arm-machinelearning/src/models/index.ts index bb0f66101d3d..32a014cdad53 100644 --- a/sdk/machinelearning/arm-machinelearning/src/models/index.ts +++ b/sdk/machinelearning/arm-machinelearning/src/models/index.ts @@ -8,6 +8,11 @@ import * as coreClient from "@azure/core-client"; +export type OutboundRuleUnion = + | OutboundRule + | PrivateEndpointOutboundRule + | ServiceTagOutboundRule + | FqdnOutboundRule; export type ComputeUnion = | Compute | Aks @@ -32,10 +37,22 @@ export type WorkspaceConnectionPropertiesV2Union = | UsernamePasswordAuthTypeWorkspaceConnectionProperties | NoneAuthTypeWorkspaceConnectionProperties | ManagedIdentityAuthTypeWorkspaceConnectionProperties; +export type PendingUploadCredentialDtoUnion = + | PendingUploadCredentialDto + | SASCredentialDto; +export type DataReferenceCredentialUnion = + | DataReferenceCredential + | AnonymousAccessCredential + | DockerCredential + | ManagedIdentityCredential + | SASCredential; +export type BatchDeploymentConfigurationUnion = + | BatchDeploymentConfiguration + | BatchPipelineComponentDeploymentConfiguration; export type AssetReferenceBaseUnion = | AssetReferenceBase - | DataPathAssetReference | IdAssetReference + | DataPathAssetReference | OutputPathAssetReference; export type DatastoreCredentialsUnion = | DatastoreCredentials @@ -50,20 +67,32 @@ export type DatastoreSecretsUnion = | CertificateDatastoreSecrets | SasDatastoreSecrets | ServicePrincipalDatastoreSecrets; +export type WebhookUnion = Webhook | AzureDevOpsWebhook; +export type TriggerBaseUnion = TriggerBase | RecurrenceTrigger | CronTrigger; export type IdentityConfigurationUnion = | IdentityConfiguration | AmlToken | ManagedIdentity | UserIdentity; +export type NodesUnion = Nodes | AllNodes; export type OnlineScaleSettingsUnion = | OnlineScaleSettings | DefaultScaleSettings | TargetUtilizationScaleSettings; export type ScheduleActionBaseUnion = | ScheduleActionBase + | CreateMonitorAction | EndpointScheduleAction | JobScheduleAction; -export type TriggerBaseUnion = TriggerBase | RecurrenceTrigger | CronTrigger; +export type MonitoringFeatureFilterBaseUnion = + | MonitoringFeatureFilterBase + | AllFeatures + | FeatureSubset + | TopNFeaturesByAttribution; +export type MonitorComputeIdentityBaseUnion = + | MonitorComputeIdentityBase + | AmlTokenComputeIdentity + | ManagedComputeIdentity; export type ForecastHorizonUnion = | ForecastHorizon | AutoForecastHorizon @@ -120,60 +149,130 @@ export type SamplingAlgorithmUnion = | BayesianSamplingAlgorithm | GridSamplingAlgorithm | RandomSamplingAlgorithm; +export type DataDriftMetricThresholdBaseUnion = + | DataDriftMetricThresholdBase + | CategoricalDataDriftMetricThreshold + | NumericalDataDriftMetricThreshold; +export type DataQualityMetricThresholdBaseUnion = + | DataQualityMetricThresholdBase + | CategoricalDataQualityMetricThreshold + | NumericalDataQualityMetricThreshold; +export type PredictionDriftMetricThresholdBaseUnion = + | PredictionDriftMetricThresholdBase + | CategoricalPredictionDriftMetricThreshold + | NumericalPredictionDriftMetricThreshold; export type DistributionConfigurationUnion = | DistributionConfiguration | Mpi | PyTorch | TensorFlow; export type JobLimitsUnion = JobLimits | CommandJobLimits | SweepJobLimits; -export type OnlineDeploymentPropertiesUnion = - | OnlineDeploymentProperties - | KubernetesOnlineDeployment - | ManagedOnlineDeployment; +export type MonitorComputeConfigurationBaseUnion = + | MonitorComputeConfigurationBase + | MonitorServerlessSparkCompute; +export type MonitoringSignalBaseUnion = + | MonitoringSignalBase + | CustomMonitoringSignal + | DataDriftMonitoringSignal + | DataQualityMonitoringSignal + | FeatureAttributionDriftMonitoringSignal + | PredictionDriftMonitoringSignal; +export type MonitoringInputDataBaseUnion = + | MonitoringInputDataBase + | FixedInputData + | RollingInputData + | StaticInputData; +export type OneLakeArtifactUnion = OneLakeArtifact | LakeHouseArtifact; +export type SparkJobEntryUnion = + | SparkJobEntry + | SparkJobPythonEntry + | SparkJobScalaEntry; export type DatastorePropertiesUnion = | DatastoreProperties | AzureBlobDatastore | AzureDataLakeGen1Datastore | AzureDataLakeGen2Datastore - | AzureFileDatastore; + | AzureFileDatastore + | OneLakeDatastore; export type JobBasePropertiesUnion = | JobBaseProperties | AutoMLJob | CommandJob | PipelineJob + | SparkJob | SweepJob; +export type OnlineDeploymentPropertiesUnion = + | OnlineDeploymentProperties + | KubernetesOnlineDeployment + | ManagedOnlineDeployment; export type DataVersionBasePropertiesUnion = | DataVersionBaseProperties | MLTableData | UriFileDataVersion | UriFolderDataVersion; -/** An array of operations supported by the resource provider. */ -export interface AmlOperationListResult { - /** List of AML workspace operations supported by the AML workspace resource provider. */ - value?: AmlOperation[]; +/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */ +export interface OperationListResult { + /** + * List of operations supported by the resource provider + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly value?: Operation[]; + /** + * URL to get the next set of operation list results (if there are any). + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; } -/** Azure Machine Learning workspace REST API operation */ -export interface AmlOperation { - /** Operation name: {provider}/{resource}/{operation} */ - name?: string; - /** Display name of operation */ - display?: AmlOperationDisplay; - /** Indicates whether the operation applies to data-plane */ - isDataAction?: boolean; -} - -/** Display name of operation */ -export interface AmlOperationDisplay { - /** The resource provider name: Microsoft.MachineLearningExperimentation */ - provider?: string; - /** The resource on which the operation is performed. */ - resource?: string; - /** The operation that users can perform. */ - operation?: string; - /** The description for the operation. */ - description?: string; +/** Details of a REST API operation, returned from the Resource Provider Operations API */ +export interface Operation { + /** + * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly name?: string; + /** + * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly isDataAction?: boolean; + /** Localized display information for this particular operation. */ + display?: OperationDisplay; + /** + * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly origin?: Origin; + /** + * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly actionType?: ActionType; +} + +/** Localized display information for this particular operation. */ +export interface OperationDisplay { + /** + * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provider?: string; + /** + * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resource?: string; + /** + * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly operation?: string; + /** + * The short, localized friendly description of the operation; suitable for tool tips and detailed views. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly description?: string; } /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */ @@ -256,11 +355,6 @@ export interface PrivateEndpoint { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; - /** - * The ARM identifier for Subnet resource that private endpoint links to - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly subnetArmId?: string; } /** A collection of information about the state of the connection between service consumer and provider. */ @@ -359,6 +453,13 @@ export interface SystemData { lastModifiedAt?: Date; } +export interface ServerlessComputeSettings { + /** The resource ID of an existing virtual network subnet in which serverless compute nodes should be deployed */ + serverlessComputeCustomSubnet?: string; + /** The flag to signal if serverless compute nodes deployed in custom vNet would have no public IP addresses for a workspace with private endpoint */ + serverlessComputeNoPublicIP?: boolean; +} + export interface SharedPrivateLinkResource { /** Unique name of the private link. */ name?: string; @@ -395,6 +496,48 @@ export interface CosmosDbSettings { collectionsThroughput?: number; } +/** Managed Network settings for a machine learning workspace. */ +export interface ManagedNetworkSettings { + /** Isolation mode for the managed network of a machine learning workspace. */ + isolationMode?: IsolationMode; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly networkId?: string; + /** Dictionary of */ + outboundRules?: { [propertyName: string]: OutboundRuleUnion }; + /** Status of the Provisioning for the managed network of a machine learning workspace. */ + status?: ManagedNetworkProvisionStatus; +} + +/** Outbound Rule for the managed network of a machine learning workspace. */ +export interface OutboundRule { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "PrivateEndpoint" | "ServiceTag" | "FQDN"; + /** Category of a managed network Outbound Rule of a machine learning workspace. */ + category?: RuleCategory; + /** Type of a managed network Outbound Rule of a machine learning workspace. */ + status?: RuleStatus; +} + +/** Status of the Provisioning for the managed network of a machine learning workspace. */ +export interface ManagedNetworkProvisionStatus { + sparkReady?: boolean; + /** Status for the managed network of a machine learning workspace. */ + status?: ManagedNetworkStatus; +} + +/** Settings for feature store type workspace. */ +export interface FeatureStoreSettings { + /** Compute runtime config for feature store type workspace. */ + computeRuntime?: ComputeRuntimeDto; + offlineStoreConnectionName?: string; + onlineStoreConnectionName?: string; +} + +/** Compute runtime config for feature store type workspace. */ +export interface ComputeRuntimeDto { + sparkRuntimeVersion?: string; +} + /** The parameters for updating a machine learning workspace. */ export interface WorkspaceUpdateParameters { /** The resource tags for the machine learning workspace. */ @@ -413,12 +556,16 @@ export interface WorkspaceUpdateParameters { serviceManagedResourcesSettings?: ServiceManagedResourcesSettings; /** The user assigned identity resource id that represents the workspace identity. */ primaryUserAssignedIdentity?: string; + /** Settings for serverless compute created in the workspace */ + serverlessComputeSettings?: ServerlessComputeSettings; /** Whether requests from Public Network are allowed. */ publicNetworkAccess?: PublicNetworkAccess; /** ARM id of the application insights associated with this workspace. */ applicationInsights?: string; /** ARM id of the container registry associated with this workspace. */ containerRegistry?: string; + /** Settings for feature store type workspace. */ + featureStoreSettings?: FeatureStoreSettings; } /** The result of a request to list machine learning workspaces. */ @@ -1005,6 +1152,209 @@ export interface FqdnEndpointDetail { port?: number; } +/** List of outbound rules for the managed network of a machine learning workspace. */ +export interface OutboundRuleListResult { + /** The link to the next page constructed using the continuationToken. If null, there are no additional pages. */ + nextLink?: string; + /** The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces. */ + value?: OutboundRuleBasicResource[]; +} + +/** Managed Network Provisioning options for managed network of a machine learning workspace. */ +export interface ManagedNetworkProvisionOptions { + includeSpark?: boolean; +} + +/** A paginated list of CodeContainer entities. */ +export interface CodeContainerResourceArmPaginatedResult { + /** The link to the next page of CodeContainer objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type CodeContainer. */ + value?: CodeContainer[]; +} + +export interface ResourceBase { + /** The asset description text. */ + description?: string; + /** The asset property dictionary. */ + properties?: { [propertyName: string]: string | null }; + /** Tag dictionary. Tags can be added, removed, and updated. */ + tags?: { [propertyName: string]: string | null }; +} + +/** A paginated list of CodeVersion entities. */ +export interface CodeVersionResourceArmPaginatedResult { + /** The link to the next page of CodeVersion objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type CodeVersion. */ + value?: CodeVersion[]; +} + +export interface PendingUploadRequestDto { + /** If PendingUploadId = null then random guid will be used. */ + pendingUploadId?: string; + /** TemporaryBlobReference is the only supported type */ + pendingUploadType?: PendingUploadType; +} + +export interface PendingUploadResponseDto { + /** Container level read, write, list SAS */ + blobReferenceForConsumption?: BlobReferenceForConsumptionDto; + /** ID for this upload request */ + pendingUploadId?: string; + /** TemporaryBlobReference is the only supported type */ + pendingUploadType?: PendingUploadType; +} + +export interface BlobReferenceForConsumptionDto { + /** + * Blob URI path for client to upload data. + * Example: https://blob.windows.core.net/Container/Path + */ + blobUri?: string; + /** Credential info to access storage account */ + credential?: PendingUploadCredentialDtoUnion; + /** Arm ID of the storage account to use */ + storageAccountArmId?: string; +} + +export interface PendingUploadCredentialDto { + /** Polymorphic discriminator, which specifies the different types this object can be */ + credentialType: "SAS"; +} + +/** A paginated list of ComponentContainer entities. */ +export interface ComponentContainerResourceArmPaginatedResult { + /** The link to the next page of ComponentContainer objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type ComponentContainer. */ + value?: ComponentContainer[]; +} + +/** A paginated list of ComponentVersion entities. */ +export interface ComponentVersionResourceArmPaginatedResult { + /** The link to the next page of ComponentVersion objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type ComponentVersion. */ + value?: ComponentVersion[]; +} + +/** A paginated list of DataContainer entities. */ +export interface DataContainerResourceArmPaginatedResult { + /** The link to the next page of DataContainer objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type DataContainer. */ + value?: DataContainer[]; +} + +/** A paginated list of DataVersionBase entities. */ +export interface DataVersionBaseResourceArmPaginatedResult { + /** The link to the next page of DataVersionBase objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type DataVersionBase. */ + value?: DataVersionBase[]; +} + +/** BlobReferenceSASRequest for getBlobReferenceSAS API */ +export interface GetBlobReferenceSASRequestDto { + /** Id of the asset to be accessed */ + assetId?: string; + /** Blob uri of the asset to be accessed */ + blobUri?: string; +} + +/** BlobReferenceSASResponse for getBlobReferenceSAS API */ +export interface GetBlobReferenceSASResponseDto { + /** Blob reference for consumption details */ + blobReferenceForConsumption?: GetBlobReferenceForConsumptionDto; +} + +export interface GetBlobReferenceForConsumptionDto { + /** Blob uri, example: https://blob.windows.core.net/Container/Path */ + blobUri?: string; + /** Credential info to access storage account */ + credential?: DataReferenceCredentialUnion; + /** The ARM id of the storage account */ + storageAccountArmId?: string; +} + +/** DataReferenceCredential base class */ +export interface DataReferenceCredential { + /** Polymorphic discriminator, which specifies the different types this object can be */ + credentialType: + | "NoCredentials" + | "DockerCredentials" + | "ManagedIdentity" + | "SAS"; +} + +/** A paginated list of EnvironmentContainer entities. */ +export interface EnvironmentContainerResourceArmPaginatedResult { + /** The link to the next page of EnvironmentContainer objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type EnvironmentContainer. */ + value?: EnvironmentContainer[]; +} + +/** A paginated list of EnvironmentVersion entities. */ +export interface EnvironmentVersionResourceArmPaginatedResult { + /** The link to the next page of EnvironmentVersion objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type EnvironmentVersion. */ + value?: EnvironmentVersion[]; +} + +/** Configuration settings for Docker build context */ +export interface BuildContext { + /** + * [Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs. + * + */ + contextUri: string; + /** + * Path to the Dockerfile in the build context. + * + */ + dockerfilePath?: string; +} + +export interface InferenceContainerProperties { + /** The route to check the liveness of the inference server container. */ + livenessRoute?: Route; + /** The route to check the readiness of the inference server container. */ + readinessRoute?: Route; + /** The port to send the scoring requests to, within the inference server container. */ + scoringRoute?: Route; +} + +export interface Route { + /** [Required] The path for the route. */ + path: string; + /** [Required] The port for the route. */ + port: number; +} + +/** A paginated list of ModelContainer entities. */ +export interface ModelContainerResourceArmPaginatedResult { + /** The link to the next page of ModelContainer objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type ModelContainer. */ + value?: ModelContainer[]; +} + +/** A paginated list of ModelVersion entities. */ +export interface ModelVersionResourceArmPaginatedResult { + /** The link to the next page of ModelVersion objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type ModelVersion. */ + value?: ModelVersion[]; +} + +export interface FlavorData { + /** Model flavor-specific data. */ + data?: { [propertyName: string]: string | null }; +} + /** A paginated list of BatchEndpoint entities. */ export interface BatchEndpointTrackedResourceArmPaginatedResult { /** The link to the next page of BatchEndpoint objects. If null, there are no additional pages. */ @@ -1077,10 +1427,16 @@ export interface BatchDeploymentTrackedResourceArmPaginatedResult { value?: BatchDeployment[]; } +/** Properties relevant to different deployment types. */ +export interface BatchDeploymentConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + deploymentConfigurationType: "PipelineComponent"; +} + /** Base definition for asset references. */ export interface AssetReferenceBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - referenceType: "DataPath" | "Id" | "OutputPath"; + referenceType: "Id" | "DataPath" | "OutputPath"; } export interface ResourceConfiguration { @@ -1136,132 +1492,195 @@ export interface PartialBatchDeployment { description?: string; } -/** A paginated list of CodeContainer entities. */ -export interface CodeContainerResourceArmPaginatedResult { - /** The link to the next page of CodeContainer objects. If null, there are no additional pages. */ +/** Publishing destination registry asset information */ +export interface DestinationAsset { + /** Destination asset name */ + destinationName?: string; + /** Destination asset version */ + destinationVersion?: string; + /** Destination registry name */ + registryName?: string; +} + +/** A paginated list of Datastore entities. */ +export interface DatastoreResourceArmPaginatedResult { + /** The link to the next page of Datastore objects. If null, there are no additional pages. */ nextLink?: string; - /** An array of objects of type CodeContainer. */ - value?: CodeContainer[]; + /** An array of objects of type Datastore. */ + value?: Datastore[]; } -export interface ResourceBase { - /** The asset description text. */ - description?: string; - /** The asset property dictionary. */ - properties?: { [propertyName: string]: string | null }; - /** Tag dictionary. Tags can be added, removed, and updated. */ - tags?: { [propertyName: string]: string | null }; +/** Base definition for datastore credentials. */ +export interface DatastoreCredentials { + /** Polymorphic discriminator, which specifies the different types this object can be */ + credentialsType: + | "AccountKey" + | "Certificate" + | "None" + | "Sas" + | "ServicePrincipal"; } -/** A paginated list of CodeVersion entities. */ -export interface CodeVersionResourceArmPaginatedResult { - /** The link to the next page of CodeVersion objects. If null, there are no additional pages. */ - nextLink?: string; - /** An array of objects of type CodeVersion. */ - value?: CodeVersion[]; +/** Base definition for datastore secrets. */ +export interface DatastoreSecrets { + /** Polymorphic discriminator, which specifies the different types this object can be */ + secretsType: "AccountKey" | "Certificate" | "Sas" | "ServicePrincipal"; } -/** A paginated list of ComponentContainer entities. */ -export interface ComponentContainerResourceArmPaginatedResult { - /** The link to the next page of ComponentContainer objects. If null, there are no additional pages. */ +/** A paginated list of FeaturesetContainer entities. */ +export interface FeaturesetContainerResourceArmPaginatedResult { + /** The link to the next page of FeaturesetContainer objects. If null, there are no additional pages. */ nextLink?: string; - /** An array of objects of type ComponentContainer. */ - value?: ComponentContainer[]; + /** An array of objects of type FeaturesetContainer. */ + value?: FeaturesetContainer[]; } -/** A paginated list of ComponentVersion entities. */ -export interface ComponentVersionResourceArmPaginatedResult { - /** The link to the next page of ComponentVersion objects. If null, there are no additional pages. */ +/** A paginated list of Feature entities. */ +export interface FeatureResourceArmPaginatedResult { + /** The link to the next page of Feature objects. If null, there are no additional pages. */ nextLink?: string; - /** An array of objects of type ComponentVersion. */ - value?: ComponentVersion[]; + /** An array of objects of type Feature. */ + value?: Feature[]; } -/** A paginated list of DataContainer entities. */ -export interface DataContainerResourceArmPaginatedResult { - /** The link to the next page of DataContainer objects. If null, there are no additional pages. */ +/** A paginated list of FeaturesetVersion entities. */ +export interface FeaturesetVersionResourceArmPaginatedResult { + /** The link to the next page of FeaturesetVersion objects. If null, there are no additional pages. */ nextLink?: string; - /** An array of objects of type DataContainer. */ - value?: DataContainer[]; + /** An array of objects of type FeaturesetVersion. */ + value?: FeaturesetVersion[]; +} + +export interface MaterializationSettings { + /** Specifies the notification details */ + notification?: NotificationSetting; + /** Specifies the compute resource settings */ + resource?: MaterializationComputeResource; + /** Specifies the schedule details */ + schedule?: RecurrenceTrigger; + /** Specifies the spark compute settings */ + sparkConfiguration?: { [propertyName: string]: string | null }; + /** Specifies the stores to which materialization should happen */ + storeType?: MaterializationStoreType; +} + +/** Configuration for notification. */ +export interface NotificationSetting { + /** Send email notification to user on specified notification type */ + emailOn?: EmailNotificationEnableType[]; + /** This is the email recipient list which has a limitation of 499 characters in total concat with comma separator */ + emails?: string[]; + /** Send webhook callback to a service. Key is a user-provided name for the webhook. */ + webhooks?: { [propertyName: string]: WebhookUnion | null }; +} + +/** Webhook base */ +export interface Webhook { + /** Polymorphic discriminator, which specifies the different types this object can be */ + webhookType: "AzureDevOps"; + /** Send callback on a specified notification event */ + eventType?: string; } -/** A paginated list of DataVersionBase entities. */ -export interface DataVersionBaseResourceArmPaginatedResult { - /** The link to the next page of DataVersionBase objects. If null, there are no additional pages. */ - nextLink?: string; - /** An array of objects of type DataVersionBase. */ - value?: DataVersionBase[]; +/** DTO object representing compute resource */ +export interface MaterializationComputeResource { + /** Specifies the instance type */ + instanceType?: string; } -/** A paginated list of Datastore entities. */ -export interface DatastoreResourceArmPaginatedResult { - /** The link to the next page of Datastore objects. If null, there are no additional pages. */ - nextLink?: string; - /** An array of objects of type Datastore. */ - value?: Datastore[]; +export interface RecurrenceSchedule { + /** [Required] List of hours for the schedule. */ + hours: number[]; + /** [Required] List of minutes for the schedule. */ + minutes: number[]; + /** List of month days for the schedule */ + monthDays?: number[]; + /** List of days for the schedule. */ + weekDays?: WeekDay[]; } -/** Base definition for datastore credentials. */ -export interface DatastoreCredentials { +export interface TriggerBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialsType: - | "AccountKey" - | "Certificate" - | "None" - | "Sas" - | "ServicePrincipal"; + triggerType: "Recurrence" | "Cron"; + /** + * Specifies end time of schedule in ISO 8601, but without a UTC offset. Refer https://en.wikipedia.org/wiki/ISO_8601. + * Recommented format would be "2022-06-01T00:00:01" + * If not present, the schedule will run indefinitely + */ + endTime?: string; + /** Specifies start time of schedule in ISO 8601 format, but without a UTC offset. */ + startTime?: string; + /** + * Specifies time zone in which the schedule runs. + * TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11 + */ + timeZone?: string; } -/** Base definition for datastore secrets. */ -export interface DatastoreSecrets { - /** Polymorphic discriminator, which specifies the different types this object can be */ - secretsType: "AccountKey" | "Certificate" | "Sas" | "ServicePrincipal"; +/** DTO object representing specification */ +export interface FeaturesetSpecification { + /** Specifies the spec path */ + path?: string; } -/** A paginated list of EnvironmentContainer entities. */ -export interface EnvironmentContainerResourceArmPaginatedResult { - /** The link to the next page of EnvironmentContainer objects. If null, there are no additional pages. */ - nextLink?: string; - /** An array of objects of type EnvironmentContainer. */ - value?: EnvironmentContainer[]; +/** Request payload for creating a backfill request for a given feature set version */ +export interface FeaturesetVersionBackfillRequest { + /** Specified the data availability status that you want to backfill */ + dataAvailabilityStatus?: DataAvailabilityStatus[]; + /** Specifies description */ + description?: string; + /** Specifies description */ + displayName?: string; + /** Specifies the backfill feature window to be materialized */ + featureWindow?: FeatureWindow; + /** Specify the jobId to retry the failed materialization */ + jobId?: string; + /** Specifies the properties */ + properties?: { [propertyName: string]: string | null }; + /** Specifies the compute resource settings */ + resource?: MaterializationComputeResource; + /** Specifies the spark compute settings */ + sparkConfiguration?: { [propertyName: string]: string | null }; + /** Specifies the tags */ + tags?: { [propertyName: string]: string | null }; } -/** A paginated list of EnvironmentVersion entities. */ -export interface EnvironmentVersionResourceArmPaginatedResult { - /** The link to the next page of EnvironmentVersion objects. If null, there are no additional pages. */ - nextLink?: string; - /** An array of objects of type EnvironmentVersion. */ - value?: EnvironmentVersion[]; +/** Specifies the feature window */ +export interface FeatureWindow { + /** Specifies the feature window end time */ + featureWindowEnd?: Date; + /** Specifies the feature window start time */ + featureWindowStart?: Date; } -/** Configuration settings for Docker build context */ -export interface BuildContext { - /** - * [Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs. - * - */ - contextUri: string; - /** - * Path to the Dockerfile in the build context. - * - */ - dockerfilePath?: string; +/** Response payload for creating a backfill request for a given feature set version */ +export interface FeaturesetVersionBackfillResponse { + /** List of jobs submitted as part of the backfill request. */ + jobIds?: string[]; } -export interface InferenceContainerProperties { - /** The route to check the liveness of the inference server container. */ - livenessRoute?: Route; - /** The route to check the readiness of the inference server container. */ - readinessRoute?: Route; - /** The port to send the scoring requests to, within the inference server container. */ - scoringRoute?: Route; +/** A paginated list of FeaturestoreEntityContainer entities. */ +export interface FeaturestoreEntityContainerResourceArmPaginatedResult { + /** The link to the next page of FeaturestoreEntityContainer objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type FeaturestoreEntityContainer. */ + value?: FeaturestoreEntityContainer[]; } -export interface Route { - /** [Required] The path for the route. */ - path: string; - /** [Required] The port for the route. */ - port: number; +/** A paginated list of FeaturestoreEntityVersion entities. */ +export interface FeaturestoreEntityVersionResourceArmPaginatedResult { + /** The link to the next page of FeaturestoreEntityVersion objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type FeaturestoreEntityVersion. */ + value?: FeaturestoreEntityVersion[]; +} + +/** DTO object representing index column */ +export interface IndexColumn { + /** Specifies the column name */ + columnName?: string; + /** Specifies the data type */ + dataType?: FeatureDataType; } /** A paginated list of JobBase entities. */ @@ -1289,6 +1708,11 @@ export interface JobService { readonly errorMessage?: string; /** Endpoint type. */ jobServiceType?: string; + /** + * Nodes that user would like to start the service on. + * If Nodes is not set or set to null, the service will only be started on leader node. + */ + nodes?: NodesUnion; /** Port for endpoint. */ port?: number; /** Additional properties to set on the endpoint. */ @@ -1300,25 +1724,10 @@ export interface JobService { readonly status?: string; } -/** A paginated list of ModelContainer entities. */ -export interface ModelContainerResourceArmPaginatedResult { - /** The link to the next page of ModelContainer objects. If null, there are no additional pages. */ - nextLink?: string; - /** An array of objects of type ModelContainer. */ - value?: ModelContainer[]; -} - -/** A paginated list of ModelVersion entities. */ -export interface ModelVersionResourceArmPaginatedResult { - /** The link to the next page of ModelVersion objects. If null, there are no additional pages. */ - nextLink?: string; - /** An array of objects of type ModelVersion. */ - value?: ModelVersion[]; -} - -export interface FlavorData { - /** Model flavor-specific data. */ - data?: { [propertyName: string]: string | null }; +/** Abstract Nodes definition */ +export interface Nodes { + /** Polymorphic discriminator, which specifies the different types this object can be */ + nodesValueType: "All"; } /** A paginated list of OnlineEndpoint entities. */ @@ -1469,25 +1878,131 @@ export interface ScheduleResourceArmPaginatedResult { export interface ScheduleActionBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - actionType: "InvokeBatchEndpoint" | "CreateJob"; + actionType: "CreateMonitor" | "InvokeBatchEndpoint" | "CreateJob"; } -export interface TriggerBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - triggerType: "Recurrence" | "Cron"; +/** A paginated list of Registry entities. */ +export interface RegistryTrackedResourceArmPaginatedResult { + /** The link to the next page of Registry objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type Registry. */ + value?: Registry[]; +} + +/** ARM ResourceId of a resource */ +export interface ArmResourceId { /** - * Specifies end time of schedule in ISO 8601, but without a UTC offset. Refer https://en.wikipedia.org/wiki/ISO_8601. - * Recommented format would be "2022-06-01T00:00:01" - * If not present, the schedule will run indefinitely + * Arm ResourceId is in the format "/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Storage/storageAccounts/{StorageAccountName}" + * or "/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{AcrName}" */ - endTime?: string; - /** Specifies start time of schedule in ISO 8601 format, but without a UTC offset. */ - startTime?: string; + resourceId?: string; +} + +/** Private endpoint connection definition. */ +export interface RegistryPrivateEndpointConnection { /** - * Specifies time zone in which the schedule runs. - * TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11 + * This is the private endpoint connection name created on SRP + * Full resource id: /subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.MachineLearningServices/{resourceType}/{resourceName}/registryPrivateEndpointConnections/{peConnectionName} */ - timeZone?: string; + id?: string; + /** Same as workspace location. */ + location?: string; + /** The group ids */ + groupIds?: string[]; + /** The PE network resource that is linked to this PE connection. */ + privateEndpoint?: PrivateEndpointResource; + /** The connection state. */ + registryPrivateLinkServiceConnectionState?: RegistryPrivateLinkServiceConnectionState; + /** One of null, "Succeeded", "Provisioning", "Failed". While not approved, it's null. */ + provisioningState?: string; +} + +/** The connection state. */ +export interface RegistryPrivateLinkServiceConnectionState { + /** Some RP chose "None". Other RPs use this for region expansion. */ + actionsRequired?: string; + /** User-defined message that, per NRP doc, may be used for approval-related message. */ + description?: string; + /** Connection status of the service consumer with the service provider */ + status?: EndpointServiceConnectionStatus; +} + +/** Details for each region the registry is in */ +export interface RegistryRegionArmDetails { + /** List of ACR accounts */ + acrDetails?: AcrDetails[]; + /** The location where the registry exists */ + location?: string; + /** List of storage accounts */ + storageAccountDetails?: StorageAccountDetails[]; +} + +/** Details of ACR account to be used for the Registry */ +export interface AcrDetails { + /** Details of system created ACR account to be used for the Registry */ + systemCreatedAcrAccount?: SystemCreatedAcrAccount; + /** Details of user created ACR account to be used for the Registry */ + userCreatedAcrAccount?: UserCreatedAcrAccount; +} + +export interface SystemCreatedAcrAccount { + /** Name of the ACR account */ + acrAccountName?: string; + /** SKU of the ACR account */ + acrAccountSku?: string; + /** This is populated once the ACR account is created. */ + armResourceId?: ArmResourceId; +} + +export interface UserCreatedAcrAccount { + /** ARM ResourceId of a resource */ + armResourceId?: ArmResourceId; +} + +/** Details of storage account to be used for the Registry */ +export interface StorageAccountDetails { + /** Details of system created storage account to be used for the registry */ + systemCreatedStorageAccount?: SystemCreatedStorageAccount; + /** Details of user created storage account to be used for the registry */ + userCreatedStorageAccount?: UserCreatedStorageAccount; +} + +export interface SystemCreatedStorageAccount { + /** Public blob access allowed */ + allowBlobPublicAccess?: boolean; + /** This is populated once the storage account is created. */ + armResourceId?: ArmResourceId; + /** HNS enabled for storage account */ + storageAccountHnsEnabled?: boolean; + /** Name of the storage account */ + storageAccountName?: string; + /** + * Allowed values: + * "Standard_LRS", + * "Standard_GRS", + * "Standard_RAGRS", + * "Standard_ZRS", + * "Standard_GZRS", + * "Standard_RAGZRS", + * "Premium_LRS", + * "Premium_ZRS" + */ + storageAccountType?: string; +} + +export interface UserCreatedStorageAccount { + /** ARM ResourceId of a resource */ + armResourceId?: ArmResourceId; +} + +/** Strictly used in update requests. */ +export interface PartialRegistryPartialTrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: RegistryPartialManagedServiceIdentity; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: PartialSku; + /** Resource tags. */ + tags?: { [propertyName: string]: string | null }; } /** The List Aml user feature operation response. */ @@ -1761,6 +2276,13 @@ export interface ComputeInstanceProperties { applicationSharingPolicy?: ApplicationSharingPolicy; /** Specifies policy and settings for SSH access. */ sshSettings?: ComputeInstanceSshSettings; + /** List of Custom Services added to the compute. */ + customServices?: CustomService[]; + /** + * Returns metadata about the operating system image for this compute instance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly osImageMetadata?: ImageMetadata; /** * Describes all connectivity endpoints available for this ComputeInstance. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1797,11 +2319,8 @@ export interface ComputeInstanceProperties { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly lastOperation?: ComputeInstanceLastOperation; - /** - * The list of schedules to be applied on the computes. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly schedules?: ComputeSchedules; + /** The list of schedules to be applied on the computes. */ + schedules?: ComputeSchedules; /** Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs. */ enableNodePublicIp?: boolean; /** @@ -1844,6 +2363,118 @@ export interface ComputeInstanceSshSettings { adminPublicKey?: string; } +/** Specifies the custom service configuration */ +export interface CustomService { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Name of the Custom Service */ + name?: string; + /** Describes the Image Specifications */ + image?: Image; + /** Environment Variable for the container */ + environmentVariables?: { [propertyName: string]: EnvironmentVariable }; + /** Describes the docker settings for the image */ + docker?: Docker; + /** Configuring the endpoints for the container */ + endpoints?: Endpoint[]; + /** Configuring the volumes for the container */ + volumes?: VolumeDefinition[]; +} + +/** Describes the Image Specifications */ +export interface Image { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Type of the image. Possible values are: docker - For docker images. azureml - For AzureML images */ + type?: ImageType; + /** Image reference */ + reference?: string; +} + +/** Environment Variables for the container */ +export interface EnvironmentVariable { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Type of the Environment Variable. Possible values are: local - For local variable */ + type?: EnvironmentVariableType; + /** Value of the Environment variable */ + value?: string; +} + +/** Docker container configuration */ +export interface Docker { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Indicate whether container shall run in privileged or non-privileged mode. */ + privileged?: boolean; +} + +/** Describes the endpoint configuration for the container */ +export interface Endpoint { + /** Protocol over which communication will happen over this endpoint */ + protocol?: Protocol; + /** Name of the Endpoint */ + name?: string; + /** Application port inside the container. */ + target?: number; + /** Port over which the application is exposed from container. */ + published?: number; + /** Host IP over which the application is exposed from the container */ + hostIp?: string; +} + +/** Describes the volume configuration for the container */ +export interface VolumeDefinition { + /** Type of Volume Definition. Possible Values: bind,volume,tmpfs,npipe */ + type?: VolumeDefinitionType; + /** Indicate whether to mount volume as readOnly. Default value for this is false. */ + readOnly?: boolean; + /** Source of the mount. For bind mounts this is the host path. */ + source?: string; + /** Target of the mount. For bind mounts this is the path in the container. */ + target?: string; + /** Consistency of the volume */ + consistency?: string; + /** Bind Options of the mount */ + bind?: BindOptions; + /** Volume Options of the mount */ + volume?: VolumeOptions; + /** tmpfs option of the mount */ + tmpfs?: TmpfsOptions; +} + +/** Describes the bind options for the container */ +export interface BindOptions { + /** Type of Bind Option */ + propagation?: string; + /** Indicate whether to create host path. */ + createHostPath?: boolean; + /** Mention the selinux options. */ + selinux?: string; +} + +/** Describes the volume options for the container */ +export interface VolumeOptions { + /** Indicate whether volume is nocopy */ + nocopy?: boolean; +} + +/** Describes the tmpfs options for the container */ +export interface TmpfsOptions { + /** Mention the Tmpfs size */ + size?: number; +} + +/** Returns metadata about the operating system image for this compute instance. */ +export interface ImageMetadata { + /** Specifies the current operating system image version this compute instance is running on. */ + currentImageVersion?: string; + /** Specifies the latest available operating system image version. */ + latestImageVersion?: string; + /** Specifies whether this compute instance is running on the latest operating system image. */ + isLatestOsImageVersion?: boolean; +} + /** Defines all connectivity endpoints and properties for an ComputeInstance. */ export interface ComputeInstanceConnectivityEndpoints { /** @@ -1960,16 +2591,33 @@ export interface ComputeStartStopSchedule { /** [Required] The compute power action. */ action?: ComputePowerAction; /** [Required] The schedule trigger type. */ - triggerType?: TriggerType; + triggerType?: ComputeTriggerType; /** Required if triggerType is Recurrence. */ - recurrence?: RecurrenceTrigger; + recurrence?: Recurrence; /** Required if triggerType is Cron. */ - cron?: CronTrigger; + cron?: Cron; /** [Deprecated] Not used any more. */ schedule?: ScheduleBase; } -export interface RecurrenceSchedule { +/** The workflow trigger recurrence for ComputeStartStop schedule type. */ +export interface Recurrence { + /** [Required] The frequency to trigger schedule. */ + frequency?: ComputeRecurrenceFrequency; + /** [Required] Specifies schedule interval in conjunction with frequency */ + interval?: number; + /** The start time in yyyy-MM-ddTHH:mm:ss format. */ + startTime?: string; + /** + * Specifies time zone in which the schedule runs. + * TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11 + */ + timeZone?: string; + /** [Required] The recurrence schedule. */ + schedule?: ComputeRecurrenceSchedule; +} + +export interface ComputeRecurrenceSchedule { /** [Required] List of hours for the schedule. */ hours: number[]; /** [Required] List of minutes for the schedule. */ @@ -1977,7 +2625,23 @@ export interface RecurrenceSchedule { /** List of month days for the schedule */ monthDays?: number[]; /** List of days for the schedule. */ - weekDays?: WeekDay[]; + weekDays?: ComputeWeekDay[]; +} + +/** The workflow trigger cron for ComputeStartStop schedule type. */ +export interface Cron { + /** The start time in yyyy-MM-ddTHH:mm:ss format. */ + startTime?: string; + /** + * Specifies time zone in which the schedule runs. + * TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11 + */ + timeZone?: string; + /** + * [Required] Specifies cron expression of schedule. + * The expression should follow NCronTab format. + */ + expression?: string; } export interface ScheduleBase { @@ -2187,6 +2851,35 @@ export interface DatabricksComputeSecretsProperties { databricksAccessToken?: string; } +/** Stops compute instance after user defined period of inactivity. */ +export interface IdleShutdownSetting { + /** Time is defined in ISO8601 format. Minimum is 15 min, maximum is 3 days. */ + idleTimeBeforeShutdown?: string; +} + +/** Private Endpoint destination for a Private Endpoint Outbound Rule for the managed network of a machine learning workspace. */ +export interface PrivateEndpointDestination { + serviceResourceId?: string; + sparkEnabled?: boolean; + /** Type of a managed network Outbound Rule of a machine learning workspace. */ + sparkStatus?: RuleStatus; + subresourceTarget?: string; +} + +/** Service Tag destination for a Service Tag Outbound Rule for the managed network of a machine learning workspace. */ +export interface ServiceTagDestination { + /** The action enum for networking rule. */ + action?: RuleAction; + /** + * Optional, if provided, the ServiceTag property will be ignored. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly addressPrefixes?: string[]; + portRanges?: string; + protocol?: string; + serviceTag?: string; +} + export interface WorkspaceConnectionUsernamePassword { username?: string; password?: string; @@ -2205,6 +2898,17 @@ export interface WorkspaceConnectionManagedIdentity { clientId?: string; } +export interface MonitoringFeatureFilterBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + filterType: "AllFeatures" | "FeatureSubset" | "TopNByAttribution"; +} + +/** Monitor compute identity base definition. */ +export interface MonitorComputeIdentityBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeIdentityType: "AmlToken" | "ManagedIdentity"; +} + /** Asset input type. */ export interface AssetJobInput { /** Input Asset Delivery Mode. */ @@ -2241,6 +2945,11 @@ export interface JobOutput { description?: string; } +export interface QueueSettings { + /** Controls the compute job tier */ + jobTier?: JobTier; +} + /** * AutoML vertical class. * Base class for AutoML verticals - TableVertical/ImageVertical/NLPVertical @@ -2308,6 +3017,14 @@ export interface TargetRollingWindowSize { mode: "Auto" | "Custom"; } +/** Base definition for Azure datastore contents configuration. */ +export interface AzureDatastore { + /** Azure Resource Group name */ + resourceGroup?: string; + /** Azure Subscription Id */ + subscriptionId?: string; +} + /** Early termination policies enable canceling poor-performing runs before they complete */ export interface EarlyTerminationPolicy { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -2327,11 +3044,37 @@ export interface SamplingAlgorithm { samplingAlgorithmType: "Bayesian" | "Grid" | "Random"; } -/** Training related configuration. */ -export interface TrainingSettings { - /** Enable recommendation of DNN models. */ - enableDnnTraining?: boolean; - /** Flag to turn on explainability on best model. */ +export interface DataDriftMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Categorical" | "Numerical"; + /** The threshold value. If null, a default value will be set depending on the selected metric. */ + threshold?: MonitoringThreshold; +} + +export interface MonitoringThreshold { + /** The threshold value. If null, the set default is dependent on the metric type. */ + value?: number; +} + +export interface DataQualityMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Categorical" | "Numerical"; + /** The threshold value. If null, a default value will be set depending on the selected metric. */ + threshold?: MonitoringThreshold; +} + +export interface PredictionDriftMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Categorical" | "Numerical"; + /** The threshold value. If null, a default value will be set depending on the selected metric. */ + threshold?: MonitoringThreshold; +} + +/** Training related configuration. */ +export interface TrainingSettings { + /** Enable recommendation of DNN models. */ + enableDnnTraining?: boolean; + /** Flag to turn on explainability on best model. */ enableModelExplainability?: boolean; /** Flag for enabling onnx compatible models. */ enableOnnxCompatibleModels?: boolean; @@ -2465,6 +3208,92 @@ export interface ContainerResourceSettings { memory?: string; } +export interface MonitorDefinition { + /** The monitor's notification settings. */ + alertNotificationSettings?: MonitorNotificationSettings; + /** [Required] The ARM resource ID of the compute resource to run the monitoring job on. */ + computeConfiguration: MonitorComputeConfigurationBaseUnion; + /** The entities targeted by the monitor. */ + monitoringTarget?: MonitoringTarget; + /** [Required] The signals to monitor. */ + signals: { [propertyName: string]: MonitoringSignalBaseUnion | null }; +} + +export interface MonitorNotificationSettings { + /** The AML notification email settings. */ + emailNotificationSettings?: MonitorEmailNotificationSettings; +} + +export interface MonitorEmailNotificationSettings { + /** The email recipient list which has a limitation of 499 characters in total. */ + emails?: string[]; +} + +/** Monitor compute configuration base definition. */ +export interface MonitorComputeConfigurationBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeType: "ServerlessSpark"; +} + +/** Monitoring target definition. */ +export interface MonitoringTarget { + /** Reference to the deployment asset targeted by this monitor. */ + deploymentId?: string; + /** Reference to the model asset targeted by this monitor. */ + modelId?: string; + /** [Required] The machine learning task type of the monitored model. */ + taskType: ModelTaskType; +} + +export interface MonitoringSignalBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + signalType: + | "Custom" + | "DataDrift" + | "DataQuality" + | "FeatureAttributionDrift" + | "PredictionDrift"; + /** The current notification mode for this signal. */ + notificationTypes?: MonitoringNotificationType[]; + /** Property dictionary. Properties can be added, but not removed or altered. */ + properties?: { [propertyName: string]: string | null }; +} + +export interface CustomMetricThreshold { + /** [Required] The user-defined metric to calculate. */ + metric: string; + /** The threshold value. If null, a default value will be set depending on the selected metric. */ + threshold?: MonitoringThreshold; +} + +/** Monitoring input data base definition. */ +export interface MonitoringInputDataBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + inputDataType: "Fixed" | "Rolling" | "Static"; + /** Mapping of column names to special uses. */ + columns?: { [propertyName: string]: string | null }; + /** The context metadata of the data source. */ + dataContext?: string; + /** [Required] Specifies the type of job. */ + jobInputType: JobInputType; + /** [Required] Input Asset URI. */ + uri: string; +} + +export interface FeatureImportanceSettings { + /** The mode of operation for computing feature importance. */ + mode?: FeatureImportanceMode; + /** The name of the target column within the input data asset. */ + targetColumn?: string; +} + +export interface FeatureAttributionMetricThreshold { + /** [Required] The feature attribution metric to calculate. */ + metric: FeatureAttributionMetric; + /** The threshold value. If null, a default value will be set depending on the selected metric. */ + threshold?: MonitoringThreshold; +} + /** Forecasting specific parameters. */ export interface ForecastingSettings { /** @@ -2606,11 +3435,11 @@ export interface ImageModelSettings { * Distribution expressions to sweep over values of model settings. * * Some examples are: - * + * ``` * ModelName = "choice('seresnext', 'resnest50')"; * LearningRate = "uniform(0.001, 0.01)"; * LayersToFreeze = "choice(0, 2)"; - * + * ``` * All distributions can be specified as distribution_name(min, max) or choice(val1, val2, ..., valn) * where distribution name can be: uniform, quniform, loguniform, etc * For more details on how to compose distribution expressions please check the documentation: @@ -2733,6 +3562,14 @@ export interface ImageSweepSettings { samplingAlgorithm: SamplingAlgorithmType; } +/** OneLake artifact (data source) configuration. */ +export interface OneLakeArtifact { + /** Polymorphic discriminator, which specifies the different types this object can be */ + artifactType: "LakeHouse"; + /** [Required] OneLake artifact name */ + artifactName: string; +} + /** * Abstract class for NLP related AutoML tasks. * NLP - Natural Language Processing. @@ -2764,6 +3601,19 @@ export interface Objective { primaryMetric: string; } +/** Spark job entry point definition. */ +export interface SparkJobEntry { + /** Polymorphic discriminator, which specifies the different types this object can be */ + sparkJobEntryType: "SparkJobPythonEntry" | "SparkJobScalaEntry"; +} + +export interface SparkResourceConfiguration { + /** Optional type of VM used as supported by the compute target. */ + instanceType?: string; + /** Version of spark runtime used for the job. */ + runtimeVersion?: string; +} + /** Trial component definition. */ export interface TrialComponent { /** ARM resource ID of the code asset. */ @@ -2780,6 +3630,16 @@ export interface TrialComponent { resources?: JobResourceConfiguration; } +/** The PE network resource that is linked to this PE connection. */ +export interface PrivateEndpointResource extends PrivateEndpoint { + /** The subnetId that the private endpoint is connected to. */ + subnetArmId?: string; +} + +/** Managed service identity (system assigned and/or user assigned identities) */ +export interface RegistryPartialManagedServiceIdentity + extends ManagedServiceIdentity {} + /** The Private Endpoint Connection resource. */ export interface PrivateEndpointConnection extends Resource { /** The identity of the resource. */ @@ -2805,6 +3665,7 @@ export interface PrivateEndpointConnection extends Resource { export interface Workspace extends Resource { /** The identity of the resource. */ identity?: ManagedServiceIdentity; + kind?: string; /** Specifies the location of the resource. */ location?: string; /** Contains resource tags defined as key/value pairs. */ @@ -2860,6 +3721,8 @@ export interface Workspace extends Resource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly privateEndpointConnections?: PrivateEndpointConnection[]; + /** Settings for serverless compute created in the workspace */ + serverlessComputeSettings?: ServerlessComputeSettings; /** The list of shared private link resources in this workspace. */ sharedPrivateLinkResources?: SharedPrivateLinkResource[]; /** @@ -2888,6 +3751,10 @@ export interface Workspace extends Resource { readonly mlFlowTrackingUri?: string; /** Enabling v1_legacy_mode may prevent you from using features provided by the v2 API. */ v1LegacyMode?: boolean; + /** Managed Network settings for a machine learning workspace. */ + managedNetwork?: ManagedNetworkSettings; + /** Settings for feature store type workspace. */ + featureStoreSettings?: FeatureStoreSettings; } /** Machine Learning compute object wrapped into ARM resource envelope. */ @@ -2930,6 +3797,15 @@ export interface WorkspaceConnectionPropertiesV2BasicResource extends Resource { properties: WorkspaceConnectionPropertiesV2Union; } +/** Outbound Rule Basic Resource for the managed network of a machine learning workspace. */ +export interface OutboundRuleBasicResource extends Resource { + /** Outbound Rule for the managed network of a machine learning workspace. */ + properties: OutboundRuleUnion; +} + +/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */ +export interface ProxyResource extends Resource {} + /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */ export interface TrackedResource extends Resource { /** Resource tags. */ @@ -2938,82 +3814,27 @@ export interface TrackedResource extends Resource { location: string; } -/** Azure Resource Manager resource envelope. */ -export interface CodeContainer extends Resource { - /** [Required] Additional attributes of the entity. */ - properties: CodeContainerProperties; -} - -/** Azure Resource Manager resource envelope. */ -export interface CodeVersion extends Resource { - /** [Required] Additional attributes of the entity. */ - properties: CodeVersionProperties; -} - -/** Azure Resource Manager resource envelope. */ -export interface ComponentContainer extends Resource { - /** [Required] Additional attributes of the entity. */ - properties: ComponentContainerProperties; -} - -/** Azure Resource Manager resource envelope. */ -export interface ComponentVersion extends Resource { - /** [Required] Additional attributes of the entity. */ - properties: ComponentVersionProperties; -} - -/** Azure Resource Manager resource envelope. */ -export interface DataContainer extends Resource { - /** [Required] Additional attributes of the entity. */ - properties: DataContainerProperties; -} - -/** Azure Resource Manager resource envelope. */ -export interface DataVersionBase extends Resource { - /** [Required] Additional attributes of the entity. */ - properties: DataVersionBasePropertiesUnion; -} - -/** Azure Resource Manager resource envelope. */ -export interface Datastore extends Resource { - /** [Required] Additional attributes of the entity. */ - properties: DatastorePropertiesUnion; -} - -/** Azure Resource Manager resource envelope. */ -export interface EnvironmentContainer extends Resource { - /** [Required] Additional attributes of the entity. */ - properties: EnvironmentContainerProperties; -} - -/** Azure Resource Manager resource envelope. */ -export interface EnvironmentVersion extends Resource { - /** [Required] Additional attributes of the entity. */ - properties: EnvironmentVersionProperties; -} - -/** Azure Resource Manager resource envelope. */ -export interface JobBase extends Resource { - /** [Required] Additional attributes of the entity. */ - properties: JobBasePropertiesUnion; -} - -/** Azure Resource Manager resource envelope. */ -export interface ModelContainer extends Resource { - /** [Required] Additional attributes of the entity. */ - properties: ModelContainerProperties; +/** Private Endpoint Outbound Rule for the managed network of a machine learning workspace. */ +export interface PrivateEndpointOutboundRule extends OutboundRule { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "PrivateEndpoint"; + /** Private Endpoint destination for a Private Endpoint Outbound Rule for the managed network of a machine learning workspace. */ + destination?: PrivateEndpointDestination; } -/** Azure Resource Manager resource envelope. */ -export interface ModelVersion extends Resource { - /** [Required] Additional attributes of the entity. */ - properties: ModelVersionProperties; +/** Service Tag Outbound Rule for the managed network of a machine learning workspace. */ +export interface ServiceTagOutboundRule extends OutboundRule { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ServiceTag"; + /** Service Tag destination for a Service Tag Outbound Rule for the managed network of a machine learning workspace. */ + destination?: ServiceTagDestination; } -/** Azure Resource Manager resource envelope. */ -export interface Schedule extends Resource { - /** [Required] Additional attributes of the entity. */ - properties: ScheduleProperties; +/** FQDN Outbound Rule for the managed network of a machine learning workspace. */ +export interface FqdnOutboundRule extends OutboundRule { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "FQDN"; + destination?: string; } /** A Machine Learning compute based on AKS. */ @@ -3135,6 +3956,144 @@ export interface ManagedIdentityAuthTypeWorkspaceConnectionProperties credentials?: WorkspaceConnectionManagedIdentity; } +export interface AssetContainer extends ResourceBase { + /** Is the asset archived? */ + isArchived?: boolean; + /** + * The latest version inside this container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly latestVersion?: string; + /** + * The next auto incremental version + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextVersion?: string; +} + +export interface AssetBase extends ResourceBase { + /** If the name version are system generated (anonymous registration). */ + isAnonymous?: boolean; + /** Is the asset archived? */ + isArchived?: boolean; +} + +/** Base definition for datastore contents configuration. */ +export interface DatastoreProperties extends ResourceBase { + /** [Required] Account credentials. */ + credentials: DatastoreCredentialsUnion; + /** [Required] Storage type backing the datastore. */ + datastoreType: DatastoreType; + /** + * Readonly property to indicate if datastore is the workspace default datastore + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly isDefault?: boolean; +} + +/** DTO object representing feature */ +export interface FeatureProperties extends ResourceBase { + /** Specifies type */ + dataType?: FeatureDataType; + /** Specifies name */ + featureName?: string; +} + +/** Base definition for a job. */ +export interface JobBaseProperties extends ResourceBase { + /** ARM resource ID of the component resource. */ + componentId?: string; + /** ARM resource ID of the compute resource. */ + computeId?: string; + /** Display name of job. */ + displayName?: string; + /** The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment. */ + experimentName?: string; + /** + * Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null. + * Defaults to AmlToken if null. + */ + identity?: IdentityConfigurationUnion; + /** Is the asset archived? */ + isArchived?: boolean; + /** [Required] Specifies the type of job. */ + jobType: JobType; + /** + * List of JobEndpoints. + * For local jobs, a job endpoint will have an endpoint value of FileStreamObject. + */ + services?: { [propertyName: string]: JobService | null }; + /** + * Status of the job. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly status?: JobStatus; +} + +/** Base definition of a schedule */ +export interface ScheduleProperties extends ResourceBase { + /** [Required] Specifies the action of the schedule */ + action: ScheduleActionBaseUnion; + /** Display name of schedule. */ + displayName?: string; + /** Is the schedule enabled? */ + isEnabled?: boolean; + /** + * Provisioning state for the schedule. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ScheduleProvisioningStatus; + /** [Required] Specifies the trigger details */ + trigger: TriggerBaseUnion; +} + +export interface SASCredentialDto extends PendingUploadCredentialDto { + /** Polymorphic discriminator, which specifies the different types this object can be */ + credentialType: "SAS"; + /** Full SAS Uri, including the storage, container/blob path and SAS token */ + sasUri?: string; +} + +/** Access credential with no credentials */ +export interface AnonymousAccessCredential extends DataReferenceCredential { + /** Polymorphic discriminator, which specifies the different types this object can be */ + credentialType: "NoCredentials"; +} + +/** Credential for docker with username and password */ +export interface DockerCredential extends DataReferenceCredential { + /** Polymorphic discriminator, which specifies the different types this object can be */ + credentialType: "DockerCredentials"; + /** DockerCredential user password */ + password?: string; + /** DockerCredential user name */ + userName?: string; +} + +/** Credential for user managed identity */ +export interface ManagedIdentityCredential extends DataReferenceCredential { + /** Polymorphic discriminator, which specifies the different types this object can be */ + credentialType: "ManagedIdentity"; + /** ManagedIdentityCredential identity type */ + managedIdentityType?: string; + /** ClientId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null. */ + userManagedIdentityClientId?: string; + /** PrincipalId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null. */ + userManagedIdentityPrincipalId?: string; + /** Full arm scope for the Id. For ManagedIdentityType = SystemManaged, this field is null. */ + userManagedIdentityResourceId?: string; + /** TenantId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null. */ + userManagedIdentityTenantId?: string; +} + +/** Access with full SAS uri */ +export interface SASCredential extends DataReferenceCredential { + /** Polymorphic discriminator, which specifies the different types this object can be */ + credentialType: "SAS"; + /** Full SAS Uri, including the storage, container/blob path and SAS token */ + sasUri?: string; +} + /** Batch endpoint configuration. */ export interface BatchEndpointProperties extends EndpointPropertiesBase { /** Default values for Batch Endpoint */ @@ -3153,6 +4112,8 @@ export interface OnlineEndpointProperties extends EndpointPropertiesBase { * optional */ compute?: string; + /** Percentage of traffic to be mirrored to each deployment without using returned scoring. Traffic values need to sum to utmost 50. */ + mirrorTraffic?: { [propertyName: string]: number }; /** * Provisioning state for the endpoint. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -3178,14 +4139,19 @@ export interface PartialMinimalTrackedResourceWithSku sku?: PartialSku; } -/** Reference to an asset via its path in a datastore. */ -export interface DataPathAssetReference extends AssetReferenceBase { +/** Properties for a Batch Pipeline Component Deployment. */ +export interface BatchPipelineComponentDeploymentConfiguration + extends BatchDeploymentConfiguration { /** Polymorphic discriminator, which specifies the different types this object can be */ - referenceType: "DataPath"; - /** ARM resource ID of the datastore where the asset is located. */ - datastoreId?: string; - /** The path of the file/directory in the datastore. */ - path?: string; + deploymentConfigurationType: "PipelineComponent"; + /** The ARM id of the component to be run. */ + componentId?: IdAssetReference; + /** The description which will be applied to the job. */ + description?: string; + /** Run-time settings for the pipeline job. */ + settings?: { [propertyName: string]: string | null }; + /** The tags which will be applied to the job. */ + tags?: { [propertyName: string]: string | null }; } /** Reference to an asset via its ARM resource ID. */ @@ -3196,6 +4162,16 @@ export interface IdAssetReference extends AssetReferenceBase { assetId: string; } +/** Reference to an asset via its path in a datastore. */ +export interface DataPathAssetReference extends AssetReferenceBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + referenceType: "DataPath"; + /** ARM resource ID of the datastore where the asset is located. */ + datastoreId?: string; + /** The path of the file/directory in the datastore. */ + path?: string; +} + /** Reference to an asset via its path in a job output. */ export interface OutputPathAssetReference extends AssetReferenceBase { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -3221,6 +4197,8 @@ export interface BatchDeploymentProperties extends EndpointDeploymentPropertiesBase { /** Compute target for batch inference operation. */ compute?: string; + /** Properties relevant to different deployment types. */ + deploymentConfiguration?: BatchDeploymentConfigurationUnion; /** * Error threshold, if the error count for the entire input goes above this value, * the batch inference will be aborted. Range is [-1, int.MaxValue]. @@ -3296,89 +4274,6 @@ export interface OnlineDeploymentProperties scaleSettings?: OnlineScaleSettingsUnion; } -export interface AssetContainer extends ResourceBase { - /** Is the asset archived? */ - isArchived?: boolean; - /** - * The latest version inside this container. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly latestVersion?: string; - /** - * The next auto incremental version - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextVersion?: string; -} - -export interface AssetBase extends ResourceBase { - /** If the name version are system generated (anonymous registration). */ - isAnonymous?: boolean; - /** Is the asset archived? */ - isArchived?: boolean; -} - -/** Base definition for datastore contents configuration. */ -export interface DatastoreProperties extends ResourceBase { - /** [Required] Account credentials. */ - credentials: DatastoreCredentialsUnion; - /** [Required] Storage type backing the datastore. */ - datastoreType: DatastoreType; - /** - * Readonly property to indicate if datastore is the workspace default datastore - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly isDefault?: boolean; -} - -/** Base definition for a job. */ -export interface JobBaseProperties extends ResourceBase { - /** ARM resource ID of the component resource. */ - componentId?: string; - /** ARM resource ID of the compute resource. */ - computeId?: string; - /** Display name of job. */ - displayName?: string; - /** The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment. */ - experimentName?: string; - /** - * Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null. - * Defaults to AmlToken if null. - */ - identity?: IdentityConfigurationUnion; - /** Is the asset archived? */ - isArchived?: boolean; - /** [Required] Specifies the type of job. */ - jobType: JobType; - /** - * List of JobEndpoints. - * For local jobs, a job endpoint will have an endpoint value of FileStreamObject. - */ - services?: { [propertyName: string]: JobService | null }; - /** - * Status of the job. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly status?: JobStatus; -} - -/** Base definition of a schedule */ -export interface ScheduleProperties extends ResourceBase { - /** [Required] Specifies the action of the schedule */ - action: ScheduleActionBaseUnion; - /** Display name of schedule. */ - displayName?: string; - /** Is the schedule enabled? */ - isEnabled?: boolean; - /** - * Provisioning state for the schedule. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: ScheduleProvisioningStatus; - /** [Required] Specifies the trigger details */ - trigger: TriggerBaseUnion; -} - /** Account key datastore credentials configuration. */ export interface AccountKeyDatastoreCredentials extends DatastoreCredentials { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -3468,6 +4363,33 @@ export interface ServicePrincipalDatastoreSecrets extends DatastoreSecrets { clientSecret?: string; } +/** Webhook details specific for Azure DevOps */ +export interface AzureDevOpsWebhook extends Webhook { + /** Polymorphic discriminator, which specifies the different types this object can be */ + webhookType: "AzureDevOps"; +} + +export interface RecurrenceTrigger extends TriggerBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + triggerType: "Recurrence"; + /** [Required] The frequency to trigger schedule. */ + frequency: RecurrenceFrequency; + /** [Required] Specifies schedule interval in conjunction with frequency */ + interval: number; + /** The recurrence schedule. */ + schedule?: RecurrenceSchedule; +} + +export interface CronTrigger extends TriggerBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + triggerType: "Cron"; + /** + * [Required] Specifies cron expression of schedule. + * The expression should follow NCronTab format. + */ + expression: string; +} + /** AML Token identity configuration. */ export interface AmlToken extends IdentityConfiguration { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -3492,6 +4414,12 @@ export interface UserIdentity extends IdentityConfiguration { identityType: "UserIdentity"; } +/** All nodes means the service will be running on all of the nodes of the job */ +export interface AllNodes extends Nodes { + /** Polymorphic discriminator, which specifies the different types this object can be */ + nodesValueType: "All"; +} + export interface DefaultScaleSettings extends OnlineScaleSettings { /** Polymorphic discriminator, which specifies the different types this object can be */ scaleType: "Default"; @@ -3510,6 +4438,13 @@ export interface TargetUtilizationScaleSettings extends OnlineScaleSettings { targetUtilizationPercentage?: number; } +export interface CreateMonitorAction extends ScheduleActionBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + actionType: "CreateMonitor"; + /** [Required] Defines the monitor. */ + monitorDefinition: MonitorDefinition; +} + export interface EndpointScheduleAction extends ScheduleActionBase { /** Polymorphic discriminator, which specifies the different types this object can be */ actionType: "InvokeBatchEndpoint"; @@ -3527,25 +4462,37 @@ export interface JobScheduleAction extends ScheduleActionBase { jobDefinition: JobBasePropertiesUnion; } -export interface RecurrenceTrigger extends TriggerBase { +export interface AllFeatures extends MonitoringFeatureFilterBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - triggerType: "Recurrence"; - /** [Required] The frequency to trigger schedule. */ - frequency: RecurrenceFrequency; - /** [Required] Specifies schedule interval in conjunction with frequency */ - interval: number; - /** The recurrence schedule. */ - schedule?: RecurrenceSchedule; + filterType: "AllFeatures"; } -export interface CronTrigger extends TriggerBase { +export interface FeatureSubset extends MonitoringFeatureFilterBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - triggerType: "Cron"; - /** - * [Required] Specifies cron expression of schedule. - * The expression should follow NCronTab format. - */ - expression: string; + filterType: "FeatureSubset"; + /** [Required] The list of features to include. */ + features: string[]; +} + +export interface TopNFeaturesByAttribution extends MonitoringFeatureFilterBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + filterType: "TopNByAttribution"; + /** The number of top features to include. */ + top?: number; +} + +/** AML token compute identity definition. */ +export interface AmlTokenComputeIdentity extends MonitorComputeIdentityBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeIdentityType: "AmlToken"; +} + +/** Managed compute identity definition. */ +export interface ManagedComputeIdentity extends MonitorComputeIdentityBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeIdentityType: "ManagedIdentity"; + /** The identity which will be leveraged by the monitoring jobs. */ + identity?: ManagedServiceIdentity; } export interface MLTableJobInput extends AssetJobInput, JobInput {} @@ -3755,6 +4702,64 @@ export interface CustomTargetRollingWindowSize extends TargetRollingWindowSize { value: number; } +/** Azure Blob datastore configuration. */ +export interface AzureBlobDatastore + extends AzureDatastore, + DatastoreProperties { + /** Storage account name. */ + accountName?: string; + /** Storage account container name. */ + containerName?: string; + /** Azure cloud endpoint for the storage account. */ + endpoint?: string; + /** Protocol used to communicate with the storage account. */ + protocol?: string; + /** Indicates which identity to use to authenticate service data access to customer's storage. */ + serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; +} + +/** Azure Data Lake Gen1 datastore configuration. */ +export interface AzureDataLakeGen1Datastore + extends AzureDatastore, + DatastoreProperties { + /** Indicates which identity to use to authenticate service data access to customer's storage. */ + serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; + /** [Required] Azure Data Lake store name. */ + storeName: string; +} + +/** Azure Data Lake Gen2 datastore configuration. */ +export interface AzureDataLakeGen2Datastore + extends AzureDatastore, + DatastoreProperties { + /** [Required] Storage account name. */ + accountName: string; + /** Azure cloud endpoint for the storage account. */ + endpoint?: string; + /** [Required] The name of the Data Lake Gen2 filesystem. */ + filesystem: string; + /** Protocol used to communicate with the storage account. */ + protocol?: string; + /** Indicates which identity to use to authenticate service data access to customer's storage. */ + serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; +} + +/** Azure File datastore configuration. */ +export interface AzureFileDatastore + extends AzureDatastore, + DatastoreProperties { + /** [Required] Storage account name. */ + accountName: string; + /** Azure cloud endpoint for the storage account. */ + endpoint?: string; + /** [Required] The name of the Azure file share that the datastore points to. */ + fileShareName: string; + /** Protocol used to communicate with the storage account. */ + protocol?: string; + /** Indicates which identity to use to authenticate service data access to customer's storage. */ + serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; +} + /** Defines an early termination policy based on slack criteria, and a frequency and delay interval for evaluation */ export interface BanditPolicy extends EarlyTerminationPolicy { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -3801,6 +4806,54 @@ export interface RandomSamplingAlgorithm extends SamplingAlgorithm { seed?: number; } +export interface CategoricalDataDriftMetricThreshold + extends DataDriftMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Categorical"; + /** [Required] The categorical data drift metric to calculate. */ + metric: CategoricalDataDriftMetric; +} + +export interface NumericalDataDriftMetricThreshold + extends DataDriftMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Numerical"; + /** [Required] The numerical data drift metric to calculate. */ + metric: NumericalDataDriftMetric; +} + +export interface CategoricalDataQualityMetricThreshold + extends DataQualityMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Categorical"; + /** [Required] The categorical data quality metric to calculate. */ + metric: CategoricalDataQualityMetric; +} + +export interface NumericalDataQualityMetricThreshold + extends DataQualityMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Numerical"; + /** [Required] The numerical data quality metric to calculate. */ + metric: NumericalDataQualityMetric; +} + +export interface CategoricalPredictionDriftMetricThreshold + extends PredictionDriftMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Categorical"; + /** [Required] The categorical prediction drift metric to calculate. */ + metric: CategoricalPredictionDriftMetric; +} + +export interface NumericalPredictionDriftMetricThreshold + extends PredictionDriftMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Numerical"; + /** [Required] The numerical prediction drift metric to calculate. */ + metric: NumericalPredictionDriftMetric; +} + /** Classification Training related configuration. */ export interface ClassificationTrainingSettings extends TrainingSettings { /** Allowed models for classification task. */ @@ -3891,6 +4944,133 @@ export interface SweepJobLimits extends JobLimits { trialTimeout?: string; } +/** Monitor serverless spark compute definition. */ +export interface MonitorServerlessSparkCompute + extends MonitorComputeConfigurationBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeType: "ServerlessSpark"; + /** [Required] The identity scheme leveraged to by the spark jobs running on serverless Spark. */ + computeIdentity: MonitorComputeIdentityBaseUnion; + /** [Required] The instance type running the Spark job. */ + instanceType: string; + /** [Required] The Spark runtime version. */ + runtimeVersion: string; +} + +export interface CustomMonitoringSignal extends MonitoringSignalBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + signalType: "Custom"; + /** [Required] Reference to the component asset used to calculate the custom metrics. */ + componentId: string; + /** Monitoring assets to take as input. Key is the component input port name, value is the data asset. */ + inputAssets?: { [propertyName: string]: MonitoringInputDataBaseUnion | null }; + /** Extra component parameters to take as input. Key is the component literal input port name, value is the parameter value. */ + inputs?: { [propertyName: string]: JobInputUnion | null }; + /** [Required] A list of metrics to calculate and their associated thresholds. */ + metricThresholds: CustomMetricThreshold[]; +} + +export interface DataDriftMonitoringSignal extends MonitoringSignalBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + signalType: "DataDrift"; + /** A dictionary that maps feature names to their respective data types. */ + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; + }; + /** The settings for computing feature importance. */ + featureImportanceSettings?: FeatureImportanceSettings; + /** The feature filter which identifies which feature to calculate drift over. */ + features?: MonitoringFeatureFilterBaseUnion; + /** [Required] A list of metrics to calculate and their associated thresholds. */ + metricThresholds: DataDriftMetricThresholdBaseUnion[]; + /** [Required] The data which drift will be calculated for. */ + productionData: MonitoringInputDataBaseUnion; + /** [Required] The data to calculate drift against. */ + referenceData: MonitoringInputDataBaseUnion; +} + +export interface DataQualityMonitoringSignal extends MonitoringSignalBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + signalType: "DataQuality"; + /** A dictionary that maps feature names to their respective data types. */ + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; + }; + /** The settings for computing feature importance. */ + featureImportanceSettings?: FeatureImportanceSettings; + /** The features to calculate drift over. */ + features?: MonitoringFeatureFilterBaseUnion; + /** [Required] A list of metrics to calculate and their associated thresholds. */ + metricThresholds: DataQualityMetricThresholdBaseUnion[]; + /** [Required] The data produced by the production service which drift will be calculated for. */ + productionData: MonitoringInputDataBaseUnion; + /** [Required] The data to calculate drift against. */ + referenceData: MonitoringInputDataBaseUnion; +} + +export interface FeatureAttributionDriftMonitoringSignal + extends MonitoringSignalBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + signalType: "FeatureAttributionDrift"; + /** A dictionary that maps feature names to their respective data types. */ + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; + }; + /** [Required] The settings for computing feature importance. */ + featureImportanceSettings: FeatureImportanceSettings; + /** [Required] A list of metrics to calculate and their associated thresholds. */ + metricThreshold: FeatureAttributionMetricThreshold; + /** [Required] The data which drift will be calculated for. */ + productionData: MonitoringInputDataBaseUnion[]; + /** [Required] The data to calculate drift against. */ + referenceData: MonitoringInputDataBaseUnion; +} + +export interface PredictionDriftMonitoringSignal extends MonitoringSignalBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + signalType: "PredictionDrift"; + /** A dictionary that maps feature names to their respective data types. */ + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; + }; + /** [Required] A list of metrics to calculate and their associated thresholds. */ + metricThresholds: PredictionDriftMetricThresholdBaseUnion[]; + /** [Required] The data which drift will be calculated for. */ + productionData: MonitoringInputDataBaseUnion; + /** [Required] The data to calculate drift against. */ + referenceData: MonitoringInputDataBaseUnion; +} + +/** Fixed input data definition. */ +export interface FixedInputData extends MonitoringInputDataBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + inputDataType: "Fixed"; +} + +/** Rolling input data definition. */ +export interface RollingInputData extends MonitoringInputDataBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + inputDataType: "Rolling"; + /** Reference to the component asset used to preprocess the data. */ + preprocessingComponentId?: string; + /** [Required] The time offset between the end of the data window and the monitor's current run time. */ + windowOffset: string; + /** [Required] The size of the rolling data window. */ + windowSize: string; +} + +/** Static input data definition. */ +export interface StaticInputData extends MonitoringInputDataBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + inputDataType: "Static"; + /** Reference to the component asset used to preprocess the data. */ + preprocessingComponentId?: string; + /** [Required] The end date of the data window. */ + windowEnd: Date; + /** [Required] The start date of the data window. */ + windowStart: Date; +} + /** * Settings used for training the model. * For more information on the available settings please visit the official documentation: @@ -3985,11 +5165,11 @@ export interface ImageModelSettingsObjectDetection extends ImageModelSettings { * Distribution expressions to sweep over values of model settings. * * Some examples are: - * + * ``` * ModelName = "choice('seresnext', 'resnest50')"; * LearningRate = "uniform(0.001, 0.01)"; * LayersToFreeze = "choice(0, 2)"; - * + * ``` * For more details on how to compose distribution expressions please check the documentation: * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters * For more information on the available settings please visit the official documentation: @@ -4014,11 +5194,11 @@ export interface ImageModelDistributionSettingsClassification * Distribution expressions to sweep over values of model settings. * * Some examples are: - * + * ``` * ModelName = "choice('seresnext', 'resnest50')"; * LearningRate = "uniform(0.001, 0.01)"; * LayersToFreeze = "choice(0, 2)"; - * + * ``` * For more details on how to compose distribution expressions please check the documentation: * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters * For more information on the available settings please visit the official documentation: @@ -4106,72 +5286,223 @@ export interface ImageObjectDetectionBase extends ImageVertical { searchSpace?: ImageModelDistributionSettingsObjectDetection[]; } -export interface BatchEndpoint extends TrackedResource { - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: ManagedServiceIdentity; - /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ - kind?: string; - /** [Required] Additional attributes of the entity. */ - properties: BatchEndpointProperties; - /** Sku details required for ARM contract for Autoscaling. */ - sku?: Sku; +export interface LakeHouseArtifact extends OneLakeArtifact { + /** Polymorphic discriminator, which specifies the different types this object can be */ + artifactType: "LakeHouse"; } -export interface BatchDeployment extends TrackedResource { - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: ManagedServiceIdentity; - /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ - kind?: string; +export interface SparkJobPythonEntry extends SparkJobEntry { + /** Polymorphic discriminator, which specifies the different types this object can be */ + sparkJobEntryType: "SparkJobPythonEntry"; + /** [Required] Relative python file path for job entry point. */ + file: string; +} + +export interface SparkJobScalaEntry extends SparkJobEntry { + /** Polymorphic discriminator, which specifies the different types this object can be */ + sparkJobEntryType: "SparkJobScalaEntry"; + /** [Required] Scala class name used as entry point. */ + className: string; +} + +/** Azure Resource Manager resource envelope. */ +export interface CodeContainer extends ProxyResource { /** [Required] Additional attributes of the entity. */ - properties: BatchDeploymentProperties; - /** Sku details required for ARM contract for Autoscaling. */ - sku?: Sku; + properties: CodeContainerProperties; } -export interface OnlineEndpoint extends TrackedResource { - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: ManagedServiceIdentity; - /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ - kind?: string; +/** Azure Resource Manager resource envelope. */ +export interface CodeVersion extends ProxyResource { /** [Required] Additional attributes of the entity. */ - properties: OnlineEndpointProperties; - /** Sku details required for ARM contract for Autoscaling. */ - sku?: Sku; + properties: CodeVersionProperties; } -export interface OnlineDeployment extends TrackedResource { - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: ManagedServiceIdentity; - /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ - kind?: string; +/** Azure Resource Manager resource envelope. */ +export interface ComponentContainer extends ProxyResource { /** [Required] Additional attributes of the entity. */ - properties: OnlineDeploymentPropertiesUnion; - /** Sku details required for ARM contract for Autoscaling. */ - sku?: Sku; + properties: ComponentContainerProperties; } -/** Properties specific to a KubernetesOnlineDeployment. */ -export interface KubernetesOnlineDeployment extends OnlineDeploymentProperties { - /** Polymorphic discriminator, which specifies the different types this object can be */ - endpointComputeType: "Kubernetes"; - /** The resource requirements for the container (cpu and memory). */ - containerResourceRequirements?: ContainerResourceRequirements; +/** Azure Resource Manager resource envelope. */ +export interface ComponentVersion extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: ComponentVersionProperties; } -/** Properties specific to a ManagedOnlineDeployment. */ -export interface ManagedOnlineDeployment extends OnlineDeploymentProperties { - /** Polymorphic discriminator, which specifies the different types this object can be */ - endpointComputeType: "Managed"; +/** Azure Resource Manager resource envelope. */ +export interface DataContainer extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: DataContainerProperties; +} + +/** Azure Resource Manager resource envelope. */ +export interface DataVersionBase extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: DataVersionBasePropertiesUnion; +} + +/** Azure Resource Manager resource envelope. */ +export interface EnvironmentContainer extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: EnvironmentContainerProperties; +} + +/** Azure Resource Manager resource envelope. */ +export interface EnvironmentVersion extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: EnvironmentVersionProperties; +} + +/** Azure Resource Manager resource envelope. */ +export interface ModelContainer extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: ModelContainerProperties; +} + +/** Azure Resource Manager resource envelope. */ +export interface ModelVersion extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: ModelVersionProperties; +} + +/** Azure Resource Manager resource envelope. */ +export interface Datastore extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: DatastorePropertiesUnion; +} + +/** Azure Resource Manager resource envelope. */ +export interface FeaturesetContainer extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: FeaturesetContainerProperties; +} + +/** Azure Resource Manager resource envelope. */ +export interface Feature extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: FeatureProperties; +} + +/** Azure Resource Manager resource envelope. */ +export interface FeaturesetVersion extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: FeaturesetVersionProperties; +} + +/** Azure Resource Manager resource envelope. */ +export interface FeaturestoreEntityContainer extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: FeaturestoreEntityContainerProperties; +} + +/** Azure Resource Manager resource envelope. */ +export interface FeaturestoreEntityVersion extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: FeaturestoreEntityVersionProperties; +} + +/** Azure Resource Manager resource envelope. */ +export interface JobBase extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: JobBasePropertiesUnion; +} + +/** Azure Resource Manager resource envelope. */ +export interface Schedule extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: ScheduleProperties; +} + +export interface BatchEndpoint extends TrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ + kind?: string; + /** [Required] Additional attributes of the entity. */ + properties: BatchEndpointProperties; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: Sku; +} + +export interface BatchDeployment extends TrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ + kind?: string; + /** [Required] Additional attributes of the entity. */ + properties: BatchDeploymentProperties; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: Sku; +} + +export interface OnlineEndpoint extends TrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ + kind?: string; + /** [Required] Additional attributes of the entity. */ + properties: OnlineEndpointProperties; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: Sku; +} + +export interface OnlineDeployment extends TrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ + kind?: string; + /** [Required] Additional attributes of the entity. */ + properties: OnlineDeploymentPropertiesUnion; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: Sku; +} + +export interface Registry extends TrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ + kind?: string; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: Sku; + /** Discovery URL for the Registry */ + discoveryUrl?: string; + /** IntellectualPropertyPublisher for the registry */ + intellectualPropertyPublisher?: string; + /** ResourceId of the managed RG if the registry has system created resources */ + managedResourceGroup?: ArmResourceId; + /** MLFlow Registry URI for the Registry */ + mlFlowRegistryUri?: string; + /** Private endpoint connections info used for pending connections in private link portal */ + registryPrivateEndpointConnections?: RegistryPrivateEndpointConnection[]; + /** + * Is the Registry accessible from the internet? + * Possible values: "Enabled" or "Disabled" + */ + publicNetworkAccess?: string; + /** Details of each region the registry is in */ + regionDetails?: RegistryRegionArmDetails[]; } /** Container for code asset versions. */ -export interface CodeContainerProperties extends AssetContainer {} +export interface CodeContainerProperties extends AssetContainer { + /** + * Provisioning state for the code container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; +} /** * Component container definition. * */ -export interface ComponentContainerProperties extends AssetContainer {} +export interface ComponentContainerProperties extends AssetContainer { + /** + * Provisioning state for the component container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; +} /** Container for data asset versions. */ export interface DataContainerProperties extends AssetContainer { @@ -4180,14 +5511,49 @@ export interface DataContainerProperties extends AssetContainer { } /** Container for environment specification versions. */ -export interface EnvironmentContainerProperties extends AssetContainer {} +export interface EnvironmentContainerProperties extends AssetContainer { + /** + * Provisioning state for the environment container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; +} + +export interface ModelContainerProperties extends AssetContainer { + /** + * Provisioning state for the model container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; +} + +/** DTO object representing feature set */ +export interface FeaturesetContainerProperties extends AssetContainer { + /** + * Provisioning state for the featureset container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; +} -export interface ModelContainerProperties extends AssetContainer {} +/** DTO object representing feature entity */ +export interface FeaturestoreEntityContainerProperties extends AssetContainer { + /** + * Provisioning state for the featurestore entity container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; +} /** Code asset version details. */ export interface CodeVersionProperties extends AssetBase { /** Uri where code is located */ codeUri?: string; + /** + * Provisioning state for the code version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; } /** Definition of a component version: defines resources that span component types. */ @@ -4197,13 +5563,18 @@ export interface ComponentVersionProperties extends AssetBase { * */ componentSpec?: Record; + /** + * Provisioning state for the component version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; } /** Data version base definition */ export interface DataVersionBaseProperties extends AssetBase { /** [Required] Specifies the type of data. */ dataType: DataType; - /** [Required] Uri of the data. Usage/meaning depends on Microsoft.MachineLearning.ManagementFrontEnd.Contracts.V20221001.Assets.DataVersionBase.DataType */ + /** [Required] Uri of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330 */ dataUri: string; } @@ -4233,6 +5604,13 @@ export interface EnvironmentVersionProperties extends AssetBase { inferenceConfig?: InferenceContainerProperties; /** The OS type of the environment. */ osType?: OperatingSystemType; + /** + * Provisioning state for the environment version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; + /** Stage in the environment lifecycle assigned to this environment */ + stage?: string; } /** Model asset version details. */ @@ -4245,62 +5623,55 @@ export interface ModelVersionProperties extends AssetBase { modelType?: string; /** The URI path to the model contents. */ modelUri?: string; + /** + * Provisioning state for the model version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; + /** Stage in the model lifecycle assigned to this model */ + stage?: string; } -/** Azure Blob datastore configuration. */ -export interface AzureBlobDatastore extends DatastoreProperties { - /** Polymorphic discriminator, which specifies the different types this object can be */ - datastoreType: "AzureBlob"; - /** Storage account name. */ - accountName?: string; - /** Storage account container name. */ - containerName?: string; - /** Azure cloud endpoint for the storage account. */ - endpoint?: string; - /** Protocol used to communicate with the storage account. */ - protocol?: string; - /** Indicates which identity to use to authenticate service data access to customer's storage. */ - serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; -} - -/** Azure Data Lake Gen1 datastore configuration. */ -export interface AzureDataLakeGen1Datastore extends DatastoreProperties { - /** Polymorphic discriminator, which specifies the different types this object can be */ - datastoreType: "AzureDataLakeGen1"; - /** Indicates which identity to use to authenticate service data access to customer's storage. */ - serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; - /** [Required] Azure Data Lake store name. */ - storeName: string; +/** DTO object representing feature set version */ +export interface FeaturesetVersionProperties extends AssetBase { + /** Specifies list of entities */ + entities?: string[]; + /** Specifies the materialization settings */ + materializationSettings?: MaterializationSettings; + /** + * Provisioning state for the featureset version container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; + /** Specifies the feature spec details */ + specification?: FeaturesetSpecification; + /** Specifies the asset stage */ + stage?: string; } -/** Azure Data Lake Gen2 datastore configuration. */ -export interface AzureDataLakeGen2Datastore extends DatastoreProperties { - /** Polymorphic discriminator, which specifies the different types this object can be */ - datastoreType: "AzureDataLakeGen2"; - /** [Required] Storage account name. */ - accountName: string; - /** Azure cloud endpoint for the storage account. */ - endpoint?: string; - /** [Required] The name of the Data Lake Gen2 filesystem. */ - filesystem: string; - /** Protocol used to communicate with the storage account. */ - protocol?: string; - /** Indicates which identity to use to authenticate service data access to customer's storage. */ - serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; +/** DTO object representing feature entity version */ +export interface FeaturestoreEntityVersionProperties extends AssetBase { + /** Specifies index columns */ + indexColumns?: IndexColumn[]; + /** + * Provisioning state for the featurestore entity version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; + /** Specifies the asset stage */ + stage?: string; } -/** Azure File datastore configuration. */ -export interface AzureFileDatastore extends DatastoreProperties { +/** OneLake (Trident) datastore configuration. */ +export interface OneLakeDatastore extends DatastoreProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ - datastoreType: "AzureFile"; - /** [Required] Storage account name. */ - accountName: string; - /** Azure cloud endpoint for the storage account. */ + datastoreType: "OneLake"; + /** [Required] OneLake artifact backing the datastore. */ + artifact: OneLakeArtifactUnion; + /** OneLake endpoint to use for the datastore. */ endpoint?: string; - /** [Required] The name of the Azure file share that the datastore points to. */ - fileShareName: string; - /** Protocol used to communicate with the storage account. */ - protocol?: string; + /** [Required] OneLake workspace name. */ + oneLakeWorkspaceName: string; /** Indicates which identity to use to authenticate service data access to customer's storage. */ serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; } @@ -4322,6 +5693,8 @@ export interface AutoMLJob extends JobBaseProperties { environmentVariables?: { [propertyName: string]: string | null }; /** Mapping of output data bindings used in the job. */ outputs?: { [propertyName: string]: JobOutputUnion | null }; + /** Queue settings for the job */ + queueSettings?: QueueSettings; /** Compute Resource configuration for the job. */ resources?: JobResourceConfiguration; /** [Required] This represents scenario which can be one of Tables/NLP/Image */ @@ -4353,6 +5726,8 @@ export interface CommandJob extends JobBaseProperties { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly parameters?: Record; + /** Queue settings for the job */ + queueSettings?: QueueSettings; /** Compute Resource configuration for the job. */ resources?: JobResourceConfiguration; } @@ -4373,6 +5748,40 @@ export interface PipelineJob extends JobBaseProperties { sourceJobId?: string; } +/** Spark job definition. */ +export interface SparkJob extends JobBaseProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobType: "Spark"; + /** Archive files used in the job. */ + archives?: string[]; + /** Arguments for the job. */ + args?: string; + /** [Required] arm-id of the code asset. */ + codeId: string; + /** Spark configured properties. */ + conf?: { [propertyName: string]: string | null }; + /** [Required] The entry to execute on startup of the job. */ + entry: SparkJobEntryUnion; + /** The ARM resource ID of the Environment specification for the job. */ + environmentId?: string; + /** Environment variables included in the job. */ + environmentVariables?: { [propertyName: string]: string | null }; + /** Files used in the job. */ + files?: string[]; + /** Mapping of input data bindings used in the job. */ + inputs?: { [propertyName: string]: JobInputUnion | null }; + /** Jar files used in the job. */ + jars?: string[]; + /** Mapping of output data bindings used in the job. */ + outputs?: { [propertyName: string]: JobOutputUnion | null }; + /** Python files used in the job. */ + pyFiles?: string[]; + /** Queue settings for the job */ + queueSettings?: QueueSettings; + /** Compute Resource configuration for the job. */ + resources?: SparkResourceConfiguration; +} + /** Sweep job definition. */ export interface SweepJob extends JobBaseProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -4387,6 +5796,8 @@ export interface SweepJob extends JobBaseProperties { objective: Objective; /** Mapping of output data bindings used in the job. */ outputs?: { [propertyName: string]: JobOutputUnion | null }; + /** Queue settings for the job */ + queueSettings?: QueueSettings; /** [Required] The hyperparameter sampling algorithm */ samplingAlgorithm: SamplingAlgorithmUnion; /** [Required] A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter */ @@ -4395,6 +5806,20 @@ export interface SweepJob extends JobBaseProperties { trial: TrialComponent; } +/** Properties specific to a KubernetesOnlineDeployment. */ +export interface KubernetesOnlineDeployment extends OnlineDeploymentProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointComputeType: "Kubernetes"; + /** The resource requirements for the container (cpu and memory). */ + containerResourceRequirements?: ContainerResourceRequirements; +} + +/** Properties specific to a ManagedOnlineDeployment. */ +export interface ManagedOnlineDeployment extends OnlineDeploymentProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointComputeType: "Managed"; +} + /** MLTable data definition */ export interface MLTableData extends DataVersionBaseProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -4415,40 +5840,84 @@ export interface UriFolderDataVersion extends DataVersionBaseProperties { dataType: "uri_folder"; } -/** Defines headers for Workspaces_diagnose operation. */ -export interface WorkspacesDiagnoseHeaders { +/** Defines headers for Workspaces_createOrUpdate operation. */ +export interface WorkspacesCreateOrUpdateHeaders { /** URI to poll for asynchronous operation result. */ location?: string; /** Duration the client should wait between requests, in seconds. */ retryAfter?: number; } -/** Defines headers for Compute_createOrUpdate operation. */ -export interface ComputeCreateOrUpdateHeaders { - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; -} - -/** Defines headers for Compute_delete operation. */ -export interface ComputeDeleteHeaders { - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +/** Defines headers for Workspaces_update operation. */ +export interface WorkspacesUpdateHeaders { /** URI to poll for asynchronous operation result. */ location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; } -/** Defines headers for BatchEndpoints_delete operation. */ -export interface BatchEndpointsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; +/** Defines headers for Workspaces_diagnose operation. */ +export interface WorkspacesDiagnoseHeaders { /** URI to poll for asynchronous operation result. */ location?: string; /** Duration the client should wait between requests, in seconds. */ retryAfter?: number; } -/** Defines headers for BatchEndpoints_update operation. */ -export interface BatchEndpointsUpdateHeaders { +/** Defines headers for Workspaces_resyncKeys operation. */ +export interface WorkspacesResyncKeysHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Workspaces_prepareNotebook operation. */ +export interface WorkspacesPrepareNotebookHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Compute_createOrUpdate operation. */ +export interface ComputeCreateOrUpdateHeaders { + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for Compute_delete operation. */ +export interface ComputeDeleteHeaders { + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; +} + +/** Defines headers for ManagedNetworkSettingsRule_delete operation. */ +export interface ManagedNetworkSettingsRuleDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; +} + +/** Defines headers for ManagedNetworkSettingsRule_createOrUpdate operation. */ +export interface ManagedNetworkSettingsRuleCreateOrUpdateHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ManagedNetworkProvisions_provisionManagedNetwork operation. */ +export interface ManagedNetworkProvisionsProvisionManagedNetworkHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for RegistryCodeContainers_delete operation. */ +export interface RegistryCodeContainersDeleteHeaders { /** Timeout for the client to use when polling the asynchronous operation. */ xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation result. */ @@ -4457,16 +5926,16 @@ export interface BatchEndpointsUpdateHeaders { retryAfter?: number; } -/** Defines headers for BatchEndpoints_createOrUpdate operation. */ -export interface BatchEndpointsCreateOrUpdateHeaders { +/** Defines headers for RegistryCodeContainers_createOrUpdate operation. */ +export interface RegistryCodeContainersCreateOrUpdateHeaders { /** Timeout for the client to use when polling the asynchronous operation. */ xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation status. */ azureAsyncOperation?: string; } -/** Defines headers for BatchDeployments_delete operation. */ -export interface BatchDeploymentsDeleteHeaders { +/** Defines headers for RegistryCodeVersions_delete operation. */ +export interface RegistryCodeVersionsDeleteHeaders { /** Timeout for the client to use when polling the asynchronous operation. */ xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation result. */ @@ -4475,8 +5944,16 @@ export interface BatchDeploymentsDeleteHeaders { retryAfter?: number; } -/** Defines headers for BatchDeployments_update operation. */ -export interface BatchDeploymentsUpdateHeaders { +/** Defines headers for RegistryCodeVersions_createOrUpdate operation. */ +export interface RegistryCodeVersionsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for RegistryComponentContainers_delete operation. */ +export interface RegistryComponentContainersDeleteHeaders { /** Timeout for the client to use when polling the asynchronous operation. */ xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation result. */ @@ -4485,16 +5962,16 @@ export interface BatchDeploymentsUpdateHeaders { retryAfter?: number; } -/** Defines headers for BatchDeployments_createOrUpdate operation. */ -export interface BatchDeploymentsCreateOrUpdateHeaders { +/** Defines headers for RegistryComponentContainers_createOrUpdate operation. */ +export interface RegistryComponentContainersCreateOrUpdateHeaders { /** Timeout for the client to use when polling the asynchronous operation. */ xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation status. */ azureAsyncOperation?: string; } -/** Defines headers for Jobs_delete operation. */ -export interface JobsDeleteHeaders { +/** Defines headers for RegistryComponentVersions_delete operation. */ +export interface RegistryComponentVersionsDeleteHeaders { /** Timeout for the client to use when polling the asynchronous operation. */ xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation result. */ @@ -4503,16 +5980,34 @@ export interface JobsDeleteHeaders { retryAfter?: number; } -/** Defines headers for Jobs_cancel operation. */ -export interface JobsCancelHeaders { +/** Defines headers for RegistryComponentVersions_createOrUpdate operation. */ +export interface RegistryComponentVersionsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for RegistryDataContainers_delete operation. */ +export interface RegistryDataContainersDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation result. */ location?: string; /** Duration the client should wait between requests, in seconds. */ retryAfter?: number; } -/** Defines headers for OnlineEndpoints_delete operation. */ -export interface OnlineEndpointsDeleteHeaders { +/** Defines headers for RegistryDataContainers_createOrUpdate operation. */ +export interface RegistryDataContainersCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for RegistryDataVersions_delete operation. */ +export interface RegistryDataVersionsDeleteHeaders { /** Timeout for the client to use when polling the asynchronous operation. */ xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation result. */ @@ -4521,8 +6016,16 @@ export interface OnlineEndpointsDeleteHeaders { retryAfter?: number; } -/** Defines headers for OnlineEndpoints_update operation. */ -export interface OnlineEndpointsUpdateHeaders { +/** Defines headers for RegistryDataVersions_createOrUpdate operation. */ +export interface RegistryDataVersionsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for RegistryEnvironmentContainers_delete operation. */ +export interface RegistryEnvironmentContainersDeleteHeaders { /** Timeout for the client to use when polling the asynchronous operation. */ xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation result. */ @@ -4531,24 +6034,34 @@ export interface OnlineEndpointsUpdateHeaders { retryAfter?: number; } -/** Defines headers for OnlineEndpoints_createOrUpdate operation. */ -export interface OnlineEndpointsCreateOrUpdateHeaders { +/** Defines headers for RegistryEnvironmentContainers_createOrUpdate operation. */ +export interface RegistryEnvironmentContainersCreateOrUpdateHeaders { /** Timeout for the client to use when polling the asynchronous operation. */ xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation status. */ azureAsyncOperation?: string; } -/** Defines headers for OnlineEndpoints_regenerateKeys operation. */ -export interface OnlineEndpointsRegenerateKeysHeaders { +/** Defines headers for RegistryEnvironmentVersions_delete operation. */ +export interface RegistryEnvironmentVersionsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation result. */ location?: string; /** Duration the client should wait between requests, in seconds. */ retryAfter?: number; } -/** Defines headers for OnlineDeployments_delete operation. */ -export interface OnlineDeploymentsDeleteHeaders { +/** Defines headers for RegistryEnvironmentVersions_createOrUpdate operation. */ +export interface RegistryEnvironmentVersionsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for RegistryModelContainers_delete operation. */ +export interface RegistryModelContainersDeleteHeaders { /** Timeout for the client to use when polling the asynchronous operation. */ xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation result. */ @@ -4557,8 +6070,16 @@ export interface OnlineDeploymentsDeleteHeaders { retryAfter?: number; } -/** Defines headers for OnlineDeployments_update operation. */ -export interface OnlineDeploymentsUpdateHeaders { +/** Defines headers for RegistryModelContainers_createOrUpdate operation. */ +export interface RegistryModelContainersCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for RegistryModelVersions_delete operation. */ +export interface RegistryModelVersionsDeleteHeaders { /** Timeout for the client to use when polling the asynchronous operation. */ xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation result. */ @@ -4567,16 +6088,16 @@ export interface OnlineDeploymentsUpdateHeaders { retryAfter?: number; } -/** Defines headers for OnlineDeployments_createOrUpdate operation. */ -export interface OnlineDeploymentsCreateOrUpdateHeaders { +/** Defines headers for RegistryModelVersions_createOrUpdate operation. */ +export interface RegistryModelVersionsCreateOrUpdateHeaders { /** Timeout for the client to use when polling the asynchronous operation. */ xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation status. */ azureAsyncOperation?: string; } -/** Defines headers for Schedules_delete operation. */ -export interface SchedulesDeleteHeaders { +/** Defines headers for BatchEndpoints_delete operation. */ +export interface BatchEndpointsDeleteHeaders { /** Timeout for the client to use when polling the asynchronous operation. */ xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation result. */ @@ -4585,493 +6106,334 @@ export interface SchedulesDeleteHeaders { retryAfter?: number; } -/** Defines headers for Schedules_createOrUpdate operation. */ -export interface SchedulesCreateOrUpdateHeaders { +/** Defines headers for BatchEndpoints_update operation. */ +export interface BatchEndpointsUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for BatchEndpoints_createOrUpdate operation. */ +export interface BatchEndpointsCreateOrUpdateHeaders { /** Timeout for the client to use when polling the asynchronous operation. */ xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation status. */ azureAsyncOperation?: string; } -/** Known values of {@link ProvisioningState} that the service accepts. */ -export enum KnownProvisioningState { - /** Unknown */ - Unknown = "Unknown", - /** Updating */ - Updating = "Updating", - /** Creating */ - Creating = "Creating", - /** Deleting */ - Deleting = "Deleting", - /** Succeeded */ - Succeeded = "Succeeded", - /** Failed */ - Failed = "Failed", - /** Canceled */ - Canceled = "Canceled" +/** Defines headers for BatchDeployments_delete operation. */ +export interface BatchDeploymentsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; } -/** - * Defines values for ProvisioningState. \ - * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Unknown** \ - * **Updating** \ - * **Creating** \ - * **Deleting** \ - * **Succeeded** \ - * **Failed** \ - * **Canceled** - */ -export type ProvisioningState = string; - -/** Known values of {@link EncryptionStatus} that the service accepts. */ -export enum KnownEncryptionStatus { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled" +/** Defines headers for BatchDeployments_update operation. */ +export interface BatchDeploymentsUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; } -/** - * Defines values for EncryptionStatus. \ - * {@link KnownEncryptionStatus} can be used interchangeably with EncryptionStatus, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Enabled** \ - * **Disabled** - */ -export type EncryptionStatus = string; +/** Defines headers for BatchDeployments_createOrUpdate operation. */ +export interface BatchDeploymentsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} -/** Known values of {@link PublicNetworkAccess} that the service accepts. */ -export enum KnownPublicNetworkAccess { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled" +/** Defines headers for CodeVersions_publish operation. */ +export interface CodeVersionsPublishHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; } -/** - * Defines values for PublicNetworkAccess. \ - * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Enabled** \ - * **Disabled** - */ -export type PublicNetworkAccess = string; +/** Defines headers for ComponentVersions_publish operation. */ +export interface ComponentVersionsPublishHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} -/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */ -export enum KnownPrivateEndpointServiceConnectionStatus { - /** Pending */ - Pending = "Pending", - /** Approved */ - Approved = "Approved", - /** Rejected */ - Rejected = "Rejected", - /** Disconnected */ - Disconnected = "Disconnected", - /** Timeout */ - Timeout = "Timeout" +/** Defines headers for DataVersions_publish operation. */ +export interface DataVersionsPublishHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; } -/** - * Defines values for PrivateEndpointServiceConnectionStatus. \ - * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Pending** \ - * **Approved** \ - * **Rejected** \ - * **Disconnected** \ - * **Timeout** - */ -export type PrivateEndpointServiceConnectionStatus = string; +/** Defines headers for EnvironmentVersions_publish operation. */ +export interface EnvironmentVersionsPublishHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} -/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */ -export enum KnownPrivateEndpointConnectionProvisioningState { - /** Succeeded */ - Succeeded = "Succeeded", - /** Creating */ - Creating = "Creating", - /** Deleting */ - Deleting = "Deleting", - /** Failed */ - Failed = "Failed" +/** Defines headers for FeaturesetContainers_delete operation. */ +export interface FeaturesetContainersDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; } -/** - * Defines values for PrivateEndpointConnectionProvisioningState. \ - * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Succeeded** \ - * **Creating** \ - * **Deleting** \ - * **Failed** - */ -export type PrivateEndpointConnectionProvisioningState = string; - -/** Known values of {@link ManagedServiceIdentityType} that the service accepts. */ -export enum KnownManagedServiceIdentityType { - /** None */ - None = "None", - /** SystemAssigned */ - SystemAssigned = "SystemAssigned", - /** UserAssigned */ - UserAssigned = "UserAssigned", - /** SystemAssignedUserAssigned */ - SystemAssignedUserAssigned = "SystemAssigned,UserAssigned" +/** Defines headers for FeaturesetContainers_createOrUpdate operation. */ +export interface FeaturesetContainersCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; } -/** - * Defines values for ManagedServiceIdentityType. \ - * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **None** \ - * **SystemAssigned** \ - * **UserAssigned** \ - * **SystemAssigned,UserAssigned** - */ -export type ManagedServiceIdentityType = string; +/** Defines headers for FeaturesetVersions_delete operation. */ +export interface FeaturesetVersionsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} -/** Known values of {@link CreatedByType} that the service accepts. */ -export enum KnownCreatedByType { - /** User */ - User = "User", - /** Application */ - Application = "Application", - /** ManagedIdentity */ - ManagedIdentity = "ManagedIdentity", - /** Key */ - Key = "Key" +/** Defines headers for FeaturesetVersions_createOrUpdate operation. */ +export interface FeaturesetVersionsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; } -/** - * Defines values for CreatedByType. \ - * {@link KnownCreatedByType} can be used interchangeably with CreatedByType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **User** \ - * **Application** \ - * **ManagedIdentity** \ - * **Key** - */ -export type CreatedByType = string; +/** Defines headers for FeaturesetVersions_backfill operation. */ +export interface FeaturesetVersionsBackfillHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} -/** Known values of {@link DiagnoseResultLevel} that the service accepts. */ -export enum KnownDiagnoseResultLevel { - /** Warning */ - Warning = "Warning", - /** Error */ - Error = "Error", - /** Information */ - Information = "Information" +/** Defines headers for FeaturestoreEntityContainers_delete operation. */ +export interface FeaturestoreEntityContainersDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; } -/** - * Defines values for DiagnoseResultLevel. \ - * {@link KnownDiagnoseResultLevel} can be used interchangeably with DiagnoseResultLevel, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Warning** \ - * **Error** \ - * **Information** - */ -export type DiagnoseResultLevel = string; +/** Defines headers for FeaturestoreEntityContainers_createOrUpdate operation. */ +export interface FeaturestoreEntityContainersCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} -/** Known values of {@link UsageUnit} that the service accepts. */ -export enum KnownUsageUnit { - /** Count */ - Count = "Count" +/** Defines headers for FeaturestoreEntityVersions_delete operation. */ +export interface FeaturestoreEntityVersionsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; } -/** - * Defines values for UsageUnit. \ - * {@link KnownUsageUnit} can be used interchangeably with UsageUnit, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Count** - */ -export type UsageUnit = string; +/** Defines headers for FeaturestoreEntityVersions_createOrUpdate operation. */ +export interface FeaturestoreEntityVersionsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} -/** Known values of {@link BillingCurrency} that the service accepts. */ -export enum KnownBillingCurrency { - /** USD */ - USD = "USD" +/** Defines headers for Jobs_delete operation. */ +export interface JobsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; } -/** - * Defines values for BillingCurrency. \ - * {@link KnownBillingCurrency} can be used interchangeably with BillingCurrency, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **USD** - */ -export type BillingCurrency = string; +/** Defines headers for Jobs_cancel operation. */ +export interface JobsCancelHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} -/** Known values of {@link UnitOfMeasure} that the service accepts. */ -export enum KnownUnitOfMeasure { - /** OneHour */ - OneHour = "OneHour" +/** Defines headers for ModelVersions_publish operation. */ +export interface ModelVersionsPublishHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; } -/** - * Defines values for UnitOfMeasure. \ - * {@link KnownUnitOfMeasure} can be used interchangeably with UnitOfMeasure, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **OneHour** - */ -export type UnitOfMeasure = string; +/** Defines headers for OnlineEndpoints_delete operation. */ +export interface OnlineEndpointsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} -/** Known values of {@link VMPriceOSType} that the service accepts. */ -export enum KnownVMPriceOSType { - /** Linux */ - Linux = "Linux", - /** Windows */ - Windows = "Windows" +/** Defines headers for OnlineEndpoints_update operation. */ +export interface OnlineEndpointsUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; } -/** - * Defines values for VMPriceOSType. \ - * {@link KnownVMPriceOSType} can be used interchangeably with VMPriceOSType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Linux** \ - * **Windows** - */ -export type VMPriceOSType = string; +/** Defines headers for OnlineEndpoints_createOrUpdate operation. */ +export interface OnlineEndpointsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} -/** Known values of {@link VMTier} that the service accepts. */ -export enum KnownVMTier { - /** Standard */ - Standard = "Standard", - /** LowPriority */ - LowPriority = "LowPriority", - /** Spot */ - Spot = "Spot" +/** Defines headers for OnlineEndpoints_regenerateKeys operation. */ +export interface OnlineEndpointsRegenerateKeysHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; } -/** - * Defines values for VMTier. \ - * {@link KnownVMTier} can be used interchangeably with VMTier, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Standard** \ - * **LowPriority** \ - * **Spot** - */ -export type VMTier = string; +/** Defines headers for OnlineDeployments_delete operation. */ +export interface OnlineDeploymentsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} -/** Known values of {@link QuotaUnit} that the service accepts. */ -export enum KnownQuotaUnit { - /** Count */ - Count = "Count" +/** Defines headers for OnlineDeployments_update operation. */ +export interface OnlineDeploymentsUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; } -/** - * Defines values for QuotaUnit. \ - * {@link KnownQuotaUnit} can be used interchangeably with QuotaUnit, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Count** - */ -export type QuotaUnit = string; - -/** Known values of {@link Status} that the service accepts. */ -export enum KnownStatus { - /** Undefined */ - Undefined = "Undefined", - /** Success */ - Success = "Success", - /** Failure */ - Failure = "Failure", - /** InvalidQuotaBelowClusterMinimum */ - InvalidQuotaBelowClusterMinimum = "InvalidQuotaBelowClusterMinimum", - /** InvalidQuotaExceedsSubscriptionLimit */ - InvalidQuotaExceedsSubscriptionLimit = "InvalidQuotaExceedsSubscriptionLimit", - /** InvalidVMFamilyName */ - InvalidVMFamilyName = "InvalidVMFamilyName", - /** OperationNotSupportedForSku */ - OperationNotSupportedForSku = "OperationNotSupportedForSku", - /** OperationNotEnabledForRegion */ - OperationNotEnabledForRegion = "OperationNotEnabledForRegion" +/** Defines headers for OnlineDeployments_createOrUpdate operation. */ +export interface OnlineDeploymentsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; } -/** - * Defines values for Status. \ - * {@link KnownStatus} can be used interchangeably with Status, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Undefined** \ - * **Success** \ - * **Failure** \ - * **InvalidQuotaBelowClusterMinimum** \ - * **InvalidQuotaExceedsSubscriptionLimit** \ - * **InvalidVMFamilyName** \ - * **OperationNotSupportedForSku** \ - * **OperationNotEnabledForRegion** - */ -export type Status = string; - -/** Known values of {@link ComputeType} that the service accepts. */ -export enum KnownComputeType { - /** AKS */ - AKS = "AKS", - /** Kubernetes */ - Kubernetes = "Kubernetes", - /** AmlCompute */ - AmlCompute = "AmlCompute", - /** ComputeInstance */ - ComputeInstance = "ComputeInstance", - /** DataFactory */ - DataFactory = "DataFactory", - /** VirtualMachine */ - VirtualMachine = "VirtualMachine", - /** HDInsight */ - HDInsight = "HDInsight", - /** Databricks */ - Databricks = "Databricks", - /** DataLakeAnalytics */ - DataLakeAnalytics = "DataLakeAnalytics", - /** SynapseSpark */ - SynapseSpark = "SynapseSpark" +/** Defines headers for Schedules_delete operation. */ +export interface SchedulesDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; } -/** - * Defines values for ComputeType. \ - * {@link KnownComputeType} can be used interchangeably with ComputeType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **AKS** \ - * **Kubernetes** \ - * **AmlCompute** \ - * **ComputeInstance** \ - * **DataFactory** \ - * **VirtualMachine** \ - * **HDInsight** \ - * **Databricks** \ - * **DataLakeAnalytics** \ - * **SynapseSpark** - */ -export type ComputeType = string; - -/** Known values of {@link UnderlyingResourceAction} that the service accepts. */ -export enum KnownUnderlyingResourceAction { - /** Delete */ - Delete = "Delete", - /** Detach */ - Detach = "Detach" +/** Defines headers for Schedules_createOrUpdate operation. */ +export interface SchedulesCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; } -/** - * Defines values for UnderlyingResourceAction. \ - * {@link KnownUnderlyingResourceAction} can be used interchangeably with UnderlyingResourceAction, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Delete** \ - * **Detach** - */ -export type UnderlyingResourceAction = string; - -/** Known values of {@link NodeState} that the service accepts. */ -export enum KnownNodeState { - /** Idle */ - Idle = "idle", - /** Running */ - Running = "running", - /** Preparing */ - Preparing = "preparing", - /** Unusable */ - Unusable = "unusable", - /** Leaving */ - Leaving = "leaving", - /** Preempted */ - Preempted = "preempted" +/** Defines headers for Registries_delete operation. */ +export interface RegistriesDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; } -/** - * Defines values for NodeState. \ - * {@link KnownNodeState} can be used interchangeably with NodeState, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **idle** \ - * **running** \ - * **preparing** \ - * **unusable** \ - * **leaving** \ - * **preempted** - */ -export type NodeState = string; - -/** Known values of {@link ConnectionAuthType} that the service accepts. */ -export enum KnownConnectionAuthType { - /** PAT */ - PAT = "PAT", - /** ManagedIdentity */ - ManagedIdentity = "ManagedIdentity", - /** UsernamePassword */ - UsernamePassword = "UsernamePassword", - /** None */ - None = "None", - /** SAS */ - SAS = "SAS" +/** Defines headers for Registries_removeRegions operation. */ +export interface RegistriesRemoveRegionsHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; } -/** - * Defines values for ConnectionAuthType. \ - * {@link KnownConnectionAuthType} can be used interchangeably with ConnectionAuthType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **PAT** \ - * **ManagedIdentity** \ - * **UsernamePassword** \ - * **None** \ - * **SAS** - */ -export type ConnectionAuthType = string; - -/** Known values of {@link ConnectionCategory} that the service accepts. */ -export enum KnownConnectionCategory { - /** PythonFeed */ - PythonFeed = "PythonFeed", - /** ContainerRegistry */ - ContainerRegistry = "ContainerRegistry", - /** Git */ - Git = "Git" +/** Known values of {@link Origin} that the service accepts. */ +export enum KnownOrigin { + /** User */ + User = "user", + /** System */ + System = "system", + /** UserSystem */ + UserSystem = "user,system", } /** - * Defines values for ConnectionCategory. \ - * {@link KnownConnectionCategory} can be used interchangeably with ConnectionCategory, + * Defines values for Origin. \ + * {@link KnownOrigin} can be used interchangeably with Origin, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **PythonFeed** \ - * **ContainerRegistry** \ - * **Git** + * **user** \ + * **system** \ + * **user,system** */ -export type ConnectionCategory = string; +export type Origin = string; -/** Known values of {@link ValueFormat} that the service accepts. */ -export enum KnownValueFormat { - /** Json */ - Json = "JSON" +/** Known values of {@link ActionType} that the service accepts. */ +export enum KnownActionType { + /** Internal */ + Internal = "Internal", } /** - * Defines values for ValueFormat. \ - * {@link KnownValueFormat} can be used interchangeably with ValueFormat, + * Defines values for ActionType. \ + * {@link KnownActionType} can be used interchangeably with ActionType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **JSON** + * **Internal** */ -export type ValueFormat = string; +export type ActionType = string; -/** Known values of {@link EndpointProvisioningState} that the service accepts. */ -export enum KnownEndpointProvisioningState { +/** Known values of {@link ProvisioningState} that the service accepts. */ +export enum KnownProvisioningState { + /** Unknown */ + Unknown = "Unknown", + /** Updating */ + Updating = "Updating", /** Creating */ Creating = "Creating", /** Deleting */ @@ -5080,1043 +6442,1062 @@ export enum KnownEndpointProvisioningState { Succeeded = "Succeeded", /** Failed */ Failed = "Failed", - /** Updating */ - Updating = "Updating", /** Canceled */ - Canceled = "Canceled" + Canceled = "Canceled", } /** - * Defines values for EndpointProvisioningState. \ - * {@link KnownEndpointProvisioningState} can be used interchangeably with EndpointProvisioningState, + * Defines values for ProvisioningState. \ + * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service + * **Unknown** \ + * **Updating** \ * **Creating** \ * **Deleting** \ * **Succeeded** \ * **Failed** \ - * **Updating** \ * **Canceled** */ -export type EndpointProvisioningState = string; +export type ProvisioningState = string; -/** Known values of {@link EndpointAuthMode} that the service accepts. */ -export enum KnownEndpointAuthMode { - /** AMLToken */ - AMLToken = "AMLToken", - /** Key */ - Key = "Key", - /** AADToken */ - AADToken = "AADToken" +/** Known values of {@link EncryptionStatus} that the service accepts. */ +export enum KnownEncryptionStatus { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for EndpointAuthMode. \ - * {@link KnownEndpointAuthMode} can be used interchangeably with EndpointAuthMode, + * Defines values for EncryptionStatus. \ + * {@link KnownEncryptionStatus} can be used interchangeably with EncryptionStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AMLToken** \ - * **Key** \ - * **AADToken** + * **Enabled** \ + * **Disabled** */ -export type EndpointAuthMode = string; - -/** Known values of {@link BatchLoggingLevel} that the service accepts. */ -export enum KnownBatchLoggingLevel { - /** Info */ - Info = "Info", - /** Warning */ - Warning = "Warning", - /** Debug */ - Debug = "Debug" -} +export type EncryptionStatus = string; -/** - * Defines values for BatchLoggingLevel. \ - * {@link KnownBatchLoggingLevel} can be used interchangeably with BatchLoggingLevel, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Info** \ - * **Warning** \ - * **Debug** - */ -export type BatchLoggingLevel = string; - -/** Known values of {@link ReferenceType} that the service accepts. */ -export enum KnownReferenceType { - /** Id */ - Id = "Id", - /** DataPath */ - DataPath = "DataPath", - /** OutputPath */ - OutputPath = "OutputPath" +/** Known values of {@link PublicNetworkAccess} that the service accepts. */ +export enum KnownPublicNetworkAccess { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for ReferenceType. \ - * {@link KnownReferenceType} can be used interchangeably with ReferenceType, + * Defines values for PublicNetworkAccess. \ + * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Id** \ - * **DataPath** \ - * **OutputPath** + * **Enabled** \ + * **Disabled** */ -export type ReferenceType = string; +export type PublicNetworkAccess = string; -/** Known values of {@link BatchOutputAction} that the service accepts. */ -export enum KnownBatchOutputAction { - /** SummaryOnly */ - SummaryOnly = "SummaryOnly", - /** AppendRow */ - AppendRow = "AppendRow" +/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */ +export enum KnownPrivateEndpointServiceConnectionStatus { + /** Pending */ + Pending = "Pending", + /** Approved */ + Approved = "Approved", + /** Rejected */ + Rejected = "Rejected", + /** Disconnected */ + Disconnected = "Disconnected", + /** Timeout */ + Timeout = "Timeout", } /** - * Defines values for BatchOutputAction. \ - * {@link KnownBatchOutputAction} can be used interchangeably with BatchOutputAction, + * Defines values for PrivateEndpointServiceConnectionStatus. \ + * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **SummaryOnly** \ - * **AppendRow** + * **Pending** \ + * **Approved** \ + * **Rejected** \ + * **Disconnected** \ + * **Timeout** */ -export type BatchOutputAction = string; +export type PrivateEndpointServiceConnectionStatus = string; -/** Known values of {@link DeploymentProvisioningState} that the service accepts. */ -export enum KnownDeploymentProvisioningState { +/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */ +export enum KnownPrivateEndpointConnectionProvisioningState { + /** Succeeded */ + Succeeded = "Succeeded", /** Creating */ Creating = "Creating", /** Deleting */ Deleting = "Deleting", - /** Scaling */ - Scaling = "Scaling", - /** Updating */ - Updating = "Updating", - /** Succeeded */ - Succeeded = "Succeeded", /** Failed */ Failed = "Failed", - /** Canceled */ - Canceled = "Canceled" } /** - * Defines values for DeploymentProvisioningState. \ - * {@link KnownDeploymentProvisioningState} can be used interchangeably with DeploymentProvisioningState, + * Defines values for PrivateEndpointConnectionProvisioningState. \ + * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service + * **Succeeded** \ * **Creating** \ * **Deleting** \ - * **Scaling** \ - * **Updating** \ - * **Succeeded** \ - * **Failed** \ - * **Canceled** + * **Failed** */ -export type DeploymentProvisioningState = string; +export type PrivateEndpointConnectionProvisioningState = string; -/** Known values of {@link ListViewType} that the service accepts. */ -export enum KnownListViewType { - /** ActiveOnly */ - ActiveOnly = "ActiveOnly", - /** ArchivedOnly */ - ArchivedOnly = "ArchivedOnly", - /** All */ - All = "All" +/** Known values of {@link ManagedServiceIdentityType} that the service accepts. */ +export enum KnownManagedServiceIdentityType { + /** None */ + None = "None", + /** SystemAssigned */ + SystemAssigned = "SystemAssigned", + /** UserAssigned */ + UserAssigned = "UserAssigned", + /** SystemAssignedUserAssigned */ + SystemAssignedUserAssigned = "SystemAssigned,UserAssigned", } /** - * Defines values for ListViewType. \ - * {@link KnownListViewType} can be used interchangeably with ListViewType, + * Defines values for ManagedServiceIdentityType. \ + * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **ActiveOnly** \ - * **ArchivedOnly** \ - * **All** + * **None** \ + * **SystemAssigned** \ + * **UserAssigned** \ + * **SystemAssigned,UserAssigned** */ -export type ListViewType = string; +export type ManagedServiceIdentityType = string; -/** Known values of {@link DataType} that the service accepts. */ -export enum KnownDataType { - /** UriFile */ - UriFile = "uri_file", - /** UriFolder */ - UriFolder = "uri_folder", - /** Mltable */ - Mltable = "mltable" +/** Known values of {@link CreatedByType} that the service accepts. */ +export enum KnownCreatedByType { + /** User */ + User = "User", + /** Application */ + Application = "Application", + /** ManagedIdentity */ + ManagedIdentity = "ManagedIdentity", + /** Key */ + Key = "Key", } /** - * Defines values for DataType. \ - * {@link KnownDataType} can be used interchangeably with DataType, + * Defines values for CreatedByType. \ + * {@link KnownCreatedByType} can be used interchangeably with CreatedByType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **uri_file** \ - * **uri_folder** \ - * **mltable** + * **User** \ + * **Application** \ + * **ManagedIdentity** \ + * **Key** */ -export type DataType = string; +export type CreatedByType = string; -/** Known values of {@link CredentialsType} that the service accepts. */ -export enum KnownCredentialsType { - /** AccountKey */ - AccountKey = "AccountKey", - /** Certificate */ - Certificate = "Certificate", - /** None */ - None = "None", - /** Sas */ - Sas = "Sas", - /** ServicePrincipal */ - ServicePrincipal = "ServicePrincipal" +/** Known values of {@link IsolationMode} that the service accepts. */ +export enum KnownIsolationMode { + /** Disabled */ + Disabled = "Disabled", + /** AllowInternetOutbound */ + AllowInternetOutbound = "AllowInternetOutbound", + /** AllowOnlyApprovedOutbound */ + AllowOnlyApprovedOutbound = "AllowOnlyApprovedOutbound", } /** - * Defines values for CredentialsType. \ - * {@link KnownCredentialsType} can be used interchangeably with CredentialsType, + * Defines values for IsolationMode. \ + * {@link KnownIsolationMode} can be used interchangeably with IsolationMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AccountKey** \ - * **Certificate** \ - * **None** \ - * **Sas** \ - * **ServicePrincipal** + * **Disabled** \ + * **AllowInternetOutbound** \ + * **AllowOnlyApprovedOutbound** */ -export type CredentialsType = string; +export type IsolationMode = string; -/** Known values of {@link DatastoreType} that the service accepts. */ -export enum KnownDatastoreType { - /** AzureBlob */ - AzureBlob = "AzureBlob", - /** AzureDataLakeGen1 */ - AzureDataLakeGen1 = "AzureDataLakeGen1", - /** AzureDataLakeGen2 */ - AzureDataLakeGen2 = "AzureDataLakeGen2", - /** AzureFile */ - AzureFile = "AzureFile" +/** Known values of {@link RuleCategory} that the service accepts. */ +export enum KnownRuleCategory { + /** Required */ + Required = "Required", + /** Recommended */ + Recommended = "Recommended", + /** UserDefined */ + UserDefined = "UserDefined", } /** - * Defines values for DatastoreType. \ - * {@link KnownDatastoreType} can be used interchangeably with DatastoreType, + * Defines values for RuleCategory. \ + * {@link KnownRuleCategory} can be used interchangeably with RuleCategory, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AzureBlob** \ - * **AzureDataLakeGen1** \ - * **AzureDataLakeGen2** \ - * **AzureFile** + * **Required** \ + * **Recommended** \ + * **UserDefined** */ -export type DatastoreType = string; +export type RuleCategory = string; -/** Known values of {@link SecretsType} that the service accepts. */ -export enum KnownSecretsType { - /** AccountKey */ - AccountKey = "AccountKey", - /** Certificate */ - Certificate = "Certificate", - /** Sas */ - Sas = "Sas", - /** ServicePrincipal */ - ServicePrincipal = "ServicePrincipal" +/** Known values of {@link RuleStatus} that the service accepts. */ +export enum KnownRuleStatus { + /** Inactive */ + Inactive = "Inactive", + /** Active */ + Active = "Active", } /** - * Defines values for SecretsType. \ - * {@link KnownSecretsType} can be used interchangeably with SecretsType, + * Defines values for RuleStatus. \ + * {@link KnownRuleStatus} can be used interchangeably with RuleStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AccountKey** \ - * **Certificate** \ - * **Sas** \ - * **ServicePrincipal** + * **Inactive** \ + * **Active** */ -export type SecretsType = string; +export type RuleStatus = string; -/** Known values of {@link AutoRebuildSetting} that the service accepts. */ -export enum KnownAutoRebuildSetting { - /** Disabled */ - Disabled = "Disabled", - /** OnBaseImageUpdate */ - OnBaseImageUpdate = "OnBaseImageUpdate" +/** Known values of {@link RuleType} that the service accepts. */ +export enum KnownRuleType { + /** Fqdn */ + Fqdn = "FQDN", + /** PrivateEndpoint */ + PrivateEndpoint = "PrivateEndpoint", + /** ServiceTag */ + ServiceTag = "ServiceTag", } /** - * Defines values for AutoRebuildSetting. \ - * {@link KnownAutoRebuildSetting} can be used interchangeably with AutoRebuildSetting, + * Defines values for RuleType. \ + * {@link KnownRuleType} can be used interchangeably with RuleType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Disabled** \ - * **OnBaseImageUpdate** + * **FQDN** \ + * **PrivateEndpoint** \ + * **ServiceTag** */ -export type AutoRebuildSetting = string; +export type RuleType = string; -/** Known values of {@link EnvironmentType} that the service accepts. */ -export enum KnownEnvironmentType { - /** Curated */ - Curated = "Curated", - /** UserCreated */ - UserCreated = "UserCreated" +/** Known values of {@link ManagedNetworkStatus} that the service accepts. */ +export enum KnownManagedNetworkStatus { + /** Inactive */ + Inactive = "Inactive", + /** Active */ + Active = "Active", } /** - * Defines values for EnvironmentType. \ - * {@link KnownEnvironmentType} can be used interchangeably with EnvironmentType, + * Defines values for ManagedNetworkStatus. \ + * {@link KnownManagedNetworkStatus} can be used interchangeably with ManagedNetworkStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Curated** \ - * **UserCreated** + * **Inactive** \ + * **Active** */ -export type EnvironmentType = string; +export type ManagedNetworkStatus = string; -/** Known values of {@link OperatingSystemType} that the service accepts. */ -export enum KnownOperatingSystemType { - /** Linux */ - Linux = "Linux", - /** Windows */ - Windows = "Windows" +/** Known values of {@link DiagnoseResultLevel} that the service accepts. */ +export enum KnownDiagnoseResultLevel { + /** Warning */ + Warning = "Warning", + /** Error */ + Error = "Error", + /** Information */ + Information = "Information", } /** - * Defines values for OperatingSystemType. \ - * {@link KnownOperatingSystemType} can be used interchangeably with OperatingSystemType, + * Defines values for DiagnoseResultLevel. \ + * {@link KnownDiagnoseResultLevel} can be used interchangeably with DiagnoseResultLevel, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Linux** \ - * **Windows** + * **Warning** \ + * **Error** \ + * **Information** */ -export type OperatingSystemType = string; +export type DiagnoseResultLevel = string; -/** Known values of {@link IdentityConfigurationType} that the service accepts. */ -export enum KnownIdentityConfigurationType { - /** Managed */ - Managed = "Managed", - /** AMLToken */ - AMLToken = "AMLToken", - /** UserIdentity */ - UserIdentity = "UserIdentity" +/** Known values of {@link UsageUnit} that the service accepts. */ +export enum KnownUsageUnit { + /** Count */ + Count = "Count", } /** - * Defines values for IdentityConfigurationType. \ - * {@link KnownIdentityConfigurationType} can be used interchangeably with IdentityConfigurationType, + * Defines values for UsageUnit. \ + * {@link KnownUsageUnit} can be used interchangeably with UsageUnit, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Managed** \ - * **AMLToken** \ - * **UserIdentity** + * **Count** */ -export type IdentityConfigurationType = string; +export type UsageUnit = string; -/** Known values of {@link JobType} that the service accepts. */ -export enum KnownJobType { - /** AutoML */ - AutoML = "AutoML", - /** Command */ - Command = "Command", - /** Sweep */ - Sweep = "Sweep", - /** Pipeline */ - Pipeline = "Pipeline" +/** Known values of {@link BillingCurrency} that the service accepts. */ +export enum KnownBillingCurrency { + /** USD */ + USD = "USD", } /** - * Defines values for JobType. \ - * {@link KnownJobType} can be used interchangeably with JobType, + * Defines values for BillingCurrency. \ + * {@link KnownBillingCurrency} can be used interchangeably with BillingCurrency, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AutoML** \ - * **Command** \ - * **Sweep** \ - * **Pipeline** + * **USD** */ -export type JobType = string; +export type BillingCurrency = string; -/** Known values of {@link JobStatus} that the service accepts. */ -export enum KnownJobStatus { - /** Run hasn't started yet. */ - NotStarted = "NotStarted", - /** Run has started. The user has a run ID. */ - Starting = "Starting", - /** (Not used currently) It will be used if ES is creating the compute target. */ - Provisioning = "Provisioning", - /** The run environment is being prepared. */ - Preparing = "Preparing", - /** The job is queued in the compute target. For example, in BatchAI the job is in queued state, while waiting for all required nodes to be ready. */ - Queued = "Queued", - /** The job started to run in the compute target. */ - Running = "Running", - /** Job is completed in the target. It is in output collection state now. */ - Finalizing = "Finalizing", - /** Cancellation has been requested for the job. */ - CancelRequested = "CancelRequested", - /** Job completed successfully. This reflects that both the job itself and output collection states completed successfully */ - Completed = "Completed", - /** Job failed. */ - Failed = "Failed", - /** Following cancellation request, the job is now successfully canceled. */ - Canceled = "Canceled", - /** - * When heartbeat is enabled, if the run isn't updating any information to RunHistory then the run goes to NotResponding state. - * NotResponding is the only state that is exempt from strict transition orders. A run can go from NotResponding to any of the previous states. - */ - NotResponding = "NotResponding", - /** The job is paused by users. Some adjustment to labeling jobs can be made only in paused state. */ - Paused = "Paused", - /** Default job status if not mapped to all other statuses */ - Unknown = "Unknown" +/** Known values of {@link UnitOfMeasure} that the service accepts. */ +export enum KnownUnitOfMeasure { + /** OneHour */ + OneHour = "OneHour", } /** - * Defines values for JobStatus. \ - * {@link KnownJobStatus} can be used interchangeably with JobStatus, + * Defines values for UnitOfMeasure. \ + * {@link KnownUnitOfMeasure} can be used interchangeably with UnitOfMeasure, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **NotStarted**: Run hasn't started yet. \ - * **Starting**: Run has started. The user has a run ID. \ - * **Provisioning**: (Not used currently) It will be used if ES is creating the compute target. \ - * **Preparing**: The run environment is being prepared. \ - * **Queued**: The job is queued in the compute target. For example, in BatchAI the job is in queued state, while waiting for all required nodes to be ready. \ - * **Running**: The job started to run in the compute target. \ - * **Finalizing**: Job is completed in the target. It is in output collection state now. \ - * **CancelRequested**: Cancellation has been requested for the job. \ - * **Completed**: Job completed successfully. This reflects that both the job itself and output collection states completed successfully \ - * **Failed**: Job failed. \ - * **Canceled**: Following cancellation request, the job is now successfully canceled. \ - * **NotResponding**: When heartbeat is enabled, if the run isn't updating any information to RunHistory then the run goes to NotResponding state. - * NotResponding is the only state that is exempt from strict transition orders. A run can go from NotResponding to any of the previous states. \ - * **Paused**: The job is paused by users. Some adjustment to labeling jobs can be made only in paused state. \ - * **Unknown**: Default job status if not mapped to all other statuses + * **OneHour** */ -export type JobStatus = string; +export type UnitOfMeasure = string; -/** Known values of {@link EndpointComputeType} that the service accepts. */ -export enum KnownEndpointComputeType { - /** Managed */ - Managed = "Managed", - /** Kubernetes */ - Kubernetes = "Kubernetes", - /** AzureMLCompute */ - AzureMLCompute = "AzureMLCompute" +/** Known values of {@link VMPriceOSType} that the service accepts. */ +export enum KnownVMPriceOSType { + /** Linux */ + Linux = "Linux", + /** Windows */ + Windows = "Windows", } /** - * Defines values for EndpointComputeType. \ - * {@link KnownEndpointComputeType} can be used interchangeably with EndpointComputeType, + * Defines values for VMPriceOSType. \ + * {@link KnownVMPriceOSType} can be used interchangeably with VMPriceOSType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Managed** \ - * **Kubernetes** \ - * **AzureMLCompute** + * **Linux** \ + * **Windows** */ -export type EndpointComputeType = string; +export type VMPriceOSType = string; -/** Known values of {@link OrderString} that the service accepts. */ -export enum KnownOrderString { - /** CreatedAtDesc */ - CreatedAtDesc = "CreatedAtDesc", - /** CreatedAtAsc */ - CreatedAtAsc = "CreatedAtAsc", - /** UpdatedAtDesc */ - UpdatedAtDesc = "UpdatedAtDesc", - /** UpdatedAtAsc */ - UpdatedAtAsc = "UpdatedAtAsc" +/** Known values of {@link VMTier} that the service accepts. */ +export enum KnownVMTier { + /** Standard */ + Standard = "Standard", + /** LowPriority */ + LowPriority = "LowPriority", + /** Spot */ + Spot = "Spot", } /** - * Defines values for OrderString. \ - * {@link KnownOrderString} can be used interchangeably with OrderString, + * Defines values for VMTier. \ + * {@link KnownVMTier} can be used interchangeably with VMTier, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **CreatedAtDesc** \ - * **CreatedAtAsc** \ - * **UpdatedAtDesc** \ - * **UpdatedAtAsc** + * **Standard** \ + * **LowPriority** \ + * **Spot** */ -export type OrderString = string; +export type VMTier = string; -/** Known values of {@link PublicNetworkAccessType} that the service accepts. */ -export enum KnownPublicNetworkAccessType { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled" +/** Known values of {@link QuotaUnit} that the service accepts. */ +export enum KnownQuotaUnit { + /** Count */ + Count = "Count", } /** - * Defines values for PublicNetworkAccessType. \ - * {@link KnownPublicNetworkAccessType} can be used interchangeably with PublicNetworkAccessType, + * Defines values for QuotaUnit. \ + * {@link KnownQuotaUnit} can be used interchangeably with QuotaUnit, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Enabled** \ - * **Disabled** + * **Count** */ -export type PublicNetworkAccessType = string; +export type QuotaUnit = string; -/** Known values of {@link EgressPublicNetworkAccessType} that the service accepts. */ -export enum KnownEgressPublicNetworkAccessType { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled" +/** Known values of {@link Status} that the service accepts. */ +export enum KnownStatus { + /** Undefined */ + Undefined = "Undefined", + /** Success */ + Success = "Success", + /** Failure */ + Failure = "Failure", + /** InvalidQuotaBelowClusterMinimum */ + InvalidQuotaBelowClusterMinimum = "InvalidQuotaBelowClusterMinimum", + /** InvalidQuotaExceedsSubscriptionLimit */ + InvalidQuotaExceedsSubscriptionLimit = "InvalidQuotaExceedsSubscriptionLimit", + /** InvalidVMFamilyName */ + InvalidVMFamilyName = "InvalidVMFamilyName", + /** OperationNotSupportedForSku */ + OperationNotSupportedForSku = "OperationNotSupportedForSku", + /** OperationNotEnabledForRegion */ + OperationNotEnabledForRegion = "OperationNotEnabledForRegion", } /** - * Defines values for EgressPublicNetworkAccessType. \ - * {@link KnownEgressPublicNetworkAccessType} can be used interchangeably with EgressPublicNetworkAccessType, + * Defines values for Status. \ + * {@link KnownStatus} can be used interchangeably with Status, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Enabled** \ - * **Disabled** + * **Undefined** \ + * **Success** \ + * **Failure** \ + * **InvalidQuotaBelowClusterMinimum** \ + * **InvalidQuotaExceedsSubscriptionLimit** \ + * **InvalidVMFamilyName** \ + * **OperationNotSupportedForSku** \ + * **OperationNotEnabledForRegion** */ -export type EgressPublicNetworkAccessType = string; +export type Status = string; -/** Known values of {@link ScaleType} that the service accepts. */ -export enum KnownScaleType { - /** Default */ - Default = "Default", - /** TargetUtilization */ - TargetUtilization = "TargetUtilization" +/** Known values of {@link ComputeType} that the service accepts. */ +export enum KnownComputeType { + /** AKS */ + AKS = "AKS", + /** Kubernetes */ + Kubernetes = "Kubernetes", + /** AmlCompute */ + AmlCompute = "AmlCompute", + /** ComputeInstance */ + ComputeInstance = "ComputeInstance", + /** DataFactory */ + DataFactory = "DataFactory", + /** VirtualMachine */ + VirtualMachine = "VirtualMachine", + /** HDInsight */ + HDInsight = "HDInsight", + /** Databricks */ + Databricks = "Databricks", + /** DataLakeAnalytics */ + DataLakeAnalytics = "DataLakeAnalytics", + /** SynapseSpark */ + SynapseSpark = "SynapseSpark", } /** - * Defines values for ScaleType. \ - * {@link KnownScaleType} can be used interchangeably with ScaleType, + * Defines values for ComputeType. \ + * {@link KnownComputeType} can be used interchangeably with ComputeType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Default** \ - * **TargetUtilization** + * **AKS** \ + * **Kubernetes** \ + * **AmlCompute** \ + * **ComputeInstance** \ + * **DataFactory** \ + * **VirtualMachine** \ + * **HDInsight** \ + * **Databricks** \ + * **DataLakeAnalytics** \ + * **SynapseSpark** */ -export type ScaleType = string; +export type ComputeType = string; -/** Known values of {@link ContainerType} that the service accepts. */ -export enum KnownContainerType { - /** StorageInitializer */ - StorageInitializer = "StorageInitializer", - /** InferenceServer */ - InferenceServer = "InferenceServer" +/** Known values of {@link UnderlyingResourceAction} that the service accepts. */ +export enum KnownUnderlyingResourceAction { + /** Delete */ + Delete = "Delete", + /** Detach */ + Detach = "Detach", } /** - * Defines values for ContainerType. \ - * {@link KnownContainerType} can be used interchangeably with ContainerType, + * Defines values for UnderlyingResourceAction. \ + * {@link KnownUnderlyingResourceAction} can be used interchangeably with UnderlyingResourceAction, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **StorageInitializer** \ - * **InferenceServer** + * **Delete** \ + * **Detach** */ -export type ContainerType = string; +export type UnderlyingResourceAction = string; -/** Known values of {@link SkuScaleType} that the service accepts. */ -export enum KnownSkuScaleType { - /** Automatically scales node count. */ - Automatic = "Automatic", - /** Node count scaled upon user request. */ - Manual = "Manual", - /** Fixed set of nodes. */ - None = "None" +/** Known values of {@link NodeState} that the service accepts. */ +export enum KnownNodeState { + /** Idle */ + Idle = "idle", + /** Running */ + Running = "running", + /** Preparing */ + Preparing = "preparing", + /** Unusable */ + Unusable = "unusable", + /** Leaving */ + Leaving = "leaving", + /** Preempted */ + Preempted = "preempted", } /** - * Defines values for SkuScaleType. \ - * {@link KnownSkuScaleType} can be used interchangeably with SkuScaleType, + * Defines values for NodeState. \ + * {@link KnownNodeState} can be used interchangeably with NodeState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Automatic**: Automatically scales node count. \ - * **Manual**: Node count scaled upon user request. \ - * **None**: Fixed set of nodes. + * **idle** \ + * **running** \ + * **preparing** \ + * **unusable** \ + * **leaving** \ + * **preempted** */ -export type SkuScaleType = string; +export type NodeState = string; -/** Known values of {@link KeyType} that the service accepts. */ -export enum KnownKeyType { - /** Primary */ - Primary = "Primary", - /** Secondary */ - Secondary = "Secondary" +/** Known values of {@link ConnectionAuthType} that the service accepts. */ +export enum KnownConnectionAuthType { + /** PAT */ + PAT = "PAT", + /** ManagedIdentity */ + ManagedIdentity = "ManagedIdentity", + /** UsernamePassword */ + UsernamePassword = "UsernamePassword", + /** None */ + None = "None", + /** SAS */ + SAS = "SAS", } /** - * Defines values for KeyType. \ - * {@link KnownKeyType} can be used interchangeably with KeyType, + * Defines values for ConnectionAuthType. \ + * {@link KnownConnectionAuthType} can be used interchangeably with ConnectionAuthType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Primary** \ - * **Secondary** + * **PAT** \ + * **ManagedIdentity** \ + * **UsernamePassword** \ + * **None** \ + * **SAS** */ -export type KeyType = string; +export type ConnectionAuthType = string; -/** Known values of {@link ScheduleListViewType} that the service accepts. */ -export enum KnownScheduleListViewType { - /** EnabledOnly */ - EnabledOnly = "EnabledOnly", - /** DisabledOnly */ - DisabledOnly = "DisabledOnly", - /** All */ - All = "All" +/** Known values of {@link ConnectionCategory} that the service accepts. */ +export enum KnownConnectionCategory { + /** PythonFeed */ + PythonFeed = "PythonFeed", + /** ContainerRegistry */ + ContainerRegistry = "ContainerRegistry", + /** Git */ + Git = "Git", } /** - * Defines values for ScheduleListViewType. \ - * {@link KnownScheduleListViewType} can be used interchangeably with ScheduleListViewType, + * Defines values for ConnectionCategory. \ + * {@link KnownConnectionCategory} can be used interchangeably with ConnectionCategory, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **EnabledOnly** \ - * **DisabledOnly** \ - * **All** + * **PythonFeed** \ + * **ContainerRegistry** \ + * **Git** */ -export type ScheduleListViewType = string; +export type ConnectionCategory = string; -/** Known values of {@link ScheduleActionType} that the service accepts. */ -export enum KnownScheduleActionType { - /** CreateJob */ - CreateJob = "CreateJob", - /** InvokeBatchEndpoint */ - InvokeBatchEndpoint = "InvokeBatchEndpoint" +/** Known values of {@link ValueFormat} that the service accepts. */ +export enum KnownValueFormat { + /** Json */ + Json = "JSON", } /** - * Defines values for ScheduleActionType. \ - * {@link KnownScheduleActionType} can be used interchangeably with ScheduleActionType, + * Defines values for ValueFormat. \ + * {@link KnownValueFormat} can be used interchangeably with ValueFormat, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **CreateJob** \ - * **InvokeBatchEndpoint** + * **JSON** */ -export type ScheduleActionType = string; +export type ValueFormat = string; -/** Known values of {@link ScheduleProvisioningStatus} that the service accepts. */ -export enum KnownScheduleProvisioningStatus { +/** Known values of {@link AssetProvisioningState} that the service accepts. */ +export enum KnownAssetProvisioningState { + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Canceled */ + Canceled = "Canceled", /** Creating */ Creating = "Creating", /** Updating */ Updating = "Updating", /** Deleting */ Deleting = "Deleting", - /** Succeeded */ - Succeeded = "Succeeded", - /** Failed */ - Failed = "Failed", - /** Canceled */ - Canceled = "Canceled" } /** - * Defines values for ScheduleProvisioningStatus. \ - * {@link KnownScheduleProvisioningStatus} can be used interchangeably with ScheduleProvisioningStatus, + * Defines values for AssetProvisioningState. \ + * {@link KnownAssetProvisioningState} can be used interchangeably with AssetProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Creating** \ - * **Updating** \ - * **Deleting** \ * **Succeeded** \ * **Failed** \ - * **Canceled** + * **Canceled** \ + * **Creating** \ + * **Updating** \ + * **Deleting** */ -export type ScheduleProvisioningStatus = string; +export type AssetProvisioningState = string; -/** Known values of {@link TriggerType} that the service accepts. */ -export enum KnownTriggerType { - /** Recurrence */ - Recurrence = "Recurrence", - /** Cron */ - Cron = "Cron" +/** Known values of {@link PendingUploadType} that the service accepts. */ +export enum KnownPendingUploadType { + /** None */ + None = "None", + /** TemporaryBlobReference */ + TemporaryBlobReference = "TemporaryBlobReference", } /** - * Defines values for TriggerType. \ - * {@link KnownTriggerType} can be used interchangeably with TriggerType, + * Defines values for PendingUploadType. \ + * {@link KnownPendingUploadType} can be used interchangeably with PendingUploadType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Recurrence** \ - * **Cron** + * **None** \ + * **TemporaryBlobReference** */ -export type TriggerType = string; +export type PendingUploadType = string; -/** Known values of {@link ClusterPurpose} that the service accepts. */ -export enum KnownClusterPurpose { - /** FastProd */ - FastProd = "FastProd", - /** DenseProd */ - DenseProd = "DenseProd", - /** DevTest */ - DevTest = "DevTest" +/** Known values of {@link PendingUploadCredentialType} that the service accepts. */ +export enum KnownPendingUploadCredentialType { + /** SAS */ + SAS = "SAS", } /** - * Defines values for ClusterPurpose. \ - * {@link KnownClusterPurpose} can be used interchangeably with ClusterPurpose, + * Defines values for PendingUploadCredentialType. \ + * {@link KnownPendingUploadCredentialType} can be used interchangeably with PendingUploadCredentialType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **FastProd** \ - * **DenseProd** \ - * **DevTest** + * **SAS** */ -export type ClusterPurpose = string; +export type PendingUploadCredentialType = string; -/** Known values of {@link SslConfigStatus} that the service accepts. */ -export enum KnownSslConfigStatus { - /** Disabled */ - Disabled = "Disabled", - /** Enabled */ - Enabled = "Enabled", - /** Auto */ - Auto = "Auto" +/** Known values of {@link ListViewType} that the service accepts. */ +export enum KnownListViewType { + /** ActiveOnly */ + ActiveOnly = "ActiveOnly", + /** ArchivedOnly */ + ArchivedOnly = "ArchivedOnly", + /** All */ + All = "All", } /** - * Defines values for SslConfigStatus. \ - * {@link KnownSslConfigStatus} can be used interchangeably with SslConfigStatus, + * Defines values for ListViewType. \ + * {@link KnownListViewType} can be used interchangeably with ListViewType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Disabled** \ - * **Enabled** \ - * **Auto** + * **ActiveOnly** \ + * **ArchivedOnly** \ + * **All** */ -export type SslConfigStatus = string; +export type ListViewType = string; -/** Known values of {@link LoadBalancerType} that the service accepts. */ -export enum KnownLoadBalancerType { - /** PublicIp */ - PublicIp = "PublicIp", - /** InternalLoadBalancer */ - InternalLoadBalancer = "InternalLoadBalancer" +/** Known values of {@link DataType} that the service accepts. */ +export enum KnownDataType { + /** UriFile */ + UriFile = "uri_file", + /** UriFolder */ + UriFolder = "uri_folder", + /** Mltable */ + Mltable = "mltable", } /** - * Defines values for LoadBalancerType. \ - * {@link KnownLoadBalancerType} can be used interchangeably with LoadBalancerType, + * Defines values for DataType. \ + * {@link KnownDataType} can be used interchangeably with DataType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **PublicIp** \ - * **InternalLoadBalancer** + * **uri_file** \ + * **uri_folder** \ + * **mltable** */ -export type LoadBalancerType = string; +export type DataType = string; -/** Known values of {@link OsType} that the service accepts. */ -export enum KnownOsType { - /** Linux */ - Linux = "Linux", - /** Windows */ - Windows = "Windows" +/** Known values of {@link DataReferenceCredentialType} that the service accepts. */ +export enum KnownDataReferenceCredentialType { + /** SAS */ + SAS = "SAS", + /** DockerCredentials */ + DockerCredentials = "DockerCredentials", + /** ManagedIdentity */ + ManagedIdentity = "ManagedIdentity", + /** NoCredentials */ + NoCredentials = "NoCredentials", } /** - * Defines values for OsType. \ - * {@link KnownOsType} can be used interchangeably with OsType, + * Defines values for DataReferenceCredentialType. \ + * {@link KnownDataReferenceCredentialType} can be used interchangeably with DataReferenceCredentialType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Linux** \ - * **Windows** + * **SAS** \ + * **DockerCredentials** \ + * **ManagedIdentity** \ + * **NoCredentials** */ -export type OsType = string; +export type DataReferenceCredentialType = string; -/** Known values of {@link VmPriority} that the service accepts. */ -export enum KnownVmPriority { - /** Dedicated */ - Dedicated = "Dedicated", - /** LowPriority */ - LowPriority = "LowPriority" +/** Known values of {@link AutoRebuildSetting} that the service accepts. */ +export enum KnownAutoRebuildSetting { + /** Disabled */ + Disabled = "Disabled", + /** OnBaseImageUpdate */ + OnBaseImageUpdate = "OnBaseImageUpdate", } /** - * Defines values for VmPriority. \ - * {@link KnownVmPriority} can be used interchangeably with VmPriority, + * Defines values for AutoRebuildSetting. \ + * {@link KnownAutoRebuildSetting} can be used interchangeably with AutoRebuildSetting, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Dedicated** \ - * **LowPriority** + * **Disabled** \ + * **OnBaseImageUpdate** */ -export type VmPriority = string; +export type AutoRebuildSetting = string; -/** Known values of {@link RemoteLoginPortPublicAccess} that the service accepts. */ -export enum KnownRemoteLoginPortPublicAccess { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", - /** NotSpecified */ - NotSpecified = "NotSpecified" +/** Known values of {@link EnvironmentType} that the service accepts. */ +export enum KnownEnvironmentType { + /** Curated */ + Curated = "Curated", + /** UserCreated */ + UserCreated = "UserCreated", } /** - * Defines values for RemoteLoginPortPublicAccess. \ - * {@link KnownRemoteLoginPortPublicAccess} can be used interchangeably with RemoteLoginPortPublicAccess, + * Defines values for EnvironmentType. \ + * {@link KnownEnvironmentType} can be used interchangeably with EnvironmentType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Enabled** \ - * **Disabled** \ - * **NotSpecified** - */ -export type RemoteLoginPortPublicAccess = string; - -/** Known values of {@link AllocationState} that the service accepts. */ -export enum KnownAllocationState { - /** Steady */ - Steady = "Steady", - /** Resizing */ - Resizing = "Resizing" -} - -/** - * Defines values for AllocationState. \ - * {@link KnownAllocationState} can be used interchangeably with AllocationState, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Steady** \ - * **Resizing** - */ -export type AllocationState = string; - -/** Known values of {@link ApplicationSharingPolicy} that the service accepts. */ -export enum KnownApplicationSharingPolicy { - /** Personal */ - Personal = "Personal", - /** Shared */ - Shared = "Shared" -} - -/** - * Defines values for ApplicationSharingPolicy. \ - * {@link KnownApplicationSharingPolicy} can be used interchangeably with ApplicationSharingPolicy, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Personal** \ - * **Shared** + * **Curated** \ + * **UserCreated** */ -export type ApplicationSharingPolicy = string; +export type EnvironmentType = string; -/** Known values of {@link SshPublicAccess} that the service accepts. */ -export enum KnownSshPublicAccess { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled" +/** Known values of {@link OperatingSystemType} that the service accepts. */ +export enum KnownOperatingSystemType { + /** Linux */ + Linux = "Linux", + /** Windows */ + Windows = "Windows", } /** - * Defines values for SshPublicAccess. \ - * {@link KnownSshPublicAccess} can be used interchangeably with SshPublicAccess, + * Defines values for OperatingSystemType. \ + * {@link KnownOperatingSystemType} can be used interchangeably with OperatingSystemType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Enabled** \ - * **Disabled** + * **Linux** \ + * **Windows** */ -export type SshPublicAccess = string; +export type OperatingSystemType = string; -/** Known values of {@link ComputeInstanceState} that the service accepts. */ -export enum KnownComputeInstanceState { +/** Known values of {@link EndpointProvisioningState} that the service accepts. */ +export enum KnownEndpointProvisioningState { /** Creating */ Creating = "Creating", - /** CreateFailed */ - CreateFailed = "CreateFailed", /** Deleting */ Deleting = "Deleting", - /** Running */ - Running = "Running", - /** Restarting */ - Restarting = "Restarting", - /** JobRunning */ - JobRunning = "JobRunning", - /** SettingUp */ - SettingUp = "SettingUp", - /** SetupFailed */ - SetupFailed = "SetupFailed", - /** Starting */ - Starting = "Starting", - /** Stopped */ - Stopped = "Stopped", - /** Stopping */ - Stopping = "Stopping", - /** UserSettingUp */ - UserSettingUp = "UserSettingUp", - /** UserSetupFailed */ - UserSetupFailed = "UserSetupFailed", - /** Unknown */ - Unknown = "Unknown", - /** Unusable */ - Unusable = "Unusable" + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Updating */ + Updating = "Updating", + /** Canceled */ + Canceled = "Canceled", } /** - * Defines values for ComputeInstanceState. \ - * {@link KnownComputeInstanceState} can be used interchangeably with ComputeInstanceState, + * Defines values for EndpointProvisioningState. \ + * {@link KnownEndpointProvisioningState} can be used interchangeably with EndpointProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Creating** \ - * **CreateFailed** \ * **Deleting** \ - * **Running** \ - * **Restarting** \ - * **JobRunning** \ - * **SettingUp** \ - * **SetupFailed** \ - * **Starting** \ - * **Stopped** \ - * **Stopping** \ - * **UserSettingUp** \ - * **UserSetupFailed** \ - * **Unknown** \ - * **Unusable** + * **Succeeded** \ + * **Failed** \ + * **Updating** \ + * **Canceled** */ -export type ComputeInstanceState = string; +export type EndpointProvisioningState = string; -/** Known values of {@link ComputeInstanceAuthorizationType} that the service accepts. */ -export enum KnownComputeInstanceAuthorizationType { - /** Personal */ - Personal = "personal" +/** Known values of {@link EndpointAuthMode} that the service accepts. */ +export enum KnownEndpointAuthMode { + /** AMLToken */ + AMLToken = "AMLToken", + /** Key */ + Key = "Key", + /** AADToken */ + AADToken = "AADToken", } /** - * Defines values for ComputeInstanceAuthorizationType. \ - * {@link KnownComputeInstanceAuthorizationType} can be used interchangeably with ComputeInstanceAuthorizationType, + * Defines values for EndpointAuthMode. \ + * {@link KnownEndpointAuthMode} can be used interchangeably with EndpointAuthMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **personal** + * **AMLToken** \ + * **Key** \ + * **AADToken** */ -export type ComputeInstanceAuthorizationType = string; +export type EndpointAuthMode = string; -/** Known values of {@link OperationName} that the service accepts. */ -export enum KnownOperationName { - /** Create */ - Create = "Create", - /** Start */ - Start = "Start", - /** Stop */ - Stop = "Stop", - /** Restart */ - Restart = "Restart", - /** Reimage */ - Reimage = "Reimage", - /** Delete */ - Delete = "Delete" +/** Known values of {@link BatchDeploymentConfigurationType} that the service accepts. */ +export enum KnownBatchDeploymentConfigurationType { + /** Model */ + Model = "Model", + /** PipelineComponent */ + PipelineComponent = "PipelineComponent", } /** - * Defines values for OperationName. \ - * {@link KnownOperationName} can be used interchangeably with OperationName, + * Defines values for BatchDeploymentConfigurationType. \ + * {@link KnownBatchDeploymentConfigurationType} can be used interchangeably with BatchDeploymentConfigurationType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Create** \ - * **Start** \ - * **Stop** \ - * **Restart** \ - * **Reimage** \ - * **Delete** + * **Model** \ + * **PipelineComponent** */ -export type OperationName = string; +export type BatchDeploymentConfigurationType = string; -/** Known values of {@link OperationStatus} that the service accepts. */ -export enum KnownOperationStatus { - /** InProgress */ - InProgress = "InProgress", - /** Succeeded */ - Succeeded = "Succeeded", - /** CreateFailed */ - CreateFailed = "CreateFailed", - /** StartFailed */ - StartFailed = "StartFailed", - /** StopFailed */ - StopFailed = "StopFailed", - /** RestartFailed */ - RestartFailed = "RestartFailed", - /** ReimageFailed */ - ReimageFailed = "ReimageFailed", - /** DeleteFailed */ - DeleteFailed = "DeleteFailed" +/** Known values of {@link BatchLoggingLevel} that the service accepts. */ +export enum KnownBatchLoggingLevel { + /** Info */ + Info = "Info", + /** Warning */ + Warning = "Warning", + /** Debug */ + Debug = "Debug", } /** - * Defines values for OperationStatus. \ - * {@link KnownOperationStatus} can be used interchangeably with OperationStatus, + * Defines values for BatchLoggingLevel. \ + * {@link KnownBatchLoggingLevel} can be used interchangeably with BatchLoggingLevel, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **InProgress** \ - * **Succeeded** \ - * **CreateFailed** \ - * **StartFailed** \ - * **StopFailed** \ - * **RestartFailed** \ - * **ReimageFailed** \ - * **DeleteFailed** + * **Info** \ + * **Warning** \ + * **Debug** */ -export type OperationStatus = string; +export type BatchLoggingLevel = string; -/** Known values of {@link OperationTrigger} that the service accepts. */ -export enum KnownOperationTrigger { - /** User */ - User = "User", - /** Schedule */ - Schedule = "Schedule", - /** IdleShutdown */ - IdleShutdown = "IdleShutdown" +/** Known values of {@link ReferenceType} that the service accepts. */ +export enum KnownReferenceType { + /** Id */ + Id = "Id", + /** DataPath */ + DataPath = "DataPath", + /** OutputPath */ + OutputPath = "OutputPath", } /** - * Defines values for OperationTrigger. \ - * {@link KnownOperationTrigger} can be used interchangeably with OperationTrigger, + * Defines values for ReferenceType. \ + * {@link KnownReferenceType} can be used interchangeably with ReferenceType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **User** \ - * **Schedule** \ - * **IdleShutdown** + * **Id** \ + * **DataPath** \ + * **OutputPath** */ -export type OperationTrigger = string; +export type ReferenceType = string; -/** Known values of {@link ProvisioningStatus} that the service accepts. */ -export enum KnownProvisioningStatus { - /** Completed */ - Completed = "Completed", - /** Provisioning */ - Provisioning = "Provisioning", - /** Failed */ - Failed = "Failed" +/** Known values of {@link BatchOutputAction} that the service accepts. */ +export enum KnownBatchOutputAction { + /** SummaryOnly */ + SummaryOnly = "SummaryOnly", + /** AppendRow */ + AppendRow = "AppendRow", } /** - * Defines values for ProvisioningStatus. \ - * {@link KnownProvisioningStatus} can be used interchangeably with ProvisioningStatus, + * Defines values for BatchOutputAction. \ + * {@link KnownBatchOutputAction} can be used interchangeably with BatchOutputAction, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Completed** \ - * **Provisioning** \ - * **Failed** + * **SummaryOnly** \ + * **AppendRow** */ -export type ProvisioningStatus = string; +export type BatchOutputAction = string; -/** Known values of {@link ScheduleStatus} that the service accepts. */ -export enum KnownScheduleStatus { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled" +/** Known values of {@link DeploymentProvisioningState} that the service accepts. */ +export enum KnownDeploymentProvisioningState { + /** Creating */ + Creating = "Creating", + /** Deleting */ + Deleting = "Deleting", + /** Scaling */ + Scaling = "Scaling", + /** Updating */ + Updating = "Updating", + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Canceled */ + Canceled = "Canceled", } /** - * Defines values for ScheduleStatus. \ - * {@link KnownScheduleStatus} can be used interchangeably with ScheduleStatus, + * Defines values for DeploymentProvisioningState. \ + * {@link KnownDeploymentProvisioningState} can be used interchangeably with DeploymentProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Enabled** \ - * **Disabled** + * **Creating** \ + * **Deleting** \ + * **Scaling** \ + * **Updating** \ + * **Succeeded** \ + * **Failed** \ + * **Canceled** */ -export type ScheduleStatus = string; +export type DeploymentProvisioningState = string; -/** Known values of {@link ComputePowerAction} that the service accepts. */ -export enum KnownComputePowerAction { - /** Start */ - Start = "Start", - /** Stop */ - Stop = "Stop" +/** Known values of {@link CredentialsType} that the service accepts. */ +export enum KnownCredentialsType { + /** AccountKey */ + AccountKey = "AccountKey", + /** Certificate */ + Certificate = "Certificate", + /** None */ + None = "None", + /** Sas */ + Sas = "Sas", + /** ServicePrincipal */ + ServicePrincipal = "ServicePrincipal", } /** - * Defines values for ComputePowerAction. \ - * {@link KnownComputePowerAction} can be used interchangeably with ComputePowerAction, + * Defines values for CredentialsType. \ + * {@link KnownCredentialsType} can be used interchangeably with CredentialsType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Start** \ - * **Stop** + * **AccountKey** \ + * **Certificate** \ + * **None** \ + * **Sas** \ + * **ServicePrincipal** */ -export type ComputePowerAction = string; +export type CredentialsType = string; + +/** Known values of {@link DatastoreType} that the service accepts. */ +export enum KnownDatastoreType { + /** AzureBlob */ + AzureBlob = "AzureBlob", + /** AzureDataLakeGen1 */ + AzureDataLakeGen1 = "AzureDataLakeGen1", + /** AzureDataLakeGen2 */ + AzureDataLakeGen2 = "AzureDataLakeGen2", + /** AzureFile */ + AzureFile = "AzureFile", + /** OneLake */ + OneLake = "OneLake", +} + +/** + * Defines values for DatastoreType. \ + * {@link KnownDatastoreType} can be used interchangeably with DatastoreType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AzureBlob** \ + * **AzureDataLakeGen1** \ + * **AzureDataLakeGen2** \ + * **AzureFile** \ + * **OneLake** + */ +export type DatastoreType = string; + +/** Known values of {@link SecretsType} that the service accepts. */ +export enum KnownSecretsType { + /** AccountKey */ + AccountKey = "AccountKey", + /** Certificate */ + Certificate = "Certificate", + /** Sas */ + Sas = "Sas", + /** ServicePrincipal */ + ServicePrincipal = "ServicePrincipal", +} + +/** + * Defines values for SecretsType. \ + * {@link KnownSecretsType} can be used interchangeably with SecretsType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AccountKey** \ + * **Certificate** \ + * **Sas** \ + * **ServicePrincipal** + */ +export type SecretsType = string; + +/** Known values of {@link FeatureDataType} that the service accepts. */ +export enum KnownFeatureDataType { + /** String */ + String = "String", + /** Integer */ + Integer = "Integer", + /** Long */ + Long = "Long", + /** Float */ + Float = "Float", + /** Double */ + Double = "Double", + /** Binary */ + Binary = "Binary", + /** Datetime */ + Datetime = "Datetime", + /** Boolean */ + Boolean = "Boolean", +} + +/** + * Defines values for FeatureDataType. \ + * {@link KnownFeatureDataType} can be used interchangeably with FeatureDataType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **String** \ + * **Integer** \ + * **Long** \ + * **Float** \ + * **Double** \ + * **Binary** \ + * **Datetime** \ + * **Boolean** + */ +export type FeatureDataType = string; + +/** Known values of {@link EmailNotificationEnableType} that the service accepts. */ +export enum KnownEmailNotificationEnableType { + /** JobCompleted */ + JobCompleted = "JobCompleted", + /** JobFailed */ + JobFailed = "JobFailed", + /** JobCancelled */ + JobCancelled = "JobCancelled", +} + +/** + * Defines values for EmailNotificationEnableType. \ + * {@link KnownEmailNotificationEnableType} can be used interchangeably with EmailNotificationEnableType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **JobCompleted** \ + * **JobFailed** \ + * **JobCancelled** + */ +export type EmailNotificationEnableType = string; + +/** Known values of {@link WebhookType} that the service accepts. */ +export enum KnownWebhookType { + /** AzureDevOps */ + AzureDevOps = "AzureDevOps", +} + +/** + * Defines values for WebhookType. \ + * {@link KnownWebhookType} can be used interchangeably with WebhookType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AzureDevOps** + */ +export type WebhookType = string; /** Known values of {@link RecurrenceFrequency} that the service accepts. */ export enum KnownRecurrenceFrequency { @@ -6129,7 +7510,7 @@ export enum KnownRecurrenceFrequency { /** Week frequency */ Week = "Week", /** Month frequency */ - Month = "Month" + Month = "Month", } /** @@ -6160,7 +7541,7 @@ export enum KnownWeekDay { /** Saturday weekday */ Saturday = "Saturday", /** Sunday weekday */ - Sunday = "Sunday" + Sunday = "Sunday", } /** @@ -6178,1345 +7559,3276 @@ export enum KnownWeekDay { */ export type WeekDay = string; -/** Known values of {@link ScheduleProvisioningState} that the service accepts. */ -export enum KnownScheduleProvisioningState { - /** Completed */ - Completed = "Completed", - /** Provisioning */ - Provisioning = "Provisioning", - /** Failed */ - Failed = "Failed" +/** Known values of {@link TriggerType} that the service accepts. */ +export enum KnownTriggerType { + /** Recurrence */ + Recurrence = "Recurrence", + /** Cron */ + Cron = "Cron", } /** - * Defines values for ScheduleProvisioningState. \ - * {@link KnownScheduleProvisioningState} can be used interchangeably with ScheduleProvisioningState, + * Defines values for TriggerType. \ + * {@link KnownTriggerType} can be used interchangeably with TriggerType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Completed** \ - * **Provisioning** \ - * **Failed** + * **Recurrence** \ + * **Cron** */ -export type ScheduleProvisioningState = string; +export type TriggerType = string; -/** Known values of {@link Autosave} that the service accepts. */ -export enum KnownAutosave { +/** Known values of {@link MaterializationStoreType} that the service accepts. */ +export enum KnownMaterializationStoreType { /** None */ None = "None", - /** Local */ - Local = "Local", - /** Remote */ - Remote = "Remote" + /** Online */ + Online = "Online", + /** Offline */ + Offline = "Offline", + /** OnlineAndOffline */ + OnlineAndOffline = "OnlineAndOffline", } /** - * Defines values for Autosave. \ - * {@link KnownAutosave} can be used interchangeably with Autosave, + * Defines values for MaterializationStoreType. \ + * {@link KnownMaterializationStoreType} can be used interchangeably with MaterializationStoreType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **None** \ - * **Local** \ - * **Remote** - */ -export type Autosave = string; - -/** Known values of {@link Network} that the service accepts. */ -export enum KnownNetwork { - /** Bridge */ - Bridge = "Bridge", - /** Host */ - Host = "Host" -} - -/** - * Defines values for Network. \ - * {@link KnownNetwork} can be used interchangeably with Network, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Bridge** \ - * **Host** + * **Online** \ + * **Offline** \ + * **OnlineAndOffline** */ -export type Network = string; +export type MaterializationStoreType = string; -/** Known values of {@link Caching} that the service accepts. */ -export enum KnownCaching { +/** Known values of {@link DataAvailabilityStatus} that the service accepts. */ +export enum KnownDataAvailabilityStatus { /** None */ None = "None", - /** ReadOnly */ - ReadOnly = "ReadOnly", - /** ReadWrite */ - ReadWrite = "ReadWrite" + /** Pending */ + Pending = "Pending", + /** Incomplete */ + Incomplete = "Incomplete", + /** Complete */ + Complete = "Complete", } /** - * Defines values for Caching. \ - * {@link KnownCaching} can be used interchangeably with Caching, + * Defines values for DataAvailabilityStatus. \ + * {@link KnownDataAvailabilityStatus} can be used interchangeably with DataAvailabilityStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **None** \ - * **ReadOnly** \ - * **ReadWrite** + * **Pending** \ + * **Incomplete** \ + * **Complete** */ -export type Caching = string; +export type DataAvailabilityStatus = string; -/** Known values of {@link StorageAccountType} that the service accepts. */ -export enum KnownStorageAccountType { - /** StandardLRS */ - StandardLRS = "Standard_LRS", - /** PremiumLRS */ - PremiumLRS = "Premium_LRS" +/** Known values of {@link IdentityConfigurationType} that the service accepts. */ +export enum KnownIdentityConfigurationType { + /** Managed */ + Managed = "Managed", + /** AMLToken */ + AMLToken = "AMLToken", + /** UserIdentity */ + UserIdentity = "UserIdentity", } /** - * Defines values for StorageAccountType. \ - * {@link KnownStorageAccountType} can be used interchangeably with StorageAccountType, + * Defines values for IdentityConfigurationType. \ + * {@link KnownIdentityConfigurationType} can be used interchangeably with IdentityConfigurationType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Standard_LRS** \ - * **Premium_LRS** + * **Managed** \ + * **AMLToken** \ + * **UserIdentity** */ -export type StorageAccountType = string; +export type IdentityConfigurationType = string; -/** Known values of {@link SourceType} that the service accepts. */ -export enum KnownSourceType { - /** Dataset */ - Dataset = "Dataset", - /** Datastore */ - Datastore = "Datastore", - /** URI */ - URI = "URI" +/** Known values of {@link JobType} that the service accepts. */ +export enum KnownJobType { + /** AutoML */ + AutoML = "AutoML", + /** Command */ + Command = "Command", + /** Sweep */ + Sweep = "Sweep", + /** Pipeline */ + Pipeline = "Pipeline", + /** Spark */ + Spark = "Spark", } /** - * Defines values for SourceType. \ - * {@link KnownSourceType} can be used interchangeably with SourceType, + * Defines values for JobType. \ + * {@link KnownJobType} can be used interchangeably with JobType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Dataset** \ - * **Datastore** \ - * **URI** + * **AutoML** \ + * **Command** \ + * **Sweep** \ + * **Pipeline** \ + * **Spark** */ -export type SourceType = string; +export type JobType = string; -/** Known values of {@link MountAction} that the service accepts. */ -export enum KnownMountAction { - /** Mount */ - Mount = "Mount", - /** Unmount */ - Unmount = "Unmount" +/** Known values of {@link NodesValueType} that the service accepts. */ +export enum KnownNodesValueType { + /** All */ + All = "All", } /** - * Defines values for MountAction. \ - * {@link KnownMountAction} can be used interchangeably with MountAction, + * Defines values for NodesValueType. \ + * {@link KnownNodesValueType} can be used interchangeably with NodesValueType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Mount** \ - * **Unmount** + * **All** */ -export type MountAction = string; +export type NodesValueType = string; -/** Known values of {@link MountState} that the service accepts. */ -export enum KnownMountState { - /** MountRequested */ - MountRequested = "MountRequested", - /** Mounted */ - Mounted = "Mounted", - /** MountFailed */ - MountFailed = "MountFailed", - /** UnmountRequested */ - UnmountRequested = "UnmountRequested", - /** UnmountFailed */ - UnmountFailed = "UnmountFailed", - /** Unmounted */ - Unmounted = "Unmounted" +/** Known values of {@link JobStatus} that the service accepts. */ +export enum KnownJobStatus { + /** Run hasn't started yet. */ + NotStarted = "NotStarted", + /** Run has started. The user has a run ID. */ + Starting = "Starting", + /** (Not used currently) It will be used if ES is creating the compute target. */ + Provisioning = "Provisioning", + /** The run environment is being prepared. */ + Preparing = "Preparing", + /** The job is queued in the compute target. For example, in BatchAI the job is in queued state, while waiting for all required nodes to be ready. */ + Queued = "Queued", + /** The job started to run in the compute target. */ + Running = "Running", + /** Job is completed in the target. It is in output collection state now. */ + Finalizing = "Finalizing", + /** Cancellation has been requested for the job. */ + CancelRequested = "CancelRequested", + /** Job completed successfully. This reflects that both the job itself and output collection states completed successfully */ + Completed = "Completed", + /** Job failed. */ + Failed = "Failed", + /** Following cancellation request, the job is now successfully canceled. */ + Canceled = "Canceled", + /** + * When heartbeat is enabled, if the run isn't updating any information to RunHistory then the run goes to NotResponding state. + * NotResponding is the only state that is exempt from strict transition orders. A run can go from NotResponding to any of the previous states. + */ + NotResponding = "NotResponding", + /** The job is paused by users. Some adjustment to labeling jobs can be made only in paused state. */ + Paused = "Paused", + /** Default job status if not mapped to all other statuses */ + Unknown = "Unknown", } /** - * Defines values for MountState. \ - * {@link KnownMountState} can be used interchangeably with MountState, + * Defines values for JobStatus. \ + * {@link KnownJobStatus} can be used interchangeably with JobStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **MountRequested** \ - * **Mounted** \ - * **MountFailed** \ - * **UnmountRequested** \ - * **UnmountFailed** \ - * **Unmounted** + * **NotStarted**: Run hasn't started yet. \ + * **Starting**: Run has started. The user has a run ID. \ + * **Provisioning**: (Not used currently) It will be used if ES is creating the compute target. \ + * **Preparing**: The run environment is being prepared. \ + * **Queued**: The job is queued in the compute target. For example, in BatchAI the job is in queued state, while waiting for all required nodes to be ready. \ + * **Running**: The job started to run in the compute target. \ + * **Finalizing**: Job is completed in the target. It is in output collection state now. \ + * **CancelRequested**: Cancellation has been requested for the job. \ + * **Completed**: Job completed successfully. This reflects that both the job itself and output collection states completed successfully \ + * **Failed**: Job failed. \ + * **Canceled**: Following cancellation request, the job is now successfully canceled. \ + * **NotResponding**: When heartbeat is enabled, if the run isn't updating any information to RunHistory then the run goes to NotResponding state. + * NotResponding is the only state that is exempt from strict transition orders. A run can go from NotResponding to any of the previous states. \ + * **Paused**: The job is paused by users. Some adjustment to labeling jobs can be made only in paused state. \ + * **Unknown**: Default job status if not mapped to all other statuses */ -export type MountState = string; +export type JobStatus = string; -/** Known values of {@link InputDeliveryMode} that the service accepts. */ -export enum KnownInputDeliveryMode { - /** ReadOnlyMount */ - ReadOnlyMount = "ReadOnlyMount", - /** ReadWriteMount */ - ReadWriteMount = "ReadWriteMount", - /** Download */ - Download = "Download", - /** Direct */ - Direct = "Direct", - /** EvalMount */ - EvalMount = "EvalMount", - /** EvalDownload */ - EvalDownload = "EvalDownload" +/** Known values of {@link EndpointComputeType} that the service accepts. */ +export enum KnownEndpointComputeType { + /** Managed */ + Managed = "Managed", + /** Kubernetes */ + Kubernetes = "Kubernetes", + /** AzureMLCompute */ + AzureMLCompute = "AzureMLCompute", } /** - * Defines values for InputDeliveryMode. \ - * {@link KnownInputDeliveryMode} can be used interchangeably with InputDeliveryMode, + * Defines values for EndpointComputeType. \ + * {@link KnownEndpointComputeType} can be used interchangeably with EndpointComputeType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **ReadOnlyMount** \ - * **ReadWriteMount** \ - * **Download** \ - * **Direct** \ - * **EvalMount** \ - * **EvalDownload** + * **Managed** \ + * **Kubernetes** \ + * **AzureMLCompute** */ -export type InputDeliveryMode = string; +export type EndpointComputeType = string; -/** Known values of {@link OutputDeliveryMode} that the service accepts. */ -export enum KnownOutputDeliveryMode { - /** ReadWriteMount */ - ReadWriteMount = "ReadWriteMount", - /** Upload */ - Upload = "Upload" +/** Known values of {@link OrderString} that the service accepts. */ +export enum KnownOrderString { + /** CreatedAtDesc */ + CreatedAtDesc = "CreatedAtDesc", + /** CreatedAtAsc */ + CreatedAtAsc = "CreatedAtAsc", + /** UpdatedAtDesc */ + UpdatedAtDesc = "UpdatedAtDesc", + /** UpdatedAtAsc */ + UpdatedAtAsc = "UpdatedAtAsc", } /** - * Defines values for OutputDeliveryMode. \ - * {@link KnownOutputDeliveryMode} can be used interchangeably with OutputDeliveryMode, + * Defines values for OrderString. \ + * {@link KnownOrderString} can be used interchangeably with OrderString, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **ReadWriteMount** \ - * **Upload** + * **CreatedAtDesc** \ + * **CreatedAtAsc** \ + * **UpdatedAtDesc** \ + * **UpdatedAtAsc** */ -export type OutputDeliveryMode = string; +export type OrderString = string; -/** Known values of {@link ForecastHorizonMode} that the service accepts. */ -export enum KnownForecastHorizonMode { - /** Forecast horizon to be determined automatically. */ - Auto = "Auto", - /** Use the custom forecast horizon. */ - Custom = "Custom" +/** Known values of {@link PublicNetworkAccessType} that the service accepts. */ +export enum KnownPublicNetworkAccessType { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for ForecastHorizonMode. \ - * {@link KnownForecastHorizonMode} can be used interchangeably with ForecastHorizonMode, + * Defines values for PublicNetworkAccessType. \ + * {@link KnownPublicNetworkAccessType} can be used interchangeably with PublicNetworkAccessType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Auto**: Forecast horizon to be determined automatically. \ - * **Custom**: Use the custom forecast horizon. + * **Enabled** \ + * **Disabled** */ -export type ForecastHorizonMode = string; +export type PublicNetworkAccessType = string; -/** Known values of {@link JobOutputType} that the service accepts. */ -export enum KnownJobOutputType { - /** UriFile */ - UriFile = "uri_file", - /** UriFolder */ - UriFolder = "uri_folder", - /** Mltable */ - Mltable = "mltable", - /** CustomModel */ - CustomModel = "custom_model", - /** MlflowModel */ - MlflowModel = "mlflow_model", - /** TritonModel */ - TritonModel = "triton_model" +/** Known values of {@link EgressPublicNetworkAccessType} that the service accepts. */ +export enum KnownEgressPublicNetworkAccessType { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for JobOutputType. \ - * {@link KnownJobOutputType} can be used interchangeably with JobOutputType, + * Defines values for EgressPublicNetworkAccessType. \ + * {@link KnownEgressPublicNetworkAccessType} can be used interchangeably with EgressPublicNetworkAccessType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **uri_file** \ - * **uri_folder** \ - * **mltable** \ - * **custom_model** \ - * **mlflow_model** \ - * **triton_model** + * **Enabled** \ + * **Disabled** */ -export type JobOutputType = string; +export type EgressPublicNetworkAccessType = string; -/** Known values of {@link LogVerbosity} that the service accepts. */ -export enum KnownLogVerbosity { - /** No logs emitted. */ - NotSet = "NotSet", - /** Debug and above log statements logged. */ - Debug = "Debug", - /** Info and above log statements logged. */ - Info = "Info", - /** Warning and above log statements logged. */ - Warning = "Warning", - /** Error and above log statements logged. */ - Error = "Error", - /** Only critical statements logged. */ - Critical = "Critical" +/** Known values of {@link ScaleType} that the service accepts. */ +export enum KnownScaleType { + /** Default */ + Default = "Default", + /** TargetUtilization */ + TargetUtilization = "TargetUtilization", } /** - * Defines values for LogVerbosity. \ - * {@link KnownLogVerbosity} can be used interchangeably with LogVerbosity, + * Defines values for ScaleType. \ + * {@link KnownScaleType} can be used interchangeably with ScaleType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **NotSet**: No logs emitted. \ - * **Debug**: Debug and above log statements logged. \ - * **Info**: Info and above log statements logged. \ - * **Warning**: Warning and above log statements logged. \ - * **Error**: Error and above log statements logged. \ - * **Critical**: Only critical statements logged. + * **Default** \ + * **TargetUtilization** */ -export type LogVerbosity = string; +export type ScaleType = string; -/** Known values of {@link TaskType} that the service accepts. */ -export enum KnownTaskType { - /** - * Classification in machine learning and statistics is a supervised learning approach in which - * the computer program learns from the data given to it and make new observations or classifications. - */ - Classification = "Classification", - /** Regression means to predict the value using the input data. Regression models are used to predict a continuous value. */ - Regression = "Regression", - /** - * Forecasting is a special kind of regression task that deals with time-series data and creates forecasting model - * that can be used to predict the near future values based on the inputs. - */ - Forecasting = "Forecasting", - /** - * Image Classification. Multi-class image classification is used when an image is classified with only a single label - * from a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'. - */ - ImageClassification = "ImageClassification", - /** - * Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels - * from a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'. - */ - ImageClassificationMultilabel = "ImageClassificationMultilabel", - /** - * Image Object Detection. Object detection is used to identify objects in an image and locate each object with a - * bounding box e.g. locate all dogs and cats in an image and draw a bounding box around each. - */ - ImageObjectDetection = "ImageObjectDetection", - /** - * Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level, - * drawing a polygon around each object in the image. - */ - ImageInstanceSegmentation = "ImageInstanceSegmentation", - /** - * Text classification (also known as text tagging or text categorization) is the process of sorting texts into categories. - * Categories are mutually exclusive. - */ - TextClassification = "TextClassification", - /** Multilabel classification task assigns each sample to a group (zero or more) of target labels. */ - TextClassificationMultilabel = "TextClassificationMultilabel", - /** - * Text Named Entity Recognition a.k.a. TextNER. - * Named Entity Recognition (NER) is the ability to take free-form text and identify the occurrences of entities such as people, locations, organizations, and more. - */ - TextNER = "TextNER" -} +/** Known values of {@link ContainerType} that the service accepts. */ +export enum KnownContainerType { + /** StorageInitializer */ + StorageInitializer = "StorageInitializer", + /** InferenceServer */ + InferenceServer = "InferenceServer", +} /** - * Defines values for TaskType. \ - * {@link KnownTaskType} can be used interchangeably with TaskType, + * Defines values for ContainerType. \ + * {@link KnownContainerType} can be used interchangeably with ContainerType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Classification**: Classification in machine learning and statistics is a supervised learning approach in which - * the computer program learns from the data given to it and make new observations or classifications. \ - * **Regression**: Regression means to predict the value using the input data. Regression models are used to predict a continuous value. \ - * **Forecasting**: Forecasting is a special kind of regression task that deals with time-series data and creates forecasting model - * that can be used to predict the near future values based on the inputs. \ - * **ImageClassification**: Image Classification. Multi-class image classification is used when an image is classified with only a single label - * from a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'. \ - * **ImageClassificationMultilabel**: Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels - * from a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'. \ - * **ImageObjectDetection**: Image Object Detection. Object detection is used to identify objects in an image and locate each object with a - * bounding box e.g. locate all dogs and cats in an image and draw a bounding box around each. \ - * **ImageInstanceSegmentation**: Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level, - * drawing a polygon around each object in the image. \ - * **TextClassification**: Text classification (also known as text tagging or text categorization) is the process of sorting texts into categories. - * Categories are mutually exclusive. \ - * **TextClassificationMultilabel**: Multilabel classification task assigns each sample to a group (zero or more) of target labels. \ - * **TextNER**: Text Named Entity Recognition a.k.a. TextNER. - * Named Entity Recognition (NER) is the ability to take free-form text and identify the occurrences of entities such as people, locations, organizations, and more. + * **StorageInitializer** \ + * **InferenceServer** */ -export type TaskType = string; +export type ContainerType = string; -/** Known values of {@link JobInputType} that the service accepts. */ -export enum KnownJobInputType { - /** Literal */ - Literal = "literal", - /** UriFile */ - UriFile = "uri_file", - /** UriFolder */ - UriFolder = "uri_folder", - /** Mltable */ - Mltable = "mltable", - /** CustomModel */ - CustomModel = "custom_model", - /** MlflowModel */ - MlflowModel = "mlflow_model", - /** TritonModel */ - TritonModel = "triton_model" +/** Known values of {@link SkuScaleType} that the service accepts. */ +export enum KnownSkuScaleType { + /** Automatically scales node count. */ + Automatic = "Automatic", + /** Node count scaled upon user request. */ + Manual = "Manual", + /** Fixed set of nodes. */ + None = "None", } /** - * Defines values for JobInputType. \ - * {@link KnownJobInputType} can be used interchangeably with JobInputType, + * Defines values for SkuScaleType. \ + * {@link KnownSkuScaleType} can be used interchangeably with SkuScaleType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **literal** \ - * **uri_file** \ - * **uri_folder** \ - * **mltable** \ - * **custom_model** \ - * **mlflow_model** \ - * **triton_model** + * **Automatic**: Automatically scales node count. \ + * **Manual**: Node count scaled upon user request. \ + * **None**: Fixed set of nodes. */ -export type JobInputType = string; +export type SkuScaleType = string; -/** Known values of {@link NCrossValidationsMode} that the service accepts. */ -export enum KnownNCrossValidationsMode { - /** Determine N-Cross validations value automatically. Supported only for 'Forecasting' AutoML task. */ - Auto = "Auto", - /** Use custom N-Cross validations value. */ - Custom = "Custom" +/** Known values of {@link KeyType} that the service accepts. */ +export enum KnownKeyType { + /** Primary */ + Primary = "Primary", + /** Secondary */ + Secondary = "Secondary", } /** - * Defines values for NCrossValidationsMode. \ - * {@link KnownNCrossValidationsMode} can be used interchangeably with NCrossValidationsMode, + * Defines values for KeyType. \ + * {@link KnownKeyType} can be used interchangeably with KeyType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Auto**: Determine N-Cross validations value automatically. Supported only for 'Forecasting' AutoML task. \ - * **Custom**: Use custom N-Cross validations value. + * **Primary** \ + * **Secondary** */ -export type NCrossValidationsMode = string; +export type KeyType = string; -/** Known values of {@link SeasonalityMode} that the service accepts. */ -export enum KnownSeasonalityMode { - /** Seasonality to be determined automatically. */ - Auto = "Auto", - /** Use the custom seasonality value. */ - Custom = "Custom" +/** Known values of {@link ScheduleListViewType} that the service accepts. */ +export enum KnownScheduleListViewType { + /** EnabledOnly */ + EnabledOnly = "EnabledOnly", + /** DisabledOnly */ + DisabledOnly = "DisabledOnly", + /** All */ + All = "All", } /** - * Defines values for SeasonalityMode. \ - * {@link KnownSeasonalityMode} can be used interchangeably with SeasonalityMode, + * Defines values for ScheduleListViewType. \ + * {@link KnownScheduleListViewType} can be used interchangeably with ScheduleListViewType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Auto**: Seasonality to be determined automatically. \ - * **Custom**: Use the custom seasonality value. + * **EnabledOnly** \ + * **DisabledOnly** \ + * **All** */ -export type SeasonalityMode = string; +export type ScheduleListViewType = string; -/** Known values of {@link TargetLagsMode} that the service accepts. */ -export enum KnownTargetLagsMode { - /** Target lags to be determined automatically. */ - Auto = "Auto", - /** Use the custom target lags. */ - Custom = "Custom" +/** Known values of {@link ScheduleActionType} that the service accepts. */ +export enum KnownScheduleActionType { + /** CreateJob */ + CreateJob = "CreateJob", + /** InvokeBatchEndpoint */ + InvokeBatchEndpoint = "InvokeBatchEndpoint", + /** CreateMonitor */ + CreateMonitor = "CreateMonitor", } /** - * Defines values for TargetLagsMode. \ - * {@link KnownTargetLagsMode} can be used interchangeably with TargetLagsMode, + * Defines values for ScheduleActionType. \ + * {@link KnownScheduleActionType} can be used interchangeably with ScheduleActionType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Auto**: Target lags to be determined automatically. \ - * **Custom**: Use the custom target lags. + * **CreateJob** \ + * **InvokeBatchEndpoint** \ + * **CreateMonitor** */ -export type TargetLagsMode = string; +export type ScheduleActionType = string; -/** Known values of {@link TargetRollingWindowSizeMode} that the service accepts. */ -export enum KnownTargetRollingWindowSizeMode { - /** Determine rolling windows size automatically. */ - Auto = "Auto", - /** Use the specified rolling window size. */ - Custom = "Custom" +/** Known values of {@link ScheduleProvisioningStatus} that the service accepts. */ +export enum KnownScheduleProvisioningStatus { + /** Creating */ + Creating = "Creating", + /** Updating */ + Updating = "Updating", + /** Deleting */ + Deleting = "Deleting", + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Canceled */ + Canceled = "Canceled", } /** - * Defines values for TargetRollingWindowSizeMode. \ - * {@link KnownTargetRollingWindowSizeMode} can be used interchangeably with TargetRollingWindowSizeMode, + * Defines values for ScheduleProvisioningStatus. \ + * {@link KnownScheduleProvisioningStatus} can be used interchangeably with ScheduleProvisioningStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Auto**: Determine rolling windows size automatically. \ - * **Custom**: Use the specified rolling window size. + * **Creating** \ + * **Updating** \ + * **Deleting** \ + * **Succeeded** \ + * **Failed** \ + * **Canceled** */ -export type TargetRollingWindowSizeMode = string; +export type ScheduleProvisioningStatus = string; -/** Known values of {@link ServiceDataAccessAuthIdentity} that the service accepts. */ -export enum KnownServiceDataAccessAuthIdentity { - /** Do not use any identity for service data access. */ - None = "None", - /** Use the system assigned managed identity of the Workspace to authenticate service data access. */ - WorkspaceSystemAssignedIdentity = "WorkspaceSystemAssignedIdentity", - /** Use the user assigned managed identity of the Workspace to authenticate service data access. */ - WorkspaceUserAssignedIdentity = "WorkspaceUserAssignedIdentity" +/** Known values of {@link EndpointServiceConnectionStatus} that the service accepts. */ +export enum KnownEndpointServiceConnectionStatus { + /** Approved */ + Approved = "Approved", + /** Pending */ + Pending = "Pending", + /** Rejected */ + Rejected = "Rejected", + /** Disconnected */ + Disconnected = "Disconnected", } /** - * Defines values for ServiceDataAccessAuthIdentity. \ - * {@link KnownServiceDataAccessAuthIdentity} can be used interchangeably with ServiceDataAccessAuthIdentity, + * Defines values for EndpointServiceConnectionStatus. \ + * {@link KnownEndpointServiceConnectionStatus} can be used interchangeably with EndpointServiceConnectionStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None**: Do not use any identity for service data access. \ - * **WorkspaceSystemAssignedIdentity**: Use the system assigned managed identity of the Workspace to authenticate service data access. \ - * **WorkspaceUserAssignedIdentity**: Use the user assigned managed identity of the Workspace to authenticate service data access. + * **Approved** \ + * **Pending** \ + * **Rejected** \ + * **Disconnected** */ -export type ServiceDataAccessAuthIdentity = string; +export type EndpointServiceConnectionStatus = string; -/** Known values of {@link EarlyTerminationPolicyType} that the service accepts. */ -export enum KnownEarlyTerminationPolicyType { - /** Bandit */ - Bandit = "Bandit", - /** MedianStopping */ - MedianStopping = "MedianStopping", - /** TruncationSelection */ - TruncationSelection = "TruncationSelection" +/** Known values of {@link ClusterPurpose} that the service accepts. */ +export enum KnownClusterPurpose { + /** FastProd */ + FastProd = "FastProd", + /** DenseProd */ + DenseProd = "DenseProd", + /** DevTest */ + DevTest = "DevTest", } /** - * Defines values for EarlyTerminationPolicyType. \ - * {@link KnownEarlyTerminationPolicyType} can be used interchangeably with EarlyTerminationPolicyType, + * Defines values for ClusterPurpose. \ + * {@link KnownClusterPurpose} can be used interchangeably with ClusterPurpose, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Bandit** \ - * **MedianStopping** \ - * **TruncationSelection** + * **FastProd** \ + * **DenseProd** \ + * **DevTest** */ -export type EarlyTerminationPolicyType = string; +export type ClusterPurpose = string; -/** Known values of {@link SamplingAlgorithmType} that the service accepts. */ -export enum KnownSamplingAlgorithmType { - /** Grid */ - Grid = "Grid", - /** Random */ - Random = "Random", - /** Bayesian */ - Bayesian = "Bayesian" +/** Known values of {@link SslConfigStatus} that the service accepts. */ +export enum KnownSslConfigStatus { + /** Disabled */ + Disabled = "Disabled", + /** Enabled */ + Enabled = "Enabled", + /** Auto */ + Auto = "Auto", } /** - * Defines values for SamplingAlgorithmType. \ - * {@link KnownSamplingAlgorithmType} can be used interchangeably with SamplingAlgorithmType, + * Defines values for SslConfigStatus. \ + * {@link KnownSslConfigStatus} can be used interchangeably with SslConfigStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Grid** \ - * **Random** \ - * **Bayesian** + * **Disabled** \ + * **Enabled** \ + * **Auto** */ -export type SamplingAlgorithmType = string; +export type SslConfigStatus = string; -/** Known values of {@link ClassificationPrimaryMetrics} that the service accepts. */ -export enum KnownClassificationPrimaryMetrics { - /** - * AUC is the Area under the curve. - * This metric represents arithmetic mean of the score for each class, - * weighted by the number of true instances in each class. - */ - AUCWeighted = "AUCWeighted", - /** Accuracy is the ratio of predictions that exactly match the true class labels. */ - Accuracy = "Accuracy", - /** - * Normalized macro recall is recall macro-averaged and normalized, so that random - * performance has a score of 0, and perfect performance has a score of 1. - */ - NormMacroRecall = "NormMacroRecall", - /** - * The arithmetic mean of the average precision score for each class, weighted by - * the number of true instances in each class. - */ - AveragePrecisionScoreWeighted = "AveragePrecisionScoreWeighted", - /** The arithmetic mean of precision for each class, weighted by number of true instances in each class. */ - PrecisionScoreWeighted = "PrecisionScoreWeighted" +/** Known values of {@link LoadBalancerType} that the service accepts. */ +export enum KnownLoadBalancerType { + /** PublicIp */ + PublicIp = "PublicIp", + /** InternalLoadBalancer */ + InternalLoadBalancer = "InternalLoadBalancer", } /** - * Defines values for ClassificationPrimaryMetrics. \ - * {@link KnownClassificationPrimaryMetrics} can be used interchangeably with ClassificationPrimaryMetrics, + * Defines values for LoadBalancerType. \ + * {@link KnownLoadBalancerType} can be used interchangeably with LoadBalancerType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AUCWeighted**: AUC is the Area under the curve. - * This metric represents arithmetic mean of the score for each class, - * weighted by the number of true instances in each class. \ - * **Accuracy**: Accuracy is the ratio of predictions that exactly match the true class labels. \ - * **NormMacroRecall**: Normalized macro recall is recall macro-averaged and normalized, so that random - * performance has a score of 0, and perfect performance has a score of 1. \ - * **AveragePrecisionScoreWeighted**: The arithmetic mean of the average precision score for each class, weighted by - * the number of true instances in each class. \ - * **PrecisionScoreWeighted**: The arithmetic mean of precision for each class, weighted by number of true instances in each class. + * **PublicIp** \ + * **InternalLoadBalancer** */ -export type ClassificationPrimaryMetrics = string; +export type LoadBalancerType = string; -/** Known values of {@link ClassificationModels} that the service accepts. */ -export enum KnownClassificationModels { - /** - * Logistic regression is a fundamental classification technique. - * It belongs to the group of linear classifiers and is somewhat similar to polynomial and linear regression. - * Logistic regression is fast and relatively uncomplicated, and it's convenient for you to interpret the results. - * Although it's essentially a method for binary classification, it can also be applied to multiclass problems. - */ - LogisticRegression = "LogisticRegression", - /** - * SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications - * to find the model parameters that correspond to the best fit between predicted and actual outputs. - */ - SGD = "SGD", - /** - * The multinomial Naive Bayes classifier is suitable for classification with discrete features (e.g., word counts for text classification). - * The multinomial distribution normally requires integer feature counts. However, in practice, fractional counts such as tf-idf may also work. - */ - MultinomialNaiveBayes = "MultinomialNaiveBayes", - /** Naive Bayes classifier for multivariate Bernoulli models. */ - BernoulliNaiveBayes = "BernoulliNaiveBayes", - /** - * A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. - * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. - */ - SVM = "SVM", - /** - * A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. - * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. - * Linear SVM performs best when input data is linear, i.e., data can be easily classified by drawing the straight line between classified values on a plotted graph. - */ - LinearSVM = "LinearSVM", - /** - * K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints - * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. - */ - KNN = "KNN", - /** - * Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. - * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. - */ - DecisionTree = "DecisionTree", - /** - * Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. - * The general idea of the bagging method is that a combination of learning models increases the overall result. - */ - RandomForest = "RandomForest", - /** Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. */ - ExtremeRandomTrees = "ExtremeRandomTrees", - /** LightGBM is a gradient boosting framework that uses tree based learning algorithms. */ - LightGBM = "LightGBM", - /** The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. */ - GradientBoosting = "GradientBoosting", - /** XGBoost: Extreme Gradient Boosting Algorithm. This algorithm is used for structured data where target column values can be divided into distinct class values. */ - XGBoostClassifier = "XGBoostClassifier" +/** Known values of {@link OsType} that the service accepts. */ +export enum KnownOsType { + /** Linux */ + Linux = "Linux", + /** Windows */ + Windows = "Windows", } /** - * Defines values for ClassificationModels. \ - * {@link KnownClassificationModels} can be used interchangeably with ClassificationModels, + * Defines values for OsType. \ + * {@link KnownOsType} can be used interchangeably with OsType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **LogisticRegression**: Logistic regression is a fundamental classification technique. - * It belongs to the group of linear classifiers and is somewhat similar to polynomial and linear regression. - * Logistic regression is fast and relatively uncomplicated, and it's convenient for you to interpret the results. - * Although it's essentially a method for binary classification, it can also be applied to multiclass problems. \ - * **SGD**: SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications - * to find the model parameters that correspond to the best fit between predicted and actual outputs. \ - * **MultinomialNaiveBayes**: The multinomial Naive Bayes classifier is suitable for classification with discrete features (e.g., word counts for text classification). - * The multinomial distribution normally requires integer feature counts. However, in practice, fractional counts such as tf-idf may also work. \ - * **BernoulliNaiveBayes**: Naive Bayes classifier for multivariate Bernoulli models. \ - * **SVM**: A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. - * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. \ - * **LinearSVM**: A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. - * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. - * Linear SVM performs best when input data is linear, i.e., data can be easily classified by drawing the straight line between classified values on a plotted graph. \ - * **KNN**: K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints - * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. \ - * **DecisionTree**: Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. - * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. \ - * **RandomForest**: Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. - * The general idea of the bagging method is that a combination of learning models increases the overall result. \ - * **ExtremeRandomTrees**: Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. \ - * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ - * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ - * **XGBoostClassifier**: XGBoost: Extreme Gradient Boosting Algorithm. This algorithm is used for structured data where target column values can be divided into distinct class values. + * **Linux** \ + * **Windows** */ -export type ClassificationModels = string; +export type OsType = string; -/** Known values of {@link StackMetaLearnerType} that the service accepts. */ -export enum KnownStackMetaLearnerType { - /** None */ - None = "None", - /** Default meta-learners are LogisticRegression for classification tasks. */ - LogisticRegression = "LogisticRegression", - /** Default meta-learners are LogisticRegression for classification task when CV is on. */ - LogisticRegressionCV = "LogisticRegressionCV", - /** LightGBMClassifier */ - LightGBMClassifier = "LightGBMClassifier", - /** Default meta-learners are LogisticRegression for regression task. */ - ElasticNet = "ElasticNet", - /** Default meta-learners are LogisticRegression for regression task when CV is on. */ - ElasticNetCV = "ElasticNetCV", - /** LightGBMRegressor */ - LightGBMRegressor = "LightGBMRegressor", - /** LinearRegression */ - LinearRegression = "LinearRegression" +/** Known values of {@link VmPriority} that the service accepts. */ +export enum KnownVmPriority { + /** Dedicated */ + Dedicated = "Dedicated", + /** LowPriority */ + LowPriority = "LowPriority", } /** - * Defines values for StackMetaLearnerType. \ - * {@link KnownStackMetaLearnerType} can be used interchangeably with StackMetaLearnerType, + * Defines values for VmPriority. \ + * {@link KnownVmPriority} can be used interchangeably with VmPriority, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None** \ - * **LogisticRegression**: Default meta-learners are LogisticRegression for classification tasks. \ - * **LogisticRegressionCV**: Default meta-learners are LogisticRegression for classification task when CV is on. \ - * **LightGBMClassifier** \ - * **ElasticNet**: Default meta-learners are LogisticRegression for regression task. \ - * **ElasticNetCV**: Default meta-learners are LogisticRegression for regression task when CV is on. \ - * **LightGBMRegressor** \ - * **LinearRegression** + * **Dedicated** \ + * **LowPriority** */ -export type StackMetaLearnerType = string; +export type VmPriority = string; -/** Known values of {@link BlockedTransformers} that the service accepts. */ -export enum KnownBlockedTransformers { - /** Target encoding for text data. */ - TextTargetEncoder = "TextTargetEncoder", - /** Ohe hot encoding creates a binary feature transformation. */ - OneHotEncoder = "OneHotEncoder", - /** Target encoding for categorical data. */ - CatTargetEncoder = "CatTargetEncoder", - /** Tf-Idf stands for, term-frequency times inverse document-frequency. This is a common term weighting scheme for identifying information from documents. */ - TfIdf = "TfIdf", - /** Weight of Evidence encoding is a technique used to encode categorical variables. It uses the natural log of the P(1)/P(0) to create weights. */ - WoETargetEncoder = "WoETargetEncoder", - /** Label encoder converts labels/categorical variables in a numerical form. */ - LabelEncoder = "LabelEncoder", - /** Word embedding helps represents words or phrases as a vector, or a series of numbers. */ - WordEmbedding = "WordEmbedding", - /** Naive Bayes is a classified that is used for classification of discrete features that are categorically distributed. */ - NaiveBayes = "NaiveBayes", - /** Count Vectorizer converts a collection of text documents to a matrix of token counts. */ - CountVectorizer = "CountVectorizer", - /** Hashing One Hot Encoder can turn categorical variables into a limited number of new features. This is often used for high-cardinality categorical features. */ - HashOneHotEncoder = "HashOneHotEncoder" +/** Known values of {@link RemoteLoginPortPublicAccess} that the service accepts. */ +export enum KnownRemoteLoginPortPublicAccess { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", + /** NotSpecified */ + NotSpecified = "NotSpecified", } /** - * Defines values for BlockedTransformers. \ - * {@link KnownBlockedTransformers} can be used interchangeably with BlockedTransformers, + * Defines values for RemoteLoginPortPublicAccess. \ + * {@link KnownRemoteLoginPortPublicAccess} can be used interchangeably with RemoteLoginPortPublicAccess, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **TextTargetEncoder**: Target encoding for text data. \ - * **OneHotEncoder**: Ohe hot encoding creates a binary feature transformation. \ - * **CatTargetEncoder**: Target encoding for categorical data. \ - * **TfIdf**: Tf-Idf stands for, term-frequency times inverse document-frequency. This is a common term weighting scheme for identifying information from documents. \ - * **WoETargetEncoder**: Weight of Evidence encoding is a technique used to encode categorical variables. It uses the natural log of the P(1)\/P(0) to create weights. \ - * **LabelEncoder**: Label encoder converts labels\/categorical variables in a numerical form. \ - * **WordEmbedding**: Word embedding helps represents words or phrases as a vector, or a series of numbers. \ - * **NaiveBayes**: Naive Bayes is a classified that is used for classification of discrete features that are categorically distributed. \ - * **CountVectorizer**: Count Vectorizer converts a collection of text documents to a matrix of token counts. \ - * **HashOneHotEncoder**: Hashing One Hot Encoder can turn categorical variables into a limited number of new features. This is often used for high-cardinality categorical features. + * **Enabled** \ + * **Disabled** \ + * **NotSpecified** */ -export type BlockedTransformers = string; +export type RemoteLoginPortPublicAccess = string; -/** Known values of {@link FeaturizationMode} that the service accepts. */ -export enum KnownFeaturizationMode { - /** Auto mode, system performs featurization without any custom featurization inputs. */ - Auto = "Auto", - /** Custom featurization. */ - Custom = "Custom", - /** Featurization off. 'Forecasting' task cannot use this value. */ - Off = "Off" +/** Known values of {@link AllocationState} that the service accepts. */ +export enum KnownAllocationState { + /** Steady */ + Steady = "Steady", + /** Resizing */ + Resizing = "Resizing", } /** - * Defines values for FeaturizationMode. \ - * {@link KnownFeaturizationMode} can be used interchangeably with FeaturizationMode, + * Defines values for AllocationState. \ + * {@link KnownAllocationState} can be used interchangeably with AllocationState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Auto**: Auto mode, system performs featurization without any custom featurization inputs. \ - * **Custom**: Custom featurization. \ - * **Off**: Featurization off. 'Forecasting' task cannot use this value. + * **Steady** \ + * **Resizing** */ -export type FeaturizationMode = string; +export type AllocationState = string; -/** Known values of {@link DistributionType} that the service accepts. */ -export enum KnownDistributionType { - /** PyTorch */ - PyTorch = "PyTorch", - /** TensorFlow */ - TensorFlow = "TensorFlow", - /** Mpi */ - Mpi = "Mpi" +/** Known values of {@link ApplicationSharingPolicy} that the service accepts. */ +export enum KnownApplicationSharingPolicy { + /** Personal */ + Personal = "Personal", + /** Shared */ + Shared = "Shared", } /** - * Defines values for DistributionType. \ - * {@link KnownDistributionType} can be used interchangeably with DistributionType, + * Defines values for ApplicationSharingPolicy. \ + * {@link KnownApplicationSharingPolicy} can be used interchangeably with ApplicationSharingPolicy, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **PyTorch** \ - * **TensorFlow** \ - * **Mpi** + * **Personal** \ + * **Shared** */ -export type DistributionType = string; +export type ApplicationSharingPolicy = string; -/** Known values of {@link JobLimitsType} that the service accepts. */ -export enum KnownJobLimitsType { - /** Command */ - Command = "Command", - /** Sweep */ - Sweep = "Sweep" +/** Known values of {@link SshPublicAccess} that the service accepts. */ +export enum KnownSshPublicAccess { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for JobLimitsType. \ - * {@link KnownJobLimitsType} can be used interchangeably with JobLimitsType, + * Defines values for SshPublicAccess. \ + * {@link KnownSshPublicAccess} can be used interchangeably with SshPublicAccess, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Command** \ - * **Sweep** + * **Enabled** \ + * **Disabled** */ -export type JobLimitsType = string; +export type SshPublicAccess = string; -/** Known values of {@link FeatureLags} that the service accepts. */ -export enum KnownFeatureLags { - /** No feature lags generated. */ - None = "None", - /** System auto-generates feature lags. */ - Auto = "Auto" +/** Known values of {@link ImageType} that the service accepts. */ +export enum KnownImageType { + /** Docker */ + Docker = "docker", + /** Azureml */ + Azureml = "azureml", } /** - * Defines values for FeatureLags. \ - * {@link KnownFeatureLags} can be used interchangeably with FeatureLags, + * Defines values for ImageType. \ + * {@link KnownImageType} can be used interchangeably with ImageType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None**: No feature lags generated. \ - * **Auto**: System auto-generates feature lags. + * **docker** \ + * **azureml** */ -export type FeatureLags = string; +export type ImageType = string; -/** Known values of {@link ShortSeriesHandlingConfiguration} that the service accepts. */ -export enum KnownShortSeriesHandlingConfiguration { - /** Represents no/null value. */ - None = "None", - /** Short series will be padded if there are no long series, otherwise short series will be dropped. */ - Auto = "Auto", - /** All the short series will be padded. */ - Pad = "Pad", - /** All the short series will be dropped. */ - Drop = "Drop" +/** Known values of {@link EnvironmentVariableType} that the service accepts. */ +export enum KnownEnvironmentVariableType { + /** Local */ + Local = "local", } /** - * Defines values for ShortSeriesHandlingConfiguration. \ - * {@link KnownShortSeriesHandlingConfiguration} can be used interchangeably with ShortSeriesHandlingConfiguration, + * Defines values for EnvironmentVariableType. \ + * {@link KnownEnvironmentVariableType} can be used interchangeably with EnvironmentVariableType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None**: Represents no\/null value. \ - * **Auto**: Short series will be padded if there are no long series, otherwise short series will be dropped. \ - * **Pad**: All the short series will be padded. \ - * **Drop**: All the short series will be dropped. + * **local** */ -export type ShortSeriesHandlingConfiguration = string; +export type EnvironmentVariableType = string; -/** Known values of {@link TargetAggregationFunction} that the service accepts. */ -export enum KnownTargetAggregationFunction { - /** Represent no value set. */ - None = "None", - /** Sum */ - Sum = "Sum", - /** Max */ - Max = "Max", - /** Min */ - Min = "Min", - /** Mean */ - Mean = "Mean" +/** Known values of {@link Protocol} that the service accepts. */ +export enum KnownProtocol { + /** Tcp */ + Tcp = "tcp", + /** Udp */ + Udp = "udp", + /** Http */ + Http = "http", } /** - * Defines values for TargetAggregationFunction. \ - * {@link KnownTargetAggregationFunction} can be used interchangeably with TargetAggregationFunction, + * Defines values for Protocol. \ + * {@link KnownProtocol} can be used interchangeably with Protocol, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None**: Represent no value set. \ - * **Sum** \ - * **Max** \ - * **Min** \ - * **Mean** + * **tcp** \ + * **udp** \ + * **http** */ -export type TargetAggregationFunction = string; +export type Protocol = string; -/** Known values of {@link UseStl} that the service accepts. */ -export enum KnownUseStl { - /** No stl decomposition. */ - None = "None", - /** Season */ - Season = "Season", - /** SeasonTrend */ - SeasonTrend = "SeasonTrend" +/** Known values of {@link VolumeDefinitionType} that the service accepts. */ +export enum KnownVolumeDefinitionType { + /** Bind */ + Bind = "bind", + /** Volume */ + Volume = "volume", + /** Tmpfs */ + Tmpfs = "tmpfs", + /** Npipe */ + Npipe = "npipe", } /** - * Defines values for UseStl. \ - * {@link KnownUseStl} can be used interchangeably with UseStl, + * Defines values for VolumeDefinitionType. \ + * {@link KnownVolumeDefinitionType} can be used interchangeably with VolumeDefinitionType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None**: No stl decomposition. \ - * **Season** \ - * **SeasonTrend** + * **bind** \ + * **volume** \ + * **tmpfs** \ + * **npipe** */ -export type UseStl = string; +export type VolumeDefinitionType = string; -/** Known values of {@link ForecastingPrimaryMetrics} that the service accepts. */ -export enum KnownForecastingPrimaryMetrics { - /** The Spearman's rank coefficient of correlation is a non-parametric measure of rank correlation. */ - SpearmanCorrelation = "SpearmanCorrelation", - /** The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. */ - NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", - /** The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. */ - R2Score = "R2Score", - /** The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ - NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError" +/** Known values of {@link ComputeInstanceState} that the service accepts. */ +export enum KnownComputeInstanceState { + /** Creating */ + Creating = "Creating", + /** CreateFailed */ + CreateFailed = "CreateFailed", + /** Deleting */ + Deleting = "Deleting", + /** Running */ + Running = "Running", + /** Restarting */ + Restarting = "Restarting", + /** JobRunning */ + JobRunning = "JobRunning", + /** SettingUp */ + SettingUp = "SettingUp", + /** SetupFailed */ + SetupFailed = "SetupFailed", + /** Starting */ + Starting = "Starting", + /** Stopped */ + Stopped = "Stopped", + /** Stopping */ + Stopping = "Stopping", + /** UserSettingUp */ + UserSettingUp = "UserSettingUp", + /** UserSetupFailed */ + UserSetupFailed = "UserSetupFailed", + /** Unknown */ + Unknown = "Unknown", + /** Unusable */ + Unusable = "Unusable", } /** - * Defines values for ForecastingPrimaryMetrics. \ - * {@link KnownForecastingPrimaryMetrics} can be used interchangeably with ForecastingPrimaryMetrics, + * Defines values for ComputeInstanceState. \ + * {@link KnownComputeInstanceState} can be used interchangeably with ComputeInstanceState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **SpearmanCorrelation**: The Spearman's rank coefficient of correlation is a non-parametric measure of rank correlation. \ - * **NormalizedRootMeanSquaredError**: The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. \ - * **R2Score**: The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. \ - * **NormalizedMeanAbsoluteError**: The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. + * **Creating** \ + * **CreateFailed** \ + * **Deleting** \ + * **Running** \ + * **Restarting** \ + * **JobRunning** \ + * **SettingUp** \ + * **SetupFailed** \ + * **Starting** \ + * **Stopped** \ + * **Stopping** \ + * **UserSettingUp** \ + * **UserSetupFailed** \ + * **Unknown** \ + * **Unusable** */ -export type ForecastingPrimaryMetrics = string; +export type ComputeInstanceState = string; -/** Known values of {@link ForecastingModels} that the service accepts. */ -export enum KnownForecastingModels { - /** - * Auto-Autoregressive Integrated Moving Average (ARIMA) model uses time-series data and statistical analysis to interpret the data and make future predictions. - * This model aims to explain data by using time series data on its past values and uses linear regression to make predictions. - */ - AutoArima = "AutoArima", - /** - * Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. - * It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well. - */ - Prophet = "Prophet", - /** The Naive forecasting model makes predictions by carrying forward the latest target value for each time-series in the training data. */ - Naive = "Naive", - /** The Seasonal Naive forecasting model makes predictions by carrying forward the latest season of target values for each time-series in the training data. */ - SeasonalNaive = "SeasonalNaive", - /** The Average forecasting model makes predictions by carrying forward the average of the target values for each time-series in the training data. */ - Average = "Average", - /** The Seasonal Average forecasting model makes predictions by carrying forward the average value of the latest season of data for each time-series in the training data. */ - SeasonalAverage = "SeasonalAverage", - /** Exponential smoothing is a time series forecasting method for univariate data that can be extended to support data with a systematic trend or seasonal component. */ - ExponentialSmoothing = "ExponentialSmoothing", - /** - * An Autoregressive Integrated Moving Average with Explanatory Variable (ARIMAX) model can be viewed as a multiple regression model with one or more autoregressive (AR) terms and/or one or more moving average (MA) terms. - * This method is suitable for forecasting when data is stationary/non stationary, and multivariate with any type of data pattern, i.e., level/trend /seasonality/cyclicity. - */ - Arimax = "Arimax", - /** TCNForecaster: Temporal Convolutional Networks Forecaster. //TODO: Ask forecasting team for brief intro. */ - TCNForecaster = "TCNForecaster", - /** Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. */ - ElasticNet = "ElasticNet", - /** The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. */ - GradientBoosting = "GradientBoosting", - /** - * Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. - * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. - */ - DecisionTree = "DecisionTree", - /** - * K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints - * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. - */ - KNN = "KNN", - /** Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. */ - LassoLars = "LassoLars", - /** - * SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications - * to find the model parameters that correspond to the best fit between predicted and actual outputs. - * It's an inexact but powerful technique. - */ - SGD = "SGD", - /** - * Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. - * The general idea of the bagging method is that a combination of learning models increases the overall result. - */ - RandomForest = "RandomForest", - /** Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. */ - ExtremeRandomTrees = "ExtremeRandomTrees", - /** LightGBM is a gradient boosting framework that uses tree based learning algorithms. */ - LightGBM = "LightGBM", - /** XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. */ - XGBoostRegressor = "XGBoostRegressor" +/** Known values of {@link ComputeInstanceAuthorizationType} that the service accepts. */ +export enum KnownComputeInstanceAuthorizationType { + /** Personal */ + Personal = "personal", } /** - * Defines values for ForecastingModels. \ - * {@link KnownForecastingModels} can be used interchangeably with ForecastingModels, + * Defines values for ComputeInstanceAuthorizationType. \ + * {@link KnownComputeInstanceAuthorizationType} can be used interchangeably with ComputeInstanceAuthorizationType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AutoArima**: Auto-Autoregressive Integrated Moving Average (ARIMA) model uses time-series data and statistical analysis to interpret the data and make future predictions. - * This model aims to explain data by using time series data on its past values and uses linear regression to make predictions. \ - * **Prophet**: Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. - * It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well. \ - * **Naive**: The Naive forecasting model makes predictions by carrying forward the latest target value for each time-series in the training data. \ - * **SeasonalNaive**: The Seasonal Naive forecasting model makes predictions by carrying forward the latest season of target values for each time-series in the training data. \ - * **Average**: The Average forecasting model makes predictions by carrying forward the average of the target values for each time-series in the training data. \ - * **SeasonalAverage**: The Seasonal Average forecasting model makes predictions by carrying forward the average value of the latest season of data for each time-series in the training data. \ - * **ExponentialSmoothing**: Exponential smoothing is a time series forecasting method for univariate data that can be extended to support data with a systematic trend or seasonal component. \ - * **Arimax**: An Autoregressive Integrated Moving Average with Explanatory Variable (ARIMAX) model can be viewed as a multiple regression model with one or more autoregressive (AR) terms and\/or one or more moving average (MA) terms. - * This method is suitable for forecasting when data is stationary\/non stationary, and multivariate with any type of data pattern, i.e., level\/trend \/seasonality\/cyclicity. \ - * **TCNForecaster**: TCNForecaster: Temporal Convolutional Networks Forecaster. \/\/TODO: Ask forecasting team for brief intro. \ - * **ElasticNet**: Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. \ - * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ - * **DecisionTree**: Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. - * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. \ - * **KNN**: K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints - * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. \ - * **LassoLars**: Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. \ - * **SGD**: SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications - * to find the model parameters that correspond to the best fit between predicted and actual outputs. - * It's an inexact but powerful technique. \ - * **RandomForest**: Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. - * The general idea of the bagging method is that a combination of learning models increases the overall result. \ - * **ExtremeRandomTrees**: Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. \ - * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ - * **XGBoostRegressor**: XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. + * **personal** */ -export type ForecastingModels = string; - -/** Known values of {@link LearningRateScheduler} that the service accepts. */ -export enum KnownLearningRateScheduler { - /** No learning rate scheduler selected. */ - None = "None", - /** Cosine Annealing With Warmup. */ - WarmupCosine = "WarmupCosine", - /** Step learning rate scheduler. */ - Step = "Step" -} +export type ComputeInstanceAuthorizationType = string; -/** - * Defines values for LearningRateScheduler. \ - * {@link KnownLearningRateScheduler} can be used interchangeably with LearningRateScheduler, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **None**: No learning rate scheduler selected. \ - * **WarmupCosine**: Cosine Annealing With Warmup. \ - * **Step**: Step learning rate scheduler. - */ -export type LearningRateScheduler = string; +/** Known values of {@link OperationName} that the service accepts. */ +export enum KnownOperationName { + /** Create */ + Create = "Create", + /** Start */ + Start = "Start", + /** Stop */ + Stop = "Stop", + /** Restart */ + Restart = "Restart", + /** Reimage */ + Reimage = "Reimage", + /** Delete */ + Delete = "Delete", +} -/** Known values of {@link StochasticOptimizer} that the service accepts. */ -export enum KnownStochasticOptimizer { - /** No optimizer selected. */ - None = "None", - /** Stochastic Gradient Descent optimizer. */ - Sgd = "Sgd", - /** Adam is algorithm the optimizes stochastic objective functions based on adaptive estimates of moments */ - Adam = "Adam", - /** AdamW is a variant of the optimizer Adam that has an improved implementation of weight decay. */ - Adamw = "Adamw" +/** + * Defines values for OperationName. \ + * {@link KnownOperationName} can be used interchangeably with OperationName, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Create** \ + * **Start** \ + * **Stop** \ + * **Restart** \ + * **Reimage** \ + * **Delete** + */ +export type OperationName = string; + +/** Known values of {@link OperationStatus} that the service accepts. */ +export enum KnownOperationStatus { + /** InProgress */ + InProgress = "InProgress", + /** Succeeded */ + Succeeded = "Succeeded", + /** CreateFailed */ + CreateFailed = "CreateFailed", + /** StartFailed */ + StartFailed = "StartFailed", + /** StopFailed */ + StopFailed = "StopFailed", + /** RestartFailed */ + RestartFailed = "RestartFailed", + /** ReimageFailed */ + ReimageFailed = "ReimageFailed", + /** DeleteFailed */ + DeleteFailed = "DeleteFailed", } /** - * Defines values for StochasticOptimizer. \ - * {@link KnownStochasticOptimizer} can be used interchangeably with StochasticOptimizer, + * Defines values for OperationStatus. \ + * {@link KnownOperationStatus} can be used interchangeably with OperationStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None**: No optimizer selected. \ - * **Sgd**: Stochastic Gradient Descent optimizer. \ - * **Adam**: Adam is algorithm the optimizes stochastic objective functions based on adaptive estimates of moments \ - * **Adamw**: AdamW is a variant of the optimizer Adam that has an improved implementation of weight decay. + * **InProgress** \ + * **Succeeded** \ + * **CreateFailed** \ + * **StartFailed** \ + * **StopFailed** \ + * **RestartFailed** \ + * **ReimageFailed** \ + * **DeleteFailed** */ -export type StochasticOptimizer = string; +export type OperationStatus = string; -/** Known values of {@link ClassificationMultilabelPrimaryMetrics} that the service accepts. */ -export enum KnownClassificationMultilabelPrimaryMetrics { - /** - * AUC is the Area under the curve. - * This metric represents arithmetic mean of the score for each class, - * weighted by the number of true instances in each class. - */ - AUCWeighted = "AUCWeighted", - /** Accuracy is the ratio of predictions that exactly match the true class labels. */ - Accuracy = "Accuracy", - /** - * Normalized macro recall is recall macro-averaged and normalized, so that random - * performance has a score of 0, and perfect performance has a score of 1. - */ - NormMacroRecall = "NormMacroRecall", - /** - * The arithmetic mean of the average precision score for each class, weighted by - * the number of true instances in each class. - */ - AveragePrecisionScoreWeighted = "AveragePrecisionScoreWeighted", - /** The arithmetic mean of precision for each class, weighted by number of true instances in each class. */ - PrecisionScoreWeighted = "PrecisionScoreWeighted", - /** Intersection Over Union. Intersection of predictions divided by union of predictions. */ - IOU = "IOU" +/** Known values of {@link OperationTrigger} that the service accepts. */ +export enum KnownOperationTrigger { + /** User */ + User = "User", + /** Schedule */ + Schedule = "Schedule", + /** IdleShutdown */ + IdleShutdown = "IdleShutdown", } /** - * Defines values for ClassificationMultilabelPrimaryMetrics. \ - * {@link KnownClassificationMultilabelPrimaryMetrics} can be used interchangeably with ClassificationMultilabelPrimaryMetrics, + * Defines values for OperationTrigger. \ + * {@link KnownOperationTrigger} can be used interchangeably with OperationTrigger, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AUCWeighted**: AUC is the Area under the curve. - * This metric represents arithmetic mean of the score for each class, - * weighted by the number of true instances in each class. \ - * **Accuracy**: Accuracy is the ratio of predictions that exactly match the true class labels. \ - * **NormMacroRecall**: Normalized macro recall is recall macro-averaged and normalized, so that random - * performance has a score of 0, and perfect performance has a score of 1. \ - * **AveragePrecisionScoreWeighted**: The arithmetic mean of the average precision score for each class, weighted by - * the number of true instances in each class. \ - * **PrecisionScoreWeighted**: The arithmetic mean of precision for each class, weighted by number of true instances in each class. \ - * **IOU**: Intersection Over Union. Intersection of predictions divided by union of predictions. + * **User** \ + * **Schedule** \ + * **IdleShutdown** */ -export type ClassificationMultilabelPrimaryMetrics = string; +export type OperationTrigger = string; -/** Known values of {@link InstanceSegmentationPrimaryMetrics} that the service accepts. */ -export enum KnownInstanceSegmentationPrimaryMetrics { - /** - * Mean Average Precision (MAP) is the average of AP (Average Precision). - * AP is calculated for each class and averaged to get the MAP. - */ - MeanAveragePrecision = "MeanAveragePrecision" +/** Known values of {@link ProvisioningStatus} that the service accepts. */ +export enum KnownProvisioningStatus { + /** Completed */ + Completed = "Completed", + /** Provisioning */ + Provisioning = "Provisioning", + /** Failed */ + Failed = "Failed", } /** - * Defines values for InstanceSegmentationPrimaryMetrics. \ - * {@link KnownInstanceSegmentationPrimaryMetrics} can be used interchangeably with InstanceSegmentationPrimaryMetrics, + * Defines values for ProvisioningStatus. \ + * {@link KnownProvisioningStatus} can be used interchangeably with ProvisioningStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **MeanAveragePrecision**: Mean Average Precision (MAP) is the average of AP (Average Precision). - * AP is calculated for each class and averaged to get the MAP. + * **Completed** \ + * **Provisioning** \ + * **Failed** */ -export type InstanceSegmentationPrimaryMetrics = string; +export type ProvisioningStatus = string; -/** Known values of {@link ModelSize} that the service accepts. */ -export enum KnownModelSize { - /** No value selected. */ - None = "None", - /** Small size. */ - Small = "Small", - /** Medium size. */ - Medium = "Medium", - /** Large size. */ - Large = "Large", - /** Extra large size. */ - ExtraLarge = "ExtraLarge" +/** Known values of {@link ScheduleStatus} that the service accepts. */ +export enum KnownScheduleStatus { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for ModelSize. \ - * {@link KnownModelSize} can be used interchangeably with ModelSize, + * Defines values for ScheduleStatus. \ + * {@link KnownScheduleStatus} can be used interchangeably with ScheduleStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None**: No value selected. \ - * **Small**: Small size. \ - * **Medium**: Medium size. \ - * **Large**: Large size. \ - * **ExtraLarge**: Extra large size. + * **Enabled** \ + * **Disabled** */ -export type ModelSize = string; +export type ScheduleStatus = string; -/** Known values of {@link ValidationMetricType} that the service accepts. */ -export enum KnownValidationMetricType { - /** No metric. */ - None = "None", - /** Coco metric. */ - Coco = "Coco", - /** Voc metric. */ - Voc = "Voc", - /** CocoVoc metric. */ - CocoVoc = "CocoVoc" +/** Known values of {@link ComputePowerAction} that the service accepts. */ +export enum KnownComputePowerAction { + /** Start */ + Start = "Start", + /** Stop */ + Stop = "Stop", } /** - * Defines values for ValidationMetricType. \ - * {@link KnownValidationMetricType} can be used interchangeably with ValidationMetricType, + * Defines values for ComputePowerAction. \ + * {@link KnownComputePowerAction} can be used interchangeably with ComputePowerAction, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None**: No metric. \ - * **Coco**: Coco metric. \ - * **Voc**: Voc metric. \ - * **CocoVoc**: CocoVoc metric. + * **Start** \ + * **Stop** */ -export type ValidationMetricType = string; +export type ComputePowerAction = string; -/** Known values of {@link ObjectDetectionPrimaryMetrics} that the service accepts. */ -export enum KnownObjectDetectionPrimaryMetrics { - /** - * Mean Average Precision (MAP) is the average of AP (Average Precision). - * AP is calculated for each class and averaged to get the MAP. - */ - MeanAveragePrecision = "MeanAveragePrecision" +/** Known values of {@link ComputeTriggerType} that the service accepts. */ +export enum KnownComputeTriggerType { + /** Recurrence */ + Recurrence = "Recurrence", + /** Cron */ + Cron = "Cron", +} + +/** + * Defines values for ComputeTriggerType. \ + * {@link KnownComputeTriggerType} can be used interchangeably with ComputeTriggerType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Recurrence** \ + * **Cron** + */ +export type ComputeTriggerType = string; + +/** Known values of {@link ComputeRecurrenceFrequency} that the service accepts. */ +export enum KnownComputeRecurrenceFrequency { + /** Minute frequency */ + Minute = "Minute", + /** Hour frequency */ + Hour = "Hour", + /** Day frequency */ + Day = "Day", + /** Week frequency */ + Week = "Week", + /** Month frequency */ + Month = "Month", +} + +/** + * Defines values for ComputeRecurrenceFrequency. \ + * {@link KnownComputeRecurrenceFrequency} can be used interchangeably with ComputeRecurrenceFrequency, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Minute**: Minute frequency \ + * **Hour**: Hour frequency \ + * **Day**: Day frequency \ + * **Week**: Week frequency \ + * **Month**: Month frequency + */ +export type ComputeRecurrenceFrequency = string; + +/** Known values of {@link ComputeWeekDay} that the service accepts. */ +export enum KnownComputeWeekDay { + /** Monday weekday */ + Monday = "Monday", + /** Tuesday weekday */ + Tuesday = "Tuesday", + /** Wednesday weekday */ + Wednesday = "Wednesday", + /** Thursday weekday */ + Thursday = "Thursday", + /** Friday weekday */ + Friday = "Friday", + /** Saturday weekday */ + Saturday = "Saturday", + /** Sunday weekday */ + Sunday = "Sunday", +} + +/** + * Defines values for ComputeWeekDay. \ + * {@link KnownComputeWeekDay} can be used interchangeably with ComputeWeekDay, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Monday**: Monday weekday \ + * **Tuesday**: Tuesday weekday \ + * **Wednesday**: Wednesday weekday \ + * **Thursday**: Thursday weekday \ + * **Friday**: Friday weekday \ + * **Saturday**: Saturday weekday \ + * **Sunday**: Sunday weekday + */ +export type ComputeWeekDay = string; + +/** Known values of {@link ScheduleProvisioningState} that the service accepts. */ +export enum KnownScheduleProvisioningState { + /** Completed */ + Completed = "Completed", + /** Provisioning */ + Provisioning = "Provisioning", + /** Failed */ + Failed = "Failed", +} + +/** + * Defines values for ScheduleProvisioningState. \ + * {@link KnownScheduleProvisioningState} can be used interchangeably with ScheduleProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Completed** \ + * **Provisioning** \ + * **Failed** + */ +export type ScheduleProvisioningState = string; + +/** Known values of {@link Autosave} that the service accepts. */ +export enum KnownAutosave { + /** None */ + None = "None", + /** Local */ + Local = "Local", + /** Remote */ + Remote = "Remote", +} + +/** + * Defines values for Autosave. \ + * {@link KnownAutosave} can be used interchangeably with Autosave, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **Local** \ + * **Remote** + */ +export type Autosave = string; + +/** Known values of {@link Network} that the service accepts. */ +export enum KnownNetwork { + /** Bridge */ + Bridge = "Bridge", + /** Host */ + Host = "Host", +} + +/** + * Defines values for Network. \ + * {@link KnownNetwork} can be used interchangeably with Network, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Bridge** \ + * **Host** + */ +export type Network = string; + +/** Known values of {@link Caching} that the service accepts. */ +export enum KnownCaching { + /** None */ + None = "None", + /** ReadOnly */ + ReadOnly = "ReadOnly", + /** ReadWrite */ + ReadWrite = "ReadWrite", +} + +/** + * Defines values for Caching. \ + * {@link KnownCaching} can be used interchangeably with Caching, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **ReadOnly** \ + * **ReadWrite** + */ +export type Caching = string; + +/** Known values of {@link StorageAccountType} that the service accepts. */ +export enum KnownStorageAccountType { + /** StandardLRS */ + StandardLRS = "Standard_LRS", + /** PremiumLRS */ + PremiumLRS = "Premium_LRS", +} + +/** + * Defines values for StorageAccountType. \ + * {@link KnownStorageAccountType} can be used interchangeably with StorageAccountType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Standard_LRS** \ + * **Premium_LRS** + */ +export type StorageAccountType = string; + +/** Known values of {@link SourceType} that the service accepts. */ +export enum KnownSourceType { + /** Dataset */ + Dataset = "Dataset", + /** Datastore */ + Datastore = "Datastore", + /** URI */ + URI = "URI", +} + +/** + * Defines values for SourceType. \ + * {@link KnownSourceType} can be used interchangeably with SourceType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Dataset** \ + * **Datastore** \ + * **URI** + */ +export type SourceType = string; + +/** Known values of {@link MountAction} that the service accepts. */ +export enum KnownMountAction { + /** Mount */ + Mount = "Mount", + /** Unmount */ + Unmount = "Unmount", +} + +/** + * Defines values for MountAction. \ + * {@link KnownMountAction} can be used interchangeably with MountAction, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Mount** \ + * **Unmount** + */ +export type MountAction = string; + +/** Known values of {@link MountState} that the service accepts. */ +export enum KnownMountState { + /** MountRequested */ + MountRequested = "MountRequested", + /** Mounted */ + Mounted = "Mounted", + /** MountFailed */ + MountFailed = "MountFailed", + /** UnmountRequested */ + UnmountRequested = "UnmountRequested", + /** UnmountFailed */ + UnmountFailed = "UnmountFailed", + /** Unmounted */ + Unmounted = "Unmounted", +} + +/** + * Defines values for MountState. \ + * {@link KnownMountState} can be used interchangeably with MountState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **MountRequested** \ + * **Mounted** \ + * **MountFailed** \ + * **UnmountRequested** \ + * **UnmountFailed** \ + * **Unmounted** + */ +export type MountState = string; + +/** Known values of {@link RuleAction} that the service accepts. */ +export enum KnownRuleAction { + /** Allow */ + Allow = "Allow", + /** Deny */ + Deny = "Deny", +} + +/** + * Defines values for RuleAction. \ + * {@link KnownRuleAction} can be used interchangeably with RuleAction, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Allow** \ + * **Deny** + */ +export type RuleAction = string; + +/** Known values of {@link MonitoringFeatureFilterType} that the service accepts. */ +export enum KnownMonitoringFeatureFilterType { + /** Includes all features. */ + AllFeatures = "AllFeatures", + /** Only includes the top contributing features, measured by feature attribution. */ + TopNByAttribution = "TopNByAttribution", + /** Includes a user-defined subset of features. */ + FeatureSubset = "FeatureSubset", +} + +/** + * Defines values for MonitoringFeatureFilterType. \ + * {@link KnownMonitoringFeatureFilterType} can be used interchangeably with MonitoringFeatureFilterType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AllFeatures**: Includes all features. \ + * **TopNByAttribution**: Only includes the top contributing features, measured by feature attribution. \ + * **FeatureSubset**: Includes a user-defined subset of features. + */ +export type MonitoringFeatureFilterType = string; + +/** Known values of {@link MonitorComputeIdentityType} that the service accepts. */ +export enum KnownMonitorComputeIdentityType { + /** Authenticates through user's AML token. */ + AmlToken = "AmlToken", + /** Authenticates through a user-provided managed identity. */ + ManagedIdentity = "ManagedIdentity", +} + +/** + * Defines values for MonitorComputeIdentityType. \ + * {@link KnownMonitorComputeIdentityType} can be used interchangeably with MonitorComputeIdentityType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AmlToken**: Authenticates through user's AML token. \ + * **ManagedIdentity**: Authenticates through a user-provided managed identity. + */ +export type MonitorComputeIdentityType = string; + +/** Known values of {@link InputDeliveryMode} that the service accepts. */ +export enum KnownInputDeliveryMode { + /** ReadOnlyMount */ + ReadOnlyMount = "ReadOnlyMount", + /** ReadWriteMount */ + ReadWriteMount = "ReadWriteMount", + /** Download */ + Download = "Download", + /** Direct */ + Direct = "Direct", + /** EvalMount */ + EvalMount = "EvalMount", + /** EvalDownload */ + EvalDownload = "EvalDownload", +} + +/** + * Defines values for InputDeliveryMode. \ + * {@link KnownInputDeliveryMode} can be used interchangeably with InputDeliveryMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **ReadOnlyMount** \ + * **ReadWriteMount** \ + * **Download** \ + * **Direct** \ + * **EvalMount** \ + * **EvalDownload** + */ +export type InputDeliveryMode = string; + +/** Known values of {@link OutputDeliveryMode} that the service accepts. */ +export enum KnownOutputDeliveryMode { + /** ReadWriteMount */ + ReadWriteMount = "ReadWriteMount", + /** Upload */ + Upload = "Upload", + /** Direct */ + Direct = "Direct", +} + +/** + * Defines values for OutputDeliveryMode. \ + * {@link KnownOutputDeliveryMode} can be used interchangeably with OutputDeliveryMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **ReadWriteMount** \ + * **Upload** \ + * **Direct** + */ +export type OutputDeliveryMode = string; + +/** Known values of {@link ForecastHorizonMode} that the service accepts. */ +export enum KnownForecastHorizonMode { + /** Forecast horizon to be determined automatically. */ + Auto = "Auto", + /** Use the custom forecast horizon. */ + Custom = "Custom", +} + +/** + * Defines values for ForecastHorizonMode. \ + * {@link KnownForecastHorizonMode} can be used interchangeably with ForecastHorizonMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Auto**: Forecast horizon to be determined automatically. \ + * **Custom**: Use the custom forecast horizon. + */ +export type ForecastHorizonMode = string; + +/** Known values of {@link JobOutputType} that the service accepts. */ +export enum KnownJobOutputType { + /** UriFile */ + UriFile = "uri_file", + /** UriFolder */ + UriFolder = "uri_folder", + /** Mltable */ + Mltable = "mltable", + /** CustomModel */ + CustomModel = "custom_model", + /** MlflowModel */ + MlflowModel = "mlflow_model", + /** TritonModel */ + TritonModel = "triton_model", +} + +/** + * Defines values for JobOutputType. \ + * {@link KnownJobOutputType} can be used interchangeably with JobOutputType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **uri_file** \ + * **uri_folder** \ + * **mltable** \ + * **custom_model** \ + * **mlflow_model** \ + * **triton_model** + */ +export type JobOutputType = string; + +/** Known values of {@link JobTier} that the service accepts. */ +export enum KnownJobTier { + /** Null */ + Null = "Null", + /** Spot */ + Spot = "Spot", + /** Basic */ + Basic = "Basic", + /** Standard */ + Standard = "Standard", + /** Premium */ + Premium = "Premium", +} + +/** + * Defines values for JobTier. \ + * {@link KnownJobTier} can be used interchangeably with JobTier, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Null** \ + * **Spot** \ + * **Basic** \ + * **Standard** \ + * **Premium** + */ +export type JobTier = string; + +/** Known values of {@link LogVerbosity} that the service accepts. */ +export enum KnownLogVerbosity { + /** No logs emitted. */ + NotSet = "NotSet", + /** Debug and above log statements logged. */ + Debug = "Debug", + /** Info and above log statements logged. */ + Info = "Info", + /** Warning and above log statements logged. */ + Warning = "Warning", + /** Error and above log statements logged. */ + Error = "Error", + /** Only critical statements logged. */ + Critical = "Critical", +} + +/** + * Defines values for LogVerbosity. \ + * {@link KnownLogVerbosity} can be used interchangeably with LogVerbosity, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **NotSet**: No logs emitted. \ + * **Debug**: Debug and above log statements logged. \ + * **Info**: Info and above log statements logged. \ + * **Warning**: Warning and above log statements logged. \ + * **Error**: Error and above log statements logged. \ + * **Critical**: Only critical statements logged. + */ +export type LogVerbosity = string; + +/** Known values of {@link TaskType} that the service accepts. */ +export enum KnownTaskType { + /** + * Classification in machine learning and statistics is a supervised learning approach in which + * the computer program learns from the data given to it and make new observations or classifications. + */ + Classification = "Classification", + /** Regression means to predict the value using the input data. Regression models are used to predict a continuous value. */ + Regression = "Regression", + /** + * Forecasting is a special kind of regression task that deals with time-series data and creates forecasting model + * that can be used to predict the near future values based on the inputs. + */ + Forecasting = "Forecasting", + /** + * Image Classification. Multi-class image classification is used when an image is classified with only a single label + * from a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'. + */ + ImageClassification = "ImageClassification", + /** + * Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels + * from a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'. + */ + ImageClassificationMultilabel = "ImageClassificationMultilabel", + /** + * Image Object Detection. Object detection is used to identify objects in an image and locate each object with a + * bounding box e.g. locate all dogs and cats in an image and draw a bounding box around each. + */ + ImageObjectDetection = "ImageObjectDetection", + /** + * Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level, + * drawing a polygon around each object in the image. + */ + ImageInstanceSegmentation = "ImageInstanceSegmentation", + /** + * Text classification (also known as text tagging or text categorization) is the process of sorting texts into categories. + * Categories are mutually exclusive. + */ + TextClassification = "TextClassification", + /** Multilabel classification task assigns each sample to a group (zero or more) of target labels. */ + TextClassificationMultilabel = "TextClassificationMultilabel", + /** + * Text Named Entity Recognition a.k.a. TextNER. + * Named Entity Recognition (NER) is the ability to take free-form text and identify the occurrences of entities such as people, locations, organizations, and more. + */ + TextNER = "TextNER", +} + +/** + * Defines values for TaskType. \ + * {@link KnownTaskType} can be used interchangeably with TaskType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Classification**: Classification in machine learning and statistics is a supervised learning approach in which + * the computer program learns from the data given to it and make new observations or classifications. \ + * **Regression**: Regression means to predict the value using the input data. Regression models are used to predict a continuous value. \ + * **Forecasting**: Forecasting is a special kind of regression task that deals with time-series data and creates forecasting model + * that can be used to predict the near future values based on the inputs. \ + * **ImageClassification**: Image Classification. Multi-class image classification is used when an image is classified with only a single label + * from a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'. \ + * **ImageClassificationMultilabel**: Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels + * from a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'. \ + * **ImageObjectDetection**: Image Object Detection. Object detection is used to identify objects in an image and locate each object with a + * bounding box e.g. locate all dogs and cats in an image and draw a bounding box around each. \ + * **ImageInstanceSegmentation**: Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level, + * drawing a polygon around each object in the image. \ + * **TextClassification**: Text classification (also known as text tagging or text categorization) is the process of sorting texts into categories. + * Categories are mutually exclusive. \ + * **TextClassificationMultilabel**: Multilabel classification task assigns each sample to a group (zero or more) of target labels. \ + * **TextNER**: Text Named Entity Recognition a.k.a. TextNER. + * Named Entity Recognition (NER) is the ability to take free-form text and identify the occurrences of entities such as people, locations, organizations, and more. + */ +export type TaskType = string; + +/** Known values of {@link JobInputType} that the service accepts. */ +export enum KnownJobInputType { + /** Literal */ + Literal = "literal", + /** UriFile */ + UriFile = "uri_file", + /** UriFolder */ + UriFolder = "uri_folder", + /** Mltable */ + Mltable = "mltable", + /** CustomModel */ + CustomModel = "custom_model", + /** MlflowModel */ + MlflowModel = "mlflow_model", + /** TritonModel */ + TritonModel = "triton_model", +} + +/** + * Defines values for JobInputType. \ + * {@link KnownJobInputType} can be used interchangeably with JobInputType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **literal** \ + * **uri_file** \ + * **uri_folder** \ + * **mltable** \ + * **custom_model** \ + * **mlflow_model** \ + * **triton_model** + */ +export type JobInputType = string; + +/** Known values of {@link NCrossValidationsMode} that the service accepts. */ +export enum KnownNCrossValidationsMode { + /** Determine N-Cross validations value automatically. Supported only for 'Forecasting' AutoML task. */ + Auto = "Auto", + /** Use custom N-Cross validations value. */ + Custom = "Custom", +} + +/** + * Defines values for NCrossValidationsMode. \ + * {@link KnownNCrossValidationsMode} can be used interchangeably with NCrossValidationsMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Auto**: Determine N-Cross validations value automatically. Supported only for 'Forecasting' AutoML task. \ + * **Custom**: Use custom N-Cross validations value. + */ +export type NCrossValidationsMode = string; + +/** Known values of {@link SeasonalityMode} that the service accepts. */ +export enum KnownSeasonalityMode { + /** Seasonality to be determined automatically. */ + Auto = "Auto", + /** Use the custom seasonality value. */ + Custom = "Custom", +} + +/** + * Defines values for SeasonalityMode. \ + * {@link KnownSeasonalityMode} can be used interchangeably with SeasonalityMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Auto**: Seasonality to be determined automatically. \ + * **Custom**: Use the custom seasonality value. + */ +export type SeasonalityMode = string; + +/** Known values of {@link TargetLagsMode} that the service accepts. */ +export enum KnownTargetLagsMode { + /** Target lags to be determined automatically. */ + Auto = "Auto", + /** Use the custom target lags. */ + Custom = "Custom", +} + +/** + * Defines values for TargetLagsMode. \ + * {@link KnownTargetLagsMode} can be used interchangeably with TargetLagsMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Auto**: Target lags to be determined automatically. \ + * **Custom**: Use the custom target lags. + */ +export type TargetLagsMode = string; + +/** Known values of {@link TargetRollingWindowSizeMode} that the service accepts. */ +export enum KnownTargetRollingWindowSizeMode { + /** Determine rolling windows size automatically. */ + Auto = "Auto", + /** Use the specified rolling window size. */ + Custom = "Custom", +} + +/** + * Defines values for TargetRollingWindowSizeMode. \ + * {@link KnownTargetRollingWindowSizeMode} can be used interchangeably with TargetRollingWindowSizeMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Auto**: Determine rolling windows size automatically. \ + * **Custom**: Use the specified rolling window size. + */ +export type TargetRollingWindowSizeMode = string; + +/** Known values of {@link ServiceDataAccessAuthIdentity} that the service accepts. */ +export enum KnownServiceDataAccessAuthIdentity { + /** Do not use any identity for service data access. */ + None = "None", + /** Use the system assigned managed identity of the Workspace to authenticate service data access. */ + WorkspaceSystemAssignedIdentity = "WorkspaceSystemAssignedIdentity", + /** Use the user assigned managed identity of the Workspace to authenticate service data access. */ + WorkspaceUserAssignedIdentity = "WorkspaceUserAssignedIdentity", +} + +/** + * Defines values for ServiceDataAccessAuthIdentity. \ + * {@link KnownServiceDataAccessAuthIdentity} can be used interchangeably with ServiceDataAccessAuthIdentity, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None**: Do not use any identity for service data access. \ + * **WorkspaceSystemAssignedIdentity**: Use the system assigned managed identity of the Workspace to authenticate service data access. \ + * **WorkspaceUserAssignedIdentity**: Use the user assigned managed identity of the Workspace to authenticate service data access. + */ +export type ServiceDataAccessAuthIdentity = string; + +/** Known values of {@link EarlyTerminationPolicyType} that the service accepts. */ +export enum KnownEarlyTerminationPolicyType { + /** Bandit */ + Bandit = "Bandit", + /** MedianStopping */ + MedianStopping = "MedianStopping", + /** TruncationSelection */ + TruncationSelection = "TruncationSelection", +} + +/** + * Defines values for EarlyTerminationPolicyType. \ + * {@link KnownEarlyTerminationPolicyType} can be used interchangeably with EarlyTerminationPolicyType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Bandit** \ + * **MedianStopping** \ + * **TruncationSelection** + */ +export type EarlyTerminationPolicyType = string; + +/** Known values of {@link SamplingAlgorithmType} that the service accepts. */ +export enum KnownSamplingAlgorithmType { + /** Grid */ + Grid = "Grid", + /** Random */ + Random = "Random", + /** Bayesian */ + Bayesian = "Bayesian", +} + +/** + * Defines values for SamplingAlgorithmType. \ + * {@link KnownSamplingAlgorithmType} can be used interchangeably with SamplingAlgorithmType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Grid** \ + * **Random** \ + * **Bayesian** + */ +export type SamplingAlgorithmType = string; + +/** Known values of {@link CategoricalDataDriftMetric} that the service accepts. */ +export enum KnownCategoricalDataDriftMetric { + /** The Jensen Shannon Distance (JSD) metric. */ + JensenShannonDistance = "JensenShannonDistance", + /** The Population Stability Index (PSI) metric. */ + PopulationStabilityIndex = "PopulationStabilityIndex", + /** The Pearsons Chi Squared Test metric. */ + PearsonsChiSquaredTest = "PearsonsChiSquaredTest", +} + +/** + * Defines values for CategoricalDataDriftMetric. \ + * {@link KnownCategoricalDataDriftMetric} can be used interchangeably with CategoricalDataDriftMetric, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ + * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ + * **PearsonsChiSquaredTest**: The Pearsons Chi Squared Test metric. + */ +export type CategoricalDataDriftMetric = string; + +/** Known values of {@link MonitoringFeatureDataType} that the service accepts. */ +export enum KnownMonitoringFeatureDataType { + /** Used for features of numerical data type. */ + Numerical = "Numerical", + /** Used for features of categorical data type. */ + Categorical = "Categorical", +} + +/** + * Defines values for MonitoringFeatureDataType. \ + * {@link KnownMonitoringFeatureDataType} can be used interchangeably with MonitoringFeatureDataType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Numerical**: Used for features of numerical data type. \ + * **Categorical**: Used for features of categorical data type. + */ +export type MonitoringFeatureDataType = string; + +/** Known values of {@link CategoricalDataQualityMetric} that the service accepts. */ +export enum KnownCategoricalDataQualityMetric { + /** Calculates the rate of null values. */ + NullValueRate = "NullValueRate", + /** Calculates the rate of data type errors. */ + DataTypeErrorRate = "DataTypeErrorRate", + /** Calculates the rate values are out of bounds. */ + OutOfBoundsRate = "OutOfBoundsRate", +} + +/** + * Defines values for CategoricalDataQualityMetric. \ + * {@link KnownCategoricalDataQualityMetric} can be used interchangeably with CategoricalDataQualityMetric, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **NullValueRate**: Calculates the rate of null values. \ + * **DataTypeErrorRate**: Calculates the rate of data type errors. \ + * **OutOfBoundsRate**: Calculates the rate values are out of bounds. + */ +export type CategoricalDataQualityMetric = string; + +/** Known values of {@link CategoricalPredictionDriftMetric} that the service accepts. */ +export enum KnownCategoricalPredictionDriftMetric { + /** The Jensen Shannon Distance (JSD) metric. */ + JensenShannonDistance = "JensenShannonDistance", + /** The Population Stability Index (PSI) metric. */ + PopulationStabilityIndex = "PopulationStabilityIndex", + /** The Pearsons Chi Squared Test metric. */ + PearsonsChiSquaredTest = "PearsonsChiSquaredTest", +} + +/** + * Defines values for CategoricalPredictionDriftMetric. \ + * {@link KnownCategoricalPredictionDriftMetric} can be used interchangeably with CategoricalPredictionDriftMetric, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ + * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ + * **PearsonsChiSquaredTest**: The Pearsons Chi Squared Test metric. + */ +export type CategoricalPredictionDriftMetric = string; + +/** Known values of {@link ClassificationPrimaryMetrics} that the service accepts. */ +export enum KnownClassificationPrimaryMetrics { + /** + * AUC is the Area under the curve. + * This metric represents arithmetic mean of the score for each class, + * weighted by the number of true instances in each class. + */ + AUCWeighted = "AUCWeighted", + /** Accuracy is the ratio of predictions that exactly match the true class labels. */ + Accuracy = "Accuracy", + /** + * Normalized macro recall is recall macro-averaged and normalized, so that random + * performance has a score of 0, and perfect performance has a score of 1. + */ + NormMacroRecall = "NormMacroRecall", + /** + * The arithmetic mean of the average precision score for each class, weighted by + * the number of true instances in each class. + */ + AveragePrecisionScoreWeighted = "AveragePrecisionScoreWeighted", + /** The arithmetic mean of precision for each class, weighted by number of true instances in each class. */ + PrecisionScoreWeighted = "PrecisionScoreWeighted", +} + +/** + * Defines values for ClassificationPrimaryMetrics. \ + * {@link KnownClassificationPrimaryMetrics} can be used interchangeably with ClassificationPrimaryMetrics, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AUCWeighted**: AUC is the Area under the curve. + * This metric represents arithmetic mean of the score for each class, + * weighted by the number of true instances in each class. \ + * **Accuracy**: Accuracy is the ratio of predictions that exactly match the true class labels. \ + * **NormMacroRecall**: Normalized macro recall is recall macro-averaged and normalized, so that random + * performance has a score of 0, and perfect performance has a score of 1. \ + * **AveragePrecisionScoreWeighted**: The arithmetic mean of the average precision score for each class, weighted by + * the number of true instances in each class. \ + * **PrecisionScoreWeighted**: The arithmetic mean of precision for each class, weighted by number of true instances in each class. + */ +export type ClassificationPrimaryMetrics = string; + +/** Known values of {@link ClassificationModels} that the service accepts. */ +export enum KnownClassificationModels { + /** + * Logistic regression is a fundamental classification technique. + * It belongs to the group of linear classifiers and is somewhat similar to polynomial and linear regression. + * Logistic regression is fast and relatively uncomplicated, and it's convenient for you to interpret the results. + * Although it's essentially a method for binary classification, it can also be applied to multiclass problems. + */ + LogisticRegression = "LogisticRegression", + /** + * SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications + * to find the model parameters that correspond to the best fit between predicted and actual outputs. + */ + SGD = "SGD", + /** + * The multinomial Naive Bayes classifier is suitable for classification with discrete features (e.g., word counts for text classification). + * The multinomial distribution normally requires integer feature counts. However, in practice, fractional counts such as tf-idf may also work. + */ + MultinomialNaiveBayes = "MultinomialNaiveBayes", + /** Naive Bayes classifier for multivariate Bernoulli models. */ + BernoulliNaiveBayes = "BernoulliNaiveBayes", + /** + * A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. + * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. + */ + SVM = "SVM", + /** + * A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. + * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. + * Linear SVM performs best when input data is linear, i.e., data can be easily classified by drawing the straight line between classified values on a plotted graph. + */ + LinearSVM = "LinearSVM", + /** + * K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints + * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. + */ + KNN = "KNN", + /** + * Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. + * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. + */ + DecisionTree = "DecisionTree", + /** + * Random forest is a supervised learning algorithm. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. + * The general idea of the bagging method is that a combination of learning models increases the overall result. + */ + RandomForest = "RandomForest", + /** Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. */ + ExtremeRandomTrees = "ExtremeRandomTrees", + /** LightGBM is a gradient boosting framework that uses tree based learning algorithms. */ + LightGBM = "LightGBM", + /** The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. */ + GradientBoosting = "GradientBoosting", + /** XGBoost: Extreme Gradient Boosting Algorithm. This algorithm is used for structured data where target column values can be divided into distinct class values. */ + XGBoostClassifier = "XGBoostClassifier", +} + +/** + * Defines values for ClassificationModels. \ + * {@link KnownClassificationModels} can be used interchangeably with ClassificationModels, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **LogisticRegression**: Logistic regression is a fundamental classification technique. + * It belongs to the group of linear classifiers and is somewhat similar to polynomial and linear regression. + * Logistic regression is fast and relatively uncomplicated, and it's convenient for you to interpret the results. + * Although it's essentially a method for binary classification, it can also be applied to multiclass problems. \ + * **SGD**: SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications + * to find the model parameters that correspond to the best fit between predicted and actual outputs. \ + * **MultinomialNaiveBayes**: The multinomial Naive Bayes classifier is suitable for classification with discrete features (e.g., word counts for text classification). + * The multinomial distribution normally requires integer feature counts. However, in practice, fractional counts such as tf-idf may also work. \ + * **BernoulliNaiveBayes**: Naive Bayes classifier for multivariate Bernoulli models. \ + * **SVM**: A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. + * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. \ + * **LinearSVM**: A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. + * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. + * Linear SVM performs best when input data is linear, i.e., data can be easily classified by drawing the straight line between classified values on a plotted graph. \ + * **KNN**: K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints + * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. \ + * **DecisionTree**: Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. + * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. \ + * **RandomForest**: Random forest is a supervised learning algorithm. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. + * The general idea of the bagging method is that a combination of learning models increases the overall result. \ + * **ExtremeRandomTrees**: Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. \ + * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ + * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ + * **XGBoostClassifier**: XGBoost: Extreme Gradient Boosting Algorithm. This algorithm is used for structured data where target column values can be divided into distinct class values. + */ +export type ClassificationModels = string; + +/** Known values of {@link StackMetaLearnerType} that the service accepts. */ +export enum KnownStackMetaLearnerType { + /** None */ + None = "None", + /** Default meta-learners are LogisticRegression for classification tasks. */ + LogisticRegression = "LogisticRegression", + /** Default meta-learners are LogisticRegression for classification task when CV is on. */ + LogisticRegressionCV = "LogisticRegressionCV", + /** LightGBMClassifier */ + LightGBMClassifier = "LightGBMClassifier", + /** Default meta-learners are LogisticRegression for regression task. */ + ElasticNet = "ElasticNet", + /** Default meta-learners are LogisticRegression for regression task when CV is on. */ + ElasticNetCV = "ElasticNetCV", + /** LightGBMRegressor */ + LightGBMRegressor = "LightGBMRegressor", + /** LinearRegression */ + LinearRegression = "LinearRegression", +} + +/** + * Defines values for StackMetaLearnerType. \ + * {@link KnownStackMetaLearnerType} can be used interchangeably with StackMetaLearnerType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **LogisticRegression**: Default meta-learners are LogisticRegression for classification tasks. \ + * **LogisticRegressionCV**: Default meta-learners are LogisticRegression for classification task when CV is on. \ + * **LightGBMClassifier** \ + * **ElasticNet**: Default meta-learners are LogisticRegression for regression task. \ + * **ElasticNetCV**: Default meta-learners are LogisticRegression for regression task when CV is on. \ + * **LightGBMRegressor** \ + * **LinearRegression** + */ +export type StackMetaLearnerType = string; + +/** Known values of {@link BlockedTransformers} that the service accepts. */ +export enum KnownBlockedTransformers { + /** Target encoding for text data. */ + TextTargetEncoder = "TextTargetEncoder", + /** Ohe hot encoding creates a binary feature transformation. */ + OneHotEncoder = "OneHotEncoder", + /** Target encoding for categorical data. */ + CatTargetEncoder = "CatTargetEncoder", + /** Tf-Idf stands for, term-frequency times inverse document-frequency. This is a common term weighting scheme for identifying information from documents. */ + TfIdf = "TfIdf", + /** Weight of Evidence encoding is a technique used to encode categorical variables. It uses the natural log of the P(1)\/P(0) to create weights. */ + WoETargetEncoder = "WoETargetEncoder", + /** Label encoder converts labels\/categorical variables in a numerical form. */ + LabelEncoder = "LabelEncoder", + /** Word embedding helps represents words or phrases as a vector, or a series of numbers. */ + WordEmbedding = "WordEmbedding", + /** Naive Bayes is a classified that is used for classification of discrete features that are categorically distributed. */ + NaiveBayes = "NaiveBayes", + /** Count Vectorizer converts a collection of text documents to a matrix of token counts. */ + CountVectorizer = "CountVectorizer", + /** Hashing One Hot Encoder can turn categorical variables into a limited number of new features. This is often used for high-cardinality categorical features. */ + HashOneHotEncoder = "HashOneHotEncoder", +} + +/** + * Defines values for BlockedTransformers. \ + * {@link KnownBlockedTransformers} can be used interchangeably with BlockedTransformers, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **TextTargetEncoder**: Target encoding for text data. \ + * **OneHotEncoder**: Ohe hot encoding creates a binary feature transformation. \ + * **CatTargetEncoder**: Target encoding for categorical data. \ + * **TfIdf**: Tf-Idf stands for, term-frequency times inverse document-frequency. This is a common term weighting scheme for identifying information from documents. \ + * **WoETargetEncoder**: Weight of Evidence encoding is a technique used to encode categorical variables. It uses the natural log of the P(1)\/P(0) to create weights. \ + * **LabelEncoder**: Label encoder converts labels\/categorical variables in a numerical form. \ + * **WordEmbedding**: Word embedding helps represents words or phrases as a vector, or a series of numbers. \ + * **NaiveBayes**: Naive Bayes is a classified that is used for classification of discrete features that are categorically distributed. \ + * **CountVectorizer**: Count Vectorizer converts a collection of text documents to a matrix of token counts. \ + * **HashOneHotEncoder**: Hashing One Hot Encoder can turn categorical variables into a limited number of new features. This is often used for high-cardinality categorical features. + */ +export type BlockedTransformers = string; + +/** Known values of {@link FeaturizationMode} that the service accepts. */ +export enum KnownFeaturizationMode { + /** Auto mode, system performs featurization without any custom featurization inputs. */ + Auto = "Auto", + /** Custom featurization. */ + Custom = "Custom", + /** Featurization off. 'Forecasting' task cannot use this value. */ + Off = "Off", +} + +/** + * Defines values for FeaturizationMode. \ + * {@link KnownFeaturizationMode} can be used interchangeably with FeaturizationMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Auto**: Auto mode, system performs featurization without any custom featurization inputs. \ + * **Custom**: Custom featurization. \ + * **Off**: Featurization off. 'Forecasting' task cannot use this value. + */ +export type FeaturizationMode = string; + +/** Known values of {@link DistributionType} that the service accepts. */ +export enum KnownDistributionType { + /** PyTorch */ + PyTorch = "PyTorch", + /** TensorFlow */ + TensorFlow = "TensorFlow", + /** Mpi */ + Mpi = "Mpi", +} + +/** + * Defines values for DistributionType. \ + * {@link KnownDistributionType} can be used interchangeably with DistributionType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **PyTorch** \ + * **TensorFlow** \ + * **Mpi** + */ +export type DistributionType = string; + +/** Known values of {@link JobLimitsType} that the service accepts. */ +export enum KnownJobLimitsType { + /** Command */ + Command = "Command", + /** Sweep */ + Sweep = "Sweep", +} + +/** + * Defines values for JobLimitsType. \ + * {@link KnownJobLimitsType} can be used interchangeably with JobLimitsType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Command** \ + * **Sweep** + */ +export type JobLimitsType = string; + +/** Known values of {@link MonitorComputeType} that the service accepts. */ +export enum KnownMonitorComputeType { + /** Serverless Spark compute. */ + ServerlessSpark = "ServerlessSpark", +} + +/** + * Defines values for MonitorComputeType. \ + * {@link KnownMonitorComputeType} can be used interchangeably with MonitorComputeType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **ServerlessSpark**: Serverless Spark compute. + */ +export type MonitorComputeType = string; + +/** Known values of {@link ModelTaskType} that the service accepts. */ +export enum KnownModelTaskType { + /** Classification */ + Classification = "Classification", + /** Regression */ + Regression = "Regression", +} + +/** + * Defines values for ModelTaskType. \ + * {@link KnownModelTaskType} can be used interchangeably with ModelTaskType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Classification** \ + * **Regression** + */ +export type ModelTaskType = string; + +/** Known values of {@link MonitoringNotificationType} that the service accepts. */ +export enum KnownMonitoringNotificationType { + /** Enables email notifications through AML notifications. */ + AmlNotification = "AmlNotification", +} + +/** + * Defines values for MonitoringNotificationType. \ + * {@link KnownMonitoringNotificationType} can be used interchangeably with MonitoringNotificationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AmlNotification**: Enables email notifications through AML notifications. + */ +export type MonitoringNotificationType = string; + +/** Known values of {@link MonitoringSignalType} that the service accepts. */ +export enum KnownMonitoringSignalType { + /** Tracks model input data distribution change, comparing against training data or past production data. */ + DataDrift = "DataDrift", + /** Tracks prediction result data distribution change, comparing against validation\/test label data or past production data. */ + PredictionDrift = "PredictionDrift", + /** Tracks model input data integrity. */ + DataQuality = "DataQuality", + /** Tracks feature importance change in production, comparing against feature importance at training time. */ + FeatureAttributionDrift = "FeatureAttributionDrift", + /** Tracks a custom signal provided by users. */ + Custom = "Custom", +} + +/** + * Defines values for MonitoringSignalType. \ + * {@link KnownMonitoringSignalType} can be used interchangeably with MonitoringSignalType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **DataDrift**: Tracks model input data distribution change, comparing against training data or past production data. \ + * **PredictionDrift**: Tracks prediction result data distribution change, comparing against validation\/test label data or past production data. \ + * **DataQuality**: Tracks model input data integrity. \ + * **FeatureAttributionDrift**: Tracks feature importance change in production, comparing against feature importance at training time. \ + * **Custom**: Tracks a custom signal provided by users. + */ +export type MonitoringSignalType = string; + +/** Known values of {@link MonitoringInputDataType} that the service accepts. */ +export enum KnownMonitoringInputDataType { + /** An input data with a fixed window size. */ + Static = "Static", + /** An input data which rolls relatively to the monitor's current run time. */ + Rolling = "Rolling", + /** An input data with tabular format which doesn't require preprocessing. */ + Fixed = "Fixed", +} + +/** + * Defines values for MonitoringInputDataType. \ + * {@link KnownMonitoringInputDataType} can be used interchangeably with MonitoringInputDataType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Static**: An input data with a fixed window size. \ + * **Rolling**: An input data which rolls relatively to the monitor's current run time. \ + * **Fixed**: An input data with tabular format which doesn't require preprocessing. + */ +export type MonitoringInputDataType = string; + +/** Known values of {@link FeatureImportanceMode} that the service accepts. */ +export enum KnownFeatureImportanceMode { + /** Disables computing feature importance within a signal. */ + Disabled = "Disabled", + /** Enables computing feature importance within a signal. */ + Enabled = "Enabled", +} + +/** + * Defines values for FeatureImportanceMode. \ + * {@link KnownFeatureImportanceMode} can be used interchangeably with FeatureImportanceMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Disabled**: Disables computing feature importance within a signal. \ + * **Enabled**: Enables computing feature importance within a signal. + */ +export type FeatureImportanceMode = string; + +/** Known values of {@link FeatureAttributionMetric} that the service accepts. */ +export enum KnownFeatureAttributionMetric { + /** The Normalized Discounted Cumulative Gain metric. */ + NormalizedDiscountedCumulativeGain = "NormalizedDiscountedCumulativeGain", +} + +/** + * Defines values for FeatureAttributionMetric. \ + * {@link KnownFeatureAttributionMetric} can be used interchangeably with FeatureAttributionMetric, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **NormalizedDiscountedCumulativeGain**: The Normalized Discounted Cumulative Gain metric. + */ +export type FeatureAttributionMetric = string; + +/** Known values of {@link FeatureLags} that the service accepts. */ +export enum KnownFeatureLags { + /** No feature lags generated. */ + None = "None", + /** System auto-generates feature lags. */ + Auto = "Auto", +} + +/** + * Defines values for FeatureLags. \ + * {@link KnownFeatureLags} can be used interchangeably with FeatureLags, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None**: No feature lags generated. \ + * **Auto**: System auto-generates feature lags. + */ +export type FeatureLags = string; + +/** Known values of {@link ShortSeriesHandlingConfiguration} that the service accepts. */ +export enum KnownShortSeriesHandlingConfiguration { + /** Represents no\/null value. */ + None = "None", + /** Short series will be padded if there are no long series, otherwise short series will be dropped. */ + Auto = "Auto", + /** All the short series will be padded. */ + Pad = "Pad", + /** All the short series will be dropped. */ + Drop = "Drop", +} + +/** + * Defines values for ShortSeriesHandlingConfiguration. \ + * {@link KnownShortSeriesHandlingConfiguration} can be used interchangeably with ShortSeriesHandlingConfiguration, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None**: Represents no\/null value. \ + * **Auto**: Short series will be padded if there are no long series, otherwise short series will be dropped. \ + * **Pad**: All the short series will be padded. \ + * **Drop**: All the short series will be dropped. + */ +export type ShortSeriesHandlingConfiguration = string; + +/** Known values of {@link TargetAggregationFunction} that the service accepts. */ +export enum KnownTargetAggregationFunction { + /** Represent no value set. */ + None = "None", + /** Sum */ + Sum = "Sum", + /** Max */ + Max = "Max", + /** Min */ + Min = "Min", + /** Mean */ + Mean = "Mean", +} + +/** + * Defines values for TargetAggregationFunction. \ + * {@link KnownTargetAggregationFunction} can be used interchangeably with TargetAggregationFunction, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None**: Represent no value set. \ + * **Sum** \ + * **Max** \ + * **Min** \ + * **Mean** + */ +export type TargetAggregationFunction = string; + +/** Known values of {@link UseStl} that the service accepts. */ +export enum KnownUseStl { + /** No stl decomposition. */ + None = "None", + /** Season */ + Season = "Season", + /** SeasonTrend */ + SeasonTrend = "SeasonTrend", +} + +/** + * Defines values for UseStl. \ + * {@link KnownUseStl} can be used interchangeably with UseStl, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None**: No stl decomposition. \ + * **Season** \ + * **SeasonTrend** + */ +export type UseStl = string; + +/** Known values of {@link ForecastingPrimaryMetrics} that the service accepts. */ +export enum KnownForecastingPrimaryMetrics { + /** The Spearman's rank coefficient of correlation is a non-parametric measure of rank correlation. */ + SpearmanCorrelation = "SpearmanCorrelation", + /** The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. */ + NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", + /** The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. */ + R2Score = "R2Score", + /** The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ + NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError", +} + +/** + * Defines values for ForecastingPrimaryMetrics. \ + * {@link KnownForecastingPrimaryMetrics} can be used interchangeably with ForecastingPrimaryMetrics, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SpearmanCorrelation**: The Spearman's rank coefficient of correlation is a non-parametric measure of rank correlation. \ + * **NormalizedRootMeanSquaredError**: The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. \ + * **R2Score**: The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. \ + * **NormalizedMeanAbsoluteError**: The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. + */ +export type ForecastingPrimaryMetrics = string; + +/** Known values of {@link ForecastingModels} that the service accepts. */ +export enum KnownForecastingModels { + /** + * Auto-Autoregressive Integrated Moving Average (ARIMA) model uses time-series data and statistical analysis to interpret the data and make future predictions. + * This model aims to explain data by using time series data on its past values and uses linear regression to make predictions. + */ + AutoArima = "AutoArima", + /** + * Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. + * It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well. + */ + Prophet = "Prophet", + /** The Naive forecasting model makes predictions by carrying forward the latest target value for each time-series in the training data. */ + Naive = "Naive", + /** The Seasonal Naive forecasting model makes predictions by carrying forward the latest season of target values for each time-series in the training data. */ + SeasonalNaive = "SeasonalNaive", + /** The Average forecasting model makes predictions by carrying forward the average of the target values for each time-series in the training data. */ + Average = "Average", + /** The Seasonal Average forecasting model makes predictions by carrying forward the average value of the latest season of data for each time-series in the training data. */ + SeasonalAverage = "SeasonalAverage", + /** Exponential smoothing is a time series forecasting method for univariate data that can be extended to support data with a systematic trend or seasonal component. */ + ExponentialSmoothing = "ExponentialSmoothing", + /** + * An Autoregressive Integrated Moving Average with Explanatory Variable (ARIMAX) model can be viewed as a multiple regression model with one or more autoregressive (AR) terms and\/or one or more moving average (MA) terms. + * This method is suitable for forecasting when data is stationary\/non stationary, and multivariate with any type of data pattern, i.e., level\/trend \/seasonality\/cyclicity. + */ + Arimax = "Arimax", + /** TCNForecaster: Temporal Convolutional Networks Forecaster. \//TODO: Ask forecasting team for brief intro. */ + TCNForecaster = "TCNForecaster", + /** Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. */ + ElasticNet = "ElasticNet", + /** The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. */ + GradientBoosting = "GradientBoosting", + /** + * Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. + * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. + */ + DecisionTree = "DecisionTree", + /** + * K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints + * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. + */ + KNN = "KNN", + /** Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. */ + LassoLars = "LassoLars", + /** + * SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications + * to find the model parameters that correspond to the best fit between predicted and actual outputs. + * It's an inexact but powerful technique. + */ + SGD = "SGD", + /** + * Random forest is a supervised learning algorithm. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. + * The general idea of the bagging method is that a combination of learning models increases the overall result. + */ + RandomForest = "RandomForest", + /** Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. */ + ExtremeRandomTrees = "ExtremeRandomTrees", + /** LightGBM is a gradient boosting framework that uses tree based learning algorithms. */ + LightGBM = "LightGBM", + /** XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. */ + XGBoostRegressor = "XGBoostRegressor", +} + +/** + * Defines values for ForecastingModels. \ + * {@link KnownForecastingModels} can be used interchangeably with ForecastingModels, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AutoArima**: Auto-Autoregressive Integrated Moving Average (ARIMA) model uses time-series data and statistical analysis to interpret the data and make future predictions. + * This model aims to explain data by using time series data on its past values and uses linear regression to make predictions. \ + * **Prophet**: Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. + * It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well. \ + * **Naive**: The Naive forecasting model makes predictions by carrying forward the latest target value for each time-series in the training data. \ + * **SeasonalNaive**: The Seasonal Naive forecasting model makes predictions by carrying forward the latest season of target values for each time-series in the training data. \ + * **Average**: The Average forecasting model makes predictions by carrying forward the average of the target values for each time-series in the training data. \ + * **SeasonalAverage**: The Seasonal Average forecasting model makes predictions by carrying forward the average value of the latest season of data for each time-series in the training data. \ + * **ExponentialSmoothing**: Exponential smoothing is a time series forecasting method for univariate data that can be extended to support data with a systematic trend or seasonal component. \ + * **Arimax**: An Autoregressive Integrated Moving Average with Explanatory Variable (ARIMAX) model can be viewed as a multiple regression model with one or more autoregressive (AR) terms and\/or one or more moving average (MA) terms. + * This method is suitable for forecasting when data is stationary\/non stationary, and multivariate with any type of data pattern, i.e., level\/trend \/seasonality\/cyclicity. \ + * **TCNForecaster**: TCNForecaster: Temporal Convolutional Networks Forecaster. \/\/TODO: Ask forecasting team for brief intro. \ + * **ElasticNet**: Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. \ + * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ + * **DecisionTree**: Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. + * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. \ + * **KNN**: K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints + * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. \ + * **LassoLars**: Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. \ + * **SGD**: SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications + * to find the model parameters that correspond to the best fit between predicted and actual outputs. + * It's an inexact but powerful technique. \ + * **RandomForest**: Random forest is a supervised learning algorithm. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. + * The general idea of the bagging method is that a combination of learning models increases the overall result. \ + * **ExtremeRandomTrees**: Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. \ + * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ + * **XGBoostRegressor**: XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. + */ +export type ForecastingModels = string; + +/** Known values of {@link LearningRateScheduler} that the service accepts. */ +export enum KnownLearningRateScheduler { + /** No learning rate scheduler selected. */ + None = "None", + /** Cosine Annealing With Warmup. */ + WarmupCosine = "WarmupCosine", + /** Step learning rate scheduler. */ + Step = "Step", +} + +/** + * Defines values for LearningRateScheduler. \ + * {@link KnownLearningRateScheduler} can be used interchangeably with LearningRateScheduler, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None**: No learning rate scheduler selected. \ + * **WarmupCosine**: Cosine Annealing With Warmup. \ + * **Step**: Step learning rate scheduler. + */ +export type LearningRateScheduler = string; + +/** Known values of {@link StochasticOptimizer} that the service accepts. */ +export enum KnownStochasticOptimizer { + /** No optimizer selected. */ + None = "None", + /** Stochastic Gradient Descent optimizer. */ + Sgd = "Sgd", + /** Adam is algorithm the optimizes stochastic objective functions based on adaptive estimates of moments */ + Adam = "Adam", + /** AdamW is a variant of the optimizer Adam that has an improved implementation of weight decay. */ + Adamw = "Adamw", +} + +/** + * Defines values for StochasticOptimizer. \ + * {@link KnownStochasticOptimizer} can be used interchangeably with StochasticOptimizer, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None**: No optimizer selected. \ + * **Sgd**: Stochastic Gradient Descent optimizer. \ + * **Adam**: Adam is algorithm the optimizes stochastic objective functions based on adaptive estimates of moments \ + * **Adamw**: AdamW is a variant of the optimizer Adam that has an improved implementation of weight decay. + */ +export type StochasticOptimizer = string; + +/** Known values of {@link ClassificationMultilabelPrimaryMetrics} that the service accepts. */ +export enum KnownClassificationMultilabelPrimaryMetrics { + /** + * AUC is the Area under the curve. + * This metric represents arithmetic mean of the score for each class, + * weighted by the number of true instances in each class. + */ + AUCWeighted = "AUCWeighted", + /** Accuracy is the ratio of predictions that exactly match the true class labels. */ + Accuracy = "Accuracy", + /** + * Normalized macro recall is recall macro-averaged and normalized, so that random + * performance has a score of 0, and perfect performance has a score of 1. + */ + NormMacroRecall = "NormMacroRecall", + /** + * The arithmetic mean of the average precision score for each class, weighted by + * the number of true instances in each class. + */ + AveragePrecisionScoreWeighted = "AveragePrecisionScoreWeighted", + /** The arithmetic mean of precision for each class, weighted by number of true instances in each class. */ + PrecisionScoreWeighted = "PrecisionScoreWeighted", + /** Intersection Over Union. Intersection of predictions divided by union of predictions. */ + IOU = "IOU", +} + +/** + * Defines values for ClassificationMultilabelPrimaryMetrics. \ + * {@link KnownClassificationMultilabelPrimaryMetrics} can be used interchangeably with ClassificationMultilabelPrimaryMetrics, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AUCWeighted**: AUC is the Area under the curve. + * This metric represents arithmetic mean of the score for each class, + * weighted by the number of true instances in each class. \ + * **Accuracy**: Accuracy is the ratio of predictions that exactly match the true class labels. \ + * **NormMacroRecall**: Normalized macro recall is recall macro-averaged and normalized, so that random + * performance has a score of 0, and perfect performance has a score of 1. \ + * **AveragePrecisionScoreWeighted**: The arithmetic mean of the average precision score for each class, weighted by + * the number of true instances in each class. \ + * **PrecisionScoreWeighted**: The arithmetic mean of precision for each class, weighted by number of true instances in each class. \ + * **IOU**: Intersection Over Union. Intersection of predictions divided by union of predictions. + */ +export type ClassificationMultilabelPrimaryMetrics = string; + +/** Known values of {@link InstanceSegmentationPrimaryMetrics} that the service accepts. */ +export enum KnownInstanceSegmentationPrimaryMetrics { + /** + * Mean Average Precision (MAP) is the average of AP (Average Precision). + * AP is calculated for each class and averaged to get the MAP. + */ + MeanAveragePrecision = "MeanAveragePrecision", +} + +/** + * Defines values for InstanceSegmentationPrimaryMetrics. \ + * {@link KnownInstanceSegmentationPrimaryMetrics} can be used interchangeably with InstanceSegmentationPrimaryMetrics, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **MeanAveragePrecision**: Mean Average Precision (MAP) is the average of AP (Average Precision). + * AP is calculated for each class and averaged to get the MAP. + */ +export type InstanceSegmentationPrimaryMetrics = string; + +/** Known values of {@link ModelSize} that the service accepts. */ +export enum KnownModelSize { + /** No value selected. */ + None = "None", + /** Small size. */ + Small = "Small", + /** Medium size. */ + Medium = "Medium", + /** Large size. */ + Large = "Large", + /** Extra large size. */ + ExtraLarge = "ExtraLarge", +} + +/** + * Defines values for ModelSize. \ + * {@link KnownModelSize} can be used interchangeably with ModelSize, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None**: No value selected. \ + * **Small**: Small size. \ + * **Medium**: Medium size. \ + * **Large**: Large size. \ + * **ExtraLarge**: Extra large size. + */ +export type ModelSize = string; + +/** Known values of {@link ValidationMetricType} that the service accepts. */ +export enum KnownValidationMetricType { + /** No metric. */ + None = "None", + /** Coco metric. */ + Coco = "Coco", + /** Voc metric. */ + Voc = "Voc", + /** CocoVoc metric. */ + CocoVoc = "CocoVoc", +} + +/** + * Defines values for ValidationMetricType. \ + * {@link KnownValidationMetricType} can be used interchangeably with ValidationMetricType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None**: No metric. \ + * **Coco**: Coco metric. \ + * **Voc**: Voc metric. \ + * **CocoVoc**: CocoVoc metric. + */ +export type ValidationMetricType = string; + +/** Known values of {@link ObjectDetectionPrimaryMetrics} that the service accepts. */ +export enum KnownObjectDetectionPrimaryMetrics { + /** + * Mean Average Precision (MAP) is the average of AP (Average Precision). + * AP is calculated for each class and averaged to get the MAP. + */ + MeanAveragePrecision = "MeanAveragePrecision", +} + +/** + * Defines values for ObjectDetectionPrimaryMetrics. \ + * {@link KnownObjectDetectionPrimaryMetrics} can be used interchangeably with ObjectDetectionPrimaryMetrics, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **MeanAveragePrecision**: Mean Average Precision (MAP) is the average of AP (Average Precision). + * AP is calculated for each class and averaged to get the MAP. + */ +export type ObjectDetectionPrimaryMetrics = string; + +/** Known values of {@link OneLakeArtifactType} that the service accepts. */ +export enum KnownOneLakeArtifactType { + /** LakeHouse */ + LakeHouse = "LakeHouse", +} + +/** + * Defines values for OneLakeArtifactType. \ + * {@link KnownOneLakeArtifactType} can be used interchangeably with OneLakeArtifactType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **LakeHouse** + */ +export type OneLakeArtifactType = string; + +/** Known values of {@link NumericalDataDriftMetric} that the service accepts. */ +export enum KnownNumericalDataDriftMetric { + /** The Jensen Shannon Distance (JSD) metric. */ + JensenShannonDistance = "JensenShannonDistance", + /** The Population Stability Index (PSI) metric. */ + PopulationStabilityIndex = "PopulationStabilityIndex", + /** The Normalized Wasserstein Distance metric. */ + NormalizedWassersteinDistance = "NormalizedWassersteinDistance", + /** The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ + TwoSampleKolmogorovSmirnovTest = "TwoSampleKolmogorovSmirnovTest", +} + +/** + * Defines values for NumericalDataDriftMetric. \ + * {@link KnownNumericalDataDriftMetric} can be used interchangeably with NumericalDataDriftMetric, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ + * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ + * **NormalizedWassersteinDistance**: The Normalized Wasserstein Distance metric. \ + * **TwoSampleKolmogorovSmirnovTest**: The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. + */ +export type NumericalDataDriftMetric = string; + +/** Known values of {@link NumericalDataQualityMetric} that the service accepts. */ +export enum KnownNumericalDataQualityMetric { + /** Calculates the rate of null values. */ + NullValueRate = "NullValueRate", + /** Calculates the rate of data type errors. */ + DataTypeErrorRate = "DataTypeErrorRate", + /** Calculates the rate values are out of bounds. */ + OutOfBoundsRate = "OutOfBoundsRate", +} + +/** + * Defines values for NumericalDataQualityMetric. \ + * {@link KnownNumericalDataQualityMetric} can be used interchangeably with NumericalDataQualityMetric, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **NullValueRate**: Calculates the rate of null values. \ + * **DataTypeErrorRate**: Calculates the rate of data type errors. \ + * **OutOfBoundsRate**: Calculates the rate values are out of bounds. + */ +export type NumericalDataQualityMetric = string; + +/** Known values of {@link NumericalPredictionDriftMetric} that the service accepts. */ +export enum KnownNumericalPredictionDriftMetric { + /** The Jensen Shannon Distance (JSD) metric. */ + JensenShannonDistance = "JensenShannonDistance", + /** The Population Stability Index (PSI) metric. */ + PopulationStabilityIndex = "PopulationStabilityIndex", + /** The Normalized Wasserstein Distance metric. */ + NormalizedWassersteinDistance = "NormalizedWassersteinDistance", + /** The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ + TwoSampleKolmogorovSmirnovTest = "TwoSampleKolmogorovSmirnovTest", +} + +/** + * Defines values for NumericalPredictionDriftMetric. \ + * {@link KnownNumericalPredictionDriftMetric} can be used interchangeably with NumericalPredictionDriftMetric, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ + * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ + * **NormalizedWassersteinDistance**: The Normalized Wasserstein Distance metric. \ + * **TwoSampleKolmogorovSmirnovTest**: The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. + */ +export type NumericalPredictionDriftMetric = string; + +/** Known values of {@link Goal} that the service accepts. */ +export enum KnownGoal { + /** Minimize */ + Minimize = "Minimize", + /** Maximize */ + Maximize = "Maximize", +} + +/** + * Defines values for Goal. \ + * {@link KnownGoal} can be used interchangeably with Goal, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Minimize** \ + * **Maximize** + */ +export type Goal = string; + +/** Known values of {@link RandomSamplingAlgorithmRule} that the service accepts. */ +export enum KnownRandomSamplingAlgorithmRule { + /** Random */ + Random = "Random", + /** Sobol */ + Sobol = "Sobol", +} + +/** + * Defines values for RandomSamplingAlgorithmRule. \ + * {@link KnownRandomSamplingAlgorithmRule} can be used interchangeably with RandomSamplingAlgorithmRule, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Random** \ + * **Sobol** + */ +export type RandomSamplingAlgorithmRule = string; + +/** Known values of {@link RegressionPrimaryMetrics} that the service accepts. */ +export enum KnownRegressionPrimaryMetrics { + /** The Spearman's rank coefficient of correlation is a nonparametric measure of rank correlation. */ + SpearmanCorrelation = "SpearmanCorrelation", + /** The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. */ + NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", + /** The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. */ + R2Score = "R2Score", + /** The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ + NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError", +} + +/** + * Defines values for RegressionPrimaryMetrics. \ + * {@link KnownRegressionPrimaryMetrics} can be used interchangeably with RegressionPrimaryMetrics, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SpearmanCorrelation**: The Spearman's rank coefficient of correlation is a nonparametric measure of rank correlation. \ + * **NormalizedRootMeanSquaredError**: The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. \ + * **R2Score**: The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. \ + * **NormalizedMeanAbsoluteError**: The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. + */ +export type RegressionPrimaryMetrics = string; + +/** Known values of {@link RegressionModels} that the service accepts. */ +export enum KnownRegressionModels { + /** Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. */ + ElasticNet = "ElasticNet", + /** The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. */ + GradientBoosting = "GradientBoosting", + /** + * Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. + * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. + */ + DecisionTree = "DecisionTree", + /** + * K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints + * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. + */ + KNN = "KNN", + /** Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. */ + LassoLars = "LassoLars", + /** + * SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications + * to find the model parameters that correspond to the best fit between predicted and actual outputs. + * It's an inexact but powerful technique. + */ + SGD = "SGD", + /** + * Random forest is a supervised learning algorithm. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. + * The general idea of the bagging method is that a combination of learning models increases the overall result. + */ + RandomForest = "RandomForest", + /** Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. */ + ExtremeRandomTrees = "ExtremeRandomTrees", + /** LightGBM is a gradient boosting framework that uses tree based learning algorithms. */ + LightGBM = "LightGBM", + /** XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. */ + XGBoostRegressor = "XGBoostRegressor", +} + +/** + * Defines values for RegressionModels. \ + * {@link KnownRegressionModels} can be used interchangeably with RegressionModels, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **ElasticNet**: Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. \ + * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ + * **DecisionTree**: Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. + * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. \ + * **KNN**: K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints + * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. \ + * **LassoLars**: Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. \ + * **SGD**: SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications + * to find the model parameters that correspond to the best fit between predicted and actual outputs. + * It's an inexact but powerful technique. \ + * **RandomForest**: Random forest is a supervised learning algorithm. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. + * The general idea of the bagging method is that a combination of learning models increases the overall result. \ + * **ExtremeRandomTrees**: Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. \ + * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ + * **XGBoostRegressor**: XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. + */ +export type RegressionModels = string; + +/** Known values of {@link SparkJobEntryType} that the service accepts. */ +export enum KnownSparkJobEntryType { + /** SparkJobPythonEntry */ + SparkJobPythonEntry = "SparkJobPythonEntry", + /** SparkJobScalaEntry */ + SparkJobScalaEntry = "SparkJobScalaEntry", +} + +/** + * Defines values for SparkJobEntryType. \ + * {@link KnownSparkJobEntryType} can be used interchangeably with SparkJobEntryType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SparkJobPythonEntry** \ + * **SparkJobScalaEntry** + */ +export type SparkJobEntryType = string; +/** Defines values for SkuTier. */ +export type SkuTier = "Free" | "Basic" | "Standard" | "Premium"; + +/** Optional parameters. */ +export interface OperationsListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type OperationsListResponse = OperationListResult; + +/** Optional parameters. */ +export interface WorkspacesGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type WorkspacesGetResponse = Workspace; + +/** Optional parameters. */ +export interface WorkspacesCreateOrUpdateOptionalParams + 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 WorkspacesCreateOrUpdateResponse = Workspace; + +/** Optional parameters. */ +export interface WorkspacesDeleteOptionalParams + extends coreClient.OperationOptions { + /** Flag to indicate delete is a purge request. */ + forceToPurge?: boolean; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface WorkspacesUpdateOptionalParams + 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 WorkspacesUpdateResponse = Workspace; + +/** Optional parameters. */ +export interface WorkspacesListByResourceGroupOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; +} + +/** Contains response data for the listByResourceGroup operation. */ +export type WorkspacesListByResourceGroupResponse = WorkspaceListResult; + +/** Optional parameters. */ +export interface WorkspacesDiagnoseOptionalParams + extends coreClient.OperationOptions { + /** The parameter of diagnosing workspace health */ + parameters?: DiagnoseWorkspaceParameters; + /** 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 diagnose operation. */ +export type WorkspacesDiagnoseResponse = DiagnoseResponseResult; + +/** Optional parameters. */ +export interface WorkspacesListKeysOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listKeys operation. */ +export type WorkspacesListKeysResponse = ListWorkspaceKeysResult; + +/** Optional parameters. */ +export interface WorkspacesResyncKeysOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface WorkspacesListBySubscriptionOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; +} + +/** Contains response data for the listBySubscription operation. */ +export type WorkspacesListBySubscriptionResponse = WorkspaceListResult; + +/** Optional parameters. */ +export interface WorkspacesListNotebookAccessTokenOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNotebookAccessToken operation. */ +export type WorkspacesListNotebookAccessTokenResponse = + NotebookAccessTokenResult; + +/** Optional parameters. */ +export interface WorkspacesPrepareNotebookOptionalParams + 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 prepareNotebook operation. */ +export type WorkspacesPrepareNotebookResponse = NotebookResourceInfo; + +/** Optional parameters. */ +export interface WorkspacesListStorageAccountKeysOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listStorageAccountKeys operation. */ +export type WorkspacesListStorageAccountKeysResponse = + ListStorageAccountKeysResult; + +/** Optional parameters. */ +export interface WorkspacesListNotebookKeysOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNotebookKeys operation. */ +export type WorkspacesListNotebookKeysResponse = ListNotebookKeysResult; + +/** Optional parameters. */ +export interface WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listOutboundNetworkDependenciesEndpoints operation. */ +export type WorkspacesListOutboundNetworkDependenciesEndpointsResponse = + ExternalFqdnResponse; + +/** Optional parameters. */ +export interface WorkspacesListByResourceGroupNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByResourceGroupNext operation. */ +export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult; + +/** Optional parameters. */ +export interface WorkspacesListBySubscriptionNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listBySubscriptionNext operation. */ +export type WorkspacesListBySubscriptionNextResponse = WorkspaceListResult; + +/** Optional parameters. */ +export interface UsagesListOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type UsagesListResponse = ListUsagesResult; + +/** Optional parameters. */ +export interface UsagesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type UsagesListNextResponse = ListUsagesResult; + +/** Optional parameters. */ +export interface VirtualMachineSizesListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type VirtualMachineSizesListResponse = VirtualMachineSizeListResult; + +/** Optional parameters. */ +export interface QuotasUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the update operation. */ +export type QuotasUpdateResponse = UpdateWorkspaceQuotasResult; + +/** Optional parameters. */ +export interface QuotasListOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type QuotasListResponse = ListWorkspaceQuotas; + +/** Optional parameters. */ +export interface QuotasListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type QuotasListNextResponse = ListWorkspaceQuotas; + +/** Optional parameters. */ +export interface ComputeListOptionalParams extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; +} + +/** Contains response data for the list operation. */ +export type ComputeListResponse = PaginatedComputeResourcesList; + +/** Optional parameters. */ +export interface ComputeGetOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type ComputeGetResponse = ComputeResource; + +/** Optional parameters. */ +export interface ComputeCreateOrUpdateOptionalParams + 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 ComputeCreateOrUpdateResponse = ComputeResource; + +/** Optional parameters. */ +export interface ComputeUpdateOptionalParams + 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 ComputeUpdateResponse = ComputeResource; + +/** Optional parameters. */ +export interface ComputeDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface ComputeListNodesOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNodes operation. */ +export type ComputeListNodesResponse = AmlComputeNodesInformation; + +/** Optional parameters. */ +export interface ComputeListKeysOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listKeys operation. */ +export type ComputeListKeysResponse = ComputeSecretsUnion; + +/** Optional parameters. */ +export interface ComputeStartOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface ComputeStopOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface ComputeRestartOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface ComputeListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type ComputeListNextResponse = PaginatedComputeResourcesList; + +/** Optional parameters. */ +export interface ComputeListNodesNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNodesNext operation. */ +export type ComputeListNodesNextResponse = AmlComputeNodesInformation; + +/** Optional parameters. */ +export interface PrivateEndpointConnectionsListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type PrivateEndpointConnectionsListResponse = + PrivateEndpointConnectionListResult; + +/** Optional parameters. */ +export interface PrivateEndpointConnectionsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection; + +/** Optional parameters. */ +export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type PrivateEndpointConnectionsCreateOrUpdateResponse = + PrivateEndpointConnection; + +/** Optional parameters. */ +export interface PrivateEndpointConnectionsDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface PrivateLinkResourcesListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult; + +/** Optional parameters. */ +export interface WorkspaceConnectionsCreateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the create operation. */ +export type WorkspaceConnectionsCreateResponse = + WorkspaceConnectionPropertiesV2BasicResource; + +/** Optional parameters. */ +export interface WorkspaceConnectionsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type WorkspaceConnectionsGetResponse = + WorkspaceConnectionPropertiesV2BasicResource; + +/** Optional parameters. */ +export interface WorkspaceConnectionsDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface WorkspaceConnectionsListOptionalParams + extends coreClient.OperationOptions { + /** Target of the workspace connection. */ + target?: string; + /** Category of the workspace connection. */ + category?: string; +} + +/** Contains response data for the list operation. */ +export type WorkspaceConnectionsListResponse = + WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface WorkspaceConnectionsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type WorkspaceConnectionsListNextResponse = + WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface ManagedNetworkSettingsRuleListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type ManagedNetworkSettingsRuleListResponse = OutboundRuleListResult; + +/** Optional parameters. */ +export interface ManagedNetworkSettingsRuleDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface ManagedNetworkSettingsRuleGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type ManagedNetworkSettingsRuleGetResponse = OutboundRuleBasicResource; + +/** Optional parameters. */ +export interface ManagedNetworkSettingsRuleCreateOrUpdateOptionalParams + 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 ManagedNetworkSettingsRuleCreateOrUpdateResponse = + OutboundRuleBasicResource; + +/** Optional parameters. */ +export interface ManagedNetworkSettingsRuleListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type ManagedNetworkSettingsRuleListNextResponse = OutboundRuleListResult; + +/** Optional parameters. */ +export interface ManagedNetworkProvisionsProvisionManagedNetworkOptionalParams + extends coreClient.OperationOptions { + /** Managed Network Provisioning Options for a machine learning workspace. */ + body?: ManagedNetworkProvisionOptions; + /** 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 provisionManagedNetwork operation. */ +export type ManagedNetworkProvisionsProvisionManagedNetworkResponse = + ManagedNetworkProvisionStatus; + +/** Optional parameters. */ +export interface RegistryCodeContainersListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; +} + +/** Contains response data for the list operation. */ +export type RegistryCodeContainersListResponse = + CodeContainerResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryCodeContainersDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface RegistryCodeContainersGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type RegistryCodeContainersGetResponse = CodeContainer; + +/** Optional parameters. */ +export interface RegistryCodeContainersCreateOrUpdateOptionalParams + 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; } -/** - * Defines values for ObjectDetectionPrimaryMetrics. \ - * {@link KnownObjectDetectionPrimaryMetrics} can be used interchangeably with ObjectDetectionPrimaryMetrics, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **MeanAveragePrecision**: Mean Average Precision (MAP) is the average of AP (Average Precision). - * AP is calculated for each class and averaged to get the MAP. - */ -export type ObjectDetectionPrimaryMetrics = string; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryCodeContainersCreateOrUpdateResponse = CodeContainer; -/** Known values of {@link Goal} that the service accepts. */ -export enum KnownGoal { - /** Minimize */ - Minimize = "Minimize", - /** Maximize */ - Maximize = "Maximize" -} +/** Optional parameters. */ +export interface RegistryCodeContainersListNextOptionalParams + extends coreClient.OperationOptions {} -/** - * Defines values for Goal. \ - * {@link KnownGoal} can be used interchangeably with Goal, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Minimize** \ - * **Maximize** - */ -export type Goal = string; +/** Contains response data for the listNext operation. */ +export type RegistryCodeContainersListNextResponse = + CodeContainerResourceArmPaginatedResult; -/** Known values of {@link RandomSamplingAlgorithmRule} that the service accepts. */ -export enum KnownRandomSamplingAlgorithmRule { - /** Random */ - Random = "Random", - /** Sobol */ - Sobol = "Sobol" +/** Optional parameters. */ +export interface RegistryCodeVersionsListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Ordering of list. */ + orderBy?: string; + /** Maximum number of records to return. */ + top?: number; } -/** - * Defines values for RandomSamplingAlgorithmRule. \ - * {@link KnownRandomSamplingAlgorithmRule} can be used interchangeably with RandomSamplingAlgorithmRule, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Random** \ - * **Sobol** - */ -export type RandomSamplingAlgorithmRule = string; +/** Contains response data for the list operation. */ +export type RegistryCodeVersionsListResponse = + CodeVersionResourceArmPaginatedResult; -/** Known values of {@link RegressionPrimaryMetrics} that the service accepts. */ -export enum KnownRegressionPrimaryMetrics { - /** The Spearman's rank coefficient of correlation is a nonparametric measure of rank correlation. */ - SpearmanCorrelation = "SpearmanCorrelation", - /** The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. */ - NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", - /** The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. */ - R2Score = "R2Score", - /** The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ - NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError" +/** Optional parameters. */ +export interface RegistryCodeVersionsDeleteOptionalParams + 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; } -/** - * Defines values for RegressionPrimaryMetrics. \ - * {@link KnownRegressionPrimaryMetrics} can be used interchangeably with RegressionPrimaryMetrics, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **SpearmanCorrelation**: The Spearman's rank coefficient of correlation is a nonparametric measure of rank correlation. \ - * **NormalizedRootMeanSquaredError**: The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. \ - * **R2Score**: The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. \ - * **NormalizedMeanAbsoluteError**: The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. - */ -export type RegressionPrimaryMetrics = string; +/** Optional parameters. */ +export interface RegistryCodeVersionsGetOptionalParams + extends coreClient.OperationOptions {} -/** Known values of {@link RegressionModels} that the service accepts. */ -export enum KnownRegressionModels { - /** Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. */ - ElasticNet = "ElasticNet", - /** The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. */ - GradientBoosting = "GradientBoosting", - /** - * Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. - * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. - */ - DecisionTree = "DecisionTree", - /** - * K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints - * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. - */ - KNN = "KNN", - /** Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. */ - LassoLars = "LassoLars", - /** - * SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications - * to find the model parameters that correspond to the best fit between predicted and actual outputs. - * It's an inexact but powerful technique. - */ - SGD = "SGD", - /** - * Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. - * The general idea of the bagging method is that a combination of learning models increases the overall result. - */ - RandomForest = "RandomForest", - /** Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. */ - ExtremeRandomTrees = "ExtremeRandomTrees", - /** LightGBM is a gradient boosting framework that uses tree based learning algorithms. */ - LightGBM = "LightGBM", - /** XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. */ - XGBoostRegressor = "XGBoostRegressor" +/** Contains response data for the get operation. */ +export type RegistryCodeVersionsGetResponse = CodeVersion; + +/** Optional parameters. */ +export interface RegistryCodeVersionsCreateOrUpdateOptionalParams + 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; } -/** - * Defines values for RegressionModels. \ - * {@link KnownRegressionModels} can be used interchangeably with RegressionModels, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **ElasticNet**: Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. \ - * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ - * **DecisionTree**: Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. - * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. \ - * **KNN**: K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints - * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. \ - * **LassoLars**: Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. \ - * **SGD**: SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications - * to find the model parameters that correspond to the best fit between predicted and actual outputs. - * It's an inexact but powerful technique. \ - * **RandomForest**: Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. - * The general idea of the bagging method is that a combination of learning models increases the overall result. \ - * **ExtremeRandomTrees**: Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. \ - * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ - * **XGBoostRegressor**: XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. - */ -export type RegressionModels = string; -/** Defines values for SkuTier. */ -export type SkuTier = "Free" | "Basic" | "Standard" | "Premium"; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryCodeVersionsCreateOrUpdateResponse = CodeVersion; /** Optional parameters. */ -export interface OperationsListOptionalParams +export interface RegistryCodeVersionsCreateOrGetStartPendingUploadOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrGetStartPendingUpload operation. */ +export type RegistryCodeVersionsCreateOrGetStartPendingUploadResponse = + PendingUploadResponseDto; + +/** Optional parameters. */ +export interface RegistryCodeVersionsListNextOptionalParams extends coreClient.OperationOptions {} +/** Contains response data for the listNext operation. */ +export type RegistryCodeVersionsListNextResponse = + CodeVersionResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryComponentContainersListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; +} + /** Contains response data for the list operation. */ -export type OperationsListResponse = AmlOperationListResult; +export type RegistryComponentContainersListResponse = + ComponentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspacesGetOptionalParams +export interface RegistryComponentContainersDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface RegistryComponentContainersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type WorkspacesGetResponse = Workspace; +export type RegistryComponentContainersGetResponse = ComponentContainer; /** Optional parameters. */ -export interface WorkspacesCreateOrUpdateOptionalParams +export interface RegistryComponentContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -7525,10 +10837,34 @@ export interface WorkspacesCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type WorkspacesCreateOrUpdateResponse = Workspace; +export type RegistryComponentContainersCreateOrUpdateResponse = + ComponentContainer; /** Optional parameters. */ -export interface WorkspacesDeleteOptionalParams +export interface RegistryComponentContainersListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type RegistryComponentContainersListNextResponse = + ComponentContainerResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryComponentVersionsListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Ordering of list. */ + orderBy?: string; + /** Maximum number of records to return. */ + top?: number; +} + +/** Contains response data for the list operation. */ +export type RegistryComponentVersionsListResponse = + ComponentVersionResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryComponentVersionsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -7537,7 +10873,14 @@ export interface WorkspacesDeleteOptionalParams } /** Optional parameters. */ -export interface WorkspacesUpdateOptionalParams +export interface RegistryComponentVersionsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type RegistryComponentVersionsGetResponse = ComponentVersion; + +/** Optional parameters. */ +export interface RegistryComponentVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -7545,42 +10888,48 @@ export interface WorkspacesUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the update operation. */ -export type WorkspacesUpdateResponse = Workspace; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryComponentVersionsCreateOrUpdateResponse = ComponentVersion; /** Optional parameters. */ -export interface WorkspacesListByResourceGroupOptionalParams +export interface RegistryComponentVersionsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type RegistryComponentVersionsListNextResponse = + ComponentVersionResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryDataContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; } -/** Contains response data for the listByResourceGroup operation. */ -export type WorkspacesListByResourceGroupResponse = WorkspaceListResult; +/** Contains response data for the list operation. */ +export type RegistryDataContainersListResponse = + DataContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspacesDiagnoseOptionalParams +export interface RegistryDataContainersDeleteOptionalParams extends coreClient.OperationOptions { - /** The parameter of diagnosing workspace health */ - parameters?: DiagnoseWorkspaceParameters; /** 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 diagnose operation. */ -export type WorkspacesDiagnoseResponse = DiagnoseResponseResult; - /** Optional parameters. */ -export interface WorkspacesListKeysOptionalParams +export interface RegistryDataContainersGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listKeys operation. */ -export type WorkspacesListKeysResponse = ListWorkspaceKeysResult; +/** Contains response data for the get operation. */ +export type RegistryDataContainersGetResponse = DataContainer; /** Optional parameters. */ -export interface WorkspacesResyncKeysOptionalParams +export interface RegistryDataContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -7588,25 +10937,57 @@ export interface WorkspacesResyncKeysOptionalParams resumeFrom?: string; } +/** Contains response data for the createOrUpdate operation. */ +export type RegistryDataContainersCreateOrUpdateResponse = DataContainer; + /** Optional parameters. */ -export interface WorkspacesListBySubscriptionOptionalParams +export interface RegistryDataContainersListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type RegistryDataContainersListNextResponse = + DataContainerResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryDataVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; + /** Please choose OrderBy value from ['createdtime', 'modifiedtime'] */ + orderBy?: string; + /** + * Top count of results, top count cannot be greater than the page size. + * If topCount > page size, results with be default page size count will be returned + */ + top?: number; + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; } -/** Contains response data for the listBySubscription operation. */ -export type WorkspacesListBySubscriptionResponse = WorkspaceListResult; +/** Contains response data for the list operation. */ +export type RegistryDataVersionsListResponse = + DataVersionBaseResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryDataVersionsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface WorkspacesListNotebookAccessTokenOptionalParams +export interface RegistryDataVersionsGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNotebookAccessToken operation. */ -export type WorkspacesListNotebookAccessTokenResponse = NotebookAccessTokenResult; +/** Contains response data for the get operation. */ +export type RegistryDataVersionsGetResponse = DataVersionBase; /** Optional parameters. */ -export interface WorkspacesPrepareNotebookOptionalParams +export interface RegistryDataVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -7614,107 +10995,102 @@ export interface WorkspacesPrepareNotebookOptionalParams resumeFrom?: string; } -/** Contains response data for the prepareNotebook operation. */ -export type WorkspacesPrepareNotebookResponse = NotebookResourceInfo; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryDataVersionsCreateOrUpdateResponse = DataVersionBase; /** Optional parameters. */ -export interface WorkspacesListStorageAccountKeysOptionalParams +export interface RegistryDataVersionsCreateOrGetStartPendingUploadOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listStorageAccountKeys operation. */ -export type WorkspacesListStorageAccountKeysResponse = ListStorageAccountKeysResult; +/** Contains response data for the createOrGetStartPendingUpload operation. */ +export type RegistryDataVersionsCreateOrGetStartPendingUploadResponse = + PendingUploadResponseDto; /** Optional parameters. */ -export interface WorkspacesListNotebookKeysOptionalParams +export interface RegistryDataVersionsListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNotebookKeys operation. */ -export type WorkspacesListNotebookKeysResponse = ListNotebookKeysResult; +/** Contains response data for the listNext operation. */ +export type RegistryDataVersionsListNextResponse = + DataVersionBaseResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams +export interface RegistryDataReferencesGetBlobReferenceSASOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listOutboundNetworkDependenciesEndpoints operation. */ -export type WorkspacesListOutboundNetworkDependenciesEndpointsResponse = ExternalFqdnResponse; +/** Contains response data for the getBlobReferenceSAS operation. */ +export type RegistryDataReferencesGetBlobReferenceSASResponse = + GetBlobReferenceSASResponseDto; /** Optional parameters. */ -export interface WorkspacesListByResourceGroupNextOptionalParams +export interface RegistryEnvironmentContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; } -/** Contains response data for the listByResourceGroupNext operation. */ -export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult; +/** Contains response data for the list operation. */ +export type RegistryEnvironmentContainersListResponse = + EnvironmentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspacesListBySubscriptionNextOptionalParams +export interface RegistryEnvironmentContainersDeleteOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; + /** 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 listBySubscriptionNext operation. */ -export type WorkspacesListBySubscriptionNextResponse = WorkspaceListResult; - -/** Optional parameters. */ -export interface UsagesListOptionalParams extends coreClient.OperationOptions {} - -/** Contains response data for the list operation. */ -export type UsagesListResponse = ListUsagesResult; - -/** Optional parameters. */ -export interface UsagesListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type UsagesListNextResponse = ListUsagesResult; - -/** Optional parameters. */ -export interface VirtualMachineSizesListOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the list operation. */ -export type VirtualMachineSizesListResponse = VirtualMachineSizeListResult; - /** Optional parameters. */ -export interface QuotasUpdateOptionalParams +export interface RegistryEnvironmentContainersGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the update operation. */ -export type QuotasUpdateResponse = UpdateWorkspaceQuotasResult; +/** Contains response data for the get operation. */ +export type RegistryEnvironmentContainersGetResponse = EnvironmentContainer; /** Optional parameters. */ -export interface QuotasListOptionalParams extends coreClient.OperationOptions {} +export interface RegistryEnvironmentContainersCreateOrUpdateOptionalParams + 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 list operation. */ -export type QuotasListResponse = ListWorkspaceQuotas; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryEnvironmentContainersCreateOrUpdateResponse = + EnvironmentContainer; /** Optional parameters. */ -export interface QuotasListNextOptionalParams +export interface RegistryEnvironmentContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type QuotasListNextResponse = ListWorkspaceQuotas; +export type RegistryEnvironmentContainersListNextResponse = + EnvironmentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComputeListOptionalParams extends coreClient.OperationOptions { +export interface RegistryEnvironmentVersionsListOptionalParams + extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; + /** Ordering of list. */ + orderBy?: string; + /** Maximum number of records to return. */ + top?: number; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; } /** Contains response data for the list operation. */ -export type ComputeListResponse = PaginatedComputeResourcesList; - -/** Optional parameters. */ -export interface ComputeGetOptionalParams extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type ComputeGetResponse = ComputeResource; +export type RegistryEnvironmentVersionsListResponse = + EnvironmentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComputeCreateOrUpdateOptionalParams +export interface RegistryEnvironmentVersionsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -7722,23 +11098,15 @@ export interface ComputeCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type ComputeCreateOrUpdateResponse = ComputeResource; - /** Optional parameters. */ -export interface ComputeUpdateOptionalParams - 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; -} +export interface RegistryEnvironmentVersionsGetOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the update operation. */ -export type ComputeUpdateResponse = ComputeResource; +/** Contains response data for the get operation. */ +export type RegistryEnvironmentVersionsGetResponse = EnvironmentVersion; /** Optional parameters. */ -export interface ComputeDeleteOptionalParams +export interface RegistryEnvironmentVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -7746,22 +11114,33 @@ export interface ComputeDeleteOptionalParams resumeFrom?: string; } +/** Contains response data for the createOrUpdate operation. */ +export type RegistryEnvironmentVersionsCreateOrUpdateResponse = + EnvironmentVersion; + /** Optional parameters. */ -export interface ComputeListNodesOptionalParams +export interface RegistryEnvironmentVersionsListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNodes operation. */ -export type ComputeListNodesResponse = AmlComputeNodesInformation; +/** Contains response data for the listNext operation. */ +export type RegistryEnvironmentVersionsListNextResponse = + EnvironmentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComputeListKeysOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryModelContainersListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; +} -/** Contains response data for the listKeys operation. */ -export type ComputeListKeysResponse = ComputeSecretsUnion; +/** Contains response data for the list operation. */ +export type RegistryModelContainersListResponse = + ModelContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComputeStartOptionalParams +export interface RegistryModelContainersDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -7770,15 +11149,14 @@ export interface ComputeStartOptionalParams } /** Optional parameters. */ -export interface ComputeStopOptionalParams 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; -} +export interface RegistryModelContainersGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type RegistryModelContainersGetResponse = ModelContainer; /** Optional parameters. */ -export interface ComputeRestartOptionalParams +export interface RegistryModelContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -7786,96 +11164,85 @@ export interface ComputeRestartOptionalParams resumeFrom?: string; } -/** Optional parameters. */ -export interface ComputeListNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; -} - -/** Contains response data for the listNext operation. */ -export type ComputeListNextResponse = PaginatedComputeResourcesList; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryModelContainersCreateOrUpdateResponse = ModelContainer; /** Optional parameters. */ -export interface ComputeListNodesNextOptionalParams +export interface RegistryModelContainersListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNodesNext operation. */ -export type ComputeListNodesNextResponse = AmlComputeNodesInformation; +/** Contains response data for the listNext operation. */ +export type RegistryModelContainersListNextResponse = + ModelContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface PrivateEndpointConnectionsListOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryModelVersionsListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Ordering of list. */ + orderBy?: string; + /** Maximum number of records to return. */ + top?: number; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; + /** Version identifier. */ + version?: string; + /** Model description. */ + description?: string; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; + /** Comma-separated list of property names (and optionally values). Example: prop1,prop2=value2 */ + properties?: string; +} /** Contains response data for the list operation. */ -export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult; - -/** Optional parameters. */ -export interface PrivateEndpointConnectionsGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection; +export type RegistryModelVersionsListResponse = + ModelVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the createOrUpdate operation. */ -export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection; - -/** Optional parameters. */ -export interface PrivateEndpointConnectionsDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryModelVersionsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface PrivateLinkResourcesListOptionalParams +export interface RegistryModelVersionsGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult; +/** Contains response data for the get operation. */ +export type RegistryModelVersionsGetResponse = ModelVersion; /** Optional parameters. */ -export interface WorkspaceConnectionsCreateOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryModelVersionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} -/** Contains response data for the create operation. */ -export type WorkspaceConnectionsCreateResponse = WorkspaceConnectionPropertiesV2BasicResource; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryModelVersionsCreateOrUpdateResponse = ModelVersion; /** Optional parameters. */ -export interface WorkspaceConnectionsGetOptionalParams +export interface RegistryModelVersionsCreateOrGetStartPendingUploadOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type WorkspaceConnectionsGetResponse = WorkspaceConnectionPropertiesV2BasicResource; +/** Contains response data for the createOrGetStartPendingUpload operation. */ +export type RegistryModelVersionsCreateOrGetStartPendingUploadResponse = + PendingUploadResponseDto; /** Optional parameters. */ -export interface WorkspaceConnectionsDeleteOptionalParams +export interface RegistryModelVersionsListNextOptionalParams extends coreClient.OperationOptions {} -/** Optional parameters. */ -export interface WorkspaceConnectionsListOptionalParams - extends coreClient.OperationOptions { - /** Target of the workspace connection. */ - target?: string; - /** Category of the workspace connection. */ - category?: string; -} - -/** Contains response data for the list operation. */ -export type WorkspaceConnectionsListResponse = WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; - -/** Optional parameters. */ -export interface WorkspaceConnectionsListNextOptionalParams - extends coreClient.OperationOptions { - /** Target of the workspace connection. */ - target?: string; - /** Category of the workspace connection. */ - category?: string; -} - /** Contains response data for the listNext operation. */ -export type WorkspaceConnectionsListNextResponse = WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; +export type RegistryModelVersionsListNextResponse = + ModelVersionResourceArmPaginatedResult; /** Optional parameters. */ export interface BatchEndpointsListOptionalParams @@ -7887,7 +11254,8 @@ export interface BatchEndpointsListOptionalParams } /** Contains response data for the list operation. */ -export type BatchEndpointsListResponse = BatchEndpointTrackedResourceArmPaginatedResult; +export type BatchEndpointsListResponse = + BatchEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ export interface BatchEndpointsDeleteOptionalParams @@ -7938,15 +11306,11 @@ export type BatchEndpointsListKeysResponse = EndpointAuthKeys; /** Optional parameters. */ export interface BatchEndpointsListNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Number of endpoints to be retrieved in a page of results. */ - count?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type BatchEndpointsListNextResponse = BatchEndpointTrackedResourceArmPaginatedResult; +export type BatchEndpointsListNextResponse = + BatchEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ export interface BatchDeploymentsListOptionalParams @@ -7960,7 +11324,8 @@ export interface BatchDeploymentsListOptionalParams } /** Contains response data for the list operation. */ -export type BatchDeploymentsListResponse = BatchDeploymentTrackedResourceArmPaginatedResult; +export type BatchDeploymentsListResponse = + BatchDeploymentTrackedResourceArmPaginatedResult; /** Optional parameters. */ export interface BatchDeploymentsDeleteOptionalParams @@ -8004,17 +11369,11 @@ export type BatchDeploymentsCreateOrUpdateResponse = BatchDeployment; /** Optional parameters. */ export interface BatchDeploymentsListNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Top of list. */ - top?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type BatchDeploymentsListNextResponse = BatchDeploymentTrackedResourceArmPaginatedResult; +export type BatchDeploymentsListNextResponse = + BatchDeploymentTrackedResourceArmPaginatedResult; /** Optional parameters. */ export interface CodeContainersListOptionalParams @@ -8024,7 +11383,8 @@ export interface CodeContainersListOptionalParams } /** Contains response data for the list operation. */ -export type CodeContainersListResponse = CodeContainerResourceArmPaginatedResult; +export type CodeContainersListResponse = + CodeContainerResourceArmPaginatedResult; /** Optional parameters. */ export interface CodeContainersDeleteOptionalParams @@ -8046,13 +11406,11 @@ export type CodeContainersCreateOrUpdateResponse = CodeContainer; /** Optional parameters. */ export interface CodeContainersListNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type CodeContainersListNextResponse = CodeContainerResourceArmPaginatedResult; +export type CodeContainersListNextResponse = + CodeContainerResourceArmPaginatedResult; /** Optional parameters. */ export interface CodeVersionsListOptionalParams @@ -8063,6 +11421,10 @@ export interface CodeVersionsListOptionalParams orderBy?: string; /** Maximum number of records to return. */ top?: number; + /** If specified, return CodeVersion assets with specified content hash value, regardless of name */ + hash?: string; + /** Hash algorithm version when listing by hash */ + hashVersion?: string; } /** Contains response data for the list operation. */ @@ -8087,18 +11449,29 @@ export interface CodeVersionsCreateOrUpdateOptionalParams export type CodeVersionsCreateOrUpdateResponse = CodeVersion; /** Optional parameters. */ -export interface CodeVersionsListNextOptionalParams +export interface CodeVersionsPublishOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Maximum number of records to return. */ - top?: number; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } +/** Optional parameters. */ +export interface CodeVersionsCreateOrGetStartPendingUploadOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrGetStartPendingUpload operation. */ +export type CodeVersionsCreateOrGetStartPendingUploadResponse = + PendingUploadResponseDto; + +/** Optional parameters. */ +export interface CodeVersionsListNextOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the listNext operation. */ -export type CodeVersionsListNextResponse = CodeVersionResourceArmPaginatedResult; +export type CodeVersionsListNextResponse = + CodeVersionResourceArmPaginatedResult; /** Optional parameters. */ export interface ComponentContainersListOptionalParams @@ -8110,7 +11483,8 @@ export interface ComponentContainersListOptionalParams } /** Contains response data for the list operation. */ -export type ComponentContainersListResponse = ComponentContainerResourceArmPaginatedResult; +export type ComponentContainersListResponse = + ComponentContainerResourceArmPaginatedResult; /** Optional parameters. */ export interface ComponentContainersDeleteOptionalParams @@ -8132,15 +11506,11 @@ export type ComponentContainersCreateOrUpdateResponse = ComponentContainer; /** Optional parameters. */ export interface ComponentContainersListNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type ComponentContainersListNextResponse = ComponentContainerResourceArmPaginatedResult; +export type ComponentContainersListNextResponse = + ComponentContainerResourceArmPaginatedResult; /** Optional parameters. */ export interface ComponentVersionsListOptionalParams @@ -8156,7 +11526,8 @@ export interface ComponentVersionsListOptionalParams } /** Contains response data for the list operation. */ -export type ComponentVersionsListResponse = ComponentVersionResourceArmPaginatedResult; +export type ComponentVersionsListResponse = + ComponentVersionResourceArmPaginatedResult; /** Optional parameters. */ export interface ComponentVersionsDeleteOptionalParams @@ -8177,20 +11548,21 @@ export interface ComponentVersionsCreateOrUpdateOptionalParams export type ComponentVersionsCreateOrUpdateResponse = ComponentVersion; /** Optional parameters. */ -export interface ComponentVersionsListNextOptionalParams +export interface ComponentVersionsPublishOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Maximum number of records to return. */ - top?: number; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } +/** Optional parameters. */ +export interface ComponentVersionsListNextOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the listNext operation. */ -export type ComponentVersionsListNextResponse = ComponentVersionResourceArmPaginatedResult; +export type ComponentVersionsListNextResponse = + ComponentVersionResourceArmPaginatedResult; /** Optional parameters. */ export interface DataContainersListOptionalParams @@ -8202,7 +11574,8 @@ export interface DataContainersListOptionalParams } /** Contains response data for the list operation. */ -export type DataContainersListResponse = DataContainerResourceArmPaginatedResult; +export type DataContainersListResponse = + DataContainerResourceArmPaginatedResult; /** Optional parameters. */ export interface DataContainersDeleteOptionalParams @@ -8224,15 +11597,11 @@ export type DataContainersCreateOrUpdateResponse = DataContainer; /** Optional parameters. */ export interface DataContainersListNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type DataContainersListNextResponse = DataContainerResourceArmPaginatedResult; +export type DataContainersListNextResponse = + DataContainerResourceArmPaginatedResult; /** Optional parameters. */ export interface DataVersionsListOptionalParams @@ -8253,7 +11622,8 @@ export interface DataVersionsListOptionalParams } /** Contains response data for the list operation. */ -export type DataVersionsListResponse = DataVersionBaseResourceArmPaginatedResult; +export type DataVersionsListResponse = + DataVersionBaseResourceArmPaginatedResult; /** Optional parameters. */ export interface DataVersionsDeleteOptionalParams @@ -8274,25 +11644,21 @@ export interface DataVersionsCreateOrUpdateOptionalParams export type DataVersionsCreateOrUpdateResponse = DataVersionBase; /** Optional parameters. */ -export interface DataVersionsListNextOptionalParams +export interface DataVersionsPublishOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Please choose OrderBy value from ['createdtime', 'modifiedtime'] */ - orderBy?: string; - /** - * Top count of results, top count cannot be greater than the page size. - * If topCount > page size, results with be default page size count will be returned - */ - top?: number; - /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; - /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ - tags?: string; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } +/** Optional parameters. */ +export interface DataVersionsListNextOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the listNext operation. */ -export type DataVersionsListNextResponse = DataVersionBaseResourceArmPaginatedResult; +export type DataVersionsListNextResponse = + DataVersionBaseResourceArmPaginatedResult; /** Optional parameters. */ export interface DatastoresListOptionalParams @@ -8345,118 +11711,396 @@ export interface DatastoresListSecretsOptionalParams export type DatastoresListSecretsResponse = DatastoreSecretsUnion; /** Optional parameters. */ -export interface DatastoresListNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Maximum number of results to return. */ - count?: number; - /** Filter down to the workspace default datastore. */ - isDefault?: boolean; - /** Names of datastores to return. */ - names?: string[]; - /** Text to search for in the datastore names. */ - searchText?: string; - /** Order by property (createdtime | modifiedtime | name). */ - orderBy?: string; - /** Order by property in ascending order. */ - orderByAsc?: boolean; -} +export interface DatastoresListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type DatastoresListNextResponse = DatastoreResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface EnvironmentContainersListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; +} + +/** Contains response data for the list operation. */ +export type EnvironmentContainersListResponse = + EnvironmentContainerResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface EnvironmentContainersDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface EnvironmentContainersGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type EnvironmentContainersGetResponse = EnvironmentContainer; + +/** Optional parameters. */ +export interface EnvironmentContainersCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type EnvironmentContainersCreateOrUpdateResponse = EnvironmentContainer; + +/** Optional parameters. */ +export interface EnvironmentContainersListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type EnvironmentContainersListNextResponse = + EnvironmentContainerResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface EnvironmentVersionsListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Ordering of list. */ + orderBy?: string; + /** Maximum number of records to return. */ + top?: number; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; +} + +/** Contains response data for the list operation. */ +export type EnvironmentVersionsListResponse = + EnvironmentVersionResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface EnvironmentVersionsDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface EnvironmentVersionsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type EnvironmentVersionsGetResponse = EnvironmentVersion; + +/** Optional parameters. */ +export interface EnvironmentVersionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type EnvironmentVersionsCreateOrUpdateResponse = EnvironmentVersion; + +/** Optional parameters. */ +export interface EnvironmentVersionsPublishOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface EnvironmentVersionsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type EnvironmentVersionsListNextResponse = + EnvironmentVersionResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface FeaturesetContainersListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; + /** description for the feature set */ + description?: string; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; + /** page size */ + pageSize?: number; + /** name for the featureset */ + name?: string; + /** createdBy user name */ + createdBy?: string; +} + +/** Contains response data for the list operation. */ +export type FeaturesetContainersListResponse = + FeaturesetContainerResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface FeaturesetContainersDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface FeaturesetContainersGetEntityOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the getEntity operation. */ +export type FeaturesetContainersGetEntityResponse = FeaturesetContainer; + +/** Optional parameters. */ +export interface FeaturesetContainersCreateOrUpdateOptionalParams + 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 FeaturesetContainersCreateOrUpdateResponse = FeaturesetContainer; + +/** Optional parameters. */ +export interface FeaturesetContainersListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type FeaturesetContainersListNextResponse = + FeaturesetContainerResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface FeaturesListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; + /** Description of the featureset. */ + description?: string; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; + /** feature name. */ + featureName?: string; + /** Page size. */ + pageSize?: number; +} + +/** Contains response data for the list operation. */ +export type FeaturesListResponse = FeatureResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface FeaturesGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type FeaturesGetResponse = Feature; + +/** Optional parameters. */ +export interface FeaturesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type FeaturesListNextResponse = FeatureResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface FeaturesetVersionsListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; + /** featureset version */ + version?: string; + /** description for the feature set version */ + description?: string; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; + /** page size */ + pageSize?: number; + /** createdBy user name */ + createdBy?: string; + /** name for the featureset version */ + versionName?: string; + /** Specifies the featurestore stage */ + stage?: string; +} + +/** Contains response data for the list operation. */ +export type FeaturesetVersionsListResponse = + FeaturesetVersionResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface FeaturesetVersionsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface FeaturesetVersionsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type FeaturesetVersionsGetResponse = FeaturesetVersion; + +/** Optional parameters. */ +export interface FeaturesetVersionsCreateOrUpdateOptionalParams + 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 FeaturesetVersionsCreateOrUpdateResponse = FeaturesetVersion; + +/** Optional parameters. */ +export interface FeaturesetVersionsBackfillOptionalParams + 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 backfill operation. */ +export type FeaturesetVersionsBackfillResponse = + FeaturesetVersionBackfillResponse; + +/** Optional parameters. */ +export interface FeaturesetVersionsListNextOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type DatastoresListNextResponse = DatastoreResourceArmPaginatedResult; +export type FeaturesetVersionsListNextResponse = + FeaturesetVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface EnvironmentContainersListOptionalParams +export interface FeaturestoreEntityContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** View type for including/excluding (for example) archived entities. */ + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ listViewType?: ListViewType; + /** description for the featurestore entity */ + description?: string; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; + /** page size */ + pageSize?: number; + /** name for the featurestore entity */ + name?: string; + /** createdBy user name */ + createdBy?: string; } /** Contains response data for the list operation. */ -export type EnvironmentContainersListResponse = EnvironmentContainerResourceArmPaginatedResult; +export type FeaturestoreEntityContainersListResponse = + FeaturestoreEntityContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface EnvironmentContainersDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface FeaturestoreEntityContainersDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface EnvironmentContainersGetOptionalParams +export interface FeaturestoreEntityContainersGetEntityOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type EnvironmentContainersGetResponse = EnvironmentContainer; +/** Contains response data for the getEntity operation. */ +export type FeaturestoreEntityContainersGetEntityResponse = + FeaturestoreEntityContainer; /** Optional parameters. */ -export interface EnvironmentContainersCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface FeaturestoreEntityContainersCreateOrUpdateOptionalParams + 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 EnvironmentContainersCreateOrUpdateResponse = EnvironmentContainer; +export type FeaturestoreEntityContainersCreateOrUpdateResponse = + FeaturestoreEntityContainer; /** Optional parameters. */ -export interface EnvironmentContainersListNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; -} +export interface FeaturestoreEntityContainersListNextOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type EnvironmentContainersListNextResponse = EnvironmentContainerResourceArmPaginatedResult; +export type FeaturestoreEntityContainersListNextResponse = + FeaturestoreEntityContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface EnvironmentVersionsListOptionalParams +export interface FeaturestoreEntityVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Maximum number of records to return. */ - top?: number; - /** View type for including/excluding (for example) archived entities. */ + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ listViewType?: ListViewType; + /** featurestore entity version */ + version?: string; + /** description for the feature entity version */ + description?: string; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; + /** page size */ + pageSize?: number; + /** createdBy user name */ + createdBy?: string; + /** name for the featurestore entity version */ + versionName?: string; + /** Specifies the featurestore stage */ + stage?: string; } /** Contains response data for the list operation. */ -export type EnvironmentVersionsListResponse = EnvironmentVersionResourceArmPaginatedResult; +export type FeaturestoreEntityVersionsListResponse = + FeaturestoreEntityVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface EnvironmentVersionsDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface FeaturestoreEntityVersionsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface EnvironmentVersionsGetOptionalParams +export interface FeaturestoreEntityVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type EnvironmentVersionsGetResponse = EnvironmentVersion; +export type FeaturestoreEntityVersionsGetResponse = FeaturestoreEntityVersion; /** Optional parameters. */ -export interface EnvironmentVersionsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface FeaturestoreEntityVersionsCreateOrUpdateOptionalParams + 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 EnvironmentVersionsCreateOrUpdateResponse = EnvironmentVersion; +export type FeaturestoreEntityVersionsCreateOrUpdateResponse = + FeaturestoreEntityVersion; /** Optional parameters. */ -export interface EnvironmentVersionsListNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Maximum number of records to return. */ - top?: number; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; -} +export interface FeaturestoreEntityVersionsListNextOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type EnvironmentVersionsListNextResponse = EnvironmentVersionResourceArmPaginatedResult; +export type FeaturestoreEntityVersionsListNextResponse = + FeaturestoreEntityVersionResourceArmPaginatedResult; /** Optional parameters. */ export interface JobsListOptionalParams extends coreClient.OperationOptions { @@ -8464,6 +12108,8 @@ export interface JobsListOptionalParams extends coreClient.OperationOptions { skip?: string; /** View type for including/excluding (for example) archived entities. */ listViewType?: ListViewType; + /** Comma-separated list of user property names (and optionally values). Example: prop1,prop2=value2 */ + properties?: string; /** Type of job to be returned. */ jobType?: string; /** Jobs returned will have this tag key. */ @@ -8504,16 +12150,7 @@ export interface JobsCancelOptionalParams extends coreClient.OperationOptions { /** Optional parameters. */ export interface JobsListNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; - /** Type of job to be returned. */ - jobType?: string; - /** Jobs returned will have this tag key. */ - tag?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type JobsListNextResponse = JobBaseResourceArmPaginatedResult; @@ -8523,14 +12160,15 @@ export interface ModelContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Maximum number of results to return. */ - count?: number; /** View type for including/excluding (for example) archived entities. */ listViewType?: ListViewType; + /** Maximum number of results to return. */ + count?: number; } /** Contains response data for the list operation. */ -export type ModelContainersListResponse = ModelContainerResourceArmPaginatedResult; +export type ModelContainersListResponse = + ModelContainerResourceArmPaginatedResult; /** Optional parameters. */ export interface ModelContainersDeleteOptionalParams @@ -8552,17 +12190,11 @@ export type ModelContainersCreateOrUpdateResponse = ModelContainer; /** Optional parameters. */ export interface ModelContainersListNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Maximum number of results to return. */ - count?: number; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type ModelContainersListNextResponse = ModelContainerResourceArmPaginatedResult; +export type ModelContainersListNextResponse = + ModelContainerResourceArmPaginatedResult; /** Optional parameters. */ export interface ModelVersionsListOptionalParams @@ -8579,12 +12211,12 @@ export interface ModelVersionsListOptionalParams version?: string; /** Model description. */ description?: string; - /** Number of initial results to skip. */ - offset?: number; /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ tags?: string; /** Comma-separated list of property names (and optionally values). Example: prop1,prop2=value2 */ properties?: string; + /** Number of initial results to skip. */ + offset?: number; /** Name of the feed. */ feed?: string; } @@ -8611,44 +12243,33 @@ export interface ModelVersionsCreateOrUpdateOptionalParams export type ModelVersionsCreateOrUpdateResponse = ModelVersion; /** Optional parameters. */ -export interface ModelVersionsListNextOptionalParams +export interface ModelVersionsPublishOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Maximum number of records to return. */ - top?: number; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; - /** Model version. */ - version?: string; - /** Model description. */ - description?: string; - /** Number of initial results to skip. */ - offset?: number; - /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ - tags?: string; - /** Comma-separated list of property names (and optionally values). Example: prop1,prop2=value2 */ - properties?: string; - /** Name of the feed. */ - feed?: string; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } +/** Optional parameters. */ +export interface ModelVersionsListNextOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the listNext operation. */ -export type ModelVersionsListNextResponse = ModelVersionResourceArmPaginatedResult; +export type ModelVersionsListNextResponse = + ModelVersionResourceArmPaginatedResult; /** Optional parameters. */ export interface OnlineEndpointsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Number of endpoints to be retrieved in a page of results. */ - count?: number; /** A set of tags with which to filter the returned models. It is a comma separated string of tags key or tags key=value. Example: tagKey1,tagKey2,tagKey3=value3 . */ tags?: string; /** A set of properties with which to filter the returned models. It is a comma separated string of properties key and/or properties key=value Example: propKey1,propKey2,propKey3=value3 . */ properties?: string; + /** Number of endpoints to be retrieved in a page of results. */ + count?: number; /** Name of the endpoint. */ name?: string; /** EndpointComputeType to be filtered by. */ @@ -8658,7 +12279,8 @@ export interface OnlineEndpointsListOptionalParams } /** Contains response data for the list operation. */ -export type OnlineEndpointsListResponse = OnlineEndpointTrackedResourceArmPaginatedResult; +export type OnlineEndpointsListResponse = + OnlineEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ export interface OnlineEndpointsDeleteOptionalParams @@ -8725,25 +12347,11 @@ export type OnlineEndpointsGetTokenResponse = EndpointAuthToken; /** Optional parameters. */ export interface OnlineEndpointsListNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Number of endpoints to be retrieved in a page of results. */ - count?: number; - /** A set of tags with which to filter the returned models. It is a comma separated string of tags key or tags key=value. Example: tagKey1,tagKey2,tagKey3=value3 . */ - tags?: string; - /** A set of properties with which to filter the returned models. It is a comma separated string of properties key and/or properties key=value Example: propKey1,propKey2,propKey3=value3 . */ - properties?: string; - /** Name of the endpoint. */ - name?: string; - /** EndpointComputeType to be filtered by. */ - computeType?: EndpointComputeType; - /** The option to order the response. */ - orderBy?: OrderString; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type OnlineEndpointsListNextResponse = OnlineEndpointTrackedResourceArmPaginatedResult; +export type OnlineEndpointsListNextResponse = + OnlineEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ export interface OnlineDeploymentsListOptionalParams @@ -8757,7 +12365,8 @@ export interface OnlineDeploymentsListOptionalParams } /** Contains response data for the list operation. */ -export type OnlineDeploymentsListResponse = OnlineDeploymentTrackedResourceArmPaginatedResult; +export type OnlineDeploymentsListResponse = + OnlineDeploymentTrackedResourceArmPaginatedResult; /** Optional parameters. */ export interface OnlineDeploymentsDeleteOptionalParams @@ -8820,29 +12429,19 @@ export type OnlineDeploymentsListSkusResponse = SkuResourceArmPaginatedResult; /** Optional parameters. */ export interface OnlineDeploymentsListNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Top of list. */ - top?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type OnlineDeploymentsListNextResponse = OnlineDeploymentTrackedResourceArmPaginatedResult; +export type OnlineDeploymentsListNextResponse = + OnlineDeploymentTrackedResourceArmPaginatedResult; /** Optional parameters. */ export interface OnlineDeploymentsListSkusNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Number of Skus to be retrieved in a page of results. */ - count?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listSkusNext operation. */ -export type OnlineDeploymentsListSkusNextResponse = SkuResourceArmPaginatedResult; +export type OnlineDeploymentsListSkusNextResponse = + SkuResourceArmPaginatedResult; /** Optional parameters. */ export interface SchedulesListOptionalParams @@ -8886,15 +12485,88 @@ export type SchedulesCreateOrUpdateResponse = Schedule; /** Optional parameters. */ export interface SchedulesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type SchedulesListNextResponse = ScheduleResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistriesListBySubscriptionOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listBySubscription operation. */ +export type RegistriesListBySubscriptionResponse = + RegistryTrackedResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistriesListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type RegistriesListResponse = RegistryTrackedResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistriesDeleteOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Status filter for schedule. */ - listViewType?: ScheduleListViewType; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface RegistriesGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type RegistriesGetResponse = Registry; + +/** Optional parameters. */ +export interface RegistriesUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the update operation. */ +export type RegistriesUpdateResponse = Registry; + +/** Optional parameters. */ +export interface RegistriesCreateOrUpdateOptionalParams + 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 RegistriesCreateOrUpdateResponse = Registry; + +/** Optional parameters. */ +export interface RegistriesRemoveRegionsOptionalParams + 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 removeRegions operation. */ +export type RegistriesRemoveRegionsResponse = Registry; + +/** Optional parameters. */ +export interface RegistriesListBySubscriptionNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listBySubscriptionNext operation. */ +export type RegistriesListBySubscriptionNextResponse = + RegistryTrackedResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistriesListNextOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the listNext operation. */ -export type SchedulesListNextResponse = ScheduleResourceArmPaginatedResult; +export type RegistriesListNextResponse = + RegistryTrackedResourceArmPaginatedResult; /** Optional parameters. */ export interface WorkspaceFeaturesListOptionalParams @@ -8911,7 +12583,7 @@ export interface WorkspaceFeaturesListNextOptionalParams export type WorkspaceFeaturesListNextResponse = ListAmlUserFeatureResult; /** Optional parameters. */ -export interface AzureMachineLearningWorkspacesOptionalParams +export interface AzureMachineLearningServicesOptionalParams extends coreClient.ServiceClientOptions { /** server parameter */ $host?: string; diff --git a/sdk/machinelearning/arm-machinelearning/src/models/mappers.ts b/sdk/machinelearning/arm-machinelearning/src/models/mappers.ts index ef591872516f..192256d20df8 100644 --- a/sdk/machinelearning/arm-machinelearning/src/models/mappers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/models/mappers.ts @@ -8,86 +8,114 @@ import * as coreClient from "@azure/core-client"; -export const AmlOperationListResult: coreClient.CompositeMapper = { +export const OperationListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlOperationListResult", + className: "OperationListResult", modelProperties: { value: { serializedName: "value", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "AmlOperation" - } - } - } - } - } - } + className: "Operation", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const AmlOperation: coreClient.CompositeMapper = { +export const Operation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlOperation", + className: "Operation", modelProperties: { name: { serializedName: "name", + readOnly: true, + type: { + name: "String", + }, + }, + isDataAction: { + serializedName: "isDataAction", + readOnly: true, type: { - name: "String" - } + name: "Boolean", + }, }, display: { serializedName: "display", type: { name: "Composite", - className: "AmlOperationDisplay" - } + className: "OperationDisplay", + }, }, - isDataAction: { - serializedName: "isDataAction", + origin: { + serializedName: "origin", + readOnly: true, + type: { + name: "String", + }, + }, + actionType: { + serializedName: "actionType", + readOnly: true, type: { - name: "Boolean" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const AmlOperationDisplay: coreClient.CompositeMapper = { +export const OperationDisplay: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlOperationDisplay", + className: "OperationDisplay", modelProperties: { provider: { serializedName: "provider", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, resource: { serializedName: "resource", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, operation: { serializedName: "operation", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, description: { serializedName: "description", + readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ErrorResponse: coreClient.CompositeMapper = { @@ -99,11 +127,11 @@ export const ErrorResponse: coreClient.CompositeMapper = { serializedName: "error", type: { name: "Composite", - className: "ErrorDetail" - } - } - } - } + className: "ErrorDetail", + }, + }, + }, + }, }; export const ErrorDetail: coreClient.CompositeMapper = { @@ -115,22 +143,22 @@ export const ErrorDetail: coreClient.CompositeMapper = { serializedName: "code", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, message: { serializedName: "message", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, target: { serializedName: "target", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, details: { serializedName: "details", @@ -140,10 +168,10 @@ export const ErrorDetail: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ErrorDetail" - } - } - } + className: "ErrorDetail", + }, + }, + }, }, additionalInfo: { serializedName: "additionalInfo", @@ -153,13 +181,13 @@ export const ErrorDetail: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ErrorAdditionalInfo" - } - } - } - } - } - } + className: "ErrorAdditionalInfo", + }, + }, + }, + }, + }, + }, }; export const ErrorAdditionalInfo: coreClient.CompositeMapper = { @@ -171,19 +199,19 @@ export const ErrorAdditionalInfo: coreClient.CompositeMapper = { serializedName: "type", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, info: { serializedName: "info", readOnly: true, type: { name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } + value: { type: { name: "any" } }, + }, + }, + }, + }, }; export const EncryptionProperty: coreClient.CompositeMapper = { @@ -195,25 +223,25 @@ export const EncryptionProperty: coreClient.CompositeMapper = { serializedName: "status", required: true, type: { - name: "String" - } + name: "String", + }, }, identity: { serializedName: "identity", type: { name: "Composite", - className: "IdentityForCmk" - } + className: "IdentityForCmk", + }, }, keyVaultProperties: { serializedName: "keyVaultProperties", type: { name: "Composite", - className: "EncryptionKeyVaultProperties" - } - } - } - } + className: "EncryptionKeyVaultProperties", + }, + }, + }, + }, }; export const IdentityForCmk: coreClient.CompositeMapper = { @@ -224,11 +252,11 @@ export const IdentityForCmk: coreClient.CompositeMapper = { userAssignedIdentity: { serializedName: "userAssignedIdentity", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const EncryptionKeyVaultProperties: coreClient.CompositeMapper = { @@ -240,24 +268,24 @@ export const EncryptionKeyVaultProperties: coreClient.CompositeMapper = { serializedName: "keyVaultArmId", required: true, type: { - name: "String" - } + name: "String", + }, }, keyIdentifier: { serializedName: "keyIdentifier", required: true, type: { - name: "String" - } + name: "String", + }, }, identityClientId: { serializedName: "identityClientId", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const PrivateEndpoint: coreClient.CompositeMapper = { @@ -269,18 +297,11 @@ export const PrivateEndpoint: coreClient.CompositeMapper = { serializedName: "id", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - subnetArmId: { - serializedName: "subnetArmId", - readOnly: true, - type: { - name: "String" - } - } - } - } + }, + }, }; export const PrivateLinkServiceConnectionState: coreClient.CompositeMapper = { @@ -291,23 +312,23 @@ export const PrivateLinkServiceConnectionState: coreClient.CompositeMapper = { status: { serializedName: "status", type: { - name: "String" - } + name: "String", + }, }, description: { serializedName: "description", type: { - name: "String" - } + name: "String", + }, }, actionsRequired: { serializedName: "actionsRequired", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ManagedServiceIdentity: coreClient.CompositeMapper = { @@ -319,34 +340,34 @@ export const ManagedServiceIdentity: coreClient.CompositeMapper = { serializedName: "principalId", readOnly: true, type: { - name: "Uuid" - } + name: "Uuid", + }, }, tenantId: { serializedName: "tenantId", readOnly: true, type: { - name: "Uuid" - } + name: "Uuid", + }, }, type: { serializedName: "type", required: true, type: { - name: "String" - } + name: "String", + }, }, userAssignedIdentities: { serializedName: "userAssignedIdentities", type: { name: "Dictionary", value: { - type: { name: "Composite", className: "UserAssignedIdentity" } - } - } - } - } - } + type: { name: "Composite", className: "UserAssignedIdentity" }, + }, + }, + }, + }, + }, }; export const UserAssignedIdentity: coreClient.CompositeMapper = { @@ -358,18 +379,18 @@ export const UserAssignedIdentity: coreClient.CompositeMapper = { serializedName: "principalId", readOnly: true, type: { - name: "Uuid" - } + name: "Uuid", + }, }, clientId: { serializedName: "clientId", readOnly: true, type: { - name: "Uuid" - } - } - } - } + name: "Uuid", + }, + }, + }, + }, }; export const Sku: coreClient.CompositeMapper = { @@ -381,36 +402,36 @@ export const Sku: coreClient.CompositeMapper = { serializedName: "name", required: true, type: { - name: "String" - } + name: "String", + }, }, tier: { serializedName: "tier", type: { name: "Enum", - allowedValues: ["Free", "Basic", "Standard", "Premium"] - } + allowedValues: ["Free", "Basic", "Standard", "Premium"], + }, }, size: { serializedName: "size", type: { - name: "String" - } + name: "String", + }, }, family: { serializedName: "family", type: { - name: "String" - } + name: "String", + }, }, capacity: { serializedName: "capacity", type: { - name: "Number" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; export const Resource: coreClient.CompositeMapper = { @@ -422,32 +443,32 @@ export const Resource: coreClient.CompositeMapper = { serializedName: "id", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, name: { serializedName: "name", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, type: { serializedName: "type", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, systemData: { serializedName: "systemData", type: { name: "Composite", - className: "SystemData" - } - } - } - } + className: "SystemData", + }, + }, + }, + }, }; export const SystemData: coreClient.CompositeMapper = { @@ -458,41 +479,62 @@ export const SystemData: coreClient.CompositeMapper = { createdBy: { serializedName: "createdBy", type: { - name: "String" - } + name: "String", + }, }, createdByType: { serializedName: "createdByType", type: { - name: "String" - } + name: "String", + }, }, createdAt: { serializedName: "createdAt", type: { - name: "DateTime" - } + name: "DateTime", + }, }, lastModifiedBy: { serializedName: "lastModifiedBy", type: { - name: "String" - } + name: "String", + }, }, lastModifiedByType: { serializedName: "lastModifiedByType", type: { - name: "String" - } + name: "String", + }, }, lastModifiedAt: { serializedName: "lastModifiedAt", type: { - name: "DateTime" - } - } - } - } + name: "DateTime", + }, + }, + }, + }, +}; + +export const ServerlessComputeSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ServerlessComputeSettings", + modelProperties: { + serverlessComputeCustomSubnet: { + serializedName: "serverlessComputeCustomSubnet", + type: { + name: "String", + }, + }, + serverlessComputeNoPublicIP: { + serializedName: "serverlessComputeNoPublicIP", + type: { + name: "Boolean", + }, + }, + }, + }, }; export const SharedPrivateLinkResource: coreClient.CompositeMapper = { @@ -503,35 +545,35 @@ export const SharedPrivateLinkResource: coreClient.CompositeMapper = { name: { serializedName: "name", type: { - name: "String" - } + name: "String", + }, }, privateLinkResourceId: { serializedName: "properties.privateLinkResourceId", type: { - name: "String" - } + name: "String", + }, }, groupId: { serializedName: "properties.groupId", type: { - name: "String" - } + name: "String", + }, }, requestMessage: { serializedName: "properties.requestMessage", type: { - name: "String" - } + name: "String", + }, }, status: { serializedName: "properties.status", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const NotebookResourceInfo: coreClient.CompositeMapper = { @@ -542,24 +584,24 @@ export const NotebookResourceInfo: coreClient.CompositeMapper = { fqdn: { serializedName: "fqdn", type: { - name: "String" - } + name: "String", + }, }, resourceId: { serializedName: "resourceId", type: { - name: "String" - } + name: "String", + }, }, notebookPreparationError: { serializedName: "notebookPreparationError", type: { name: "Composite", - className: "NotebookPreparationError" - } - } - } - } + className: "NotebookPreparationError", + }, + }, + }, + }, }; export const NotebookPreparationError: coreClient.CompositeMapper = { @@ -570,17 +612,17 @@ export const NotebookPreparationError: coreClient.CompositeMapper = { errorMessage: { serializedName: "errorMessage", type: { - name: "String" - } + name: "String", + }, }, statusCode: { serializedName: "statusCode", type: { - name: "Number" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; export const ServiceManagedResourcesSettings: coreClient.CompositeMapper = { @@ -592,11 +634,11 @@ export const ServiceManagedResourcesSettings: coreClient.CompositeMapper = { serializedName: "cosmosDb", type: { name: "Composite", - className: "CosmosDbSettings" - } - } - } - } + className: "CosmosDbSettings", + }, + }, + }, + }, }; export const CosmosDbSettings: coreClient.CompositeMapper = { @@ -607,11 +649,145 @@ export const CosmosDbSettings: coreClient.CompositeMapper = { collectionsThroughput: { serializedName: "collectionsThroughput", type: { - name: "Number" - } - } - } - } + name: "Number", + }, + }, + }, + }, +}; + +export const ManagedNetworkSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedNetworkSettings", + modelProperties: { + isolationMode: { + serializedName: "isolationMode", + type: { + name: "String", + }, + }, + networkId: { + serializedName: "networkId", + readOnly: true, + type: { + name: "String", + }, + }, + outboundRules: { + serializedName: "outboundRules", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "OutboundRule" } }, + }, + }, + status: { + serializedName: "status", + type: { + name: "Composite", + className: "ManagedNetworkProvisionStatus", + }, + }, + }, + }, +}; + +export const OutboundRule: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OutboundRule", + uberParent: "OutboundRule", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type", + }, + modelProperties: { + category: { + serializedName: "category", + type: { + name: "String", + }, + }, + status: { + serializedName: "status", + type: { + name: "String", + }, + }, + type: { + serializedName: "type", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ManagedNetworkProvisionStatus: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedNetworkProvisionStatus", + modelProperties: { + sparkReady: { + serializedName: "sparkReady", + type: { + name: "Boolean", + }, + }, + status: { + serializedName: "status", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const FeatureStoreSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeatureStoreSettings", + modelProperties: { + computeRuntime: { + serializedName: "computeRuntime", + type: { + name: "Composite", + className: "ComputeRuntimeDto", + }, + }, + offlineStoreConnectionName: { + serializedName: "offlineStoreConnectionName", + type: { + name: "String", + }, + }, + onlineStoreConnectionName: { + serializedName: "onlineStoreConnectionName", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ComputeRuntimeDto: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeRuntimeDto", + modelProperties: { + sparkRuntimeVersion: { + serializedName: "sparkRuntimeVersion", + type: { + name: "String", + }, + }, + }, + }, }; export const WorkspaceUpdateParameters: coreClient.CompositeMapper = { @@ -623,74 +799,88 @@ export const WorkspaceUpdateParameters: coreClient.CompositeMapper = { serializedName: "tags", type: { name: "Dictionary", - value: { type: { name: "String" } } - } + value: { type: { name: "String" } }, + }, }, sku: { serializedName: "sku", type: { name: "Composite", - className: "Sku" - } + className: "Sku", + }, }, identity: { serializedName: "identity", type: { name: "Composite", - className: "ManagedServiceIdentity" - } + className: "ManagedServiceIdentity", + }, }, description: { serializedName: "properties.description", type: { - name: "String" - } + name: "String", + }, }, friendlyName: { serializedName: "properties.friendlyName", type: { - name: "String" - } + name: "String", + }, }, imageBuildCompute: { serializedName: "properties.imageBuildCompute", type: { - name: "String" - } + name: "String", + }, }, serviceManagedResourcesSettings: { serializedName: "properties.serviceManagedResourcesSettings", type: { name: "Composite", - className: "ServiceManagedResourcesSettings" - } + className: "ServiceManagedResourcesSettings", + }, }, primaryUserAssignedIdentity: { serializedName: "properties.primaryUserAssignedIdentity", type: { - name: "String" - } + name: "String", + }, + }, + serverlessComputeSettings: { + serializedName: "properties.serverlessComputeSettings", + type: { + name: "Composite", + className: "ServerlessComputeSettings", + }, }, publicNetworkAccess: { serializedName: "properties.publicNetworkAccess", type: { - name: "String" - } + name: "String", + }, }, applicationInsights: { serializedName: "properties.applicationInsights", type: { - name: "String" - } + name: "String", + }, }, containerRegistry: { serializedName: "properties.containerRegistry", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + featureStoreSettings: { + serializedName: "properties.featureStoreSettings", + type: { + name: "Composite", + className: "FeatureStoreSettings", + }, + }, + }, + }, }; export const WorkspaceListResult: coreClient.CompositeMapper = { @@ -705,19 +895,19 @@ export const WorkspaceListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Workspace" - } - } - } + className: "Workspace", + }, + }, + }, }, nextLink: { serializedName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const DiagnoseWorkspaceParameters: coreClient.CompositeMapper = { @@ -729,11 +919,11 @@ export const DiagnoseWorkspaceParameters: coreClient.CompositeMapper = { serializedName: "value", type: { name: "Composite", - className: "DiagnoseRequestProperties" - } - } - } - } + className: "DiagnoseRequestProperties", + }, + }, + }, + }, }; export const DiagnoseRequestProperties: coreClient.CompositeMapper = { @@ -746,84 +936,84 @@ export const DiagnoseRequestProperties: coreClient.CompositeMapper = { type: { name: "Dictionary", value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, }, nsg: { serializedName: "nsg", type: { name: "Dictionary", value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, }, resourceLock: { serializedName: "resourceLock", type: { name: "Dictionary", value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, }, dnsResolution: { serializedName: "dnsResolution", type: { name: "Dictionary", value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, }, storageAccount: { serializedName: "storageAccount", type: { name: "Dictionary", value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, }, keyVault: { serializedName: "keyVault", type: { name: "Dictionary", value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, }, containerRegistry: { serializedName: "containerRegistry", type: { name: "Dictionary", value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, }, applicationInsights: { serializedName: "applicationInsights", type: { name: "Dictionary", value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, }, others: { serializedName: "others", type: { name: "Dictionary", value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } - } - } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, + }, + }, + }, }; export const DiagnoseResponseResult: coreClient.CompositeMapper = { @@ -835,11 +1025,11 @@ export const DiagnoseResponseResult: coreClient.CompositeMapper = { serializedName: "value", type: { name: "Composite", - className: "DiagnoseResponseResultValue" - } - } - } - } + className: "DiagnoseResponseResultValue", + }, + }, + }, + }, }; export const DiagnoseResponseResultValue: coreClient.CompositeMapper = { @@ -854,10 +1044,10 @@ export const DiagnoseResponseResultValue: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DiagnoseResult" - } - } - } + className: "DiagnoseResult", + }, + }, + }, }, networkSecurityRuleResults: { serializedName: "networkSecurityRuleResults", @@ -866,10 +1056,10 @@ export const DiagnoseResponseResultValue: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DiagnoseResult" - } - } - } + className: "DiagnoseResult", + }, + }, + }, }, resourceLockResults: { serializedName: "resourceLockResults", @@ -878,10 +1068,10 @@ export const DiagnoseResponseResultValue: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DiagnoseResult" - } - } - } + className: "DiagnoseResult", + }, + }, + }, }, dnsResolutionResults: { serializedName: "dnsResolutionResults", @@ -890,10 +1080,10 @@ export const DiagnoseResponseResultValue: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DiagnoseResult" - } - } - } + className: "DiagnoseResult", + }, + }, + }, }, storageAccountResults: { serializedName: "storageAccountResults", @@ -902,10 +1092,10 @@ export const DiagnoseResponseResultValue: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DiagnoseResult" - } - } - } + className: "DiagnoseResult", + }, + }, + }, }, keyVaultResults: { serializedName: "keyVaultResults", @@ -914,10 +1104,10 @@ export const DiagnoseResponseResultValue: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DiagnoseResult" - } - } - } + className: "DiagnoseResult", + }, + }, + }, }, containerRegistryResults: { serializedName: "containerRegistryResults", @@ -926,10 +1116,10 @@ export const DiagnoseResponseResultValue: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DiagnoseResult" - } - } - } + className: "DiagnoseResult", + }, + }, + }, }, applicationInsightsResults: { serializedName: "applicationInsightsResults", @@ -938,10 +1128,10 @@ export const DiagnoseResponseResultValue: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DiagnoseResult" - } - } - } + className: "DiagnoseResult", + }, + }, + }, }, otherResults: { serializedName: "otherResults", @@ -950,13 +1140,13 @@ export const DiagnoseResponseResultValue: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DiagnoseResult" - } - } - } - } - } - } + className: "DiagnoseResult", + }, + }, + }, + }, + }, + }, }; export const DiagnoseResult: coreClient.CompositeMapper = { @@ -968,25 +1158,25 @@ export const DiagnoseResult: coreClient.CompositeMapper = { serializedName: "code", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, level: { serializedName: "level", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, message: { serializedName: "message", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ListWorkspaceKeysResult: coreClient.CompositeMapper = { @@ -998,39 +1188,39 @@ export const ListWorkspaceKeysResult: coreClient.CompositeMapper = { serializedName: "userStorageKey", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, userStorageResourceId: { serializedName: "userStorageResourceId", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, appInsightsInstrumentationKey: { serializedName: "appInsightsInstrumentationKey", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, containerRegistryCredentials: { serializedName: "containerRegistryCredentials", type: { name: "Composite", - className: "RegistryListCredentialsResult" - } + className: "RegistryListCredentialsResult", + }, }, notebookAccessKeys: { serializedName: "notebookAccessKeys", type: { name: "Composite", - className: "ListNotebookKeysResult" - } - } - } - } + className: "ListNotebookKeysResult", + }, + }, + }, + }, }; export const RegistryListCredentialsResult: coreClient.CompositeMapper = { @@ -1042,15 +1232,15 @@ export const RegistryListCredentialsResult: coreClient.CompositeMapper = { serializedName: "location", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, username: { serializedName: "username", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, passwords: { serializedName: "passwords", @@ -1059,13 +1249,13 @@ export const RegistryListCredentialsResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Password" - } - } - } - } - } - } + className: "Password", + }, + }, + }, + }, + }, + }, }; export const Password: coreClient.CompositeMapper = { @@ -1077,18 +1267,18 @@ export const Password: coreClient.CompositeMapper = { serializedName: "name", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ListNotebookKeysResult: coreClient.CompositeMapper = { @@ -1100,18 +1290,18 @@ export const ListNotebookKeysResult: coreClient.CompositeMapper = { serializedName: "primaryAccessKey", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, secondaryAccessKey: { serializedName: "secondaryAccessKey", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ListUsagesResult: coreClient.CompositeMapper = { @@ -1127,20 +1317,20 @@ export const ListUsagesResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Usage" - } - } - } + className: "Usage", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const Usage: coreClient.CompositeMapper = { @@ -1152,53 +1342,53 @@ export const Usage: coreClient.CompositeMapper = { serializedName: "id", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, amlWorkspaceLocation: { serializedName: "amlWorkspaceLocation", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, type: { serializedName: "type", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, unit: { serializedName: "unit", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, currentValue: { serializedName: "currentValue", readOnly: true, type: { - name: "Number" - } + name: "Number", + }, }, limit: { serializedName: "limit", readOnly: true, type: { - name: "Number" - } + name: "Number", + }, }, name: { serializedName: "name", type: { name: "Composite", - className: "UsageName" - } - } - } - } + className: "UsageName", + }, + }, + }, + }, }; export const UsageName: coreClient.CompositeMapper = { @@ -1210,18 +1400,18 @@ export const UsageName: coreClient.CompositeMapper = { serializedName: "value", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, localizedValue: { serializedName: "localizedValue", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const VirtualMachineSizeListResult: coreClient.CompositeMapper = { @@ -1236,13 +1426,13 @@ export const VirtualMachineSizeListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "VirtualMachineSize" - } - } - } - } - } - } + className: "VirtualMachineSize", + }, + }, + }, + }, + }, + }, }; export const VirtualMachineSize: coreClient.CompositeMapper = { @@ -1254,71 +1444,71 @@ export const VirtualMachineSize: coreClient.CompositeMapper = { serializedName: "name", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, family: { serializedName: "family", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, vCPUs: { serializedName: "vCPUs", readOnly: true, type: { - name: "Number" - } + name: "Number", + }, }, gpus: { serializedName: "gpus", readOnly: true, type: { - name: "Number" - } + name: "Number", + }, }, osVhdSizeMB: { serializedName: "osVhdSizeMB", readOnly: true, type: { - name: "Number" - } + name: "Number", + }, }, maxResourceVolumeMB: { serializedName: "maxResourceVolumeMB", readOnly: true, type: { - name: "Number" - } + name: "Number", + }, }, memoryGB: { serializedName: "memoryGB", readOnly: true, type: { - name: "Number" - } + name: "Number", + }, }, lowPriorityCapable: { serializedName: "lowPriorityCapable", readOnly: true, type: { - name: "Boolean" - } + name: "Boolean", + }, }, premiumIO: { serializedName: "premiumIO", readOnly: true, type: { - name: "Boolean" - } + name: "Boolean", + }, }, estimatedVMPrices: { serializedName: "estimatedVMPrices", type: { name: "Composite", - className: "EstimatedVMPrices" - } + className: "EstimatedVMPrices", + }, }, supportedComputeTypes: { serializedName: "supportedComputeTypes", @@ -1326,13 +1516,13 @@ export const VirtualMachineSize: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, }; export const EstimatedVMPrices: coreClient.CompositeMapper = { @@ -1344,15 +1534,15 @@ export const EstimatedVMPrices: coreClient.CompositeMapper = { serializedName: "billingCurrency", required: true, type: { - name: "String" - } + name: "String", + }, }, unitOfMeasure: { serializedName: "unitOfMeasure", required: true, type: { - name: "String" - } + name: "String", + }, }, values: { serializedName: "values", @@ -1362,13 +1552,13 @@ export const EstimatedVMPrices: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "EstimatedVMPrice" - } - } - } - } - } - } + className: "EstimatedVMPrice", + }, + }, + }, + }, + }, + }, }; export const EstimatedVMPrice: coreClient.CompositeMapper = { @@ -1380,25 +1570,25 @@ export const EstimatedVMPrice: coreClient.CompositeMapper = { serializedName: "retailPrice", required: true, type: { - name: "Number" - } + name: "Number", + }, }, osType: { serializedName: "osType", required: true, type: { - name: "String" - } + name: "String", + }, }, vmTier: { serializedName: "vmTier", required: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const QuotaUpdateParameters: coreClient.CompositeMapper = { @@ -1413,19 +1603,19 @@ export const QuotaUpdateParameters: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "QuotaBaseProperties" - } - } - } + className: "QuotaBaseProperties", + }, + }, + }, }, location: { serializedName: "location", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const QuotaBaseProperties: coreClient.CompositeMapper = { @@ -1436,29 +1626,29 @@ export const QuotaBaseProperties: coreClient.CompositeMapper = { id: { serializedName: "id", type: { - name: "String" - } + name: "String", + }, }, type: { serializedName: "type", type: { - name: "String" - } + name: "String", + }, }, limit: { serializedName: "limit", type: { - name: "Number" - } + name: "Number", + }, }, unit: { serializedName: "unit", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const UpdateWorkspaceQuotasResult: coreClient.CompositeMapper = { @@ -1474,20 +1664,20 @@ export const UpdateWorkspaceQuotasResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "UpdateWorkspaceQuotas" - } - } - } + className: "UpdateWorkspaceQuotas", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const UpdateWorkspaceQuotas: coreClient.CompositeMapper = { @@ -1499,37 +1689,37 @@ export const UpdateWorkspaceQuotas: coreClient.CompositeMapper = { serializedName: "id", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, type: { serializedName: "type", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, limit: { serializedName: "limit", type: { - name: "Number" - } + name: "Number", + }, }, unit: { serializedName: "unit", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, status: { serializedName: "status", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ListWorkspaceQuotas: coreClient.CompositeMapper = { @@ -1545,20 +1735,20 @@ export const ListWorkspaceQuotas: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ResourceQuota" - } - } - } + className: "ResourceQuota", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ResourceQuota: coreClient.CompositeMapper = { @@ -1570,46 +1760,46 @@ export const ResourceQuota: coreClient.CompositeMapper = { serializedName: "id", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, amlWorkspaceLocation: { serializedName: "amlWorkspaceLocation", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, type: { serializedName: "type", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, name: { serializedName: "name", type: { name: "Composite", - className: "ResourceName" - } + className: "ResourceName", + }, }, limit: { serializedName: "limit", readOnly: true, type: { - name: "Number" - } + name: "Number", + }, }, unit: { serializedName: "unit", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ResourceName: coreClient.CompositeMapper = { @@ -1621,18 +1811,18 @@ export const ResourceName: coreClient.CompositeMapper = { serializedName: "value", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, localizedValue: { serializedName: "localizedValue", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const PaginatedComputeResourcesList: coreClient.CompositeMapper = { @@ -1647,19 +1837,19 @@ export const PaginatedComputeResourcesList: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ComputeResource" - } - } - } + className: "ComputeResource", + }, + }, + }, }, nextLink: { serializedName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ComputeResourceSchema: coreClient.CompositeMapper = { @@ -1671,11 +1861,11 @@ export const ComputeResourceSchema: coreClient.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - className: "Compute" - } - } - } - } + className: "Compute", + }, + }, + }, + }, }; export const Compute: coreClient.CompositeMapper = { @@ -1685,56 +1875,56 @@ export const Compute: coreClient.CompositeMapper = { uberParent: "Compute", polymorphicDiscriminator: { serializedName: "computeType", - clientName: "computeType" + clientName: "computeType", }, modelProperties: { computeType: { serializedName: "computeType", required: true, type: { - name: "String" - } + name: "String", + }, }, computeLocation: { serializedName: "computeLocation", type: { - name: "String" - } + name: "String", + }, }, provisioningState: { serializedName: "provisioningState", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, description: { serializedName: "description", nullable: true, type: { - name: "String" - } + name: "String", + }, }, createdOn: { serializedName: "createdOn", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, modifiedOn: { serializedName: "modifiedOn", readOnly: true, type: { - name: "DateTime" - } + name: "DateTime", + }, }, resourceId: { serializedName: "resourceId", nullable: true, type: { - name: "String" - } + name: "String", + }, }, provisioningErrors: { serializedName: "provisioningErrors", @@ -1745,26 +1935,26 @@ export const Compute: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ErrorResponse" - } - } - } + className: "ErrorResponse", + }, + }, + }, }, isAttachedCompute: { serializedName: "isAttachedCompute", readOnly: true, type: { - name: "Boolean" - } + name: "Boolean", + }, }, disableLocalAuth: { serializedName: "disableLocalAuth", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const ClusterUpdateParameters: coreClient.CompositeMapper = { @@ -1776,11 +1966,11 @@ export const ClusterUpdateParameters: coreClient.CompositeMapper = { serializedName: "properties.properties", type: { name: "Composite", - className: "ScaleSettingsInformation" - } - } - } - } + className: "ScaleSettingsInformation", + }, + }, + }, + }, }; export const ScaleSettingsInformation: coreClient.CompositeMapper = { @@ -1792,11 +1982,11 @@ export const ScaleSettingsInformation: coreClient.CompositeMapper = { serializedName: "scaleSettings", type: { name: "Composite", - className: "ScaleSettings" - } - } - } - } + className: "ScaleSettings", + }, + }, + }, + }, }; export const ScaleSettings: coreClient.CompositeMapper = { @@ -1808,24 +1998,24 @@ export const ScaleSettings: coreClient.CompositeMapper = { serializedName: "maxNodeCount", required: true, type: { - name: "Number" - } + name: "Number", + }, }, minNodeCount: { defaultValue: 0, serializedName: "minNodeCount", type: { - name: "Number" - } + name: "Number", + }, }, nodeIdleTimeBeforeScaleDown: { serializedName: "nodeIdleTimeBeforeScaleDown", type: { - name: "TimeSpan" - } - } - } - } + name: "TimeSpan", + }, + }, + }, + }, }; export const AmlComputeNodesInformation: coreClient.CompositeMapper = { @@ -1841,20 +2031,20 @@ export const AmlComputeNodesInformation: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "AmlComputeNodeInformation" - } - } - } + className: "AmlComputeNodeInformation", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const AmlComputeNodeInformation: coreClient.CompositeMapper = { @@ -1866,49 +2056,49 @@ export const AmlComputeNodeInformation: coreClient.CompositeMapper = { serializedName: "nodeId", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, privateIpAddress: { serializedName: "privateIpAddress", readOnly: true, nullable: true, type: { - name: "String" - } + name: "String", + }, }, publicIpAddress: { serializedName: "publicIpAddress", readOnly: true, nullable: true, type: { - name: "String" - } + name: "String", + }, }, port: { serializedName: "port", readOnly: true, type: { - name: "Number" - } + name: "Number", + }, }, nodeState: { serializedName: "nodeState", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, runId: { serializedName: "runId", readOnly: true, nullable: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const NotebookAccessTokenResult: coreClient.CompositeMapper = { @@ -1920,60 +2110,60 @@ export const NotebookAccessTokenResult: coreClient.CompositeMapper = { serializedName: "notebookResourceId", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, hostName: { serializedName: "hostName", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, publicDns: { serializedName: "publicDns", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, accessToken: { serializedName: "accessToken", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, tokenType: { serializedName: "tokenType", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, expiresIn: { serializedName: "expiresIn", readOnly: true, type: { - name: "Number" - } + name: "Number", + }, }, refreshToken: { serializedName: "refreshToken", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, scope: { serializedName: "scope", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ComputeSecrets: coreClient.CompositeMapper = { @@ -1983,18 +2173,18 @@ export const ComputeSecrets: coreClient.CompositeMapper = { uberParent: "ComputeSecrets", polymorphicDiscriminator: { serializedName: "computeType", - clientName: "computeType" + clientName: "computeType", }, modelProperties: { computeType: { serializedName: "computeType", required: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = { @@ -2009,13 +2199,13 @@ export const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "PrivateEndpointConnection" - } - } - } - } - } - } + className: "PrivateEndpointConnection", + }, + }, + }, + }, + }, + }, }; export const PrivateLinkResourceListResult: coreClient.CompositeMapper = { @@ -2030,13 +2220,13 @@ export const PrivateLinkResourceListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "PrivateLinkResource" - } - } - } - } - } - } + className: "PrivateLinkResource", + }, + }, + }, + }, + }, + }, }; export const ListStorageAccountKeysResult: coreClient.CompositeMapper = { @@ -2048,11 +2238,11 @@ export const ListStorageAccountKeysResult: coreClient.CompositeMapper = { serializedName: "userStorageKey", readOnly: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const WorkspaceConnectionPropertiesV2: coreClient.CompositeMapper = { @@ -2062,71 +2252,73 @@ export const WorkspaceConnectionPropertiesV2: coreClient.CompositeMapper = { uberParent: "WorkspaceConnectionPropertiesV2", polymorphicDiscriminator: { serializedName: "authType", - clientName: "authType" + clientName: "authType", }, modelProperties: { authType: { serializedName: "authType", required: true, type: { - name: "String" - } + name: "String", + }, }, category: { serializedName: "category", type: { - name: "String" - } + name: "String", + }, }, target: { serializedName: "target", type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", type: { - name: "String" - } + name: "String", + }, }, valueFormat: { serializedName: "valueFormat", type: { - name: "String" - } - } - } - } -}; - -export const WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "WorkspaceConnectionPropertiesV2BasicResource" - } - } - } + name: "String", + }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - type: { - name: "String" - } - } - } - } -}; + }, + }, +}; + +export const WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: + "WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WorkspaceConnectionPropertiesV2BasicResource", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, + }; export const ExternalFqdnResponse: coreClient.CompositeMapper = { type: { @@ -2140,13 +2332,13 @@ export const ExternalFqdnResponse: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "FqdnEndpoints" - } - } - } - } - } - } + className: "FqdnEndpoints", + }, + }, + }, + }, + }, + }, }; export const FqdnEndpoints: coreClient.CompositeMapper = { @@ -2158,11 +2350,11 @@ export const FqdnEndpoints: coreClient.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - className: "FqdnEndpointsProperties" - } - } - } - } + className: "FqdnEndpointsProperties", + }, + }, + }, + }, }; export const FqdnEndpointsProperties: coreClient.CompositeMapper = { @@ -2173,8 +2365,8 @@ export const FqdnEndpointsProperties: coreClient.CompositeMapper = { category: { serializedName: "category", type: { - name: "String" - } + name: "String", + }, }, endpoints: { serializedName: "endpoints", @@ -2183,13 +2375,13 @@ export const FqdnEndpointsProperties: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "FqdnEndpoint" - } - } - } - } - } - } + className: "FqdnEndpoint", + }, + }, + }, + }, + }, + }, }; export const FqdnEndpoint: coreClient.CompositeMapper = { @@ -2200,8 +2392,8 @@ export const FqdnEndpoint: coreClient.CompositeMapper = { domainName: { serializedName: "domainName", type: { - name: "String" - } + name: "String", + }, }, endpointDetails: { serializedName: "endpointDetails", @@ -2210,13 +2402,13 @@ export const FqdnEndpoint: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "FqdnEndpointDetail" - } - } - } - } - } - } + className: "FqdnEndpointDetail", + }, + }, + }, + }, + }, + }, }; export const FqdnEndpointDetail: coreClient.CompositeMapper = { @@ -2227,23 +2419,23 @@ export const FqdnEndpointDetail: coreClient.CompositeMapper = { port: { serializedName: "port", type: { - name: "Number" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; -export const BatchEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const OutboundRuleListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointTrackedResourceArmPaginatedResult", + className: "OutboundRuleListResult", modelProperties: { nextLink: { serializedName: "nextLink", type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", @@ -2252,774 +2444,1076 @@ export const BatchEndpointTrackedResourceArmPaginatedResult: coreClient.Composit element: { type: { name: "Composite", - className: "BatchEndpoint" - } - } - } - } - } - } + className: "OutboundRuleBasicResource", + }, + }, + }, + }, + }, + }, }; -export const BatchEndpointDefaults: coreClient.CompositeMapper = { +export const ManagedNetworkProvisionOptions: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointDefaults", + className: "ManagedNetworkProvisionOptions", modelProperties: { - deploymentName: { - serializedName: "deploymentName", - nullable: true, + includeSpark: { + serializedName: "includeSpark", type: { - name: "String" - } - } - } - } -}; - -export const EndpointPropertiesBase: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EndpointPropertiesBase", - modelProperties: { - authMode: { - serializedName: "authMode", - required: true, - type: { - name: "String" - } + name: "Boolean", + }, + }, + }, + }, +}; + +export const CodeContainerResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "CodeContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CodeContainer", + }, + }, + }, + }, }, + }, + }; + +export const ResourceBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ResourceBase", + modelProperties: { description: { serializedName: "description", nullable: true, type: { - name: "String" - } - }, - keys: { - serializedName: "keys", - type: { - name: "Composite", - className: "EndpointAuthKeys" - } + name: "String", + }, }, properties: { serializedName: "properties", nullable: true, type: { name: "Dictionary", - value: { type: { name: "String" } } - } + value: { type: { name: "String" } }, + }, }, - scoringUri: { - serializedName: "scoringUri", - readOnly: true, + tags: { + serializedName: "tags", nullable: true, type: { - name: "String" - } + name: "Dictionary", + value: { type: { name: "String" } }, + }, }, - swaggerUri: { - serializedName: "swaggerUri", - readOnly: true, - nullable: true, - type: { - name: "String" - } - } - } - } -}; + }, + }, +}; + +export const CodeVersionResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "CodeVersionResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CodeVersion", + }, + }, + }, + }, + }, + }, + }; -export const EndpointAuthKeys: coreClient.CompositeMapper = { +export const PendingUploadRequestDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointAuthKeys", + className: "PendingUploadRequestDto", modelProperties: { - primaryKey: { - serializedName: "primaryKey", + pendingUploadId: { + serializedName: "pendingUploadId", nullable: true, type: { - name: "String" - } + name: "String", + }, }, - secondaryKey: { - serializedName: "secondaryKey", - nullable: true, + pendingUploadType: { + serializedName: "pendingUploadType", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const PartialManagedServiceIdentity: coreClient.CompositeMapper = { +export const PendingUploadResponseDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PartialManagedServiceIdentity", + className: "PendingUploadResponseDto", modelProperties: { - type: { - serializedName: "type", + blobReferenceForConsumption: { + serializedName: "blobReferenceForConsumption", type: { - name: "String" - } + name: "Composite", + className: "BlobReferenceForConsumptionDto", + }, }, - userAssignedIdentities: { - serializedName: "userAssignedIdentities", + pendingUploadId: { + serializedName: "pendingUploadId", + nullable: true, type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } - } - } - } -}; - -export const PartialMinimalTrackedResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PartialMinimalTrackedResource", - modelProperties: { - tags: { - serializedName: "tags", + name: "String", + }, + }, + pendingUploadType: { + serializedName: "pendingUploadType", type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const BatchDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const BlobReferenceForConsumptionDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentTrackedResourceArmPaginatedResult", + className: "BlobReferenceForConsumptionDto", modelProperties: { - nextLink: { - serializedName: "nextLink", + blobUri: { + serializedName: "blobUri", + nullable: true, type: { - name: "String" - } + name: "String", + }, }, - value: { - serializedName: "value", + credential: { + serializedName: "credential", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "BatchDeployment" - } - } - } - } - } - } + name: "Composite", + className: "PendingUploadCredentialDto", + }, + }, + storageAccountArmId: { + serializedName: "storageAccountArmId", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const AssetReferenceBase: coreClient.CompositeMapper = { +export const PendingUploadCredentialDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssetReferenceBase", - uberParent: "AssetReferenceBase", + className: "PendingUploadCredentialDto", + uberParent: "PendingUploadCredentialDto", polymorphicDiscriminator: { - serializedName: "referenceType", - clientName: "referenceType" + serializedName: "credentialType", + clientName: "credentialType", }, modelProperties: { - referenceType: { - serializedName: "referenceType", + credentialType: { + serializedName: "credentialType", required: true, type: { - name: "String" - } - } - } - } -}; + name: "String", + }, + }, + }, + }, +}; + +export const ComponentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ComponentContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComponentContainer", + }, + }, + }, + }, + }, + }, + }; + +export const ComponentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ComponentVersionResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComponentVersion", + }, + }, + }, + }, + }, + }, + }; + +export const DataContainerResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "DataContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataContainer", + }, + }, + }, + }, + }, + }, + }; + +export const DataVersionBaseResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "DataVersionBaseResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataVersionBase", + }, + }, + }, + }, + }, + }, + }; -export const ResourceConfiguration: coreClient.CompositeMapper = { +export const GetBlobReferenceSASRequestDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceConfiguration", + className: "GetBlobReferenceSASRequestDto", modelProperties: { - instanceCount: { - defaultValue: 1, - serializedName: "instanceCount", - type: { - name: "Number" - } - }, - instanceType: { - serializedName: "instanceType", + assetId: { + serializedName: "assetId", nullable: true, type: { - name: "String" - } + name: "String", + }, }, - properties: { - serializedName: "properties", + blobUri: { + serializedName: "blobUri", nullable: true, type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const BatchRetrySettings: coreClient.CompositeMapper = { +export const GetBlobReferenceSASResponseDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchRetrySettings", + className: "GetBlobReferenceSASResponseDto", modelProperties: { - maxRetries: { - defaultValue: 3, - serializedName: "maxRetries", + blobReferenceForConsumption: { + serializedName: "blobReferenceForConsumption", type: { - name: "Number" - } + name: "Composite", + className: "GetBlobReferenceForConsumptionDto", + }, }, - timeout: { - defaultValue: "PT30S", - serializedName: "timeout", - type: { - name: "TimeSpan" - } - } - } - } + }, + }, }; -export const EndpointDeploymentPropertiesBase: coreClient.CompositeMapper = { +export const GetBlobReferenceForConsumptionDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointDeploymentPropertiesBase", + className: "GetBlobReferenceForConsumptionDto", modelProperties: { - codeConfiguration: { - serializedName: "codeConfiguration", - type: { - name: "Composite", - className: "CodeConfiguration" - } - }, - description: { - serializedName: "description", + blobUri: { + serializedName: "blobUri", nullable: true, type: { - name: "String" - } + name: "String", + }, }, - environmentId: { - serializedName: "environmentId", - nullable: true, + credential: { + serializedName: "credential", type: { - name: "String" - } + name: "Composite", + className: "DataReferenceCredential", + }, }, - environmentVariables: { - serializedName: "environmentVariables", + storageAccountArmId: { + serializedName: "storageAccountArmId", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } } - } + name: "String", + }, }, - properties: { - serializedName: "properties", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - } - } - } + }, + }, }; -export const CodeConfiguration: coreClient.CompositeMapper = { +export const DataReferenceCredential: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodeConfiguration", + className: "DataReferenceCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: { + serializedName: "credentialType", + clientName: "credentialType", + }, modelProperties: { - codeId: { - serializedName: "codeId", - nullable: true, + credentialType: { + serializedName: "credentialType", + required: true, type: { - name: "String" - } + name: "String", + }, }, - scoringScript: { + }, + }, +}; + +export const EnvironmentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EnvironmentContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EnvironmentContainer", + }, + }, + }, + }, + }, + }, + }; + +export const EnvironmentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EnvironmentVersionResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EnvironmentVersion", + }, + }, + }, + }, + }, + }, + }; + +export const BuildContext: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BuildContext", + modelProperties: { + contextUri: { constraints: { Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1 + MinLength: 1, }, - serializedName: "scoringScript", + serializedName: "contextUri", required: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + dockerfilePath: { + defaultValue: "Dockerfile", + serializedName: "dockerfilePath", + type: { + name: "String", + }, + }, + }, + }, }; -export const PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties: coreClient.CompositeMapper = { +export const InferenceContainerProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: - "PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties", + className: "InferenceContainerProperties", modelProperties: { - properties: { - serializedName: "properties", + livenessRoute: { + serializedName: "livenessRoute", type: { name: "Composite", - className: "PartialBatchDeployment" - } + className: "Route", + }, }, - tags: { - serializedName: "tags", + readinessRoute: { + serializedName: "readinessRoute", type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - } - } - } -}; - -export const PartialBatchDeployment: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PartialBatchDeployment", - modelProperties: { - description: { - serializedName: "description", - nullable: true, + name: "Composite", + className: "Route", + }, + }, + scoringRoute: { + serializedName: "scoringRoute", type: { - name: "String" - } - } - } - } + name: "Composite", + className: "Route", + }, + }, + }, + }, }; -export const CodeContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const Route: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodeContainerResourceArmPaginatedResult", + className: "Route", modelProperties: { - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - }, - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CodeContainer" - } - } - } - } - } - } -}; + path: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "path", + required: true, + type: { + name: "String", + }, + }, + port: { + serializedName: "port", + required: true, + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const ModelContainerResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ModelContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ModelContainer", + }, + }, + }, + }, + }, + }, + }; + +export const ModelVersionResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ModelVersionResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ModelVersion", + }, + }, + }, + }, + }, + }, + }; -export const ResourceBase: coreClient.CompositeMapper = { +export const FlavorData: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceBase", + className: "FlavorData", modelProperties: { - description: { - serializedName: "description", - nullable: true, - type: { - name: "String" - } - }, - properties: { - serializedName: "properties", + data: { + serializedName: "data", nullable: true, type: { name: "Dictionary", - value: { type: { name: "String" } } - } + value: { type: { name: "String" } }, + }, }, - tags: { - serializedName: "tags", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - } - } - } -}; + }, + }, +}; + +export const BatchEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "BatchEndpointTrackedResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "BatchEndpoint", + }, + }, + }, + }, + }, + }, + }; -export const CodeVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const BatchEndpointDefaults: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodeVersionResourceArmPaginatedResult", + className: "BatchEndpointDefaults", modelProperties: { - nextLink: { - serializedName: "nextLink", + deploymentName: { + serializedName: "deploymentName", + nullable: true, type: { - name: "String" - } + name: "String", + }, }, - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CodeVersion" - } - } - } - } - } - } + }, + }, }; -export const ComponentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const EndpointPropertiesBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComponentContainerResourceArmPaginatedResult", + className: "EndpointPropertiesBase", modelProperties: { - nextLink: { - serializedName: "nextLink", + authMode: { + serializedName: "authMode", + required: true, type: { - name: "String" - } + name: "String", + }, }, - value: { - serializedName: "value", + description: { + serializedName: "description", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComponentContainer" - } - } - } - } - } - } -}; - -export const ComponentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComponentVersionResourceArmPaginatedResult", - modelProperties: { - nextLink: { - serializedName: "nextLink", + name: "String", + }, + }, + keys: { + serializedName: "keys", type: { - name: "String" - } + name: "Composite", + className: "EndpointAuthKeys", + }, }, - value: { - serializedName: "value", + properties: { + serializedName: "properties", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComponentVersion" - } - } - } - } - } - } + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + scoringUri: { + serializedName: "scoringUri", + readOnly: true, + nullable: true, + type: { + name: "String", + }, + }, + swaggerUri: { + serializedName: "swaggerUri", + readOnly: true, + nullable: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const DataContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const EndpointAuthKeys: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataContainerResourceArmPaginatedResult", + className: "EndpointAuthKeys", modelProperties: { - nextLink: { - serializedName: "nextLink", + primaryKey: { + serializedName: "primaryKey", + nullable: true, type: { - name: "String" - } + name: "String", + }, }, - value: { - serializedName: "value", + secondaryKey: { + serializedName: "secondaryKey", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DataContainer" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const DataVersionBaseResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const PartialManagedServiceIdentity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataVersionBaseResourceArmPaginatedResult", + className: "PartialManagedServiceIdentity", modelProperties: { - nextLink: { - serializedName: "nextLink", + type: { + serializedName: "type", type: { - name: "String" - } + name: "String", + }, }, - value: { - serializedName: "value", + userAssignedIdentities: { + serializedName: "userAssignedIdentities", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DataVersionBase" - } - } - } - } - } - } + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, + }, + }, + }, }; -export const DatastoreResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const PartialMinimalTrackedResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatastoreResourceArmPaginatedResult", + className: "PartialMinimalTrackedResource", modelProperties: { - nextLink: { - serializedName: "nextLink", + tags: { + serializedName: "tags", type: { - name: "String" - } + name: "Dictionary", + value: { type: { name: "String" } }, + }, }, - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Datastore" - } - } - } - } - } - } -}; + }, + }, +}; + +export const BatchDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "BatchDeploymentTrackedResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "BatchDeployment", + }, + }, + }, + }, + }, + }, + }; -export const DatastoreCredentials: coreClient.CompositeMapper = { +export const BatchDeploymentConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatastoreCredentials", - uberParent: "DatastoreCredentials", + className: "BatchDeploymentConfiguration", + uberParent: "BatchDeploymentConfiguration", polymorphicDiscriminator: { - serializedName: "credentialsType", - clientName: "credentialsType" + serializedName: "deploymentConfigurationType", + clientName: "deploymentConfigurationType", }, modelProperties: { - credentialsType: { - serializedName: "credentialsType", + deploymentConfigurationType: { + serializedName: "deploymentConfigurationType", required: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const DatastoreSecrets: coreClient.CompositeMapper = { +export const AssetReferenceBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatastoreSecrets", - uberParent: "DatastoreSecrets", + className: "AssetReferenceBase", + uberParent: "AssetReferenceBase", polymorphicDiscriminator: { - serializedName: "secretsType", - clientName: "secretsType" + serializedName: "referenceType", + clientName: "referenceType", }, modelProperties: { - secretsType: { - serializedName: "secretsType", + referenceType: { + serializedName: "referenceType", required: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const EnvironmentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const ResourceConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnvironmentContainerResourceArmPaginatedResult", + className: "ResourceConfiguration", modelProperties: { - nextLink: { - serializedName: "nextLink", + instanceCount: { + defaultValue: 1, + serializedName: "instanceCount", type: { - name: "String" - } + name: "Number", + }, }, - value: { - serializedName: "value", + instanceType: { + serializedName: "instanceType", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EnvironmentContainer" - } - } - } - } - } - } + name: "String", + }, + }, + properties: { + serializedName: "properties", + nullable: true, + type: { + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, + }, + }, + }, }; -export const EnvironmentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const BatchRetrySettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnvironmentVersionResourceArmPaginatedResult", + className: "BatchRetrySettings", modelProperties: { - nextLink: { - serializedName: "nextLink", + maxRetries: { + defaultValue: 3, + serializedName: "maxRetries", type: { - name: "String" - } + name: "Number", + }, }, - value: { - serializedName: "value", + timeout: { + defaultValue: "PT30S", + serializedName: "timeout", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EnvironmentVersion" - } - } - } - } - } - } + name: "TimeSpan", + }, + }, + }, + }, }; -export const BuildContext: coreClient.CompositeMapper = { +export const EndpointDeploymentPropertiesBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BuildContext", + className: "EndpointDeploymentPropertiesBase", modelProperties: { - contextUri: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") + codeConfiguration: { + serializedName: "codeConfiguration", + type: { + name: "Composite", + className: "CodeConfiguration", }, - serializedName: "contextUri", - required: true, + }, + description: { + serializedName: "description", + nullable: true, type: { - name: "String" - } + name: "String", + }, }, - dockerfilePath: { - defaultValue: "Dockerfile", - serializedName: "dockerfilePath", + environmentId: { + serializedName: "environmentId", + nullable: true, + type: { + name: "String", + }, + }, + environmentVariables: { + serializedName: "environmentVariables", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + properties: { + serializedName: "properties", + nullable: true, type: { - name: "String" - } - } - } - } + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + }, + }, }; -export const InferenceContainerProperties: coreClient.CompositeMapper = { +export const CodeConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InferenceContainerProperties", + className: "CodeConfiguration", modelProperties: { - livenessRoute: { - serializedName: "livenessRoute", + codeId: { + serializedName: "codeId", + nullable: true, type: { - name: "Composite", - className: "Route" - } + name: "String", + }, }, - readinessRoute: { - serializedName: "readinessRoute", + scoringScript: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "scoringScript", + required: true, type: { - name: "Composite", - className: "Route" - } + name: "String", + }, }, - scoringRoute: { - serializedName: "scoringRoute", + }, + }, +}; + +export const PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: + "PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "PartialBatchDeployment", + }, + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + }, + }, + }; + +export const PartialBatchDeployment: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PartialBatchDeployment", + modelProperties: { + description: { + serializedName: "description", + nullable: true, type: { - name: "Composite", - className: "Route" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const Route: coreClient.CompositeMapper = { +export const DestinationAsset: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Route", + className: "DestinationAsset", modelProperties: { - path: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") + destinationName: { + serializedName: "destinationName", + nullable: true, + type: { + name: "String", }, - serializedName: "path", - required: true, + }, + destinationVersion: { + serializedName: "destinationVersion", + nullable: true, type: { - name: "String" - } + name: "String", + }, }, - port: { - serializedName: "port", - required: true, + registryName: { + serializedName: "registryName", + nullable: true, type: { - name: "Number" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const JobBaseResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const DatastoreResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobBaseResourceArmPaginatedResult", + className: "DatastoreResourceArmPaginatedResult", modelProperties: { nextLink: { serializedName: "nextLink", type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", @@ -3028,100 +3522,95 @@ export const JobBaseResourceArmPaginatedResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "JobBase" - } - } - } - } - } - } + className: "Datastore", + }, + }, + }, + }, + }, + }, }; -export const IdentityConfiguration: coreClient.CompositeMapper = { +export const DatastoreCredentials: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IdentityConfiguration", - uberParent: "IdentityConfiguration", + className: "DatastoreCredentials", + uberParent: "DatastoreCredentials", polymorphicDiscriminator: { - serializedName: "identityType", - clientName: "identityType" + serializedName: "credentialsType", + clientName: "credentialsType", }, modelProperties: { - identityType: { - serializedName: "identityType", + credentialsType: { + serializedName: "credentialsType", required: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const JobService: coreClient.CompositeMapper = { +export const DatastoreSecrets: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobService", + className: "DatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: { + serializedName: "secretsType", + clientName: "secretsType", + }, modelProperties: { - endpoint: { - serializedName: "endpoint", - nullable: true, - type: { - name: "String" - } - }, - errorMessage: { - serializedName: "errorMessage", - readOnly: true, - nullable: true, - type: { - name: "String" - } - }, - jobServiceType: { - serializedName: "jobServiceType", - nullable: true, - type: { - name: "String" - } - }, - port: { - serializedName: "port", - nullable: true, + secretsType: { + serializedName: "secretsType", + required: true, type: { - name: "Number" - } + name: "String", + }, }, - properties: { - serializedName: "properties", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } + }, + }, +}; + +export const FeaturesetContainerResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "FeaturesetContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FeaturesetContainer", + }, + }, + }, + }, }, - status: { - serializedName: "status", - readOnly: true, - nullable: true, - type: { - name: "String" - } - } - } - } -}; + }, + }; -export const ModelContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const FeatureResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelContainerResourceArmPaginatedResult", + className: "FeatureResourceArmPaginatedResult", modelProperties: { nextLink: { serializedName: "nextLink", type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", @@ -3130,296 +3619,492 @@ export const ModelContainerResourceArmPaginatedResult: coreClient.CompositeMappe element: { type: { name: "Composite", - className: "ModelContainer" - } - } - } - } - } - } -}; + className: "Feature", + }, + }, + }, + }, + }, + }, +}; + +export const FeaturesetVersionResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "FeaturesetVersionResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FeaturesetVersion", + }, + }, + }, + }, + }, + }, + }; -export const ModelVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const MaterializationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelVersionResourceArmPaginatedResult", + className: "MaterializationSettings", modelProperties: { - nextLink: { - serializedName: "nextLink", + notification: { + serializedName: "notification", type: { - name: "String" - } + name: "Composite", + className: "NotificationSetting", + }, }, - value: { - serializedName: "value", + resource: { + serializedName: "resource", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ModelVersion" - } - } - } - } - } - } -}; - -export const FlavorData: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FlavorData", - modelProperties: { - data: { - serializedName: "data", + name: "Composite", + className: "MaterializationComputeResource", + }, + }, + schedule: { + serializedName: "schedule", + type: { + name: "Composite", + className: "RecurrenceTrigger", + }, + }, + sparkConfiguration: { + serializedName: "sparkConfiguration", nullable: true, type: { name: "Dictionary", - value: { type: { name: "String" } } - } - } - } - } + value: { type: { name: "String" } }, + }, + }, + storeType: { + serializedName: "storeType", + type: { + name: "String", + }, + }, + }, + }, }; -export const OnlineEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const NotificationSetting: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineEndpointTrackedResourceArmPaginatedResult", + className: "NotificationSetting", modelProperties: { - nextLink: { - serializedName: "nextLink", + emailOn: { + serializedName: "emailOn", + nullable: true, type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - value: { - serializedName: "value", + emails: { + serializedName: "emails", + nullable: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "OnlineEndpoint" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + webhooks: { + serializedName: "webhooks", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "Webhook" } }, + }, + }, + }, + }, }; -export const OnlineDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const Webhook: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineDeploymentTrackedResourceArmPaginatedResult", + className: "Webhook", + uberParent: "Webhook", + polymorphicDiscriminator: { + serializedName: "webhookType", + clientName: "webhookType", + }, modelProperties: { - nextLink: { - serializedName: "nextLink", + eventType: { + serializedName: "eventType", + nullable: true, type: { - name: "String" - } + name: "String", + }, }, - value: { - serializedName: "value", + webhookType: { + serializedName: "webhookType", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OnlineDeployment" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const ProbeSettings: coreClient.CompositeMapper = { +export const MaterializationComputeResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ProbeSettings", + className: "MaterializationComputeResource", modelProperties: { - failureThreshold: { - defaultValue: 30, - serializedName: "failureThreshold", + instanceType: { + serializedName: "instanceType", + nullable: true, type: { - name: "Number" - } + name: "String", + }, }, - initialDelay: { - serializedName: "initialDelay", - nullable: true, + }, + }, +}; + +export const RecurrenceSchedule: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RecurrenceSchedule", + modelProperties: { + hours: { + serializedName: "hours", + required: true, type: { - name: "TimeSpan" - } + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, + }, }, - period: { - defaultValue: "PT10S", - serializedName: "period", + minutes: { + serializedName: "minutes", + required: true, type: { - name: "TimeSpan" - } + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, + }, }, - successThreshold: { - defaultValue: 1, - serializedName: "successThreshold", + monthDays: { + serializedName: "monthDays", + nullable: true, type: { - name: "Number" - } + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, + }, }, - timeout: { - defaultValue: "PT2S", - serializedName: "timeout", + weekDays: { + serializedName: "weekDays", + nullable: true, type: { - name: "TimeSpan" - } - } - } - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, }; -export const OnlineRequestSettings: coreClient.CompositeMapper = { +export const TriggerBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineRequestSettings", + className: "TriggerBase", + uberParent: "TriggerBase", + polymorphicDiscriminator: { + serializedName: "triggerType", + clientName: "triggerType", + }, modelProperties: { - maxConcurrentRequestsPerInstance: { - defaultValue: 1, - serializedName: "maxConcurrentRequestsPerInstance", + endTime: { + serializedName: "endTime", + nullable: true, type: { - name: "Number" - } + name: "String", + }, }, - maxQueueWait: { - defaultValue: "PT0.5S", - serializedName: "maxQueueWait", + startTime: { + serializedName: "startTime", + nullable: true, type: { - name: "TimeSpan" - } + name: "String", + }, }, - requestTimeout: { - defaultValue: "PT5S", - serializedName: "requestTimeout", + timeZone: { + defaultValue: "UTC", + serializedName: "timeZone", + type: { + name: "String", + }, + }, + triggerType: { + serializedName: "triggerType", + required: true, type: { - name: "TimeSpan" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const OnlineScaleSettings: coreClient.CompositeMapper = { +export const FeaturesetSpecification: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineScaleSettings", - uberParent: "OnlineScaleSettings", - polymorphicDiscriminator: { - serializedName: "scaleType", - clientName: "scaleType" - }, + className: "FeaturesetSpecification", modelProperties: { - scaleType: { - serializedName: "scaleType", - required: true, + path: { + serializedName: "path", + nullable: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const PartialSku: coreClient.CompositeMapper = { +export const FeaturesetVersionBackfillRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PartialSku", + className: "FeaturesetVersionBackfillRequest", modelProperties: { - capacity: { - serializedName: "capacity", + dataAvailabilityStatus: { + serializedName: "dataAvailabilityStatus", type: { - name: "Number" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - family: { - serializedName: "family", + description: { + serializedName: "description", type: { - name: "String" - } + name: "String", + }, }, - name: { - serializedName: "name", + displayName: { + serializedName: "displayName", type: { - name: "String" - } + name: "String", + }, }, - size: { - serializedName: "size", + featureWindow: { + serializedName: "featureWindow", type: { - name: "String" - } + name: "Composite", + className: "FeatureWindow", + }, }, - tier: { - serializedName: "tier", + jobId: { + serializedName: "jobId", type: { - name: "Enum", - allowedValues: ["Free", "Basic", "Standard", "Premium"] - } - } - } - } + name: "String", + }, + }, + properties: { + serializedName: "properties", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + resource: { + serializedName: "resource", + type: { + name: "Composite", + className: "MaterializationComputeResource", + }, + }, + sparkConfiguration: { + serializedName: "sparkConfiguration", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + }, + }, }; -export const DeploymentLogsRequest: coreClient.CompositeMapper = { +export const FeatureWindow: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeploymentLogsRequest", + className: "FeatureWindow", modelProperties: { - containerType: { - serializedName: "containerType", + featureWindowEnd: { + serializedName: "featureWindowEnd", + nullable: true, type: { - name: "String" - } + name: "DateTime", + }, }, - tail: { - serializedName: "tail", + featureWindowStart: { + serializedName: "featureWindowStart", nullable: true, type: { - name: "Number" - } - } - } - } + name: "DateTime", + }, + }, + }, + }, }; -export const DeploymentLogs: coreClient.CompositeMapper = { +export const FeaturesetVersionBackfillResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeploymentLogs", + className: "FeaturesetVersionBackfillResponse", modelProperties: { - content: { - serializedName: "content", + jobIds: { + serializedName: "jobIds", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, +}; + +export const FeaturestoreEntityContainerResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "FeaturestoreEntityContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FeaturestoreEntityContainer", + }, + }, + }, + }, + }, + }, + }; + +export const FeaturestoreEntityVersionResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "FeaturestoreEntityVersionResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FeaturestoreEntityVersion", + }, + }, + }, + }, + }, + }, + }; + +export const IndexColumn: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "IndexColumn", + modelProperties: { + columnName: { + serializedName: "columnName", nullable: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + dataType: { + serializedName: "dataType", + type: { + name: "String", + }, + }, + }, + }, }; -export const SkuResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const JobBaseResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SkuResourceArmPaginatedResult", + className: "JobBaseResourceArmPaginatedResult", modelProperties: { nextLink: { serializedName: "nextLink", type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", @@ -3428,7114 +4113,11215 @@ export const SkuResourceArmPaginatedResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "SkuResource" - } - } - } - } - } - } + className: "JobBase", + }, + }, + }, + }, + }, + }, }; -export const SkuResource: coreClient.CompositeMapper = { +export const IdentityConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SkuResource", + className: "IdentityConfiguration", + uberParent: "IdentityConfiguration", + polymorphicDiscriminator: { + serializedName: "identityType", + clientName: "identityType", + }, modelProperties: { - capacity: { - serializedName: "capacity", - type: { - name: "Composite", - className: "SkuCapacity" - } - }, - resourceType: { - serializedName: "resourceType", - readOnly: true, - nullable: true, + identityType: { + serializedName: "identityType", + required: true, type: { - name: "String" - } + name: "String", + }, }, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "SkuSetting" - } - } - } - } + }, + }, }; -export const SkuCapacity: coreClient.CompositeMapper = { +export const JobService: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SkuCapacity", + className: "JobService", modelProperties: { - default: { - defaultValue: 0, - serializedName: "default", + endpoint: { + serializedName: "endpoint", + nullable: true, type: { - name: "Number" - } + name: "String", + }, }, - maximum: { - defaultValue: 0, - serializedName: "maximum", + errorMessage: { + serializedName: "errorMessage", + readOnly: true, + nullable: true, type: { - name: "Number" - } + name: "String", + }, }, - minimum: { - defaultValue: 0, - serializedName: "minimum", + jobServiceType: { + serializedName: "jobServiceType", + nullable: true, type: { - name: "Number" - } + name: "String", + }, }, - scaleType: { - serializedName: "scaleType", + nodes: { + serializedName: "nodes", type: { - name: "String" - } - } - } - } -}; - -export const SkuSetting: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SkuSetting", - modelProperties: { - name: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") + name: "Composite", + className: "Nodes", }, - serializedName: "name", - required: true, + }, + port: { + serializedName: "port", + nullable: true, type: { - name: "String" - } + name: "Number", + }, }, - tier: { - serializedName: "tier", + properties: { + serializedName: "properties", + nullable: true, type: { - name: "Enum", - allowedValues: ["Free", "Basic", "Standard", "Premium"] - } - } - } - } + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + status: { + serializedName: "status", + readOnly: true, + nullable: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const RegenerateEndpointKeysRequest: coreClient.CompositeMapper = { +export const Nodes: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegenerateEndpointKeysRequest", + className: "Nodes", + uberParent: "Nodes", + polymorphicDiscriminator: { + serializedName: "nodesValueType", + clientName: "nodesValueType", + }, modelProperties: { - keyType: { - serializedName: "keyType", + nodesValueType: { + serializedName: "nodesValueType", required: true, type: { - name: "String" - } + name: "String", + }, }, - keyValue: { - serializedName: "keyValue", - nullable: true, - type: { - name: "String" - } - } - } - } -}; + }, + }, +}; + +export const OnlineEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "OnlineEndpointTrackedResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OnlineEndpoint", + }, + }, + }, + }, + }, + }, + }; + +export const OnlineDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "OnlineDeploymentTrackedResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OnlineDeployment", + }, + }, + }, + }, + }, + }, + }; -export const EndpointAuthToken: coreClient.CompositeMapper = { +export const ProbeSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointAuthToken", + className: "ProbeSettings", modelProperties: { - accessToken: { - serializedName: "accessToken", + failureThreshold: { + defaultValue: 30, + serializedName: "failureThreshold", + type: { + name: "Number", + }, + }, + initialDelay: { + serializedName: "initialDelay", nullable: true, type: { - name: "String" - } + name: "TimeSpan", + }, }, - expiryTimeUtc: { - defaultValue: 0, - serializedName: "expiryTimeUtc", + period: { + defaultValue: "PT10S", + serializedName: "period", type: { - name: "Number" - } + name: "TimeSpan", + }, }, - refreshAfterTimeUtc: { - defaultValue: 0, - serializedName: "refreshAfterTimeUtc", + successThreshold: { + defaultValue: 1, + serializedName: "successThreshold", type: { - name: "Number" - } + name: "Number", + }, }, - tokenType: { - serializedName: "tokenType", - nullable: true, + timeout: { + defaultValue: "PT2S", + serializedName: "timeout", type: { - name: "String" - } - } - } - } + name: "TimeSpan", + }, + }, + }, + }, }; -export const ScheduleResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const OnlineRequestSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScheduleResourceArmPaginatedResult", + className: "OnlineRequestSettings", modelProperties: { - nextLink: { - serializedName: "nextLink", + maxConcurrentRequestsPerInstance: { + defaultValue: 1, + serializedName: "maxConcurrentRequestsPerInstance", type: { - name: "String" - } + name: "Number", + }, }, - value: { - serializedName: "value", + maxQueueWait: { + defaultValue: "PT0.5S", + serializedName: "maxQueueWait", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Schedule" - } - } - } - } - } - } + name: "TimeSpan", + }, + }, + requestTimeout: { + defaultValue: "PT5S", + serializedName: "requestTimeout", + type: { + name: "TimeSpan", + }, + }, + }, + }, }; -export const ScheduleActionBase: coreClient.CompositeMapper = { +export const OnlineScaleSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScheduleActionBase", - uberParent: "ScheduleActionBase", + className: "OnlineScaleSettings", + uberParent: "OnlineScaleSettings", polymorphicDiscriminator: { - serializedName: "actionType", - clientName: "actionType" + serializedName: "scaleType", + clientName: "scaleType", }, modelProperties: { - actionType: { - serializedName: "actionType", + scaleType: { + serializedName: "scaleType", required: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const TriggerBase: coreClient.CompositeMapper = { +export const PartialSku: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TriggerBase", - uberParent: "TriggerBase", - polymorphicDiscriminator: { - serializedName: "triggerType", - clientName: "triggerType" - }, + className: "PartialSku", modelProperties: { - endTime: { - serializedName: "endTime", - nullable: true, + capacity: { + serializedName: "capacity", type: { - name: "String" - } + name: "Number", + }, }, - startTime: { - serializedName: "startTime", - nullable: true, + family: { + serializedName: "family", type: { - name: "String" - } + name: "String", + }, }, - timeZone: { - defaultValue: "UTC", - serializedName: "timeZone", + name: { + serializedName: "name", type: { - name: "String" - } + name: "String", + }, }, - triggerType: { - serializedName: "triggerType", - required: true, + size: { + serializedName: "size", + type: { + name: "String", + }, + }, + tier: { + serializedName: "tier", type: { - name: "String" - } - } - } - } + name: "Enum", + allowedValues: ["Free", "Basic", "Standard", "Premium"], + }, + }, + }, + }, }; -export const ListAmlUserFeatureResult: coreClient.CompositeMapper = { +export const DeploymentLogsRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListAmlUserFeatureResult", + className: "DeploymentLogsRequest", modelProperties: { - value: { - serializedName: "value", - readOnly: true, + containerType: { + serializedName: "containerType", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AmlUserFeature" - } - } - } + name: "String", + }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + tail: { + serializedName: "tail", + nullable: true, type: { - name: "String" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; -export const AmlUserFeature: coreClient.CompositeMapper = { +export const DeploymentLogs: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlUserFeature", + className: "DeploymentLogs", modelProperties: { - id: { - serializedName: "id", - type: { - name: "String" - } - }, - displayName: { - serializedName: "displayName", + content: { + serializedName: "content", + nullable: true, type: { - name: "String" - } + name: "String", + }, }, - description: { - serializedName: "description", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const ResourceId: coreClient.CompositeMapper = { +export const SkuResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceId", + className: "SkuResourceArmPaginatedResult", modelProperties: { - id: { - serializedName: "id", - required: true, + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", type: { - name: "String" - } - } - } - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SkuResource", + }, + }, + }, + }, + }, + }, }; -export const AKSSchema: coreClient.CompositeMapper = { +export const SkuResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AKSSchema", + className: "SkuResource", modelProperties: { - properties: { - serializedName: "properties", + capacity: { + serializedName: "capacity", type: { name: "Composite", - className: "AKSSchemaProperties" - } - } - } - } -}; - -export const AKSSchemaProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AKSSchemaProperties", - modelProperties: { - clusterFqdn: { - serializedName: "clusterFqdn", - nullable: true, - type: { - name: "String" - } + className: "SkuCapacity", + }, }, - systemServices: { - serializedName: "systemServices", + resourceType: { + serializedName: "resourceType", readOnly: true, nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SystemService" - } - } - } - }, - agentCount: { - constraints: { - InclusiveMinimum: 0 + name: "String", }, - serializedName: "agentCount", - nullable: true, - type: { - name: "Number" - } }, - agentVmSize: { - serializedName: "agentVmSize", - nullable: true, + sku: { + serializedName: "sku", type: { - name: "String" - } + name: "Composite", + className: "SkuSetting", + }, }, - clusterPurpose: { - defaultValue: "FastProd", - serializedName: "clusterPurpose", + }, + }, +}; + +export const SkuCapacity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SkuCapacity", + modelProperties: { + default: { + defaultValue: 0, + serializedName: "default", type: { - name: "String" - } + name: "Number", + }, }, - sslConfiguration: { - serializedName: "sslConfiguration", + maximum: { + defaultValue: 0, + serializedName: "maximum", type: { - name: "Composite", - className: "SslConfiguration" - } + name: "Number", + }, }, - aksNetworkingConfiguration: { - serializedName: "aksNetworkingConfiguration", + minimum: { + defaultValue: 0, + serializedName: "minimum", type: { - name: "Composite", - className: "AksNetworkingConfiguration" - } + name: "Number", + }, }, - loadBalancerType: { - defaultValue: "PublicIp", - serializedName: "loadBalancerType", + scaleType: { + serializedName: "scaleType", type: { - name: "String" - } + name: "String", + }, }, - loadBalancerSubnet: { - serializedName: "loadBalancerSubnet", - nullable: true, - type: { - name: "String" - } - } - } - } + }, + }, }; -export const SystemService: coreClient.CompositeMapper = { +export const SkuSetting: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SystemService", + className: "SkuSetting", modelProperties: { - systemServiceType: { - serializedName: "systemServiceType", - readOnly: true, + name: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "name", + required: true, type: { - name: "String" - } + name: "String", + }, }, - publicIpAddress: { - serializedName: "publicIpAddress", - readOnly: true, + tier: { + serializedName: "tier", type: { - name: "String" - } + name: "Enum", + allowedValues: ["Free", "Basic", "Standard", "Premium"], + }, }, - version: { - serializedName: "version", - readOnly: true, - type: { - name: "String" - } - } - } - } + }, + }, }; -export const SslConfiguration: coreClient.CompositeMapper = { +export const RegenerateEndpointKeysRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SslConfiguration", + className: "RegenerateEndpointKeysRequest", modelProperties: { - status: { - serializedName: "status", + keyType: { + serializedName: "keyType", + required: true, type: { - name: "String" - } + name: "String", + }, }, - cert: { - serializedName: "cert", + keyValue: { + serializedName: "keyValue", nullable: true, type: { - name: "String" - } + name: "String", + }, }, - key: { - serializedName: "key", + }, + }, +}; + +export const EndpointAuthToken: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EndpointAuthToken", + modelProperties: { + accessToken: { + serializedName: "accessToken", nullable: true, type: { - name: "String" - } + name: "String", + }, }, - cname: { - serializedName: "cname", - nullable: true, + expiryTimeUtc: { + defaultValue: 0, + serializedName: "expiryTimeUtc", type: { - name: "String" - } + name: "Number", + }, }, - leafDomainLabel: { - serializedName: "leafDomainLabel", - nullable: true, + refreshAfterTimeUtc: { + defaultValue: 0, + serializedName: "refreshAfterTimeUtc", type: { - name: "String" - } + name: "Number", + }, }, - overwriteExistingDomain: { - serializedName: "overwriteExistingDomain", + tokenType: { + serializedName: "tokenType", + nullable: true, type: { - name: "Boolean" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const AksNetworkingConfiguration: coreClient.CompositeMapper = { +export const ScheduleResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AksNetworkingConfiguration", + className: "ScheduleResourceArmPaginatedResult", modelProperties: { - subnetId: { - serializedName: "subnetId", + nextLink: { + serializedName: "nextLink", type: { - name: "String" - } - }, - serviceCidr: { - constraints: { - Pattern: new RegExp( - "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$" - ) + name: "String", }, - serializedName: "serviceCidr", - type: { - name: "String" - } }, - dnsServiceIP: { - constraints: { - Pattern: new RegExp( - "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" - ) + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Schedule", + }, + }, }, - serializedName: "dnsServiceIP", + }, + }, + }, +}; + +export const ScheduleActionBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ScheduleActionBase", + uberParent: "ScheduleActionBase", + polymorphicDiscriminator: { + serializedName: "actionType", + clientName: "actionType", + }, + modelProperties: { + actionType: { + serializedName: "actionType", + required: true, type: { - name: "String" - } + name: "String", + }, }, - dockerBridgeCidr: { - constraints: { - Pattern: new RegExp( - "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$" - ) + }, + }, +}; + +export const RegistryTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RegistryTrackedResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, }, - serializedName: "dockerBridgeCidr", - type: { - name: "String" - } - } - } - } -}; + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Registry", + }, + }, + }, + }, + }, + }, + }; -export const KubernetesSchema: coreClient.CompositeMapper = { +export const ArmResourceId: coreClient.CompositeMapper = { type: { name: "Composite", - className: "KubernetesSchema", + className: "ArmResourceId", modelProperties: { - properties: { - serializedName: "properties", + resourceId: { + serializedName: "resourceId", + nullable: true, type: { - name: "Composite", - className: "KubernetesProperties" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const KubernetesProperties: coreClient.CompositeMapper = { +export const RegistryPrivateEndpointConnection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "KubernetesProperties", + className: "RegistryPrivateEndpointConnection", modelProperties: { - relayConnectionString: { - serializedName: "relayConnectionString", + id: { + serializedName: "id", nullable: true, type: { - name: "String" - } + name: "String", + }, }, - serviceBusConnectionString: { - serializedName: "serviceBusConnectionString", + location: { + serializedName: "location", nullable: true, type: { - name: "String" - } + name: "String", + }, }, - extensionPrincipalId: { - serializedName: "extensionPrincipalId", + groupIds: { + serializedName: "properties.groupIds", nullable: true, type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - extensionInstanceReleaseTrain: { - serializedName: "extensionInstanceReleaseTrain", + privateEndpoint: { + serializedName: "properties.privateEndpoint", type: { - name: "String" - } + name: "Composite", + className: "PrivateEndpointResource", + }, }, - vcName: { - serializedName: "vcName", + registryPrivateLinkServiceConnectionState: { + serializedName: "properties.registryPrivateLinkServiceConnectionState", type: { - name: "String" - } + name: "Composite", + className: "RegistryPrivateLinkServiceConnectionState", + }, }, - namespace: { - defaultValue: "default", - serializedName: "namespace", + provisioningState: { + serializedName: "properties.provisioningState", + nullable: true, type: { - name: "String" - } + name: "String", + }, }, - defaultInstanceType: { - serializedName: "defaultInstanceType", - type: { - name: "String" - } + }, + }, +}; + +export const RegistryPrivateLinkServiceConnectionState: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RegistryPrivateLinkServiceConnectionState", + modelProperties: { + actionsRequired: { + serializedName: "actionsRequired", + nullable: true, + type: { + name: "String", + }, + }, + description: { + serializedName: "description", + nullable: true, + type: { + name: "String", + }, + }, + status: { + serializedName: "status", + type: { + name: "String", + }, + }, }, - instanceTypes: { - serializedName: "instanceTypes", - type: { - name: "Dictionary", - value: { - type: { name: "Composite", className: "InstanceTypeSchema" } - } - } - } - } - } -}; + }, + }; -export const InstanceTypeSchema: coreClient.CompositeMapper = { +export const RegistryRegionArmDetails: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InstanceTypeSchema", + className: "RegistryRegionArmDetails", modelProperties: { - nodeSelector: { - serializedName: "nodeSelector", + acrDetails: { + serializedName: "acrDetails", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } } - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AcrDetails", + }, + }, + }, }, - resources: { - serializedName: "resources", + location: { + serializedName: "location", + nullable: true, type: { - name: "Composite", - className: "InstanceTypeSchemaResources" - } - } - } - } + name: "String", + }, + }, + storageAccountDetails: { + serializedName: "storageAccountDetails", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StorageAccountDetails", + }, + }, + }, + }, + }, + }, }; -export const InstanceTypeSchemaResources: coreClient.CompositeMapper = { +export const AcrDetails: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InstanceTypeSchemaResources", + className: "AcrDetails", modelProperties: { - requests: { - serializedName: "requests", + systemCreatedAcrAccount: { + serializedName: "systemCreatedAcrAccount", type: { - name: "Dictionary", - value: { type: { name: "String" } } - } + name: "Composite", + className: "SystemCreatedAcrAccount", + }, }, - limits: { - serializedName: "limits", + userCreatedAcrAccount: { + serializedName: "userCreatedAcrAccount", type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - } - } - } + name: "Composite", + className: "UserCreatedAcrAccount", + }, + }, + }, + }, }; -export const AmlComputeProperties: coreClient.CompositeMapper = { +export const SystemCreatedAcrAccount: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlComputeProperties", + className: "SystemCreatedAcrAccount", modelProperties: { - osType: { - defaultValue: "Linux", - serializedName: "osType", + acrAccountName: { + serializedName: "acrAccountName", + nullable: true, type: { - name: "String" - } + name: "String", + }, }, - vmSize: { - serializedName: "vmSize", + acrAccountSku: { + serializedName: "acrAccountSku", + nullable: true, type: { - name: "String" - } + name: "String", + }, }, - vmPriority: { - serializedName: "vmPriority", + armResourceId: { + serializedName: "armResourceId", type: { - name: "String" - } + name: "Composite", + className: "ArmResourceId", + }, }, - virtualMachineImage: { - serializedName: "virtualMachineImage", + }, + }, +}; + +export const UserCreatedAcrAccount: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "UserCreatedAcrAccount", + modelProperties: { + armResourceId: { + serializedName: "armResourceId", type: { name: "Composite", - className: "VirtualMachineImage" - } + className: "ArmResourceId", + }, }, - isolatedNetwork: { - serializedName: "isolatedNetwork", + }, + }, +}; + +export const StorageAccountDetails: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "StorageAccountDetails", + modelProperties: { + systemCreatedStorageAccount: { + serializedName: "systemCreatedStorageAccount", type: { - name: "Boolean" - } + name: "Composite", + className: "SystemCreatedStorageAccount", + }, }, - scaleSettings: { - serializedName: "scaleSettings", + userCreatedStorageAccount: { + serializedName: "userCreatedStorageAccount", type: { name: "Composite", - className: "ScaleSettings" - } + className: "UserCreatedStorageAccount", + }, }, - userAccountCredentials: { - serializedName: "userAccountCredentials", + }, + }, +}; + +export const SystemCreatedStorageAccount: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SystemCreatedStorageAccount", + modelProperties: { + allowBlobPublicAccess: { + serializedName: "allowBlobPublicAccess", type: { - name: "Composite", - className: "UserAccountCredentials" - } + name: "Boolean", + }, }, - subnet: { - serializedName: "subnet", + armResourceId: { + serializedName: "armResourceId", type: { name: "Composite", - className: "ResourceId" - } + className: "ArmResourceId", + }, }, - remoteLoginPortPublicAccess: { - defaultValue: "NotSpecified", - serializedName: "remoteLoginPortPublicAccess", + storageAccountHnsEnabled: { + serializedName: "storageAccountHnsEnabled", type: { - name: "String" - } + name: "Boolean", + }, }, - allocationState: { - serializedName: "allocationState", - readOnly: true, + storageAccountName: { + serializedName: "storageAccountName", + nullable: true, type: { - name: "String" - } + name: "String", + }, }, - allocationStateTransitionTime: { - serializedName: "allocationStateTransitionTime", - readOnly: true, + storageAccountType: { + serializedName: "storageAccountType", + nullable: true, type: { - name: "DateTime" - } + name: "String", + }, }, - errors: { - serializedName: "errors", + }, + }, +}; + +export const UserCreatedStorageAccount: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "UserCreatedStorageAccount", + modelProperties: { + armResourceId: { + serializedName: "armResourceId", + type: { + name: "Composite", + className: "ArmResourceId", + }, + }, + }, + }, +}; + +export const PartialRegistryPartialTrackedResource: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "PartialRegistryPartialTrackedResource", + modelProperties: { + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "RegistryPartialManagedServiceIdentity", + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "PartialSku", + }, + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + }, + }, + }; + +export const ListAmlUserFeatureResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ListAmlUserFeatureResult", + modelProperties: { + value: { + serializedName: "value", readOnly: true, - nullable: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ErrorResponse" - } - } - } + className: "AmlUserFeature", + }, + }, + }, }, - currentNodeCount: { - serializedName: "currentNodeCount", + nextLink: { + serializedName: "nextLink", readOnly: true, - nullable: true, type: { - name: "Number" - } + name: "String", + }, }, - targetNodeCount: { - serializedName: "targetNodeCount", - readOnly: true, - nullable: true, + }, + }, +}; + +export const AmlUserFeature: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AmlUserFeature", + modelProperties: { + id: { + serializedName: "id", type: { - name: "Number" - } + name: "String", + }, }, - nodeStateCounts: { - serializedName: "nodeStateCounts", + displayName: { + serializedName: "displayName", type: { - name: "Composite", - className: "NodeStateCounts" - } + name: "String", + }, }, - enableNodePublicIp: { - defaultValue: true, - serializedName: "enableNodePublicIp", - nullable: true, + description: { + serializedName: "description", type: { - name: "Boolean" - } + name: "String", + }, }, - propertyBag: { - serializedName: "propertyBag", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } + }, + }, }; -export const VirtualMachineImage: coreClient.CompositeMapper = { +export const ResourceId: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineImage", + className: "ResourceId", modelProperties: { id: { serializedName: "id", required: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const UserAccountCredentials: coreClient.CompositeMapper = { +export const AKSSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UserAccountCredentials", + className: "AKSSchema", modelProperties: { - adminUserName: { - serializedName: "adminUserName", - required: true, - type: { - name: "String" - } - }, - adminUserSshPublicKey: { - serializedName: "adminUserSshPublicKey", + properties: { + serializedName: "properties", type: { - name: "String" - } + name: "Composite", + className: "AKSSchemaProperties", + }, }, - adminUserPassword: { - serializedName: "adminUserPassword", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const NodeStateCounts: coreClient.CompositeMapper = { +export const AKSSchemaProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NodeStateCounts", + className: "AKSSchemaProperties", modelProperties: { - idleNodeCount: { - serializedName: "idleNodeCount", - readOnly: true, + clusterFqdn: { + serializedName: "clusterFqdn", + nullable: true, type: { - name: "Number" - } + name: "String", + }, }, - runningNodeCount: { - serializedName: "runningNodeCount", + systemServices: { + serializedName: "systemServices", readOnly: true, + nullable: true, type: { - name: "Number" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SystemService", + }, + }, + }, }, - preparingNodeCount: { - serializedName: "preparingNodeCount", - readOnly: true, + agentCount: { + constraints: { + InclusiveMinimum: 0, + }, + serializedName: "agentCount", + nullable: true, type: { - name: "Number" - } + name: "Number", + }, }, - unusableNodeCount: { - serializedName: "unusableNodeCount", - readOnly: true, + agentVmSize: { + serializedName: "agentVmSize", + nullable: true, type: { - name: "Number" - } + name: "String", + }, }, - leavingNodeCount: { - serializedName: "leavingNodeCount", - readOnly: true, + clusterPurpose: { + defaultValue: "FastProd", + serializedName: "clusterPurpose", type: { - name: "Number" - } + name: "String", + }, }, - preemptedNodeCount: { - serializedName: "preemptedNodeCount", - readOnly: true, - type: { - name: "Number" - } - } - } - } -}; - -export const AmlComputeSchema: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AmlComputeSchema", - modelProperties: { - properties: { - serializedName: "properties", + sslConfiguration: { + serializedName: "sslConfiguration", type: { name: "Composite", - className: "AmlComputeProperties" - } - } - } - } -}; - -export const ComputeInstanceProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeInstanceProperties", - modelProperties: { - vmSize: { - serializedName: "vmSize", - type: { - name: "String" - } + className: "SslConfiguration", + }, }, - subnet: { - serializedName: "subnet", + aksNetworkingConfiguration: { + serializedName: "aksNetworkingConfiguration", type: { name: "Composite", - className: "ResourceId" - } - }, - applicationSharingPolicy: { - defaultValue: "Shared", - serializedName: "applicationSharingPolicy", - type: { - name: "String" - } + className: "AksNetworkingConfiguration", + }, }, - sshSettings: { - serializedName: "sshSettings", + loadBalancerType: { + defaultValue: "PublicIp", + serializedName: "loadBalancerType", type: { - name: "Composite", - className: "ComputeInstanceSshSettings" - } + name: "String", + }, }, - connectivityEndpoints: { - serializedName: "connectivityEndpoints", + loadBalancerSubnet: { + serializedName: "loadBalancerSubnet", + nullable: true, type: { - name: "Composite", - className: "ComputeInstanceConnectivityEndpoints" - } + name: "String", + }, }, - applications: { - serializedName: "applications", + }, + }, +}; + +export const SystemService: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SystemService", + modelProperties: { + systemServiceType: { + serializedName: "systemServiceType", readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComputeInstanceApplication" - } - } - } - }, - createdBy: { - serializedName: "createdBy", - type: { - name: "Composite", - className: "ComputeInstanceCreatedBy" - } + name: "String", + }, }, - errors: { - serializedName: "errors", + publicIpAddress: { + serializedName: "publicIpAddress", readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ErrorResponse" - } - } - } + name: "String", + }, }, - state: { - serializedName: "state", + version: { + serializedName: "version", readOnly: true, type: { - name: "String" - } - }, - computeInstanceAuthorizationType: { - defaultValue: "personal", - serializedName: "computeInstanceAuthorizationType", - nullable: true, - type: { - name: "String" - } - }, - personalComputeInstanceSettings: { - serializedName: "personalComputeInstanceSettings", - type: { - name: "Composite", - className: "PersonalComputeInstanceSettings" - } - }, - setupScripts: { - serializedName: "setupScripts", - type: { - name: "Composite", - className: "SetupScripts" - } - }, - lastOperation: { - serializedName: "lastOperation", - type: { - name: "Composite", - className: "ComputeInstanceLastOperation" - } + name: "String", + }, }, - schedules: { - serializedName: "schedules", + }, + }, +}; + +export const SslConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SslConfiguration", + modelProperties: { + status: { + serializedName: "status", type: { - name: "Composite", - className: "ComputeSchedules" - } + name: "String", + }, }, - enableNodePublicIp: { - serializedName: "enableNodePublicIp", + cert: { + serializedName: "cert", + nullable: true, type: { - name: "Boolean" - } + name: "String", + }, }, - containers: { - serializedName: "containers", - readOnly: true, + key: { + serializedName: "key", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComputeInstanceContainer" - } - } - } + name: "String", + }, }, - dataDisks: { - serializedName: "dataDisks", - readOnly: true, + cname: { + serializedName: "cname", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComputeInstanceDataDisk" - } - } - } + name: "String", + }, }, - dataMounts: { - serializedName: "dataMounts", - readOnly: true, + leafDomainLabel: { + serializedName: "leafDomainLabel", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComputeInstanceDataMount" - } - } - } + name: "String", + }, }, - versions: { - serializedName: "versions", + overwriteExistingDomain: { + serializedName: "overwriteExistingDomain", type: { - name: "Composite", - className: "ComputeInstanceVersion" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; -export const ComputeInstanceSshSettings: coreClient.CompositeMapper = { +export const AksNetworkingConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceSshSettings", + className: "AksNetworkingConfiguration", modelProperties: { - sshPublicAccess: { - defaultValue: "Disabled", - serializedName: "sshPublicAccess", + subnetId: { + serializedName: "subnetId", type: { - name: "String" - } + name: "String", + }, }, - adminUserName: { - serializedName: "adminUserName", - readOnly: true, + serviceCidr: { + constraints: { + Pattern: new RegExp( + "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", + ), + }, + serializedName: "serviceCidr", type: { - name: "String" - } + name: "String", + }, }, - sshPort: { - serializedName: "sshPort", - readOnly: true, + dnsServiceIP: { + constraints: { + Pattern: new RegExp( + "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + ), + }, + serializedName: "dnsServiceIP", type: { - name: "Number" - } + name: "String", + }, }, - adminPublicKey: { - serializedName: "adminPublicKey", - type: { - name: "String" - } - } - } - } -}; - -export const ComputeInstanceConnectivityEndpoints: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeInstanceConnectivityEndpoints", - modelProperties: { - publicIpAddress: { - serializedName: "publicIpAddress", - readOnly: true, - nullable: true, + dockerBridgeCidr: { + constraints: { + Pattern: new RegExp( + "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", + ), + }, + serializedName: "dockerBridgeCidr", type: { - name: "String" - } + name: "String", + }, }, - privateIpAddress: { - serializedName: "privateIpAddress", - readOnly: true, - nullable: true, - type: { - name: "String" - } - } - } - } + }, + }, }; -export const ComputeInstanceApplication: coreClient.CompositeMapper = { +export const KubernetesSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceApplication", + className: "KubernetesSchema", modelProperties: { - displayName: { - serializedName: "displayName", + properties: { + serializedName: "properties", type: { - name: "String" - } + name: "Composite", + className: "KubernetesProperties", + }, }, - endpointUri: { - serializedName: "endpointUri", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const ComputeInstanceCreatedBy: coreClient.CompositeMapper = { +export const KubernetesProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceCreatedBy", + className: "KubernetesProperties", modelProperties: { - userName: { - serializedName: "userName", - readOnly: true, + relayConnectionString: { + serializedName: "relayConnectionString", nullable: true, type: { - name: "String" - } + name: "String", + }, }, - userOrgId: { - serializedName: "userOrgId", - readOnly: true, + serviceBusConnectionString: { + serializedName: "serviceBusConnectionString", + nullable: true, type: { - name: "String" - } + name: "String", + }, }, - userId: { - serializedName: "userId", - readOnly: true, + extensionPrincipalId: { + serializedName: "extensionPrincipalId", nullable: true, type: { - name: "String" - } - } - } - } -}; - -export const PersonalComputeInstanceSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PersonalComputeInstanceSettings", - modelProperties: { - assignedUser: { - serializedName: "assignedUser", + name: "String", + }, + }, + extensionInstanceReleaseTrain: { + serializedName: "extensionInstanceReleaseTrain", type: { - name: "Composite", - className: "AssignedUser" - } - } - } - } -}; - -export const AssignedUser: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AssignedUser", - modelProperties: { - objectId: { - serializedName: "objectId", - required: true, + name: "String", + }, + }, + vcName: { + serializedName: "vcName", type: { - name: "String" - } + name: "String", + }, }, - tenantId: { - serializedName: "tenantId", - required: true, + namespace: { + defaultValue: "default", + serializedName: "namespace", + type: { + name: "String", + }, + }, + defaultInstanceType: { + serializedName: "defaultInstanceType", + type: { + name: "String", + }, + }, + instanceTypes: { + serializedName: "instanceTypes", type: { - name: "String" - } - } - } - } + name: "Dictionary", + value: { + type: { name: "Composite", className: "InstanceTypeSchema" }, + }, + }, + }, + }, + }, }; -export const SetupScripts: coreClient.CompositeMapper = { +export const InstanceTypeSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SetupScripts", + className: "InstanceTypeSchema", modelProperties: { - scripts: { - serializedName: "scripts", + nodeSelector: { + serializedName: "nodeSelector", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + resources: { + serializedName: "resources", type: { name: "Composite", - className: "ScriptsToExecute" - } - } - } - } + className: "InstanceTypeSchemaResources", + }, + }, + }, + }, }; -export const ScriptsToExecute: coreClient.CompositeMapper = { +export const InstanceTypeSchemaResources: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScriptsToExecute", + className: "InstanceTypeSchemaResources", modelProperties: { - startupScript: { - serializedName: "startupScript", + requests: { + serializedName: "requests", type: { - name: "Composite", - className: "ScriptReference" - } + name: "Dictionary", + value: { type: { name: "String" } }, + }, }, - creationScript: { - serializedName: "creationScript", + limits: { + serializedName: "limits", type: { - name: "Composite", - className: "ScriptReference" - } - } - } - } + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + }, + }, }; -export const ScriptReference: coreClient.CompositeMapper = { +export const AmlComputeProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScriptReference", + className: "AmlComputeProperties", modelProperties: { - scriptSource: { - serializedName: "scriptSource", + osType: { + defaultValue: "Linux", + serializedName: "osType", type: { - name: "String" - } + name: "String", + }, }, - scriptData: { - serializedName: "scriptData", + vmSize: { + serializedName: "vmSize", type: { - name: "String" - } + name: "String", + }, }, - scriptArguments: { - serializedName: "scriptArguments", + vmPriority: { + serializedName: "vmPriority", type: { - name: "String" - } + name: "String", + }, }, - timeout: { - serializedName: "timeout", + virtualMachineImage: { + serializedName: "virtualMachineImage", type: { - name: "String" - } - } - } - } -}; - -export const ComputeInstanceLastOperation: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeInstanceLastOperation", - modelProperties: { - operationName: { - serializedName: "operationName", + name: "Composite", + className: "VirtualMachineImage", + }, + }, + isolatedNetwork: { + serializedName: "isolatedNetwork", type: { - name: "String" - } + name: "Boolean", + }, }, - operationTime: { - serializedName: "operationTime", + scaleSettings: { + serializedName: "scaleSettings", type: { - name: "DateTime" - } + name: "Composite", + className: "ScaleSettings", + }, }, - operationStatus: { - serializedName: "operationStatus", + userAccountCredentials: { + serializedName: "userAccountCredentials", type: { - name: "String" - } + name: "Composite", + className: "UserAccountCredentials", + }, }, - operationTrigger: { - serializedName: "operationTrigger", + subnet: { + serializedName: "subnet", type: { - name: "String" - } - } - } - } -}; - -export const ComputeSchedules: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeSchedules", - modelProperties: { - computeStartStop: { - serializedName: "computeStartStop", + name: "Composite", + className: "ResourceId", + }, + }, + remoteLoginPortPublicAccess: { + defaultValue: "NotSpecified", + serializedName: "remoteLoginPortPublicAccess", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComputeStartStopSchedule" - } - } - } - } - } - } -}; - -export const ComputeStartStopSchedule: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeStartStopSchedule", - modelProperties: { - id: { - serializedName: "id", + name: "String", + }, + }, + allocationState: { + serializedName: "allocationState", readOnly: true, - nullable: true, type: { - name: "String" - } + name: "String", + }, }, - provisioningStatus: { - serializedName: "provisioningStatus", + allocationStateTransitionTime: { + serializedName: "allocationStateTransitionTime", readOnly: true, type: { - name: "String" - } + name: "DateTime", + }, }, - status: { - serializedName: "status", + errors: { + serializedName: "errors", + readOnly: true, + nullable: true, type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorResponse", + }, + }, + }, }, - action: { - serializedName: "action", + currentNodeCount: { + serializedName: "currentNodeCount", + readOnly: true, + nullable: true, type: { - name: "String" - } + name: "Number", + }, }, - triggerType: { - serializedName: "triggerType", + targetNodeCount: { + serializedName: "targetNodeCount", + readOnly: true, + nullable: true, type: { - name: "String" - } + name: "Number", + }, }, - recurrence: { - serializedName: "recurrence", + nodeStateCounts: { + serializedName: "nodeStateCounts", type: { name: "Composite", - className: "RecurrenceTrigger" - } + className: "NodeStateCounts", + }, }, - cron: { - serializedName: "cron", + enableNodePublicIp: { + defaultValue: true, + serializedName: "enableNodePublicIp", + nullable: true, type: { - name: "Composite", - className: "CronTrigger" - } + name: "Boolean", + }, }, - schedule: { - serializedName: "schedule", + propertyBag: { + serializedName: "propertyBag", + nullable: true, type: { - name: "Composite", - className: "ScheduleBase" - } - } - } - } + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + }, + }, }; -export const RecurrenceSchedule: coreClient.CompositeMapper = { +export const VirtualMachineImage: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RecurrenceSchedule", + className: "VirtualMachineImage", modelProperties: { - hours: { - serializedName: "hours", + id: { + serializedName: "id", required: true, type: { - name: "Sequence", - element: { - type: { - name: "Number" - } - } - } + name: "String", + }, }, - minutes: { - serializedName: "minutes", + }, + }, +}; + +export const UserAccountCredentials: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "UserAccountCredentials", + modelProperties: { + adminUserName: { + serializedName: "adminUserName", required: true, type: { - name: "Sequence", - element: { - type: { - name: "Number" - } - } - } + name: "String", + }, }, - monthDays: { - serializedName: "monthDays", - nullable: true, + adminUserSshPublicKey: { + serializedName: "adminUserSshPublicKey", type: { - name: "Sequence", - element: { - type: { - name: "Number" - } - } - } - }, - weekDays: { - serializedName: "weekDays", - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const ScheduleBase: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ScheduleBase", - modelProperties: { - id: { - serializedName: "id", - nullable: true, - type: { - name: "String" - } + name: "String", + }, }, - provisioningStatus: { - serializedName: "provisioningStatus", + adminUserPassword: { + serializedName: "adminUserPassword", type: { - name: "String" - } + name: "String", + }, }, - status: { - serializedName: "status", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const ComputeInstanceContainer: coreClient.CompositeMapper = { +export const NodeStateCounts: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceContainer", + className: "NodeStateCounts", modelProperties: { - name: { - serializedName: "name", + idleNodeCount: { + serializedName: "idleNodeCount", + readOnly: true, type: { - name: "String" - } + name: "Number", + }, }, - autosave: { - serializedName: "autosave", + runningNodeCount: { + serializedName: "runningNodeCount", + readOnly: true, type: { - name: "String" - } + name: "Number", + }, }, - gpu: { - serializedName: "gpu", + preparingNodeCount: { + serializedName: "preparingNodeCount", + readOnly: true, type: { - name: "String" - } + name: "Number", + }, }, - network: { - serializedName: "network", + unusableNodeCount: { + serializedName: "unusableNodeCount", + readOnly: true, type: { - name: "String" - } + name: "Number", + }, }, - environment: { - serializedName: "environment", + leavingNodeCount: { + serializedName: "leavingNodeCount", + readOnly: true, type: { - name: "Composite", - className: "ComputeInstanceEnvironmentInfo" - } + name: "Number", + }, }, - services: { - serializedName: "services", + preemptedNodeCount: { + serializedName: "preemptedNodeCount", readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } - } - } + name: "Number", + }, + }, + }, + }, }; -export const ComputeInstanceEnvironmentInfo: coreClient.CompositeMapper = { +export const AmlComputeSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceEnvironmentInfo", + className: "AmlComputeSchema", modelProperties: { - name: { - serializedName: "name", + properties: { + serializedName: "properties", type: { - name: "String" - } + name: "Composite", + className: "AmlComputeProperties", + }, }, - version: { - serializedName: "version", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const ComputeInstanceDataDisk: coreClient.CompositeMapper = { +export const ComputeInstanceProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceDataDisk", + className: "ComputeInstanceProperties", modelProperties: { - caching: { - serializedName: "caching", + vmSize: { + serializedName: "vmSize", type: { - name: "String" - } + name: "String", + }, }, - diskSizeGB: { - serializedName: "diskSizeGB", + subnet: { + serializedName: "subnet", type: { - name: "Number" - } + name: "Composite", + className: "ResourceId", + }, }, - lun: { - serializedName: "lun", + applicationSharingPolicy: { + defaultValue: "Shared", + serializedName: "applicationSharingPolicy", type: { - name: "Number" - } + name: "String", + }, }, - storageAccountType: { - defaultValue: "Standard_LRS", - serializedName: "storageAccountType", + sshSettings: { + serializedName: "sshSettings", type: { - name: "String" - } - } - } - } -}; - -export const ComputeInstanceDataMount: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeInstanceDataMount", - modelProperties: { - source: { - serializedName: "source", + name: "Composite", + className: "ComputeInstanceSshSettings", + }, + }, + customServices: { + serializedName: "customServices", + nullable: true, type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CustomService", + }, + }, + }, }, - sourceType: { - serializedName: "sourceType", + osImageMetadata: { + serializedName: "osImageMetadata", type: { - name: "String" - } + name: "Composite", + className: "ImageMetadata", + }, }, - mountName: { - serializedName: "mountName", + connectivityEndpoints: { + serializedName: "connectivityEndpoints", type: { - name: "String" - } + name: "Composite", + className: "ComputeInstanceConnectivityEndpoints", + }, }, - mountAction: { - serializedName: "mountAction", + applications: { + serializedName: "applications", + readOnly: true, type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeInstanceApplication", + }, + }, + }, }, createdBy: { serializedName: "createdBy", type: { - name: "String" - } - }, - mountPath: { - serializedName: "mountPath", - type: { - name: "String" - } + name: "Composite", + className: "ComputeInstanceCreatedBy", + }, }, - mountState: { - serializedName: "mountState", + errors: { + serializedName: "errors", + readOnly: true, type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorResponse", + }, + }, + }, }, - mountedOn: { - serializedName: "mountedOn", + state: { + serializedName: "state", + readOnly: true, type: { - name: "DateTime" - } + name: "String", + }, }, - error: { - serializedName: "error", - type: { - name: "String" - } - } - } - } -}; - -export const ComputeInstanceVersion: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeInstanceVersion", - modelProperties: { - runtime: { - serializedName: "runtime", + computeInstanceAuthorizationType: { + defaultValue: "personal", + serializedName: "computeInstanceAuthorizationType", nullable: true, type: { - name: "String" - } - } - } - } -}; - -export const ComputeInstanceSchema: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeInstanceSchema", - modelProperties: { - properties: { - serializedName: "properties", + name: "String", + }, + }, + personalComputeInstanceSettings: { + serializedName: "personalComputeInstanceSettings", type: { name: "Composite", - className: "ComputeInstanceProperties" - } - } - } - } -}; - -export const VirtualMachineSchema: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualMachineSchema", - modelProperties: { - properties: { - serializedName: "properties", + className: "PersonalComputeInstanceSettings", + }, + }, + setupScripts: { + serializedName: "setupScripts", type: { name: "Composite", - className: "VirtualMachineSchemaProperties" - } - } - } - } -}; - -export const VirtualMachineSchemaProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualMachineSchemaProperties", - modelProperties: { - virtualMachineSize: { - serializedName: "virtualMachineSize", - type: { - name: "String" - } + className: "SetupScripts", + }, }, - sshPort: { - serializedName: "sshPort", + lastOperation: { + serializedName: "lastOperation", type: { - name: "Number" - } + name: "Composite", + className: "ComputeInstanceLastOperation", + }, }, - notebookServerPort: { - serializedName: "notebookServerPort", + schedules: { + serializedName: "schedules", type: { - name: "Number" - } + name: "Composite", + className: "ComputeSchedules", + }, }, - address: { - serializedName: "address", + enableNodePublicIp: { + serializedName: "enableNodePublicIp", type: { - name: "String" - } + name: "Boolean", + }, }, - administratorAccount: { - serializedName: "administratorAccount", + containers: { + serializedName: "containers", + readOnly: true, + nullable: true, type: { - name: "Composite", - className: "VirtualMachineSshCredentials" - } - }, - isNotebookInstanceCompute: { - serializedName: "isNotebookInstanceCompute", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeInstanceContainer", + }, + }, + }, + }, + dataDisks: { + serializedName: "dataDisks", + readOnly: true, + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeInstanceDataDisk", + }, + }, + }, + }, + dataMounts: { + serializedName: "dataMounts", + readOnly: true, + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeInstanceDataMount", + }, + }, + }, + }, + versions: { + serializedName: "versions", type: { - name: "Boolean" - } - } - } - } + name: "Composite", + className: "ComputeInstanceVersion", + }, + }, + }, + }, }; -export const VirtualMachineSshCredentials: coreClient.CompositeMapper = { +export const ComputeInstanceSshSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSshCredentials", + className: "ComputeInstanceSshSettings", modelProperties: { - username: { - serializedName: "username", + sshPublicAccess: { + defaultValue: "Disabled", + serializedName: "sshPublicAccess", type: { - name: "String" - } + name: "String", + }, }, - password: { - serializedName: "password", + adminUserName: { + serializedName: "adminUserName", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - publicKeyData: { - serializedName: "publicKeyData", + sshPort: { + serializedName: "sshPort", + readOnly: true, type: { - name: "String" - } + name: "Number", + }, }, - privateKeyData: { - serializedName: "privateKeyData", + adminPublicKey: { + serializedName: "adminPublicKey", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const HDInsightProperties: coreClient.CompositeMapper = { +export const CustomService: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HDInsightProperties", + className: "CustomService", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - sshPort: { - serializedName: "sshPort", + name: { + serializedName: "name", type: { - name: "Number" - } + name: "String", + }, }, - address: { - serializedName: "address", + image: { + serializedName: "image", type: { - name: "String" - } + name: "Composite", + className: "Image", + }, }, - administratorAccount: { - serializedName: "administratorAccount", + environmentVariables: { + serializedName: "environmentVariables", type: { - name: "Composite", - className: "VirtualMachineSshCredentials" - } - } - } - } -}; - -export const HDInsightSchema: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "HDInsightSchema", - modelProperties: { - properties: { - serializedName: "properties", + name: "Dictionary", + value: { + type: { name: "Composite", className: "EnvironmentVariable" }, + }, + }, + }, + docker: { + serializedName: "docker", type: { name: "Composite", - className: "HDInsightProperties" - } - } - } - } + className: "Docker", + }, + }, + endpoints: { + serializedName: "endpoints", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Endpoint", + }, + }, + }, + }, + volumes: { + serializedName: "volumes", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VolumeDefinition", + }, + }, + }, + }, + }, + }, }; -export const DatabricksProperties: coreClient.CompositeMapper = { +export const Image: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatabricksProperties", + className: "Image", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - databricksAccessToken: { - serializedName: "databricksAccessToken", + type: { + defaultValue: "docker", + serializedName: "type", type: { - name: "String" - } + name: "String", + }, }, - workspaceUrl: { - serializedName: "workspaceUrl", + reference: { + serializedName: "reference", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const DatabricksSchema: coreClient.CompositeMapper = { +export const EnvironmentVariable: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatabricksSchema", + className: "EnvironmentVariable", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - properties: { - serializedName: "properties", + type: { + defaultValue: "local", + serializedName: "type", type: { - name: "Composite", - className: "DatabricksProperties" - } - } - } - } + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "String", + }, + }, + }, + }, }; -export const DataLakeAnalyticsSchema: coreClient.CompositeMapper = { +export const Docker: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataLakeAnalyticsSchema", + className: "Docker", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - properties: { - serializedName: "properties", + privileged: { + serializedName: "privileged", + nullable: true, type: { - name: "Composite", - className: "DataLakeAnalyticsSchemaProperties" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; -export const DataLakeAnalyticsSchemaProperties: coreClient.CompositeMapper = { +export const Endpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataLakeAnalyticsSchemaProperties", + className: "Endpoint", modelProperties: { - dataLakeStoreAccountName: { - serializedName: "dataLakeStoreAccountName", + protocol: { + defaultValue: "tcp", + serializedName: "protocol", + type: { + name: "String", + }, + }, + name: { + serializedName: "name", + type: { + name: "String", + }, + }, + target: { + serializedName: "target", + type: { + name: "Number", + }, + }, + published: { + serializedName: "published", + nullable: true, + type: { + name: "Number", + }, + }, + hostIp: { + serializedName: "hostIp", + nullable: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const SynapseSparkProperties: coreClient.CompositeMapper = { +export const VolumeDefinition: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SynapseSparkProperties", + className: "VolumeDefinition", modelProperties: { - autoScaleProperties: { - serializedName: "autoScaleProperties", - type: { - name: "Composite", - className: "AutoScaleProperties" - } - }, - autoPauseProperties: { - serializedName: "autoPauseProperties", + type: { + defaultValue: "bind", + serializedName: "type", type: { - name: "Composite", - className: "AutoPauseProperties" - } + name: "String", + }, }, - sparkVersion: { - serializedName: "sparkVersion", + readOnly: { + serializedName: "readOnly", + nullable: true, type: { - name: "String" - } + name: "Boolean", + }, }, - nodeCount: { - serializedName: "nodeCount", + source: { + serializedName: "source", type: { - name: "Number" - } + name: "String", + }, }, - nodeSize: { - serializedName: "nodeSize", + target: { + serializedName: "target", type: { - name: "String" - } + name: "String", + }, }, - nodeSizeFamily: { - serializedName: "nodeSizeFamily", + consistency: { + serializedName: "consistency", type: { - name: "String" - } + name: "String", + }, }, - subscriptionId: { - serializedName: "subscriptionId", + bind: { + serializedName: "bind", type: { - name: "String" - } + name: "Composite", + className: "BindOptions", + }, }, - resourceGroup: { - serializedName: "resourceGroup", + volume: { + serializedName: "volume", type: { - name: "String" - } + name: "Composite", + className: "VolumeOptions", + }, }, - workspaceName: { - serializedName: "workspaceName", + tmpfs: { + serializedName: "tmpfs", type: { - name: "String" - } + name: "Composite", + className: "TmpfsOptions", + }, }, - poolName: { - serializedName: "poolName", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const AutoScaleProperties: coreClient.CompositeMapper = { +export const BindOptions: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutoScaleProperties", + className: "BindOptions", modelProperties: { - minNodeCount: { - serializedName: "minNodeCount", + propagation: { + serializedName: "propagation", + nullable: true, type: { - name: "Number" - } + name: "String", + }, }, - enabled: { - serializedName: "enabled", + createHostPath: { + serializedName: "createHostPath", + nullable: true, type: { - name: "Boolean" - } + name: "Boolean", + }, }, - maxNodeCount: { - serializedName: "maxNodeCount", + selinux: { + serializedName: "selinux", + nullable: true, type: { - name: "Number" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const AutoPauseProperties: coreClient.CompositeMapper = { +export const VolumeOptions: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutoPauseProperties", + className: "VolumeOptions", modelProperties: { - delayInMinutes: { - serializedName: "delayInMinutes", + nocopy: { + serializedName: "nocopy", + nullable: true, type: { - name: "Number" - } + name: "Boolean", + }, }, - enabled: { - serializedName: "enabled", - type: { - name: "Boolean" - } - } - } - } + }, + }, }; -export const AksComputeSecretsProperties: coreClient.CompositeMapper = { +export const TmpfsOptions: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AksComputeSecretsProperties", + className: "TmpfsOptions", modelProperties: { - userKubeConfig: { - serializedName: "userKubeConfig", + size: { + serializedName: "size", type: { - name: "String" - } + name: "Number", + }, }, - adminKubeConfig: { - serializedName: "adminKubeConfig", - type: { - name: "String" - } - }, - imagePullSecretName: { - serializedName: "imagePullSecretName", - nullable: true, - type: { - name: "String" - } - } - } - } + }, + }, }; -export const VirtualMachineSecretsSchema: coreClient.CompositeMapper = { +export const ImageMetadata: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSecretsSchema", + className: "ImageMetadata", modelProperties: { - administratorAccount: { - serializedName: "administratorAccount", + currentImageVersion: { + serializedName: "currentImageVersion", type: { - name: "Composite", - className: "VirtualMachineSshCredentials" - } - } - } - } -}; - -export const DatabricksComputeSecretsProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DatabricksComputeSecretsProperties", - modelProperties: { - databricksAccessToken: { - serializedName: "databricksAccessToken", + name: "String", + }, + }, + latestImageVersion: { + serializedName: "latestImageVersion", type: { - name: "String" - } - } - } - } -}; + name: "String", + }, + }, + isLatestOsImageVersion: { + serializedName: "isLatestOsImageVersion", + type: { + name: "Boolean", + }, + }, + }, + }, +}; + +export const ComputeInstanceConnectivityEndpoints: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ComputeInstanceConnectivityEndpoints", + modelProperties: { + publicIpAddress: { + serializedName: "publicIpAddress", + readOnly: true, + nullable: true, + type: { + name: "String", + }, + }, + privateIpAddress: { + serializedName: "privateIpAddress", + readOnly: true, + nullable: true, + type: { + name: "String", + }, + }, + }, + }, + }; -export const WorkspaceConnectionUsernamePassword: coreClient.CompositeMapper = { +export const ComputeInstanceApplication: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionUsernamePassword", + className: "ComputeInstanceApplication", modelProperties: { - username: { - serializedName: "username", + displayName: { + serializedName: "displayName", type: { - name: "String" - } + name: "String", + }, }, - password: { - serializedName: "password", + endpointUri: { + serializedName: "endpointUri", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const WorkspaceConnectionPersonalAccessToken: coreClient.CompositeMapper = { +export const ComputeInstanceCreatedBy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionPersonalAccessToken", + className: "ComputeInstanceCreatedBy", modelProperties: { - pat: { - serializedName: "pat", + userName: { + serializedName: "userName", + readOnly: true, + nullable: true, type: { - name: "String" - } - } - } - } -}; - -export const WorkspaceConnectionSharedAccessSignature: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WorkspaceConnectionSharedAccessSignature", - modelProperties: { - sas: { - serializedName: "sas", + name: "String", + }, + }, + userOrgId: { + serializedName: "userOrgId", + readOnly: true, + type: { + name: "String", + }, + }, + userId: { + serializedName: "userId", + readOnly: true, + nullable: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const WorkspaceConnectionManagedIdentity: coreClient.CompositeMapper = { +export const PersonalComputeInstanceSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionManagedIdentity", + className: "PersonalComputeInstanceSettings", modelProperties: { - resourceId: { - serializedName: "resourceId", + assignedUser: { + serializedName: "assignedUser", type: { - name: "String" - } + name: "Composite", + className: "AssignedUser", + }, }, - clientId: { - serializedName: "clientId", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const AssetJobInput: coreClient.CompositeMapper = { +export const AssignedUser: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssetJobInput", + className: "AssignedUser", modelProperties: { - mode: { - serializedName: "mode", + objectId: { + serializedName: "objectId", + required: true, type: { - name: "String" - } - }, - uri: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") + name: "String", }, - serializedName: "uri", + }, + tenantId: { + serializedName: "tenantId", required: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const AssetJobOutput: coreClient.CompositeMapper = { +export const SetupScripts: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssetJobOutput", + className: "SetupScripts", modelProperties: { - mode: { - serializedName: "mode", + scripts: { + serializedName: "scripts", type: { - name: "String" - } + name: "Composite", + className: "ScriptsToExecute", + }, }, - uri: { - serializedName: "uri", - nullable: true, - type: { - name: "String" - } - } - } - } -}; - -export const ForecastHorizon: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ForecastHorizon", - uberParent: "ForecastHorizon", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode" }, - modelProperties: { - mode: { - serializedName: "mode", - required: true, - type: { - name: "String" - } - } - } - } + }, }; -export const JobOutput: coreClient.CompositeMapper = { +export const ScriptsToExecute: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobOutput", - uberParent: "JobOutput", - polymorphicDiscriminator: { - serializedName: "jobOutputType", - clientName: "jobOutputType" - }, + className: "ScriptsToExecute", modelProperties: { - description: { - serializedName: "description", - nullable: true, + startupScript: { + serializedName: "startupScript", type: { - name: "String" - } + name: "Composite", + className: "ScriptReference", + }, }, - jobOutputType: { - serializedName: "jobOutputType", - required: true, + creationScript: { + serializedName: "creationScript", type: { - name: "String" - } - } - } - } + name: "Composite", + className: "ScriptReference", + }, + }, + }, + }, }; -export const AutoMLVertical: coreClient.CompositeMapper = { +export const ScriptReference: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutoMLVertical", - uberParent: "AutoMLVertical", - polymorphicDiscriminator: { - serializedName: "taskType", - clientName: "taskType" - }, + className: "ScriptReference", modelProperties: { - logVerbosity: { - serializedName: "logVerbosity", + scriptSource: { + serializedName: "scriptSource", type: { - name: "String" - } + name: "String", + }, }, - targetColumnName: { - serializedName: "targetColumnName", - nullable: true, + scriptData: { + serializedName: "scriptData", type: { - name: "String" - } + name: "String", + }, }, - taskType: { - serializedName: "taskType", - required: true, + scriptArguments: { + serializedName: "scriptArguments", type: { - name: "String" - } + name: "String", + }, }, - trainingData: { - serializedName: "trainingData", + timeout: { + serializedName: "timeout", type: { - name: "Composite", - className: "MLTableJobInput" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const JobInput: coreClient.CompositeMapper = { +export const ComputeInstanceLastOperation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobInput", - uberParent: "JobInput", - polymorphicDiscriminator: { - serializedName: "jobInputType", - clientName: "jobInputType" - }, + className: "ComputeInstanceLastOperation", modelProperties: { - description: { - serializedName: "description", - nullable: true, + operationName: { + serializedName: "operationName", type: { - name: "String" - } + name: "String", + }, }, - jobInputType: { - serializedName: "jobInputType", - required: true, + operationTime: { + serializedName: "operationTime", + type: { + name: "DateTime", + }, + }, + operationStatus: { + serializedName: "operationStatus", + type: { + name: "String", + }, + }, + operationTrigger: { + serializedName: "operationTrigger", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const NCrossValidations: coreClient.CompositeMapper = { +export const ComputeSchedules: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NCrossValidations", - uberParent: "NCrossValidations", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode" - }, + className: "ComputeSchedules", modelProperties: { - mode: { - serializedName: "mode", - required: true, + computeStartStop: { + serializedName: "computeStartStop", type: { - name: "String" - } - } - } - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeStartStopSchedule", + }, + }, + }, + }, + }, + }, }; -export const Seasonality: coreClient.CompositeMapper = { +export const ComputeStartStopSchedule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Seasonality", - uberParent: "Seasonality", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode" - }, + className: "ComputeStartStopSchedule", modelProperties: { - mode: { - serializedName: "mode", - required: true, - type: { - name: "String" - } - } - } - } -}; - -export const TargetLags: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TargetLags", - uberParent: "TargetLags", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode" - }, - modelProperties: { - mode: { - serializedName: "mode", - required: true, - type: { - name: "String" - } - } - } - } -}; - -export const TargetRollingWindowSize: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TargetRollingWindowSize", - uberParent: "TargetRollingWindowSize", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode" - }, - modelProperties: { - mode: { - serializedName: "mode", - required: true, - type: { - name: "String" - } - } - } - } -}; - -export const EarlyTerminationPolicy: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EarlyTerminationPolicy", - uberParent: "EarlyTerminationPolicy", - polymorphicDiscriminator: { - serializedName: "policyType", - clientName: "policyType" - }, - modelProperties: { - delayEvaluation: { - defaultValue: 0, - serializedName: "delayEvaluation", - type: { - name: "Number" - } - }, - evaluationInterval: { - defaultValue: 0, - serializedName: "evaluationInterval", + id: { + serializedName: "id", + readOnly: true, + nullable: true, type: { - name: "Number" - } + name: "String", + }, }, - policyType: { - serializedName: "policyType", - required: true, - type: { - name: "String" - } - } - } - } -}; - -export const SamplingAlgorithm: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SamplingAlgorithm", - uberParent: "SamplingAlgorithm", - polymorphicDiscriminator: { - serializedName: "samplingAlgorithmType", - clientName: "samplingAlgorithmType" - }, - modelProperties: { - samplingAlgorithmType: { - serializedName: "samplingAlgorithmType", - required: true, - type: { - name: "String" - } - } - } - } -}; - -export const TrainingSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TrainingSettings", - modelProperties: { - enableDnnTraining: { - defaultValue: false, - serializedName: "enableDnnTraining", + provisioningStatus: { + serializedName: "provisioningStatus", + readOnly: true, type: { - name: "Boolean" - } + name: "String", + }, }, - enableModelExplainability: { - defaultValue: true, - serializedName: "enableModelExplainability", + status: { + serializedName: "status", type: { - name: "Boolean" - } + name: "String", + }, }, - enableOnnxCompatibleModels: { - defaultValue: false, - serializedName: "enableOnnxCompatibleModels", + action: { + serializedName: "action", type: { - name: "Boolean" - } + name: "String", + }, }, - enableStackEnsemble: { - defaultValue: true, - serializedName: "enableStackEnsemble", + triggerType: { + serializedName: "triggerType", type: { - name: "Boolean" - } + name: "String", + }, }, - enableVoteEnsemble: { - defaultValue: true, - serializedName: "enableVoteEnsemble", + recurrence: { + serializedName: "recurrence", type: { - name: "Boolean" - } + name: "Composite", + className: "Recurrence", + }, }, - ensembleModelDownloadTimeout: { - defaultValue: "PT5M", - serializedName: "ensembleModelDownloadTimeout", + cron: { + serializedName: "cron", type: { - name: "TimeSpan" - } + name: "Composite", + className: "Cron", + }, }, - stackEnsembleSettings: { - serializedName: "stackEnsembleSettings", + schedule: { + serializedName: "schedule", type: { name: "Composite", - className: "StackEnsembleSettings" - } - } - } - } + className: "ScheduleBase", + }, + }, + }, + }, }; -export const StackEnsembleSettings: coreClient.CompositeMapper = { +export const Recurrence: coreClient.CompositeMapper = { type: { name: "Composite", - className: "StackEnsembleSettings", + className: "Recurrence", modelProperties: { - stackMetaLearnerKWargs: { - serializedName: "stackMetaLearnerKWargs", + frequency: { + serializedName: "frequency", + type: { + name: "String", + }, + }, + interval: { + serializedName: "interval", + type: { + name: "Number", + }, + }, + startTime: { + serializedName: "startTime", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "any" } } - } + name: "String", + }, }, - stackMetaLearnerTrainPercentage: { - defaultValue: 0.2, - serializedName: "stackMetaLearnerTrainPercentage", + timeZone: { + defaultValue: "UTC", + serializedName: "timeZone", type: { - name: "Number" - } + name: "String", + }, }, - stackMetaLearnerType: { - serializedName: "stackMetaLearnerType", + schedule: { + serializedName: "schedule", type: { - name: "String" - } - } - } - } + name: "Composite", + className: "ComputeRecurrenceSchedule", + }, + }, + }, + }, }; -export const TableVertical: coreClient.CompositeMapper = { +export const ComputeRecurrenceSchedule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TableVertical", + className: "ComputeRecurrenceSchedule", modelProperties: { - cvSplitColumnNames: { - serializedName: "cvSplitColumnNames", - nullable: true, + hours: { + serializedName: "hours", + required: true, type: { name: "Sequence", element: { type: { - name: "String" - } - } - } - }, - featurizationSettings: { - serializedName: "featurizationSettings", - type: { - name: "Composite", - className: "TableVerticalFeaturizationSettings" - } - }, - limitSettings: { - serializedName: "limitSettings", - type: { - name: "Composite", - className: "TableVerticalLimitSettings" - } - }, - nCrossValidations: { - serializedName: "nCrossValidations", - type: { - name: "Composite", - className: "NCrossValidations" - } + name: "Number", + }, + }, + }, }, - testData: { - serializedName: "testData", + minutes: { + serializedName: "minutes", + required: true, type: { - name: "Composite", - className: "MLTableJobInput" - } + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, + }, }, - testDataSize: { - serializedName: "testDataSize", + monthDays: { + serializedName: "monthDays", nullable: true, type: { - name: "Number" - } - }, - validationData: { - serializedName: "validationData", - type: { - name: "Composite", - className: "MLTableJobInput" - } + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, + }, }, - validationDataSize: { - serializedName: "validationDataSize", + weekDays: { + serializedName: "weekDays", nullable: true, type: { - name: "Number" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - weightColumnName: { - serializedName: "weightColumnName", - nullable: true, - type: { - name: "String" - } - } - } - } + }, + }, }; -export const ColumnTransformer: coreClient.CompositeMapper = { +export const Cron: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ColumnTransformer", + className: "Cron", modelProperties: { - fields: { - serializedName: "fields", + startTime: { + serializedName: "startTime", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "String", + }, }, - parameters: { - serializedName: "parameters", - nullable: true, + timeZone: { + defaultValue: "UTC", + serializedName: "timeZone", type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } + name: "String", + }, + }, + expression: { + serializedName: "expression", + type: { + name: "String", + }, + }, + }, + }, }; -export const FeaturizationSettings: coreClient.CompositeMapper = { +export const ScheduleBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturizationSettings", + className: "ScheduleBase", modelProperties: { - datasetLanguage: { - serializedName: "datasetLanguage", + id: { + serializedName: "id", nullable: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + provisioningStatus: { + serializedName: "provisioningStatus", + type: { + name: "String", + }, + }, + status: { + serializedName: "status", + type: { + name: "String", + }, + }, + }, + }, }; -export const TableVerticalLimitSettings: coreClient.CompositeMapper = { +export const ComputeInstanceContainer: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TableVerticalLimitSettings", + className: "ComputeInstanceContainer", modelProperties: { - enableEarlyTermination: { - defaultValue: true, - serializedName: "enableEarlyTermination", + name: { + serializedName: "name", type: { - name: "Boolean" - } + name: "String", + }, }, - exitScore: { - serializedName: "exitScore", - nullable: true, + autosave: { + serializedName: "autosave", type: { - name: "Number" - } + name: "String", + }, }, - maxConcurrentTrials: { - defaultValue: 1, - serializedName: "maxConcurrentTrials", + gpu: { + serializedName: "gpu", type: { - name: "Number" - } + name: "String", + }, }, - maxCoresPerTrial: { - defaultValue: -1, - serializedName: "maxCoresPerTrial", + network: { + serializedName: "network", type: { - name: "Number" - } + name: "String", + }, }, - maxTrials: { - defaultValue: 1000, - serializedName: "maxTrials", + environment: { + serializedName: "environment", type: { - name: "Number" - } + name: "Composite", + className: "ComputeInstanceEnvironmentInfo", + }, }, - timeout: { - defaultValue: "PT6H", - serializedName: "timeout", + services: { + serializedName: "services", + readOnly: true, type: { - name: "TimeSpan" - } + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + }, }, - trialTimeout: { - defaultValue: "PT30M", - serializedName: "trialTimeout", - type: { - name: "TimeSpan" - } - } - } - } -}; - -export const DistributionConfiguration: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DistributionConfiguration", - uberParent: "DistributionConfiguration", - polymorphicDiscriminator: { - serializedName: "distributionType", - clientName: "distributionType" }, - modelProperties: { - distributionType: { - serializedName: "distributionType", - required: true, - type: { - name: "String" - } - } - } - } + }, }; -export const JobLimits: coreClient.CompositeMapper = { +export const ComputeInstanceEnvironmentInfo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobLimits", - uberParent: "JobLimits", - polymorphicDiscriminator: { - serializedName: "jobLimitsType", - clientName: "jobLimitsType" - }, + className: "ComputeInstanceEnvironmentInfo", modelProperties: { - jobLimitsType: { - serializedName: "jobLimitsType", - required: true, + name: { + serializedName: "name", type: { - name: "String" - } + name: "String", + }, }, - timeout: { - serializedName: "timeout", - nullable: true, + version: { + serializedName: "version", type: { - name: "TimeSpan" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const ContainerResourceRequirements: coreClient.CompositeMapper = { +export const ComputeInstanceDataDisk: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ContainerResourceRequirements", + className: "ComputeInstanceDataDisk", modelProperties: { - containerResourceLimits: { - serializedName: "containerResourceLimits", + caching: { + serializedName: "caching", type: { - name: "Composite", - className: "ContainerResourceSettings" - } + name: "String", + }, }, - containerResourceRequests: { - serializedName: "containerResourceRequests", - type: { - name: "Composite", - className: "ContainerResourceSettings" - } - } - } - } -}; - -export const ContainerResourceSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ContainerResourceSettings", - modelProperties: { - cpu: { - serializedName: "cpu", - nullable: true, + diskSizeGB: { + serializedName: "diskSizeGB", type: { - name: "String" - } + name: "Number", + }, }, - gpu: { - serializedName: "gpu", - nullable: true, + lun: { + serializedName: "lun", type: { - name: "String" - } + name: "Number", + }, }, - memory: { - serializedName: "memory", - nullable: true, + storageAccountType: { + defaultValue: "Standard_LRS", + serializedName: "storageAccountType", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const ForecastingSettings: coreClient.CompositeMapper = { +export const ComputeInstanceDataMount: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ForecastingSettings", + className: "ComputeInstanceDataMount", modelProperties: { - countryOrRegionForHolidays: { - serializedName: "countryOrRegionForHolidays", - nullable: true, - type: { - name: "String" - } - }, - cvStepSize: { - serializedName: "cvStepSize", - nullable: true, - type: { - name: "Number" - } - }, - featureLags: { - serializedName: "featureLags", + source: { + serializedName: "source", type: { - name: "String" - } + name: "String", + }, }, - forecastHorizon: { - serializedName: "forecastHorizon", + sourceType: { + serializedName: "sourceType", type: { - name: "Composite", - className: "ForecastHorizon" - } + name: "String", + }, }, - frequency: { - serializedName: "frequency", - nullable: true, + mountName: { + serializedName: "mountName", type: { - name: "String" - } + name: "String", + }, }, - seasonality: { - serializedName: "seasonality", + mountAction: { + serializedName: "mountAction", type: { - name: "Composite", - className: "Seasonality" - } + name: "String", + }, }, - shortSeriesHandlingConfig: { - serializedName: "shortSeriesHandlingConfig", + createdBy: { + serializedName: "createdBy", type: { - name: "String" - } + name: "String", + }, }, - targetAggregateFunction: { - serializedName: "targetAggregateFunction", + mountPath: { + serializedName: "mountPath", type: { - name: "String" - } + name: "String", + }, }, - targetLags: { - serializedName: "targetLags", + mountState: { + serializedName: "mountState", type: { - name: "Composite", - className: "TargetLags" - } + name: "String", + }, }, - targetRollingWindowSize: { - serializedName: "targetRollingWindowSize", + mountedOn: { + serializedName: "mountedOn", type: { - name: "Composite", - className: "TargetRollingWindowSize" - } + name: "DateTime", + }, }, - timeColumnName: { - serializedName: "timeColumnName", - nullable: true, + error: { + serializedName: "error", type: { - name: "String" - } + name: "String", + }, }, - timeSeriesIdColumnNames: { - serializedName: "timeSeriesIdColumnNames", + }, + }, +}; + +export const ComputeInstanceVersion: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeInstanceVersion", + modelProperties: { + runtime: { + serializedName: "runtime", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "String", + }, }, - useStl: { - serializedName: "useStl", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const ImageModelSettings: coreClient.CompositeMapper = { +export const ComputeInstanceSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageModelSettings", + className: "ComputeInstanceSchema", modelProperties: { - advancedSettings: { - serializedName: "advancedSettings", - nullable: true, + properties: { + serializedName: "properties", type: { - name: "String" - } + name: "Composite", + className: "ComputeInstanceProperties", + }, }, - amsGradient: { - serializedName: "amsGradient", - nullable: true, + }, + }, +}; + +export const VirtualMachineSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineSchema", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "Boolean" - } + name: "Composite", + className: "VirtualMachineSchemaProperties", + }, }, - augmentations: { - serializedName: "augmentations", - nullable: true, - type: { - name: "String" - } + }, + }, +}; + +export const VirtualMachineSchemaProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineSchemaProperties", + modelProperties: { + virtualMachineSize: { + serializedName: "virtualMachineSize", + type: { + name: "String", + }, }, - beta1: { - serializedName: "beta1", - nullable: true, + sshPort: { + serializedName: "sshPort", type: { - name: "Number" - } + name: "Number", + }, }, - beta2: { - serializedName: "beta2", - nullable: true, + notebookServerPort: { + serializedName: "notebookServerPort", type: { - name: "Number" - } + name: "Number", + }, }, - checkpointFrequency: { - serializedName: "checkpointFrequency", - nullable: true, + address: { + serializedName: "address", type: { - name: "Number" - } + name: "String", + }, }, - checkpointModel: { - serializedName: "checkpointModel", + administratorAccount: { + serializedName: "administratorAccount", type: { name: "Composite", - className: "MLFlowModelJobInput" - } + className: "VirtualMachineSshCredentials", + }, }, - checkpointRunId: { - serializedName: "checkpointRunId", - nullable: true, + isNotebookInstanceCompute: { + serializedName: "isNotebookInstanceCompute", type: { - name: "String" - } + name: "Boolean", + }, }, - distributed: { - serializedName: "distributed", - nullable: true, + }, + }, +}; + +export const VirtualMachineSshCredentials: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineSshCredentials", + modelProperties: { + username: { + serializedName: "username", type: { - name: "Boolean" - } + name: "String", + }, }, - earlyStopping: { - serializedName: "earlyStopping", - nullable: true, + password: { + serializedName: "password", type: { - name: "Boolean" - } + name: "String", + }, }, - earlyStoppingDelay: { - serializedName: "earlyStoppingDelay", - nullable: true, + publicKeyData: { + serializedName: "publicKeyData", type: { - name: "Number" - } + name: "String", + }, }, - earlyStoppingPatience: { - serializedName: "earlyStoppingPatience", - nullable: true, + privateKeyData: { + serializedName: "privateKeyData", type: { - name: "Number" - } + name: "String", + }, }, - enableOnnxNormalization: { - serializedName: "enableOnnxNormalization", - nullable: true, + }, + }, +}; + +export const HDInsightProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "HDInsightProperties", + modelProperties: { + sshPort: { + serializedName: "sshPort", type: { - name: "Boolean" - } + name: "Number", + }, }, - evaluationFrequency: { - serializedName: "evaluationFrequency", - nullable: true, + address: { + serializedName: "address", type: { - name: "Number" - } + name: "String", + }, }, - gradientAccumulationStep: { - serializedName: "gradientAccumulationStep", - nullable: true, + administratorAccount: { + serializedName: "administratorAccount", type: { - name: "Number" - } + name: "Composite", + className: "VirtualMachineSshCredentials", + }, }, - layersToFreeze: { - serializedName: "layersToFreeze", - nullable: true, + }, + }, +}; + +export const HDInsightSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "HDInsightSchema", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "Number" - } + name: "Composite", + className: "HDInsightProperties", + }, }, - learningRate: { - serializedName: "learningRate", - nullable: true, + }, + }, +}; + +export const DatabricksProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DatabricksProperties", + modelProperties: { + databricksAccessToken: { + serializedName: "databricksAccessToken", type: { - name: "Number" - } + name: "String", + }, }, - learningRateScheduler: { - serializedName: "learningRateScheduler", + workspaceUrl: { + serializedName: "workspaceUrl", type: { - name: "String" - } + name: "String", + }, }, - modelName: { - serializedName: "modelName", - nullable: true, + }, + }, +}; + +export const DatabricksSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DatabricksSchema", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "String" - } + name: "Composite", + className: "DatabricksProperties", + }, }, - momentum: { - serializedName: "momentum", - nullable: true, + }, + }, +}; + +export const DataLakeAnalyticsSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataLakeAnalyticsSchema", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "Number" - } + name: "Composite", + className: "DataLakeAnalyticsSchemaProperties", + }, }, - nesterov: { - serializedName: "nesterov", - nullable: true, + }, + }, +}; + +export const DataLakeAnalyticsSchemaProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataLakeAnalyticsSchemaProperties", + modelProperties: { + dataLakeStoreAccountName: { + serializedName: "dataLakeStoreAccountName", type: { - name: "Boolean" - } + name: "String", + }, }, - numberOfEpochs: { - serializedName: "numberOfEpochs", - nullable: true, + }, + }, +}; + +export const SynapseSparkProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SynapseSparkProperties", + modelProperties: { + autoScaleProperties: { + serializedName: "autoScaleProperties", type: { - name: "Number" - } + name: "Composite", + className: "AutoScaleProperties", + }, }, - numberOfWorkers: { - serializedName: "numberOfWorkers", - nullable: true, + autoPauseProperties: { + serializedName: "autoPauseProperties", type: { - name: "Number" - } + name: "Composite", + className: "AutoPauseProperties", + }, }, - optimizer: { - serializedName: "optimizer", + sparkVersion: { + serializedName: "sparkVersion", type: { - name: "String" - } + name: "String", + }, }, - randomSeed: { - serializedName: "randomSeed", - nullable: true, + nodeCount: { + serializedName: "nodeCount", type: { - name: "Number" - } + name: "Number", + }, }, - stepLRGamma: { - serializedName: "stepLRGamma", - nullable: true, + nodeSize: { + serializedName: "nodeSize", type: { - name: "Number" - } + name: "String", + }, }, - stepLRStepSize: { - serializedName: "stepLRStepSize", - nullable: true, + nodeSizeFamily: { + serializedName: "nodeSizeFamily", type: { - name: "Number" - } + name: "String", + }, }, - trainingBatchSize: { - serializedName: "trainingBatchSize", - nullable: true, + subscriptionId: { + serializedName: "subscriptionId", type: { - name: "Number" - } + name: "String", + }, }, - validationBatchSize: { - serializedName: "validationBatchSize", - nullable: true, + resourceGroup: { + serializedName: "resourceGroup", type: { - name: "Number" - } + name: "String", + }, }, - warmupCosineLRCycles: { - serializedName: "warmupCosineLRCycles", - nullable: true, + workspaceName: { + serializedName: "workspaceName", type: { - name: "Number" - } + name: "String", + }, }, - warmupCosineLRWarmupEpochs: { - serializedName: "warmupCosineLRWarmupEpochs", - nullable: true, + poolName: { + serializedName: "poolName", type: { - name: "Number" - } + name: "String", + }, }, - weightDecay: { - serializedName: "weightDecay", - nullable: true, - type: { - name: "Number" - } - } - } - } + }, + }, }; -export const ImageModelDistributionSettings: coreClient.CompositeMapper = { +export const AutoScaleProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageModelDistributionSettings", + className: "AutoScaleProperties", modelProperties: { - amsGradient: { - serializedName: "amsGradient", - nullable: true, - type: { - name: "String" - } - }, - augmentations: { - serializedName: "augmentations", - nullable: true, + minNodeCount: { + serializedName: "minNodeCount", type: { - name: "String" - } + name: "Number", + }, }, - beta1: { - serializedName: "beta1", - nullable: true, + enabled: { + serializedName: "enabled", type: { - name: "String" - } + name: "Boolean", + }, }, - beta2: { - serializedName: "beta2", - nullable: true, + maxNodeCount: { + serializedName: "maxNodeCount", type: { - name: "String" - } + name: "Number", + }, }, - distributed: { - serializedName: "distributed", - nullable: true, + }, + }, +}; + +export const AutoPauseProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AutoPauseProperties", + modelProperties: { + delayInMinutes: { + serializedName: "delayInMinutes", type: { - name: "String" - } + name: "Number", + }, }, - earlyStopping: { - serializedName: "earlyStopping", - nullable: true, + enabled: { + serializedName: "enabled", type: { - name: "String" - } + name: "Boolean", + }, }, - earlyStoppingDelay: { - serializedName: "earlyStoppingDelay", - nullable: true, + }, + }, +}; + +export const AksComputeSecretsProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AksComputeSecretsProperties", + modelProperties: { + userKubeConfig: { + serializedName: "userKubeConfig", type: { - name: "String" - } + name: "String", + }, }, - earlyStoppingPatience: { - serializedName: "earlyStoppingPatience", - nullable: true, + adminKubeConfig: { + serializedName: "adminKubeConfig", type: { - name: "String" - } + name: "String", + }, }, - enableOnnxNormalization: { - serializedName: "enableOnnxNormalization", + imagePullSecretName: { + serializedName: "imagePullSecretName", nullable: true, type: { - name: "String" - } + name: "String", + }, }, - evaluationFrequency: { - serializedName: "evaluationFrequency", - nullable: true, + }, + }, +}; + +export const VirtualMachineSecretsSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineSecretsSchema", + modelProperties: { + administratorAccount: { + serializedName: "administratorAccount", type: { - name: "String" - } + name: "Composite", + className: "VirtualMachineSshCredentials", + }, }, - gradientAccumulationStep: { - serializedName: "gradientAccumulationStep", - nullable: true, + }, + }, +}; + +export const DatabricksComputeSecretsProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DatabricksComputeSecretsProperties", + modelProperties: { + databricksAccessToken: { + serializedName: "databricksAccessToken", type: { - name: "String" - } + name: "String", + }, }, - layersToFreeze: { - serializedName: "layersToFreeze", - nullable: true, + }, + }, +}; + +export const IdleShutdownSetting: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "IdleShutdownSetting", + modelProperties: { + idleTimeBeforeShutdown: { + serializedName: "idleTimeBeforeShutdown", type: { - name: "String" - } + name: "String", + }, }, - learningRate: { - serializedName: "learningRate", - nullable: true, + }, + }, +}; + +export const PrivateEndpointDestination: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateEndpointDestination", + modelProperties: { + serviceResourceId: { + serializedName: "serviceResourceId", type: { - name: "String" - } + name: "String", + }, }, - learningRateScheduler: { - serializedName: "learningRateScheduler", - nullable: true, + sparkEnabled: { + serializedName: "sparkEnabled", type: { - name: "String" - } + name: "Boolean", + }, }, - modelName: { - serializedName: "modelName", - nullable: true, + sparkStatus: { + serializedName: "sparkStatus", type: { - name: "String" - } + name: "String", + }, }, - momentum: { - serializedName: "momentum", - nullable: true, + subresourceTarget: { + serializedName: "subresourceTarget", type: { - name: "String" - } + name: "String", + }, }, - nesterov: { - serializedName: "nesterov", - nullable: true, + }, + }, +}; + +export const ServiceTagDestination: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ServiceTagDestination", + modelProperties: { + action: { + serializedName: "action", type: { - name: "String" - } + name: "String", + }, }, - numberOfEpochs: { - serializedName: "numberOfEpochs", - nullable: true, + addressPrefixes: { + serializedName: "addressPrefixes", + readOnly: true, type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - numberOfWorkers: { - serializedName: "numberOfWorkers", - nullable: true, + portRanges: { + serializedName: "portRanges", type: { - name: "String" - } + name: "String", + }, }, - optimizer: { - serializedName: "optimizer", - nullable: true, + protocol: { + serializedName: "protocol", type: { - name: "String" - } + name: "String", + }, }, - randomSeed: { - serializedName: "randomSeed", - nullable: true, + serviceTag: { + serializedName: "serviceTag", type: { - name: "String" - } + name: "String", + }, }, - stepLRGamma: { - serializedName: "stepLRGamma", - nullable: true, + }, + }, +}; + +export const WorkspaceConnectionUsernamePassword: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionUsernamePassword", + modelProperties: { + username: { + serializedName: "username", type: { - name: "String" - } + name: "String", + }, }, - stepLRStepSize: { - serializedName: "stepLRStepSize", - nullable: true, + password: { + serializedName: "password", type: { - name: "String" - } + name: "String", + }, }, - trainingBatchSize: { - serializedName: "trainingBatchSize", - nullable: true, - type: { - name: "String" - } + }, + }, +}; + +export const WorkspaceConnectionPersonalAccessToken: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "WorkspaceConnectionPersonalAccessToken", + modelProperties: { + pat: { + serializedName: "pat", + type: { + name: "String", + }, + }, }, - validationBatchSize: { - serializedName: "validationBatchSize", - nullable: true, - type: { - name: "String" - } + }, + }; + +export const WorkspaceConnectionSharedAccessSignature: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "WorkspaceConnectionSharedAccessSignature", + modelProperties: { + sas: { + serializedName: "sas", + type: { + name: "String", + }, + }, }, - warmupCosineLRCycles: { - serializedName: "warmupCosineLRCycles", - nullable: true, + }, + }; + +export const WorkspaceConnectionManagedIdentity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionManagedIdentity", + modelProperties: { + resourceId: { + serializedName: "resourceId", type: { - name: "String" - } + name: "String", + }, }, - warmupCosineLRWarmupEpochs: { - serializedName: "warmupCosineLRWarmupEpochs", - nullable: true, + clientId: { + serializedName: "clientId", type: { - name: "String" - } + name: "String", + }, }, - weightDecay: { - serializedName: "weightDecay", - nullable: true, - type: { - name: "String" - } - } - } - } + }, + }, }; -export const ImageVertical: coreClient.CompositeMapper = { +export const MonitoringFeatureFilterBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageVertical", + className: "MonitoringFeatureFilterBase", + uberParent: "MonitoringFeatureFilterBase", + polymorphicDiscriminator: { + serializedName: "filterType", + clientName: "filterType", + }, modelProperties: { - limitSettings: { - serializedName: "limitSettings", - type: { - name: "Composite", - className: "ImageLimitSettings" - } - }, - sweepSettings: { - serializedName: "sweepSettings", - type: { - name: "Composite", - className: "ImageSweepSettings" - } - }, - validationData: { - serializedName: "validationData", + filterType: { + serializedName: "filterType", + required: true, type: { - name: "Composite", - className: "MLTableJobInput" - } + name: "String", + }, }, - validationDataSize: { - serializedName: "validationDataSize", - nullable: true, - type: { - name: "Number" - } - } - } - } + }, + }, }; -export const ImageLimitSettings: coreClient.CompositeMapper = { +export const MonitorComputeIdentityBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageLimitSettings", + className: "MonitorComputeIdentityBase", + uberParent: "MonitorComputeIdentityBase", + polymorphicDiscriminator: { + serializedName: "computeIdentityType", + clientName: "computeIdentityType", + }, modelProperties: { - maxConcurrentTrials: { - defaultValue: 1, - serializedName: "maxConcurrentTrials", + computeIdentityType: { + serializedName: "computeIdentityType", + required: true, type: { - name: "Number" - } + name: "String", + }, }, - maxTrials: { - defaultValue: 1, - serializedName: "maxTrials", - type: { - name: "Number" - } - }, - timeout: { - defaultValue: "P7D", - serializedName: "timeout", - type: { - name: "TimeSpan" - } - } - } - } + }, + }, }; -export const ImageSweepSettings: coreClient.CompositeMapper = { +export const AssetJobInput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageSweepSettings", + className: "AssetJobInput", modelProperties: { - earlyTermination: { - serializedName: "earlyTermination", + mode: { + serializedName: "mode", type: { - name: "Composite", - className: "EarlyTerminationPolicy" - } + name: "String", + }, }, - samplingAlgorithm: { - serializedName: "samplingAlgorithm", + uri: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "uri", required: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const NlpVertical: coreClient.CompositeMapper = { +export const AssetJobOutput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NlpVertical", + className: "AssetJobOutput", modelProperties: { - featurizationSettings: { - serializedName: "featurizationSettings", + mode: { + serializedName: "mode", type: { - name: "Composite", - className: "NlpVerticalFeaturizationSettings" - } + name: "String", + }, }, - limitSettings: { - serializedName: "limitSettings", + uri: { + serializedName: "uri", + nullable: true, type: { - name: "Composite", - className: "NlpVerticalLimitSettings" - } + name: "String", + }, }, - validationData: { - serializedName: "validationData", - type: { - name: "Composite", - className: "MLTableJobInput" - } - } - } - } + }, + }, }; -export const NlpVerticalLimitSettings: coreClient.CompositeMapper = { +export const ForecastHorizon: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NlpVerticalLimitSettings", + className: "ForecastHorizon", + uberParent: "ForecastHorizon", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode", + }, modelProperties: { - maxConcurrentTrials: { - defaultValue: 1, - serializedName: "maxConcurrentTrials", - type: { - name: "Number" - } - }, - maxTrials: { - defaultValue: 1, - serializedName: "maxTrials", + mode: { + serializedName: "mode", + required: true, type: { - name: "Number" - } + name: "String", + }, }, - timeout: { - serializedName: "timeout", - type: { - name: "TimeSpan" - } - } - } - } + }, + }, }; -export const Objective: coreClient.CompositeMapper = { +export const JobOutput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Objective", + className: "JobOutput", + uberParent: "JobOutput", + polymorphicDiscriminator: { + serializedName: "jobOutputType", + clientName: "jobOutputType", + }, modelProperties: { - goal: { - serializedName: "goal", - required: true, + description: { + serializedName: "description", + nullable: true, type: { - name: "String" - } - }, - primaryMetric: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") + name: "String", }, - serializedName: "primaryMetric", + }, + jobOutputType: { + serializedName: "jobOutputType", required: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const TrialComponent: coreClient.CompositeMapper = { +export const QueueSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TrialComponent", + className: "QueueSettings", modelProperties: { - codeId: { - serializedName: "codeId", - nullable: true, + jobTier: { + serializedName: "jobTier", type: { - name: "String" - } - }, - command: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1 + name: "String", }, - serializedName: "command", - required: true, - type: { - name: "String" - } }, - distribution: { - serializedName: "distribution", + }, + }, +}; + +export const AutoMLVertical: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AutoMLVertical", + uberParent: "AutoMLVertical", + polymorphicDiscriminator: { + serializedName: "taskType", + clientName: "taskType", + }, + modelProperties: { + logVerbosity: { + serializedName: "logVerbosity", type: { - name: "Composite", - className: "DistributionConfiguration" - } - }, - environmentId: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") + name: "String", }, - serializedName: "environmentId", - required: true, - type: { - name: "String" - } }, - environmentVariables: { - serializedName: "environmentVariables", + targetColumnName: { + serializedName: "targetColumnName", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } } - } + name: "String", + }, }, - resources: { - serializedName: "resources", + taskType: { + serializedName: "taskType", + required: true, + type: { + name: "String", + }, + }, + trainingData: { + serializedName: "trainingData", type: { name: "Composite", - className: "JobResourceConfiguration" - } - } - } - } + className: "MLTableJobInput", + }, + }, + }, + }, }; -export const PrivateEndpointConnection: coreClient.CompositeMapper = { +export const JobInput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointConnection", + className: "JobInput", + uberParent: "JobInput", + polymorphicDiscriminator: { + serializedName: "jobInputType", + clientName: "jobInputType", + }, modelProperties: { - ...Resource.type.modelProperties, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "ManagedServiceIdentity" - } - }, - location: { - serializedName: "location", + description: { + serializedName: "description", + nullable: true, type: { - name: "String" - } + name: "String", + }, }, - tags: { - serializedName: "tags", + jobInputType: { + serializedName: "jobInputType", + required: true, type: { - name: "Dictionary", - value: { type: { name: "String" } } - } + name: "String", + }, }, - sku: { - serializedName: "sku", + }, + }, +}; + +export const NCrossValidations: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "NCrossValidations", + uberParent: "NCrossValidations", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode", + }, + modelProperties: { + mode: { + serializedName: "mode", + required: true, type: { - name: "Composite", - className: "Sku" - } + name: "String", + }, }, - privateEndpoint: { - serializedName: "properties.privateEndpoint", + }, + }, +}; + +export const Seasonality: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Seasonality", + uberParent: "Seasonality", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode", + }, + modelProperties: { + mode: { + serializedName: "mode", + required: true, type: { - name: "Composite", - className: "PrivateEndpoint" - } + name: "String", + }, }, - privateLinkServiceConnectionState: { - serializedName: "properties.privateLinkServiceConnectionState", + }, + }, +}; + +export const TargetLags: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TargetLags", + uberParent: "TargetLags", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode", + }, + modelProperties: { + mode: { + serializedName: "mode", + required: true, type: { - name: "Composite", - className: "PrivateLinkServiceConnectionState" - } + name: "String", + }, }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, - type: { - name: "String" - } - } - } - } + }, + }, }; -export const Workspace: coreClient.CompositeMapper = { +export const TargetRollingWindowSize: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Workspace", + className: "TargetRollingWindowSize", + uberParent: "TargetRollingWindowSize", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode", + }, modelProperties: { - ...Resource.type.modelProperties, - identity: { - serializedName: "identity", + mode: { + serializedName: "mode", + required: true, type: { - name: "Composite", - className: "ManagedServiceIdentity" - } + name: "String", + }, }, - location: { - serializedName: "location", + }, + }, +}; + +export const AzureDatastore: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AzureDatastore", + modelProperties: { + resourceGroup: { + serializedName: "resourceGroup", + nullable: true, type: { - name: "String" - } + name: "String", + }, }, - tags: { - serializedName: "tags", + subscriptionId: { + serializedName: "subscriptionId", + nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } } - } + name: "String", + }, }, - sku: { - serializedName: "sku", + }, + }, +}; + +export const EarlyTerminationPolicy: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EarlyTerminationPolicy", + uberParent: "EarlyTerminationPolicy", + polymorphicDiscriminator: { + serializedName: "policyType", + clientName: "policyType", + }, + modelProperties: { + delayEvaluation: { + defaultValue: 0, + serializedName: "delayEvaluation", type: { - name: "Composite", - className: "Sku" - } + name: "Number", + }, }, - workspaceId: { - serializedName: "properties.workspaceId", - readOnly: true, + evaluationInterval: { + defaultValue: 0, + serializedName: "evaluationInterval", type: { - name: "String" - } + name: "Number", + }, }, - description: { - serializedName: "properties.description", + policyType: { + serializedName: "policyType", + required: true, type: { - name: "String" - } + name: "String", + }, }, - friendlyName: { - serializedName: "properties.friendlyName", + }, + }, +}; + +export const SamplingAlgorithm: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SamplingAlgorithm", + uberParent: "SamplingAlgorithm", + polymorphicDiscriminator: { + serializedName: "samplingAlgorithmType", + clientName: "samplingAlgorithmType", + }, + modelProperties: { + samplingAlgorithmType: { + serializedName: "samplingAlgorithmType", + required: true, type: { - name: "String" - } + name: "String", + }, }, - keyVault: { - serializedName: "properties.keyVault", + }, + }, +}; + +export const DataDriftMetricThresholdBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataDriftMetricThresholdBase", + uberParent: "DataDriftMetricThresholdBase", + polymorphicDiscriminator: { + serializedName: "dataType", + clientName: "dataType", + }, + modelProperties: { + dataType: { + serializedName: "dataType", + required: true, type: { - name: "String" - } + name: "String", + }, }, - applicationInsights: { - serializedName: "properties.applicationInsights", + threshold: { + serializedName: "threshold", type: { - name: "String" - } + name: "Composite", + className: "MonitoringThreshold", + }, }, - containerRegistry: { - serializedName: "properties.containerRegistry", + }, + }, +}; + +export const MonitoringThreshold: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MonitoringThreshold", + modelProperties: { + value: { + serializedName: "value", nullable: true, type: { - name: "String" - } + name: "Number", + }, }, - storageAccount: { - serializedName: "properties.storageAccount", + }, + }, +}; + +export const DataQualityMetricThresholdBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataQualityMetricThresholdBase", + uberParent: "DataQualityMetricThresholdBase", + polymorphicDiscriminator: { + serializedName: "dataType", + clientName: "dataType", + }, + modelProperties: { + dataType: { + serializedName: "dataType", + required: true, type: { - name: "String" - } + name: "String", + }, }, - discoveryUrl: { - serializedName: "properties.discoveryUrl", + threshold: { + serializedName: "threshold", type: { - name: "String" - } + name: "Composite", + className: "MonitoringThreshold", + }, }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + }, + }, +}; + +export const PredictionDriftMetricThresholdBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PredictionDriftMetricThresholdBase", + uberParent: "PredictionDriftMetricThresholdBase", + polymorphicDiscriminator: { + serializedName: "dataType", + clientName: "dataType", + }, + modelProperties: { + dataType: { + serializedName: "dataType", + required: true, type: { - name: "String" - } + name: "String", + }, }, - encryption: { - serializedName: "properties.encryption", + threshold: { + serializedName: "threshold", type: { name: "Composite", - className: "EncryptionProperty" - } + className: "MonitoringThreshold", + }, }, - hbiWorkspace: { + }, + }, +}; + +export const TrainingSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TrainingSettings", + modelProperties: { + enableDnnTraining: { defaultValue: false, - serializedName: "properties.hbiWorkspace", - type: { - name: "Boolean" - } - }, - serviceProvisionedResourceGroup: { - serializedName: "properties.serviceProvisionedResourceGroup", - readOnly: true, - type: { - name: "String" - } - }, - privateLinkCount: { - serializedName: "properties.privateLinkCount", - readOnly: true, + serializedName: "enableDnnTraining", type: { - name: "Number" - } + name: "Boolean", + }, }, - imageBuildCompute: { - serializedName: "properties.imageBuildCompute", + enableModelExplainability: { + defaultValue: true, + serializedName: "enableModelExplainability", type: { - name: "String" - } + name: "Boolean", + }, }, - allowPublicAccessWhenBehindVnet: { + enableOnnxCompatibleModels: { defaultValue: false, - serializedName: "properties.allowPublicAccessWhenBehindVnet", - type: { - name: "Boolean" - } - }, - publicNetworkAccess: { - serializedName: "properties.publicNetworkAccess", + serializedName: "enableOnnxCompatibleModels", type: { - name: "String" - } + name: "Boolean", + }, }, - privateEndpointConnections: { - serializedName: "properties.privateEndpointConnections", - readOnly: true, + enableStackEnsemble: { + defaultValue: true, + serializedName: "enableStackEnsemble", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateEndpointConnection" - } - } - } + name: "Boolean", + }, }, - sharedPrivateLinkResources: { - serializedName: "properties.sharedPrivateLinkResources", + enableVoteEnsemble: { + defaultValue: true, + serializedName: "enableVoteEnsemble", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SharedPrivateLinkResource" - } - } - } + name: "Boolean", + }, }, - notebookInfo: { - serializedName: "properties.notebookInfo", + ensembleModelDownloadTimeout: { + defaultValue: "PT5M", + serializedName: "ensembleModelDownloadTimeout", type: { - name: "Composite", - className: "NotebookResourceInfo" - } + name: "TimeSpan", + }, }, - serviceManagedResourcesSettings: { - serializedName: "properties.serviceManagedResourcesSettings", + stackEnsembleSettings: { + serializedName: "stackEnsembleSettings", type: { name: "Composite", - className: "ServiceManagedResourcesSettings" - } - }, - primaryUserAssignedIdentity: { - serializedName: "properties.primaryUserAssignedIdentity", - type: { - name: "String" - } + className: "StackEnsembleSettings", + }, }, - tenantId: { - serializedName: "properties.tenantId", - readOnly: true, + }, + }, +}; + +export const StackEnsembleSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "StackEnsembleSettings", + modelProperties: { + stackMetaLearnerKWargs: { + serializedName: "stackMetaLearnerKWargs", + nullable: true, type: { - name: "String" - } + name: "Dictionary", + value: { type: { name: "any" } }, + }, }, - storageHnsEnabled: { - serializedName: "properties.storageHnsEnabled", - readOnly: true, + stackMetaLearnerTrainPercentage: { + defaultValue: 0.2, + serializedName: "stackMetaLearnerTrainPercentage", type: { - name: "Boolean" - } + name: "Number", + }, }, - mlFlowTrackingUri: { - serializedName: "properties.mlFlowTrackingUri", - readOnly: true, + stackMetaLearnerType: { + serializedName: "stackMetaLearnerType", type: { - name: "String" - } + name: "String", + }, }, - v1LegacyMode: { - defaultValue: false, - serializedName: "properties.v1LegacyMode", - type: { - name: "Boolean" - } - } - } - } + }, + }, }; -export const ComputeResource: coreClient.CompositeMapper = { +export const TableVertical: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeResource", + className: "TableVertical", modelProperties: { - ...Resource.type.modelProperties, - ...ComputeResourceSchema.type.modelProperties, - identity: { - serializedName: "identity", + cvSplitColumnNames: { + serializedName: "cvSplitColumnNames", + nullable: true, type: { - name: "Composite", - className: "ManagedServiceIdentity" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - location: { - serializedName: "location", + featurizationSettings: { + serializedName: "featurizationSettings", type: { - name: "String" - } + name: "Composite", + className: "TableVerticalFeaturizationSettings", + }, }, - tags: { - serializedName: "tags", - nullable: true, + limitSettings: { + serializedName: "limitSettings", type: { - name: "Dictionary", - value: { type: { name: "String" } } - } + name: "Composite", + className: "TableVerticalLimitSettings", + }, }, - sku: { - serializedName: "sku", + nCrossValidations: { + serializedName: "nCrossValidations", type: { name: "Composite", - className: "Sku" - } - } - } - } -}; - -export const PrivateLinkResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PrivateLinkResource", - modelProperties: { - ...Resource.type.modelProperties, - identity: { - serializedName: "identity", + className: "NCrossValidations", + }, + }, + testData: { + serializedName: "testData", type: { name: "Composite", - className: "ManagedServiceIdentity" - } + className: "MLTableJobInput", + }, }, - location: { - serializedName: "location", + testDataSize: { + serializedName: "testDataSize", + nullable: true, type: { - name: "String" - } + name: "Number", + }, }, - tags: { - serializedName: "tags", + validationData: { + serializedName: "validationData", type: { - name: "Dictionary", - value: { type: { name: "String" } } - } + name: "Composite", + className: "MLTableJobInput", + }, }, - sku: { - serializedName: "sku", + validationDataSize: { + serializedName: "validationDataSize", + nullable: true, type: { - name: "Composite", - className: "Sku" - } + name: "Number", + }, }, - groupId: { - serializedName: "properties.groupId", - readOnly: true, + weightColumnName: { + serializedName: "weightColumnName", + nullable: true, type: { - name: "String" - } + name: "String", + }, }, - requiredMembers: { - serializedName: "properties.requiredMembers", - readOnly: true, + }, + }, +}; + +export const ColumnTransformer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ColumnTransformer", + modelProperties: { + fields: { + serializedName: "fields", + nullable: true, type: { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, - requiredZoneNames: { - serializedName: "properties.requiredZoneNames", + parameters: { + serializedName: "parameters", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + }, + }, }; -export const WorkspaceConnectionPropertiesV2BasicResource: coreClient.CompositeMapper = { +export const FeaturizationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionPropertiesV2BasicResource", + className: "FeaturizationSettings", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + datasetLanguage: { + serializedName: "datasetLanguage", + nullable: true, type: { - name: "Composite", - className: "WorkspaceConnectionPropertiesV2" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const TrackedResource: coreClient.CompositeMapper = { +export const TableVerticalLimitSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TrackedResource", + className: "TableVerticalLimitSettings", modelProperties: { - ...Resource.type.modelProperties, - tags: { - serializedName: "tags", + enableEarlyTermination: { + defaultValue: true, + serializedName: "enableEarlyTermination", type: { - name: "Dictionary", - value: { type: { name: "String" } } - } + name: "Boolean", + }, }, - location: { - serializedName: "location", - required: true, + exitScore: { + serializedName: "exitScore", + nullable: true, + type: { + name: "Number", + }, + }, + maxConcurrentTrials: { + defaultValue: 1, + serializedName: "maxConcurrentTrials", type: { - name: "String" - } - } - } - } + name: "Number", + }, + }, + maxCoresPerTrial: { + defaultValue: -1, + serializedName: "maxCoresPerTrial", + type: { + name: "Number", + }, + }, + maxTrials: { + defaultValue: 1000, + serializedName: "maxTrials", + type: { + name: "Number", + }, + }, + timeout: { + defaultValue: "PT6H", + serializedName: "timeout", + type: { + name: "TimeSpan", + }, + }, + trialTimeout: { + defaultValue: "PT30M", + serializedName: "trialTimeout", + type: { + name: "TimeSpan", + }, + }, + }, + }, }; -export const CodeContainer: coreClient.CompositeMapper = { +export const DistributionConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodeContainer", + className: "DistributionConfiguration", + uberParent: "DistributionConfiguration", + polymorphicDiscriminator: { + serializedName: "distributionType", + clientName: "distributionType", + }, modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + distributionType: { + serializedName: "distributionType", + required: true, type: { - name: "Composite", - className: "CodeContainerProperties" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const CodeVersion: coreClient.CompositeMapper = { +export const JobLimits: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodeVersion", + className: "JobLimits", + uberParent: "JobLimits", + polymorphicDiscriminator: { + serializedName: "jobLimitsType", + clientName: "jobLimitsType", + }, modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + jobLimitsType: { + serializedName: "jobLimitsType", + required: true, type: { - name: "Composite", - className: "CodeVersionProperties" - } - } - } - } + name: "String", + }, + }, + timeout: { + serializedName: "timeout", + nullable: true, + type: { + name: "TimeSpan", + }, + }, + }, + }, }; -export const ComponentContainer: coreClient.CompositeMapper = { +export const ContainerResourceRequirements: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComponentContainer", + className: "ContainerResourceRequirements", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + containerResourceLimits: { + serializedName: "containerResourceLimits", type: { name: "Composite", - className: "ComponentContainerProperties" - } - } - } - } -}; - -export const ComponentVersion: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComponentVersion", - modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + className: "ContainerResourceSettings", + }, + }, + containerResourceRequests: { + serializedName: "containerResourceRequests", type: { name: "Composite", - className: "ComponentVersionProperties" - } - } - } - } + className: "ContainerResourceSettings", + }, + }, + }, + }, }; -export const DataContainer: coreClient.CompositeMapper = { +export const ContainerResourceSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataContainer", + className: "ContainerResourceSettings", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + cpu: { + serializedName: "cpu", + nullable: true, type: { - name: "Composite", - className: "DataContainerProperties" - } - } - } - } + name: "String", + }, + }, + gpu: { + serializedName: "gpu", + nullable: true, + type: { + name: "String", + }, + }, + memory: { + serializedName: "memory", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const DataVersionBase: coreClient.CompositeMapper = { +export const MonitorDefinition: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataVersionBase", + className: "MonitorDefinition", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + alertNotificationSettings: { + serializedName: "alertNotificationSettings", type: { name: "Composite", - className: "DataVersionBaseProperties" - } - } - } - } -}; - -export const Datastore: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Datastore", - modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + className: "MonitorNotificationSettings", + }, + }, + computeConfiguration: { + serializedName: "computeConfiguration", type: { name: "Composite", - className: "DatastoreProperties" - } - } - } - } -}; - -export const EnvironmentContainer: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EnvironmentContainer", - modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + className: "MonitorComputeConfigurationBase", + }, + }, + monitoringTarget: { + serializedName: "monitoringTarget", type: { name: "Composite", - className: "EnvironmentContainerProperties" - } - } - } - } + className: "MonitoringTarget", + }, + }, + signals: { + serializedName: "signals", + required: true, + type: { + name: "Dictionary", + value: { + type: { name: "Composite", className: "MonitoringSignalBase" }, + }, + }, + }, + }, + }, }; -export const EnvironmentVersion: coreClient.CompositeMapper = { +export const MonitorNotificationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnvironmentVersion", + className: "MonitorNotificationSettings", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + emailNotificationSettings: { + serializedName: "emailNotificationSettings", type: { name: "Composite", - className: "EnvironmentVersionProperties" - } - } - } - } + className: "MonitorEmailNotificationSettings", + }, + }, + }, + }, }; -export const JobBase: coreClient.CompositeMapper = { +export const MonitorEmailNotificationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobBase", + className: "MonitorEmailNotificationSettings", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + emails: { + serializedName: "emails", + nullable: true, type: { - name: "Composite", - className: "JobBaseProperties" - } - } - } - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, }; -export const ModelContainer: coreClient.CompositeMapper = { +export const MonitorComputeConfigurationBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelContainer", + className: "MonitorComputeConfigurationBase", + uberParent: "MonitorComputeConfigurationBase", + polymorphicDiscriminator: { + serializedName: "computeType", + clientName: "computeType", + }, modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + computeType: { + serializedName: "computeType", + required: true, type: { - name: "Composite", - className: "ModelContainerProperties" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const ModelVersion: coreClient.CompositeMapper = { +export const MonitoringTarget: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelVersion", + className: "MonitoringTarget", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + deploymentId: { + serializedName: "deploymentId", + nullable: true, type: { - name: "Composite", - className: "ModelVersionProperties" - } - } - } - } + name: "String", + }, + }, + modelId: { + serializedName: "modelId", + nullable: true, + type: { + name: "String", + }, + }, + taskType: { + serializedName: "taskType", + required: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const Schedule: coreClient.CompositeMapper = { +export const MonitoringSignalBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Schedule", + className: "MonitoringSignalBase", + uberParent: "MonitoringSignalBase", + polymorphicDiscriminator: { + serializedName: "signalType", + clientName: "signalType", + }, modelProperties: { - ...Resource.type.modelProperties, + notificationTypes: { + serializedName: "notificationTypes", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, properties: { serializedName: "properties", + nullable: true, type: { - name: "Composite", - className: "ScheduleProperties" - } - } - } - } -}; - -export const Aks: coreClient.CompositeMapper = { - serializedName: "AKS", - type: { - name: "Composite", - className: "Aks", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, - modelProperties: { - ...Compute.type.modelProperties, - ...AKSSchema.type.modelProperties - } - } -}; - -export const Kubernetes: coreClient.CompositeMapper = { - serializedName: "Kubernetes", - type: { - name: "Composite", - className: "Kubernetes", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, - modelProperties: { - ...Compute.type.modelProperties, - ...KubernetesSchema.type.modelProperties - } - } -}; - -export const AmlCompute: coreClient.CompositeMapper = { - serializedName: "AmlCompute", - type: { - name: "Composite", - className: "AmlCompute", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, - modelProperties: { - ...Compute.type.modelProperties, - ...AmlComputeSchema.type.modelProperties - } - } -}; - -export const ComputeInstance: coreClient.CompositeMapper = { - serializedName: "ComputeInstance", - type: { - name: "Composite", - className: "ComputeInstance", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, - modelProperties: { - ...Compute.type.modelProperties, - ...ComputeInstanceSchema.type.modelProperties - } - } -}; - -export const VirtualMachine: coreClient.CompositeMapper = { - serializedName: "VirtualMachine", - type: { - name: "Composite", - className: "VirtualMachine", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, - modelProperties: { - ...Compute.type.modelProperties, - ...VirtualMachineSchema.type.modelProperties - } - } + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + signalType: { + serializedName: "signalType", + required: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const HDInsight: coreClient.CompositeMapper = { - serializedName: "HDInsight", +export const CustomMetricThreshold: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HDInsight", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "CustomMetricThreshold", modelProperties: { - ...Compute.type.modelProperties, - ...HDInsightSchema.type.modelProperties - } - } + metric: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "metric", + required: true, + type: { + name: "String", + }, + }, + threshold: { + serializedName: "threshold", + type: { + name: "Composite", + className: "MonitoringThreshold", + }, + }, + }, + }, }; -export const DataFactory: coreClient.CompositeMapper = { - serializedName: "DataFactory", +export const MonitoringInputDataBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataFactory", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "MonitoringInputDataBase", + uberParent: "MonitoringInputDataBase", + polymorphicDiscriminator: { + serializedName: "inputDataType", + clientName: "inputDataType", + }, modelProperties: { - ...Compute.type.modelProperties - } - } + columns: { + serializedName: "columns", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + dataContext: { + serializedName: "dataContext", + nullable: true, + type: { + name: "String", + }, + }, + inputDataType: { + serializedName: "inputDataType", + required: true, + type: { + name: "String", + }, + }, + jobInputType: { + serializedName: "jobInputType", + required: true, + type: { + name: "String", + }, + }, + uri: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "uri", + required: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const Databricks: coreClient.CompositeMapper = { - serializedName: "Databricks", +export const FeatureImportanceSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Databricks", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "FeatureImportanceSettings", modelProperties: { - ...Compute.type.modelProperties, - ...DatabricksSchema.type.modelProperties - } - } + mode: { + serializedName: "mode", + type: { + name: "String", + }, + }, + targetColumn: { + serializedName: "targetColumn", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const DataLakeAnalytics: coreClient.CompositeMapper = { - serializedName: "DataLakeAnalytics", +export const FeatureAttributionMetricThreshold: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataLakeAnalytics", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "FeatureAttributionMetricThreshold", modelProperties: { - ...Compute.type.modelProperties, - ...DataLakeAnalyticsSchema.type.modelProperties - } - } + metric: { + serializedName: "metric", + required: true, + type: { + name: "String", + }, + }, + threshold: { + serializedName: "threshold", + type: { + name: "Composite", + className: "MonitoringThreshold", + }, + }, + }, + }, }; -export const SynapseSpark: coreClient.CompositeMapper = { - serializedName: "SynapseSpark", +export const ForecastingSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SynapseSpark", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "ForecastingSettings", + modelProperties: { + countryOrRegionForHolidays: { + serializedName: "countryOrRegionForHolidays", + nullable: true, + type: { + name: "String", + }, + }, + cvStepSize: { + serializedName: "cvStepSize", + nullable: true, + type: { + name: "Number", + }, + }, + featureLags: { + serializedName: "featureLags", + type: { + name: "String", + }, + }, + forecastHorizon: { + serializedName: "forecastHorizon", + type: { + name: "Composite", + className: "ForecastHorizon", + }, + }, + frequency: { + serializedName: "frequency", + nullable: true, + type: { + name: "String", + }, + }, + seasonality: { + serializedName: "seasonality", + type: { + name: "Composite", + className: "Seasonality", + }, + }, + shortSeriesHandlingConfig: { + serializedName: "shortSeriesHandlingConfig", + type: { + name: "String", + }, + }, + targetAggregateFunction: { + serializedName: "targetAggregateFunction", + type: { + name: "String", + }, + }, + targetLags: { + serializedName: "targetLags", + type: { + name: "Composite", + className: "TargetLags", + }, + }, + targetRollingWindowSize: { + serializedName: "targetRollingWindowSize", + type: { + name: "Composite", + className: "TargetRollingWindowSize", + }, + }, + timeColumnName: { + serializedName: "timeColumnName", + nullable: true, + type: { + name: "String", + }, + }, + timeSeriesIdColumnNames: { + serializedName: "timeSeriesIdColumnNames", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + useStl: { + serializedName: "useStl", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ImageModelSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageModelSettings", + modelProperties: { + advancedSettings: { + serializedName: "advancedSettings", + nullable: true, + type: { + name: "String", + }, + }, + amsGradient: { + serializedName: "amsGradient", + nullable: true, + type: { + name: "Boolean", + }, + }, + augmentations: { + serializedName: "augmentations", + nullable: true, + type: { + name: "String", + }, + }, + beta1: { + serializedName: "beta1", + nullable: true, + type: { + name: "Number", + }, + }, + beta2: { + serializedName: "beta2", + nullable: true, + type: { + name: "Number", + }, + }, + checkpointFrequency: { + serializedName: "checkpointFrequency", + nullable: true, + type: { + name: "Number", + }, + }, + checkpointModel: { + serializedName: "checkpointModel", + type: { + name: "Composite", + className: "MLFlowModelJobInput", + }, + }, + checkpointRunId: { + serializedName: "checkpointRunId", + nullable: true, + type: { + name: "String", + }, + }, + distributed: { + serializedName: "distributed", + nullable: true, + type: { + name: "Boolean", + }, + }, + earlyStopping: { + serializedName: "earlyStopping", + nullable: true, + type: { + name: "Boolean", + }, + }, + earlyStoppingDelay: { + serializedName: "earlyStoppingDelay", + nullable: true, + type: { + name: "Number", + }, + }, + earlyStoppingPatience: { + serializedName: "earlyStoppingPatience", + nullable: true, + type: { + name: "Number", + }, + }, + enableOnnxNormalization: { + serializedName: "enableOnnxNormalization", + nullable: true, + type: { + name: "Boolean", + }, + }, + evaluationFrequency: { + serializedName: "evaluationFrequency", + nullable: true, + type: { + name: "Number", + }, + }, + gradientAccumulationStep: { + serializedName: "gradientAccumulationStep", + nullable: true, + type: { + name: "Number", + }, + }, + layersToFreeze: { + serializedName: "layersToFreeze", + nullable: true, + type: { + name: "Number", + }, + }, + learningRate: { + serializedName: "learningRate", + nullable: true, + type: { + name: "Number", + }, + }, + learningRateScheduler: { + serializedName: "learningRateScheduler", + type: { + name: "String", + }, + }, + modelName: { + serializedName: "modelName", + nullable: true, + type: { + name: "String", + }, + }, + momentum: { + serializedName: "momentum", + nullable: true, + type: { + name: "Number", + }, + }, + nesterov: { + serializedName: "nesterov", + nullable: true, + type: { + name: "Boolean", + }, + }, + numberOfEpochs: { + serializedName: "numberOfEpochs", + nullable: true, + type: { + name: "Number", + }, + }, + numberOfWorkers: { + serializedName: "numberOfWorkers", + nullable: true, + type: { + name: "Number", + }, + }, + optimizer: { + serializedName: "optimizer", + type: { + name: "String", + }, + }, + randomSeed: { + serializedName: "randomSeed", + nullable: true, + type: { + name: "Number", + }, + }, + stepLRGamma: { + serializedName: "stepLRGamma", + nullable: true, + type: { + name: "Number", + }, + }, + stepLRStepSize: { + serializedName: "stepLRStepSize", + nullable: true, + type: { + name: "Number", + }, + }, + trainingBatchSize: { + serializedName: "trainingBatchSize", + nullable: true, + type: { + name: "Number", + }, + }, + validationBatchSize: { + serializedName: "validationBatchSize", + nullable: true, + type: { + name: "Number", + }, + }, + warmupCosineLRCycles: { + serializedName: "warmupCosineLRCycles", + nullable: true, + type: { + name: "Number", + }, + }, + warmupCosineLRWarmupEpochs: { + serializedName: "warmupCosineLRWarmupEpochs", + nullable: true, + type: { + name: "Number", + }, + }, + weightDecay: { + serializedName: "weightDecay", + nullable: true, + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const ImageModelDistributionSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageModelDistributionSettings", + modelProperties: { + amsGradient: { + serializedName: "amsGradient", + nullable: true, + type: { + name: "String", + }, + }, + augmentations: { + serializedName: "augmentations", + nullable: true, + type: { + name: "String", + }, + }, + beta1: { + serializedName: "beta1", + nullable: true, + type: { + name: "String", + }, + }, + beta2: { + serializedName: "beta2", + nullable: true, + type: { + name: "String", + }, + }, + distributed: { + serializedName: "distributed", + nullable: true, + type: { + name: "String", + }, + }, + earlyStopping: { + serializedName: "earlyStopping", + nullable: true, + type: { + name: "String", + }, + }, + earlyStoppingDelay: { + serializedName: "earlyStoppingDelay", + nullable: true, + type: { + name: "String", + }, + }, + earlyStoppingPatience: { + serializedName: "earlyStoppingPatience", + nullable: true, + type: { + name: "String", + }, + }, + enableOnnxNormalization: { + serializedName: "enableOnnxNormalization", + nullable: true, + type: { + name: "String", + }, + }, + evaluationFrequency: { + serializedName: "evaluationFrequency", + nullable: true, + type: { + name: "String", + }, + }, + gradientAccumulationStep: { + serializedName: "gradientAccumulationStep", + nullable: true, + type: { + name: "String", + }, + }, + layersToFreeze: { + serializedName: "layersToFreeze", + nullable: true, + type: { + name: "String", + }, + }, + learningRate: { + serializedName: "learningRate", + nullable: true, + type: { + name: "String", + }, + }, + learningRateScheduler: { + serializedName: "learningRateScheduler", + nullable: true, + type: { + name: "String", + }, + }, + modelName: { + serializedName: "modelName", + nullable: true, + type: { + name: "String", + }, + }, + momentum: { + serializedName: "momentum", + nullable: true, + type: { + name: "String", + }, + }, + nesterov: { + serializedName: "nesterov", + nullable: true, + type: { + name: "String", + }, + }, + numberOfEpochs: { + serializedName: "numberOfEpochs", + nullable: true, + type: { + name: "String", + }, + }, + numberOfWorkers: { + serializedName: "numberOfWorkers", + nullable: true, + type: { + name: "String", + }, + }, + optimizer: { + serializedName: "optimizer", + nullable: true, + type: { + name: "String", + }, + }, + randomSeed: { + serializedName: "randomSeed", + nullable: true, + type: { + name: "String", + }, + }, + stepLRGamma: { + serializedName: "stepLRGamma", + nullable: true, + type: { + name: "String", + }, + }, + stepLRStepSize: { + serializedName: "stepLRStepSize", + nullable: true, + type: { + name: "String", + }, + }, + trainingBatchSize: { + serializedName: "trainingBatchSize", + nullable: true, + type: { + name: "String", + }, + }, + validationBatchSize: { + serializedName: "validationBatchSize", + nullable: true, + type: { + name: "String", + }, + }, + warmupCosineLRCycles: { + serializedName: "warmupCosineLRCycles", + nullable: true, + type: { + name: "String", + }, + }, + warmupCosineLRWarmupEpochs: { + serializedName: "warmupCosineLRWarmupEpochs", + nullable: true, + type: { + name: "String", + }, + }, + weightDecay: { + serializedName: "weightDecay", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ImageVertical: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageVertical", + modelProperties: { + limitSettings: { + serializedName: "limitSettings", + type: { + name: "Composite", + className: "ImageLimitSettings", + }, + }, + sweepSettings: { + serializedName: "sweepSettings", + type: { + name: "Composite", + className: "ImageSweepSettings", + }, + }, + validationData: { + serializedName: "validationData", + type: { + name: "Composite", + className: "MLTableJobInput", + }, + }, + validationDataSize: { + serializedName: "validationDataSize", + nullable: true, + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const ImageLimitSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageLimitSettings", + modelProperties: { + maxConcurrentTrials: { + defaultValue: 1, + serializedName: "maxConcurrentTrials", + type: { + name: "Number", + }, + }, + maxTrials: { + defaultValue: 1, + serializedName: "maxTrials", + type: { + name: "Number", + }, + }, + timeout: { + defaultValue: "P7D", + serializedName: "timeout", + type: { + name: "TimeSpan", + }, + }, + }, + }, +}; + +export const ImageSweepSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageSweepSettings", + modelProperties: { + earlyTermination: { + serializedName: "earlyTermination", + type: { + name: "Composite", + className: "EarlyTerminationPolicy", + }, + }, + samplingAlgorithm: { + serializedName: "samplingAlgorithm", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const OneLakeArtifact: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OneLakeArtifact", + uberParent: "OneLakeArtifact", + polymorphicDiscriminator: { + serializedName: "artifactType", + clientName: "artifactType", + }, + modelProperties: { + artifactName: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "artifactName", + required: true, + type: { + name: "String", + }, + }, + artifactType: { + serializedName: "artifactType", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const NlpVertical: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "NlpVertical", + modelProperties: { + featurizationSettings: { + serializedName: "featurizationSettings", + type: { + name: "Composite", + className: "NlpVerticalFeaturizationSettings", + }, + }, + limitSettings: { + serializedName: "limitSettings", + type: { + name: "Composite", + className: "NlpVerticalLimitSettings", + }, + }, + validationData: { + serializedName: "validationData", + type: { + name: "Composite", + className: "MLTableJobInput", + }, + }, + }, + }, +}; + +export const NlpVerticalLimitSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "NlpVerticalLimitSettings", + modelProperties: { + maxConcurrentTrials: { + defaultValue: 1, + serializedName: "maxConcurrentTrials", + type: { + name: "Number", + }, + }, + maxTrials: { + defaultValue: 1, + serializedName: "maxTrials", + type: { + name: "Number", + }, + }, + timeout: { + defaultValue: "P7D", + serializedName: "timeout", + type: { + name: "TimeSpan", + }, + }, + }, + }, +}; + +export const Objective: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Objective", + modelProperties: { + goal: { + serializedName: "goal", + required: true, + type: { + name: "String", + }, + }, + primaryMetric: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "primaryMetric", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const SparkJobEntry: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SparkJobEntry", + uberParent: "SparkJobEntry", + polymorphicDiscriminator: { + serializedName: "sparkJobEntryType", + clientName: "sparkJobEntryType", + }, + modelProperties: { + sparkJobEntryType: { + serializedName: "sparkJobEntryType", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const SparkResourceConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SparkResourceConfiguration", + modelProperties: { + instanceType: { + serializedName: "instanceType", + nullable: true, + type: { + name: "String", + }, + }, + runtimeVersion: { + defaultValue: "3.1", + serializedName: "runtimeVersion", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const TrialComponent: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TrialComponent", + modelProperties: { + codeId: { + serializedName: "codeId", + nullable: true, + type: { + name: "String", + }, + }, + command: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "command", + required: true, + type: { + name: "String", + }, + }, + distribution: { + serializedName: "distribution", + type: { + name: "Composite", + className: "DistributionConfiguration", + }, + }, + environmentId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "environmentId", + required: true, + type: { + name: "String", + }, + }, + environmentVariables: { + serializedName: "environmentVariables", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + resources: { + serializedName: "resources", + type: { + name: "Composite", + className: "JobResourceConfiguration", + }, + }, + }, + }, +}; + +export const PrivateEndpointResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateEndpointResource", + modelProperties: { + ...PrivateEndpoint.type.modelProperties, + subnetArmId: { + serializedName: "subnetArmId", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const RegistryPartialManagedServiceIdentity: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RegistryPartialManagedServiceIdentity", + modelProperties: { + ...ManagedServiceIdentity.type.modelProperties, + }, + }, + }; + +export const PrivateEndpointConnection: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateEndpointConnection", + modelProperties: { + ...Resource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", + }, + }, + privateEndpoint: { + serializedName: "properties.privateEndpoint", + type: { + name: "Composite", + className: "PrivateEndpoint", + }, + }, + privateLinkServiceConnectionState: { + serializedName: "properties.privateLinkServiceConnectionState", + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionState", + }, + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const Workspace: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Workspace", + modelProperties: { + ...Resource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity", + }, + }, + kind: { + serializedName: "kind", + type: { + name: "String", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", + }, + }, + workspaceId: { + serializedName: "properties.workspaceId", + readOnly: true, + type: { + name: "String", + }, + }, + description: { + serializedName: "properties.description", + type: { + name: "String", + }, + }, + friendlyName: { + serializedName: "properties.friendlyName", + type: { + name: "String", + }, + }, + keyVault: { + serializedName: "properties.keyVault", + type: { + name: "String", + }, + }, + applicationInsights: { + serializedName: "properties.applicationInsights", + type: { + name: "String", + }, + }, + containerRegistry: { + serializedName: "properties.containerRegistry", + nullable: true, + type: { + name: "String", + }, + }, + storageAccount: { + serializedName: "properties.storageAccount", + type: { + name: "String", + }, + }, + discoveryUrl: { + serializedName: "properties.discoveryUrl", + type: { + name: "String", + }, + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + encryption: { + serializedName: "properties.encryption", + type: { + name: "Composite", + className: "EncryptionProperty", + }, + }, + hbiWorkspace: { + defaultValue: false, + serializedName: "properties.hbiWorkspace", + type: { + name: "Boolean", + }, + }, + serviceProvisionedResourceGroup: { + serializedName: "properties.serviceProvisionedResourceGroup", + readOnly: true, + type: { + name: "String", + }, + }, + privateLinkCount: { + serializedName: "properties.privateLinkCount", + readOnly: true, + type: { + name: "Number", + }, + }, + imageBuildCompute: { + serializedName: "properties.imageBuildCompute", + type: { + name: "String", + }, + }, + allowPublicAccessWhenBehindVnet: { + defaultValue: false, + serializedName: "properties.allowPublicAccessWhenBehindVnet", + type: { + name: "Boolean", + }, + }, + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", + type: { + name: "String", + }, + }, + privateEndpointConnections: { + serializedName: "properties.privateEndpointConnections", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnection", + }, + }, + }, + }, + serverlessComputeSettings: { + serializedName: "properties.serverlessComputeSettings", + type: { + name: "Composite", + className: "ServerlessComputeSettings", + }, + }, + sharedPrivateLinkResources: { + serializedName: "properties.sharedPrivateLinkResources", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SharedPrivateLinkResource", + }, + }, + }, + }, + notebookInfo: { + serializedName: "properties.notebookInfo", + type: { + name: "Composite", + className: "NotebookResourceInfo", + }, + }, + serviceManagedResourcesSettings: { + serializedName: "properties.serviceManagedResourcesSettings", + type: { + name: "Composite", + className: "ServiceManagedResourcesSettings", + }, + }, + primaryUserAssignedIdentity: { + serializedName: "properties.primaryUserAssignedIdentity", + type: { + name: "String", + }, + }, + tenantId: { + serializedName: "properties.tenantId", + readOnly: true, + type: { + name: "String", + }, + }, + storageHnsEnabled: { + serializedName: "properties.storageHnsEnabled", + readOnly: true, + type: { + name: "Boolean", + }, + }, + mlFlowTrackingUri: { + serializedName: "properties.mlFlowTrackingUri", + readOnly: true, + type: { + name: "String", + }, + }, + v1LegacyMode: { + defaultValue: false, + serializedName: "properties.v1LegacyMode", + type: { + name: "Boolean", + }, + }, + managedNetwork: { + serializedName: "properties.managedNetwork", + type: { + name: "Composite", + className: "ManagedNetworkSettings", + }, + }, + featureStoreSettings: { + serializedName: "properties.featureStoreSettings", + type: { + name: "Composite", + className: "FeatureStoreSettings", + }, + }, + }, + }, +}; + +export const ComputeResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeResource", + modelProperties: { + ...Resource.type.modelProperties, + ...ComputeResourceSchema.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + tags: { + serializedName: "tags", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", + }, + }, + }, + }, +}; + +export const PrivateLinkResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateLinkResource", + modelProperties: { + ...Resource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", + }, + }, + groupId: { + serializedName: "properties.groupId", + readOnly: true, + type: { + name: "String", + }, + }, + requiredMembers: { + serializedName: "properties.requiredMembers", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + requiredZoneNames: { + serializedName: "properties.requiredZoneNames", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, +}; + +export const WorkspaceConnectionPropertiesV2BasicResource: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "WorkspaceConnectionPropertiesV2BasicResource", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "WorkspaceConnectionPropertiesV2", + }, + }, + }, + }, + }; + +export const OutboundRuleBasicResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OutboundRuleBasicResource", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "OutboundRule", + }, + }, + }, + }, +}; + +export const ProxyResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ProxyResource", + modelProperties: { + ...Resource.type.modelProperties, + }, + }, +}; + +export const TrackedResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TrackedResource", + modelProperties: { + ...Resource.type.modelProperties, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + location: { + serializedName: "location", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const PrivateEndpointOutboundRule: coreClient.CompositeMapper = { + serializedName: "PrivateEndpoint", + type: { + name: "Composite", + className: "PrivateEndpointOutboundRule", + uberParent: "OutboundRule", + polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, + modelProperties: { + ...OutboundRule.type.modelProperties, + destination: { + serializedName: "destination", + type: { + name: "Composite", + className: "PrivateEndpointDestination", + }, + }, + }, + }, +}; + +export const ServiceTagOutboundRule: coreClient.CompositeMapper = { + serializedName: "ServiceTag", + type: { + name: "Composite", + className: "ServiceTagOutboundRule", + uberParent: "OutboundRule", + polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, + modelProperties: { + ...OutboundRule.type.modelProperties, + destination: { + serializedName: "destination", + type: { + name: "Composite", + className: "ServiceTagDestination", + }, + }, + }, + }, +}; + +export const FqdnOutboundRule: coreClient.CompositeMapper = { + serializedName: "FQDN", + type: { + name: "Composite", + className: "FqdnOutboundRule", + uberParent: "OutboundRule", + polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, + modelProperties: { + ...OutboundRule.type.modelProperties, + destination: { + serializedName: "destination", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const Aks: coreClient.CompositeMapper = { + serializedName: "AKS", + type: { + name: "Composite", + className: "Aks", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...AKSSchema.type.modelProperties, + }, + }, +}; + +export const Kubernetes: coreClient.CompositeMapper = { + serializedName: "Kubernetes", + type: { + name: "Composite", + className: "Kubernetes", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...KubernetesSchema.type.modelProperties, + }, + }, +}; + +export const AmlCompute: coreClient.CompositeMapper = { + serializedName: "AmlCompute", + type: { + name: "Composite", + className: "AmlCompute", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...AmlComputeSchema.type.modelProperties, + }, + }, +}; + +export const ComputeInstance: coreClient.CompositeMapper = { + serializedName: "ComputeInstance", + type: { + name: "Composite", + className: "ComputeInstance", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...ComputeInstanceSchema.type.modelProperties, + }, + }, +}; + +export const VirtualMachine: coreClient.CompositeMapper = { + serializedName: "VirtualMachine", + type: { + name: "Composite", + className: "VirtualMachine", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...VirtualMachineSchema.type.modelProperties, + }, + }, +}; + +export const HDInsight: coreClient.CompositeMapper = { + serializedName: "HDInsight", + type: { + name: "Composite", + className: "HDInsight", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...HDInsightSchema.type.modelProperties, + }, + }, +}; + +export const DataFactory: coreClient.CompositeMapper = { + serializedName: "DataFactory", + type: { + name: "Composite", + className: "DataFactory", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + }, + }, +}; + +export const Databricks: coreClient.CompositeMapper = { + serializedName: "Databricks", + type: { + name: "Composite", + className: "Databricks", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...DatabricksSchema.type.modelProperties, + }, + }, +}; + +export const DataLakeAnalytics: coreClient.CompositeMapper = { + serializedName: "DataLakeAnalytics", + type: { + name: "Composite", + className: "DataLakeAnalytics", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...DataLakeAnalyticsSchema.type.modelProperties, + }, + }, +}; + +export const SynapseSpark: coreClient.CompositeMapper = { + serializedName: "SynapseSpark", + type: { + name: "Composite", + className: "SynapseSpark", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, modelProperties: { ...Compute.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "SynapseSparkProperties" - } - } - } - } + className: "SynapseSparkProperties", + }, + }, + }, + }, +}; + +export const AksComputeSecrets: coreClient.CompositeMapper = { + serializedName: "AKS", + type: { + name: "Composite", + className: "AksComputeSecrets", + uberParent: "ComputeSecrets", + polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, + modelProperties: { + ...ComputeSecrets.type.modelProperties, + ...AksComputeSecretsProperties.type.modelProperties, + }, + }, +}; + +export const VirtualMachineSecrets: coreClient.CompositeMapper = { + serializedName: "VirtualMachine", + type: { + name: "Composite", + className: "VirtualMachineSecrets", + uberParent: "ComputeSecrets", + polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, + modelProperties: { + ...ComputeSecrets.type.modelProperties, + ...VirtualMachineSecretsSchema.type.modelProperties, + }, + }, +}; + +export const DatabricksComputeSecrets: coreClient.CompositeMapper = { + serializedName: "Databricks", + type: { + name: "Composite", + className: "DatabricksComputeSecrets", + uberParent: "ComputeSecrets", + polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, + modelProperties: { + ...ComputeSecrets.type.modelProperties, + ...DatabricksComputeSecretsProperties.type.modelProperties, + }, + }, +}; + +export const PATAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "PAT", + type: { + name: "Composite", + className: "PATAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionPersonalAccessToken", + }, + }, + }, + }, + }; + +export const SASAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "SAS", + type: { + name: "Composite", + className: "SASAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionSharedAccessSignature", + }, + }, + }, + }, + }; + +export const UsernamePasswordAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "UsernamePassword", + type: { + name: "Composite", + className: "UsernamePasswordAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionUsernamePassword", + }, + }, + }, + }, + }; + +export const NoneAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "None", + type: { + name: "Composite", + className: "NoneAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + }, + }, + }; + +export const ManagedIdentityAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "ManagedIdentity", + type: { + name: "Composite", + className: "ManagedIdentityAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionManagedIdentity", + }, + }, + }, + }, + }; + +export const AssetContainer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AssetContainer", + modelProperties: { + ...ResourceBase.type.modelProperties, + isArchived: { + defaultValue: false, + serializedName: "isArchived", + type: { + name: "Boolean", + }, + }, + latestVersion: { + serializedName: "latestVersion", + readOnly: true, + nullable: true, + type: { + name: "String", + }, + }, + nextVersion: { + serializedName: "nextVersion", + readOnly: true, + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const AssetBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AssetBase", + modelProperties: { + ...ResourceBase.type.modelProperties, + isAnonymous: { + defaultValue: false, + serializedName: "isAnonymous", + type: { + name: "Boolean", + }, + }, + isArchived: { + defaultValue: false, + serializedName: "isArchived", + type: { + name: "Boolean", + }, + }, + }, + }, +}; + +export const DatastoreProperties: coreClient.CompositeMapper = { + serializedName: "DatastoreProperties", + type: { + name: "Composite", + className: "DatastoreProperties", + uberParent: "ResourceBase", + polymorphicDiscriminator: { + serializedName: "datastoreType", + clientName: "datastoreType", + }, + modelProperties: { + ...ResourceBase.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "DatastoreCredentials", + }, + }, + datastoreType: { + serializedName: "datastoreType", + required: true, + type: { + name: "String", + }, + }, + isDefault: { + serializedName: "isDefault", + readOnly: true, + type: { + name: "Boolean", + }, + }, + }, + }, +}; + +export const FeatureProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeatureProperties", + modelProperties: { + ...ResourceBase.type.modelProperties, + dataType: { + serializedName: "dataType", + type: { + name: "String", + }, + }, + featureName: { + serializedName: "featureName", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const JobBaseProperties: coreClient.CompositeMapper = { + serializedName: "JobBaseProperties", + type: { + name: "Composite", + className: "JobBaseProperties", + uberParent: "ResourceBase", + polymorphicDiscriminator: { + serializedName: "jobType", + clientName: "jobType", + }, + modelProperties: { + ...ResourceBase.type.modelProperties, + componentId: { + serializedName: "componentId", + nullable: true, + type: { + name: "String", + }, + }, + computeId: { + serializedName: "computeId", + nullable: true, + type: { + name: "String", + }, + }, + displayName: { + serializedName: "displayName", + nullable: true, + type: { + name: "String", + }, + }, + experimentName: { + defaultValue: "Default", + serializedName: "experimentName", + type: { + name: "String", + }, + }, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "IdentityConfiguration", + }, + }, + isArchived: { + defaultValue: false, + serializedName: "isArchived", + type: { + name: "Boolean", + }, + }, + jobType: { + serializedName: "jobType", + required: true, + type: { + name: "String", + }, + }, + services: { + serializedName: "services", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "JobService" } }, + }, + }, + status: { + serializedName: "status", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ScheduleProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ScheduleProperties", + modelProperties: { + ...ResourceBase.type.modelProperties, + action: { + serializedName: "action", + type: { + name: "Composite", + className: "ScheduleActionBase", + }, + }, + displayName: { + serializedName: "displayName", + nullable: true, + type: { + name: "String", + }, + }, + isEnabled: { + defaultValue: true, + serializedName: "isEnabled", + type: { + name: "Boolean", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + trigger: { + serializedName: "trigger", + type: { + name: "Composite", + className: "TriggerBase", + }, + }, + }, + }, +}; + +export const SASCredentialDto: coreClient.CompositeMapper = { + serializedName: "SAS", + type: { + name: "Composite", + className: "SASCredentialDto", + uberParent: "PendingUploadCredentialDto", + polymorphicDiscriminator: + PendingUploadCredentialDto.type.polymorphicDiscriminator, + modelProperties: { + ...PendingUploadCredentialDto.type.modelProperties, + sasUri: { + serializedName: "sasUri", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const AnonymousAccessCredential: coreClient.CompositeMapper = { + serializedName: "NoCredentials", + type: { + name: "Composite", + className: "AnonymousAccessCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: + DataReferenceCredential.type.polymorphicDiscriminator, + modelProperties: { + ...DataReferenceCredential.type.modelProperties, + }, + }, +}; + +export const DockerCredential: coreClient.CompositeMapper = { + serializedName: "DockerCredentials", + type: { + name: "Composite", + className: "DockerCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: + DataReferenceCredential.type.polymorphicDiscriminator, + modelProperties: { + ...DataReferenceCredential.type.modelProperties, + password: { + serializedName: "password", + nullable: true, + type: { + name: "String", + }, + }, + userName: { + serializedName: "userName", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ManagedIdentityCredential: coreClient.CompositeMapper = { + serializedName: "ManagedIdentity", + type: { + name: "Composite", + className: "ManagedIdentityCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: + DataReferenceCredential.type.polymorphicDiscriminator, + modelProperties: { + ...DataReferenceCredential.type.modelProperties, + managedIdentityType: { + serializedName: "managedIdentityType", + nullable: true, + type: { + name: "String", + }, + }, + userManagedIdentityClientId: { + serializedName: "userManagedIdentityClientId", + nullable: true, + type: { + name: "String", + }, + }, + userManagedIdentityPrincipalId: { + serializedName: "userManagedIdentityPrincipalId", + nullable: true, + type: { + name: "String", + }, + }, + userManagedIdentityResourceId: { + serializedName: "userManagedIdentityResourceId", + nullable: true, + type: { + name: "String", + }, + }, + userManagedIdentityTenantId: { + serializedName: "userManagedIdentityTenantId", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const SASCredential: coreClient.CompositeMapper = { + serializedName: "SAS", + type: { + name: "Composite", + className: "SASCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: + DataReferenceCredential.type.polymorphicDiscriminator, + modelProperties: { + ...DataReferenceCredential.type.modelProperties, + sasUri: { + serializedName: "sasUri", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const BatchEndpointProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchEndpointProperties", + modelProperties: { + ...EndpointPropertiesBase.type.modelProperties, + defaults: { + serializedName: "defaults", + type: { + name: "Composite", + className: "BatchEndpointDefaults", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const OnlineEndpointProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OnlineEndpointProperties", + modelProperties: { + ...EndpointPropertiesBase.type.modelProperties, + compute: { + serializedName: "compute", + nullable: true, + type: { + name: "String", + }, + }, + mirrorTraffic: { + serializedName: "mirrorTraffic", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Number" } }, + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + publicNetworkAccess: { + serializedName: "publicNetworkAccess", + type: { + name: "String", + }, + }, + traffic: { + serializedName: "traffic", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Number" } }, + }, + }, + }, + }, +}; + +export const PartialMinimalTrackedResourceWithIdentity: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "PartialMinimalTrackedResourceWithIdentity", + modelProperties: { + ...PartialMinimalTrackedResource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "PartialManagedServiceIdentity", + }, + }, + }, + }, + }; + +export const PartialMinimalTrackedResourceWithSku: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "PartialMinimalTrackedResourceWithSku", + modelProperties: { + ...PartialMinimalTrackedResource.type.modelProperties, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "PartialSku", + }, + }, + }, + }, + }; + +export const BatchPipelineComponentDeploymentConfiguration: coreClient.CompositeMapper = + { + serializedName: "PipelineComponent", + type: { + name: "Composite", + className: "BatchPipelineComponentDeploymentConfiguration", + uberParent: "BatchDeploymentConfiguration", + polymorphicDiscriminator: + BatchDeploymentConfiguration.type.polymorphicDiscriminator, + modelProperties: { + ...BatchDeploymentConfiguration.type.modelProperties, + componentId: { + serializedName: "componentId", + type: { + name: "Composite", + className: "IdAssetReference", + }, + }, + description: { + serializedName: "description", + nullable: true, + type: { + name: "String", + }, + }, + settings: { + serializedName: "settings", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + tags: { + serializedName: "tags", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + }, + }, + }; + +export const IdAssetReference: coreClient.CompositeMapper = { + serializedName: "Id", + type: { + name: "Composite", + className: "IdAssetReference", + uberParent: "AssetReferenceBase", + polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + modelProperties: { + ...AssetReferenceBase.type.modelProperties, + assetId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "assetId", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const DataPathAssetReference: coreClient.CompositeMapper = { + serializedName: "DataPath", + type: { + name: "Composite", + className: "DataPathAssetReference", + uberParent: "AssetReferenceBase", + polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + modelProperties: { + ...AssetReferenceBase.type.modelProperties, + datastoreId: { + serializedName: "datastoreId", + nullable: true, + type: { + name: "String", + }, + }, + path: { + serializedName: "path", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const OutputPathAssetReference: coreClient.CompositeMapper = { + serializedName: "OutputPath", + type: { + name: "Composite", + className: "OutputPathAssetReference", + uberParent: "AssetReferenceBase", + polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + modelProperties: { + ...AssetReferenceBase.type.modelProperties, + jobId: { + serializedName: "jobId", + nullable: true, + type: { + name: "String", + }, + }, + path: { + serializedName: "path", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const DeploymentResourceConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DeploymentResourceConfiguration", + modelProperties: { + ...ResourceConfiguration.type.modelProperties, + }, + }, +}; + +export const JobResourceConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JobResourceConfiguration", + modelProperties: { + ...ResourceConfiguration.type.modelProperties, + dockerArgs: { + serializedName: "dockerArgs", + nullable: true, + type: { + name: "String", + }, + }, + shmSize: { + defaultValue: "2g", + constraints: { + Pattern: new RegExp("\\d+[bBkKmMgG]"), + }, + serializedName: "shmSize", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const BatchDeploymentProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchDeploymentProperties", + modelProperties: { + ...EndpointDeploymentPropertiesBase.type.modelProperties, + compute: { + serializedName: "compute", + nullable: true, + type: { + name: "String", + }, + }, + deploymentConfiguration: { + serializedName: "deploymentConfiguration", + type: { + name: "Composite", + className: "BatchDeploymentConfiguration", + }, + }, + errorThreshold: { + defaultValue: -1, + serializedName: "errorThreshold", + type: { + name: "Number", + }, + }, + loggingLevel: { + serializedName: "loggingLevel", + type: { + name: "String", + }, + }, + maxConcurrencyPerInstance: { + defaultValue: 1, + serializedName: "maxConcurrencyPerInstance", + type: { + name: "Number", + }, + }, + miniBatchSize: { + defaultValue: 10, + serializedName: "miniBatchSize", + type: { + name: "Number", + }, + }, + model: { + serializedName: "model", + type: { + name: "Composite", + className: "AssetReferenceBase", + }, + }, + outputAction: { + serializedName: "outputAction", + type: { + name: "String", + }, + }, + outputFileName: { + defaultValue: "predictions.csv", + serializedName: "outputFileName", + type: { + name: "String", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + resources: { + serializedName: "resources", + type: { + name: "Composite", + className: "DeploymentResourceConfiguration", + }, + }, + retrySettings: { + serializedName: "retrySettings", + type: { + name: "Composite", + className: "BatchRetrySettings", + }, + }, + }, + }, +}; + +export const OnlineDeploymentProperties: coreClient.CompositeMapper = { + serializedName: "OnlineDeploymentProperties", + type: { + name: "Composite", + className: "OnlineDeploymentProperties", + uberParent: "EndpointDeploymentPropertiesBase", + polymorphicDiscriminator: { + serializedName: "endpointComputeType", + clientName: "endpointComputeType", + }, + modelProperties: { + ...EndpointDeploymentPropertiesBase.type.modelProperties, + appInsightsEnabled: { + defaultValue: false, + serializedName: "appInsightsEnabled", + type: { + name: "Boolean", + }, + }, + egressPublicNetworkAccess: { + serializedName: "egressPublicNetworkAccess", + type: { + name: "String", + }, + }, + endpointComputeType: { + serializedName: "endpointComputeType", + required: true, + type: { + name: "String", + }, + }, + instanceType: { + serializedName: "instanceType", + nullable: true, + type: { + name: "String", + }, + }, + livenessProbe: { + serializedName: "livenessProbe", + type: { + name: "Composite", + className: "ProbeSettings", + }, + }, + model: { + serializedName: "model", + nullable: true, + type: { + name: "String", + }, + }, + modelMountPath: { + serializedName: "modelMountPath", + nullable: true, + type: { + name: "String", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + readinessProbe: { + serializedName: "readinessProbe", + type: { + name: "Composite", + className: "ProbeSettings", + }, + }, + requestSettings: { + serializedName: "requestSettings", + type: { + name: "Composite", + className: "OnlineRequestSettings", + }, + }, + scaleSettings: { + serializedName: "scaleSettings", + type: { + name: "Composite", + className: "OnlineScaleSettings", + }, + }, + }, + }, +}; + +export const AccountKeyDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "AccountKey", + type: { + name: "Composite", + className: "AccountKeyDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: + DatastoreCredentials.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreCredentials.type.modelProperties, + secrets: { + serializedName: "secrets", + type: { + name: "Composite", + className: "AccountKeyDatastoreSecrets", + }, + }, + }, + }, +}; + +export const CertificateDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "Certificate", + type: { + name: "Composite", + className: "CertificateDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: + DatastoreCredentials.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreCredentials.type.modelProperties, + authorityUrl: { + serializedName: "authorityUrl", + nullable: true, + type: { + name: "String", + }, + }, + clientId: { + serializedName: "clientId", + required: true, + type: { + name: "Uuid", + }, + }, + resourceUrl: { + serializedName: "resourceUrl", + nullable: true, + type: { + name: "String", + }, + }, + secrets: { + serializedName: "secrets", + type: { + name: "Composite", + className: "CertificateDatastoreSecrets", + }, + }, + tenantId: { + serializedName: "tenantId", + required: true, + type: { + name: "Uuid", + }, + }, + thumbprint: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "thumbprint", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const NoneDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "None", + type: { + name: "Composite", + className: "NoneDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: + DatastoreCredentials.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreCredentials.type.modelProperties, + }, + }, +}; + +export const SasDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "Sas", + type: { + name: "Composite", + className: "SasDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: + DatastoreCredentials.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreCredentials.type.modelProperties, + secrets: { + serializedName: "secrets", + type: { + name: "Composite", + className: "SasDatastoreSecrets", + }, + }, + }, + }, +}; + +export const ServicePrincipalDatastoreCredentials: coreClient.CompositeMapper = + { + serializedName: "ServicePrincipal", + type: { + name: "Composite", + className: "ServicePrincipalDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: + DatastoreCredentials.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreCredentials.type.modelProperties, + authorityUrl: { + serializedName: "authorityUrl", + nullable: true, + type: { + name: "String", + }, + }, + clientId: { + serializedName: "clientId", + required: true, + type: { + name: "Uuid", + }, + }, + resourceUrl: { + serializedName: "resourceUrl", + nullable: true, + type: { + name: "String", + }, + }, + secrets: { + serializedName: "secrets", + type: { + name: "Composite", + className: "ServicePrincipalDatastoreSecrets", + }, + }, + tenantId: { + serializedName: "tenantId", + required: true, + type: { + name: "Uuid", + }, + }, + }, + }, + }; + +export const AccountKeyDatastoreSecrets: coreClient.CompositeMapper = { + serializedName: "AccountKey", + type: { + name: "Composite", + className: "AccountKeyDatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreSecrets.type.modelProperties, + key: { + serializedName: "key", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const CertificateDatastoreSecrets: coreClient.CompositeMapper = { + serializedName: "Certificate", + type: { + name: "Composite", + className: "CertificateDatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreSecrets.type.modelProperties, + certificate: { + serializedName: "certificate", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const SasDatastoreSecrets: coreClient.CompositeMapper = { + serializedName: "Sas", + type: { + name: "Composite", + className: "SasDatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreSecrets.type.modelProperties, + sasToken: { + serializedName: "sasToken", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ServicePrincipalDatastoreSecrets: coreClient.CompositeMapper = { + serializedName: "ServicePrincipal", + type: { + name: "Composite", + className: "ServicePrincipalDatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreSecrets.type.modelProperties, + clientSecret: { + serializedName: "clientSecret", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const AzureDevOpsWebhook: coreClient.CompositeMapper = { + serializedName: "AzureDevOps", + type: { + name: "Composite", + className: "AzureDevOpsWebhook", + uberParent: "Webhook", + polymorphicDiscriminator: Webhook.type.polymorphicDiscriminator, + modelProperties: { + ...Webhook.type.modelProperties, + }, + }, +}; + +export const RecurrenceTrigger: coreClient.CompositeMapper = { + serializedName: "Recurrence", + type: { + name: "Composite", + className: "RecurrenceTrigger", + uberParent: "TriggerBase", + polymorphicDiscriminator: TriggerBase.type.polymorphicDiscriminator, + modelProperties: { + ...TriggerBase.type.modelProperties, + frequency: { + serializedName: "frequency", + required: true, + type: { + name: "String", + }, + }, + interval: { + serializedName: "interval", + required: true, + type: { + name: "Number", + }, + }, + schedule: { + serializedName: "schedule", + type: { + name: "Composite", + className: "RecurrenceSchedule", + }, + }, + }, + }, +}; + +export const CronTrigger: coreClient.CompositeMapper = { + serializedName: "Cron", + type: { + name: "Composite", + className: "CronTrigger", + uberParent: "TriggerBase", + polymorphicDiscriminator: TriggerBase.type.polymorphicDiscriminator, + modelProperties: { + ...TriggerBase.type.modelProperties, + expression: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "expression", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const AmlToken: coreClient.CompositeMapper = { + serializedName: "AMLToken", + type: { + name: "Composite", + className: "AmlToken", + uberParent: "IdentityConfiguration", + polymorphicDiscriminator: + IdentityConfiguration.type.polymorphicDiscriminator, + modelProperties: { + ...IdentityConfiguration.type.modelProperties, + }, + }, +}; + +export const ManagedIdentity: coreClient.CompositeMapper = { + serializedName: "Managed", + type: { + name: "Composite", + className: "ManagedIdentity", + uberParent: "IdentityConfiguration", + polymorphicDiscriminator: + IdentityConfiguration.type.polymorphicDiscriminator, + modelProperties: { + ...IdentityConfiguration.type.modelProperties, + clientId: { + serializedName: "clientId", + nullable: true, + type: { + name: "Uuid", + }, + }, + objectId: { + serializedName: "objectId", + nullable: true, + type: { + name: "Uuid", + }, + }, + resourceId: { + serializedName: "resourceId", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const UserIdentity: coreClient.CompositeMapper = { + serializedName: "UserIdentity", + type: { + name: "Composite", + className: "UserIdentity", + uberParent: "IdentityConfiguration", + polymorphicDiscriminator: + IdentityConfiguration.type.polymorphicDiscriminator, + modelProperties: { + ...IdentityConfiguration.type.modelProperties, + }, + }, +}; + +export const AllNodes: coreClient.CompositeMapper = { + serializedName: "All", + type: { + name: "Composite", + className: "AllNodes", + uberParent: "Nodes", + polymorphicDiscriminator: Nodes.type.polymorphicDiscriminator, + modelProperties: { + ...Nodes.type.modelProperties, + }, + }, +}; + +export const DefaultScaleSettings: coreClient.CompositeMapper = { + serializedName: "Default", + type: { + name: "Composite", + className: "DefaultScaleSettings", + uberParent: "OnlineScaleSettings", + polymorphicDiscriminator: OnlineScaleSettings.type.polymorphicDiscriminator, + modelProperties: { + ...OnlineScaleSettings.type.modelProperties, + }, + }, +}; + +export const TargetUtilizationScaleSettings: coreClient.CompositeMapper = { + serializedName: "TargetUtilization", + type: { + name: "Composite", + className: "TargetUtilizationScaleSettings", + uberParent: "OnlineScaleSettings", + polymorphicDiscriminator: OnlineScaleSettings.type.polymorphicDiscriminator, + modelProperties: { + ...OnlineScaleSettings.type.modelProperties, + maxInstances: { + defaultValue: 1, + serializedName: "maxInstances", + type: { + name: "Number", + }, + }, + minInstances: { + defaultValue: 1, + serializedName: "minInstances", + type: { + name: "Number", + }, + }, + pollingInterval: { + defaultValue: "PT1S", + serializedName: "pollingInterval", + type: { + name: "TimeSpan", + }, + }, + targetUtilizationPercentage: { + defaultValue: 70, + serializedName: "targetUtilizationPercentage", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const CreateMonitorAction: coreClient.CompositeMapper = { + serializedName: "CreateMonitor", + type: { + name: "Composite", + className: "CreateMonitorAction", + uberParent: "ScheduleActionBase", + polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + modelProperties: { + ...ScheduleActionBase.type.modelProperties, + monitorDefinition: { + serializedName: "monitorDefinition", + type: { + name: "Composite", + className: "MonitorDefinition", + }, + }, + }, + }, +}; + +export const EndpointScheduleAction: coreClient.CompositeMapper = { + serializedName: "InvokeBatchEndpoint", + type: { + name: "Composite", + className: "EndpointScheduleAction", + uberParent: "ScheduleActionBase", + polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + modelProperties: { + ...ScheduleActionBase.type.modelProperties, + endpointInvocationDefinition: { + serializedName: "endpointInvocationDefinition", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + }, + }, +}; + +export const JobScheduleAction: coreClient.CompositeMapper = { + serializedName: "CreateJob", + type: { + name: "Composite", + className: "JobScheduleAction", + uberParent: "ScheduleActionBase", + polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + modelProperties: { + ...ScheduleActionBase.type.modelProperties, + jobDefinition: { + serializedName: "jobDefinition", + type: { + name: "Composite", + className: "JobBaseProperties", + }, + }, + }, + }, +}; + +export const AllFeatures: coreClient.CompositeMapper = { + serializedName: "AllFeatures", + type: { + name: "Composite", + className: "AllFeatures", + uberParent: "MonitoringFeatureFilterBase", + polymorphicDiscriminator: + MonitoringFeatureFilterBase.type.polymorphicDiscriminator, + modelProperties: { + ...MonitoringFeatureFilterBase.type.modelProperties, + }, + }, +}; + +export const FeatureSubset: coreClient.CompositeMapper = { + serializedName: "FeatureSubset", + type: { + name: "Composite", + className: "FeatureSubset", + uberParent: "MonitoringFeatureFilterBase", + polymorphicDiscriminator: + MonitoringFeatureFilterBase.type.polymorphicDiscriminator, + modelProperties: { + ...MonitoringFeatureFilterBase.type.modelProperties, + features: { + serializedName: "features", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, +}; + +export const TopNFeaturesByAttribution: coreClient.CompositeMapper = { + serializedName: "TopNByAttribution", + type: { + name: "Composite", + className: "TopNFeaturesByAttribution", + uberParent: "MonitoringFeatureFilterBase", + polymorphicDiscriminator: + MonitoringFeatureFilterBase.type.polymorphicDiscriminator, + modelProperties: { + ...MonitoringFeatureFilterBase.type.modelProperties, + top: { + defaultValue: 10, + serializedName: "top", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const AmlTokenComputeIdentity: coreClient.CompositeMapper = { + serializedName: "AmlToken", + type: { + name: "Composite", + className: "AmlTokenComputeIdentity", + uberParent: "MonitorComputeIdentityBase", + polymorphicDiscriminator: + MonitorComputeIdentityBase.type.polymorphicDiscriminator, + modelProperties: { + ...MonitorComputeIdentityBase.type.modelProperties, + }, + }, +}; + +export const ManagedComputeIdentity: coreClient.CompositeMapper = { + serializedName: "ManagedIdentity", + type: { + name: "Composite", + className: "ManagedComputeIdentity", + uberParent: "MonitorComputeIdentityBase", + polymorphicDiscriminator: + MonitorComputeIdentityBase.type.polymorphicDiscriminator, + modelProperties: { + ...MonitorComputeIdentityBase.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity", + }, + }, + }, + }, }; -export const AksComputeSecrets: coreClient.CompositeMapper = { - serializedName: "AKS", +export const MLTableJobInput: coreClient.CompositeMapper = { + serializedName: "mltable", + type: { + name: "Composite", + className: "MLTableJobInput", + uberParent: "AssetJobInput", + polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobInput.type.modelProperties, + ...JobInput.type.modelProperties, + }, + }, +}; + +export const CustomModelJobInput: coreClient.CompositeMapper = { + serializedName: "custom_model", + type: { + name: "Composite", + className: "CustomModelJobInput", + uberParent: "AssetJobInput", + polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobInput.type.modelProperties, + ...JobInput.type.modelProperties, + }, + }, +}; + +export const MLFlowModelJobInput: coreClient.CompositeMapper = { + serializedName: "mlflow_model", + type: { + name: "Composite", + className: "MLFlowModelJobInput", + uberParent: "AssetJobInput", + polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobInput.type.modelProperties, + ...JobInput.type.modelProperties, + }, + }, +}; + +export const TritonModelJobInput: coreClient.CompositeMapper = { + serializedName: "triton_model", + type: { + name: "Composite", + className: "TritonModelJobInput", + uberParent: "AssetJobInput", + polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobInput.type.modelProperties, + ...JobInput.type.modelProperties, + }, + }, +}; + +export const UriFileJobInput: coreClient.CompositeMapper = { + serializedName: "uri_file", + type: { + name: "Composite", + className: "UriFileJobInput", + uberParent: "AssetJobInput", + polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobInput.type.modelProperties, + ...JobInput.type.modelProperties, + }, + }, +}; + +export const UriFolderJobInput: coreClient.CompositeMapper = { + serializedName: "uri_folder", + type: { + name: "Composite", + className: "UriFolderJobInput", + uberParent: "AssetJobInput", + polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobInput.type.modelProperties, + ...JobInput.type.modelProperties, + }, + }, +}; + +export const CustomModelJobOutput: coreClient.CompositeMapper = { + serializedName: "custom_model", + type: { + name: "Composite", + className: "CustomModelJobOutput", + uberParent: "AssetJobOutput", + polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobOutput.type.modelProperties, + ...JobOutput.type.modelProperties, + }, + }, +}; + +export const MLFlowModelJobOutput: coreClient.CompositeMapper = { + serializedName: "mlflow_model", + type: { + name: "Composite", + className: "MLFlowModelJobOutput", + uberParent: "AssetJobOutput", + polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobOutput.type.modelProperties, + ...JobOutput.type.modelProperties, + }, + }, +}; + +export const MLTableJobOutput: coreClient.CompositeMapper = { + serializedName: "mltable", + type: { + name: "Composite", + className: "MLTableJobOutput", + uberParent: "AssetJobOutput", + polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobOutput.type.modelProperties, + ...JobOutput.type.modelProperties, + }, + }, +}; + +export const TritonModelJobOutput: coreClient.CompositeMapper = { + serializedName: "triton_model", + type: { + name: "Composite", + className: "TritonModelJobOutput", + uberParent: "AssetJobOutput", + polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobOutput.type.modelProperties, + ...JobOutput.type.modelProperties, + }, + }, +}; + +export const UriFileJobOutput: coreClient.CompositeMapper = { + serializedName: "uri_file", + type: { + name: "Composite", + className: "UriFileJobOutput", + uberParent: "AssetJobOutput", + polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobOutput.type.modelProperties, + ...JobOutput.type.modelProperties, + }, + }, +}; + +export const UriFolderJobOutput: coreClient.CompositeMapper = { + serializedName: "uri_folder", + type: { + name: "Composite", + className: "UriFolderJobOutput", + uberParent: "AssetJobOutput", + polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobOutput.type.modelProperties, + ...JobOutput.type.modelProperties, + }, + }, +}; + +export const AutoForecastHorizon: coreClient.CompositeMapper = { + serializedName: "Auto", + type: { + name: "Composite", + className: "AutoForecastHorizon", + uberParent: "ForecastHorizon", + polymorphicDiscriminator: ForecastHorizon.type.polymorphicDiscriminator, + modelProperties: { + ...ForecastHorizon.type.modelProperties, + }, + }, +}; + +export const CustomForecastHorizon: coreClient.CompositeMapper = { + serializedName: "Custom", + type: { + name: "Composite", + className: "CustomForecastHorizon", + uberParent: "ForecastHorizon", + polymorphicDiscriminator: ForecastHorizon.type.polymorphicDiscriminator, + modelProperties: { + ...ForecastHorizon.type.modelProperties, + value: { + serializedName: "value", + required: true, + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const Classification: coreClient.CompositeMapper = { + serializedName: "Classification", + type: { + name: "Composite", + className: "Classification", + uberParent: "TableVertical", + polymorphicDiscriminator: TableVertical.type.polymorphicDiscriminator, + modelProperties: { + ...TableVertical.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + positiveLabel: { + serializedName: "positiveLabel", + nullable: true, + type: { + name: "String", + }, + }, + primaryMetric: { + serializedName: "primaryMetric", + type: { + name: "String", + }, + }, + trainingSettings: { + serializedName: "trainingSettings", + type: { + name: "Composite", + className: "ClassificationTrainingSettings", + }, + }, + }, + }, +}; + +export const Forecasting: coreClient.CompositeMapper = { + serializedName: "Forecasting", type: { name: "Composite", - className: "AksComputeSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, + className: "Forecasting", + uberParent: "TableVertical", + polymorphicDiscriminator: TableVertical.type.polymorphicDiscriminator, modelProperties: { - ...ComputeSecrets.type.modelProperties, - ...AksComputeSecretsProperties.type.modelProperties - } - } + ...TableVertical.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + forecastingSettings: { + serializedName: "forecastingSettings", + type: { + name: "Composite", + className: "ForecastingSettings", + }, + }, + primaryMetric: { + serializedName: "primaryMetric", + type: { + name: "String", + }, + }, + trainingSettings: { + serializedName: "trainingSettings", + type: { + name: "Composite", + className: "ForecastingTrainingSettings", + }, + }, + }, + }, }; -export const VirtualMachineSecrets: coreClient.CompositeMapper = { - serializedName: "VirtualMachine", +export const ImageClassificationBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, + className: "ImageClassificationBase", modelProperties: { - ...ComputeSecrets.type.modelProperties, - ...VirtualMachineSecretsSchema.type.modelProperties - } - } + ...ImageVertical.type.modelProperties, + modelSettings: { + serializedName: "modelSettings", + type: { + name: "Composite", + className: "ImageModelSettingsClassification", + }, + }, + searchSpace: { + serializedName: "searchSpace", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ImageModelDistributionSettingsClassification", + }, + }, + }, + }, + }, + }, }; -export const DatabricksComputeSecrets: coreClient.CompositeMapper = { - serializedName: "Databricks", +export const ImageClassification: coreClient.CompositeMapper = { + serializedName: "ImageClassification", type: { name: "Composite", - className: "DatabricksComputeSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, + className: "ImageClassification", + uberParent: "ImageClassificationBase", modelProperties: { - ...ComputeSecrets.type.modelProperties, - ...DatabricksComputeSecretsProperties.type.modelProperties - } - } + ...ImageClassificationBase.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", + type: { + name: "String", + }, + }, + }, + }, }; +ImageClassificationBase.type.polymorphicDiscriminator = + ImageClassificationBase.type.polymorphicDiscriminator; -export const PATAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { - serializedName: "PAT", +export const ImageClassificationMultilabel: coreClient.CompositeMapper = { + serializedName: "ImageClassificationMultilabel", type: { name: "Composite", - className: "PATAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", + className: "ImageClassificationMultilabel", + uberParent: "ImageClassificationBase", polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + ImageClassificationBase.type.polymorphicDiscriminator, modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", + ...ImageClassificationBase.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", type: { - name: "Composite", - className: "WorkspaceConnectionPersonalAccessToken" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const SASAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { - serializedName: "SAS", +export const ImageObjectDetectionBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SASAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + className: "ImageObjectDetectionBase", modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", + ...ImageVertical.type.modelProperties, + modelSettings: { + serializedName: "modelSettings", type: { name: "Composite", - className: "WorkspaceConnectionSharedAccessSignature" - } - } - } - } + className: "ImageModelSettingsObjectDetection", + }, + }, + searchSpace: { + serializedName: "searchSpace", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ImageModelDistributionSettingsObjectDetection", + }, + }, + }, + }, + }, + }, }; -export const UsernamePasswordAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { - serializedName: "UsernamePassword", +export const ImageInstanceSegmentation: coreClient.CompositeMapper = { + serializedName: "ImageInstanceSegmentation", type: { name: "Composite", - className: "UsernamePasswordAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", + className: "ImageInstanceSegmentation", + uberParent: "ImageObjectDetectionBase", polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + ImageObjectDetectionBase.type.polymorphicDiscriminator, modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", + ...ImageObjectDetectionBase.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", type: { - name: "Composite", - className: "WorkspaceConnectionUsernamePassword" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const NoneAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { - serializedName: "None", +export const ImageObjectDetection: coreClient.CompositeMapper = { + serializedName: "ImageObjectDetection", type: { name: "Composite", - className: "NoneAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + className: "ImageObjectDetection", + uberParent: "ImageObjectDetectionBase", modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties - } - } + ...ImageObjectDetectionBase.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", + type: { + name: "String", + }, + }, + }, + }, }; +ImageObjectDetectionBase.type.polymorphicDiscriminator = + ImageObjectDetectionBase.type.polymorphicDiscriminator; -export const ManagedIdentityAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { - serializedName: "ManagedIdentity", +export const Regression: coreClient.CompositeMapper = { + serializedName: "Regression", type: { name: "Composite", - className: "ManagedIdentityAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + className: "Regression", + uberParent: "TableVertical", + polymorphicDiscriminator: TableVertical.type.polymorphicDiscriminator, modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", + ...TableVertical.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", + type: { + name: "String", + }, + }, + trainingSettings: { + serializedName: "trainingSettings", type: { name: "Composite", - className: "WorkspaceConnectionManagedIdentity" - } - } - } - } + className: "RegressionTrainingSettings", + }, + }, + }, + }, }; -export const BatchEndpointProperties: coreClient.CompositeMapper = { +export const TextClassification: coreClient.CompositeMapper = { + serializedName: "TextClassification", type: { name: "Composite", - className: "BatchEndpointProperties", + className: "TextClassification", + uberParent: "NlpVertical", + polymorphicDiscriminator: NlpVertical.type.polymorphicDiscriminator, modelProperties: { - ...EndpointPropertiesBase.type.modelProperties, - defaults: { - serializedName: "defaults", + ...NlpVertical.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", type: { - name: "Composite", - className: "BatchEndpointDefaults" - } + name: "String", + }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, - type: { - name: "String" - } - } - } - } + }, + }, }; -export const OnlineEndpointProperties: coreClient.CompositeMapper = { +export const TextClassificationMultilabel: coreClient.CompositeMapper = { + serializedName: "TextClassificationMultilabel", type: { name: "Composite", - className: "OnlineEndpointProperties", + className: "TextClassificationMultilabel", + uberParent: "NlpVertical", + polymorphicDiscriminator: NlpVertical.type.polymorphicDiscriminator, modelProperties: { - ...EndpointPropertiesBase.type.modelProperties, - compute: { - serializedName: "compute", - nullable: true, - type: { - name: "String" - } - }, - provisioningState: { - serializedName: "provisioningState", + ...NlpVertical.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - publicNetworkAccess: { - serializedName: "publicNetworkAccess", + }, + }, +}; + +export const TextNer: coreClient.CompositeMapper = { + serializedName: "TextNER", + type: { + name: "Composite", + className: "TextNer", + uberParent: "NlpVertical", + polymorphicDiscriminator: NlpVertical.type.polymorphicDiscriminator, + modelProperties: { + ...NlpVertical.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", + readOnly: true, type: { - name: "String" - } + name: "String", + }, }, - traffic: { - serializedName: "traffic", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "Number" } } - } - } - } - } + }, + }, }; -export const PartialMinimalTrackedResourceWithIdentity: coreClient.CompositeMapper = { +export const LiteralJobInput: coreClient.CompositeMapper = { + serializedName: "literal", type: { name: "Composite", - className: "PartialMinimalTrackedResourceWithIdentity", + className: "LiteralJobInput", + uberParent: "JobInput", + polymorphicDiscriminator: JobInput.type.polymorphicDiscriminator, modelProperties: { - ...PartialMinimalTrackedResource.type.modelProperties, - identity: { - serializedName: "identity", + ...JobInput.type.modelProperties, + value: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "value", + required: true, type: { - name: "Composite", - className: "PartialManagedServiceIdentity" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const PartialMinimalTrackedResourceWithSku: coreClient.CompositeMapper = { +export const AutoNCrossValidations: coreClient.CompositeMapper = { + serializedName: "Auto", type: { name: "Composite", - className: "PartialMinimalTrackedResourceWithSku", + className: "AutoNCrossValidations", + uberParent: "NCrossValidations", + polymorphicDiscriminator: NCrossValidations.type.polymorphicDiscriminator, modelProperties: { - ...PartialMinimalTrackedResource.type.modelProperties, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "PartialSku" - } - } - } - } + ...NCrossValidations.type.modelProperties, + }, + }, }; -export const DataPathAssetReference: coreClient.CompositeMapper = { - serializedName: "DataPath", +export const CustomNCrossValidations: coreClient.CompositeMapper = { + serializedName: "Custom", type: { name: "Composite", - className: "DataPathAssetReference", - uberParent: "AssetReferenceBase", - polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + className: "CustomNCrossValidations", + uberParent: "NCrossValidations", + polymorphicDiscriminator: NCrossValidations.type.polymorphicDiscriminator, modelProperties: { - ...AssetReferenceBase.type.modelProperties, - datastoreId: { - serializedName: "datastoreId", - nullable: true, + ...NCrossValidations.type.modelProperties, + value: { + serializedName: "value", + required: true, type: { - name: "String" - } + name: "Number", + }, }, - path: { - serializedName: "path", - nullable: true, - type: { - name: "String" - } - } - } - } + }, + }, }; -export const IdAssetReference: coreClient.CompositeMapper = { - serializedName: "Id", +export const AutoSeasonality: coreClient.CompositeMapper = { + serializedName: "Auto", type: { name: "Composite", - className: "IdAssetReference", - uberParent: "AssetReferenceBase", - polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + className: "AutoSeasonality", + uberParent: "Seasonality", + polymorphicDiscriminator: Seasonality.type.polymorphicDiscriminator, modelProperties: { - ...AssetReferenceBase.type.modelProperties, - assetId: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") - }, - serializedName: "assetId", - required: true, - type: { - name: "String" - } - } - } - } + ...Seasonality.type.modelProperties, + }, + }, }; -export const OutputPathAssetReference: coreClient.CompositeMapper = { - serializedName: "OutputPath", +export const CustomSeasonality: coreClient.CompositeMapper = { + serializedName: "Custom", type: { name: "Composite", - className: "OutputPathAssetReference", - uberParent: "AssetReferenceBase", - polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + className: "CustomSeasonality", + uberParent: "Seasonality", + polymorphicDiscriminator: Seasonality.type.polymorphicDiscriminator, modelProperties: { - ...AssetReferenceBase.type.modelProperties, - jobId: { - serializedName: "jobId", - nullable: true, + ...Seasonality.type.modelProperties, + value: { + serializedName: "value", + required: true, type: { - name: "String" - } + name: "Number", + }, }, - path: { - serializedName: "path", - nullable: true, - type: { - name: "String" - } - } - } - } + }, + }, }; -export const DeploymentResourceConfiguration: coreClient.CompositeMapper = { +export const AutoTargetLags: coreClient.CompositeMapper = { + serializedName: "Auto", type: { name: "Composite", - className: "DeploymentResourceConfiguration", + className: "AutoTargetLags", + uberParent: "TargetLags", + polymorphicDiscriminator: TargetLags.type.polymorphicDiscriminator, modelProperties: { - ...ResourceConfiguration.type.modelProperties - } - } + ...TargetLags.type.modelProperties, + }, + }, }; -export const JobResourceConfiguration: coreClient.CompositeMapper = { +export const CustomTargetLags: coreClient.CompositeMapper = { + serializedName: "Custom", type: { name: "Composite", - className: "JobResourceConfiguration", + className: "CustomTargetLags", + uberParent: "TargetLags", + polymorphicDiscriminator: TargetLags.type.polymorphicDiscriminator, modelProperties: { - ...ResourceConfiguration.type.modelProperties, - dockerArgs: { - serializedName: "dockerArgs", - nullable: true, + ...TargetLags.type.modelProperties, + values: { + serializedName: "values", + required: true, type: { - name: "String" - } - }, - shmSize: { - defaultValue: "2g", - constraints: { - Pattern: new RegExp("\\d+[bBkKmMgG]") + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, }, - serializedName: "shmSize", - type: { - name: "String" - } - } - } - } + }, + }, + }, }; -export const BatchDeploymentProperties: coreClient.CompositeMapper = { +export const AutoTargetRollingWindowSize: coreClient.CompositeMapper = { + serializedName: "Auto", type: { name: "Composite", - className: "BatchDeploymentProperties", + className: "AutoTargetRollingWindowSize", + uberParent: "TargetRollingWindowSize", + polymorphicDiscriminator: + TargetRollingWindowSize.type.polymorphicDiscriminator, modelProperties: { - ...EndpointDeploymentPropertiesBase.type.modelProperties, - compute: { - serializedName: "compute", - nullable: true, - type: { - name: "String" - } - }, - errorThreshold: { - defaultValue: -1, - serializedName: "errorThreshold", - type: { - name: "Number" - } - }, - loggingLevel: { - serializedName: "loggingLevel", - type: { - name: "String" - } - }, - maxConcurrencyPerInstance: { - defaultValue: 1, - serializedName: "maxConcurrencyPerInstance", - type: { - name: "Number" - } - }, - miniBatchSize: { - defaultValue: 10, - serializedName: "miniBatchSize", - type: { - name: "Number" - } - }, - model: { - serializedName: "model", - type: { - name: "Composite", - className: "AssetReferenceBase" - } - }, - outputAction: { - serializedName: "outputAction", - type: { - name: "String" - } - }, - outputFileName: { - defaultValue: "predictions.csv", - serializedName: "outputFileName", - type: { - name: "String" - } - }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, - type: { - name: "String" - } - }, - resources: { - serializedName: "resources", - type: { - name: "Composite", - className: "DeploymentResourceConfiguration" - } - }, - retrySettings: { - serializedName: "retrySettings", - type: { - name: "Composite", - className: "BatchRetrySettings" - } - } - } - } + ...TargetRollingWindowSize.type.modelProperties, + }, + }, }; -export const OnlineDeploymentProperties: coreClient.CompositeMapper = { - serializedName: "OnlineDeploymentProperties", +export const CustomTargetRollingWindowSize: coreClient.CompositeMapper = { + serializedName: "Custom", type: { name: "Composite", - className: "OnlineDeploymentProperties", - uberParent: "EndpointDeploymentPropertiesBase", - polymorphicDiscriminator: { - serializedName: "endpointComputeType", - clientName: "endpointComputeType" - }, + className: "CustomTargetRollingWindowSize", + uberParent: "TargetRollingWindowSize", + polymorphicDiscriminator: + TargetRollingWindowSize.type.polymorphicDiscriminator, modelProperties: { - ...EndpointDeploymentPropertiesBase.type.modelProperties, - appInsightsEnabled: { - defaultValue: false, - serializedName: "appInsightsEnabled", - type: { - name: "Boolean" - } - }, - egressPublicNetworkAccess: { - serializedName: "egressPublicNetworkAccess", - type: { - name: "String" - } - }, - endpointComputeType: { - serializedName: "endpointComputeType", + ...TargetRollingWindowSize.type.modelProperties, + value: { + serializedName: "value", required: true, type: { - name: "String" - } - }, - instanceType: { - serializedName: "instanceType", - nullable: true, - type: { - name: "String" - } - }, - livenessProbe: { - serializedName: "livenessProbe", - type: { - name: "Composite", - className: "ProbeSettings" - } - }, - model: { - serializedName: "model", - nullable: true, - type: { - name: "String" - } - }, - modelMountPath: { - serializedName: "modelMountPath", - nullable: true, - type: { - name: "String" - } - }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, - type: { - name: "String" - } - }, - readinessProbe: { - serializedName: "readinessProbe", - type: { - name: "Composite", - className: "ProbeSettings" - } - }, - requestSettings: { - serializedName: "requestSettings", - type: { - name: "Composite", - className: "OnlineRequestSettings" - } + name: "Number", + }, }, - scaleSettings: { - serializedName: "scaleSettings", - type: { - name: "Composite", - className: "OnlineScaleSettings" - } - } - } - } + }, + }, }; -export const AssetContainer: coreClient.CompositeMapper = { +export const AzureBlobDatastore: coreClient.CompositeMapper = { + serializedName: "AzureBlob", type: { name: "Composite", - className: "AssetContainer", + className: "AzureBlobDatastore", + uberParent: "AzureDatastore", + polymorphicDiscriminator: AzureDatastore.type.polymorphicDiscriminator, modelProperties: { - ...ResourceBase.type.modelProperties, - isArchived: { - defaultValue: false, - serializedName: "isArchived", + ...AzureDatastore.type.modelProperties, + ...DatastoreProperties.type.modelProperties, + accountName: { + serializedName: "accountName", + nullable: true, type: { - name: "Boolean" - } + name: "String", + }, }, - latestVersion: { - serializedName: "latestVersion", - readOnly: true, + containerName: { + serializedName: "containerName", nullable: true, type: { - name: "String" - } + name: "String", + }, }, - nextVersion: { - serializedName: "nextVersion", - readOnly: true, + endpoint: { + serializedName: "endpoint", nullable: true, type: { - name: "String" - } - } - } - } -}; - -export const AssetBase: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AssetBase", - modelProperties: { - ...ResourceBase.type.modelProperties, - isAnonymous: { - defaultValue: false, - serializedName: "isAnonymous", + name: "String", + }, + }, + protocol: { + serializedName: "protocol", + nullable: true, type: { - name: "Boolean" - } + name: "String", + }, }, - isArchived: { - defaultValue: false, - serializedName: "isArchived", + serviceDataAccessAuthIdentity: { + serializedName: "serviceDataAccessAuthIdentity", type: { - name: "Boolean" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const DatastoreProperties: coreClient.CompositeMapper = { - serializedName: "DatastoreProperties", +export const AzureDataLakeGen1Datastore: coreClient.CompositeMapper = { + serializedName: "AzureDataLakeGen1", type: { name: "Composite", - className: "DatastoreProperties", - uberParent: "ResourceBase", - polymorphicDiscriminator: { - serializedName: "datastoreType", - clientName: "datastoreType" - }, + className: "AzureDataLakeGen1Datastore", + uberParent: "AzureDatastore", + polymorphicDiscriminator: AzureDatastore.type.polymorphicDiscriminator, modelProperties: { - ...ResourceBase.type.modelProperties, - credentials: { - serializedName: "credentials", + ...AzureDatastore.type.modelProperties, + ...DatastoreProperties.type.modelProperties, + serviceDataAccessAuthIdentity: { + serializedName: "serviceDataAccessAuthIdentity", type: { - name: "Composite", - className: "DatastoreCredentials" - } + name: "String", + }, }, - datastoreType: { - serializedName: "datastoreType", + storeName: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "storeName", required: true, type: { - name: "String" - } + name: "String", + }, }, - isDefault: { - serializedName: "isDefault", - readOnly: true, - type: { - name: "Boolean" - } - } - } - } + }, + }, }; -export const JobBaseProperties: coreClient.CompositeMapper = { - serializedName: "JobBaseProperties", +export const AzureDataLakeGen2Datastore: coreClient.CompositeMapper = { + serializedName: "AzureDataLakeGen2", type: { name: "Composite", - className: "JobBaseProperties", - uberParent: "ResourceBase", - polymorphicDiscriminator: { - serializedName: "jobType", - clientName: "jobType" - }, + className: "AzureDataLakeGen2Datastore", + uberParent: "AzureDatastore", + polymorphicDiscriminator: AzureDatastore.type.polymorphicDiscriminator, modelProperties: { - ...ResourceBase.type.modelProperties, - componentId: { - serializedName: "componentId", - nullable: true, + ...AzureDatastore.type.modelProperties, + ...DatastoreProperties.type.modelProperties, + accountName: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "accountName", + required: true, type: { - name: "String" - } + name: "String", + }, }, - computeId: { - serializedName: "computeId", + endpoint: { + serializedName: "endpoint", nullable: true, type: { - name: "String" - } + name: "String", + }, }, - displayName: { - serializedName: "displayName", + filesystem: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "filesystem", + required: true, + type: { + name: "String", + }, + }, + protocol: { + serializedName: "protocol", nullable: true, type: { - name: "String" - } + name: "String", + }, }, - experimentName: { - defaultValue: "Default", - serializedName: "experimentName", + serviceDataAccessAuthIdentity: { + serializedName: "serviceDataAccessAuthIdentity", type: { - name: "String" - } + name: "String", + }, }, - identity: { - serializedName: "identity", + }, + }, +}; + +export const AzureFileDatastore: coreClient.CompositeMapper = { + serializedName: "AzureFile", + type: { + name: "Composite", + className: "AzureFileDatastore", + uberParent: "AzureDatastore", + polymorphicDiscriminator: AzureDatastore.type.polymorphicDiscriminator, + modelProperties: { + ...AzureDatastore.type.modelProperties, + ...DatastoreProperties.type.modelProperties, + accountName: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "accountName", + required: true, type: { - name: "Composite", - className: "IdentityConfiguration" - } + name: "String", + }, }, - isArchived: { - defaultValue: false, - serializedName: "isArchived", + endpoint: { + serializedName: "endpoint", + nullable: true, type: { - name: "Boolean" - } + name: "String", + }, }, - jobType: { - serializedName: "jobType", + fileShareName: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "fileShareName", required: true, type: { - name: "String" - } + name: "String", + }, }, - services: { - serializedName: "services", + protocol: { + serializedName: "protocol", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobService" } } - } + name: "String", + }, }, - status: { - serializedName: "status", - readOnly: true, + serviceDataAccessAuthIdentity: { + serializedName: "serviceDataAccessAuthIdentity", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const ScheduleProperties: coreClient.CompositeMapper = { +export const BanditPolicy: coreClient.CompositeMapper = { + serializedName: "Bandit", type: { name: "Composite", - className: "ScheduleProperties", + className: "BanditPolicy", + uberParent: "EarlyTerminationPolicy", + polymorphicDiscriminator: + EarlyTerminationPolicy.type.polymorphicDiscriminator, modelProperties: { - ...ResourceBase.type.modelProperties, - action: { - serializedName: "action", + ...EarlyTerminationPolicy.type.modelProperties, + slackAmount: { + defaultValue: 0, + serializedName: "slackAmount", type: { - name: "Composite", - className: "ScheduleActionBase" - } + name: "Number", + }, }, - displayName: { - serializedName: "displayName", - nullable: true, + slackFactor: { + defaultValue: 0, + serializedName: "slackFactor", type: { - name: "String" - } + name: "Number", + }, }, - isEnabled: { - defaultValue: true, - serializedName: "isEnabled", + }, + }, +}; + +export const MedianStoppingPolicy: coreClient.CompositeMapper = { + serializedName: "MedianStopping", + type: { + name: "Composite", + className: "MedianStoppingPolicy", + uberParent: "EarlyTerminationPolicy", + polymorphicDiscriminator: + EarlyTerminationPolicy.type.polymorphicDiscriminator, + modelProperties: { + ...EarlyTerminationPolicy.type.modelProperties, + }, + }, +}; + +export const TruncationSelectionPolicy: coreClient.CompositeMapper = { + serializedName: "TruncationSelection", + type: { + name: "Composite", + className: "TruncationSelectionPolicy", + uberParent: "EarlyTerminationPolicy", + polymorphicDiscriminator: + EarlyTerminationPolicy.type.polymorphicDiscriminator, + modelProperties: { + ...EarlyTerminationPolicy.type.modelProperties, + truncationPercentage: { + defaultValue: 0, + serializedName: "truncationPercentage", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const BayesianSamplingAlgorithm: coreClient.CompositeMapper = { + serializedName: "Bayesian", + type: { + name: "Composite", + className: "BayesianSamplingAlgorithm", + uberParent: "SamplingAlgorithm", + polymorphicDiscriminator: SamplingAlgorithm.type.polymorphicDiscriminator, + modelProperties: { + ...SamplingAlgorithm.type.modelProperties, + }, + }, +}; + +export const GridSamplingAlgorithm: coreClient.CompositeMapper = { + serializedName: "Grid", + type: { + name: "Composite", + className: "GridSamplingAlgorithm", + uberParent: "SamplingAlgorithm", + polymorphicDiscriminator: SamplingAlgorithm.type.polymorphicDiscriminator, + modelProperties: { + ...SamplingAlgorithm.type.modelProperties, + }, + }, +}; + +export const RandomSamplingAlgorithm: coreClient.CompositeMapper = { + serializedName: "Random", + type: { + name: "Composite", + className: "RandomSamplingAlgorithm", + uberParent: "SamplingAlgorithm", + polymorphicDiscriminator: SamplingAlgorithm.type.polymorphicDiscriminator, + modelProperties: { + ...SamplingAlgorithm.type.modelProperties, + rule: { + serializedName: "rule", type: { - name: "Boolean" - } + name: "String", + }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + seed: { + serializedName: "seed", + nullable: true, type: { - name: "String" - } + name: "Number", + }, }, - trigger: { - serializedName: "trigger", - type: { - name: "Composite", - className: "TriggerBase" - } - } - } - } + }, + }, }; -export const AccountKeyDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "AccountKey", +export const CategoricalDataDriftMetricThreshold: coreClient.CompositeMapper = { + serializedName: "Categorical", type: { name: "Composite", - className: "AccountKeyDatastoreCredentials", - uberParent: "DatastoreCredentials", + className: "CategoricalDataDriftMetricThreshold", + uberParent: "DataDriftMetricThresholdBase", polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + DataDriftMetricThresholdBase.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreCredentials.type.modelProperties, - secrets: { - serializedName: "secrets", + ...DataDriftMetricThresholdBase.type.modelProperties, + metric: { + serializedName: "metric", + required: true, type: { - name: "Composite", - className: "AccountKeyDatastoreSecrets" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const CertificateDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "Certificate", +export const NumericalDataDriftMetricThreshold: coreClient.CompositeMapper = { + serializedName: "Numerical", type: { name: "Composite", - className: "CertificateDatastoreCredentials", - uberParent: "DatastoreCredentials", + className: "NumericalDataDriftMetricThreshold", + uberParent: "DataDriftMetricThresholdBase", polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + DataDriftMetricThresholdBase.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreCredentials.type.modelProperties, - authorityUrl: { - serializedName: "authorityUrl", - nullable: true, + ...DataDriftMetricThresholdBase.type.modelProperties, + metric: { + serializedName: "metric", + required: true, type: { - name: "String" - } + name: "String", + }, }, - clientId: { - serializedName: "clientId", + }, + }, +}; + +export const CategoricalDataQualityMetricThreshold: coreClient.CompositeMapper = + { + serializedName: "Categorical", + type: { + name: "Composite", + className: "CategoricalDataQualityMetricThreshold", + uberParent: "DataQualityMetricThresholdBase", + polymorphicDiscriminator: + DataQualityMetricThresholdBase.type.polymorphicDiscriminator, + modelProperties: { + ...DataQualityMetricThresholdBase.type.modelProperties, + metric: { + serializedName: "metric", + required: true, + type: { + name: "String", + }, + }, + }, + }, + }; + +export const NumericalDataQualityMetricThreshold: coreClient.CompositeMapper = { + serializedName: "Numerical", + type: { + name: "Composite", + className: "NumericalDataQualityMetricThreshold", + uberParent: "DataQualityMetricThresholdBase", + polymorphicDiscriminator: + DataQualityMetricThresholdBase.type.polymorphicDiscriminator, + modelProperties: { + ...DataQualityMetricThresholdBase.type.modelProperties, + metric: { + serializedName: "metric", required: true, type: { - name: "Uuid" - } + name: "String", + }, }, - resourceUrl: { - serializedName: "resourceUrl", - nullable: true, - type: { - name: "String" - } + }, + }, +}; + +export const CategoricalPredictionDriftMetricThreshold: coreClient.CompositeMapper = + { + serializedName: "Categorical", + type: { + name: "Composite", + className: "CategoricalPredictionDriftMetricThreshold", + uberParent: "PredictionDriftMetricThresholdBase", + polymorphicDiscriminator: + PredictionDriftMetricThresholdBase.type.polymorphicDiscriminator, + modelProperties: { + ...PredictionDriftMetricThresholdBase.type.modelProperties, + metric: { + serializedName: "metric", + required: true, + type: { + name: "String", + }, + }, }, - secrets: { - serializedName: "secrets", - type: { - name: "Composite", - className: "CertificateDatastoreSecrets" - } + }, + }; + +export const NumericalPredictionDriftMetricThreshold: coreClient.CompositeMapper = + { + serializedName: "Numerical", + type: { + name: "Composite", + className: "NumericalPredictionDriftMetricThreshold", + uberParent: "PredictionDriftMetricThresholdBase", + polymorphicDiscriminator: + PredictionDriftMetricThresholdBase.type.polymorphicDiscriminator, + modelProperties: { + ...PredictionDriftMetricThresholdBase.type.modelProperties, + metric: { + serializedName: "metric", + required: true, + type: { + name: "String", + }, + }, }, - tenantId: { - serializedName: "tenantId", - required: true, + }, + }; + +export const ClassificationTrainingSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ClassificationTrainingSettings", + modelProperties: { + ...TrainingSettings.type.modelProperties, + allowedTrainingAlgorithms: { + serializedName: "allowedTrainingAlgorithms", + nullable: true, type: { - name: "Uuid" - } - }, - thumbprint: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, - serializedName: "thumbprint", - required: true, + }, + blockedTrainingAlgorithms: { + serializedName: "blockedTrainingAlgorithms", + nullable: true, type: { - name: "String" - } - } - } - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, }; -export const NoneDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "None", +export const ForecastingTrainingSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NoneDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + className: "ForecastingTrainingSettings", modelProperties: { - ...DatastoreCredentials.type.modelProperties - } - } + ...TrainingSettings.type.modelProperties, + allowedTrainingAlgorithms: { + serializedName: "allowedTrainingAlgorithms", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + blockedTrainingAlgorithms: { + serializedName: "blockedTrainingAlgorithms", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, }; -export const SasDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "Sas", +export const RegressionTrainingSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SasDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + className: "RegressionTrainingSettings", modelProperties: { - ...DatastoreCredentials.type.modelProperties, - secrets: { - serializedName: "secrets", + ...TrainingSettings.type.modelProperties, + allowedTrainingAlgorithms: { + serializedName: "allowedTrainingAlgorithms", + nullable: true, type: { - name: "Composite", - className: "SasDatastoreSecrets" - } - } - } - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + blockedTrainingAlgorithms: { + serializedName: "blockedTrainingAlgorithms", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, }; -export const ServicePrincipalDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "ServicePrincipal", +export const TableVerticalFeaturizationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServicePrincipalDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + className: "TableVerticalFeaturizationSettings", modelProperties: { - ...DatastoreCredentials.type.modelProperties, - authorityUrl: { - serializedName: "authorityUrl", + ...FeaturizationSettings.type.modelProperties, + blockedTransformers: { + serializedName: "blockedTransformers", nullable: true, type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - clientId: { - serializedName: "clientId", - required: true, + columnNameAndTypes: { + serializedName: "columnNameAndTypes", + nullable: true, type: { - name: "Uuid" - } + name: "Dictionary", + value: { type: { name: "String" } }, + }, }, - resourceUrl: { - serializedName: "resourceUrl", - nullable: true, + enableDnnFeaturization: { + defaultValue: false, + serializedName: "enableDnnFeaturization", type: { - name: "String" - } + name: "Boolean", + }, }, - secrets: { - serializedName: "secrets", + mode: { + serializedName: "mode", type: { - name: "Composite", - className: "ServicePrincipalDatastoreSecrets" - } + name: "String", + }, }, - tenantId: { - serializedName: "tenantId", - required: true, + transformerParams: { + serializedName: "transformerParams", + nullable: true, type: { - name: "Uuid" - } - } - } - } + name: "Dictionary", + value: { + type: { + name: "Sequence", + element: { + type: { name: "Composite", className: "ColumnTransformer" }, + }, + }, + }, + }, + }, + }, + }, }; -export const AccountKeyDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "AccountKey", +export const NlpVerticalFeaturizationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AccountKeyDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + className: "NlpVerticalFeaturizationSettings", modelProperties: { - ...DatastoreSecrets.type.modelProperties, - key: { - serializedName: "key", - nullable: true, - type: { - name: "String" - } - } - } - } + ...FeaturizationSettings.type.modelProperties, + }, + }, }; -export const CertificateDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "Certificate", +export const Mpi: coreClient.CompositeMapper = { + serializedName: "Mpi", type: { name: "Composite", - className: "CertificateDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + className: "Mpi", + uberParent: "DistributionConfiguration", + polymorphicDiscriminator: + DistributionConfiguration.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreSecrets.type.modelProperties, - certificate: { - serializedName: "certificate", + ...DistributionConfiguration.type.modelProperties, + processCountPerInstance: { + serializedName: "processCountPerInstance", nullable: true, type: { - name: "String" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; -export const SasDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "Sas", +export const PyTorch: coreClient.CompositeMapper = { + serializedName: "PyTorch", type: { name: "Composite", - className: "SasDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, - modelProperties: { - ...DatastoreSecrets.type.modelProperties, - sasToken: { - serializedName: "sasToken", + className: "PyTorch", + uberParent: "DistributionConfiguration", + polymorphicDiscriminator: + DistributionConfiguration.type.polymorphicDiscriminator, + modelProperties: { + ...DistributionConfiguration.type.modelProperties, + processCountPerInstance: { + serializedName: "processCountPerInstance", nullable: true, type: { - name: "String" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; -export const ServicePrincipalDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "ServicePrincipal", +export const TensorFlow: coreClient.CompositeMapper = { + serializedName: "TensorFlow", type: { name: "Composite", - className: "ServicePrincipalDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + className: "TensorFlow", + uberParent: "DistributionConfiguration", + polymorphicDiscriminator: + DistributionConfiguration.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreSecrets.type.modelProperties, - clientSecret: { - serializedName: "clientSecret", + ...DistributionConfiguration.type.modelProperties, + parameterServerCount: { + defaultValue: 0, + serializedName: "parameterServerCount", + type: { + name: "Number", + }, + }, + workerCount: { + serializedName: "workerCount", nullable: true, type: { - name: "String" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; -export const AmlToken: coreClient.CompositeMapper = { - serializedName: "AMLToken", +export const CommandJobLimits: coreClient.CompositeMapper = { + serializedName: "Command", type: { name: "Composite", - className: "AmlToken", - uberParent: "IdentityConfiguration", - polymorphicDiscriminator: - IdentityConfiguration.type.polymorphicDiscriminator, + className: "CommandJobLimits", + uberParent: "JobLimits", + polymorphicDiscriminator: JobLimits.type.polymorphicDiscriminator, modelProperties: { - ...IdentityConfiguration.type.modelProperties - } - } + ...JobLimits.type.modelProperties, + }, + }, }; -export const ManagedIdentity: coreClient.CompositeMapper = { - serializedName: "Managed", +export const SweepJobLimits: coreClient.CompositeMapper = { + serializedName: "Sweep", type: { name: "Composite", - className: "ManagedIdentity", - uberParent: "IdentityConfiguration", - polymorphicDiscriminator: - IdentityConfiguration.type.polymorphicDiscriminator, + className: "SweepJobLimits", + uberParent: "JobLimits", + polymorphicDiscriminator: JobLimits.type.polymorphicDiscriminator, modelProperties: { - ...IdentityConfiguration.type.modelProperties, - clientId: { - serializedName: "clientId", + ...JobLimits.type.modelProperties, + maxConcurrentTrials: { + serializedName: "maxConcurrentTrials", nullable: true, type: { - name: "Uuid" - } + name: "Number", + }, }, - objectId: { - serializedName: "objectId", + maxTotalTrials: { + serializedName: "maxTotalTrials", nullable: true, type: { - name: "Uuid" - } + name: "Number", + }, }, - resourceId: { - serializedName: "resourceId", + trialTimeout: { + serializedName: "trialTimeout", nullable: true, type: { - name: "String" - } - } - } - } + name: "TimeSpan", + }, + }, + }, + }, }; -export const UserIdentity: coreClient.CompositeMapper = { - serializedName: "UserIdentity", +export const MonitorServerlessSparkCompute: coreClient.CompositeMapper = { + serializedName: "ServerlessSpark", type: { name: "Composite", - className: "UserIdentity", - uberParent: "IdentityConfiguration", + className: "MonitorServerlessSparkCompute", + uberParent: "MonitorComputeConfigurationBase", polymorphicDiscriminator: - IdentityConfiguration.type.polymorphicDiscriminator, - modelProperties: { - ...IdentityConfiguration.type.modelProperties - } - } -}; - -export const DefaultScaleSettings: coreClient.CompositeMapper = { - serializedName: "Default", - type: { - name: "Composite", - className: "DefaultScaleSettings", - uberParent: "OnlineScaleSettings", - polymorphicDiscriminator: OnlineScaleSettings.type.polymorphicDiscriminator, + MonitorComputeConfigurationBase.type.polymorphicDiscriminator, modelProperties: { - ...OnlineScaleSettings.type.modelProperties - } - } + ...MonitorComputeConfigurationBase.type.modelProperties, + computeIdentity: { + serializedName: "computeIdentity", + type: { + name: "Composite", + className: "MonitorComputeIdentityBase", + }, + }, + instanceType: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "instanceType", + required: true, + type: { + name: "String", + }, + }, + runtimeVersion: { + constraints: { + Pattern: new RegExp("^[0-9]+\\.[0-9]+$"), + MinLength: 1, + }, + serializedName: "runtimeVersion", + required: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const TargetUtilizationScaleSettings: coreClient.CompositeMapper = { - serializedName: "TargetUtilization", +export const CustomMonitoringSignal: coreClient.CompositeMapper = { + serializedName: "Custom", type: { name: "Composite", - className: "TargetUtilizationScaleSettings", - uberParent: "OnlineScaleSettings", - polymorphicDiscriminator: OnlineScaleSettings.type.polymorphicDiscriminator, + className: "CustomMonitoringSignal", + uberParent: "MonitoringSignalBase", + polymorphicDiscriminator: + MonitoringSignalBase.type.polymorphicDiscriminator, modelProperties: { - ...OnlineScaleSettings.type.modelProperties, - maxInstances: { - defaultValue: 1, - serializedName: "maxInstances", + ...MonitoringSignalBase.type.modelProperties, + componentId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "componentId", + required: true, type: { - name: "Number" - } + name: "String", + }, }, - minInstances: { - defaultValue: 1, - serializedName: "minInstances", + inputAssets: { + serializedName: "inputAssets", + nullable: true, type: { - name: "Number" - } + name: "Dictionary", + value: { + type: { name: "Composite", className: "MonitoringInputDataBase" }, + }, + }, }, - pollingInterval: { - defaultValue: "PT1S", - serializedName: "pollingInterval", + inputs: { + serializedName: "inputs", + nullable: true, type: { - name: "TimeSpan" - } + name: "Dictionary", + value: { type: { name: "Composite", className: "JobInput" } }, + }, }, - targetUtilizationPercentage: { - defaultValue: 70, - serializedName: "targetUtilizationPercentage", + metricThresholds: { + serializedName: "metricThresholds", + required: true, type: { - name: "Number" - } - } - } - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CustomMetricThreshold", + }, + }, + }, + }, + }, + }, }; -export const EndpointScheduleAction: coreClient.CompositeMapper = { - serializedName: "InvokeBatchEndpoint", +export const DataDriftMonitoringSignal: coreClient.CompositeMapper = { + serializedName: "DataDrift", type: { name: "Composite", - className: "EndpointScheduleAction", - uberParent: "ScheduleActionBase", - polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + className: "DataDriftMonitoringSignal", + uberParent: "MonitoringSignalBase", + polymorphicDiscriminator: + MonitoringSignalBase.type.polymorphicDiscriminator, modelProperties: { - ...ScheduleActionBase.type.modelProperties, - endpointInvocationDefinition: { - serializedName: "endpointInvocationDefinition", - required: true, + ...MonitoringSignalBase.type.modelProperties, + featureDataTypeOverride: { + serializedName: "featureDataTypeOverride", + nullable: true, type: { name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } + value: { type: { name: "String" } }, + }, + }, + featureImportanceSettings: { + serializedName: "featureImportanceSettings", + type: { + name: "Composite", + className: "FeatureImportanceSettings", + }, + }, + features: { + serializedName: "features", + type: { + name: "Composite", + className: "MonitoringFeatureFilterBase", + }, + }, + metricThresholds: { + serializedName: "metricThresholds", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataDriftMetricThresholdBase", + }, + }, + }, + }, + productionData: { + serializedName: "productionData", + type: { + name: "Composite", + className: "MonitoringInputDataBase", + }, + }, + referenceData: { + serializedName: "referenceData", + type: { + name: "Composite", + className: "MonitoringInputDataBase", + }, + }, + }, + }, }; -export const JobScheduleAction: coreClient.CompositeMapper = { - serializedName: "CreateJob", +export const DataQualityMonitoringSignal: coreClient.CompositeMapper = { + serializedName: "DataQuality", type: { name: "Composite", - className: "JobScheduleAction", - uberParent: "ScheduleActionBase", - polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + className: "DataQualityMonitoringSignal", + uberParent: "MonitoringSignalBase", + polymorphicDiscriminator: + MonitoringSignalBase.type.polymorphicDiscriminator, modelProperties: { - ...ScheduleActionBase.type.modelProperties, - jobDefinition: { - serializedName: "jobDefinition", + ...MonitoringSignalBase.type.modelProperties, + featureDataTypeOverride: { + serializedName: "featureDataTypeOverride", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + featureImportanceSettings: { + serializedName: "featureImportanceSettings", type: { name: "Composite", - className: "JobBaseProperties" - } - } - } - } -}; + className: "FeatureImportanceSettings", + }, + }, + features: { + serializedName: "features", + type: { + name: "Composite", + className: "MonitoringFeatureFilterBase", + }, + }, + metricThresholds: { + serializedName: "metricThresholds", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataQualityMetricThresholdBase", + }, + }, + }, + }, + productionData: { + serializedName: "productionData", + type: { + name: "Composite", + className: "MonitoringInputDataBase", + }, + }, + referenceData: { + serializedName: "referenceData", + type: { + name: "Composite", + className: "MonitoringInputDataBase", + }, + }, + }, + }, +}; + +export const FeatureAttributionDriftMonitoringSignal: coreClient.CompositeMapper = + { + serializedName: "FeatureAttributionDrift", + type: { + name: "Composite", + className: "FeatureAttributionDriftMonitoringSignal", + uberParent: "MonitoringSignalBase", + polymorphicDiscriminator: + MonitoringSignalBase.type.polymorphicDiscriminator, + modelProperties: { + ...MonitoringSignalBase.type.modelProperties, + featureDataTypeOverride: { + serializedName: "featureDataTypeOverride", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + featureImportanceSettings: { + serializedName: "featureImportanceSettings", + type: { + name: "Composite", + className: "FeatureImportanceSettings", + }, + }, + metricThreshold: { + serializedName: "metricThreshold", + type: { + name: "Composite", + className: "FeatureAttributionMetricThreshold", + }, + }, + productionData: { + serializedName: "productionData", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MonitoringInputDataBase", + }, + }, + }, + }, + referenceData: { + serializedName: "referenceData", + type: { + name: "Composite", + className: "MonitoringInputDataBase", + }, + }, + }, + }, + }; -export const RecurrenceTrigger: coreClient.CompositeMapper = { - serializedName: "Recurrence", +export const PredictionDriftMonitoringSignal: coreClient.CompositeMapper = { + serializedName: "PredictionDrift", type: { name: "Composite", - className: "RecurrenceTrigger", - uberParent: "TriggerBase", - polymorphicDiscriminator: TriggerBase.type.polymorphicDiscriminator, + className: "PredictionDriftMonitoringSignal", + uberParent: "MonitoringSignalBase", + polymorphicDiscriminator: + MonitoringSignalBase.type.polymorphicDiscriminator, modelProperties: { - ...TriggerBase.type.modelProperties, - frequency: { - serializedName: "frequency", + ...MonitoringSignalBase.type.modelProperties, + featureDataTypeOverride: { + serializedName: "featureDataTypeOverride", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + metricThresholds: { + serializedName: "metricThresholds", required: true, type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PredictionDriftMetricThresholdBase", + }, + }, + }, }, - interval: { - serializedName: "interval", - required: true, + productionData: { + serializedName: "productionData", type: { - name: "Number" - } + name: "Composite", + className: "MonitoringInputDataBase", + }, }, - schedule: { - serializedName: "schedule", + referenceData: { + serializedName: "referenceData", type: { name: "Composite", - className: "RecurrenceSchedule" - } - } - } - } -}; - -export const CronTrigger: coreClient.CompositeMapper = { - serializedName: "Cron", - type: { - name: "Composite", - className: "CronTrigger", - uberParent: "TriggerBase", - polymorphicDiscriminator: TriggerBase.type.polymorphicDiscriminator, - modelProperties: { - ...TriggerBase.type.modelProperties, - expression: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") + className: "MonitoringInputDataBase", }, - serializedName: "expression", - required: true, - type: { - name: "String" - } - } - } - } -}; - -export const MLTableJobInput: coreClient.CompositeMapper = { - serializedName: "mltable", - type: { - name: "Composite", - className: "MLTableJobInput", - uberParent: "AssetJobInput", - polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, - modelProperties: { - ...AssetJobInput.type.modelProperties, - ...JobInput.type.modelProperties - } - } -}; - -export const CustomModelJobInput: coreClient.CompositeMapper = { - serializedName: "custom_model", - type: { - name: "Composite", - className: "CustomModelJobInput", - uberParent: "AssetJobInput", - polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, - modelProperties: { - ...AssetJobInput.type.modelProperties, - ...JobInput.type.modelProperties - } - } + }, + }, + }, }; -export const MLFlowModelJobInput: coreClient.CompositeMapper = { - serializedName: "mlflow_model", +export const FixedInputData: coreClient.CompositeMapper = { + serializedName: "Fixed", type: { name: "Composite", - className: "MLFlowModelJobInput", - uberParent: "AssetJobInput", - polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, + className: "FixedInputData", + uberParent: "MonitoringInputDataBase", + polymorphicDiscriminator: + MonitoringInputDataBase.type.polymorphicDiscriminator, modelProperties: { - ...AssetJobInput.type.modelProperties, - ...JobInput.type.modelProperties - } - } + ...MonitoringInputDataBase.type.modelProperties, + }, + }, }; -export const TritonModelJobInput: coreClient.CompositeMapper = { - serializedName: "triton_model", +export const RollingInputData: coreClient.CompositeMapper = { + serializedName: "Rolling", type: { name: "Composite", - className: "TritonModelJobInput", - uberParent: "AssetJobInput", - polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, + className: "RollingInputData", + uberParent: "MonitoringInputDataBase", + polymorphicDiscriminator: + MonitoringInputDataBase.type.polymorphicDiscriminator, modelProperties: { - ...AssetJobInput.type.modelProperties, - ...JobInput.type.modelProperties - } - } + ...MonitoringInputDataBase.type.modelProperties, + preprocessingComponentId: { + serializedName: "preprocessingComponentId", + nullable: true, + type: { + name: "String", + }, + }, + windowOffset: { + serializedName: "windowOffset", + required: true, + type: { + name: "TimeSpan", + }, + }, + windowSize: { + serializedName: "windowSize", + required: true, + type: { + name: "TimeSpan", + }, + }, + }, + }, }; -export const UriFileJobInput: coreClient.CompositeMapper = { - serializedName: "uri_file", +export const StaticInputData: coreClient.CompositeMapper = { + serializedName: "Static", type: { name: "Composite", - className: "UriFileJobInput", - uberParent: "AssetJobInput", - polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, + className: "StaticInputData", + uberParent: "MonitoringInputDataBase", + polymorphicDiscriminator: + MonitoringInputDataBase.type.polymorphicDiscriminator, modelProperties: { - ...AssetJobInput.type.modelProperties, - ...JobInput.type.modelProperties - } - } + ...MonitoringInputDataBase.type.modelProperties, + preprocessingComponentId: { + serializedName: "preprocessingComponentId", + nullable: true, + type: { + name: "String", + }, + }, + windowEnd: { + serializedName: "windowEnd", + required: true, + type: { + name: "DateTime", + }, + }, + windowStart: { + serializedName: "windowStart", + required: true, + type: { + name: "DateTime", + }, + }, + }, + }, }; -export const UriFolderJobInput: coreClient.CompositeMapper = { - serializedName: "uri_folder", +export const ImageModelSettingsClassification: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UriFolderJobInput", - uberParent: "AssetJobInput", - polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, + className: "ImageModelSettingsClassification", modelProperties: { - ...AssetJobInput.type.modelProperties, - ...JobInput.type.modelProperties - } - } + ...ImageModelSettings.type.modelProperties, + trainingCropSize: { + serializedName: "trainingCropSize", + nullable: true, + type: { + name: "Number", + }, + }, + validationCropSize: { + serializedName: "validationCropSize", + nullable: true, + type: { + name: "Number", + }, + }, + validationResizeSize: { + serializedName: "validationResizeSize", + nullable: true, + type: { + name: "Number", + }, + }, + weightedLoss: { + serializedName: "weightedLoss", + nullable: true, + type: { + name: "Number", + }, + }, + }, + }, }; -export const CustomModelJobOutput: coreClient.CompositeMapper = { - serializedName: "custom_model", +export const ImageModelSettingsObjectDetection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomModelJobOutput", - uberParent: "AssetJobOutput", - polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, + className: "ImageModelSettingsObjectDetection", modelProperties: { - ...AssetJobOutput.type.modelProperties, - ...JobOutput.type.modelProperties - } - } -}; + ...ImageModelSettings.type.modelProperties, + boxDetectionsPerImage: { + serializedName: "boxDetectionsPerImage", + nullable: true, + type: { + name: "Number", + }, + }, + boxScoreThreshold: { + serializedName: "boxScoreThreshold", + nullable: true, + type: { + name: "Number", + }, + }, + imageSize: { + serializedName: "imageSize", + nullable: true, + type: { + name: "Number", + }, + }, + maxSize: { + serializedName: "maxSize", + nullable: true, + type: { + name: "Number", + }, + }, + minSize: { + serializedName: "minSize", + nullable: true, + type: { + name: "Number", + }, + }, + modelSize: { + serializedName: "modelSize", + type: { + name: "String", + }, + }, + multiScale: { + serializedName: "multiScale", + nullable: true, + type: { + name: "Boolean", + }, + }, + nmsIouThreshold: { + serializedName: "nmsIouThreshold", + nullable: true, + type: { + name: "Number", + }, + }, + tileGridSize: { + serializedName: "tileGridSize", + nullable: true, + type: { + name: "String", + }, + }, + tileOverlapRatio: { + serializedName: "tileOverlapRatio", + nullable: true, + type: { + name: "Number", + }, + }, + tilePredictionsNmsThreshold: { + serializedName: "tilePredictionsNmsThreshold", + nullable: true, + type: { + name: "Number", + }, + }, + validationIouThreshold: { + serializedName: "validationIouThreshold", + nullable: true, + type: { + name: "Number", + }, + }, + validationMetricType: { + serializedName: "validationMetricType", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ImageModelDistributionSettingsClassification: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ImageModelDistributionSettingsClassification", + modelProperties: { + ...ImageModelDistributionSettings.type.modelProperties, + trainingCropSize: { + serializedName: "trainingCropSize", + nullable: true, + type: { + name: "String", + }, + }, + validationCropSize: { + serializedName: "validationCropSize", + nullable: true, + type: { + name: "String", + }, + }, + validationResizeSize: { + serializedName: "validationResizeSize", + nullable: true, + type: { + name: "String", + }, + }, + weightedLoss: { + serializedName: "weightedLoss", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, + }; + +export const ImageModelDistributionSettingsObjectDetection: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ImageModelDistributionSettingsObjectDetection", + modelProperties: { + ...ImageModelDistributionSettings.type.modelProperties, + boxDetectionsPerImage: { + serializedName: "boxDetectionsPerImage", + nullable: true, + type: { + name: "String", + }, + }, + boxScoreThreshold: { + serializedName: "boxScoreThreshold", + nullable: true, + type: { + name: "String", + }, + }, + imageSize: { + serializedName: "imageSize", + nullable: true, + type: { + name: "String", + }, + }, + maxSize: { + serializedName: "maxSize", + nullable: true, + type: { + name: "String", + }, + }, + minSize: { + serializedName: "minSize", + nullable: true, + type: { + name: "String", + }, + }, + modelSize: { + serializedName: "modelSize", + nullable: true, + type: { + name: "String", + }, + }, + multiScale: { + serializedName: "multiScale", + nullable: true, + type: { + name: "String", + }, + }, + nmsIouThreshold: { + serializedName: "nmsIouThreshold", + nullable: true, + type: { + name: "String", + }, + }, + tileGridSize: { + serializedName: "tileGridSize", + nullable: true, + type: { + name: "String", + }, + }, + tileOverlapRatio: { + serializedName: "tileOverlapRatio", + nullable: true, + type: { + name: "String", + }, + }, + tilePredictionsNmsThreshold: { + serializedName: "tilePredictionsNmsThreshold", + nullable: true, + type: { + name: "String", + }, + }, + validationIouThreshold: { + serializedName: "validationIouThreshold", + nullable: true, + type: { + name: "String", + }, + }, + validationMetricType: { + serializedName: "validationMetricType", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, + }; -export const MLFlowModelJobOutput: coreClient.CompositeMapper = { - serializedName: "mlflow_model", +export const LakeHouseArtifact: coreClient.CompositeMapper = { + serializedName: "LakeHouse", type: { name: "Composite", - className: "MLFlowModelJobOutput", - uberParent: "AssetJobOutput", - polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, + className: "LakeHouseArtifact", + uberParent: "OneLakeArtifact", + polymorphicDiscriminator: OneLakeArtifact.type.polymorphicDiscriminator, modelProperties: { - ...AssetJobOutput.type.modelProperties, - ...JobOutput.type.modelProperties - } - } + ...OneLakeArtifact.type.modelProperties, + }, + }, }; -export const MLTableJobOutput: coreClient.CompositeMapper = { - serializedName: "mltable", +export const SparkJobPythonEntry: coreClient.CompositeMapper = { + serializedName: "SparkJobPythonEntry", type: { name: "Composite", - className: "MLTableJobOutput", - uberParent: "AssetJobOutput", - polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, + className: "SparkJobPythonEntry", + uberParent: "SparkJobEntry", + polymorphicDiscriminator: SparkJobEntry.type.polymorphicDiscriminator, modelProperties: { - ...AssetJobOutput.type.modelProperties, - ...JobOutput.type.modelProperties - } - } + ...SparkJobEntry.type.modelProperties, + file: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9/._-]+$"), + MinLength: 1, + }, + serializedName: "file", + required: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const TritonModelJobOutput: coreClient.CompositeMapper = { - serializedName: "triton_model", +export const SparkJobScalaEntry: coreClient.CompositeMapper = { + serializedName: "SparkJobScalaEntry", type: { name: "Composite", - className: "TritonModelJobOutput", - uberParent: "AssetJobOutput", - polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, + className: "SparkJobScalaEntry", + uberParent: "SparkJobEntry", + polymorphicDiscriminator: SparkJobEntry.type.polymorphicDiscriminator, modelProperties: { - ...AssetJobOutput.type.modelProperties, - ...JobOutput.type.modelProperties - } - } + ...SparkJobEntry.type.modelProperties, + className: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "className", + required: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const UriFileJobOutput: coreClient.CompositeMapper = { - serializedName: "uri_file", +export const CodeContainer: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UriFileJobOutput", - uberParent: "AssetJobOutput", - polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, + className: "CodeContainer", modelProperties: { - ...AssetJobOutput.type.modelProperties, - ...JobOutput.type.modelProperties - } - } + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "CodeContainerProperties", + }, + }, + }, + }, }; -export const UriFolderJobOutput: coreClient.CompositeMapper = { - serializedName: "uri_folder", +export const CodeVersion: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UriFolderJobOutput", - uberParent: "AssetJobOutput", - polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, + className: "CodeVersion", modelProperties: { - ...AssetJobOutput.type.modelProperties, - ...JobOutput.type.modelProperties - } - } + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "CodeVersionProperties", + }, + }, + }, + }, }; -export const AutoForecastHorizon: coreClient.CompositeMapper = { - serializedName: "Auto", +export const ComponentContainer: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutoForecastHorizon", - uberParent: "ForecastHorizon", - polymorphicDiscriminator: ForecastHorizon.type.polymorphicDiscriminator, + className: "ComponentContainer", modelProperties: { - ...ForecastHorizon.type.modelProperties - } - } + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ComponentContainerProperties", + }, + }, + }, + }, }; -export const CustomForecastHorizon: coreClient.CompositeMapper = { - serializedName: "Custom", +export const ComponentVersion: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomForecastHorizon", - uberParent: "ForecastHorizon", - polymorphicDiscriminator: ForecastHorizon.type.polymorphicDiscriminator, + className: "ComponentVersion", modelProperties: { - ...ForecastHorizon.type.modelProperties, - value: { - serializedName: "value", - required: true, + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "Number" - } - } - } - } + name: "Composite", + className: "ComponentVersionProperties", + }, + }, + }, + }, }; -export const Classification: coreClient.CompositeMapper = { - serializedName: "Classification", +export const DataContainer: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Classification", - uberParent: "TableVertical", - polymorphicDiscriminator: TableVertical.type.polymorphicDiscriminator, + className: "DataContainer", modelProperties: { - ...TableVertical.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - positiveLabel: { - serializedName: "positiveLabel", - nullable: true, - type: { - name: "String" - } - }, - primaryMetric: { - serializedName: "primaryMetric", - type: { - name: "String" - } - }, - trainingSettings: { - serializedName: "trainingSettings", + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ClassificationTrainingSettings" - } - } - } - } + className: "DataContainerProperties", + }, + }, + }, + }, }; -export const Forecasting: coreClient.CompositeMapper = { - serializedName: "Forecasting", +export const DataVersionBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Forecasting", - uberParent: "TableVertical", - polymorphicDiscriminator: TableVertical.type.polymorphicDiscriminator, + className: "DataVersionBase", modelProperties: { - ...TableVertical.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - forecastingSettings: { - serializedName: "forecastingSettings", + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ForecastingSettings" - } - }, - primaryMetric: { - serializedName: "primaryMetric", - type: { - name: "String" - } + className: "DataVersionBaseProperties", + }, }, - trainingSettings: { - serializedName: "trainingSettings", + }, + }, +}; + +export const EnvironmentContainer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EnvironmentContainer", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ForecastingTrainingSettings" - } - } - } - } + className: "EnvironmentContainerProperties", + }, + }, + }, + }, }; -export const ImageClassificationBase: coreClient.CompositeMapper = { +export const EnvironmentVersion: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageClassificationBase", + className: "EnvironmentVersion", modelProperties: { - ...ImageVertical.type.modelProperties, - modelSettings: { - serializedName: "modelSettings", + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ImageModelSettingsClassification" - } + className: "EnvironmentVersionProperties", + }, }, - searchSpace: { - serializedName: "searchSpace", - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ImageModelDistributionSettingsClassification" - } - } - } - } - } - } + }, + }, }; -export const ImageClassification: coreClient.CompositeMapper = { - serializedName: "ImageClassification", +export const ModelContainer: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageClassification", - uberParent: "ImageClassificationBase", + className: "ModelContainer", modelProperties: { - ...ImageClassificationBase.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - primaryMetric: { - serializedName: "primaryMetric", + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" - } - } - } - } + name: "Composite", + className: "ModelContainerProperties", + }, + }, + }, + }, }; -ImageClassificationBase.type.polymorphicDiscriminator = - ImageClassificationBase.type.polymorphicDiscriminator; -export const ImageClassificationMultilabel: coreClient.CompositeMapper = { - serializedName: "ImageClassificationMultilabel", +export const ModelVersion: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageClassificationMultilabel", - uberParent: "ImageClassificationBase", - polymorphicDiscriminator: - ImageClassificationBase.type.polymorphicDiscriminator, + className: "ModelVersion", modelProperties: { - ...ImageClassificationBase.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - primaryMetric: { - serializedName: "primaryMetric", + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" - } - } - } - } + name: "Composite", + className: "ModelVersionProperties", + }, + }, + }, + }, }; -export const ImageObjectDetectionBase: coreClient.CompositeMapper = { +export const Datastore: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageObjectDetectionBase", + className: "Datastore", modelProperties: { - ...ImageVertical.type.modelProperties, - modelSettings: { - serializedName: "modelSettings", + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ImageModelSettingsObjectDetection" - } + className: "DatastoreProperties", + }, }, - searchSpace: { - serializedName: "searchSpace", - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ImageModelDistributionSettingsObjectDetection" - } - } - } - } - } - } + }, + }, }; -export const ImageInstanceSegmentation: coreClient.CompositeMapper = { - serializedName: "ImageInstanceSegmentation", +export const FeaturesetContainer: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageInstanceSegmentation", - uberParent: "ImageObjectDetectionBase", - polymorphicDiscriminator: - ImageObjectDetectionBase.type.polymorphicDiscriminator, + className: "FeaturesetContainer", modelProperties: { - ...ImageObjectDetectionBase.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - primaryMetric: { - serializedName: "primaryMetric", + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" - } - } - } - } + name: "Composite", + className: "FeaturesetContainerProperties", + }, + }, + }, + }, }; -export const ImageObjectDetection: coreClient.CompositeMapper = { - serializedName: "ImageObjectDetection", +export const Feature: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageObjectDetection", - uberParent: "ImageObjectDetectionBase", + className: "Feature", modelProperties: { - ...ImageObjectDetectionBase.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - primaryMetric: { - serializedName: "primaryMetric", + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" - } - } - } - } + name: "Composite", + className: "FeatureProperties", + }, + }, + }, + }, }; -ImageObjectDetectionBase.type.polymorphicDiscriminator = - ImageObjectDetectionBase.type.polymorphicDiscriminator; -export const Regression: coreClient.CompositeMapper = { - serializedName: "Regression", +export const FeaturesetVersion: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Regression", - uberParent: "TableVertical", - polymorphicDiscriminator: TableVertical.type.polymorphicDiscriminator, + className: "FeaturesetVersion", modelProperties: { - ...TableVertical.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - primaryMetric: { - serializedName: "primaryMetric", + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" - } + name: "Composite", + className: "FeaturesetVersionProperties", + }, }, - trainingSettings: { - serializedName: "trainingSettings", + }, + }, +}; + +export const FeaturestoreEntityContainer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturestoreEntityContainer", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", type: { name: "Composite", - className: "RegressionTrainingSettings" - } - } - } - } + className: "FeaturestoreEntityContainerProperties", + }, + }, + }, + }, }; -export const TextClassification: coreClient.CompositeMapper = { - serializedName: "TextClassification", +export const FeaturestoreEntityVersion: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TextClassification", - uberParent: "NlpVertical", - polymorphicDiscriminator: NlpVertical.type.polymorphicDiscriminator, + className: "FeaturestoreEntityVersion", modelProperties: { - ...NlpVertical.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - primaryMetric: { - serializedName: "primaryMetric", + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" - } - } - } - } + name: "Composite", + className: "FeaturestoreEntityVersionProperties", + }, + }, + }, + }, }; -export const TextClassificationMultilabel: coreClient.CompositeMapper = { - serializedName: "TextClassificationMultilabel", +export const JobBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TextClassificationMultilabel", - uberParent: "NlpVertical", - polymorphicDiscriminator: NlpVertical.type.polymorphicDiscriminator, + className: "JobBase", modelProperties: { - ...NlpVertical.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - primaryMetric: { - serializedName: "primaryMetric", - readOnly: true, + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" - } - } - } - } + name: "Composite", + className: "JobBaseProperties", + }, + }, + }, + }, }; -export const TextNer: coreClient.CompositeMapper = { - serializedName: "TextNER", +export const Schedule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TextNer", - uberParent: "NlpVertical", - polymorphicDiscriminator: NlpVertical.type.polymorphicDiscriminator, + className: "Schedule", modelProperties: { - ...NlpVertical.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - primaryMetric: { - serializedName: "primaryMetric", - readOnly: true, + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" - } - } - } - } + name: "Composite", + className: "ScheduleProperties", + }, + }, + }, + }, }; -export const LiteralJobInput: coreClient.CompositeMapper = { - serializedName: "literal", +export const BatchEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "LiteralJobInput", - uberParent: "JobInput", - polymorphicDiscriminator: JobInput.type.polymorphicDiscriminator, + className: "BatchEndpoint", modelProperties: { - ...JobInput.type.modelProperties, - value: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity", }, - serializedName: "value", - required: true, + }, + kind: { + serializedName: "kind", + type: { + name: "String", + }, + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "BatchEndpointProperties", + }, + }, + sku: { + serializedName: "sku", type: { - name: "String" - } - } - } - } + name: "Composite", + className: "Sku", + }, + }, + }, + }, }; -export const AutoNCrossValidations: coreClient.CompositeMapper = { - serializedName: "Auto", +export const BatchDeployment: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutoNCrossValidations", - uberParent: "NCrossValidations", - polymorphicDiscriminator: NCrossValidations.type.polymorphicDiscriminator, + className: "BatchDeployment", modelProperties: { - ...NCrossValidations.type.modelProperties - } - } + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity", + }, + }, + kind: { + serializedName: "kind", + type: { + name: "String", + }, + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "BatchDeploymentProperties", + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", + }, + }, + }, + }, }; -export const CustomNCrossValidations: coreClient.CompositeMapper = { - serializedName: "Custom", +export const OnlineEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomNCrossValidations", - uberParent: "NCrossValidations", - polymorphicDiscriminator: NCrossValidations.type.polymorphicDiscriminator, + className: "OnlineEndpoint", modelProperties: { - ...NCrossValidations.type.modelProperties, - value: { - serializedName: "value", - required: true, + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity", + }, + }, + kind: { + serializedName: "kind", + type: { + name: "String", + }, + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "OnlineEndpointProperties", + }, + }, + sku: { + serializedName: "sku", type: { - name: "Number" - } - } - } - } + name: "Composite", + className: "Sku", + }, + }, + }, + }, }; -export const AutoSeasonality: coreClient.CompositeMapper = { - serializedName: "Auto", +export const OnlineDeployment: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutoSeasonality", - uberParent: "Seasonality", - polymorphicDiscriminator: Seasonality.type.polymorphicDiscriminator, + className: "OnlineDeployment", modelProperties: { - ...Seasonality.type.modelProperties - } - } + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity", + }, + }, + kind: { + serializedName: "kind", + type: { + name: "String", + }, + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "OnlineDeploymentProperties", + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", + }, + }, + }, + }, }; -export const CustomSeasonality: coreClient.CompositeMapper = { - serializedName: "Custom", +export const Registry: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomSeasonality", - uberParent: "Seasonality", - polymorphicDiscriminator: Seasonality.type.polymorphicDiscriminator, + className: "Registry", modelProperties: { - ...Seasonality.type.modelProperties, - value: { - serializedName: "value", - required: true, + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity", + }, + }, + kind: { + serializedName: "kind", + type: { + name: "String", + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", + }, + }, + discoveryUrl: { + serializedName: "properties.discoveryUrl", + nullable: true, + type: { + name: "String", + }, + }, + intellectualPropertyPublisher: { + serializedName: "properties.intellectualPropertyPublisher", + nullable: true, + type: { + name: "String", + }, + }, + managedResourceGroup: { + serializedName: "properties.managedResourceGroup", + type: { + name: "Composite", + className: "ArmResourceId", + }, + }, + mlFlowRegistryUri: { + serializedName: "properties.mlFlowRegistryUri", + nullable: true, + type: { + name: "String", + }, + }, + registryPrivateEndpointConnections: { + serializedName: "properties.registryPrivateEndpointConnections", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RegistryPrivateEndpointConnection", + }, + }, + }, + }, + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", + nullable: true, + type: { + name: "String", + }, + }, + regionDetails: { + serializedName: "properties.regionDetails", + nullable: true, type: { - name: "Number" - } - } - } - } -}; - -export const AutoTargetLags: coreClient.CompositeMapper = { - serializedName: "Auto", - type: { - name: "Composite", - className: "AutoTargetLags", - uberParent: "TargetLags", - polymorphicDiscriminator: TargetLags.type.polymorphicDiscriminator, - modelProperties: { - ...TargetLags.type.modelProperties - } - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RegistryRegionArmDetails", + }, + }, + }, + }, + }, + }, }; -export const CustomTargetLags: coreClient.CompositeMapper = { - serializedName: "Custom", +export const CodeContainerProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomTargetLags", - uberParent: "TargetLags", - polymorphicDiscriminator: TargetLags.type.polymorphicDiscriminator, + className: "CodeContainerProperties", modelProperties: { - ...TargetLags.type.modelProperties, - values: { - serializedName: "values", - required: true, + ...AssetContainer.type.modelProperties, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Number" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const AutoTargetRollingWindowSize: coreClient.CompositeMapper = { - serializedName: "Auto", +export const ComponentContainerProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutoTargetRollingWindowSize", - uberParent: "TargetRollingWindowSize", - polymorphicDiscriminator: - TargetRollingWindowSize.type.polymorphicDiscriminator, + className: "ComponentContainerProperties", modelProperties: { - ...TargetRollingWindowSize.type.modelProperties - } - } + ...AssetContainer.type.modelProperties, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const CustomTargetRollingWindowSize: coreClient.CompositeMapper = { - serializedName: "Custom", +export const DataContainerProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomTargetRollingWindowSize", - uberParent: "TargetRollingWindowSize", - polymorphicDiscriminator: - TargetRollingWindowSize.type.polymorphicDiscriminator, + className: "DataContainerProperties", modelProperties: { - ...TargetRollingWindowSize.type.modelProperties, - value: { - serializedName: "value", + ...AssetContainer.type.modelProperties, + dataType: { + serializedName: "dataType", required: true, type: { - name: "Number" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const BanditPolicy: coreClient.CompositeMapper = { - serializedName: "Bandit", +export const EnvironmentContainerProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BanditPolicy", - uberParent: "EarlyTerminationPolicy", - polymorphicDiscriminator: - EarlyTerminationPolicy.type.polymorphicDiscriminator, + className: "EnvironmentContainerProperties", modelProperties: { - ...EarlyTerminationPolicy.type.modelProperties, - slackAmount: { - defaultValue: 0, - serializedName: "slackAmount", + ...AssetContainer.type.modelProperties, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Number" - } + name: "String", + }, }, - slackFactor: { - defaultValue: 0, - serializedName: "slackFactor", - type: { - name: "Number" - } - } - } - } + }, + }, }; -export const MedianStoppingPolicy: coreClient.CompositeMapper = { - serializedName: "MedianStopping", +export const ModelContainerProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MedianStoppingPolicy", - uberParent: "EarlyTerminationPolicy", - polymorphicDiscriminator: - EarlyTerminationPolicy.type.polymorphicDiscriminator, + className: "ModelContainerProperties", modelProperties: { - ...EarlyTerminationPolicy.type.modelProperties - } - } + ...AssetContainer.type.modelProperties, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const TruncationSelectionPolicy: coreClient.CompositeMapper = { - serializedName: "TruncationSelection", +export const FeaturesetContainerProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TruncationSelectionPolicy", - uberParent: "EarlyTerminationPolicy", - polymorphicDiscriminator: - EarlyTerminationPolicy.type.polymorphicDiscriminator, + className: "FeaturesetContainerProperties", modelProperties: { - ...EarlyTerminationPolicy.type.modelProperties, - truncationPercentage: { - defaultValue: 0, - serializedName: "truncationPercentage", + ...AssetContainer.type.modelProperties, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Number" - } - } - } - } -}; + name: "String", + }, + }, + }, + }, +}; + +export const FeaturestoreEntityContainerProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "FeaturestoreEntityContainerProperties", + modelProperties: { + ...AssetContainer.type.modelProperties, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, + }; -export const BayesianSamplingAlgorithm: coreClient.CompositeMapper = { - serializedName: "Bayesian", +export const CodeVersionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BayesianSamplingAlgorithm", - uberParent: "SamplingAlgorithm", - polymorphicDiscriminator: SamplingAlgorithm.type.polymorphicDiscriminator, + className: "CodeVersionProperties", modelProperties: { - ...SamplingAlgorithm.type.modelProperties - } - } + ...AssetBase.type.modelProperties, + codeUri: { + serializedName: "codeUri", + nullable: true, + type: { + name: "String", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const GridSamplingAlgorithm: coreClient.CompositeMapper = { - serializedName: "Grid", +export const ComponentVersionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GridSamplingAlgorithm", - uberParent: "SamplingAlgorithm", - polymorphicDiscriminator: SamplingAlgorithm.type.polymorphicDiscriminator, + className: "ComponentVersionProperties", modelProperties: { - ...SamplingAlgorithm.type.modelProperties - } - } + ...AssetBase.type.modelProperties, + componentSpec: { + serializedName: "componentSpec", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const RandomSamplingAlgorithm: coreClient.CompositeMapper = { - serializedName: "Random", +export const DataVersionBaseProperties: coreClient.CompositeMapper = { + serializedName: "DataVersionBaseProperties", type: { name: "Composite", - className: "RandomSamplingAlgorithm", - uberParent: "SamplingAlgorithm", - polymorphicDiscriminator: SamplingAlgorithm.type.polymorphicDiscriminator, + className: "DataVersionBaseProperties", + uberParent: "AssetBase", + polymorphicDiscriminator: { + serializedName: "dataType", + clientName: "dataType", + }, modelProperties: { - ...SamplingAlgorithm.type.modelProperties, - rule: { - serializedName: "rule", + ...AssetBase.type.modelProperties, + dataType: { + serializedName: "dataType", + required: true, type: { - name: "String" - } + name: "String", + }, }, - seed: { - serializedName: "seed", - nullable: true, + dataUri: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "dataUri", + required: true, type: { - name: "Number" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const ClassificationTrainingSettings: coreClient.CompositeMapper = { +export const EnvironmentVersionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ClassificationTrainingSettings", + className: "EnvironmentVersionProperties", modelProperties: { - ...TrainingSettings.type.modelProperties, - allowedTrainingAlgorithms: { - serializedName: "allowedTrainingAlgorithms", - nullable: true, + ...AssetBase.type.modelProperties, + autoRebuild: { + serializedName: "autoRebuild", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "String", + }, + }, + build: { + serializedName: "build", + type: { + name: "Composite", + className: "BuildContext", + }, + }, + condaFile: { + serializedName: "condaFile", + type: { + name: "String", + }, + }, + environmentType: { + serializedName: "environmentType", + readOnly: true, + type: { + name: "String", + }, + }, + image: { + serializedName: "image", + type: { + name: "String", + }, + }, + inferenceConfig: { + serializedName: "inferenceConfig", + type: { + name: "Composite", + className: "InferenceContainerProperties", + }, + }, + osType: { + serializedName: "osType", + type: { + name: "String", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, }, - blockedTrainingAlgorithms: { - serializedName: "blockedTrainingAlgorithms", + stage: { + serializedName: "stage", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const ForecastingTrainingSettings: coreClient.CompositeMapper = { +export const ModelVersionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ForecastingTrainingSettings", + className: "ModelVersionProperties", modelProperties: { - ...TrainingSettings.type.modelProperties, - allowedTrainingAlgorithms: { - serializedName: "allowedTrainingAlgorithms", + ...AssetBase.type.modelProperties, + flavors: { + serializedName: "flavors", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "Dictionary", + value: { type: { name: "Composite", className: "FlavorData" } }, + }, }, - blockedTrainingAlgorithms: { - serializedName: "blockedTrainingAlgorithms", + jobName: { + serializedName: "jobName", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const RegressionTrainingSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RegressionTrainingSettings", - modelProperties: { - ...TrainingSettings.type.modelProperties, - allowedTrainingAlgorithms: { - serializedName: "allowedTrainingAlgorithms", + name: "String", + }, + }, + modelType: { + serializedName: "modelType", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } + name: "String", + }, }, - blockedTrainingAlgorithms: { - serializedName: "blockedTrainingAlgorithms", + modelUri: { + serializedName: "modelUri", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + stage: { + serializedName: "stage", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, }; -export const TableVerticalFeaturizationSettings: coreClient.CompositeMapper = { +export const FeaturesetVersionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TableVerticalFeaturizationSettings", + className: "FeaturesetVersionProperties", modelProperties: { - ...FeaturizationSettings.type.modelProperties, - blockedTransformers: { - serializedName: "blockedTransformers", + ...AssetBase.type.modelProperties, + entities: { + serializedName: "entities", nullable: true, type: { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, - columnNameAndTypes: { - serializedName: "columnNameAndTypes", - nullable: true, + materializationSettings: { + serializedName: "materializationSettings", type: { - name: "Dictionary", - value: { type: { name: "String" } } - } + name: "Composite", + className: "MaterializationSettings", + }, }, - enableDnnFeaturization: { - defaultValue: false, - serializedName: "enableDnnFeaturization", + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Boolean" - } + name: "String", + }, }, - mode: { - serializedName: "mode", + specification: { + serializedName: "specification", type: { - name: "String" - } + name: "Composite", + className: "FeaturesetSpecification", + }, }, - transformerParams: { - serializedName: "transformerParams", - nullable: true, - type: { - name: "Dictionary", - value: { - type: { - name: "Sequence", - element: { - type: { name: "Composite", className: "ColumnTransformer" } - } - } - } - } - } - } - } -}; - -export const NlpVerticalFeaturizationSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "NlpVerticalFeaturizationSettings", - modelProperties: { - ...FeaturizationSettings.type.modelProperties - } - } -}; - -export const Mpi: coreClient.CompositeMapper = { - serializedName: "Mpi", - type: { - name: "Composite", - className: "Mpi", - uberParent: "DistributionConfiguration", - polymorphicDiscriminator: - DistributionConfiguration.type.polymorphicDiscriminator, - modelProperties: { - ...DistributionConfiguration.type.modelProperties, - processCountPerInstance: { - serializedName: "processCountPerInstance", + stage: { + serializedName: "stage", nullable: true, type: { - name: "Number" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const PyTorch: coreClient.CompositeMapper = { - serializedName: "PyTorch", +export const FeaturestoreEntityVersionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PyTorch", - uberParent: "DistributionConfiguration", - polymorphicDiscriminator: - DistributionConfiguration.type.polymorphicDiscriminator, + className: "FeaturestoreEntityVersionProperties", modelProperties: { - ...DistributionConfiguration.type.modelProperties, - processCountPerInstance: { - serializedName: "processCountPerInstance", + ...AssetBase.type.modelProperties, + indexColumns: { + serializedName: "indexColumns", nullable: true, type: { - name: "Number" - } - } - } - } -}; - -export const TensorFlow: coreClient.CompositeMapper = { - serializedName: "TensorFlow", - type: { - name: "Composite", - className: "TensorFlow", - uberParent: "DistributionConfiguration", - polymorphicDiscriminator: - DistributionConfiguration.type.polymorphicDiscriminator, - modelProperties: { - ...DistributionConfiguration.type.modelProperties, - parameterServerCount: { - defaultValue: 0, - serializedName: "parameterServerCount", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IndexColumn", + }, + }, + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Number" - } + name: "String", + }, }, - workerCount: { - serializedName: "workerCount", + stage: { + serializedName: "stage", nullable: true, type: { - name: "Number" - } - } - } - } -}; - -export const CommandJobLimits: coreClient.CompositeMapper = { - serializedName: "Command", - type: { - name: "Composite", - className: "CommandJobLimits", - uberParent: "JobLimits", - polymorphicDiscriminator: JobLimits.type.polymorphicDiscriminator, - modelProperties: { - ...JobLimits.type.modelProperties - } - } + name: "String", + }, + }, + }, + }, }; -export const SweepJobLimits: coreClient.CompositeMapper = { - serializedName: "Sweep", +export const OneLakeDatastore: coreClient.CompositeMapper = { + serializedName: "OneLake", type: { name: "Composite", - className: "SweepJobLimits", - uberParent: "JobLimits", - polymorphicDiscriminator: JobLimits.type.polymorphicDiscriminator, + className: "OneLakeDatastore", + uberParent: "DatastoreProperties", + polymorphicDiscriminator: DatastoreProperties.type.polymorphicDiscriminator, modelProperties: { - ...JobLimits.type.modelProperties, - maxConcurrentTrials: { - serializedName: "maxConcurrentTrials", - nullable: true, + ...DatastoreProperties.type.modelProperties, + artifact: { + serializedName: "artifact", type: { - name: "Number" - } + name: "Composite", + className: "OneLakeArtifact", + }, }, - maxTotalTrials: { - serializedName: "maxTotalTrials", + endpoint: { + serializedName: "endpoint", nullable: true, type: { - name: "Number" - } + name: "String", + }, }, - trialTimeout: { - serializedName: "trialTimeout", - nullable: true, + oneLakeWorkspaceName: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "oneLakeWorkspaceName", + required: true, + type: { + name: "String", + }, + }, + serviceDataAccessAuthIdentity: { + serializedName: "serviceDataAccessAuthIdentity", type: { - name: "TimeSpan" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const ImageModelSettingsClassification: coreClient.CompositeMapper = { +export const AutoMLJob: coreClient.CompositeMapper = { + serializedName: "AutoML", type: { name: "Composite", - className: "ImageModelSettingsClassification", + className: "AutoMLJob", + uberParent: "JobBaseProperties", + polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { - ...ImageModelSettings.type.modelProperties, - trainingCropSize: { - serializedName: "trainingCropSize", + ...JobBaseProperties.type.modelProperties, + environmentId: { + serializedName: "environmentId", nullable: true, type: { - name: "Number" - } + name: "String", + }, }, - validationCropSize: { - serializedName: "validationCropSize", + environmentVariables: { + serializedName: "environmentVariables", nullable: true, type: { - name: "Number" - } + name: "Dictionary", + value: { type: { name: "String" } }, + }, }, - validationResizeSize: { - serializedName: "validationResizeSize", + outputs: { + serializedName: "outputs", nullable: true, type: { - name: "Number" - } + name: "Dictionary", + value: { type: { name: "Composite", className: "JobOutput" } }, + }, }, - weightedLoss: { - serializedName: "weightedLoss", - nullable: true, + queueSettings: { + serializedName: "queueSettings", + type: { + name: "Composite", + className: "QueueSettings", + }, + }, + resources: { + serializedName: "resources", + type: { + name: "Composite", + className: "JobResourceConfiguration", + }, + }, + taskDetails: { + serializedName: "taskDetails", type: { - name: "Number" - } - } - } - } + name: "Composite", + className: "AutoMLVertical", + }, + }, + }, + }, }; -export const ImageModelSettingsObjectDetection: coreClient.CompositeMapper = { +export const CommandJob: coreClient.CompositeMapper = { + serializedName: "Command", type: { name: "Composite", - className: "ImageModelSettingsObjectDetection", + className: "CommandJob", + uberParent: "JobBaseProperties", + polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { - ...ImageModelSettings.type.modelProperties, - boxDetectionsPerImage: { - serializedName: "boxDetectionsPerImage", + ...JobBaseProperties.type.modelProperties, + codeId: { + serializedName: "codeId", nullable: true, type: { - name: "Number" - } + name: "String", + }, }, - boxScoreThreshold: { - serializedName: "boxScoreThreshold", - nullable: true, + command: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "command", + required: true, type: { - name: "Number" - } + name: "String", + }, }, - imageSize: { - serializedName: "imageSize", - nullable: true, + distribution: { + serializedName: "distribution", type: { - name: "Number" - } + name: "Composite", + className: "DistributionConfiguration", + }, }, - maxSize: { - serializedName: "maxSize", - nullable: true, + environmentId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "environmentId", + required: true, type: { - name: "Number" - } + name: "String", + }, }, - minSize: { - serializedName: "minSize", + environmentVariables: { + serializedName: "environmentVariables", nullable: true, type: { - name: "Number" - } - }, - modelSize: { - serializedName: "modelSize", - type: { - name: "String" - } + name: "Dictionary", + value: { type: { name: "String" } }, + }, }, - multiScale: { - serializedName: "multiScale", + inputs: { + serializedName: "inputs", nullable: true, type: { - name: "Boolean" - } + name: "Dictionary", + value: { type: { name: "Composite", className: "JobInput" } }, + }, }, - nmsIouThreshold: { - serializedName: "nmsIouThreshold", - nullable: true, + limits: { + serializedName: "limits", type: { - name: "Number" - } + name: "Composite", + className: "CommandJobLimits", + }, }, - tileGridSize: { - serializedName: "tileGridSize", + outputs: { + serializedName: "outputs", nullable: true, type: { - name: "String" - } + name: "Dictionary", + value: { type: { name: "Composite", className: "JobOutput" } }, + }, }, - tileOverlapRatio: { - serializedName: "tileOverlapRatio", + parameters: { + serializedName: "parameters", + readOnly: true, nullable: true, type: { - name: "Number" - } + name: "Dictionary", + value: { type: { name: "any" } }, + }, }, - tilePredictionsNmsThreshold: { - serializedName: "tilePredictionsNmsThreshold", - nullable: true, + queueSettings: { + serializedName: "queueSettings", type: { - name: "Number" - } + name: "Composite", + className: "QueueSettings", + }, }, - validationIouThreshold: { - serializedName: "validationIouThreshold", - nullable: true, + resources: { + serializedName: "resources", type: { - name: "Number" - } + name: "Composite", + className: "JobResourceConfiguration", + }, }, - validationMetricType: { - serializedName: "validationMetricType", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const ImageModelDistributionSettingsClassification: coreClient.CompositeMapper = { +export const PipelineJob: coreClient.CompositeMapper = { + serializedName: "Pipeline", type: { name: "Composite", - className: "ImageModelDistributionSettingsClassification", + className: "PipelineJob", + uberParent: "JobBaseProperties", + polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { - ...ImageModelDistributionSettings.type.modelProperties, - trainingCropSize: { - serializedName: "trainingCropSize", + ...JobBaseProperties.type.modelProperties, + inputs: { + serializedName: "inputs", nullable: true, type: { - name: "String" - } + name: "Dictionary", + value: { type: { name: "Composite", className: "JobInput" } }, + }, }, - validationCropSize: { - serializedName: "validationCropSize", + jobs: { + serializedName: "jobs", + nullable: true, + type: { + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, + }, + outputs: { + serializedName: "outputs", nullable: true, type: { - name: "String" - } + name: "Dictionary", + value: { type: { name: "Composite", className: "JobOutput" } }, + }, }, - validationResizeSize: { - serializedName: "validationResizeSize", + settings: { + serializedName: "settings", nullable: true, type: { - name: "String" - } + name: "Dictionary", + value: { type: { name: "any" } }, + }, }, - weightedLoss: { - serializedName: "weightedLoss", + sourceJobId: { + serializedName: "sourceJobId", nullable: true, type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const ImageModelDistributionSettingsObjectDetection: coreClient.CompositeMapper = { +export const SparkJob: coreClient.CompositeMapper = { + serializedName: "Spark", type: { name: "Composite", - className: "ImageModelDistributionSettingsObjectDetection", + className: "SparkJob", + uberParent: "JobBaseProperties", + polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { - ...ImageModelDistributionSettings.type.modelProperties, - boxDetectionsPerImage: { - serializedName: "boxDetectionsPerImage", - nullable: true, - type: { - name: "String" - } - }, - boxScoreThreshold: { - serializedName: "boxScoreThreshold", + ...JobBaseProperties.type.modelProperties, + archives: { + serializedName: "archives", nullable: true, type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - imageSize: { - serializedName: "imageSize", + args: { + serializedName: "args", nullable: true, type: { - name: "String" - } + name: "String", + }, }, - maxSize: { - serializedName: "maxSize", - nullable: true, + codeId: { + serializedName: "codeId", + required: true, type: { - name: "String" - } + name: "String", + }, }, - minSize: { - serializedName: "minSize", + conf: { + serializedName: "conf", nullable: true, type: { - name: "String" - } + name: "Dictionary", + value: { type: { name: "String" } }, + }, }, - modelSize: { - serializedName: "modelSize", - nullable: true, + entry: { + serializedName: "entry", type: { - name: "String" - } + name: "Composite", + className: "SparkJobEntry", + }, }, - multiScale: { - serializedName: "multiScale", + environmentId: { + serializedName: "environmentId", nullable: true, type: { - name: "String" - } + name: "String", + }, }, - nmsIouThreshold: { - serializedName: "nmsIouThreshold", + environmentVariables: { + serializedName: "environmentVariables", nullable: true, type: { - name: "String" - } + name: "Dictionary", + value: { type: { name: "String" } }, + }, }, - tileGridSize: { - serializedName: "tileGridSize", + files: { + serializedName: "files", nullable: true, type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - tileOverlapRatio: { - serializedName: "tileOverlapRatio", + inputs: { + serializedName: "inputs", nullable: true, type: { - name: "String" - } + name: "Dictionary", + value: { type: { name: "Composite", className: "JobInput" } }, + }, }, - tilePredictionsNmsThreshold: { - serializedName: "tilePredictionsNmsThreshold", + jars: { + serializedName: "jars", nullable: true, type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - validationIouThreshold: { - serializedName: "validationIouThreshold", + outputs: { + serializedName: "outputs", nullable: true, type: { - name: "String" - } + name: "Dictionary", + value: { type: { name: "Composite", className: "JobOutput" } }, + }, }, - validationMetricType: { - serializedName: "validationMetricType", + pyFiles: { + serializedName: "pyFiles", nullable: true, type: { - name: "String" - } - } - } - } -}; - -export const BatchEndpoint: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "BatchEndpoint", - modelProperties: { - ...TrackedResource.type.modelProperties, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "ManagedServiceIdentity" - } - }, - kind: { - serializedName: "kind", - type: { - name: "String" - } - }, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "BatchEndpointProperties" - } - }, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "Sku" - } - } - } - } -}; - -export const BatchDeployment: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "BatchDeployment", - modelProperties: { - ...TrackedResource.type.modelProperties, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "ManagedServiceIdentity" - } - }, - kind: { - serializedName: "kind", - type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, - properties: { - serializedName: "properties", + queueSettings: { + serializedName: "queueSettings", type: { name: "Composite", - className: "BatchDeploymentProperties" - } + className: "QueueSettings", + }, }, - sku: { - serializedName: "sku", + resources: { + serializedName: "resources", type: { name: "Composite", - className: "Sku" - } - } - } - } + className: "SparkResourceConfiguration", + }, + }, + }, + }, }; -export const OnlineEndpoint: coreClient.CompositeMapper = { +export const SweepJob: coreClient.CompositeMapper = { + serializedName: "Sweep", type: { name: "Composite", - className: "OnlineEndpoint", + className: "SweepJob", + uberParent: "JobBaseProperties", + polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { - ...TrackedResource.type.modelProperties, - identity: { - serializedName: "identity", + ...JobBaseProperties.type.modelProperties, + earlyTermination: { + serializedName: "earlyTermination", type: { name: "Composite", - className: "ManagedServiceIdentity" - } + className: "EarlyTerminationPolicy", + }, }, - kind: { - serializedName: "kind", + inputs: { + serializedName: "inputs", + nullable: true, type: { - name: "String" - } + name: "Dictionary", + value: { type: { name: "Composite", className: "JobInput" } }, + }, }, - properties: { - serializedName: "properties", + limits: { + serializedName: "limits", type: { name: "Composite", - className: "OnlineEndpointProperties" - } + className: "SweepJobLimits", + }, }, - sku: { - serializedName: "sku", + objective: { + serializedName: "objective", type: { name: "Composite", - className: "Sku" - } - } - } - } -}; - -export const OnlineDeployment: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OnlineDeployment", - modelProperties: { - ...TrackedResource.type.modelProperties, - identity: { - serializedName: "identity", + className: "Objective", + }, + }, + outputs: { + serializedName: "outputs", + nullable: true, type: { - name: "Composite", - className: "ManagedServiceIdentity" - } + name: "Dictionary", + value: { type: { name: "Composite", className: "JobOutput" } }, + }, }, - kind: { - serializedName: "kind", + queueSettings: { + serializedName: "queueSettings", type: { - name: "String" - } + name: "Composite", + className: "QueueSettings", + }, }, - properties: { - serializedName: "properties", + samplingAlgorithm: { + serializedName: "samplingAlgorithm", type: { name: "Composite", - className: "OnlineDeploymentProperties" - } + className: "SamplingAlgorithm", + }, }, - sku: { - serializedName: "sku", + searchSpace: { + serializedName: "searchSpace", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + trial: { + serializedName: "trial", type: { name: "Composite", - className: "Sku" - } - } - } - } + className: "TrialComponent", + }, + }, + }, + }, }; export const KubernetesOnlineDeployment: coreClient.CompositeMapper = { @@ -10552,11 +15338,11 @@ export const KubernetesOnlineDeployment: coreClient.CompositeMapper = { serializedName: "containerResourceRequirements", type: { name: "Composite", - className: "ContainerResourceRequirements" - } - } - } - } + className: "ContainerResourceRequirements", + }, + }, + }, + }, }; export const ManagedOnlineDeployment: coreClient.CompositeMapper = { @@ -10568,963 +15354,1334 @@ export const ManagedOnlineDeployment: coreClient.CompositeMapper = { polymorphicDiscriminator: OnlineDeploymentProperties.type.polymorphicDiscriminator, modelProperties: { - ...OnlineDeploymentProperties.type.modelProperties - } - } -}; - -export const CodeContainerProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CodeContainerProperties", - modelProperties: { - ...AssetContainer.type.modelProperties - } - } -}; - -export const ComponentContainerProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComponentContainerProperties", - modelProperties: { - ...AssetContainer.type.modelProperties - } - } + ...OnlineDeploymentProperties.type.modelProperties, + }, + }, }; -export const DataContainerProperties: coreClient.CompositeMapper = { +export const MLTableData: coreClient.CompositeMapper = { + serializedName: "mltable", type: { name: "Composite", - className: "DataContainerProperties", + className: "MLTableData", + uberParent: "DataVersionBaseProperties", + polymorphicDiscriminator: + DataVersionBaseProperties.type.polymorphicDiscriminator, modelProperties: { - ...AssetContainer.type.modelProperties, - dataType: { - serializedName: "dataType", - required: true, + ...DataVersionBaseProperties.type.modelProperties, + referencedUris: { + serializedName: "referencedUris", + nullable: true, type: { - name: "String" - } - } - } - } + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, }; -export const EnvironmentContainerProperties: coreClient.CompositeMapper = { +export const UriFileDataVersion: coreClient.CompositeMapper = { + serializedName: "uri_file", type: { name: "Composite", - className: "EnvironmentContainerProperties", + className: "UriFileDataVersion", + uberParent: "DataVersionBaseProperties", + polymorphicDiscriminator: + DataVersionBaseProperties.type.polymorphicDiscriminator, modelProperties: { - ...AssetContainer.type.modelProperties - } - } + ...DataVersionBaseProperties.type.modelProperties, + }, + }, }; -export const ModelContainerProperties: coreClient.CompositeMapper = { +export const UriFolderDataVersion: coreClient.CompositeMapper = { + serializedName: "uri_folder", type: { name: "Composite", - className: "ModelContainerProperties", + className: "UriFolderDataVersion", + uberParent: "DataVersionBaseProperties", + polymorphicDiscriminator: + DataVersionBaseProperties.type.polymorphicDiscriminator, modelProperties: { - ...AssetContainer.type.modelProperties - } - } + ...DataVersionBaseProperties.type.modelProperties, + }, + }, }; -export const CodeVersionProperties: coreClient.CompositeMapper = { +export const WorkspacesCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodeVersionProperties", + className: "WorkspacesCreateOrUpdateHeaders", modelProperties: { - ...AssetBase.type.modelProperties, - codeUri: { - serializedName: "codeUri", - nullable: true, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "String" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; -export const ComponentVersionProperties: coreClient.CompositeMapper = { +export const WorkspacesUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComponentVersionProperties", + className: "WorkspacesUpdateHeaders", modelProperties: { - ...AssetBase.type.modelProperties, - componentSpec: { - serializedName: "componentSpec", - nullable: true, + location: { + serializedName: "location", type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, }; -export const DataVersionBaseProperties: coreClient.CompositeMapper = { - serializedName: "DataVersionBaseProperties", +export const WorkspacesDiagnoseHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataVersionBaseProperties", - uberParent: "AssetBase", - polymorphicDiscriminator: { - serializedName: "dataType", - clientName: "dataType" - }, + className: "WorkspacesDiagnoseHeaders", modelProperties: { - ...AssetBase.type.modelProperties, - dataType: { - serializedName: "dataType", - required: true, + location: { + serializedName: "location", type: { - name: "String" - } + name: "String", + }, }, - dataUri: { + retryAfter: { constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") + InclusiveMaximum: 600, + InclusiveMinimum: 10, }, - serializedName: "dataUri", - required: true, + serializedName: "retry-after", type: { - name: "String" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; -export const EnvironmentVersionProperties: coreClient.CompositeMapper = { +export const WorkspacesResyncKeysHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnvironmentVersionProperties", + className: "WorkspacesResyncKeysHeaders", modelProperties: { - ...AssetBase.type.modelProperties, - autoRebuild: { - serializedName: "autoRebuild", - type: { - name: "String" - } - }, - build: { - serializedName: "build", - type: { - name: "Composite", - className: "BuildContext" - } - }, - condaFile: { - serializedName: "condaFile", - type: { - name: "String" - } - }, - environmentType: { - serializedName: "environmentType", - readOnly: true, - type: { - name: "String" - } - }, - image: { - serializedName: "image", + location: { + serializedName: "location", type: { - name: "String" - } + name: "String", + }, }, - inferenceConfig: { - serializedName: "inferenceConfig", + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "Composite", - className: "InferenceContainerProperties" - } + name: "Number", + }, }, - osType: { - serializedName: "osType", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const ModelVersionProperties: coreClient.CompositeMapper = { +export const WorkspacesPrepareNotebookHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelVersionProperties", + className: "WorkspacesPrepareNotebookHeaders", modelProperties: { - ...AssetBase.type.modelProperties, - flavors: { - serializedName: "flavors", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "FlavorData" } } - } - }, - jobName: { - serializedName: "jobName", - nullable: true, - type: { - name: "String" - } - }, - modelType: { - serializedName: "modelType", - nullable: true, + location: { + serializedName: "location", type: { - name: "String" - } + name: "String", + }, }, - modelUri: { - serializedName: "modelUri", - nullable: true, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "String" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; -export const AzureBlobDatastore: coreClient.CompositeMapper = { - serializedName: "AzureBlob", +export const ComputeCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AzureBlobDatastore", - uberParent: "DatastoreProperties", - polymorphicDiscriminator: DatastoreProperties.type.polymorphicDiscriminator, + className: "ComputeCreateOrUpdateHeaders", modelProperties: { - ...DatastoreProperties.type.modelProperties, - accountName: { - serializedName: "accountName", - nullable: true, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { - name: "String" - } + name: "String", + }, }, - containerName: { - serializedName: "containerName", - nullable: true, + }, + }, +}; + +export const ComputeDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeDeleteHeaders", + modelProperties: { + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { - name: "String" - } + name: "String", + }, }, - endpoint: { - serializedName: "endpoint", - nullable: true, + location: { + serializedName: "location", type: { - name: "String" - } + name: "String", + }, }, - protocol: { - serializedName: "protocol", - nullable: true, - type: { - name: "String" - } + }, + }, +}; + +export const ManagedNetworkSettingsRuleDeleteHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ManagedNetworkSettingsRuleDeleteHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, }, - serviceDataAccessAuthIdentity: { - serializedName: "serviceDataAccessAuthIdentity", - type: { - name: "String" - } - } - } - } -}; + }, + }; + +export const ManagedNetworkSettingsRuleCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ManagedNetworkSettingsRuleCreateOrUpdateHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const ManagedNetworkProvisionsProvisionManagedNetworkHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ManagedNetworkProvisionsProvisionManagedNetworkHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; -export const AzureDataLakeGen1Datastore: coreClient.CompositeMapper = { - serializedName: "AzureDataLakeGen1", +export const RegistryCodeContainersDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AzureDataLakeGen1Datastore", - uberParent: "DatastoreProperties", - polymorphicDiscriminator: DatastoreProperties.type.polymorphicDiscriminator, + className: "RegistryCodeContainersDeleteHeaders", modelProperties: { - ...DatastoreProperties.type.modelProperties, - serviceDataAccessAuthIdentity: { - serializedName: "serviceDataAccessAuthIdentity", + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String" - } + name: "TimeSpan", + }, }, - storeName: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") + InclusiveMaximum: 600, + InclusiveMinimum: 10, }, - serializedName: "storeName", - required: true, + serializedName: "retry-after", type: { - name: "String" - } - } - } - } -}; + name: "Number", + }, + }, + }, + }, +}; + +export const RegistryCodeContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RegistryCodeContainersCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; -export const AzureDataLakeGen2Datastore: coreClient.CompositeMapper = { - serializedName: "AzureDataLakeGen2", +export const RegistryCodeVersionsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AzureDataLakeGen2Datastore", - uberParent: "DatastoreProperties", - polymorphicDiscriminator: DatastoreProperties.type.polymorphicDiscriminator, + className: "RegistryCodeVersionsDeleteHeaders", modelProperties: { - ...DatastoreProperties.type.modelProperties, - accountName: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") - }, - serializedName: "accountName", - required: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String" - } + name: "TimeSpan", + }, }, - endpoint: { - serializedName: "endpoint", - nullable: true, + location: { + serializedName: "location", type: { - name: "String" - } + name: "String", + }, }, - filesystem: { + retryAfter: { constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") + InclusiveMaximum: 600, + InclusiveMinimum: 10, }, - serializedName: "filesystem", - required: true, + serializedName: "retry-after", type: { - name: "String" - } + name: "Number", + }, }, - protocol: { - serializedName: "protocol", - nullable: true, - type: { - name: "String" - } + }, + }, +}; + +export const RegistryCodeVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RegistryCodeVersionsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, }, - serviceDataAccessAuthIdentity: { - serializedName: "serviceDataAccessAuthIdentity", - type: { - name: "String" - } - } - } - } -}; + }, + }; + +export const RegistryComponentContainersDeleteHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RegistryComponentContainersDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const RegistryComponentContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RegistryComponentContainersCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const RegistryComponentVersionsDeleteHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RegistryComponentVersionsDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const RegistryComponentVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RegistryComponentVersionsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; -export const AzureFileDatastore: coreClient.CompositeMapper = { - serializedName: "AzureFile", +export const RegistryDataContainersDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AzureFileDatastore", - uberParent: "DatastoreProperties", - polymorphicDiscriminator: DatastoreProperties.type.polymorphicDiscriminator, + className: "RegistryDataContainersDeleteHeaders", modelProperties: { - ...DatastoreProperties.type.modelProperties, - accountName: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") - }, - serializedName: "accountName", - required: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String" - } + name: "TimeSpan", + }, }, - endpoint: { - serializedName: "endpoint", - nullable: true, + location: { + serializedName: "location", type: { - name: "String" - } + name: "String", + }, }, - fileShareName: { + retryAfter: { constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") + InclusiveMaximum: 600, + InclusiveMinimum: 10, }, - serializedName: "fileShareName", - required: true, + serializedName: "retry-after", type: { - name: "String" - } + name: "Number", + }, }, - protocol: { - serializedName: "protocol", - nullable: true, - type: { - name: "String" - } + }, + }, +}; + +export const RegistryDataContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RegistryDataContainersCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, }, - serviceDataAccessAuthIdentity: { - serializedName: "serviceDataAccessAuthIdentity", - type: { - name: "String" - } - } - } - } -}; + }, + }; -export const AutoMLJob: coreClient.CompositeMapper = { - serializedName: "AutoML", +export const RegistryDataVersionsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutoMLJob", - uberParent: "JobBaseProperties", - polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, + className: "RegistryDataVersionsDeleteHeaders", modelProperties: { - ...JobBaseProperties.type.modelProperties, - environmentId: { - serializedName: "environmentId", - nullable: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String" - } + name: "TimeSpan", + }, }, - environmentVariables: { - serializedName: "environmentVariables", - nullable: true, + location: { + serializedName: "location", type: { - name: "Dictionary", - value: { type: { name: "String" } } - } + name: "String", + }, }, - outputs: { - serializedName: "outputs", - nullable: true, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobOutput" } } - } + name: "Number", + }, }, - resources: { - serializedName: "resources", - type: { - name: "Composite", - className: "JobResourceConfiguration" - } + }, + }, +}; + +export const RegistryDataVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RegistryDataVersionsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, }, - taskDetails: { - serializedName: "taskDetails", - type: { - name: "Composite", - className: "AutoMLVertical" - } - } - } - } -}; + }, + }; + +export const RegistryEnvironmentContainersDeleteHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RegistryEnvironmentContainersDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const RegistryEnvironmentContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RegistryEnvironmentContainersCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const RegistryEnvironmentVersionsDeleteHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RegistryEnvironmentVersionsDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const RegistryEnvironmentVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RegistryEnvironmentVersionsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const RegistryModelContainersDeleteHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RegistryModelContainersDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const RegistryModelContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RegistryModelContainersCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; -export const CommandJob: coreClient.CompositeMapper = { - serializedName: "Command", +export const RegistryModelVersionsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CommandJob", - uberParent: "JobBaseProperties", - polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, + className: "RegistryModelVersionsDeleteHeaders", modelProperties: { - ...JobBaseProperties.type.modelProperties, - codeId: { - serializedName: "codeId", - nullable: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String" - } - }, - command: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1 + name: "TimeSpan", }, - serializedName: "command", - required: true, - type: { - name: "String" - } }, - distribution: { - serializedName: "distribution", + location: { + serializedName: "location", type: { - name: "Composite", - className: "DistributionConfiguration" - } + name: "String", + }, }, - environmentId: { + retryAfter: { constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") + InclusiveMaximum: 600, + InclusiveMinimum: 10, }, - serializedName: "environmentId", - required: true, - type: { - name: "String" - } - }, - environmentVariables: { - serializedName: "environmentVariables", - nullable: true, + serializedName: "retry-after", type: { - name: "Dictionary", - value: { type: { name: "String" } } - } + name: "Number", + }, }, - inputs: { - serializedName: "inputs", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobInput" } } - } + }, + }, +}; + +export const RegistryModelVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RegistryModelVersionsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, }, - limits: { - serializedName: "limits", + }, + }; + +export const BatchEndpointsDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchEndpointsDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Composite", - className: "CommandJobLimits" - } + name: "TimeSpan", + }, }, - outputs: { - serializedName: "outputs", - nullable: true, + location: { + serializedName: "location", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobOutput" } } - } + name: "String", + }, }, - parameters: { - serializedName: "parameters", - readOnly: true, - nullable: true, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "Dictionary", - value: { type: { name: "any" } } - } + name: "Number", + }, }, - resources: { - serializedName: "resources", - type: { - name: "Composite", - className: "JobResourceConfiguration" - } - } - } - } + }, + }, }; -export const PipelineJob: coreClient.CompositeMapper = { - serializedName: "Pipeline", +export const BatchEndpointsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PipelineJob", - uberParent: "JobBaseProperties", - polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, + className: "BatchEndpointsUpdateHeaders", modelProperties: { - ...JobBaseProperties.type.modelProperties, - inputs: { - serializedName: "inputs", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobInput" } } - } - }, - jobs: { - serializedName: "jobs", - nullable: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + name: "TimeSpan", + }, }, - outputs: { - serializedName: "outputs", - nullable: true, + location: { + serializedName: "location", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobOutput" } } - } + name: "String", + }, }, - settings: { - serializedName: "settings", - nullable: true, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "Dictionary", - value: { type: { name: "any" } } - } + name: "Number", + }, }, - sourceJobId: { - serializedName: "sourceJobId", - nullable: true, - type: { - name: "String" - } - } - } - } + }, + }, }; -export const SweepJob: coreClient.CompositeMapper = { - serializedName: "Sweep", +export const BatchEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SweepJob", - uberParent: "JobBaseProperties", - polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, + className: "BatchEndpointsCreateOrUpdateHeaders", modelProperties: { - ...JobBaseProperties.type.modelProperties, - earlyTermination: { - serializedName: "earlyTermination", - type: { - name: "Composite", - className: "EarlyTerminationPolicy" - } - }, - inputs: { - serializedName: "inputs", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobInput" } } - } - }, - limits: { - serializedName: "limits", + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Composite", - className: "SweepJobLimits" - } + name: "TimeSpan", + }, }, - objective: { - serializedName: "objective", + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { - name: "Composite", - className: "Objective" - } + name: "String", + }, }, - outputs: { - serializedName: "outputs", - nullable: true, + }, + }, +}; + +export const BatchDeploymentsDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchDeploymentsDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobOutput" } } - } + name: "TimeSpan", + }, }, - samplingAlgorithm: { - serializedName: "samplingAlgorithm", + location: { + serializedName: "location", type: { - name: "Composite", - className: "SamplingAlgorithm" - } + name: "String", + }, }, - searchSpace: { - serializedName: "searchSpace", - required: true, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "Dictionary", - value: { type: { name: "any" } } - } + name: "Number", + }, }, - trial: { - serializedName: "trial", - type: { - name: "Composite", - className: "TrialComponent" - } - } - } - } + }, + }, }; -export const MLTableData: coreClient.CompositeMapper = { - serializedName: "mltable", +export const BatchDeploymentsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MLTableData", - uberParent: "DataVersionBaseProperties", - polymorphicDiscriminator: - DataVersionBaseProperties.type.polymorphicDiscriminator, + className: "BatchDeploymentsUpdateHeaders", modelProperties: { - ...DataVersionBaseProperties.type.modelProperties, - referencedUris: { - serializedName: "referencedUris", - nullable: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const UriFileDataVersion: coreClient.CompositeMapper = { - serializedName: "uri_file", - type: { - name: "Composite", - className: "UriFileDataVersion", - uberParent: "DataVersionBaseProperties", - polymorphicDiscriminator: - DataVersionBaseProperties.type.polymorphicDiscriminator, - modelProperties: { - ...DataVersionBaseProperties.type.modelProperties - } - } -}; - -export const UriFolderDataVersion: coreClient.CompositeMapper = { - serializedName: "uri_folder", - type: { - name: "Composite", - className: "UriFolderDataVersion", - uberParent: "DataVersionBaseProperties", - polymorphicDiscriminator: - DataVersionBaseProperties.type.polymorphicDiscriminator, - modelProperties: { - ...DataVersionBaseProperties.type.modelProperties - } - } -}; + name: "TimeSpan", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const BatchDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "BatchDeploymentsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; -export const WorkspacesDiagnoseHeaders: coreClient.CompositeMapper = { +export const CodeVersionsPublishHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspacesDiagnoseHeaders", + className: "CodeVersionsPublishHeaders", modelProperties: { location: { serializedName: "location", type: { - name: "String" - } + name: "String", + }, }, retryAfter: { constraints: { InclusiveMaximum: 600, - InclusiveMinimum: 10 + InclusiveMinimum: 10, }, serializedName: "retry-after", type: { - name: "Number" - } - } - } - } -}; - -export const ComputeCreateOrUpdateHeaders: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeCreateOrUpdateHeaders", - modelProperties: { - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String" - } - } - } - } -}; - -export const ComputeDeleteHeaders: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeDeleteHeaders", - modelProperties: { - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String" - } + name: "Number", + }, }, - location: { - serializedName: "location", - type: { - name: "String" - } - } - } - } + }, + }, }; -export const BatchEndpointsDeleteHeaders: coreClient.CompositeMapper = { +export const ComponentVersionsPublishHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointsDeleteHeaders", + className: "ComponentVersionsPublishHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan" - } - }, location: { serializedName: "location", type: { - name: "String" - } + name: "String", + }, }, retryAfter: { constraints: { InclusiveMaximum: 600, - InclusiveMinimum: 10 + InclusiveMinimum: 10, }, serializedName: "retry-after", type: { - name: "Number" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; -export const BatchEndpointsUpdateHeaders: coreClient.CompositeMapper = { +export const DataVersionsPublishHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointsUpdateHeaders", + className: "DataVersionsPublishHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan" - } - }, location: { serializedName: "location", type: { - name: "String" - } + name: "String", + }, }, retryAfter: { constraints: { InclusiveMaximum: 600, - InclusiveMinimum: 10 + InclusiveMinimum: 10, }, serializedName: "retry-after", type: { - name: "Number" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; -export const BatchEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { +export const EnvironmentVersionsPublishHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointsCreateOrUpdateHeaders", + className: "EnvironmentVersionsPublishHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", + location: { + serializedName: "location", type: { - name: "TimeSpan" - } + name: "String", + }, }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "String" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; -export const BatchDeploymentsDeleteHeaders: coreClient.CompositeMapper = { +export const FeaturesetContainersDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentsDeleteHeaders", + className: "FeaturesetContainersDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", type: { - name: "TimeSpan" - } + name: "TimeSpan", + }, }, location: { serializedName: "location", type: { - name: "String" - } + name: "String", + }, }, retryAfter: { constraints: { InclusiveMaximum: 600, - InclusiveMinimum: 10 + InclusiveMinimum: 10, }, serializedName: "retry-after", type: { - name: "Number" - } - } - } - } -}; + name: "Number", + }, + }, + }, + }, +}; + +export const FeaturesetContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "FeaturesetContainersCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; -export const BatchDeploymentsUpdateHeaders: coreClient.CompositeMapper = { +export const FeaturesetVersionsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentsUpdateHeaders", + className: "FeaturesetVersionsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", type: { - name: "TimeSpan" - } + name: "TimeSpan", + }, }, location: { serializedName: "location", type: { - name: "String" - } + name: "String", + }, }, retryAfter: { constraints: { InclusiveMaximum: 600, - InclusiveMinimum: 10 + InclusiveMinimum: 10, }, serializedName: "retry-after", type: { - name: "Number" - } - } - } - } -}; + name: "Number", + }, + }, + }, + }, +}; + +export const FeaturesetVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "FeaturesetVersionsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; -export const BatchDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = { +export const FeaturesetVersionsBackfillHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentsCreateOrUpdateHeaders", + className: "FeaturesetVersionsBackfillHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", + location: { + serializedName: "location", type: { - name: "TimeSpan" - } + name: "String", + }, }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "String" - } - } - } - } -}; + name: "Number", + }, + }, + }, + }, +}; + +export const FeaturestoreEntityContainersDeleteHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "FeaturestoreEntityContainersDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const FeaturestoreEntityContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "FeaturestoreEntityContainersCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const FeaturestoreEntityVersionsDeleteHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "FeaturestoreEntityVersionsDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const FeaturestoreEntityVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "FeaturestoreEntityVersionsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; export const JobsDeleteHeaders: coreClient.CompositeMapper = { type: { @@ -11534,27 +16691,27 @@ export const JobsDeleteHeaders: coreClient.CompositeMapper = { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", type: { - name: "TimeSpan" - } + name: "TimeSpan", + }, }, location: { serializedName: "location", type: { - name: "String" - } + name: "String", + }, }, retryAfter: { constraints: { InclusiveMaximum: 600, - InclusiveMinimum: 10 + InclusiveMinimum: 10, }, serializedName: "retry-after", type: { - name: "Number" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; export const JobsCancelHeaders: coreClient.CompositeMapper = { @@ -11565,21 +16722,46 @@ export const JobsCancelHeaders: coreClient.CompositeMapper = { location: { serializedName: "location", type: { - name: "String" - } + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const ModelVersionsPublishHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ModelVersionsPublishHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, }, retryAfter: { constraints: { InclusiveMaximum: 600, - InclusiveMinimum: 10 + InclusiveMinimum: 10, }, serializedName: "retry-after", type: { - name: "Number" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; export const OnlineEndpointsDeleteHeaders: coreClient.CompositeMapper = { @@ -11590,27 +16772,27 @@ export const OnlineEndpointsDeleteHeaders: coreClient.CompositeMapper = { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", type: { - name: "TimeSpan" - } + name: "TimeSpan", + }, }, location: { serializedName: "location", type: { - name: "String" - } + name: "String", + }, }, retryAfter: { constraints: { InclusiveMaximum: 600, - InclusiveMinimum: 10 + InclusiveMinimum: 10, }, serializedName: "retry-after", type: { - name: "Number" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; export const OnlineEndpointsUpdateHeaders: coreClient.CompositeMapper = { @@ -11621,221 +16803,294 @@ export const OnlineEndpointsUpdateHeaders: coreClient.CompositeMapper = { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", type: { - name: "TimeSpan" - } + name: "TimeSpan", + }, }, location: { serializedName: "location", type: { - name: "String" - } + name: "String", + }, }, retryAfter: { constraints: { InclusiveMaximum: 600, - InclusiveMinimum: 10 + InclusiveMinimum: 10, }, serializedName: "retry-after", type: { - name: "Number" - } - } - } - } -}; + name: "Number", + }, + }, + }, + }, +}; + +export const OnlineEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "OnlineEndpointsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const OnlineEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "OnlineEndpointsRegenerateKeysHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; -export const OnlineEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { +export const OnlineDeploymentsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineEndpointsCreateOrUpdateHeaders", + className: "OnlineDeploymentsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", type: { - name: "TimeSpan" - } + name: "TimeSpan", + }, }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String" - } - } - } - } -}; - -export const OnlineEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OnlineEndpointsRegenerateKeysHeaders", - modelProperties: { location: { serializedName: "location", type: { - name: "String" - } + name: "String", + }, }, retryAfter: { constraints: { InclusiveMaximum: 600, - InclusiveMinimum: 10 + InclusiveMinimum: 10, }, serializedName: "retry-after", type: { - name: "Number" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; -export const OnlineDeploymentsDeleteHeaders: coreClient.CompositeMapper = { +export const OnlineDeploymentsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineDeploymentsDeleteHeaders", + className: "OnlineDeploymentsUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", type: { - name: "TimeSpan" - } + name: "TimeSpan", + }, }, location: { serializedName: "location", type: { - name: "String" - } + name: "String", + }, }, retryAfter: { constraints: { InclusiveMaximum: 600, - InclusiveMinimum: 10 + InclusiveMinimum: 10, }, serializedName: "retry-after", type: { - name: "Number" - } - } - } - } -}; + name: "Number", + }, + }, + }, + }, +}; + +export const OnlineDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "OnlineDeploymentsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; -export const OnlineDeploymentsUpdateHeaders: coreClient.CompositeMapper = { +export const SchedulesDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineDeploymentsUpdateHeaders", + className: "SchedulesDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", type: { - name: "TimeSpan" - } + name: "TimeSpan", + }, }, location: { serializedName: "location", type: { - name: "String" - } + name: "String", + }, }, retryAfter: { constraints: { InclusiveMaximum: 600, - InclusiveMinimum: 10 + InclusiveMinimum: 10, }, serializedName: "retry-after", type: { - name: "Number" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; -export const OnlineDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = { +export const SchedulesCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineDeploymentsCreateOrUpdateHeaders", + className: "SchedulesCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", type: { - name: "TimeSpan" - } + name: "TimeSpan", + }, }, azureAsyncOperation: { serializedName: "azure-asyncoperation", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; -export const SchedulesDeleteHeaders: coreClient.CompositeMapper = { +export const RegistriesDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SchedulesDeleteHeaders", + className: "RegistriesDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", type: { - name: "TimeSpan" - } + name: "TimeSpan", + }, }, location: { serializedName: "location", type: { - name: "String" - } + name: "String", + }, }, retryAfter: { constraints: { InclusiveMaximum: 600, - InclusiveMinimum: 10 + InclusiveMinimum: 10, }, serializedName: "retry-after", type: { - name: "Number" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; -export const SchedulesCreateOrUpdateHeaders: coreClient.CompositeMapper = { +export const RegistriesRemoveRegionsHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SchedulesCreateOrUpdateHeaders", + className: "RegistriesRemoveRegionsHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", type: { - name: "TimeSpan" - } + name: "TimeSpan", + }, }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "String" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; export let discriminators = { + OutboundRule: OutboundRule, Compute: Compute, ComputeSecrets: ComputeSecrets, WorkspaceConnectionPropertiesV2: WorkspaceConnectionPropertiesV2, + PendingUploadCredentialDto: PendingUploadCredentialDto, + DataReferenceCredential: DataReferenceCredential, + BatchDeploymentConfiguration: BatchDeploymentConfiguration, AssetReferenceBase: AssetReferenceBase, DatastoreCredentials: DatastoreCredentials, DatastoreSecrets: DatastoreSecrets, + Webhook: Webhook, + TriggerBase: TriggerBase, IdentityConfiguration: IdentityConfiguration, + Nodes: Nodes, OnlineScaleSettings: OnlineScaleSettings, ScheduleActionBase: ScheduleActionBase, - TriggerBase: TriggerBase, + MonitoringFeatureFilterBase: MonitoringFeatureFilterBase, + MonitorComputeIdentityBase: MonitorComputeIdentityBase, ForecastHorizon: ForecastHorizon, JobOutput: JobOutput, AutoMLVertical: AutoMLVertical, @@ -11846,8 +17101,19 @@ export let discriminators = { TargetRollingWindowSize: TargetRollingWindowSize, EarlyTerminationPolicy: EarlyTerminationPolicy, SamplingAlgorithm: SamplingAlgorithm, + DataDriftMetricThresholdBase: DataDriftMetricThresholdBase, + DataQualityMetricThresholdBase: DataQualityMetricThresholdBase, + PredictionDriftMetricThresholdBase: PredictionDriftMetricThresholdBase, DistributionConfiguration: DistributionConfiguration, JobLimits: JobLimits, + MonitorComputeConfigurationBase: MonitorComputeConfigurationBase, + MonitoringSignalBase: MonitoringSignalBase, + MonitoringInputDataBase: MonitoringInputDataBase, + OneLakeArtifact: OneLakeArtifact, + SparkJobEntry: SparkJobEntry, + "OutboundRule.PrivateEndpoint": PrivateEndpointOutboundRule, + "OutboundRule.ServiceTag": ServiceTagOutboundRule, + "OutboundRule.FQDN": FqdnOutboundRule, "Compute.AKS": Aks, "Compute.Kubernetes": Kubernetes, "Compute.AmlCompute": AmlCompute, @@ -11861,17 +17127,30 @@ export let discriminators = { "ComputeSecrets.AKS": AksComputeSecrets, "ComputeSecrets.VirtualMachine": VirtualMachineSecrets, "ComputeSecrets.Databricks": DatabricksComputeSecrets, - "WorkspaceConnectionPropertiesV2.PAT": PATAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.SAS": SASAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.UsernamePassword": UsernamePasswordAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.None": NoneAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.ManagedIdentity": ManagedIdentityAuthTypeWorkspaceConnectionProperties, - "AssetReferenceBase.DataPath": DataPathAssetReference, - "AssetReferenceBase.Id": IdAssetReference, - "AssetReferenceBase.OutputPath": OutputPathAssetReference, - "EndpointDeploymentPropertiesBase.OnlineDeploymentProperties": OnlineDeploymentProperties, + "WorkspaceConnectionPropertiesV2.PAT": + PATAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.SAS": + SASAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.UsernamePassword": + UsernamePasswordAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.None": + NoneAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.ManagedIdentity": + ManagedIdentityAuthTypeWorkspaceConnectionProperties, "ResourceBase.DatastoreProperties": DatastoreProperties, "ResourceBase.JobBaseProperties": JobBaseProperties, + "PendingUploadCredentialDto.SAS": SASCredentialDto, + "DataReferenceCredential.NoCredentials": AnonymousAccessCredential, + "DataReferenceCredential.DockerCredentials": DockerCredential, + "DataReferenceCredential.ManagedIdentity": ManagedIdentityCredential, + "DataReferenceCredential.SAS": SASCredential, + "BatchDeploymentConfiguration.PipelineComponent": + BatchPipelineComponentDeploymentConfiguration, + "AssetReferenceBase.Id": IdAssetReference, + "AssetReferenceBase.DataPath": DataPathAssetReference, + "AssetReferenceBase.OutputPath": OutputPathAssetReference, + "EndpointDeploymentPropertiesBase.OnlineDeploymentProperties": + OnlineDeploymentProperties, "DatastoreCredentials.AccountKey": AccountKeyDatastoreCredentials, "DatastoreCredentials.Certificate": CertificateDatastoreCredentials, "DatastoreCredentials.None": NoneDatastoreCredentials, @@ -11881,15 +17160,23 @@ export let discriminators = { "DatastoreSecrets.Certificate": CertificateDatastoreSecrets, "DatastoreSecrets.Sas": SasDatastoreSecrets, "DatastoreSecrets.ServicePrincipal": ServicePrincipalDatastoreSecrets, + "Webhook.AzureDevOps": AzureDevOpsWebhook, + "TriggerBase.Recurrence": RecurrenceTrigger, + "TriggerBase.Cron": CronTrigger, "IdentityConfiguration.AMLToken": AmlToken, "IdentityConfiguration.Managed": ManagedIdentity, "IdentityConfiguration.UserIdentity": UserIdentity, + "Nodes.All": AllNodes, "OnlineScaleSettings.Default": DefaultScaleSettings, "OnlineScaleSettings.TargetUtilization": TargetUtilizationScaleSettings, + "ScheduleActionBase.CreateMonitor": CreateMonitorAction, "ScheduleActionBase.InvokeBatchEndpoint": EndpointScheduleAction, "ScheduleActionBase.CreateJob": JobScheduleAction, - "TriggerBase.Recurrence": RecurrenceTrigger, - "TriggerBase.Cron": CronTrigger, + "MonitoringFeatureFilterBase.AllFeatures": AllFeatures, + "MonitoringFeatureFilterBase.FeatureSubset": FeatureSubset, + "MonitoringFeatureFilterBase.TopNByAttribution": TopNFeaturesByAttribution, + "MonitorComputeIdentityBase.AmlToken": AmlTokenComputeIdentity, + "MonitorComputeIdentityBase.ManagedIdentity": ManagedComputeIdentity, "AssetJobInput.mltable": MLTableJobInput, "AssetJobInput.custom_model": CustomModelJobInput, "AssetJobInput.mlflow_model": MLFlowModelJobInput, @@ -11907,8 +17194,10 @@ export let discriminators = { "TableVertical.Classification": Classification, "TableVertical.Forecasting": Forecasting, "ImageClassificationBase.ImageClassification": ImageClassification, - "ImageClassificationBase.ImageClassificationMultilabel": ImageClassificationMultilabel, - "ImageObjectDetectionBase.ImageInstanceSegmentation": ImageInstanceSegmentation, + "ImageClassificationBase.ImageClassificationMultilabel": + ImageClassificationMultilabel, + "ImageObjectDetectionBase.ImageInstanceSegmentation": + ImageInstanceSegmentation, "ImageObjectDetectionBase.ImageObjectDetection": ImageObjectDetection, "TableVertical.Regression": Regression, "NlpVertical.TextClassification": TextClassification, @@ -11923,29 +17212,56 @@ export let discriminators = { "TargetLags.Custom": CustomTargetLags, "TargetRollingWindowSize.Auto": AutoTargetRollingWindowSize, "TargetRollingWindowSize.Custom": CustomTargetRollingWindowSize, + "AzureDatastore.AzureBlob": AzureBlobDatastore, + "AzureDatastore.AzureDataLakeGen1": AzureDataLakeGen1Datastore, + "AzureDatastore.AzureDataLakeGen2": AzureDataLakeGen2Datastore, + "AzureDatastore.AzureFile": AzureFileDatastore, "EarlyTerminationPolicy.Bandit": BanditPolicy, "EarlyTerminationPolicy.MedianStopping": MedianStoppingPolicy, "EarlyTerminationPolicy.TruncationSelection": TruncationSelectionPolicy, "SamplingAlgorithm.Bayesian": BayesianSamplingAlgorithm, "SamplingAlgorithm.Grid": GridSamplingAlgorithm, "SamplingAlgorithm.Random": RandomSamplingAlgorithm, + "DataDriftMetricThresholdBase.Categorical": + CategoricalDataDriftMetricThreshold, + "DataDriftMetricThresholdBase.Numerical": NumericalDataDriftMetricThreshold, + "DataQualityMetricThresholdBase.Categorical": + CategoricalDataQualityMetricThreshold, + "DataQualityMetricThresholdBase.Numerical": + NumericalDataQualityMetricThreshold, + "PredictionDriftMetricThresholdBase.Categorical": + CategoricalPredictionDriftMetricThreshold, + "PredictionDriftMetricThresholdBase.Numerical": + NumericalPredictionDriftMetricThreshold, "DistributionConfiguration.Mpi": Mpi, "DistributionConfiguration.PyTorch": PyTorch, "DistributionConfiguration.TensorFlow": TensorFlow, "JobLimits.Command": CommandJobLimits, "JobLimits.Sweep": SweepJobLimits, - "OnlineDeploymentProperties.Kubernetes": KubernetesOnlineDeployment, - "OnlineDeploymentProperties.Managed": ManagedOnlineDeployment, + "MonitorComputeConfigurationBase.ServerlessSpark": + MonitorServerlessSparkCompute, + "MonitoringSignalBase.Custom": CustomMonitoringSignal, + "MonitoringSignalBase.DataDrift": DataDriftMonitoringSignal, + "MonitoringSignalBase.DataQuality": DataQualityMonitoringSignal, + "MonitoringSignalBase.FeatureAttributionDrift": + FeatureAttributionDriftMonitoringSignal, + "MonitoringSignalBase.PredictionDrift": PredictionDriftMonitoringSignal, + "MonitoringInputDataBase.Fixed": FixedInputData, + "MonitoringInputDataBase.Rolling": RollingInputData, + "MonitoringInputDataBase.Static": StaticInputData, + "OneLakeArtifact.LakeHouse": LakeHouseArtifact, + "SparkJobEntry.SparkJobPythonEntry": SparkJobPythonEntry, + "SparkJobEntry.SparkJobScalaEntry": SparkJobScalaEntry, "AssetBase.DataVersionBaseProperties": DataVersionBaseProperties, - "DatastoreProperties.AzureBlob": AzureBlobDatastore, - "DatastoreProperties.AzureDataLakeGen1": AzureDataLakeGen1Datastore, - "DatastoreProperties.AzureDataLakeGen2": AzureDataLakeGen2Datastore, - "DatastoreProperties.AzureFile": AzureFileDatastore, + "DatastoreProperties.OneLake": OneLakeDatastore, "JobBaseProperties.AutoML": AutoMLJob, "JobBaseProperties.Command": CommandJob, "JobBaseProperties.Pipeline": PipelineJob, + "JobBaseProperties.Spark": SparkJob, "JobBaseProperties.Sweep": SweepJob, + "OnlineDeploymentProperties.Kubernetes": KubernetesOnlineDeployment, + "OnlineDeploymentProperties.Managed": ManagedOnlineDeployment, "DataVersionBaseProperties.mltable": MLTableData, "DataVersionBaseProperties.uri_file": UriFileDataVersion, - "DataVersionBaseProperties.uri_folder": UriFolderDataVersion + "DataVersionBaseProperties.uri_folder": UriFolderDataVersion, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts b/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts index 1774bcca03b6..05a9cd7dfcb1 100644 --- a/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts +++ b/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts @@ -9,7 +9,7 @@ import { OperationParameter, OperationURLParameter, - OperationQueryParameter + OperationQueryParameter, } from "@azure/core-client"; import { Workspace as WorkspaceMapper, @@ -20,28 +20,40 @@ import { ClusterUpdateParameters as ClusterUpdateParametersMapper, PrivateEndpointConnection as PrivateEndpointConnectionMapper, WorkspaceConnectionPropertiesV2BasicResource as WorkspaceConnectionPropertiesV2BasicResourceMapper, - PartialMinimalTrackedResourceWithIdentity as PartialMinimalTrackedResourceWithIdentityMapper, - BatchEndpoint as BatchEndpointMapper, - PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties as PartialBatchDeploymentPartialMinimalTrackedResourceWithPropertiesMapper, - BatchDeployment as BatchDeploymentMapper, + OutboundRuleBasicResource as OutboundRuleBasicResourceMapper, + ManagedNetworkProvisionOptions as ManagedNetworkProvisionOptionsMapper, CodeContainer as CodeContainerMapper, CodeVersion as CodeVersionMapper, + PendingUploadRequestDto as PendingUploadRequestDtoMapper, ComponentContainer as ComponentContainerMapper, ComponentVersion as ComponentVersionMapper, DataContainer as DataContainerMapper, DataVersionBase as DataVersionBaseMapper, - Datastore as DatastoreMapper, + GetBlobReferenceSASRequestDto as GetBlobReferenceSASRequestDtoMapper, EnvironmentContainer as EnvironmentContainerMapper, EnvironmentVersion as EnvironmentVersionMapper, - JobBase as JobBaseMapper, ModelContainer as ModelContainerMapper, ModelVersion as ModelVersionMapper, + PartialMinimalTrackedResourceWithIdentity as PartialMinimalTrackedResourceWithIdentityMapper, + BatchEndpoint as BatchEndpointMapper, + PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties as PartialBatchDeploymentPartialMinimalTrackedResourceWithPropertiesMapper, + BatchDeployment as BatchDeploymentMapper, + DestinationAsset as DestinationAssetMapper, + Datastore as DatastoreMapper, + FeaturesetContainer as FeaturesetContainerMapper, + FeaturesetVersion as FeaturesetVersionMapper, + FeaturesetVersionBackfillRequest as FeaturesetVersionBackfillRequestMapper, + FeaturestoreEntityContainer as FeaturestoreEntityContainerMapper, + FeaturestoreEntityVersion as FeaturestoreEntityVersionMapper, + JobBase as JobBaseMapper, OnlineEndpoint as OnlineEndpointMapper, RegenerateEndpointKeysRequest as RegenerateEndpointKeysRequestMapper, PartialMinimalTrackedResourceWithSku as PartialMinimalTrackedResourceWithSkuMapper, OnlineDeployment as OnlineDeploymentMapper, DeploymentLogsRequest as DeploymentLogsRequestMapper, - Schedule as ScheduleMapper + Schedule as ScheduleMapper, + PartialRegistryPartialTrackedResource as PartialRegistryPartialTrackedResourceMapper, + Registry as RegistryMapper, } from "../models/mappers"; export const accept: OperationParameter = { @@ -51,9 +63,9 @@ export const accept: OperationParameter = { isConstant: true, serializedName: "Accept", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const $host: OperationURLParameter = { @@ -62,36 +74,36 @@ export const $host: OperationURLParameter = { serializedName: "$host", required: true, type: { - name: "String" - } + name: "String", + }, }, - skipEncoding: true + skipEncoding: true, }; export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2022-10-01", + defaultValue: "2024-04-01", isConstant: true, serializedName: "api-version", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const subscriptionId: OperationURLParameter = { parameterPath: "subscriptionId", mapper: { constraints: { - MinLength: 1 + MinLength: 1, }, serializedName: "subscriptionId", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const resourceGroupName: OperationURLParameter = { @@ -99,25 +111,28 @@ export const resourceGroupName: OperationURLParameter = { mapper: { constraints: { MaxLength: 90, - MinLength: 1 + MinLength: 1, }, serializedName: "resourceGroupName", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const workspaceName: OperationURLParameter = { parameterPath: "workspaceName", mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), + }, serializedName: "workspaceName", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const contentType: OperationParameter = { @@ -127,19 +142,30 @@ export const contentType: OperationParameter = { isConstant: true, serializedName: "Content-Type", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const parameters: OperationParameter = { parameterPath: "parameters", - mapper: WorkspaceMapper + mapper: WorkspaceMapper, +}; + +export const forceToPurge: OperationQueryParameter = { + parameterPath: ["options", "forceToPurge"], + mapper: { + defaultValue: false, + serializedName: "forceToPurge", + type: { + name: "Boolean", + }, + }, }; export const parameters1: OperationParameter = { parameterPath: "parameters", - mapper: WorkspaceUpdateParametersMapper + mapper: WorkspaceUpdateParametersMapper, }; export const skip: OperationQueryParameter = { @@ -147,14 +173,14 @@ export const skip: OperationQueryParameter = { mapper: { serializedName: "$skip", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const parameters2: OperationParameter = { parameterPath: ["options", "parameters"], - mapper: DiagnoseWorkspaceParametersMapper + mapper: DiagnoseWorkspaceParametersMapper, }; export const nextLink: OperationURLParameter = { @@ -163,29 +189,29 @@ export const nextLink: OperationURLParameter = { serializedName: "nextLink", required: true, type: { - name: "String" - } + name: "String", + }, }, - skipEncoding: true + skipEncoding: true, }; export const location: OperationURLParameter = { parameterPath: "location", mapper: { constraints: { - Pattern: new RegExp("^[-\\w\\._]+$") + Pattern: new RegExp("^[-\\w\\._]+$"), }, serializedName: "location", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const parameters3: OperationParameter = { parameterPath: "parameters", - mapper: QuotaUpdateParametersMapper + mapper: QuotaUpdateParametersMapper, }; export const computeName: OperationURLParameter = { @@ -194,19 +220,19 @@ export const computeName: OperationURLParameter = { serializedName: "computeName", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const parameters4: OperationParameter = { parameterPath: "parameters", - mapper: ComputeResourceMapper + mapper: ComputeResourceMapper, }; export const parameters5: OperationParameter = { parameterPath: "parameters", - mapper: ClusterUpdateParametersMapper + mapper: ClusterUpdateParametersMapper, }; export const underlyingResourceAction: OperationQueryParameter = { @@ -215,9 +241,9 @@ export const underlyingResourceAction: OperationQueryParameter = { serializedName: "underlyingResourceAction", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const privateEndpointConnectionName: OperationURLParameter = { @@ -226,30 +252,33 @@ export const privateEndpointConnectionName: OperationURLParameter = { serializedName: "privateEndpointConnectionName", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const properties: OperationParameter = { parameterPath: "properties", - mapper: PrivateEndpointConnectionMapper + mapper: PrivateEndpointConnectionMapper, }; export const parameters6: OperationParameter = { parameterPath: "parameters", - mapper: WorkspaceConnectionPropertiesV2BasicResourceMapper + mapper: WorkspaceConnectionPropertiesV2BasicResourceMapper, }; export const connectionName: OperationURLParameter = { parameterPath: "connectionName", mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), + }, serializedName: "connectionName", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const target: OperationQueryParameter = { @@ -257,9 +286,9 @@ export const target: OperationQueryParameter = { mapper: { serializedName: "target", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const category: OperationQueryParameter = { @@ -267,54 +296,66 @@ export const category: OperationQueryParameter = { mapper: { serializedName: "category", type: { - name: "String" - } - } -}; - -export const count: OperationQueryParameter = { - parameterPath: ["options", "count"], - mapper: { - serializedName: "count", - type: { - name: "Number" - } - } + name: "String", + }, + }, }; -export const endpointName: OperationURLParameter = { - parameterPath: "endpointName", +export const ruleName: OperationURLParameter = { + parameterPath: "ruleName", mapper: { - serializedName: "endpointName", + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), + }, + serializedName: "ruleName", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; export const body: OperationParameter = { parameterPath: "body", - mapper: PartialMinimalTrackedResourceWithIdentityMapper + mapper: OutboundRuleBasicResourceMapper, }; -export const endpointName1: OperationURLParameter = { - parameterPath: "endpointName", +export const body1: OperationParameter = { + parameterPath: ["options", "body"], + mapper: ManagedNetworkProvisionOptionsMapper, +}; + +export const registryName: OperationURLParameter = { + parameterPath: "registryName", mapper: { constraints: { - Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$") + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9\\-_]{2,32}$"), }, - serializedName: "endpointName", + serializedName: "registryName", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; -export const body1: OperationParameter = { +export const codeName: OperationURLParameter = { + parameterPath: "codeName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$"), + }, + serializedName: "codeName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body2: OperationParameter = { parameterPath: "body", - mapper: BatchEndpointMapper + mapper: CodeContainerMapper, }; export const orderBy: OperationQueryParameter = { @@ -322,9 +363,9 @@ export const orderBy: OperationQueryParameter = { mapper: { serializedName: "$orderBy", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const top: OperationQueryParameter = { @@ -332,44 +373,64 @@ export const top: OperationQueryParameter = { mapper: { serializedName: "$top", type: { - name: "Number" - } - } + name: "Number", + }, + }, }; -export const deploymentName: OperationURLParameter = { - parameterPath: "deploymentName", +export const version: OperationURLParameter = { + parameterPath: "version", mapper: { - serializedName: "deploymentName", + serializedName: "version", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; -export const body2: OperationParameter = { +export const body3: OperationParameter = { parameterPath: "body", - mapper: PartialBatchDeploymentPartialMinimalTrackedResourceWithPropertiesMapper + mapper: CodeVersionMapper, }; -export const deploymentName1: OperationURLParameter = { - parameterPath: "deploymentName", +export const body4: OperationParameter = { + parameterPath: "body", + mapper: PendingUploadRequestDtoMapper, +}; + +export const componentName: OperationURLParameter = { + parameterPath: "componentName", mapper: { constraints: { - Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$") + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$"), }, - serializedName: "deploymentName", + serializedName: "componentName", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; -export const body3: OperationParameter = { +export const body5: OperationParameter = { + parameterPath: "body", + mapper: ComponentContainerMapper, +}; + +export const body6: OperationParameter = { parameterPath: "body", - mapper: BatchDeploymentMapper + mapper: ComponentVersionMapper, +}; + +export const listViewType: OperationQueryParameter = { + parameterPath: ["options", "listViewType"], + mapper: { + serializedName: "listViewType", + type: { + name: "String", + }, + }, }; export const name: OperationURLParameter = { @@ -378,84 +439,242 @@ export const name: OperationURLParameter = { serializedName: "name", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; -export const body4: OperationParameter = { +export const body7: OperationParameter = { parameterPath: "body", - mapper: CodeContainerMapper + mapper: DataContainerMapper, }; export const name1: OperationURLParameter = { parameterPath: "name", mapper: { constraints: { - Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$") + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$"), }, serializedName: "name", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; -export const version: OperationURLParameter = { - parameterPath: "version", +export const tags: OperationQueryParameter = { + parameterPath: ["options", "tags"], + mapper: { + serializedName: "$tags", + type: { + name: "String", + }, + }, +}; + +export const body8: OperationParameter = { + parameterPath: "body", + mapper: DataVersionBaseMapper, +}; + +export const body9: OperationParameter = { + parameterPath: "body", + mapper: GetBlobReferenceSASRequestDtoMapper, +}; + +export const environmentName: OperationURLParameter = { + parameterPath: "environmentName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$"), + }, + serializedName: "environmentName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body10: OperationParameter = { + parameterPath: "body", + mapper: EnvironmentContainerMapper, +}; + +export const body11: OperationParameter = { + parameterPath: "body", + mapper: EnvironmentVersionMapper, +}; + +export const modelName: OperationURLParameter = { + parameterPath: "modelName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$"), + }, + serializedName: "modelName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body12: OperationParameter = { + parameterPath: "body", + mapper: ModelContainerMapper, +}; + +export const version1: OperationQueryParameter = { + parameterPath: ["options", "version"], mapper: { serializedName: "version", + type: { + name: "String", + }, + }, +}; + +export const description: OperationQueryParameter = { + parameterPath: ["options", "description"], + mapper: { + serializedName: "description", + type: { + name: "String", + }, + }, +}; + +export const tags1: OperationQueryParameter = { + parameterPath: ["options", "tags"], + mapper: { + serializedName: "tags", + type: { + name: "String", + }, + }, +}; + +export const properties1: OperationQueryParameter = { + parameterPath: ["options", "properties"], + mapper: { + serializedName: "properties", + type: { + name: "String", + }, + }, +}; + +export const body13: OperationParameter = { + parameterPath: "body", + mapper: ModelVersionMapper, +}; + +export const count: OperationQueryParameter = { + parameterPath: ["options", "count"], + mapper: { + serializedName: "count", + type: { + name: "Number", + }, + }, +}; + +export const endpointName: OperationURLParameter = { + parameterPath: "endpointName", + mapper: { + serializedName: "endpointName", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; -export const body5: OperationParameter = { +export const body14: OperationParameter = { parameterPath: "body", - mapper: CodeVersionMapper + mapper: PartialMinimalTrackedResourceWithIdentityMapper, }; -export const listViewType: OperationQueryParameter = { - parameterPath: ["options", "listViewType"], +export const endpointName1: OperationURLParameter = { + parameterPath: "endpointName", mapper: { - serializedName: "listViewType", + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$"), + }, + serializedName: "endpointName", + required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; -export const body6: OperationParameter = { +export const body15: OperationParameter = { parameterPath: "body", - mapper: ComponentContainerMapper + mapper: BatchEndpointMapper, }; -export const body7: OperationParameter = { +export const deploymentName: OperationURLParameter = { + parameterPath: "deploymentName", + mapper: { + serializedName: "deploymentName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body16: OperationParameter = { parameterPath: "body", - mapper: ComponentVersionMapper + mapper: + PartialBatchDeploymentPartialMinimalTrackedResourceWithPropertiesMapper, }; -export const body8: OperationParameter = { +export const deploymentName1: OperationURLParameter = { + parameterPath: "deploymentName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$"), + }, + serializedName: "deploymentName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body17: OperationParameter = { parameterPath: "body", - mapper: DataContainerMapper + mapper: BatchDeploymentMapper, }; -export const tags: OperationQueryParameter = { - parameterPath: ["options", "tags"], +export const hash: OperationQueryParameter = { + parameterPath: ["options", "hash"], mapper: { - serializedName: "$tags", + serializedName: "hash", + type: { + name: "String", + }, + }, +}; + +export const hashVersion: OperationQueryParameter = { + parameterPath: ["options", "hashVersion"], + mapper: { + serializedName: "hashVersion", type: { - name: "String" - } - } + name: "String", + }, + }, }; -export const body9: OperationParameter = { +export const body18: OperationParameter = { parameterPath: "body", - mapper: DataVersionBaseMapper + mapper: DestinationAssetMapper, }; export const count1: OperationQueryParameter = { @@ -464,9 +683,9 @@ export const count1: OperationQueryParameter = { defaultValue: 30, serializedName: "count", type: { - name: "Number" - } - } + name: "Number", + }, + }, }; export const isDefault: OperationQueryParameter = { @@ -474,9 +693,9 @@ export const isDefault: OperationQueryParameter = { mapper: { serializedName: "isDefault", type: { - name: "Boolean" - } - } + name: "Boolean", + }, + }, }; export const names: OperationQueryParameter = { @@ -487,12 +706,12 @@ export const names: OperationQueryParameter = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, - collectionFormat: "CSV" + collectionFormat: "CSV", }; export const searchText: OperationQueryParameter = { @@ -500,9 +719,9 @@ export const searchText: OperationQueryParameter = { mapper: { serializedName: "searchText", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const orderBy1: OperationQueryParameter = { @@ -510,9 +729,9 @@ export const orderBy1: OperationQueryParameter = { mapper: { serializedName: "orderBy", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const orderByAsc: OperationQueryParameter = { @@ -521,14 +740,14 @@ export const orderByAsc: OperationQueryParameter = { defaultValue: false, serializedName: "orderByAsc", type: { - name: "Boolean" - } - } + name: "Boolean", + }, + }, }; -export const body10: OperationParameter = { +export const body19: OperationParameter = { parameterPath: "body", - mapper: DatastoreMapper + mapper: DatastoreMapper, }; export const skipValidation: OperationQueryParameter = { @@ -537,149 +756,215 @@ export const skipValidation: OperationQueryParameter = { defaultValue: false, serializedName: "skipValidation", type: { - name: "Boolean" - } - } + name: "Boolean", + }, + }, }; -export const body11: OperationParameter = { - parameterPath: "body", - mapper: EnvironmentContainerMapper +export const pageSize: OperationQueryParameter = { + parameterPath: ["options", "pageSize"], + mapper: { + defaultValue: 20, + serializedName: "pageSize", + type: { + name: "Number", + }, + }, }; -export const body12: OperationParameter = { - parameterPath: "body", - mapper: EnvironmentVersionMapper +export const name2: OperationQueryParameter = { + parameterPath: ["options", "name"], + mapper: { + serializedName: "name", + type: { + name: "String", + }, + }, }; -export const jobType: OperationQueryParameter = { - parameterPath: ["options", "jobType"], +export const createdBy: OperationQueryParameter = { + parameterPath: ["options", "createdBy"], mapper: { - serializedName: "jobType", + serializedName: "createdBy", type: { - name: "String" - } - } + name: "String", + }, + }, }; -export const tag: OperationQueryParameter = { - parameterPath: ["options", "tag"], +export const body20: OperationParameter = { + parameterPath: "body", + mapper: FeaturesetContainerMapper, +}; + +export const featuresetName: OperationURLParameter = { + parameterPath: "featuresetName", mapper: { - serializedName: "tag", + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$"), + }, + serializedName: "featuresetName", + required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; -export const id: OperationURLParameter = { - parameterPath: "id", +export const featuresetVersion: OperationURLParameter = { + parameterPath: "featuresetVersion", mapper: { - serializedName: "id", + serializedName: "featuresetVersion", required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; -export const body13: OperationParameter = { - parameterPath: "body", - mapper: JobBaseMapper +export const featureName: OperationQueryParameter = { + parameterPath: ["options", "featureName"], + mapper: { + serializedName: "featureName", + type: { + name: "String", + }, + }, }; -export const id1: OperationURLParameter = { - parameterPath: "id", +export const pageSize1: OperationQueryParameter = { + parameterPath: ["options", "pageSize"], + mapper: { + defaultValue: 1000, + serializedName: "pageSize", + type: { + name: "Number", + }, + }, +}; + +export const featureName1: OperationURLParameter = { + parameterPath: "featureName", mapper: { constraints: { - Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$") + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$"), }, - serializedName: "id", + serializedName: "featureName", required: true, type: { - name: "String" - } - } -}; - -export const body14: OperationParameter = { - parameterPath: "body", - mapper: ModelContainerMapper + name: "String", + }, + }, }; -export const version1: OperationQueryParameter = { - parameterPath: ["options", "version"], +export const versionName: OperationQueryParameter = { + parameterPath: ["options", "versionName"], mapper: { - serializedName: "version", + serializedName: "versionName", type: { - name: "String" - } - } + name: "String", + }, + }, }; -export const description: OperationQueryParameter = { - parameterPath: ["options", "description"], +export const stage: OperationQueryParameter = { + parameterPath: ["options", "stage"], mapper: { - serializedName: "description", + serializedName: "stage", type: { - name: "String" - } - } + name: "String", + }, + }, }; -export const offset: OperationQueryParameter = { - parameterPath: ["options", "offset"], +export const body21: OperationParameter = { + parameterPath: "body", + mapper: FeaturesetVersionMapper, +}; + +export const body22: OperationParameter = { + parameterPath: "body", + mapper: FeaturesetVersionBackfillRequestMapper, +}; + +export const body23: OperationParameter = { + parameterPath: "body", + mapper: FeaturestoreEntityContainerMapper, +}; + +export const body24: OperationParameter = { + parameterPath: "body", + mapper: FeaturestoreEntityVersionMapper, +}; + +export const jobType: OperationQueryParameter = { + parameterPath: ["options", "jobType"], mapper: { - serializedName: "offset", + serializedName: "jobType", type: { - name: "Number" - } - } + name: "String", + }, + }, }; -export const tags1: OperationQueryParameter = { - parameterPath: ["options", "tags"], +export const tag: OperationQueryParameter = { + parameterPath: ["options", "tag"], mapper: { - serializedName: "tags", + serializedName: "tag", type: { - name: "String" - } - } + name: "String", + }, + }, }; -export const properties1: OperationQueryParameter = { - parameterPath: ["options", "properties"], +export const id: OperationURLParameter = { + parameterPath: "id", mapper: { - serializedName: "properties", + serializedName: "id", + required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; -export const feed: OperationQueryParameter = { - parameterPath: ["options", "feed"], +export const body25: OperationParameter = { + parameterPath: "body", + mapper: JobBaseMapper, +}; + +export const id1: OperationURLParameter = { + parameterPath: "id", mapper: { - serializedName: "feed", + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$"), + }, + serializedName: "id", + required: true, type: { - name: "String" - } - } + name: "String", + }, + }, }; -export const body15: OperationParameter = { - parameterPath: "body", - mapper: ModelVersionMapper +export const offset: OperationQueryParameter = { + parameterPath: ["options", "offset"], + mapper: { + serializedName: "offset", + type: { + name: "Number", + }, + }, }; -export const name2: OperationQueryParameter = { - parameterPath: ["options", "name"], +export const feed: OperationQueryParameter = { + parameterPath: ["options", "feed"], mapper: { - serializedName: "name", + serializedName: "feed", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const computeType: OperationQueryParameter = { @@ -687,9 +972,9 @@ export const computeType: OperationQueryParameter = { mapper: { serializedName: "computeType", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const orderBy2: OperationQueryParameter = { @@ -697,34 +982,34 @@ export const orderBy2: OperationQueryParameter = { mapper: { serializedName: "orderBy", type: { - name: "String" - } - } + name: "String", + }, + }, }; -export const body16: OperationParameter = { +export const body26: OperationParameter = { parameterPath: "body", - mapper: OnlineEndpointMapper + mapper: OnlineEndpointMapper, }; -export const body17: OperationParameter = { +export const body27: OperationParameter = { parameterPath: "body", - mapper: RegenerateEndpointKeysRequestMapper + mapper: RegenerateEndpointKeysRequestMapper, }; -export const body18: OperationParameter = { +export const body28: OperationParameter = { parameterPath: "body", - mapper: PartialMinimalTrackedResourceWithSkuMapper + mapper: PartialMinimalTrackedResourceWithSkuMapper, }; -export const body19: OperationParameter = { +export const body29: OperationParameter = { parameterPath: "body", - mapper: OnlineDeploymentMapper + mapper: OnlineDeploymentMapper, }; -export const body20: OperationParameter = { +export const body30: OperationParameter = { parameterPath: "body", - mapper: DeploymentLogsRequestMapper + mapper: DeploymentLogsRequestMapper, }; export const listViewType1: OperationQueryParameter = { @@ -732,12 +1017,22 @@ export const listViewType1: OperationQueryParameter = { mapper: { serializedName: "listViewType", type: { - name: "String" - } - } + name: "String", + }, + }, }; -export const body21: OperationParameter = { +export const body31: OperationParameter = { + parameterPath: "body", + mapper: ScheduleMapper, +}; + +export const body32: OperationParameter = { + parameterPath: "body", + mapper: PartialRegistryPartialTrackedResourceMapper, +}; + +export const body33: OperationParameter = { parameterPath: "body", - mapper: ScheduleMapper + mapper: RegistryMapper, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/batchDeployments.ts b/sdk/machinelearning/arm-machinelearning/src/operations/batchDeployments.ts index 1e22d4ba5c63..bb768905abbf 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/batchDeployments.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/batchDeployments.ts @@ -12,9 +12,13 @@ import { BatchDeployments } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; -import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; -import { LroImpl } from "../lroImpl"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; import { BatchDeployment, BatchDeploymentsListNextOptionalParams, @@ -28,19 +32,19 @@ import { BatchDeploymentsUpdateResponse, BatchDeploymentsCreateOrUpdateOptionalParams, BatchDeploymentsCreateOrUpdateResponse, - BatchDeploymentsListNextResponse + BatchDeploymentsListNextResponse, } from "../models"; /// /** Class containing BatchDeployments operations. */ export class BatchDeploymentsImpl implements BatchDeployments { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class BatchDeployments class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -55,13 +59,13 @@ export class BatchDeploymentsImpl implements BatchDeployments { resourceGroupName: string, workspaceName: string, endpointName: string, - options?: BatchDeploymentsListOptionalParams + options?: BatchDeploymentsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll( resourceGroupName, workspaceName, endpointName, - options + options, ); return { next() { @@ -79,9 +83,9 @@ export class BatchDeploymentsImpl implements BatchDeployments { workspaceName, endpointName, options, - settings + settings, ); - } + }, }; } @@ -90,7 +94,7 @@ export class BatchDeploymentsImpl implements BatchDeployments { workspaceName: string, endpointName: string, options?: BatchDeploymentsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: BatchDeploymentsListResponse; let continuationToken = settings?.continuationToken; @@ -99,7 +103,7 @@ export class BatchDeploymentsImpl implements BatchDeployments { resourceGroupName, workspaceName, endpointName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -112,7 +116,7 @@ export class BatchDeploymentsImpl implements BatchDeployments { workspaceName, endpointName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -125,13 +129,13 @@ export class BatchDeploymentsImpl implements BatchDeployments { resourceGroupName: string, workspaceName: string, endpointName: string, - options?: BatchDeploymentsListOptionalParams + options?: BatchDeploymentsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, endpointName, - options + options, )) { yield* page; } @@ -148,11 +152,11 @@ export class BatchDeploymentsImpl implements BatchDeployments { resourceGroupName: string, workspaceName: string, endpointName: string, - options?: BatchDeploymentsListOptionalParams + options?: BatchDeploymentsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, endpointName, options }, - listOperationSpec + listOperationSpec, ); } @@ -169,25 +173,24 @@ export class BatchDeploymentsImpl implements BatchDeployments { workspaceName: string, endpointName: string, deploymentName: string, - options?: BatchDeploymentsDeleteOptionalParams - ): Promise, void>> { + options?: BatchDeploymentsDeleteOptionalParams, + ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -196,8 +199,8 @@ export class BatchDeploymentsImpl implements BatchDeployments { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -205,25 +208,26 @@ export class BatchDeploymentsImpl implements BatchDeployments { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, endpointName, deploymentName, - options + options, }, - deleteOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", }); await poller.poll(); return poller; @@ -242,14 +246,14 @@ export class BatchDeploymentsImpl implements BatchDeployments { workspaceName: string, endpointName: string, deploymentName: string, - options?: BatchDeploymentsDeleteOptionalParams + options?: BatchDeploymentsDeleteOptionalParams, ): Promise { const poller = await this.beginDelete( resourceGroupName, workspaceName, endpointName, deploymentName, - options + options, ); return poller.pollUntilDone(); } @@ -267,7 +271,7 @@ export class BatchDeploymentsImpl implements BatchDeployments { workspaceName: string, endpointName: string, deploymentName: string, - options?: BatchDeploymentsGetOptionalParams + options?: BatchDeploymentsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -275,9 +279,9 @@ export class BatchDeploymentsImpl implements BatchDeployments { workspaceName, endpointName, deploymentName, - options + options, }, - getOperationSpec + getOperationSpec, ); } @@ -296,30 +300,29 @@ export class BatchDeploymentsImpl implements BatchDeployments { endpointName: string, deploymentName: string, body: PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties, - options?: BatchDeploymentsUpdateOptionalParams + options?: BatchDeploymentsUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, BatchDeploymentsUpdateResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -328,8 +331,8 @@ export class BatchDeploymentsImpl implements BatchDeployments { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -337,26 +340,29 @@ export class BatchDeploymentsImpl implements BatchDeployments { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, endpointName, deploymentName, body, - options + options, }, - updateOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + spec: updateOperationSpec, + }); + const poller = await createHttpPoller< + BatchDeploymentsUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -377,7 +383,7 @@ export class BatchDeploymentsImpl implements BatchDeployments { endpointName: string, deploymentName: string, body: PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties, - options?: BatchDeploymentsUpdateOptionalParams + options?: BatchDeploymentsUpdateOptionalParams, ): Promise { const poller = await this.beginUpdate( resourceGroupName, @@ -385,7 +391,7 @@ export class BatchDeploymentsImpl implements BatchDeployments { endpointName, deploymentName, body, - options + options, ); return poller.pollUntilDone(); } @@ -405,30 +411,29 @@ export class BatchDeploymentsImpl implements BatchDeployments { endpointName: string, deploymentName: string, body: BatchDeployment, - options?: BatchDeploymentsCreateOrUpdateOptionalParams + options?: BatchDeploymentsCreateOrUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, BatchDeploymentsCreateOrUpdateResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -437,8 +442,8 @@ export class BatchDeploymentsImpl implements BatchDeployments { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -446,26 +451,30 @@ export class BatchDeploymentsImpl implements BatchDeployments { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, endpointName, deploymentName, body, - options + options, }, - createOrUpdateOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + BatchDeploymentsCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "original-uri", }); await poller.poll(); return poller; @@ -486,7 +495,7 @@ export class BatchDeploymentsImpl implements BatchDeployments { endpointName: string, deploymentName: string, body: BatchDeployment, - options?: BatchDeploymentsCreateOrUpdateOptionalParams + options?: BatchDeploymentsCreateOrUpdateOptionalParams, ): Promise { const poller = await this.beginCreateOrUpdate( resourceGroupName, @@ -494,7 +503,7 @@ export class BatchDeploymentsImpl implements BatchDeployments { endpointName, deploymentName, body, - options + options, ); return poller.pollUntilDone(); } @@ -512,11 +521,11 @@ export class BatchDeploymentsImpl implements BatchDeployments { workspaceName: string, endpointName: string, nextLink: string, - options?: BatchDeploymentsListNextOptionalParams + options?: BatchDeploymentsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, endpointName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -524,36 +533,34 @@ export class BatchDeploymentsImpl implements BatchDeployments { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.BatchDeploymentTrackedResourceArmPaginatedResult + bodyMapper: Mappers.BatchDeploymentTrackedResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.skip, Parameters.orderBy, - Parameters.top + Parameters.top, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.endpointName + Parameters.endpointName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments/{deploymentName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments/{deploymentName}", httpMethod: "DELETE", responses: { 200: {}, @@ -561,8 +568,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -571,22 +578,21 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.endpointName, - Parameters.deploymentName + Parameters.deploymentName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments/{deploymentName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments/{deploymentName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.BatchDeployment + bodyMapper: Mappers.BatchDeployment, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -595,33 +601,32 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.endpointName, - Parameters.deploymentName + Parameters.deploymentName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments/{deploymentName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments/{deploymentName}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.BatchDeployment + bodyMapper: Mappers.BatchDeployment, }, 201: { - bodyMapper: Mappers.BatchDeployment + bodyMapper: Mappers.BatchDeployment, }, 202: { - bodyMapper: Mappers.BatchDeployment + bodyMapper: Mappers.BatchDeployment, }, 204: { - bodyMapper: Mappers.BatchDeployment + bodyMapper: Mappers.BatchDeployment, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body2, + requestBody: Parameters.body16, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -629,34 +634,33 @@ const updateOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.endpointName1, - Parameters.deploymentName1 + Parameters.deploymentName1, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments/{deploymentName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments/{deploymentName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.BatchDeployment + bodyMapper: Mappers.BatchDeployment, }, 201: { - bodyMapper: Mappers.BatchDeployment + bodyMapper: Mappers.BatchDeployment, }, 202: { - bodyMapper: Mappers.BatchDeployment + bodyMapper: Mappers.BatchDeployment, }, 204: { - bodyMapper: Mappers.BatchDeployment + bodyMapper: Mappers.BatchDeployment, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body3, + requestBody: Parameters.body17, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -664,37 +668,31 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.endpointName1, - Parameters.deploymentName1 + Parameters.deploymentName1, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.BatchDeploymentTrackedResourceArmPaginatedResult + bodyMapper: Mappers.BatchDeploymentTrackedResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.orderBy, - Parameters.top - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, Parameters.nextLink, - Parameters.endpointName + Parameters.endpointName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/batchEndpoints.ts b/sdk/machinelearning/arm-machinelearning/src/operations/batchEndpoints.ts index 6517735a2a32..0ed5b3d5bcca 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/batchEndpoints.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/batchEndpoints.ts @@ -12,9 +12,13 @@ import { BatchEndpoints } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; -import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; -import { LroImpl } from "../lroImpl"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; import { BatchEndpoint, BatchEndpointsListNextOptionalParams, @@ -30,19 +34,19 @@ import { BatchEndpointsCreateOrUpdateResponse, BatchEndpointsListKeysOptionalParams, BatchEndpointsListKeysResponse, - BatchEndpointsListNextResponse + BatchEndpointsListNextResponse, } from "../models"; /// /** Class containing BatchEndpoints operations. */ export class BatchEndpointsImpl implements BatchEndpoints { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class BatchEndpoints class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -55,7 +59,7 @@ export class BatchEndpointsImpl implements BatchEndpoints { public list( resourceGroupName: string, workspaceName: string, - options?: BatchEndpointsListOptionalParams + options?: BatchEndpointsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -73,9 +77,9 @@ export class BatchEndpointsImpl implements BatchEndpoints { resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -83,7 +87,7 @@ export class BatchEndpointsImpl implements BatchEndpoints { resourceGroupName: string, workspaceName: string, options?: BatchEndpointsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: BatchEndpointsListResponse; let continuationToken = settings?.continuationToken; @@ -99,7 +103,7 @@ export class BatchEndpointsImpl implements BatchEndpoints { resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -111,12 +115,12 @@ export class BatchEndpointsImpl implements BatchEndpoints { private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: BatchEndpointsListOptionalParams + options?: BatchEndpointsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -131,11 +135,11 @@ export class BatchEndpointsImpl implements BatchEndpoints { private _list( resourceGroupName: string, workspaceName: string, - options?: BatchEndpointsListOptionalParams + options?: BatchEndpointsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -150,25 +154,24 @@ export class BatchEndpointsImpl implements BatchEndpoints { resourceGroupName: string, workspaceName: string, endpointName: string, - options?: BatchEndpointsDeleteOptionalParams - ): Promise, void>> { + options?: BatchEndpointsDeleteOptionalParams, + ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -177,8 +180,8 @@ export class BatchEndpointsImpl implements BatchEndpoints { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -186,19 +189,20 @@ export class BatchEndpointsImpl implements BatchEndpoints { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, workspaceName, endpointName, options }, - deleteOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, endpointName, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", }); await poller.poll(); return poller; @@ -215,13 +219,13 @@ export class BatchEndpointsImpl implements BatchEndpoints { resourceGroupName: string, workspaceName: string, endpointName: string, - options?: BatchEndpointsDeleteOptionalParams + options?: BatchEndpointsDeleteOptionalParams, ): Promise { const poller = await this.beginDelete( resourceGroupName, workspaceName, endpointName, - options + options, ); return poller.pollUntilDone(); } @@ -237,11 +241,11 @@ export class BatchEndpointsImpl implements BatchEndpoints { resourceGroupName: string, workspaceName: string, endpointName: string, - options?: BatchEndpointsGetOptionalParams + options?: BatchEndpointsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, endpointName, options }, - getOperationSpec + getOperationSpec, ); } @@ -258,30 +262,29 @@ export class BatchEndpointsImpl implements BatchEndpoints { workspaceName: string, endpointName: string, body: PartialMinimalTrackedResourceWithIdentity, - options?: BatchEndpointsUpdateOptionalParams + options?: BatchEndpointsUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, BatchEndpointsUpdateResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -290,8 +293,8 @@ export class BatchEndpointsImpl implements BatchEndpoints { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -299,19 +302,22 @@ export class BatchEndpointsImpl implements BatchEndpoints { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, workspaceName, endpointName, body, options }, - updateOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, endpointName, body, options }, + spec: updateOperationSpec, + }); + const poller = await createHttpPoller< + BatchEndpointsUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -330,14 +336,14 @@ export class BatchEndpointsImpl implements BatchEndpoints { workspaceName: string, endpointName: string, body: PartialMinimalTrackedResourceWithIdentity, - options?: BatchEndpointsUpdateOptionalParams + options?: BatchEndpointsUpdateOptionalParams, ): Promise { const poller = await this.beginUpdate( resourceGroupName, workspaceName, endpointName, body, - options + options, ); return poller.pollUntilDone(); } @@ -355,30 +361,29 @@ export class BatchEndpointsImpl implements BatchEndpoints { workspaceName: string, endpointName: string, body: BatchEndpoint, - options?: BatchEndpointsCreateOrUpdateOptionalParams + options?: BatchEndpointsCreateOrUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, BatchEndpointsCreateOrUpdateResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -387,8 +392,8 @@ export class BatchEndpointsImpl implements BatchEndpoints { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -396,19 +401,23 @@ export class BatchEndpointsImpl implements BatchEndpoints { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, workspaceName, endpointName, body, options }, - createOrUpdateOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, endpointName, body, options }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + BatchEndpointsCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "original-uri", }); await poller.poll(); return poller; @@ -427,14 +436,14 @@ export class BatchEndpointsImpl implements BatchEndpoints { workspaceName: string, endpointName: string, body: BatchEndpoint, - options?: BatchEndpointsCreateOrUpdateOptionalParams + options?: BatchEndpointsCreateOrUpdateOptionalParams, ): Promise { const poller = await this.beginCreateOrUpdate( resourceGroupName, workspaceName, endpointName, body, - options + options, ); return poller.pollUntilDone(); } @@ -450,11 +459,11 @@ export class BatchEndpointsImpl implements BatchEndpoints { resourceGroupName: string, workspaceName: string, endpointName: string, - options?: BatchEndpointsListKeysOptionalParams + options?: BatchEndpointsListKeysOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, endpointName, options }, - listKeysOperationSpec + listKeysOperationSpec, ); } @@ -469,11 +478,11 @@ export class BatchEndpointsImpl implements BatchEndpoints { resourceGroupName: string, workspaceName: string, nextLink: string, - options?: BatchEndpointsListNextOptionalParams + options?: BatchEndpointsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -481,30 +490,28 @@ export class BatchEndpointsImpl implements BatchEndpoints { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.BatchEndpointTrackedResourceArmPaginatedResult + bodyMapper: Mappers.BatchEndpointTrackedResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.count], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}", httpMethod: "DELETE", responses: { 200: {}, @@ -512,8 +519,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -521,22 +528,21 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.endpointName + Parameters.endpointName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.BatchEndpoint + bodyMapper: Mappers.BatchEndpoint, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -544,90 +550,87 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.endpointName + Parameters.endpointName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.BatchEndpoint + bodyMapper: Mappers.BatchEndpoint, }, 201: { - bodyMapper: Mappers.BatchEndpoint + bodyMapper: Mappers.BatchEndpoint, }, 202: { - bodyMapper: Mappers.BatchEndpoint + bodyMapper: Mappers.BatchEndpoint, }, 204: { - bodyMapper: Mappers.BatchEndpoint + bodyMapper: Mappers.BatchEndpoint, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body, + requestBody: Parameters.body14, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.endpointName1 + Parameters.endpointName1, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.BatchEndpoint + bodyMapper: Mappers.BatchEndpoint, }, 201: { - bodyMapper: Mappers.BatchEndpoint + bodyMapper: Mappers.BatchEndpoint, }, 202: { - bodyMapper: Mappers.BatchEndpoint + bodyMapper: Mappers.BatchEndpoint, }, 204: { - bodyMapper: Mappers.BatchEndpoint + bodyMapper: Mappers.BatchEndpoint, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body1, + requestBody: Parameters.body15, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.endpointName1 + Parameters.endpointName1, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listKeysOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/listkeys", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/listkeys", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.EndpointAuthKeys + bodyMapper: Mappers.EndpointAuthKeys, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -635,30 +638,29 @@ const listKeysOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.endpointName + Parameters.endpointName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.BatchEndpointTrackedResourceArmPaginatedResult + bodyMapper: Mappers.BatchEndpointTrackedResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.count], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/codeContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/codeContainers.ts index 67e964d179c1..1944b108db4e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/codeContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/codeContainers.ts @@ -12,7 +12,7 @@ import { CodeContainers } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { CodeContainer, CodeContainersListNextOptionalParams, @@ -23,19 +23,19 @@ import { CodeContainersGetResponse, CodeContainersCreateOrUpdateOptionalParams, CodeContainersCreateOrUpdateResponse, - CodeContainersListNextResponse + CodeContainersListNextResponse, } from "../models"; /// /** Class containing CodeContainers operations. */ export class CodeContainersImpl implements CodeContainers { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class CodeContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -48,7 +48,7 @@ export class CodeContainersImpl implements CodeContainers { public list( resourceGroupName: string, workspaceName: string, - options?: CodeContainersListOptionalParams + options?: CodeContainersListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -66,9 +66,9 @@ export class CodeContainersImpl implements CodeContainers { resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -76,7 +76,7 @@ export class CodeContainersImpl implements CodeContainers { resourceGroupName: string, workspaceName: string, options?: CodeContainersListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: CodeContainersListResponse; let continuationToken = settings?.continuationToken; @@ -92,7 +92,7 @@ export class CodeContainersImpl implements CodeContainers { resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -104,12 +104,12 @@ export class CodeContainersImpl implements CodeContainers { private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: CodeContainersListOptionalParams + options?: CodeContainersListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -124,11 +124,11 @@ export class CodeContainersImpl implements CodeContainers { private _list( resourceGroupName: string, workspaceName: string, - options?: CodeContainersListOptionalParams + options?: CodeContainersListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -143,11 +143,11 @@ export class CodeContainersImpl implements CodeContainers { resourceGroupName: string, workspaceName: string, name: string, - options?: CodeContainersDeleteOptionalParams + options?: CodeContainersDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -162,11 +162,11 @@ export class CodeContainersImpl implements CodeContainers { resourceGroupName: string, workspaceName: string, name: string, - options?: CodeContainersGetOptionalParams + options?: CodeContainersGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, options }, - getOperationSpec + getOperationSpec, ); } @@ -183,11 +183,11 @@ export class CodeContainersImpl implements CodeContainers { workspaceName: string, name: string, body: CodeContainer, - options?: CodeContainersCreateOrUpdateOptionalParams + options?: CodeContainersCreateOrUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, body, options }, - createOrUpdateOperationSpec + createOrUpdateOperationSpec, ); } @@ -202,11 +202,11 @@ export class CodeContainersImpl implements CodeContainers { resourceGroupName: string, workspaceName: string, nextLink: string, - options?: CodeContainersListNextOptionalParams + options?: CodeContainersListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -214,37 +214,35 @@ export class CodeContainersImpl implements CodeContainers { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CodeContainerResourceArmPaginatedResult + bodyMapper: Mappers.CodeContainerResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.skip], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -252,22 +250,21 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CodeContainer + bodyMapper: Mappers.CodeContainer, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -275,58 +272,56 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.CodeContainer + bodyMapper: Mappers.CodeContainer, }, 201: { - bodyMapper: Mappers.CodeContainer + bodyMapper: Mappers.CodeContainer, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body4, + requestBody: Parameters.body2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name1 + Parameters.name1, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CodeContainerResourceArmPaginatedResult + bodyMapper: Mappers.CodeContainerResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [Parameters.apiVersion, Parameters.skip], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/codeVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/codeVersions.ts index aecb1bc79fd7..8764640c75de 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/codeVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/codeVersions.ts @@ -12,7 +12,13 @@ import { CodeVersions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; import { CodeVersion, CodeVersionsListNextOptionalParams, @@ -23,19 +29,24 @@ import { CodeVersionsGetResponse, CodeVersionsCreateOrUpdateOptionalParams, CodeVersionsCreateOrUpdateResponse, - CodeVersionsListNextResponse + DestinationAsset, + CodeVersionsPublishOptionalParams, + PendingUploadRequestDto, + CodeVersionsCreateOrGetStartPendingUploadOptionalParams, + CodeVersionsCreateOrGetStartPendingUploadResponse, + CodeVersionsListNextResponse, } from "../models"; /// /** Class containing CodeVersions operations. */ export class CodeVersionsImpl implements CodeVersions { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class CodeVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -50,13 +61,13 @@ export class CodeVersionsImpl implements CodeVersions { resourceGroupName: string, workspaceName: string, name: string, - options?: CodeVersionsListOptionalParams + options?: CodeVersionsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll( resourceGroupName, workspaceName, name, - options + options, ); return { next() { @@ -74,9 +85,9 @@ export class CodeVersionsImpl implements CodeVersions { workspaceName, name, options, - settings + settings, ); - } + }, }; } @@ -85,7 +96,7 @@ export class CodeVersionsImpl implements CodeVersions { workspaceName: string, name: string, options?: CodeVersionsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: CodeVersionsListResponse; let continuationToken = settings?.continuationToken; @@ -94,7 +105,7 @@ export class CodeVersionsImpl implements CodeVersions { resourceGroupName, workspaceName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -107,7 +118,7 @@ export class CodeVersionsImpl implements CodeVersions { workspaceName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -120,13 +131,13 @@ export class CodeVersionsImpl implements CodeVersions { resourceGroupName: string, workspaceName: string, name: string, - options?: CodeVersionsListOptionalParams + options?: CodeVersionsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, name, - options + options, )) { yield* page; } @@ -143,11 +154,11 @@ export class CodeVersionsImpl implements CodeVersions { resourceGroupName: string, workspaceName: string, name: string, - options?: CodeVersionsListOptionalParams + options?: CodeVersionsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, options }, - listOperationSpec + listOperationSpec, ); } @@ -164,11 +175,11 @@ export class CodeVersionsImpl implements CodeVersions { workspaceName: string, name: string, version: string, - options?: CodeVersionsDeleteOptionalParams + options?: CodeVersionsDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, version, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -185,11 +196,11 @@ export class CodeVersionsImpl implements CodeVersions { workspaceName: string, name: string, version: string, - options?: CodeVersionsGetOptionalParams + options?: CodeVersionsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, version, options }, - getOperationSpec + getOperationSpec, ); } @@ -208,11 +219,131 @@ export class CodeVersionsImpl implements CodeVersions { name: string, version: string, body: CodeVersion, - options?: CodeVersionsCreateOrUpdateOptionalParams + options?: CodeVersionsCreateOrUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, version, body, options }, - createOrUpdateOperationSpec + createOrUpdateOperationSpec, + ); + } + + /** + * Publish version asset into registry. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. + * @param version Version identifier. + * @param body Destination registry info + * @param options The options parameters. + */ + async beginPublish( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: DestinationAsset, + options?: CodeVersionsPublishOptionalParams, + ): Promise, void>> { + 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, workspaceName, name, version, body, options }, + spec: publishOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Publish version asset into registry. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. + * @param version Version identifier. + * @param body Destination registry info + * @param options The options parameters. + */ + async beginPublishAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: DestinationAsset, + options?: CodeVersionsPublishOptionalParams, + ): Promise { + const poller = await this.beginPublish( + resourceGroupName, + workspaceName, + name, + version, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Generate a storage location and credential for the client to upload a code asset to. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Pending upload request object + * @param options The options parameters. + */ + createOrGetStartPendingUpload( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: PendingUploadRequestDto, + options?: CodeVersionsCreateOrGetStartPendingUploadOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, name, version, body, options }, + createOrGetStartPendingUploadOperationSpec, ); } @@ -229,11 +360,11 @@ export class CodeVersionsImpl implements CodeVersions { workspaceName: string, name: string, nextLink: string, - options?: CodeVersionsListNextOptionalParams + options?: CodeVersionsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -241,43 +372,43 @@ export class CodeVersionsImpl implements CodeVersions { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CodeVersionResourceArmPaginatedResult + bodyMapper: Mappers.CodeVersionResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.skip, Parameters.orderBy, - Parameters.top + Parameters.top, + Parameters.hash, + Parameters.hashVersion, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -285,23 +416,22 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, + Parameters.version, Parameters.name, - Parameters.version ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CodeVersion + bodyMapper: Mappers.CodeVersion, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -309,66 +439,110 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, + Parameters.version, Parameters.name, - Parameters.version ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.CodeVersion + bodyMapper: Mappers.CodeVersion, }, 201: { - bodyMapper: Mappers.CodeVersion + bodyMapper: Mappers.CodeVersion, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body5, + requestBody: Parameters.body3, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, + Parameters.version, Parameters.name1, - Parameters.version ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, +}; +const publishOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}/publish", + httpMethod: "POST", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body18, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.version, + Parameters.name, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const createOrGetStartPendingUploadOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}/startPendingUpload", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.PendingUploadResponseDto, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body4, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.version, + Parameters.name, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CodeVersionResourceArmPaginatedResult + bodyMapper: Mappers.CodeVersionResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.orderBy, - Parameters.top - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, Parameters.nextLink, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/componentContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/componentContainers.ts index 26779c163b36..40c9c2e045e0 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/componentContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/componentContainers.ts @@ -12,7 +12,7 @@ import { ComponentContainers } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { ComponentContainer, ComponentContainersListNextOptionalParams, @@ -23,19 +23,19 @@ import { ComponentContainersGetResponse, ComponentContainersCreateOrUpdateOptionalParams, ComponentContainersCreateOrUpdateResponse, - ComponentContainersListNextResponse + ComponentContainersListNextResponse, } from "../models"; /// /** Class containing ComponentContainers operations. */ export class ComponentContainersImpl implements ComponentContainers { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class ComponentContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -48,7 +48,7 @@ export class ComponentContainersImpl implements ComponentContainers { public list( resourceGroupName: string, workspaceName: string, - options?: ComponentContainersListOptionalParams + options?: ComponentContainersListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -66,9 +66,9 @@ export class ComponentContainersImpl implements ComponentContainers { resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -76,7 +76,7 @@ export class ComponentContainersImpl implements ComponentContainers { resourceGroupName: string, workspaceName: string, options?: ComponentContainersListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ComponentContainersListResponse; let continuationToken = settings?.continuationToken; @@ -92,7 +92,7 @@ export class ComponentContainersImpl implements ComponentContainers { resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -104,12 +104,12 @@ export class ComponentContainersImpl implements ComponentContainers { private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: ComponentContainersListOptionalParams + options?: ComponentContainersListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -124,11 +124,11 @@ export class ComponentContainersImpl implements ComponentContainers { private _list( resourceGroupName: string, workspaceName: string, - options?: ComponentContainersListOptionalParams + options?: ComponentContainersListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -143,11 +143,11 @@ export class ComponentContainersImpl implements ComponentContainers { resourceGroupName: string, workspaceName: string, name: string, - options?: ComponentContainersDeleteOptionalParams + options?: ComponentContainersDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -162,11 +162,11 @@ export class ComponentContainersImpl implements ComponentContainers { resourceGroupName: string, workspaceName: string, name: string, - options?: ComponentContainersGetOptionalParams + options?: ComponentContainersGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, options }, - getOperationSpec + getOperationSpec, ); } @@ -183,11 +183,11 @@ export class ComponentContainersImpl implements ComponentContainers { workspaceName: string, name: string, body: ComponentContainer, - options?: ComponentContainersCreateOrUpdateOptionalParams + options?: ComponentContainersCreateOrUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, body, options }, - createOrUpdateOperationSpec + createOrUpdateOperationSpec, ); } @@ -202,11 +202,11 @@ export class ComponentContainersImpl implements ComponentContainers { resourceGroupName: string, workspaceName: string, nextLink: string, - options?: ComponentContainersListNextOptionalParams + options?: ComponentContainersListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -214,41 +214,39 @@ export class ComponentContainersImpl implements ComponentContainers { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ComponentContainerResourceArmPaginatedResult + bodyMapper: Mappers.ComponentContainerResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.skip, - Parameters.listViewType + Parameters.listViewType, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -256,22 +254,21 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ComponentContainer + bodyMapper: Mappers.ComponentContainer, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -279,62 +276,56 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.ComponentContainer + bodyMapper: Mappers.ComponentContainer, }, 201: { - bodyMapper: Mappers.ComponentContainer + bodyMapper: Mappers.ComponentContainer, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body6, + requestBody: Parameters.body5, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name1 + Parameters.name1, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ComponentContainerResourceArmPaginatedResult + bodyMapper: Mappers.ComponentContainerResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.listViewType - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/componentVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/componentVersions.ts index 4f84d94d01f1..a179ece7f80b 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/componentVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/componentVersions.ts @@ -12,7 +12,13 @@ import { ComponentVersions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; import { ComponentVersion, ComponentVersionsListNextOptionalParams, @@ -23,19 +29,21 @@ import { ComponentVersionsGetResponse, ComponentVersionsCreateOrUpdateOptionalParams, ComponentVersionsCreateOrUpdateResponse, - ComponentVersionsListNextResponse + DestinationAsset, + ComponentVersionsPublishOptionalParams, + ComponentVersionsListNextResponse, } from "../models"; /// /** Class containing ComponentVersions operations. */ export class ComponentVersionsImpl implements ComponentVersions { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class ComponentVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -50,13 +58,13 @@ export class ComponentVersionsImpl implements ComponentVersions { resourceGroupName: string, workspaceName: string, name: string, - options?: ComponentVersionsListOptionalParams + options?: ComponentVersionsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll( resourceGroupName, workspaceName, name, - options + options, ); return { next() { @@ -74,9 +82,9 @@ export class ComponentVersionsImpl implements ComponentVersions { workspaceName, name, options, - settings + settings, ); - } + }, }; } @@ -85,7 +93,7 @@ export class ComponentVersionsImpl implements ComponentVersions { workspaceName: string, name: string, options?: ComponentVersionsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ComponentVersionsListResponse; let continuationToken = settings?.continuationToken; @@ -94,7 +102,7 @@ export class ComponentVersionsImpl implements ComponentVersions { resourceGroupName, workspaceName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -107,7 +115,7 @@ export class ComponentVersionsImpl implements ComponentVersions { workspaceName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -120,13 +128,13 @@ export class ComponentVersionsImpl implements ComponentVersions { resourceGroupName: string, workspaceName: string, name: string, - options?: ComponentVersionsListOptionalParams + options?: ComponentVersionsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, name, - options + options, )) { yield* page; } @@ -143,11 +151,11 @@ export class ComponentVersionsImpl implements ComponentVersions { resourceGroupName: string, workspaceName: string, name: string, - options?: ComponentVersionsListOptionalParams + options?: ComponentVersionsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, options }, - listOperationSpec + listOperationSpec, ); } @@ -164,11 +172,11 @@ export class ComponentVersionsImpl implements ComponentVersions { workspaceName: string, name: string, version: string, - options?: ComponentVersionsDeleteOptionalParams + options?: ComponentVersionsDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, version, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -185,11 +193,11 @@ export class ComponentVersionsImpl implements ComponentVersions { workspaceName: string, name: string, version: string, - options?: ComponentVersionsGetOptionalParams + options?: ComponentVersionsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, version, options }, - getOperationSpec + getOperationSpec, ); } @@ -208,12 +216,109 @@ export class ComponentVersionsImpl implements ComponentVersions { name: string, version: string, body: ComponentVersion, - options?: ComponentVersionsCreateOrUpdateOptionalParams + options?: ComponentVersionsCreateOrUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, version, body, options }, - createOrUpdateOperationSpec + createOrUpdateOperationSpec, + ); + } + + /** + * Publish version asset into registry. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. + * @param version Version identifier. + * @param body Destination registry info + * @param options The options parameters. + */ + async beginPublish( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: DestinationAsset, + options?: ComponentVersionsPublishOptionalParams, + ): Promise, void>> { + 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, workspaceName, name, version, body, options }, + spec: publishOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Publish version asset into registry. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. + * @param version Version identifier. + * @param body Destination registry info + * @param options The options parameters. + */ + async beginPublishAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: DestinationAsset, + options?: ComponentVersionsPublishOptionalParams, + ): Promise { + const poller = await this.beginPublish( + resourceGroupName, + workspaceName, + name, + version, + body, + options, ); + return poller.pollUntilDone(); } /** @@ -229,11 +334,11 @@ export class ComponentVersionsImpl implements ComponentVersions { workspaceName: string, name: string, nextLink: string, - options?: ComponentVersionsListNextOptionalParams + options?: ComponentVersionsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -241,44 +346,42 @@ export class ComponentVersionsImpl implements ComponentVersions { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ComponentVersionResourceArmPaginatedResult + bodyMapper: Mappers.ComponentVersionResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.skip, Parameters.orderBy, Parameters.top, - Parameters.listViewType + Parameters.listViewType, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions/{version}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions/{version}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -286,23 +389,22 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, + Parameters.version, Parameters.name, - Parameters.version ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions/{version}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions/{version}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ComponentVersion + bodyMapper: Mappers.ComponentVersion, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -310,67 +412,85 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, + Parameters.version, Parameters.name, - Parameters.version ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions/{version}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions/{version}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.ComponentVersion + bodyMapper: Mappers.ComponentVersion, }, 201: { - bodyMapper: Mappers.ComponentVersion + bodyMapper: Mappers.ComponentVersion, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body7, + requestBody: Parameters.body6, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, + Parameters.version, Parameters.name1, - Parameters.version ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, +}; +const publishOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions/{version}/publish", + httpMethod: "POST", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body18, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.version, + Parameters.name, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ComponentVersionResourceArmPaginatedResult + bodyMapper: Mappers.ComponentVersionResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.orderBy, - Parameters.top, - Parameters.listViewType - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, Parameters.nextLink, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/computeOperations.ts b/sdk/machinelearning/arm-machinelearning/src/operations/computeOperations.ts index 702e18d066aa..bef818a5f3a0 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/computeOperations.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/computeOperations.ts @@ -12,9 +12,13 @@ import { ComputeOperations } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; -import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; -import { LroImpl } from "../lroImpl"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; import { ComputeResource, ComputeListNextOptionalParams, @@ -39,19 +43,19 @@ import { ComputeStopOptionalParams, ComputeRestartOptionalParams, ComputeListNextResponse, - ComputeListNodesNextResponse + ComputeListNodesNextResponse, } from "../models"; /// /** Class containing ComputeOperations operations. */ export class ComputeOperationsImpl implements ComputeOperations { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class ComputeOperations class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -64,7 +68,7 @@ export class ComputeOperationsImpl implements ComputeOperations { public list( resourceGroupName: string, workspaceName: string, - options?: ComputeListOptionalParams + options?: ComputeListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -82,9 +86,9 @@ export class ComputeOperationsImpl implements ComputeOperations { resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -92,7 +96,7 @@ export class ComputeOperationsImpl implements ComputeOperations { resourceGroupName: string, workspaceName: string, options?: ComputeListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ComputeListResponse; let continuationToken = settings?.continuationToken; @@ -108,7 +112,7 @@ export class ComputeOperationsImpl implements ComputeOperations { resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -120,12 +124,12 @@ export class ComputeOperationsImpl implements ComputeOperations { private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: ComputeListOptionalParams + options?: ComputeListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -142,13 +146,13 @@ export class ComputeOperationsImpl implements ComputeOperations { resourceGroupName: string, workspaceName: string, computeName: string, - options?: ComputeListNodesOptionalParams + options?: ComputeListNodesOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listNodesPagingAll( resourceGroupName, workspaceName, computeName, - options + options, ); return { next() { @@ -166,9 +170,9 @@ export class ComputeOperationsImpl implements ComputeOperations { workspaceName, computeName, options, - settings + settings, ); - } + }, }; } @@ -177,7 +181,7 @@ export class ComputeOperationsImpl implements ComputeOperations { workspaceName: string, computeName: string, options?: ComputeListNodesOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ComputeListNodesResponse; let continuationToken = settings?.continuationToken; @@ -186,7 +190,7 @@ export class ComputeOperationsImpl implements ComputeOperations { resourceGroupName, workspaceName, computeName, - options + options, ); let page = result.nodes || []; continuationToken = result.nextLink; @@ -199,7 +203,7 @@ export class ComputeOperationsImpl implements ComputeOperations { workspaceName, computeName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.nodes || []; @@ -212,13 +216,13 @@ export class ComputeOperationsImpl implements ComputeOperations { resourceGroupName: string, workspaceName: string, computeName: string, - options?: ComputeListNodesOptionalParams + options?: ComputeListNodesOptionalParams, ): AsyncIterableIterator { for await (const page of this.listNodesPagingPage( resourceGroupName, workspaceName, computeName, - options + options, )) { yield* page; } @@ -233,11 +237,11 @@ export class ComputeOperationsImpl implements ComputeOperations { private _list( resourceGroupName: string, workspaceName: string, - options?: ComputeListOptionalParams + options?: ComputeListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -253,11 +257,11 @@ export class ComputeOperationsImpl implements ComputeOperations { resourceGroupName: string, workspaceName: string, computeName: string, - options?: ComputeGetOptionalParams + options?: ComputeGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, computeName, options }, - getOperationSpec + getOperationSpec, ); } @@ -276,30 +280,29 @@ export class ComputeOperationsImpl implements ComputeOperations { workspaceName: string, computeName: string, parameters: ComputeResource, - options?: ComputeCreateOrUpdateOptionalParams + options?: ComputeCreateOrUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, ComputeCreateOrUpdateResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -308,8 +311,8 @@ export class ComputeOperationsImpl implements ComputeOperations { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -317,19 +320,28 @@ export class ComputeOperationsImpl implements ComputeOperations { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, workspaceName, computeName, parameters, options }, - createOrUpdateOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + computeName, + parameters, + options, + }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + ComputeCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -350,14 +362,14 @@ export class ComputeOperationsImpl implements ComputeOperations { workspaceName: string, computeName: string, parameters: ComputeResource, - options?: ComputeCreateOrUpdateOptionalParams + options?: ComputeCreateOrUpdateOptionalParams, ): Promise { const poller = await this.beginCreateOrUpdate( resourceGroupName, workspaceName, computeName, parameters, - options + options, ); return poller.pollUntilDone(); } @@ -376,27 +388,29 @@ export class ComputeOperationsImpl implements ComputeOperations { workspaceName: string, computeName: string, parameters: ClusterUpdateParameters, - options?: ComputeUpdateOptionalParams + options?: ComputeUpdateOptionalParams, ): Promise< - PollerLike, ComputeUpdateResponse> + SimplePollerLike< + OperationState, + ComputeUpdateResponse + > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -405,8 +419,8 @@ export class ComputeOperationsImpl implements ComputeOperations { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -414,19 +428,28 @@ export class ComputeOperationsImpl implements ComputeOperations { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, workspaceName, computeName, parameters, options }, - updateOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + computeName, + parameters, + options, + }, + spec: updateOperationSpec, + }); + const poller = await createHttpPoller< + ComputeUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -446,14 +469,14 @@ export class ComputeOperationsImpl implements ComputeOperations { workspaceName: string, computeName: string, parameters: ClusterUpdateParameters, - options?: ComputeUpdateOptionalParams + options?: ComputeUpdateOptionalParams, ): Promise { const poller = await this.beginUpdate( resourceGroupName, workspaceName, computeName, parameters, - options + options, ); return poller.pollUntilDone(); } @@ -472,25 +495,24 @@ export class ComputeOperationsImpl implements ComputeOperations { workspaceName: string, computeName: string, underlyingResourceAction: UnderlyingResourceAction, - options?: ComputeDeleteOptionalParams - ): Promise, void>> { + options?: ComputeDeleteOptionalParams, + ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -499,8 +521,8 @@ export class ComputeOperationsImpl implements ComputeOperations { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -508,25 +530,25 @@ export class ComputeOperationsImpl implements ComputeOperations { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, computeName, underlyingResourceAction, - options + options, }, - deleteOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -546,14 +568,14 @@ export class ComputeOperationsImpl implements ComputeOperations { workspaceName: string, computeName: string, underlyingResourceAction: UnderlyingResourceAction, - options?: ComputeDeleteOptionalParams + options?: ComputeDeleteOptionalParams, ): Promise { const poller = await this.beginDelete( resourceGroupName, workspaceName, computeName, underlyingResourceAction, - options + options, ); return poller.pollUntilDone(); } @@ -569,11 +591,11 @@ export class ComputeOperationsImpl implements ComputeOperations { resourceGroupName: string, workspaceName: string, computeName: string, - options?: ComputeListNodesOptionalParams + options?: ComputeListNodesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, computeName, options }, - listNodesOperationSpec + listNodesOperationSpec, ); } @@ -588,11 +610,11 @@ export class ComputeOperationsImpl implements ComputeOperations { resourceGroupName: string, workspaceName: string, computeName: string, - options?: ComputeListKeysOptionalParams + options?: ComputeListKeysOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, computeName, options }, - listKeysOperationSpec + listKeysOperationSpec, ); } @@ -607,25 +629,24 @@ export class ComputeOperationsImpl implements ComputeOperations { resourceGroupName: string, workspaceName: string, computeName: string, - options?: ComputeStartOptionalParams - ): Promise, void>> { + options?: ComputeStartOptionalParams, + ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -634,8 +655,8 @@ export class ComputeOperationsImpl implements ComputeOperations { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -643,19 +664,19 @@ export class ComputeOperationsImpl implements ComputeOperations { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, workspaceName, computeName, options }, - startOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, computeName, options }, + spec: startOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -672,13 +693,13 @@ export class ComputeOperationsImpl implements ComputeOperations { resourceGroupName: string, workspaceName: string, computeName: string, - options?: ComputeStartOptionalParams + options?: ComputeStartOptionalParams, ): Promise { const poller = await this.beginStart( resourceGroupName, workspaceName, computeName, - options + options, ); return poller.pollUntilDone(); } @@ -694,25 +715,24 @@ export class ComputeOperationsImpl implements ComputeOperations { resourceGroupName: string, workspaceName: string, computeName: string, - options?: ComputeStopOptionalParams - ): Promise, void>> { + options?: ComputeStopOptionalParams, + ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -721,8 +741,8 @@ export class ComputeOperationsImpl implements ComputeOperations { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -730,19 +750,19 @@ export class ComputeOperationsImpl implements ComputeOperations { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, workspaceName, computeName, options }, - stopOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, computeName, options }, + spec: stopOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -759,13 +779,13 @@ export class ComputeOperationsImpl implements ComputeOperations { resourceGroupName: string, workspaceName: string, computeName: string, - options?: ComputeStopOptionalParams + options?: ComputeStopOptionalParams, ): Promise { const poller = await this.beginStop( resourceGroupName, workspaceName, computeName, - options + options, ); return poller.pollUntilDone(); } @@ -781,25 +801,24 @@ export class ComputeOperationsImpl implements ComputeOperations { resourceGroupName: string, workspaceName: string, computeName: string, - options?: ComputeRestartOptionalParams - ): Promise, void>> { + options?: ComputeRestartOptionalParams, + ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -808,8 +827,8 @@ export class ComputeOperationsImpl implements ComputeOperations { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -817,19 +836,19 @@ export class ComputeOperationsImpl implements ComputeOperations { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, workspaceName, computeName, options }, - restartOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, computeName, options }, + spec: restartOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -846,13 +865,13 @@ export class ComputeOperationsImpl implements ComputeOperations { resourceGroupName: string, workspaceName: string, computeName: string, - options?: ComputeRestartOptionalParams + options?: ComputeRestartOptionalParams, ): Promise { const poller = await this.beginRestart( resourceGroupName, workspaceName, computeName, - options + options, ); return poller.pollUntilDone(); } @@ -868,11 +887,11 @@ export class ComputeOperationsImpl implements ComputeOperations { resourceGroupName: string, workspaceName: string, nextLink: string, - options?: ComputeListNextOptionalParams + options?: ComputeListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } @@ -889,11 +908,11 @@ export class ComputeOperationsImpl implements ComputeOperations { workspaceName: string, computeName: string, nextLink: string, - options?: ComputeListNodesNextOptionalParams + options?: ComputeListNodesNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, computeName, nextLink, options }, - listNodesNextOperationSpec + listNodesNextOperationSpec, ); } } @@ -901,38 +920,36 @@ export class ComputeOperationsImpl implements ComputeOperations { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.PaginatedComputeResourcesList + bodyMapper: Mappers.PaginatedComputeResourcesList, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.skip], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ComputeResource + bodyMapper: Mappers.ComputeResource, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -940,31 +957,30 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.computeName + Parameters.computeName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.ComputeResource + bodyMapper: Mappers.ComputeResource, }, 201: { - bodyMapper: Mappers.ComputeResource + bodyMapper: Mappers.ComputeResource, }, 202: { - bodyMapper: Mappers.ComputeResource + bodyMapper: Mappers.ComputeResource, }, 204: { - bodyMapper: Mappers.ComputeResource + bodyMapper: Mappers.ComputeResource, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, requestBody: Parameters.parameters4, queryParameters: [Parameters.apiVersion], @@ -973,32 +989,31 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.computeName + Parameters.computeName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const updateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.ComputeResource + bodyMapper: Mappers.ComputeResource, }, 201: { - bodyMapper: Mappers.ComputeResource + bodyMapper: Mappers.ComputeResource, }, 202: { - bodyMapper: Mappers.ComputeResource + bodyMapper: Mappers.ComputeResource, }, 204: { - bodyMapper: Mappers.ComputeResource + bodyMapper: Mappers.ComputeResource, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, requestBody: Parameters.parameters5, queryParameters: [Parameters.apiVersion], @@ -1007,15 +1022,14 @@ const updateOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.computeName + Parameters.computeName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}", httpMethod: "DELETE", responses: { 200: {}, @@ -1023,8 +1037,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.underlyingResourceAction], urlParameters: [ @@ -1032,22 +1046,21 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.computeName + Parameters.computeName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNodesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listNodes", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listNodes", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.AmlComputeNodesInformation + bodyMapper: Mappers.AmlComputeNodesInformation, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1055,22 +1068,21 @@ const listNodesOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.computeName + Parameters.computeName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listKeysOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listKeys", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listKeys", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.ComputeSecrets + bodyMapper: Mappers.ComputeSecrets, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1078,14 +1090,13 @@ const listKeysOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.computeName + Parameters.computeName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const startOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/start", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/start", httpMethod: "POST", responses: { 200: {}, @@ -1093,8 +1104,8 @@ const startOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1102,14 +1113,13 @@ const startOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.computeName + Parameters.computeName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const stopOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/stop", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/stop", httpMethod: "POST", responses: { 200: {}, @@ -1117,8 +1127,8 @@ const stopOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1126,14 +1136,13 @@ const stopOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.computeName + Parameters.computeName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const restartOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/restart", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/restart", httpMethod: "POST", responses: { 200: {}, @@ -1141,8 +1150,8 @@ const restartOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1150,53 +1159,51 @@ const restartOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.computeName + Parameters.computeName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.PaginatedComputeResourcesList + bodyMapper: Mappers.PaginatedComputeResourcesList, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [Parameters.apiVersion, Parameters.skip], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNodesNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AmlComputeNodesInformation + bodyMapper: Mappers.AmlComputeNodesInformation, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, Parameters.nextLink, - Parameters.computeName + Parameters.computeName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/dataContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/dataContainers.ts index 919fb4a2dcec..0e9680ef655b 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/dataContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/dataContainers.ts @@ -12,7 +12,7 @@ import { DataContainers } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { DataContainer, DataContainersListNextOptionalParams, @@ -23,19 +23,19 @@ import { DataContainersGetResponse, DataContainersCreateOrUpdateOptionalParams, DataContainersCreateOrUpdateResponse, - DataContainersListNextResponse + DataContainersListNextResponse, } from "../models"; /// /** Class containing DataContainers operations. */ export class DataContainersImpl implements DataContainers { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class DataContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -48,7 +48,7 @@ export class DataContainersImpl implements DataContainers { public list( resourceGroupName: string, workspaceName: string, - options?: DataContainersListOptionalParams + options?: DataContainersListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -66,9 +66,9 @@ export class DataContainersImpl implements DataContainers { resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -76,7 +76,7 @@ export class DataContainersImpl implements DataContainers { resourceGroupName: string, workspaceName: string, options?: DataContainersListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: DataContainersListResponse; let continuationToken = settings?.continuationToken; @@ -92,7 +92,7 @@ export class DataContainersImpl implements DataContainers { resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -104,12 +104,12 @@ export class DataContainersImpl implements DataContainers { private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: DataContainersListOptionalParams + options?: DataContainersListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -124,11 +124,11 @@ export class DataContainersImpl implements DataContainers { private _list( resourceGroupName: string, workspaceName: string, - options?: DataContainersListOptionalParams + options?: DataContainersListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -143,11 +143,11 @@ export class DataContainersImpl implements DataContainers { resourceGroupName: string, workspaceName: string, name: string, - options?: DataContainersDeleteOptionalParams + options?: DataContainersDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -162,11 +162,11 @@ export class DataContainersImpl implements DataContainers { resourceGroupName: string, workspaceName: string, name: string, - options?: DataContainersGetOptionalParams + options?: DataContainersGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, options }, - getOperationSpec + getOperationSpec, ); } @@ -183,11 +183,11 @@ export class DataContainersImpl implements DataContainers { workspaceName: string, name: string, body: DataContainer, - options?: DataContainersCreateOrUpdateOptionalParams + options?: DataContainersCreateOrUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, body, options }, - createOrUpdateOperationSpec + createOrUpdateOperationSpec, ); } @@ -202,11 +202,11 @@ export class DataContainersImpl implements DataContainers { resourceGroupName: string, workspaceName: string, nextLink: string, - options?: DataContainersListNextOptionalParams + options?: DataContainersListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -214,41 +214,39 @@ export class DataContainersImpl implements DataContainers { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DataContainerResourceArmPaginatedResult + bodyMapper: Mappers.DataContainerResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.skip, - Parameters.listViewType + Parameters.listViewType, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -256,22 +254,21 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DataContainer + bodyMapper: Mappers.DataContainer, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -279,62 +276,56 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.DataContainer + bodyMapper: Mappers.DataContainer, }, 201: { - bodyMapper: Mappers.DataContainer + bodyMapper: Mappers.DataContainer, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body8, + requestBody: Parameters.body7, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name1 + Parameters.name1, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DataContainerResourceArmPaginatedResult + bodyMapper: Mappers.DataContainerResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.listViewType - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/dataVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/dataVersions.ts index 30559627d079..ad2577633a34 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/dataVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/dataVersions.ts @@ -12,7 +12,13 @@ import { DataVersions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; import { DataVersionBase, DataVersionsListNextOptionalParams, @@ -23,19 +29,21 @@ import { DataVersionsGetResponse, DataVersionsCreateOrUpdateOptionalParams, DataVersionsCreateOrUpdateResponse, - DataVersionsListNextResponse + DestinationAsset, + DataVersionsPublishOptionalParams, + DataVersionsListNextResponse, } from "../models"; /// /** Class containing DataVersions operations. */ export class DataVersionsImpl implements DataVersions { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class DataVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -50,13 +58,13 @@ export class DataVersionsImpl implements DataVersions { resourceGroupName: string, workspaceName: string, name: string, - options?: DataVersionsListOptionalParams + options?: DataVersionsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll( resourceGroupName, workspaceName, name, - options + options, ); return { next() { @@ -74,9 +82,9 @@ export class DataVersionsImpl implements DataVersions { workspaceName, name, options, - settings + settings, ); - } + }, }; } @@ -85,7 +93,7 @@ export class DataVersionsImpl implements DataVersions { workspaceName: string, name: string, options?: DataVersionsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: DataVersionsListResponse; let continuationToken = settings?.continuationToken; @@ -94,7 +102,7 @@ export class DataVersionsImpl implements DataVersions { resourceGroupName, workspaceName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -107,7 +115,7 @@ export class DataVersionsImpl implements DataVersions { workspaceName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -120,13 +128,13 @@ export class DataVersionsImpl implements DataVersions { resourceGroupName: string, workspaceName: string, name: string, - options?: DataVersionsListOptionalParams + options?: DataVersionsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, name, - options + options, )) { yield* page; } @@ -143,11 +151,11 @@ export class DataVersionsImpl implements DataVersions { resourceGroupName: string, workspaceName: string, name: string, - options?: DataVersionsListOptionalParams + options?: DataVersionsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, options }, - listOperationSpec + listOperationSpec, ); } @@ -164,11 +172,11 @@ export class DataVersionsImpl implements DataVersions { workspaceName: string, name: string, version: string, - options?: DataVersionsDeleteOptionalParams + options?: DataVersionsDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, version, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -185,11 +193,11 @@ export class DataVersionsImpl implements DataVersions { workspaceName: string, name: string, version: string, - options?: DataVersionsGetOptionalParams + options?: DataVersionsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, version, options }, - getOperationSpec + getOperationSpec, ); } @@ -208,14 +216,111 @@ export class DataVersionsImpl implements DataVersions { name: string, version: string, body: DataVersionBase, - options?: DataVersionsCreateOrUpdateOptionalParams + options?: DataVersionsCreateOrUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, version, body, options }, - createOrUpdateOperationSpec + createOrUpdateOperationSpec, ); } + /** + * Publish version asset into registry. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. + * @param version Version identifier. + * @param body Destination registry info + * @param options The options parameters. + */ + async beginPublish( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: DestinationAsset, + options?: DataVersionsPublishOptionalParams, + ): Promise, void>> { + 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, workspaceName, name, version, body, options }, + spec: publishOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Publish version asset into registry. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. + * @param version Version identifier. + * @param body Destination registry info + * @param options The options parameters. + */ + async beginPublishAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: DestinationAsset, + options?: DataVersionsPublishOptionalParams, + ): Promise { + const poller = await this.beginPublish( + resourceGroupName, + workspaceName, + name, + version, + body, + options, + ); + return poller.pollUntilDone(); + } + /** * ListNext * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -229,11 +334,11 @@ export class DataVersionsImpl implements DataVersions { workspaceName: string, name: string, nextLink: string, - options?: DataVersionsListNextOptionalParams + options?: DataVersionsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -241,16 +346,15 @@ export class DataVersionsImpl implements DataVersions { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}/versions", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}/versions", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DataVersionBaseResourceArmPaginatedResult + bodyMapper: Mappers.DataVersionBaseResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, @@ -258,28 +362,27 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.orderBy, Parameters.top, Parameters.listViewType, - Parameters.tags + Parameters.tags, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}/versions/{version}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}/versions/{version}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -287,23 +390,22 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, + Parameters.version, Parameters.name, - Parameters.version ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}/versions/{version}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}/versions/{version}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DataVersionBase + bodyMapper: Mappers.DataVersionBase, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -311,68 +413,85 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, + Parameters.version, Parameters.name, - Parameters.version ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}/versions/{version}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}/versions/{version}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.DataVersionBase + bodyMapper: Mappers.DataVersionBase, }, 201: { - bodyMapper: Mappers.DataVersionBase + bodyMapper: Mappers.DataVersionBase, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body9, + requestBody: Parameters.body8, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, + Parameters.version, Parameters.name1, - Parameters.version ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, +}; +const publishOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}/versions/{version}/publish", + httpMethod: "POST", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body18, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.version, + Parameters.name, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DataVersionBaseResourceArmPaginatedResult + bodyMapper: Mappers.DataVersionBaseResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.orderBy, - Parameters.top, - Parameters.listViewType, - Parameters.tags - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, Parameters.nextLink, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/datastores.ts b/sdk/machinelearning/arm-machinelearning/src/operations/datastores.ts index d7879f3d50ca..9d097b24356f 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/datastores.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/datastores.ts @@ -12,7 +12,7 @@ import { Datastores } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { Datastore, DatastoresListNextOptionalParams, @@ -25,19 +25,19 @@ import { DatastoresCreateOrUpdateResponse, DatastoresListSecretsOptionalParams, DatastoresListSecretsResponse, - DatastoresListNextResponse + DatastoresListNextResponse, } from "../models"; /// /** Class containing Datastores operations. */ export class DatastoresImpl implements Datastores { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class Datastores class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -50,7 +50,7 @@ export class DatastoresImpl implements Datastores { public list( resourceGroupName: string, workspaceName: string, - options?: DatastoresListOptionalParams + options?: DatastoresListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -68,9 +68,9 @@ export class DatastoresImpl implements Datastores { resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -78,7 +78,7 @@ export class DatastoresImpl implements Datastores { resourceGroupName: string, workspaceName: string, options?: DatastoresListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: DatastoresListResponse; let continuationToken = settings?.continuationToken; @@ -94,7 +94,7 @@ export class DatastoresImpl implements Datastores { resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -106,12 +106,12 @@ export class DatastoresImpl implements Datastores { private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: DatastoresListOptionalParams + options?: DatastoresListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -126,11 +126,11 @@ export class DatastoresImpl implements Datastores { private _list( resourceGroupName: string, workspaceName: string, - options?: DatastoresListOptionalParams + options?: DatastoresListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -145,11 +145,11 @@ export class DatastoresImpl implements Datastores { resourceGroupName: string, workspaceName: string, name: string, - options?: DatastoresDeleteOptionalParams + options?: DatastoresDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -164,11 +164,11 @@ export class DatastoresImpl implements Datastores { resourceGroupName: string, workspaceName: string, name: string, - options?: DatastoresGetOptionalParams + options?: DatastoresGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, options }, - getOperationSpec + getOperationSpec, ); } @@ -185,11 +185,11 @@ export class DatastoresImpl implements Datastores { workspaceName: string, name: string, body: Datastore, - options?: DatastoresCreateOrUpdateOptionalParams + options?: DatastoresCreateOrUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, body, options }, - createOrUpdateOperationSpec + createOrUpdateOperationSpec, ); } @@ -204,11 +204,11 @@ export class DatastoresImpl implements Datastores { resourceGroupName: string, workspaceName: string, name: string, - options?: DatastoresListSecretsOptionalParams + options?: DatastoresListSecretsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, options }, - listSecretsOperationSpec + listSecretsOperationSpec, ); } @@ -223,11 +223,11 @@ export class DatastoresImpl implements Datastores { resourceGroupName: string, workspaceName: string, nextLink: string, - options?: DatastoresListNextOptionalParams + options?: DatastoresListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -235,16 +235,15 @@ export class DatastoresImpl implements Datastores { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DatastoreResourceArmPaginatedResult + bodyMapper: Mappers.DatastoreResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, @@ -254,27 +253,26 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.names, Parameters.searchText, Parameters.orderBy1, - Parameters.orderByAsc + Parameters.orderByAsc, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -282,22 +280,21 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.Datastore + bodyMapper: Mappers.Datastore, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -305,50 +302,48 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.Datastore + bodyMapper: Mappers.Datastore, }, 201: { - bodyMapper: Mappers.Datastore + bodyMapper: Mappers.Datastore, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body10, + requestBody: Parameters.body19, queryParameters: [Parameters.apiVersion, Parameters.skipValidation], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name1 + Parameters.name1, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listSecretsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name}/listSecrets", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name}/listSecrets", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.DatastoreSecrets + bodyMapper: Mappers.DatastoreSecrets, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -356,39 +351,29 @@ const listSecretsOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DatastoreResourceArmPaginatedResult + bodyMapper: Mappers.DatastoreResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.count1, - Parameters.isDefault, - Parameters.names, - Parameters.searchText, - Parameters.orderBy1, - Parameters.orderByAsc - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/environmentContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/environmentContainers.ts index 2dbf74f59490..f09c5a4ce034 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/environmentContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/environmentContainers.ts @@ -12,7 +12,7 @@ import { EnvironmentContainers } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { EnvironmentContainer, EnvironmentContainersListNextOptionalParams, @@ -23,19 +23,19 @@ import { EnvironmentContainersGetResponse, EnvironmentContainersCreateOrUpdateOptionalParams, EnvironmentContainersCreateOrUpdateResponse, - EnvironmentContainersListNextResponse + EnvironmentContainersListNextResponse, } from "../models"; /// /** Class containing EnvironmentContainers operations. */ export class EnvironmentContainersImpl implements EnvironmentContainers { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class EnvironmentContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -48,7 +48,7 @@ export class EnvironmentContainersImpl implements EnvironmentContainers { public list( resourceGroupName: string, workspaceName: string, - options?: EnvironmentContainersListOptionalParams + options?: EnvironmentContainersListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -66,9 +66,9 @@ export class EnvironmentContainersImpl implements EnvironmentContainers { resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -76,7 +76,7 @@ export class EnvironmentContainersImpl implements EnvironmentContainers { resourceGroupName: string, workspaceName: string, options?: EnvironmentContainersListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: EnvironmentContainersListResponse; let continuationToken = settings?.continuationToken; @@ -92,7 +92,7 @@ export class EnvironmentContainersImpl implements EnvironmentContainers { resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -104,12 +104,12 @@ export class EnvironmentContainersImpl implements EnvironmentContainers { private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: EnvironmentContainersListOptionalParams + options?: EnvironmentContainersListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -124,11 +124,11 @@ export class EnvironmentContainersImpl implements EnvironmentContainers { private _list( resourceGroupName: string, workspaceName: string, - options?: EnvironmentContainersListOptionalParams + options?: EnvironmentContainersListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -143,11 +143,11 @@ export class EnvironmentContainersImpl implements EnvironmentContainers { resourceGroupName: string, workspaceName: string, name: string, - options?: EnvironmentContainersDeleteOptionalParams + options?: EnvironmentContainersDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -162,11 +162,11 @@ export class EnvironmentContainersImpl implements EnvironmentContainers { resourceGroupName: string, workspaceName: string, name: string, - options?: EnvironmentContainersGetOptionalParams + options?: EnvironmentContainersGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, options }, - getOperationSpec + getOperationSpec, ); } @@ -183,11 +183,11 @@ export class EnvironmentContainersImpl implements EnvironmentContainers { workspaceName: string, name: string, body: EnvironmentContainer, - options?: EnvironmentContainersCreateOrUpdateOptionalParams + options?: EnvironmentContainersCreateOrUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, body, options }, - createOrUpdateOperationSpec + createOrUpdateOperationSpec, ); } @@ -202,11 +202,11 @@ export class EnvironmentContainersImpl implements EnvironmentContainers { resourceGroupName: string, workspaceName: string, nextLink: string, - options?: EnvironmentContainersListNextOptionalParams + options?: EnvironmentContainersListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -214,41 +214,39 @@ export class EnvironmentContainersImpl implements EnvironmentContainers { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.EnvironmentContainerResourceArmPaginatedResult + bodyMapper: Mappers.EnvironmentContainerResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.skip, - Parameters.listViewType + Parameters.listViewType, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -256,22 +254,21 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.EnvironmentContainer + bodyMapper: Mappers.EnvironmentContainer, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -279,62 +276,56 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.EnvironmentContainer + bodyMapper: Mappers.EnvironmentContainer, }, 201: { - bodyMapper: Mappers.EnvironmentContainer + bodyMapper: Mappers.EnvironmentContainer, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body11, + requestBody: Parameters.body10, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name1 + Parameters.name1, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.EnvironmentContainerResourceArmPaginatedResult + bodyMapper: Mappers.EnvironmentContainerResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.listViewType - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/environmentVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/environmentVersions.ts index eab18e455003..845e75d5ff11 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/environmentVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/environmentVersions.ts @@ -12,7 +12,13 @@ import { EnvironmentVersions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; import { EnvironmentVersion, EnvironmentVersionsListNextOptionalParams, @@ -23,19 +29,21 @@ import { EnvironmentVersionsGetResponse, EnvironmentVersionsCreateOrUpdateOptionalParams, EnvironmentVersionsCreateOrUpdateResponse, - EnvironmentVersionsListNextResponse + DestinationAsset, + EnvironmentVersionsPublishOptionalParams, + EnvironmentVersionsListNextResponse, } from "../models"; /// /** Class containing EnvironmentVersions operations. */ export class EnvironmentVersionsImpl implements EnvironmentVersions { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class EnvironmentVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -50,13 +58,13 @@ export class EnvironmentVersionsImpl implements EnvironmentVersions { resourceGroupName: string, workspaceName: string, name: string, - options?: EnvironmentVersionsListOptionalParams + options?: EnvironmentVersionsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll( resourceGroupName, workspaceName, name, - options + options, ); return { next() { @@ -74,9 +82,9 @@ export class EnvironmentVersionsImpl implements EnvironmentVersions { workspaceName, name, options, - settings + settings, ); - } + }, }; } @@ -85,7 +93,7 @@ export class EnvironmentVersionsImpl implements EnvironmentVersions { workspaceName: string, name: string, options?: EnvironmentVersionsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: EnvironmentVersionsListResponse; let continuationToken = settings?.continuationToken; @@ -94,7 +102,7 @@ export class EnvironmentVersionsImpl implements EnvironmentVersions { resourceGroupName, workspaceName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -107,7 +115,7 @@ export class EnvironmentVersionsImpl implements EnvironmentVersions { workspaceName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -120,13 +128,13 @@ export class EnvironmentVersionsImpl implements EnvironmentVersions { resourceGroupName: string, workspaceName: string, name: string, - options?: EnvironmentVersionsListOptionalParams + options?: EnvironmentVersionsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, name, - options + options, )) { yield* page; } @@ -143,11 +151,11 @@ export class EnvironmentVersionsImpl implements EnvironmentVersions { resourceGroupName: string, workspaceName: string, name: string, - options?: EnvironmentVersionsListOptionalParams + options?: EnvironmentVersionsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, options }, - listOperationSpec + listOperationSpec, ); } @@ -164,11 +172,11 @@ export class EnvironmentVersionsImpl implements EnvironmentVersions { workspaceName: string, name: string, version: string, - options?: EnvironmentVersionsDeleteOptionalParams + options?: EnvironmentVersionsDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, version, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -185,11 +193,11 @@ export class EnvironmentVersionsImpl implements EnvironmentVersions { workspaceName: string, name: string, version: string, - options?: EnvironmentVersionsGetOptionalParams + options?: EnvironmentVersionsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, version, options }, - getOperationSpec + getOperationSpec, ); } @@ -208,12 +216,109 @@ export class EnvironmentVersionsImpl implements EnvironmentVersions { name: string, version: string, body: EnvironmentVersion, - options?: EnvironmentVersionsCreateOrUpdateOptionalParams + options?: EnvironmentVersionsCreateOrUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, version, body, options }, - createOrUpdateOperationSpec + createOrUpdateOperationSpec, + ); + } + + /** + * Publish version asset into registry. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. + * @param version Version identifier. + * @param body Destination registry info + * @param options The options parameters. + */ + async beginPublish( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: DestinationAsset, + options?: EnvironmentVersionsPublishOptionalParams, + ): Promise, void>> { + 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, workspaceName, name, version, body, options }, + spec: publishOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Publish version asset into registry. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. + * @param version Version identifier. + * @param body Destination registry info + * @param options The options parameters. + */ + async beginPublishAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: DestinationAsset, + options?: EnvironmentVersionsPublishOptionalParams, + ): Promise { + const poller = await this.beginPublish( + resourceGroupName, + workspaceName, + name, + version, + body, + options, ); + return poller.pollUntilDone(); } /** @@ -229,11 +334,11 @@ export class EnvironmentVersionsImpl implements EnvironmentVersions { workspaceName: string, name: string, nextLink: string, - options?: EnvironmentVersionsListNextOptionalParams + options?: EnvironmentVersionsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -241,44 +346,42 @@ export class EnvironmentVersionsImpl implements EnvironmentVersions { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.EnvironmentVersionResourceArmPaginatedResult + bodyMapper: Mappers.EnvironmentVersionResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.skip, Parameters.orderBy, Parameters.top, - Parameters.listViewType + Parameters.listViewType, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions/{version}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions/{version}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -286,23 +389,22 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, + Parameters.version, Parameters.name, - Parameters.version ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions/{version}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions/{version}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.EnvironmentVersion + bodyMapper: Mappers.EnvironmentVersion, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -310,67 +412,85 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, + Parameters.version, Parameters.name, - Parameters.version ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions/{version}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions/{version}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.EnvironmentVersion + bodyMapper: Mappers.EnvironmentVersion, }, 201: { - bodyMapper: Mappers.EnvironmentVersion + bodyMapper: Mappers.EnvironmentVersion, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body12, + requestBody: Parameters.body11, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, + Parameters.version, Parameters.name1, - Parameters.version ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, +}; +const publishOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions/{version}/publish", + httpMethod: "POST", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body18, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.version, + Parameters.name, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.EnvironmentVersionResourceArmPaginatedResult + bodyMapper: Mappers.EnvironmentVersionResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.orderBy, - Parameters.top, - Parameters.listViewType - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, Parameters.nextLink, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/features.ts b/sdk/machinelearning/arm-machinelearning/src/operations/features.ts new file mode 100644 index 000000000000..2e3e10cf7d1c --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/features.ts @@ -0,0 +1,308 @@ +/* + * 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 { Features } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + Feature, + FeaturesListNextOptionalParams, + FeaturesListOptionalParams, + FeaturesListResponse, + FeaturesGetOptionalParams, + FeaturesGetResponse, + FeaturesListNextResponse, +} from "../models"; + +/// +/** Class containing Features operations. */ +export class FeaturesImpl implements Features { + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class Features class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List Features. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param featuresetName Featureset name. This is case-sensitive. + * @param featuresetVersion Featureset Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + featuresetName: string, + featuresetVersion: string, + options?: FeaturesListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + workspaceName, + featuresetName, + featuresetVersion, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + featuresetName, + featuresetVersion, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + featuresetName: string, + featuresetVersion: string, + options?: FeaturesListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: FeaturesListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + workspaceName, + featuresetName, + featuresetVersion, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + featuresetName, + featuresetVersion, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + featuresetName: string, + featuresetVersion: string, + options?: FeaturesListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + featuresetName, + featuresetVersion, + options, + )) { + yield* page; + } + } + + /** + * List Features. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param featuresetName Featureset name. This is case-sensitive. + * @param featuresetVersion Featureset Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + featuresetName: string, + featuresetVersion: string, + options?: FeaturesListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + featuresetName, + featuresetVersion, + options, + }, + listOperationSpec, + ); + } + + /** + * Get feature. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param featuresetName Feature set name. This is case-sensitive. + * @param featuresetVersion Feature set version identifier. This is case-sensitive. + * @param featureName Feature Name. This is case-sensitive. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + featuresetName: string, + featuresetVersion: string, + featureName: string, + options?: FeaturesGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + featuresetName, + featuresetVersion, + featureName, + options, + }, + getOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param featuresetName Featureset name. This is case-sensitive. + * @param featuresetVersion Featureset Version identifier. This is case-sensitive. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + featuresetName: string, + featuresetVersion: string, + nextLink: string, + options?: FeaturesListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + featuresetName, + featuresetVersion, + nextLink, + options, + }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{featuresetName}/versions/{featuresetVersion}/features", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FeatureResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.listViewType, + Parameters.description, + Parameters.tags1, + Parameters.featureName, + Parameters.pageSize1, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.featuresetName, + Parameters.featuresetVersion, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{featuresetName}/versions/{featuresetVersion}/features/{featureName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.Feature, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.featuresetName, + Parameters.featuresetVersion, + Parameters.featureName1, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FeatureResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink, + Parameters.featuresetName, + Parameters.featuresetVersion, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/featuresetContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/featuresetContainers.ts new file mode 100644 index 000000000000..4349b9873d31 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featuresetContainers.ts @@ -0,0 +1,497 @@ +/* + * 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 { FeaturesetContainers } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + FeaturesetContainer, + FeaturesetContainersListNextOptionalParams, + FeaturesetContainersListOptionalParams, + FeaturesetContainersListResponse, + FeaturesetContainersDeleteOptionalParams, + FeaturesetContainersGetEntityOptionalParams, + FeaturesetContainersGetEntityResponse, + FeaturesetContainersCreateOrUpdateOptionalParams, + FeaturesetContainersCreateOrUpdateResponse, + FeaturesetContainersListNextResponse, +} from "../models"; + +/// +/** Class containing FeaturesetContainers operations. */ +export class FeaturesetContainersImpl implements FeaturesetContainers { + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class FeaturesetContainers class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List featurestore entity containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + options?: FeaturesetContainersListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + options?: FeaturesetContainersListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: FeaturesetContainersListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, workspaceName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + options?: FeaturesetContainersListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + options, + )) { + yield* page; + } + } + + /** + * List featurestore entity containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: FeaturesetContainersListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec, + ); + } + + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturesetContainersDeleteOptionalParams, + ): Promise, void>> { + 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, workspaceName, name, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturesetContainersDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + name, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Get container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param options The options parameters. + */ + getEntity( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturesetContainersGetEntityOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, name, options }, + getEntityOperationSpec, + ); + } + + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + name: string, + body: FeaturesetContainer, + options?: FeaturesetContainersCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + FeaturesetContainersCreateOrUpdateResponse + > + > { + 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, workspaceName, name, body, options }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + FeaturesetContainersCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "original-uri", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + body: FeaturesetContainer, + options?: FeaturesetContainersCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + workspaceName, + name, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + nextLink: string, + options?: FeaturesetContainersListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FeaturesetContainerResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.listViewType, + Parameters.description, + Parameters.tags1, + Parameters.pageSize, + Parameters.name2, + Parameters.createdBy, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getEntityOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FeaturesetContainer, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.FeaturesetContainer, + }, + 201: { + bodyMapper: Mappers.FeaturesetContainer, + }, + 202: { + bodyMapper: Mappers.FeaturesetContainer, + }, + 204: { + bodyMapper: Mappers.FeaturesetContainer, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body20, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.name1, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FeaturesetContainerResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/featuresetVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/featuresetVersions.ts new file mode 100644 index 000000000000..e0e8a8c0fd5c --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featuresetVersions.ts @@ -0,0 +1,679 @@ +/* + * 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 { FeaturesetVersions } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + FeaturesetVersion, + FeaturesetVersionsListNextOptionalParams, + FeaturesetVersionsListOptionalParams, + FeaturesetVersionsListResponse, + FeaturesetVersionsDeleteOptionalParams, + FeaturesetVersionsGetOptionalParams, + FeaturesetVersionsGetResponse, + FeaturesetVersionsCreateOrUpdateOptionalParams, + FeaturesetVersionsCreateOrUpdateResponse, + FeaturesetVersionBackfillRequest, + FeaturesetVersionsBackfillOptionalParams, + FeaturesetVersionsBackfillResponse, + FeaturesetVersionsListNextResponse, +} from "../models"; + +/// +/** Class containing FeaturesetVersions operations. */ +export class FeaturesetVersionsImpl implements FeaturesetVersions { + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class FeaturesetVersions class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Featureset name. This is case-sensitive. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturesetVersionsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + workspaceName, + name, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + name, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturesetVersionsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: FeaturesetVersionsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + workspaceName, + name, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + name, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturesetVersionsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + name, + options, + )) { + yield* page; + } + } + + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Featureset name. This is case-sensitive. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturesetVersionsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, name, options }, + listOperationSpec, + ); + } + + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturesetVersionsDeleteOptionalParams, + ): Promise, void>> { + 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, workspaceName, name, version, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturesetVersionsDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + name, + version, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Get version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturesetVersionsGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, name, version, options }, + getOperationSpec, + ); + } + + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: FeaturesetVersion, + options?: FeaturesetVersionsCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + FeaturesetVersionsCreateOrUpdateResponse + > + > { + 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, workspaceName, name, version, body, options }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + FeaturesetVersionsCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "original-uri", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: FeaturesetVersion, + options?: FeaturesetVersionsCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + workspaceName, + name, + version, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Backfill. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Feature set version backfill request entity. + * @param options The options parameters. + */ + async beginBackfill( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: FeaturesetVersionBackfillRequest, + options?: FeaturesetVersionsBackfillOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + FeaturesetVersionsBackfillResponse + > + > { + 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, workspaceName, name, version, body, options }, + spec: backfillOperationSpec, + }); + const poller = await createHttpPoller< + FeaturesetVersionsBackfillResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Backfill. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Feature set version backfill request entity. + * @param options The options parameters. + */ + async beginBackfillAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: FeaturesetVersionBackfillRequest, + options?: FeaturesetVersionsBackfillOptionalParams, + ): Promise { + const poller = await this.beginBackfill( + resourceGroupName, + workspaceName, + name, + version, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Featureset name. This is case-sensitive. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + name: string, + nextLink: string, + options?: FeaturesetVersionsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, name, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}/versions", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FeaturesetVersionResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.listViewType, + Parameters.version1, + Parameters.description, + Parameters.tags1, + Parameters.pageSize, + Parameters.createdBy, + Parameters.versionName, + Parameters.stage, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}/versions/{version}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.version, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}/versions/{version}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FeaturesetVersion, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.version, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}/versions/{version}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.FeaturesetVersion, + }, + 201: { + bodyMapper: Mappers.FeaturesetVersion, + }, + 202: { + bodyMapper: Mappers.FeaturesetVersion, + }, + 204: { + bodyMapper: Mappers.FeaturesetVersion, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body21, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.version, + Parameters.name1, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const backfillOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}/versions/{version}/backfill", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.FeaturesetVersionBackfillResponse, + }, + 201: { + bodyMapper: Mappers.FeaturesetVersionBackfillResponse, + }, + 202: { + bodyMapper: Mappers.FeaturesetVersionBackfillResponse, + }, + 204: { + bodyMapper: Mappers.FeaturesetVersionBackfillResponse, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body22, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.version, + Parameters.name, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FeaturesetVersionResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityContainers.ts new file mode 100644 index 000000000000..6046ddad9a4a --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityContainers.ts @@ -0,0 +1,499 @@ +/* + * 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 { FeaturestoreEntityContainers } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + FeaturestoreEntityContainer, + FeaturestoreEntityContainersListNextOptionalParams, + FeaturestoreEntityContainersListOptionalParams, + FeaturestoreEntityContainersListResponse, + FeaturestoreEntityContainersDeleteOptionalParams, + FeaturestoreEntityContainersGetEntityOptionalParams, + FeaturestoreEntityContainersGetEntityResponse, + FeaturestoreEntityContainersCreateOrUpdateOptionalParams, + FeaturestoreEntityContainersCreateOrUpdateResponse, + FeaturestoreEntityContainersListNextResponse, +} from "../models"; + +/// +/** Class containing FeaturestoreEntityContainers operations. */ +export class FeaturestoreEntityContainersImpl + implements FeaturestoreEntityContainers +{ + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class FeaturestoreEntityContainers class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List featurestore entity containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + options?: FeaturestoreEntityContainersListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + options?: FeaturestoreEntityContainersListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: FeaturestoreEntityContainersListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, workspaceName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + options?: FeaturestoreEntityContainersListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + options, + )) { + yield* page; + } + } + + /** + * List featurestore entity containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: FeaturestoreEntityContainersListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec, + ); + } + + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturestoreEntityContainersDeleteOptionalParams, + ): Promise, void>> { + 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, workspaceName, name, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturestoreEntityContainersDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + name, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Get container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param options The options parameters. + */ + getEntity( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturestoreEntityContainersGetEntityOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, name, options }, + getEntityOperationSpec, + ); + } + + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + name: string, + body: FeaturestoreEntityContainer, + options?: FeaturestoreEntityContainersCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + FeaturestoreEntityContainersCreateOrUpdateResponse + > + > { + 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, workspaceName, name, body, options }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + FeaturestoreEntityContainersCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "original-uri", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + body: FeaturestoreEntityContainer, + options?: FeaturestoreEntityContainersCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + workspaceName, + name, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + nextLink: string, + options?: FeaturestoreEntityContainersListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FeaturestoreEntityContainerResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.listViewType, + Parameters.description, + Parameters.tags1, + Parameters.pageSize, + Parameters.name2, + Parameters.createdBy, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getEntityOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FeaturestoreEntityContainer, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.FeaturestoreEntityContainer, + }, + 201: { + bodyMapper: Mappers.FeaturestoreEntityContainer, + }, + 202: { + bodyMapper: Mappers.FeaturestoreEntityContainer, + }, + 204: { + bodyMapper: Mappers.FeaturestoreEntityContainer, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body23, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.name1, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FeaturestoreEntityContainerResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityVersions.ts new file mode 100644 index 000000000000..333fd78f9cd5 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityVersions.ts @@ -0,0 +1,539 @@ +/* + * 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 { FeaturestoreEntityVersions } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + FeaturestoreEntityVersion, + FeaturestoreEntityVersionsListNextOptionalParams, + FeaturestoreEntityVersionsListOptionalParams, + FeaturestoreEntityVersionsListResponse, + FeaturestoreEntityVersionsDeleteOptionalParams, + FeaturestoreEntityVersionsGetOptionalParams, + FeaturestoreEntityVersionsGetResponse, + FeaturestoreEntityVersionsCreateOrUpdateOptionalParams, + FeaturestoreEntityVersionsCreateOrUpdateResponse, + FeaturestoreEntityVersionsListNextResponse, +} from "../models"; + +/// +/** Class containing FeaturestoreEntityVersions operations. */ +export class FeaturestoreEntityVersionsImpl + implements FeaturestoreEntityVersions +{ + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class FeaturestoreEntityVersions class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Feature entity name. This is case-sensitive. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturestoreEntityVersionsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + workspaceName, + name, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + name, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturestoreEntityVersionsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: FeaturestoreEntityVersionsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + workspaceName, + name, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + name, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturestoreEntityVersionsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + name, + options, + )) { + yield* page; + } + } + + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Feature entity name. This is case-sensitive. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturestoreEntityVersionsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, name, options }, + listOperationSpec, + ); + } + + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturestoreEntityVersionsDeleteOptionalParams, + ): Promise, void>> { + 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, workspaceName, name, version, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturestoreEntityVersionsDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + name, + version, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Get version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturestoreEntityVersionsGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, name, version, options }, + getOperationSpec, + ); + } + + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: FeaturestoreEntityVersion, + options?: FeaturestoreEntityVersionsCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + FeaturestoreEntityVersionsCreateOrUpdateResponse + > + > { + 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, workspaceName, name, version, body, options }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + FeaturestoreEntityVersionsCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "original-uri", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: FeaturestoreEntityVersion, + options?: FeaturestoreEntityVersionsCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + workspaceName, + name, + version, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Feature entity name. This is case-sensitive. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + name: string, + nextLink: string, + options?: FeaturestoreEntityVersionsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, name, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}/versions", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FeaturestoreEntityVersionResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.listViewType, + Parameters.version1, + Parameters.description, + Parameters.tags1, + Parameters.pageSize, + Parameters.createdBy, + Parameters.versionName, + Parameters.stage, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}/versions/{version}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.version, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}/versions/{version}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FeaturestoreEntityVersion, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.version, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}/versions/{version}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.FeaturestoreEntityVersion, + }, + 201: { + bodyMapper: Mappers.FeaturestoreEntityVersion, + }, + 202: { + bodyMapper: Mappers.FeaturestoreEntityVersion, + }, + 204: { + bodyMapper: Mappers.FeaturestoreEntityVersion, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body24, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.version, + Parameters.name1, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FeaturestoreEntityVersionResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/index.ts b/sdk/machinelearning/arm-machinelearning/src/operations/index.ts index 5c0eba4f45e0..6d617e58c77f 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/index.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/index.ts @@ -15,6 +15,19 @@ export * from "./computeOperations"; export * from "./privateEndpointConnections"; export * from "./privateLinkResources"; export * from "./workspaceConnections"; +export * from "./managedNetworkSettingsRule"; +export * from "./managedNetworkProvisions"; +export * from "./registryCodeContainers"; +export * from "./registryCodeVersions"; +export * from "./registryComponentContainers"; +export * from "./registryComponentVersions"; +export * from "./registryDataContainers"; +export * from "./registryDataVersions"; +export * from "./registryDataReferences"; +export * from "./registryEnvironmentContainers"; +export * from "./registryEnvironmentVersions"; +export * from "./registryModelContainers"; +export * from "./registryModelVersions"; export * from "./batchEndpoints"; export * from "./batchDeployments"; export * from "./codeContainers"; @@ -26,10 +39,16 @@ export * from "./dataVersions"; export * from "./datastores"; export * from "./environmentContainers"; export * from "./environmentVersions"; +export * from "./featuresetContainers"; +export * from "./features"; +export * from "./featuresetVersions"; +export * from "./featurestoreEntityContainers"; +export * from "./featurestoreEntityVersions"; export * from "./jobs"; export * from "./modelContainers"; export * from "./modelVersions"; export * from "./onlineEndpoints"; export * from "./onlineDeployments"; export * from "./schedules"; +export * from "./registries"; export * from "./workspaceFeatures"; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/jobs.ts b/sdk/machinelearning/arm-machinelearning/src/operations/jobs.ts index 36387941c513..6020bba2b068 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/jobs.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/jobs.ts @@ -12,9 +12,13 @@ import { Jobs } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; -import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; -import { LroImpl } from "../lroImpl"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; import { JobBase, JobsListNextOptionalParams, @@ -26,19 +30,19 @@ import { JobsCreateOrUpdateOptionalParams, JobsCreateOrUpdateResponse, JobsCancelOptionalParams, - JobsListNextResponse + JobsListNextResponse, } from "../models"; /// /** Class containing Jobs operations. */ export class JobsImpl implements Jobs { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class Jobs class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -51,7 +55,7 @@ export class JobsImpl implements Jobs { public list( resourceGroupName: string, workspaceName: string, - options?: JobsListOptionalParams + options?: JobsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -69,9 +73,9 @@ export class JobsImpl implements Jobs { resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -79,7 +83,7 @@ export class JobsImpl implements Jobs { resourceGroupName: string, workspaceName: string, options?: JobsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: JobsListResponse; let continuationToken = settings?.continuationToken; @@ -95,7 +99,7 @@ export class JobsImpl implements Jobs { resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -107,12 +111,12 @@ export class JobsImpl implements Jobs { private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: JobsListOptionalParams + options?: JobsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -127,11 +131,11 @@ export class JobsImpl implements Jobs { private _list( resourceGroupName: string, workspaceName: string, - options?: JobsListOptionalParams + options?: JobsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -146,25 +150,24 @@ export class JobsImpl implements Jobs { resourceGroupName: string, workspaceName: string, id: string, - options?: JobsDeleteOptionalParams - ): Promise, void>> { + options?: JobsDeleteOptionalParams, + ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -173,8 +176,8 @@ export class JobsImpl implements Jobs { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -182,19 +185,20 @@ export class JobsImpl implements Jobs { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, workspaceName, id, options }, - deleteOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, id, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", }); await poller.poll(); return poller; @@ -211,13 +215,13 @@ export class JobsImpl implements Jobs { resourceGroupName: string, workspaceName: string, id: string, - options?: JobsDeleteOptionalParams + options?: JobsDeleteOptionalParams, ): Promise { const poller = await this.beginDelete( resourceGroupName, workspaceName, id, - options + options, ); return poller.pollUntilDone(); } @@ -233,16 +237,17 @@ export class JobsImpl implements Jobs { resourceGroupName: string, workspaceName: string, id: string, - options?: JobsGetOptionalParams + options?: JobsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, id, options }, - getOperationSpec + getOperationSpec, ); } /** * Creates and executes a Job. + * For update case, the Tags in the definition passed in will replace Tags in the existing job. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName Name of Azure Machine Learning workspace. * @param id The name and identifier for the Job. This is case-sensitive. @@ -254,11 +259,11 @@ export class JobsImpl implements Jobs { workspaceName: string, id: string, body: JobBase, - options?: JobsCreateOrUpdateOptionalParams + options?: JobsCreateOrUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, id, body, options }, - createOrUpdateOperationSpec + createOrUpdateOperationSpec, ); } @@ -273,25 +278,24 @@ export class JobsImpl implements Jobs { resourceGroupName: string, workspaceName: string, id: string, - options?: JobsCancelOptionalParams - ): Promise, void>> { + options?: JobsCancelOptionalParams, + ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -300,8 +304,8 @@ export class JobsImpl implements Jobs { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -309,20 +313,20 @@ export class JobsImpl implements Jobs { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, workspaceName, id, options }, - cancelOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, id, options }, + spec: cancelOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, - lroResourceLocationConfig: "location" + resourceLocationConfig: "location", }); await poller.poll(); return poller; @@ -339,13 +343,13 @@ export class JobsImpl implements Jobs { resourceGroupName: string, workspaceName: string, id: string, - options?: JobsCancelOptionalParams + options?: JobsCancelOptionalParams, ): Promise { const poller = await this.beginCancel( resourceGroupName, workspaceName, id, - options + options, ); return poller.pollUntilDone(); } @@ -361,11 +365,11 @@ export class JobsImpl implements Jobs { resourceGroupName: string, workspaceName: string, nextLink: string, - options?: JobsListNextOptionalParams + options?: JobsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -373,36 +377,35 @@ export class JobsImpl implements Jobs { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.JobBaseResourceArmPaginatedResult + bodyMapper: Mappers.JobBaseResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.skip, Parameters.listViewType, + Parameters.properties1, Parameters.jobType, - Parameters.tag + Parameters.tag, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}", httpMethod: "DELETE", responses: { 200: {}, @@ -410,8 +413,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -419,22 +422,21 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.id + Parameters.id, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.JobBase + bodyMapper: Mappers.JobBase, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -442,42 +444,40 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.id + Parameters.id, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.JobBase + bodyMapper: Mappers.JobBase, }, 201: { - bodyMapper: Mappers.JobBase + bodyMapper: Mappers.JobBase, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body13, + requestBody: Parameters.body25, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.id1 + Parameters.id1, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const cancelOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}/cancel", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}/cancel", httpMethod: "POST", responses: { 200: {}, @@ -485,8 +485,8 @@ const cancelOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -494,36 +494,29 @@ const cancelOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.id + Parameters.id, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.JobBaseResourceArmPaginatedResult + bodyMapper: Mappers.JobBaseResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.listViewType, - Parameters.jobType, - Parameters.tag - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkProvisions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkProvisions.ts new file mode 100644 index 000000000000..8b02b54e5a48 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkProvisions.ts @@ -0,0 +1,161 @@ +/* + * 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 { ManagedNetworkProvisions } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + ManagedNetworkProvisionsProvisionManagedNetworkOptionalParams, + ManagedNetworkProvisionsProvisionManagedNetworkResponse, +} from "../models"; + +/** Class containing ManagedNetworkProvisions operations. */ +export class ManagedNetworkProvisionsImpl implements ManagedNetworkProvisions { + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class ManagedNetworkProvisions class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * Provisions the managed network of a machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param options The options parameters. + */ + async beginProvisionManagedNetwork( + resourceGroupName: string, + workspaceName: string, + options?: ManagedNetworkProvisionsProvisionManagedNetworkOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ManagedNetworkProvisionsProvisionManagedNetworkResponse + > + > { + 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, workspaceName, options }, + spec: provisionManagedNetworkOperationSpec, + }); + const poller = await createHttpPoller< + ManagedNetworkProvisionsProvisionManagedNetworkResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Provisions the managed network of a machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param options The options parameters. + */ + async beginProvisionManagedNetworkAndWait( + resourceGroupName: string, + workspaceName: string, + options?: ManagedNetworkProvisionsProvisionManagedNetworkOptionalParams, + ): Promise { + const poller = await this.beginProvisionManagedNetwork( + resourceGroupName, + workspaceName, + options, + ); + return poller.pollUntilDone(); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const provisionManagedNetworkOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/provisionManagedNetwork", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.ManagedNetworkProvisionStatus, + }, + 201: { + bodyMapper: Mappers.ManagedNetworkProvisionStatus, + }, + 202: { + bodyMapper: Mappers.ManagedNetworkProvisionStatus, + }, + 204: { + bodyMapper: Mappers.ManagedNetworkProvisionStatus, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body1, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkSettingsRule.ts b/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkSettingsRule.ts new file mode 100644 index 000000000000..93f6297d5039 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkSettingsRule.ts @@ -0,0 +1,491 @@ +/* + * 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 { ManagedNetworkSettingsRule } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + OutboundRuleBasicResource, + ManagedNetworkSettingsRuleListNextOptionalParams, + ManagedNetworkSettingsRuleListOptionalParams, + ManagedNetworkSettingsRuleListResponse, + ManagedNetworkSettingsRuleDeleteOptionalParams, + ManagedNetworkSettingsRuleGetOptionalParams, + ManagedNetworkSettingsRuleGetResponse, + ManagedNetworkSettingsRuleCreateOrUpdateOptionalParams, + ManagedNetworkSettingsRuleCreateOrUpdateResponse, + ManagedNetworkSettingsRuleListNextResponse, +} from "../models"; + +/// +/** Class containing ManagedNetworkSettingsRule operations. */ +export class ManagedNetworkSettingsRuleImpl + implements ManagedNetworkSettingsRule +{ + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class ManagedNetworkSettingsRule class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * Lists the managed network outbound rules for a machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + options?: ManagedNetworkSettingsRuleListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + options?: ManagedNetworkSettingsRuleListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: ManagedNetworkSettingsRuleListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, workspaceName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + options?: ManagedNetworkSettingsRuleListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + options, + )) { + yield* page; + } + } + + /** + * Lists the managed network outbound rules for a machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: ManagedNetworkSettingsRuleListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec, + ); + } + + /** + * Deletes an outbound rule from the managed network of a machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param ruleName Name of the workspace managed network outbound rule + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + ruleName: string, + options?: ManagedNetworkSettingsRuleDeleteOptionalParams, + ): Promise, void>> { + 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, workspaceName, ruleName, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + }); + await poller.poll(); + return poller; + } + + /** + * Deletes an outbound rule from the managed network of a machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param ruleName Name of the workspace managed network outbound rule + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + ruleName: string, + options?: ManagedNetworkSettingsRuleDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + ruleName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Gets an outbound rule from the managed network of a machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param ruleName Name of the workspace managed network outbound rule + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + ruleName: string, + options?: ManagedNetworkSettingsRuleGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, ruleName, options }, + getOperationSpec, + ); + } + + /** + * Creates or updates an outbound rule in the managed network of a machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param ruleName Name of the workspace managed network outbound rule + * @param body Outbound Rule to be created or updated in the managed network of a machine learning + * workspace. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + ruleName: string, + body: OutboundRuleBasicResource, + options?: ManagedNetworkSettingsRuleCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ManagedNetworkSettingsRuleCreateOrUpdateResponse + > + > { + 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, workspaceName, ruleName, body, options }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + ManagedNetworkSettingsRuleCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Creates or updates an outbound rule in the managed network of a machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param ruleName Name of the workspace managed network outbound rule + * @param body Outbound Rule to be created or updated in the managed network of a machine learning + * workspace. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + ruleName: string, + body: OutboundRuleBasicResource, + options?: ManagedNetworkSettingsRuleCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + workspaceName, + ruleName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + nextLink: string, + options?: ManagedNetworkSettingsRuleListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundRules", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.OutboundRuleListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundRules/{ruleName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.ruleName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundRules/{ruleName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.OutboundRuleBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.ruleName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundRules/{ruleName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.OutboundRuleBasicResource, + }, + 201: { + bodyMapper: Mappers.OutboundRuleBasicResource, + }, + 202: { + bodyMapper: Mappers.OutboundRuleBasicResource, + }, + 204: { + bodyMapper: Mappers.OutboundRuleBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.ruleName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.OutboundRuleListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/modelContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/modelContainers.ts index 5500f5d4d643..0127b75b7b5c 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/modelContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/modelContainers.ts @@ -12,7 +12,7 @@ import { ModelContainers } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { ModelContainer, ModelContainersListNextOptionalParams, @@ -23,19 +23,19 @@ import { ModelContainersGetResponse, ModelContainersCreateOrUpdateOptionalParams, ModelContainersCreateOrUpdateResponse, - ModelContainersListNextResponse + ModelContainersListNextResponse, } from "../models"; /// /** Class containing ModelContainers operations. */ export class ModelContainersImpl implements ModelContainers { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class ModelContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -48,7 +48,7 @@ export class ModelContainersImpl implements ModelContainers { public list( resourceGroupName: string, workspaceName: string, - options?: ModelContainersListOptionalParams + options?: ModelContainersListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -66,9 +66,9 @@ export class ModelContainersImpl implements ModelContainers { resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -76,7 +76,7 @@ export class ModelContainersImpl implements ModelContainers { resourceGroupName: string, workspaceName: string, options?: ModelContainersListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ModelContainersListResponse; let continuationToken = settings?.continuationToken; @@ -92,7 +92,7 @@ export class ModelContainersImpl implements ModelContainers { resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -104,12 +104,12 @@ export class ModelContainersImpl implements ModelContainers { private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: ModelContainersListOptionalParams + options?: ModelContainersListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -124,11 +124,11 @@ export class ModelContainersImpl implements ModelContainers { private _list( resourceGroupName: string, workspaceName: string, - options?: ModelContainersListOptionalParams + options?: ModelContainersListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -143,11 +143,11 @@ export class ModelContainersImpl implements ModelContainers { resourceGroupName: string, workspaceName: string, name: string, - options?: ModelContainersDeleteOptionalParams + options?: ModelContainersDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -162,11 +162,11 @@ export class ModelContainersImpl implements ModelContainers { resourceGroupName: string, workspaceName: string, name: string, - options?: ModelContainersGetOptionalParams + options?: ModelContainersGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, options }, - getOperationSpec + getOperationSpec, ); } @@ -183,11 +183,11 @@ export class ModelContainersImpl implements ModelContainers { workspaceName: string, name: string, body: ModelContainer, - options?: ModelContainersCreateOrUpdateOptionalParams + options?: ModelContainersCreateOrUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, body, options }, - createOrUpdateOperationSpec + createOrUpdateOperationSpec, ); } @@ -202,11 +202,11 @@ export class ModelContainersImpl implements ModelContainers { resourceGroupName: string, workspaceName: string, nextLink: string, - options?: ModelContainersListNextOptionalParams + options?: ModelContainersListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -214,42 +214,40 @@ export class ModelContainersImpl implements ModelContainers { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ModelContainerResourceArmPaginatedResult + bodyMapper: Mappers.ModelContainerResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.skip, + Parameters.listViewType, Parameters.count, - Parameters.listViewType ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -257,22 +255,21 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ModelContainer + bodyMapper: Mappers.ModelContainer, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -280,63 +277,56 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.ModelContainer + bodyMapper: Mappers.ModelContainer, }, 201: { - bodyMapper: Mappers.ModelContainer + bodyMapper: Mappers.ModelContainer, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body14, + requestBody: Parameters.body12, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name1 + Parameters.name1, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ModelContainerResourceArmPaginatedResult + bodyMapper: Mappers.ModelContainerResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.count, - Parameters.listViewType - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/modelVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/modelVersions.ts index 966c9225da40..546f1dca2da0 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/modelVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/modelVersions.ts @@ -12,7 +12,13 @@ import { ModelVersions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; import { ModelVersion, ModelVersionsListNextOptionalParams, @@ -23,19 +29,21 @@ import { ModelVersionsGetResponse, ModelVersionsCreateOrUpdateOptionalParams, ModelVersionsCreateOrUpdateResponse, - ModelVersionsListNextResponse + DestinationAsset, + ModelVersionsPublishOptionalParams, + ModelVersionsListNextResponse, } from "../models"; /// /** Class containing ModelVersions operations. */ export class ModelVersionsImpl implements ModelVersions { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class ModelVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -50,13 +58,13 @@ export class ModelVersionsImpl implements ModelVersions { resourceGroupName: string, workspaceName: string, name: string, - options?: ModelVersionsListOptionalParams + options?: ModelVersionsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll( resourceGroupName, workspaceName, name, - options + options, ); return { next() { @@ -74,9 +82,9 @@ export class ModelVersionsImpl implements ModelVersions { workspaceName, name, options, - settings + settings, ); - } + }, }; } @@ -85,7 +93,7 @@ export class ModelVersionsImpl implements ModelVersions { workspaceName: string, name: string, options?: ModelVersionsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ModelVersionsListResponse; let continuationToken = settings?.continuationToken; @@ -94,7 +102,7 @@ export class ModelVersionsImpl implements ModelVersions { resourceGroupName, workspaceName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -107,7 +115,7 @@ export class ModelVersionsImpl implements ModelVersions { workspaceName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -120,13 +128,13 @@ export class ModelVersionsImpl implements ModelVersions { resourceGroupName: string, workspaceName: string, name: string, - options?: ModelVersionsListOptionalParams + options?: ModelVersionsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, name, - options + options, )) { yield* page; } @@ -143,11 +151,11 @@ export class ModelVersionsImpl implements ModelVersions { resourceGroupName: string, workspaceName: string, name: string, - options?: ModelVersionsListOptionalParams + options?: ModelVersionsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, options }, - listOperationSpec + listOperationSpec, ); } @@ -164,11 +172,11 @@ export class ModelVersionsImpl implements ModelVersions { workspaceName: string, name: string, version: string, - options?: ModelVersionsDeleteOptionalParams + options?: ModelVersionsDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, version, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -185,11 +193,11 @@ export class ModelVersionsImpl implements ModelVersions { workspaceName: string, name: string, version: string, - options?: ModelVersionsGetOptionalParams + options?: ModelVersionsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, version, options }, - getOperationSpec + getOperationSpec, ); } @@ -208,14 +216,111 @@ export class ModelVersionsImpl implements ModelVersions { name: string, version: string, body: ModelVersion, - options?: ModelVersionsCreateOrUpdateOptionalParams + options?: ModelVersionsCreateOrUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, version, body, options }, - createOrUpdateOperationSpec + createOrUpdateOperationSpec, ); } + /** + * Publish version asset into registry. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. + * @param version Version identifier. + * @param body Destination registry info + * @param options The options parameters. + */ + async beginPublish( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: DestinationAsset, + options?: ModelVersionsPublishOptionalParams, + ): Promise, void>> { + 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, workspaceName, name, version, body, options }, + spec: publishOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Publish version asset into registry. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. + * @param version Version identifier. + * @param body Destination registry info + * @param options The options parameters. + */ + async beginPublishAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: DestinationAsset, + options?: ModelVersionsPublishOptionalParams, + ): Promise { + const poller = await this.beginPublish( + resourceGroupName, + workspaceName, + name, + version, + body, + options, + ); + return poller.pollUntilDone(); + } + /** * ListNext * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -229,11 +334,11 @@ export class ModelVersionsImpl implements ModelVersions { workspaceName: string, name: string, nextLink: string, - options?: ModelVersionsListNextOptionalParams + options?: ModelVersionsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -241,16 +346,15 @@ export class ModelVersionsImpl implements ModelVersions { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ModelVersionResourceArmPaginatedResult + bodyMapper: Mappers.ModelVersionResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, @@ -260,31 +364,30 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.listViewType, Parameters.version1, Parameters.description, - Parameters.offset, Parameters.tags1, Parameters.properties1, - Parameters.feed + Parameters.offset, + Parameters.feed, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions/{version}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions/{version}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -292,23 +395,22 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, + Parameters.version, Parameters.name, - Parameters.version ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions/{version}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions/{version}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ModelVersion + bodyMapper: Mappers.ModelVersion, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -316,73 +418,85 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, + Parameters.version, Parameters.name, - Parameters.version ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions/{version}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions/{version}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.ModelVersion + bodyMapper: Mappers.ModelVersion, }, 201: { - bodyMapper: Mappers.ModelVersion + bodyMapper: Mappers.ModelVersion, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body15, + requestBody: Parameters.body13, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, + Parameters.version, Parameters.name1, - Parameters.version ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, +}; +const publishOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions/{version}/publish", + httpMethod: "POST", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body18, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.version, + Parameters.name, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ModelVersionResourceArmPaginatedResult + bodyMapper: Mappers.ModelVersionResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.orderBy, - Parameters.top, - Parameters.listViewType, - Parameters.version1, - Parameters.description, - Parameters.offset, - Parameters.tags1, - Parameters.properties1, - Parameters.feed - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, Parameters.nextLink, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/onlineDeployments.ts b/sdk/machinelearning/arm-machinelearning/src/operations/onlineDeployments.ts index 0d71a80f4298..29e5ad00d89e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/onlineDeployments.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/onlineDeployments.ts @@ -12,9 +12,13 @@ import { OnlineDeployments } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; -import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; -import { LroImpl } from "../lroImpl"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; import { OnlineDeployment, OnlineDeploymentsListNextOptionalParams, @@ -36,19 +40,19 @@ import { OnlineDeploymentsGetLogsOptionalParams, OnlineDeploymentsGetLogsResponse, OnlineDeploymentsListNextResponse, - OnlineDeploymentsListSkusNextResponse + OnlineDeploymentsListSkusNextResponse, } from "../models"; /// /** Class containing OnlineDeployments operations. */ export class OnlineDeploymentsImpl implements OnlineDeployments { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class OnlineDeployments class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -63,13 +67,13 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { resourceGroupName: string, workspaceName: string, endpointName: string, - options?: OnlineDeploymentsListOptionalParams + options?: OnlineDeploymentsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll( resourceGroupName, workspaceName, endpointName, - options + options, ); return { next() { @@ -87,9 +91,9 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { workspaceName, endpointName, options, - settings + settings, ); - } + }, }; } @@ -98,7 +102,7 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { workspaceName: string, endpointName: string, options?: OnlineDeploymentsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: OnlineDeploymentsListResponse; let continuationToken = settings?.continuationToken; @@ -107,7 +111,7 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { resourceGroupName, workspaceName, endpointName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -120,7 +124,7 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { workspaceName, endpointName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -133,13 +137,13 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { resourceGroupName: string, workspaceName: string, endpointName: string, - options?: OnlineDeploymentsListOptionalParams + options?: OnlineDeploymentsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, endpointName, - options + options, )) { yield* page; } @@ -158,14 +162,14 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { workspaceName: string, endpointName: string, deploymentName: string, - options?: OnlineDeploymentsListSkusOptionalParams + options?: OnlineDeploymentsListSkusOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listSkusPagingAll( resourceGroupName, workspaceName, endpointName, deploymentName, - options + options, ); return { next() { @@ -184,9 +188,9 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { endpointName, deploymentName, options, - settings + settings, ); - } + }, }; } @@ -196,7 +200,7 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { endpointName: string, deploymentName: string, options?: OnlineDeploymentsListSkusOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: OnlineDeploymentsListSkusResponse; let continuationToken = settings?.continuationToken; @@ -206,7 +210,7 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { workspaceName, endpointName, deploymentName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -220,7 +224,7 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { endpointName, deploymentName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -234,14 +238,14 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { workspaceName: string, endpointName: string, deploymentName: string, - options?: OnlineDeploymentsListSkusOptionalParams + options?: OnlineDeploymentsListSkusOptionalParams, ): AsyncIterableIterator { for await (const page of this.listSkusPagingPage( resourceGroupName, workspaceName, endpointName, deploymentName, - options + options, )) { yield* page; } @@ -258,11 +262,11 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { resourceGroupName: string, workspaceName: string, endpointName: string, - options?: OnlineDeploymentsListOptionalParams + options?: OnlineDeploymentsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, endpointName, options }, - listOperationSpec + listOperationSpec, ); } @@ -279,25 +283,24 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { workspaceName: string, endpointName: string, deploymentName: string, - options?: OnlineDeploymentsDeleteOptionalParams - ): Promise, void>> { + options?: OnlineDeploymentsDeleteOptionalParams, + ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -306,8 +309,8 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -315,25 +318,26 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, endpointName, deploymentName, - options + options, }, - deleteOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", }); await poller.poll(); return poller; @@ -352,14 +356,14 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { workspaceName: string, endpointName: string, deploymentName: string, - options?: OnlineDeploymentsDeleteOptionalParams + options?: OnlineDeploymentsDeleteOptionalParams, ): Promise { const poller = await this.beginDelete( resourceGroupName, workspaceName, endpointName, deploymentName, - options + options, ); return poller.pollUntilDone(); } @@ -377,7 +381,7 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { workspaceName: string, endpointName: string, deploymentName: string, - options?: OnlineDeploymentsGetOptionalParams + options?: OnlineDeploymentsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -385,9 +389,9 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { workspaceName, endpointName, deploymentName, - options + options, }, - getOperationSpec + getOperationSpec, ); } @@ -406,30 +410,29 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { endpointName: string, deploymentName: string, body: PartialMinimalTrackedResourceWithSku, - options?: OnlineDeploymentsUpdateOptionalParams + options?: OnlineDeploymentsUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, OnlineDeploymentsUpdateResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -438,8 +441,8 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -447,26 +450,29 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, endpointName, deploymentName, body, - options + options, }, - updateOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + spec: updateOperationSpec, + }); + const poller = await createHttpPoller< + OnlineDeploymentsUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -487,7 +493,7 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { endpointName: string, deploymentName: string, body: PartialMinimalTrackedResourceWithSku, - options?: OnlineDeploymentsUpdateOptionalParams + options?: OnlineDeploymentsUpdateOptionalParams, ): Promise { const poller = await this.beginUpdate( resourceGroupName, @@ -495,7 +501,7 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { endpointName, deploymentName, body, - options + options, ); return poller.pollUntilDone(); } @@ -515,30 +521,29 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { endpointName: string, deploymentName: string, body: OnlineDeployment, - options?: OnlineDeploymentsCreateOrUpdateOptionalParams + options?: OnlineDeploymentsCreateOrUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, OnlineDeploymentsCreateOrUpdateResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -547,8 +552,8 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -556,26 +561,30 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, endpointName, deploymentName, body, - options + options, }, - createOrUpdateOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + OnlineDeploymentsCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "original-uri", }); await poller.poll(); return poller; @@ -596,7 +605,7 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { endpointName: string, deploymentName: string, body: OnlineDeployment, - options?: OnlineDeploymentsCreateOrUpdateOptionalParams + options?: OnlineDeploymentsCreateOrUpdateOptionalParams, ): Promise { const poller = await this.beginCreateOrUpdate( resourceGroupName, @@ -604,7 +613,7 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { endpointName, deploymentName, body, - options + options, ); return poller.pollUntilDone(); } @@ -624,7 +633,7 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { endpointName: string, deploymentName: string, body: DeploymentLogsRequest, - options?: OnlineDeploymentsGetLogsOptionalParams + options?: OnlineDeploymentsGetLogsOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -633,9 +642,9 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { endpointName, deploymentName, body, - options + options, }, - getLogsOperationSpec + getLogsOperationSpec, ); } @@ -652,7 +661,7 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { workspaceName: string, endpointName: string, deploymentName: string, - options?: OnlineDeploymentsListSkusOptionalParams + options?: OnlineDeploymentsListSkusOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -660,9 +669,9 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { workspaceName, endpointName, deploymentName, - options + options, }, - listSkusOperationSpec + listSkusOperationSpec, ); } @@ -679,11 +688,11 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { workspaceName: string, endpointName: string, nextLink: string, - options?: OnlineDeploymentsListNextOptionalParams + options?: OnlineDeploymentsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, endpointName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } @@ -702,7 +711,7 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { endpointName: string, deploymentName: string, nextLink: string, - options?: OnlineDeploymentsListSkusNextOptionalParams + options?: OnlineDeploymentsListSkusNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -711,9 +720,9 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { endpointName, deploymentName, nextLink, - options + options, }, - listSkusNextOperationSpec + listSkusNextOperationSpec, ); } } @@ -721,36 +730,34 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.OnlineDeploymentTrackedResourceArmPaginatedResult + bodyMapper: Mappers.OnlineDeploymentTrackedResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.skip, Parameters.orderBy, - Parameters.top + Parameters.top, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.endpointName + Parameters.endpointName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}", httpMethod: "DELETE", responses: { 200: {}, @@ -758,8 +765,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -768,22 +775,21 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.endpointName, - Parameters.deploymentName + Parameters.deploymentName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.OnlineDeployment + bodyMapper: Mappers.OnlineDeployment, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -792,33 +798,32 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.endpointName, - Parameters.deploymentName + Parameters.deploymentName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.OnlineDeployment + bodyMapper: Mappers.OnlineDeployment, }, 201: { - bodyMapper: Mappers.OnlineDeployment + bodyMapper: Mappers.OnlineDeployment, }, 202: { - bodyMapper: Mappers.OnlineDeployment + bodyMapper: Mappers.OnlineDeployment, }, 204: { - bodyMapper: Mappers.OnlineDeployment + bodyMapper: Mappers.OnlineDeployment, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body18, + requestBody: Parameters.body28, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -826,34 +831,33 @@ const updateOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.endpointName1, - Parameters.deploymentName1 + Parameters.deploymentName1, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.OnlineDeployment + bodyMapper: Mappers.OnlineDeployment, }, 201: { - bodyMapper: Mappers.OnlineDeployment + bodyMapper: Mappers.OnlineDeployment, }, 202: { - bodyMapper: Mappers.OnlineDeployment + bodyMapper: Mappers.OnlineDeployment, }, 204: { - bodyMapper: Mappers.OnlineDeployment + bodyMapper: Mappers.OnlineDeployment, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body19, + requestBody: Parameters.body29, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -861,25 +865,24 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.endpointName1, - Parameters.deploymentName1 + Parameters.deploymentName1, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const getLogsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}/getLogs", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}/getLogs", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.DeploymentLogs + bodyMapper: Mappers.DeploymentLogs, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body20, + requestBody: Parameters.body30, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -887,23 +890,22 @@ const getLogsOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.endpointName, - Parameters.deploymentName + Parameters.deploymentName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listSkusOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}/skus", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}/skus", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SkuResourceArmPaginatedResult + bodyMapper: Mappers.SkuResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.count], urlParameters: [ @@ -912,51 +914,44 @@ const listSkusOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.endpointName, - Parameters.deploymentName + Parameters.deploymentName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.OnlineDeploymentTrackedResourceArmPaginatedResult + bodyMapper: Mappers.OnlineDeploymentTrackedResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.orderBy, - Parameters.top - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, Parameters.nextLink, - Parameters.endpointName + Parameters.endpointName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listSkusNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SkuResourceArmPaginatedResult + bodyMapper: Mappers.SkuResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.count], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -964,8 +959,8 @@ const listSkusNextOperationSpec: coreClient.OperationSpec = { Parameters.workspaceName, Parameters.nextLink, Parameters.endpointName, - Parameters.deploymentName + Parameters.deploymentName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/onlineEndpoints.ts b/sdk/machinelearning/arm-machinelearning/src/operations/onlineEndpoints.ts index ec5c78271803..bdd57f36d781 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/onlineEndpoints.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/onlineEndpoints.ts @@ -12,9 +12,13 @@ import { OnlineEndpoints } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; -import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; -import { LroImpl } from "../lroImpl"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; import { OnlineEndpoint, OnlineEndpointsListNextOptionalParams, @@ -34,19 +38,19 @@ import { OnlineEndpointsRegenerateKeysOptionalParams, OnlineEndpointsGetTokenOptionalParams, OnlineEndpointsGetTokenResponse, - OnlineEndpointsListNextResponse + OnlineEndpointsListNextResponse, } from "../models"; /// /** Class containing OnlineEndpoints operations. */ export class OnlineEndpointsImpl implements OnlineEndpoints { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class OnlineEndpoints class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -59,7 +63,7 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { public list( resourceGroupName: string, workspaceName: string, - options?: OnlineEndpointsListOptionalParams + options?: OnlineEndpointsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -77,9 +81,9 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -87,7 +91,7 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { resourceGroupName: string, workspaceName: string, options?: OnlineEndpointsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: OnlineEndpointsListResponse; let continuationToken = settings?.continuationToken; @@ -103,7 +107,7 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -115,12 +119,12 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: OnlineEndpointsListOptionalParams + options?: OnlineEndpointsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -135,11 +139,11 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { private _list( resourceGroupName: string, workspaceName: string, - options?: OnlineEndpointsListOptionalParams + options?: OnlineEndpointsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -154,25 +158,24 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { resourceGroupName: string, workspaceName: string, endpointName: string, - options?: OnlineEndpointsDeleteOptionalParams - ): Promise, void>> { + options?: OnlineEndpointsDeleteOptionalParams, + ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -181,8 +184,8 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -190,19 +193,20 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, workspaceName, endpointName, options }, - deleteOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, endpointName, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", }); await poller.poll(); return poller; @@ -219,13 +223,13 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { resourceGroupName: string, workspaceName: string, endpointName: string, - options?: OnlineEndpointsDeleteOptionalParams + options?: OnlineEndpointsDeleteOptionalParams, ): Promise { const poller = await this.beginDelete( resourceGroupName, workspaceName, endpointName, - options + options, ); return poller.pollUntilDone(); } @@ -241,11 +245,11 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { resourceGroupName: string, workspaceName: string, endpointName: string, - options?: OnlineEndpointsGetOptionalParams + options?: OnlineEndpointsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, endpointName, options }, - getOperationSpec + getOperationSpec, ); } @@ -262,30 +266,29 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { workspaceName: string, endpointName: string, body: PartialMinimalTrackedResourceWithIdentity, - options?: OnlineEndpointsUpdateOptionalParams + options?: OnlineEndpointsUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, OnlineEndpointsUpdateResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -294,8 +297,8 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -303,19 +306,22 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, workspaceName, endpointName, body, options }, - updateOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, endpointName, body, options }, + spec: updateOperationSpec, + }); + const poller = await createHttpPoller< + OnlineEndpointsUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -334,14 +340,14 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { workspaceName: string, endpointName: string, body: PartialMinimalTrackedResourceWithIdentity, - options?: OnlineEndpointsUpdateOptionalParams + options?: OnlineEndpointsUpdateOptionalParams, ): Promise { const poller = await this.beginUpdate( resourceGroupName, workspaceName, endpointName, body, - options + options, ); return poller.pollUntilDone(); } @@ -359,30 +365,29 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { workspaceName: string, endpointName: string, body: OnlineEndpoint, - options?: OnlineEndpointsCreateOrUpdateOptionalParams + options?: OnlineEndpointsCreateOrUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, OnlineEndpointsCreateOrUpdateResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -391,8 +396,8 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -400,19 +405,23 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, workspaceName, endpointName, body, options }, - createOrUpdateOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, endpointName, body, options }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + OnlineEndpointsCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "original-uri", }); await poller.poll(); return poller; @@ -431,14 +440,14 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { workspaceName: string, endpointName: string, body: OnlineEndpoint, - options?: OnlineEndpointsCreateOrUpdateOptionalParams + options?: OnlineEndpointsCreateOrUpdateOptionalParams, ): Promise { const poller = await this.beginCreateOrUpdate( resourceGroupName, workspaceName, endpointName, body, - options + options, ); return poller.pollUntilDone(); } @@ -454,11 +463,11 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { resourceGroupName: string, workspaceName: string, endpointName: string, - options?: OnlineEndpointsListKeysOptionalParams + options?: OnlineEndpointsListKeysOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, endpointName, options }, - listKeysOperationSpec + listKeysOperationSpec, ); } @@ -475,25 +484,24 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { workspaceName: string, endpointName: string, body: RegenerateEndpointKeysRequest, - options?: OnlineEndpointsRegenerateKeysOptionalParams - ): Promise, void>> { + options?: OnlineEndpointsRegenerateKeysOptionalParams, + ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -502,8 +510,8 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -511,20 +519,20 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, workspaceName, endpointName, body, options }, - regenerateKeysOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, endpointName, body, options }, + spec: regenerateKeysOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, - lroResourceLocationConfig: "location" + resourceLocationConfig: "location", }); await poller.poll(); return poller; @@ -543,20 +551,20 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { workspaceName: string, endpointName: string, body: RegenerateEndpointKeysRequest, - options?: OnlineEndpointsRegenerateKeysOptionalParams + options?: OnlineEndpointsRegenerateKeysOptionalParams, ): Promise { const poller = await this.beginRegenerateKeys( resourceGroupName, workspaceName, endpointName, body, - options + options, ); return poller.pollUntilDone(); } /** - * Retrieve a valid AAD token for an Endpoint using AMLToken-based authentication. + * Retrieve a valid AML token for an Endpoint using AMLToken-based authentication. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName Name of Azure Machine Learning workspace. * @param endpointName Online Endpoint name. @@ -566,11 +574,11 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { resourceGroupName: string, workspaceName: string, endpointName: string, - options?: OnlineEndpointsGetTokenOptionalParams + options?: OnlineEndpointsGetTokenOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, endpointName, options }, - getTokenOperationSpec + getTokenOperationSpec, ); } @@ -585,11 +593,11 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { resourceGroupName: string, workspaceName: string, nextLink: string, - options?: OnlineEndpointsListNextOptionalParams + options?: OnlineEndpointsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -597,39 +605,37 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.OnlineEndpointTrackedResourceArmPaginatedResult + bodyMapper: Mappers.OnlineEndpointTrackedResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.skip, - Parameters.count, Parameters.tags1, Parameters.properties1, + Parameters.count, Parameters.name2, Parameters.computeType, - Parameters.orderBy2 + Parameters.orderBy2, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}", httpMethod: "DELETE", responses: { 200: {}, @@ -637,8 +643,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -646,22 +652,21 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.endpointName + Parameters.endpointName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.OnlineEndpoint + bodyMapper: Mappers.OnlineEndpoint, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -669,90 +674,87 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.endpointName + Parameters.endpointName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.OnlineEndpoint + bodyMapper: Mappers.OnlineEndpoint, }, 201: { - bodyMapper: Mappers.OnlineEndpoint + bodyMapper: Mappers.OnlineEndpoint, }, 202: { - bodyMapper: Mappers.OnlineEndpoint + bodyMapper: Mappers.OnlineEndpoint, }, 204: { - bodyMapper: Mappers.OnlineEndpoint + bodyMapper: Mappers.OnlineEndpoint, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body, + requestBody: Parameters.body14, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.endpointName + Parameters.endpointName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.OnlineEndpoint + bodyMapper: Mappers.OnlineEndpoint, }, 201: { - bodyMapper: Mappers.OnlineEndpoint + bodyMapper: Mappers.OnlineEndpoint, }, 202: { - bodyMapper: Mappers.OnlineEndpoint + bodyMapper: Mappers.OnlineEndpoint, }, 204: { - bodyMapper: Mappers.OnlineEndpoint + bodyMapper: Mappers.OnlineEndpoint, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body16, + requestBody: Parameters.body26, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.endpointName1 + Parameters.endpointName1, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listKeysOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/listKeys", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/listKeys", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.EndpointAuthKeys + bodyMapper: Mappers.EndpointAuthKeys, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -760,14 +762,13 @@ const listKeysOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.endpointName + Parameters.endpointName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const regenerateKeysOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/regenerateKeys", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/regenerateKeys", httpMethod: "POST", responses: { 200: {}, @@ -775,33 +776,32 @@ const regenerateKeysOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body17, + requestBody: Parameters.body27, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.endpointName + Parameters.endpointName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const getTokenOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/token", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/token", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.EndpointAuthToken + bodyMapper: Mappers.EndpointAuthToken, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -809,39 +809,29 @@ const getTokenOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.endpointName + Parameters.endpointName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.OnlineEndpointTrackedResourceArmPaginatedResult + bodyMapper: Mappers.OnlineEndpointTrackedResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.count, - Parameters.tags1, - Parameters.properties1, - Parameters.name2, - Parameters.computeType, - Parameters.orderBy2 - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/operations.ts b/sdk/machinelearning/arm-machinelearning/src/operations/operations.ts index 2dc181c81bfb..f50adff2af17 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/operations.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/operations.ts @@ -11,23 +11,23 @@ import { Operations } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { - AmlOperation, + Operation, OperationsListOptionalParams, - OperationsListResponse + OperationsListResponse, } from "../models"; /// /** Class containing Operations operations. */ export class OperationsImpl implements Operations { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class Operations class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -36,8 +36,8 @@ export class OperationsImpl implements Operations { * @param options The options parameters. */ public list( - options?: OperationsListOptionalParams - ): PagedAsyncIterableIterator { + options?: OperationsListOptionalParams, + ): PagedAsyncIterableIterator { const iter = this.listPagingAll(options); return { next() { @@ -51,22 +51,22 @@ export class OperationsImpl implements Operations { throw new Error("maxPageSize is not supported by this operation."); } return this.listPagingPage(options, settings); - } + }, }; } private async *listPagingPage( options?: OperationsListOptionalParams, - _settings?: PageSettings - ): AsyncIterableIterator { + _settings?: PageSettings, + ): AsyncIterableIterator { let result: OperationsListResponse; result = await this._list(options); yield result.value || []; } private async *listPagingAll( - options?: OperationsListOptionalParams - ): AsyncIterableIterator { + options?: OperationsListOptionalParams, + ): AsyncIterableIterator { for await (const page of this.listPagingPage(options)) { yield* page; } @@ -77,7 +77,7 @@ export class OperationsImpl implements Operations { * @param options The options parameters. */ private _list( - options?: OperationsListOptionalParams + options?: OperationsListOptionalParams, ): Promise { return this.client.sendOperationRequest({ options }, listOperationSpec); } @@ -90,14 +90,14 @@ const listOperationSpec: coreClient.OperationSpec = { httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AmlOperationListResult + bodyMapper: Mappers.OperationListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts b/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts index ce71a81f37c6..81e1b14a1c4b 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts @@ -11,7 +11,7 @@ import { PrivateEndpointConnections } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { PrivateEndpointConnection, PrivateEndpointConnectionsListOptionalParams, @@ -20,20 +20,21 @@ import { PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, - PrivateEndpointConnectionsDeleteOptionalParams + PrivateEndpointConnectionsDeleteOptionalParams, } from "../models"; /// /** Class containing PrivateEndpointConnections operations. */ export class PrivateEndpointConnectionsImpl - implements PrivateEndpointConnections { - private readonly client: AzureMachineLearningWorkspaces; + implements PrivateEndpointConnections +{ + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class PrivateEndpointConnections class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -46,7 +47,7 @@ export class PrivateEndpointConnectionsImpl public list( resourceGroupName: string, workspaceName: string, - options?: PrivateEndpointConnectionsListOptionalParams + options?: PrivateEndpointConnectionsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -64,9 +65,9 @@ export class PrivateEndpointConnectionsImpl resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -74,7 +75,7 @@ export class PrivateEndpointConnectionsImpl resourceGroupName: string, workspaceName: string, options?: PrivateEndpointConnectionsListOptionalParams, - _settings?: PageSettings + _settings?: PageSettings, ): AsyncIterableIterator { let result: PrivateEndpointConnectionsListResponse; result = await this._list(resourceGroupName, workspaceName, options); @@ -84,12 +85,12 @@ export class PrivateEndpointConnectionsImpl private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: PrivateEndpointConnectionsListOptionalParams + options?: PrivateEndpointConnectionsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -104,11 +105,11 @@ export class PrivateEndpointConnectionsImpl private _list( resourceGroupName: string, workspaceName: string, - options?: PrivateEndpointConnectionsListOptionalParams + options?: PrivateEndpointConnectionsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -124,16 +125,16 @@ export class PrivateEndpointConnectionsImpl resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, - options?: PrivateEndpointConnectionsGetOptionalParams + options?: PrivateEndpointConnectionsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, privateEndpointConnectionName, - options + options, }, - getOperationSpec + getOperationSpec, ); } @@ -151,7 +152,7 @@ export class PrivateEndpointConnectionsImpl workspaceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, - options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams + options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -159,9 +160,9 @@ export class PrivateEndpointConnectionsImpl workspaceName, privateEndpointConnectionName, properties, - options + options, }, - createOrUpdateOperationSpec + createOrUpdateOperationSpec, ); } @@ -177,16 +178,16 @@ export class PrivateEndpointConnectionsImpl resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, - options?: PrivateEndpointConnectionsDeleteOptionalParams + options?: PrivateEndpointConnectionsDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, privateEndpointConnectionName, - options + options, }, - deleteOperationSpec + deleteOperationSpec, ); } } @@ -194,38 +195,36 @@ export class PrivateEndpointConnectionsImpl const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.PrivateEndpointConnectionListResult + bodyMapper: Mappers.PrivateEndpointConnectionListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.PrivateEndpointConnection + bodyMapper: Mappers.PrivateEndpointConnection, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -233,22 +232,21 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.privateEndpointConnectionName + Parameters.privateEndpointConnectionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.PrivateEndpointConnection + bodyMapper: Mappers.PrivateEndpointConnection, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, requestBody: Parameters.properties, queryParameters: [Parameters.apiVersion], @@ -257,22 +255,21 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.privateEndpointConnectionName + Parameters.privateEndpointConnectionName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -280,8 +277,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.privateEndpointConnectionName + Parameters.privateEndpointConnectionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/privateLinkResources.ts b/sdk/machinelearning/arm-machinelearning/src/operations/privateLinkResources.ts index efe5fab5b56b..59b738f175d6 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/privateLinkResources.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/privateLinkResources.ts @@ -10,21 +10,21 @@ import { PrivateLinkResources } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { PrivateLinkResourcesListOptionalParams, - PrivateLinkResourcesListResponse + PrivateLinkResourcesListResponse, } from "../models"; /** Class containing PrivateLinkResources operations. */ export class PrivateLinkResourcesImpl implements PrivateLinkResources { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class PrivateLinkResources class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -37,11 +37,11 @@ export class PrivateLinkResourcesImpl implements PrivateLinkResources { list( resourceGroupName: string, workspaceName: string, - options?: PrivateLinkResourcesListOptionalParams + options?: PrivateLinkResourcesListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } } @@ -49,24 +49,23 @@ export class PrivateLinkResourcesImpl implements PrivateLinkResources { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateLinkResources", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateLinkResources", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.PrivateLinkResourceListResult + bodyMapper: Mappers.PrivateLinkResourceListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/quotas.ts b/sdk/machinelearning/arm-machinelearning/src/operations/quotas.ts index 8ba2d40e0eeb..8ea2929fac68 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/quotas.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/quotas.ts @@ -12,7 +12,7 @@ import { Quotas } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { ResourceQuota, QuotasListNextOptionalParams, @@ -21,19 +21,19 @@ import { QuotaUpdateParameters, QuotasUpdateOptionalParams, QuotasUpdateResponse, - QuotasListNextResponse + QuotasListNextResponse, } from "../models"; /// /** Class containing Quotas operations. */ export class QuotasImpl implements Quotas { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class Quotas class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -44,7 +44,7 @@ export class QuotasImpl implements Quotas { */ public list( location: string, - options?: QuotasListOptionalParams + options?: QuotasListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(location, options); return { @@ -59,14 +59,14 @@ export class QuotasImpl implements Quotas { throw new Error("maxPageSize is not supported by this operation."); } return this.listPagingPage(location, options, settings); - } + }, }; } private async *listPagingPage( location: string, options?: QuotasListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: QuotasListResponse; let continuationToken = settings?.continuationToken; @@ -88,7 +88,7 @@ export class QuotasImpl implements Quotas { private async *listPagingAll( location: string, - options?: QuotasListOptionalParams + options?: QuotasListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage(location, options)) { yield* page; @@ -104,11 +104,11 @@ export class QuotasImpl implements Quotas { update( location: string, parameters: QuotaUpdateParameters, - options?: QuotasUpdateOptionalParams + options?: QuotasUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { location, parameters, options }, - updateOperationSpec + updateOperationSpec, ); } @@ -119,11 +119,11 @@ export class QuotasImpl implements Quotas { */ private _list( location: string, - options?: QuotasListOptionalParams + options?: QuotasListOptionalParams, ): Promise { return this.client.sendOperationRequest( { location, options }, - listOperationSpec + listOperationSpec, ); } @@ -136,11 +136,11 @@ export class QuotasImpl implements Quotas { private _listNext( location: string, nextLink: string, - options?: QuotasListNextOptionalParams + options?: QuotasListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { location, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -148,67 +148,64 @@ export class QuotasImpl implements Quotas { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const updateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/updateQuotas", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/updateQuotas", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.UpdateWorkspaceQuotasResult + bodyMapper: Mappers.UpdateWorkspaceQuotasResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, requestBody: Parameters.parameters3, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location + Parameters.location, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/quotas", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/quotas", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ListWorkspaceQuotas + bodyMapper: Mappers.ListWorkspaceQuotas, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location + Parameters.location, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ListWorkspaceQuotas + bodyMapper: Mappers.ListWorkspaceQuotas, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.nextLink, - Parameters.location + Parameters.location, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registries.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registries.ts new file mode 100644 index 000000000000..1fa64655496d --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registries.ts @@ -0,0 +1,748 @@ +/* + * 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 { Registries } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + Registry, + RegistriesListBySubscriptionNextOptionalParams, + RegistriesListBySubscriptionOptionalParams, + RegistriesListBySubscriptionResponse, + RegistriesListNextOptionalParams, + RegistriesListOptionalParams, + RegistriesListResponse, + RegistriesDeleteOptionalParams, + RegistriesGetOptionalParams, + RegistriesGetResponse, + PartialRegistryPartialTrackedResource, + RegistriesUpdateOptionalParams, + RegistriesUpdateResponse, + RegistriesCreateOrUpdateOptionalParams, + RegistriesCreateOrUpdateResponse, + RegistriesRemoveRegionsOptionalParams, + RegistriesRemoveRegionsResponse, + RegistriesListBySubscriptionNextResponse, + RegistriesListNextResponse, +} from "../models"; + +/// +/** Class containing Registries operations. */ +export class RegistriesImpl implements Registries { + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class Registries class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List registries by subscription + * @param options The options parameters. + */ + public listBySubscription( + options?: RegistriesListBySubscriptionOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listBySubscriptionPagingAll(options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listBySubscriptionPagingPage(options, settings); + }, + }; + } + + private async *listBySubscriptionPagingPage( + options?: RegistriesListBySubscriptionOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: RegistriesListBySubscriptionResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listBySubscription(options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listBySubscriptionNext(continuationToken, options); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listBySubscriptionPagingAll( + options?: RegistriesListBySubscriptionOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listBySubscriptionPagingPage(options)) { + yield* page; + } + } + + /** + * List registries + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + options?: RegistriesListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage(resourceGroupName, options, settings); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + options?: RegistriesListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: RegistriesListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + options?: RegistriesListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage(resourceGroupName, options)) { + yield* page; + } + } + + /** + * List registries by subscription + * @param options The options parameters. + */ + private _listBySubscription( + options?: RegistriesListBySubscriptionOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { options }, + listBySubscriptionOperationSpec, + ); + } + + /** + * List registries + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + options?: RegistriesListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, options }, + listOperationSpec, + ); + } + + /** + * Delete registry + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + registryName: string, + options?: RegistriesDeleteOptionalParams, + ): Promise, void>> { + 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, registryName, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete registry + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + options?: RegistriesDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + registryName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Get registry + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + options?: RegistriesGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, options }, + getOperationSpec, + ); + } + + /** + * Update tags + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param body Details required to create the registry. + * @param options The options parameters. + */ + update( + resourceGroupName: string, + registryName: string, + body: PartialRegistryPartialTrackedResource, + options?: RegistriesUpdateOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, body, options }, + updateOperationSpec, + ); + } + + /** + * Create or update registry + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param body Details required to create the registry. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + body: Registry, + options?: RegistriesCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RegistriesCreateOrUpdateResponse + > + > { + 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, registryName, body, options }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + RegistriesCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "azure-async-operation", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update registry + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param body Details required to create the registry. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + body: Registry, + options?: RegistriesCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + registryName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Remove regions from registry + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param body Details required to create the registry. + * @param options The options parameters. + */ + async beginRemoveRegions( + resourceGroupName: string, + registryName: string, + body: Registry, + options?: RegistriesRemoveRegionsOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RegistriesRemoveRegionsResponse + > + > { + 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, registryName, body, options }, + spec: removeRegionsOperationSpec, + }); + const poller = await createHttpPoller< + RegistriesRemoveRegionsResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Remove regions from registry + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param body Details required to create the registry. + * @param options The options parameters. + */ + async beginRemoveRegionsAndWait( + resourceGroupName: string, + registryName: string, + body: Registry, + options?: RegistriesRemoveRegionsOptionalParams, + ): Promise { + const poller = await this.beginRemoveRegions( + resourceGroupName, + registryName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * ListBySubscriptionNext + * @param nextLink The nextLink from the previous successful call to the ListBySubscription method. + * @param options The options parameters. + */ + private _listBySubscriptionNext( + nextLink: string, + options?: RegistriesListBySubscriptionNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { nextLink, options }, + listBySubscriptionNextOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + nextLink: string, + options?: RegistriesListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listBySubscriptionOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/registries", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RegistryTrackedResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.subscriptionId], + headerParameters: [Parameters.accept], + serializer, +}; +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RegistryTrackedResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.Registry, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const updateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}", + httpMethod: "PATCH", + responses: { + 200: { + bodyMapper: Mappers.Registry, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body32, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.Registry, + }, + 201: { + bodyMapper: Mappers.Registry, + }, + 202: { + bodyMapper: Mappers.Registry, + }, + 204: { + bodyMapper: Mappers.Registry, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body33, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const removeRegionsOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/removeRegions", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.Registry, + }, + 201: { + bodyMapper: Mappers.Registry, + }, + 202: { + bodyMapper: Mappers.Registry, + }, + 204: { + bodyMapper: Mappers.Registry, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body33, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RegistryTrackedResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RegistryTrackedResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeContainers.ts new file mode 100644 index 000000000000..21f16746c8fd --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeContainers.ts @@ -0,0 +1,488 @@ +/* + * 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 { RegistryCodeContainers } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + CodeContainer, + RegistryCodeContainersListNextOptionalParams, + RegistryCodeContainersListOptionalParams, + RegistryCodeContainersListResponse, + RegistryCodeContainersDeleteOptionalParams, + RegistryCodeContainersGetOptionalParams, + RegistryCodeContainersGetResponse, + RegistryCodeContainersCreateOrUpdateOptionalParams, + RegistryCodeContainersCreateOrUpdateResponse, + RegistryCodeContainersListNextResponse, +} from "../models"; + +/// +/** Class containing RegistryCodeContainers operations. */ +export class RegistryCodeContainersImpl implements RegistryCodeContainers { + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class RegistryCodeContainers class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + registryName: string, + options?: RegistryCodeContainersListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, registryName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + registryName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + registryName: string, + options?: RegistryCodeContainersListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: RegistryCodeContainersListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, registryName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + registryName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + registryName: string, + options?: RegistryCodeContainersListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + registryName, + options, + )) { + yield* page; + } + } + + /** + * List containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + registryName: string, + options?: RegistryCodeContainersListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, options }, + listOperationSpec, + ); + } + + /** + * Delete Code container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param codeName Container name. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + registryName: string, + codeName: string, + options?: RegistryCodeContainersDeleteOptionalParams, + ): Promise, void>> { + 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, registryName, codeName, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete Code container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param codeName Container name. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + codeName: string, + options?: RegistryCodeContainersDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + registryName, + codeName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Get Code container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param codeName Container name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + codeName: string, + options?: RegistryCodeContainersGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, codeName, options }, + getOperationSpec, + ); + } + + /** + * Create or update Code container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param codeName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + codeName: string, + body: CodeContainer, + options?: RegistryCodeContainersCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RegistryCodeContainersCreateOrUpdateResponse + > + > { + 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, registryName, codeName, body, options }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + RegistryCodeContainersCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "original-uri", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update Code container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param codeName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + codeName: string, + body: CodeContainer, + options?: RegistryCodeContainersCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + registryName, + codeName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + registryName: string, + nextLink: string, + options?: RegistryCodeContainersListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.CodeContainerResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.skip], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.codeName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.CodeContainer, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.codeName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.CodeContainer, + }, + 201: { + bodyMapper: Mappers.CodeContainer, + }, + 202: { + bodyMapper: Mappers.CodeContainer, + }, + 204: { + bodyMapper: Mappers.CodeContainer, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body2, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.codeName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.CodeContainerResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + Parameters.registryName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeVersions.ts new file mode 100644 index 000000000000..a5a9a4c3688e --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeVersions.ts @@ -0,0 +1,589 @@ +/* + * 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 { RegistryCodeVersions } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + CodeVersion, + RegistryCodeVersionsListNextOptionalParams, + RegistryCodeVersionsListOptionalParams, + RegistryCodeVersionsListResponse, + RegistryCodeVersionsDeleteOptionalParams, + RegistryCodeVersionsGetOptionalParams, + RegistryCodeVersionsGetResponse, + RegistryCodeVersionsCreateOrUpdateOptionalParams, + RegistryCodeVersionsCreateOrUpdateResponse, + PendingUploadRequestDto, + RegistryCodeVersionsCreateOrGetStartPendingUploadOptionalParams, + RegistryCodeVersionsCreateOrGetStartPendingUploadResponse, + RegistryCodeVersionsListNextResponse, +} from "../models"; + +/// +/** Class containing RegistryCodeVersions operations. */ +export class RegistryCodeVersionsImpl implements RegistryCodeVersions { + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class RegistryCodeVersions class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param codeName Container name. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + registryName: string, + codeName: string, + options?: RegistryCodeVersionsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + registryName, + codeName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + registryName, + codeName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + registryName: string, + codeName: string, + options?: RegistryCodeVersionsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: RegistryCodeVersionsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + registryName, + codeName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + registryName, + codeName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + registryName: string, + codeName: string, + options?: RegistryCodeVersionsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + registryName, + codeName, + options, + )) { + yield* page; + } + } + + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param codeName Container name. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + registryName: string, + codeName: string, + options?: RegistryCodeVersionsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, codeName, options }, + listOperationSpec, + ); + } + + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param codeName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + registryName: string, + codeName: string, + version: string, + options?: RegistryCodeVersionsDeleteOptionalParams, + ): Promise, void>> { + 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, registryName, codeName, version, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param codeName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + codeName: string, + version: string, + options?: RegistryCodeVersionsDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + registryName, + codeName, + version, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Get version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param codeName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + codeName: string, + version: string, + options?: RegistryCodeVersionsGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, codeName, version, options }, + getOperationSpec, + ); + } + + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param codeName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + codeName: string, + version: string, + body: CodeVersion, + options?: RegistryCodeVersionsCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RegistryCodeVersionsCreateOrUpdateResponse + > + > { + 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, + registryName, + codeName, + version, + body, + options, + }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + RegistryCodeVersionsCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "original-uri", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param codeName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + codeName: string, + version: string, + body: CodeVersion, + options?: RegistryCodeVersionsCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + registryName, + codeName, + version, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Generate a storage location and credential for the client to upload a code asset to. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param codeName Pending upload name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Pending upload request object + * @param options The options parameters. + */ + createOrGetStartPendingUpload( + resourceGroupName: string, + registryName: string, + codeName: string, + version: string, + body: PendingUploadRequestDto, + options?: RegistryCodeVersionsCreateOrGetStartPendingUploadOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, codeName, version, body, options }, + createOrGetStartPendingUploadOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param codeName Container name. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + registryName: string, + codeName: string, + nextLink: string, + options?: RegistryCodeVersionsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, codeName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.CodeVersionResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.orderBy, + Parameters.top, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.codeName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions/{version}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.codeName, + Parameters.version, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions/{version}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.CodeVersion, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.codeName, + Parameters.version, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions/{version}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.CodeVersion, + }, + 201: { + bodyMapper: Mappers.CodeVersion, + }, + 202: { + bodyMapper: Mappers.CodeVersion, + }, + 204: { + bodyMapper: Mappers.CodeVersion, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body3, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.codeName, + Parameters.version, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const createOrGetStartPendingUploadOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions/{version}/startPendingUpload", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.PendingUploadResponseDto, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body4, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.codeName, + Parameters.version, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.CodeVersionResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + Parameters.registryName, + Parameters.codeName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentContainers.ts new file mode 100644 index 000000000000..9c37b92cf1f2 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentContainers.ts @@ -0,0 +1,490 @@ +/* + * 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 { RegistryComponentContainers } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + ComponentContainer, + RegistryComponentContainersListNextOptionalParams, + RegistryComponentContainersListOptionalParams, + RegistryComponentContainersListResponse, + RegistryComponentContainersDeleteOptionalParams, + RegistryComponentContainersGetOptionalParams, + RegistryComponentContainersGetResponse, + RegistryComponentContainersCreateOrUpdateOptionalParams, + RegistryComponentContainersCreateOrUpdateResponse, + RegistryComponentContainersListNextResponse, +} from "../models"; + +/// +/** Class containing RegistryComponentContainers operations. */ +export class RegistryComponentContainersImpl + implements RegistryComponentContainers +{ + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class RegistryComponentContainers class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + registryName: string, + options?: RegistryComponentContainersListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, registryName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + registryName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + registryName: string, + options?: RegistryComponentContainersListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: RegistryComponentContainersListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, registryName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + registryName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + registryName: string, + options?: RegistryComponentContainersListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + registryName, + options, + )) { + yield* page; + } + } + + /** + * List containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + registryName: string, + options?: RegistryComponentContainersListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, options }, + listOperationSpec, + ); + } + + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param componentName Container name. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + registryName: string, + componentName: string, + options?: RegistryComponentContainersDeleteOptionalParams, + ): Promise, void>> { + 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, registryName, componentName, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param componentName Container name. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + componentName: string, + options?: RegistryComponentContainersDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + registryName, + componentName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Get container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param componentName Container name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + componentName: string, + options?: RegistryComponentContainersGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, componentName, options }, + getOperationSpec, + ); + } + + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param componentName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + componentName: string, + body: ComponentContainer, + options?: RegistryComponentContainersCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RegistryComponentContainersCreateOrUpdateResponse + > + > { + 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, registryName, componentName, body, options }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + RegistryComponentContainersCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "original-uri", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param componentName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + componentName: string, + body: ComponentContainer, + options?: RegistryComponentContainersCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + registryName, + componentName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + registryName: string, + nextLink: string, + options?: RegistryComponentContainersListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ComponentContainerResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.skip], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.componentName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ComponentContainer, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.componentName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.ComponentContainer, + }, + 201: { + bodyMapper: Mappers.ComponentContainer, + }, + 202: { + bodyMapper: Mappers.ComponentContainer, + }, + 204: { + bodyMapper: Mappers.ComponentContainer, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body5, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.componentName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ComponentContainerResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + Parameters.registryName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentVersions.ts new file mode 100644 index 000000000000..75395723c903 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentVersions.ts @@ -0,0 +1,546 @@ +/* + * 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 { RegistryComponentVersions } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + ComponentVersion, + RegistryComponentVersionsListNextOptionalParams, + RegistryComponentVersionsListOptionalParams, + RegistryComponentVersionsListResponse, + RegistryComponentVersionsDeleteOptionalParams, + RegistryComponentVersionsGetOptionalParams, + RegistryComponentVersionsGetResponse, + RegistryComponentVersionsCreateOrUpdateOptionalParams, + RegistryComponentVersionsCreateOrUpdateResponse, + RegistryComponentVersionsListNextResponse, +} from "../models"; + +/// +/** Class containing RegistryComponentVersions operations. */ +export class RegistryComponentVersionsImpl + implements RegistryComponentVersions +{ + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class RegistryComponentVersions class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param componentName Container name. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + registryName: string, + componentName: string, + options?: RegistryComponentVersionsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + registryName, + componentName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + registryName, + componentName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + registryName: string, + componentName: string, + options?: RegistryComponentVersionsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: RegistryComponentVersionsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + registryName, + componentName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + registryName, + componentName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + registryName: string, + componentName: string, + options?: RegistryComponentVersionsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + registryName, + componentName, + options, + )) { + yield* page; + } + } + + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param componentName Container name. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + registryName: string, + componentName: string, + options?: RegistryComponentVersionsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, componentName, options }, + listOperationSpec, + ); + } + + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param componentName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + registryName: string, + componentName: string, + version: string, + options?: RegistryComponentVersionsDeleteOptionalParams, + ): Promise, void>> { + 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, + registryName, + componentName, + version, + options, + }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param componentName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + componentName: string, + version: string, + options?: RegistryComponentVersionsDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + registryName, + componentName, + version, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Get version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param componentName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + componentName: string, + version: string, + options?: RegistryComponentVersionsGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, componentName, version, options }, + getOperationSpec, + ); + } + + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param componentName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + componentName: string, + version: string, + body: ComponentVersion, + options?: RegistryComponentVersionsCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RegistryComponentVersionsCreateOrUpdateResponse + > + > { + 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, + registryName, + componentName, + version, + body, + options, + }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + RegistryComponentVersionsCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "original-uri", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param componentName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + componentName: string, + version: string, + body: ComponentVersion, + options?: RegistryComponentVersionsCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + registryName, + componentName, + version, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param componentName Container name. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + registryName: string, + componentName: string, + nextLink: string, + options?: RegistryComponentVersionsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, componentName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}/versions", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ComponentVersionResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.orderBy, + Parameters.top, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.componentName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}/versions/{version}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.version, + Parameters.componentName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}/versions/{version}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ComponentVersion, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.version, + Parameters.componentName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}/versions/{version}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.ComponentVersion, + }, + 201: { + bodyMapper: Mappers.ComponentVersion, + }, + 202: { + bodyMapper: Mappers.ComponentVersion, + }, + 204: { + bodyMapper: Mappers.ComponentVersion, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body6, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.version, + Parameters.componentName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ComponentVersionResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + Parameters.registryName, + Parameters.componentName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryDataContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataContainers.ts new file mode 100644 index 000000000000..d7e507c9a185 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataContainers.ts @@ -0,0 +1,492 @@ +/* + * 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 { RegistryDataContainers } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + DataContainer, + RegistryDataContainersListNextOptionalParams, + RegistryDataContainersListOptionalParams, + RegistryDataContainersListResponse, + RegistryDataContainersDeleteOptionalParams, + RegistryDataContainersGetOptionalParams, + RegistryDataContainersGetResponse, + RegistryDataContainersCreateOrUpdateOptionalParams, + RegistryDataContainersCreateOrUpdateResponse, + RegistryDataContainersListNextResponse, +} from "../models"; + +/// +/** Class containing RegistryDataContainers operations. */ +export class RegistryDataContainersImpl implements RegistryDataContainers { + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class RegistryDataContainers class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List Data containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + registryName: string, + options?: RegistryDataContainersListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, registryName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + registryName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + registryName: string, + options?: RegistryDataContainersListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: RegistryDataContainersListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, registryName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + registryName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + registryName: string, + options?: RegistryDataContainersListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + registryName, + options, + )) { + yield* page; + } + } + + /** + * List Data containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + registryName: string, + options?: RegistryDataContainersListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, options }, + listOperationSpec, + ); + } + + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param name Container name. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + registryName: string, + name: string, + options?: RegistryDataContainersDeleteOptionalParams, + ): Promise, void>> { + 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, registryName, name, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param name Container name. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + name: string, + options?: RegistryDataContainersDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + registryName, + name, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Get container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param name Container name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + name: string, + options?: RegistryDataContainersGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, name, options }, + getOperationSpec, + ); + } + + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param name Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + name: string, + body: DataContainer, + options?: RegistryDataContainersCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RegistryDataContainersCreateOrUpdateResponse + > + > { + 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, registryName, name, body, options }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + RegistryDataContainersCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "original-uri", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param name Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + name: string, + body: DataContainer, + options?: RegistryDataContainersCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + registryName, + name, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + registryName: string, + nextLink: string, + options?: RegistryDataContainersListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DataContainerResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.listViewType, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DataContainer, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.DataContainer, + }, + 201: { + bodyMapper: Mappers.DataContainer, + }, + 202: { + bodyMapper: Mappers.DataContainer, + }, + 204: { + bodyMapper: Mappers.DataContainer, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body7, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.name1, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DataContainerResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + Parameters.registryName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryDataReferences.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataReferences.ts new file mode 100644 index 000000000000..8f8a7839d421 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataReferences.ts @@ -0,0 +1,82 @@ +/* + * 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 { RegistryDataReferences } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + GetBlobReferenceSASRequestDto, + RegistryDataReferencesGetBlobReferenceSASOptionalParams, + RegistryDataReferencesGetBlobReferenceSASResponse, +} from "../models"; + +/** Class containing RegistryDataReferences operations. */ +export class RegistryDataReferencesImpl implements RegistryDataReferences { + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class RegistryDataReferences class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * Get blob reference SAS Uri. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param name Data reference name. + * @param version Version identifier. + * @param body Asset id and blob uri. + * @param options The options parameters. + */ + getBlobReferenceSAS( + resourceGroupName: string, + registryName: string, + name: string, + version: string, + body: GetBlobReferenceSASRequestDto, + options?: RegistryDataReferencesGetBlobReferenceSASOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, name, version, body, options }, + getBlobReferenceSASOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const getBlobReferenceSASOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/datareferences/{name}/versions/{version}", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.GetBlobReferenceSASResponseDto, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body9, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.version, + Parameters.name1, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryDataVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataVersions.ts new file mode 100644 index 000000000000..fc2d4e50e8ef --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataVersions.ts @@ -0,0 +1,579 @@ +/* + * 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 { RegistryDataVersions } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + DataVersionBase, + RegistryDataVersionsListNextOptionalParams, + RegistryDataVersionsListOptionalParams, + RegistryDataVersionsListResponse, + RegistryDataVersionsDeleteOptionalParams, + RegistryDataVersionsGetOptionalParams, + RegistryDataVersionsGetResponse, + RegistryDataVersionsCreateOrUpdateOptionalParams, + RegistryDataVersionsCreateOrUpdateResponse, + PendingUploadRequestDto, + RegistryDataVersionsCreateOrGetStartPendingUploadOptionalParams, + RegistryDataVersionsCreateOrGetStartPendingUploadResponse, + RegistryDataVersionsListNextResponse, +} from "../models"; + +/// +/** Class containing RegistryDataVersions operations. */ +export class RegistryDataVersionsImpl implements RegistryDataVersions { + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class RegistryDataVersions class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List data versions in the data container + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param name Data container's name + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + registryName: string, + name: string, + options?: RegistryDataVersionsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + registryName, + name, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + registryName, + name, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + registryName: string, + name: string, + options?: RegistryDataVersionsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: RegistryDataVersionsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, registryName, name, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + registryName, + name, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + registryName: string, + name: string, + options?: RegistryDataVersionsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + registryName, + name, + options, + )) { + yield* page; + } + } + + /** + * List data versions in the data container + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param name Data container's name + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + registryName: string, + name: string, + options?: RegistryDataVersionsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, name, options }, + listOperationSpec, + ); + } + + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param name Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + registryName: string, + name: string, + version: string, + options?: RegistryDataVersionsDeleteOptionalParams, + ): Promise, void>> { + 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, registryName, name, version, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param name Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + name: string, + version: string, + options?: RegistryDataVersionsDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + registryName, + name, + version, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Get version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param name Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + name: string, + version: string, + options?: RegistryDataVersionsGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, name, version, options }, + getOperationSpec, + ); + } + + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param name Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + name: string, + version: string, + body: DataVersionBase, + options?: RegistryDataVersionsCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RegistryDataVersionsCreateOrUpdateResponse + > + > { + 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, registryName, name, version, body, options }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + RegistryDataVersionsCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "original-uri", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param name Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + name: string, + version: string, + body: DataVersionBase, + options?: RegistryDataVersionsCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + registryName, + name, + version, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Generate a storage location and credential for the client to upload a data asset to. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param name Data asset name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Pending upload request object + * @param options The options parameters. + */ + createOrGetStartPendingUpload( + resourceGroupName: string, + registryName: string, + name: string, + version: string, + body: PendingUploadRequestDto, + options?: RegistryDataVersionsCreateOrGetStartPendingUploadOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, name, version, body, options }, + createOrGetStartPendingUploadOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param name Data container's name + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + registryName: string, + name: string, + nextLink: string, + options?: RegistryDataVersionsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, name, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}/versions", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DataVersionBaseResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.orderBy, + Parameters.top, + Parameters.listViewType, + Parameters.tags, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}/versions/{version}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.version, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}/versions/{version}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DataVersionBase, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.version, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}/versions/{version}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.DataVersionBase, + }, + 201: { + bodyMapper: Mappers.DataVersionBase, + }, + 202: { + bodyMapper: Mappers.DataVersionBase, + }, + 204: { + bodyMapper: Mappers.DataVersionBase, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body8, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.version, + Parameters.name1, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const createOrGetStartPendingUploadOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}/versions/{version}/startPendingUpload", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.PendingUploadResponseDto, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body4, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.version, + Parameters.name, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DataVersionBaseResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + Parameters.registryName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentContainers.ts new file mode 100644 index 000000000000..bf5aaf9b47e8 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentContainers.ts @@ -0,0 +1,494 @@ +/* + * 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 { RegistryEnvironmentContainers } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + EnvironmentContainer, + RegistryEnvironmentContainersListNextOptionalParams, + RegistryEnvironmentContainersListOptionalParams, + RegistryEnvironmentContainersListResponse, + RegistryEnvironmentContainersDeleteOptionalParams, + RegistryEnvironmentContainersGetOptionalParams, + RegistryEnvironmentContainersGetResponse, + RegistryEnvironmentContainersCreateOrUpdateOptionalParams, + RegistryEnvironmentContainersCreateOrUpdateResponse, + RegistryEnvironmentContainersListNextResponse, +} from "../models"; + +/// +/** Class containing RegistryEnvironmentContainers operations. */ +export class RegistryEnvironmentContainersImpl + implements RegistryEnvironmentContainers +{ + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class RegistryEnvironmentContainers class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List environment containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + registryName: string, + options?: RegistryEnvironmentContainersListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, registryName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + registryName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + registryName: string, + options?: RegistryEnvironmentContainersListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: RegistryEnvironmentContainersListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, registryName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + registryName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + registryName: string, + options?: RegistryEnvironmentContainersListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + registryName, + options, + )) { + yield* page; + } + } + + /** + * List environment containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + registryName: string, + options?: RegistryEnvironmentContainersListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, options }, + listOperationSpec, + ); + } + + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param environmentName Container name. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + registryName: string, + environmentName: string, + options?: RegistryEnvironmentContainersDeleteOptionalParams, + ): Promise, void>> { + 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, registryName, environmentName, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param environmentName Container name. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + environmentName: string, + options?: RegistryEnvironmentContainersDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + registryName, + environmentName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Get container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param environmentName Container name. This is case-sensitive. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + environmentName: string, + options?: RegistryEnvironmentContainersGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, environmentName, options }, + getOperationSpec, + ); + } + + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param environmentName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + environmentName: string, + body: EnvironmentContainer, + options?: RegistryEnvironmentContainersCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RegistryEnvironmentContainersCreateOrUpdateResponse + > + > { + 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, registryName, environmentName, body, options }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + RegistryEnvironmentContainersCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "original-uri", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param environmentName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + environmentName: string, + body: EnvironmentContainer, + options?: RegistryEnvironmentContainersCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + registryName, + environmentName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + registryName: string, + nextLink: string, + options?: RegistryEnvironmentContainersListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EnvironmentContainerResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.listViewType, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.environmentName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EnvironmentContainer, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.environmentName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.EnvironmentContainer, + }, + 201: { + bodyMapper: Mappers.EnvironmentContainer, + }, + 202: { + bodyMapper: Mappers.EnvironmentContainer, + }, + 204: { + bodyMapper: Mappers.EnvironmentContainer, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body10, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.environmentName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EnvironmentContainerResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + Parameters.registryName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentVersions.ts new file mode 100644 index 000000000000..ffb365f20ace --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentVersions.ts @@ -0,0 +1,547 @@ +/* + * 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 { RegistryEnvironmentVersions } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + EnvironmentVersion, + RegistryEnvironmentVersionsListNextOptionalParams, + RegistryEnvironmentVersionsListOptionalParams, + RegistryEnvironmentVersionsListResponse, + RegistryEnvironmentVersionsDeleteOptionalParams, + RegistryEnvironmentVersionsGetOptionalParams, + RegistryEnvironmentVersionsGetResponse, + RegistryEnvironmentVersionsCreateOrUpdateOptionalParams, + RegistryEnvironmentVersionsCreateOrUpdateResponse, + RegistryEnvironmentVersionsListNextResponse, +} from "../models"; + +/// +/** Class containing RegistryEnvironmentVersions operations. */ +export class RegistryEnvironmentVersionsImpl + implements RegistryEnvironmentVersions +{ + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class RegistryEnvironmentVersions class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param environmentName Container name. This is case-sensitive. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + registryName: string, + environmentName: string, + options?: RegistryEnvironmentVersionsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + registryName, + environmentName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + registryName, + environmentName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + registryName: string, + environmentName: string, + options?: RegistryEnvironmentVersionsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: RegistryEnvironmentVersionsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + registryName, + environmentName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + registryName, + environmentName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + registryName: string, + environmentName: string, + options?: RegistryEnvironmentVersionsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + registryName, + environmentName, + options, + )) { + yield* page; + } + } + + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param environmentName Container name. This is case-sensitive. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + registryName: string, + environmentName: string, + options?: RegistryEnvironmentVersionsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, environmentName, options }, + listOperationSpec, + ); + } + + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param environmentName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + registryName: string, + environmentName: string, + version: string, + options?: RegistryEnvironmentVersionsDeleteOptionalParams, + ): Promise, void>> { + 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, + registryName, + environmentName, + version, + options, + }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param environmentName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + environmentName: string, + version: string, + options?: RegistryEnvironmentVersionsDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + registryName, + environmentName, + version, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Get version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param environmentName Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + environmentName: string, + version: string, + options?: RegistryEnvironmentVersionsGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, environmentName, version, options }, + getOperationSpec, + ); + } + + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param environmentName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + environmentName: string, + version: string, + body: EnvironmentVersion, + options?: RegistryEnvironmentVersionsCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RegistryEnvironmentVersionsCreateOrUpdateResponse + > + > { + 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, + registryName, + environmentName, + version, + body, + options, + }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + RegistryEnvironmentVersionsCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "original-uri", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param environmentName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + environmentName: string, + version: string, + body: EnvironmentVersion, + options?: RegistryEnvironmentVersionsCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + registryName, + environmentName, + version, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param environmentName Container name. This is case-sensitive. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + registryName: string, + environmentName: string, + nextLink: string, + options?: RegistryEnvironmentVersionsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, environmentName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}/versions", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EnvironmentVersionResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.orderBy, + Parameters.top, + Parameters.listViewType, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.environmentName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}/versions/{version}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.version, + Parameters.environmentName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}/versions/{version}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EnvironmentVersion, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.version, + Parameters.environmentName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}/versions/{version}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.EnvironmentVersion, + }, + 201: { + bodyMapper: Mappers.EnvironmentVersion, + }, + 202: { + bodyMapper: Mappers.EnvironmentVersion, + }, + 204: { + bodyMapper: Mappers.EnvironmentVersion, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body11, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.version, + Parameters.environmentName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EnvironmentVersionResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + Parameters.registryName, + Parameters.environmentName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryModelContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryModelContainers.ts new file mode 100644 index 000000000000..7536cb4cd48f --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryModelContainers.ts @@ -0,0 +1,492 @@ +/* + * 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 { RegistryModelContainers } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + ModelContainer, + RegistryModelContainersListNextOptionalParams, + RegistryModelContainersListOptionalParams, + RegistryModelContainersListResponse, + RegistryModelContainersDeleteOptionalParams, + RegistryModelContainersGetOptionalParams, + RegistryModelContainersGetResponse, + RegistryModelContainersCreateOrUpdateOptionalParams, + RegistryModelContainersCreateOrUpdateResponse, + RegistryModelContainersListNextResponse, +} from "../models"; + +/// +/** Class containing RegistryModelContainers operations. */ +export class RegistryModelContainersImpl implements RegistryModelContainers { + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class RegistryModelContainers class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List model containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + registryName: string, + options?: RegistryModelContainersListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, registryName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + registryName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + registryName: string, + options?: RegistryModelContainersListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: RegistryModelContainersListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, registryName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + registryName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + registryName: string, + options?: RegistryModelContainersListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + registryName, + options, + )) { + yield* page; + } + } + + /** + * List model containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + registryName: string, + options?: RegistryModelContainersListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, options }, + listOperationSpec, + ); + } + + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param modelName Container name. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + registryName: string, + modelName: string, + options?: RegistryModelContainersDeleteOptionalParams, + ): Promise, void>> { + 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, registryName, modelName, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param modelName Container name. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + modelName: string, + options?: RegistryModelContainersDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + registryName, + modelName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Get container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param modelName Container name. This is case-sensitive. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + modelName: string, + options?: RegistryModelContainersGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, modelName, options }, + getOperationSpec, + ); + } + + /** + * Create or update model container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param modelName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + modelName: string, + body: ModelContainer, + options?: RegistryModelContainersCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RegistryModelContainersCreateOrUpdateResponse + > + > { + 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, registryName, modelName, body, options }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + RegistryModelContainersCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "original-uri", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update model container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param modelName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + modelName: string, + body: ModelContainer, + options?: RegistryModelContainersCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + registryName, + modelName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + registryName: string, + nextLink: string, + options?: RegistryModelContainersListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ModelContainerResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.listViewType, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.modelName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ModelContainer, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.modelName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.ModelContainer, + }, + 201: { + bodyMapper: Mappers.ModelContainer, + }, + 202: { + bodyMapper: Mappers.ModelContainer, + }, + 204: { + bodyMapper: Mappers.ModelContainer, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body12, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.modelName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ModelContainerResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + Parameters.registryName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryModelVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryModelVersions.ts new file mode 100644 index 000000000000..fc1c8657270d --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryModelVersions.ts @@ -0,0 +1,594 @@ +/* + * 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 { RegistryModelVersions } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + ModelVersion, + RegistryModelVersionsListNextOptionalParams, + RegistryModelVersionsListOptionalParams, + RegistryModelVersionsListResponse, + RegistryModelVersionsDeleteOptionalParams, + RegistryModelVersionsGetOptionalParams, + RegistryModelVersionsGetResponse, + RegistryModelVersionsCreateOrUpdateOptionalParams, + RegistryModelVersionsCreateOrUpdateResponse, + PendingUploadRequestDto, + RegistryModelVersionsCreateOrGetStartPendingUploadOptionalParams, + RegistryModelVersionsCreateOrGetStartPendingUploadResponse, + RegistryModelVersionsListNextResponse, +} from "../models"; + +/// +/** Class containing RegistryModelVersions operations. */ +export class RegistryModelVersionsImpl implements RegistryModelVersions { + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class RegistryModelVersions class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param modelName Container name. This is case-sensitive. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + registryName: string, + modelName: string, + options?: RegistryModelVersionsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + registryName, + modelName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + registryName, + modelName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + registryName: string, + modelName: string, + options?: RegistryModelVersionsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: RegistryModelVersionsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + registryName, + modelName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + registryName, + modelName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + registryName: string, + modelName: string, + options?: RegistryModelVersionsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + registryName, + modelName, + options, + )) { + yield* page; + } + } + + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param modelName Container name. This is case-sensitive. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + registryName: string, + modelName: string, + options?: RegistryModelVersionsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, modelName, options }, + listOperationSpec, + ); + } + + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param modelName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + registryName: string, + modelName: string, + version: string, + options?: RegistryModelVersionsDeleteOptionalParams, + ): Promise, void>> { + 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, registryName, modelName, version, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param modelName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + modelName: string, + version: string, + options?: RegistryModelVersionsDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + registryName, + modelName, + version, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Get version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param modelName Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + modelName: string, + version: string, + options?: RegistryModelVersionsGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, modelName, version, options }, + getOperationSpec, + ); + } + + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param modelName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + modelName: string, + version: string, + body: ModelVersion, + options?: RegistryModelVersionsCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RegistryModelVersionsCreateOrUpdateResponse + > + > { + 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, + registryName, + modelName, + version, + body, + options, + }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + RegistryModelVersionsCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "original-uri", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param modelName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + modelName: string, + version: string, + body: ModelVersion, + options?: RegistryModelVersionsCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + registryName, + modelName, + version, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Generate a storage location and credential for the client to upload a model asset to. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param modelName Model name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Pending upload request object + * @param options The options parameters. + */ + createOrGetStartPendingUpload( + resourceGroupName: string, + registryName: string, + modelName: string, + version: string, + body: PendingUploadRequestDto, + options?: RegistryModelVersionsCreateOrGetStartPendingUploadOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, modelName, version, body, options }, + createOrGetStartPendingUploadOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param modelName Container name. This is case-sensitive. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + registryName: string, + modelName: string, + nextLink: string, + options?: RegistryModelVersionsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, modelName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ModelVersionResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.orderBy, + Parameters.top, + Parameters.listViewType, + Parameters.version1, + Parameters.description, + Parameters.tags1, + Parameters.properties1, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.modelName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions/{version}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.version, + Parameters.modelName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions/{version}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ModelVersion, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.version, + Parameters.modelName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions/{version}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.ModelVersion, + }, + 201: { + bodyMapper: Mappers.ModelVersion, + }, + 202: { + bodyMapper: Mappers.ModelVersion, + }, + 204: { + bodyMapper: Mappers.ModelVersion, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body13, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.version, + Parameters.modelName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const createOrGetStartPendingUploadOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions/{version}/startPendingUpload", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.PendingUploadResponseDto, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body4, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.version, + Parameters.modelName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ModelVersionResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + Parameters.registryName, + Parameters.modelName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/schedules.ts b/sdk/machinelearning/arm-machinelearning/src/operations/schedules.ts index e50c9ecb7227..6a55982a5712 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/schedules.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/schedules.ts @@ -12,9 +12,13 @@ import { Schedules } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; -import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; -import { LroImpl } from "../lroImpl"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; import { Schedule, SchedulesListNextOptionalParams, @@ -25,19 +29,19 @@ import { SchedulesGetResponse, SchedulesCreateOrUpdateOptionalParams, SchedulesCreateOrUpdateResponse, - SchedulesListNextResponse + SchedulesListNextResponse, } from "../models"; /// /** Class containing Schedules operations. */ export class SchedulesImpl implements Schedules { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class Schedules class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -50,7 +54,7 @@ export class SchedulesImpl implements Schedules { public list( resourceGroupName: string, workspaceName: string, - options?: SchedulesListOptionalParams + options?: SchedulesListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -68,9 +72,9 @@ export class SchedulesImpl implements Schedules { resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -78,7 +82,7 @@ export class SchedulesImpl implements Schedules { resourceGroupName: string, workspaceName: string, options?: SchedulesListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: SchedulesListResponse; let continuationToken = settings?.continuationToken; @@ -94,7 +98,7 @@ export class SchedulesImpl implements Schedules { resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -106,12 +110,12 @@ export class SchedulesImpl implements Schedules { private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: SchedulesListOptionalParams + options?: SchedulesListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -126,11 +130,11 @@ export class SchedulesImpl implements Schedules { private _list( resourceGroupName: string, workspaceName: string, - options?: SchedulesListOptionalParams + options?: SchedulesListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -145,25 +149,24 @@ export class SchedulesImpl implements Schedules { resourceGroupName: string, workspaceName: string, name: string, - options?: SchedulesDeleteOptionalParams - ): Promise, void>> { + options?: SchedulesDeleteOptionalParams, + ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -172,8 +175,8 @@ export class SchedulesImpl implements Schedules { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -181,19 +184,20 @@ export class SchedulesImpl implements Schedules { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, workspaceName, name, options }, - deleteOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, name, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", }); await poller.poll(); return poller; @@ -210,13 +214,13 @@ export class SchedulesImpl implements Schedules { resourceGroupName: string, workspaceName: string, name: string, - options?: SchedulesDeleteOptionalParams + options?: SchedulesDeleteOptionalParams, ): Promise { const poller = await this.beginDelete( resourceGroupName, workspaceName, name, - options + options, ); return poller.pollUntilDone(); } @@ -232,11 +236,11 @@ export class SchedulesImpl implements Schedules { resourceGroupName: string, workspaceName: string, name: string, - options?: SchedulesGetOptionalParams + options?: SchedulesGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, name, options }, - getOperationSpec + getOperationSpec, ); } @@ -253,30 +257,29 @@ export class SchedulesImpl implements Schedules { workspaceName: string, name: string, body: Schedule, - options?: SchedulesCreateOrUpdateOptionalParams + options?: SchedulesCreateOrUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, SchedulesCreateOrUpdateResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -285,8 +288,8 @@ export class SchedulesImpl implements Schedules { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -294,19 +297,23 @@ export class SchedulesImpl implements Schedules { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, workspaceName, name, body, options }, - createOrUpdateOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, name, body, options }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + SchedulesCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "original-uri", }); await poller.poll(); return poller; @@ -325,14 +332,14 @@ export class SchedulesImpl implements Schedules { workspaceName: string, name: string, body: Schedule, - options?: SchedulesCreateOrUpdateOptionalParams + options?: SchedulesCreateOrUpdateOptionalParams, ): Promise { const poller = await this.beginCreateOrUpdate( resourceGroupName, workspaceName, name, body, - options + options, ); return poller.pollUntilDone(); } @@ -348,11 +355,11 @@ export class SchedulesImpl implements Schedules { resourceGroupName: string, workspaceName: string, nextLink: string, - options?: SchedulesListNextOptionalParams + options?: SchedulesListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -360,34 +367,32 @@ export class SchedulesImpl implements Schedules { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/schedules", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/schedules", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ScheduleResourceArmPaginatedResult + bodyMapper: Mappers.ScheduleResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.skip, - Parameters.listViewType1 + Parameters.listViewType1, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/schedules/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/schedules/{name}", httpMethod: "DELETE", responses: { 200: {}, @@ -395,8 +400,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -404,22 +409,21 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/schedules/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/schedules/{name}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.Schedule + bodyMapper: Mappers.Schedule, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -427,68 +431,62 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/schedules/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/schedules/{name}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.Schedule + bodyMapper: Mappers.Schedule, }, 201: { - bodyMapper: Mappers.Schedule + bodyMapper: Mappers.Schedule, }, 202: { - bodyMapper: Mappers.Schedule + bodyMapper: Mappers.Schedule, }, 204: { - bodyMapper: Mappers.Schedule + bodyMapper: Mappers.Schedule, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - requestBody: Parameters.body21, + requestBody: Parameters.body31, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name1 + Parameters.name1, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ScheduleResourceArmPaginatedResult + bodyMapper: Mappers.ScheduleResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.listViewType1 - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/usages.ts b/sdk/machinelearning/arm-machinelearning/src/operations/usages.ts index d3abf9d81047..ddb15e99564b 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/usages.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/usages.ts @@ -12,25 +12,25 @@ import { Usages } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { Usage, UsagesListNextOptionalParams, UsagesListOptionalParams, UsagesListResponse, - UsagesListNextResponse + UsagesListNextResponse, } from "../models"; /// /** Class containing Usages operations. */ export class UsagesImpl implements Usages { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class Usages class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -42,7 +42,7 @@ export class UsagesImpl implements Usages { */ public list( location: string, - options?: UsagesListOptionalParams + options?: UsagesListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(location, options); return { @@ -57,14 +57,14 @@ export class UsagesImpl implements Usages { throw new Error("maxPageSize is not supported by this operation."); } return this.listPagingPage(location, options, settings); - } + }, }; } private async *listPagingPage( location: string, options?: UsagesListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: UsagesListResponse; let continuationToken = settings?.continuationToken; @@ -86,7 +86,7 @@ export class UsagesImpl implements Usages { private async *listPagingAll( location: string, - options?: UsagesListOptionalParams + options?: UsagesListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage(location, options)) { yield* page; @@ -101,11 +101,11 @@ export class UsagesImpl implements Usages { */ private _list( location: string, - options?: UsagesListOptionalParams + options?: UsagesListOptionalParams, ): Promise { return this.client.sendOperationRequest( { location, options }, - listOperationSpec + listOperationSpec, ); } @@ -118,11 +118,11 @@ export class UsagesImpl implements Usages { private _listNext( location: string, nextLink: string, - options?: UsagesListNextOptionalParams + options?: UsagesListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { location, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -130,44 +130,42 @@ export class UsagesImpl implements Usages { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/usages", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/usages", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ListUsagesResult + bodyMapper: Mappers.ListUsagesResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location + Parameters.location, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ListUsagesResult + bodyMapper: Mappers.ListUsagesResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.nextLink, - Parameters.location + Parameters.location, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/virtualMachineSizes.ts b/sdk/machinelearning/arm-machinelearning/src/operations/virtualMachineSizes.ts index 1b937ab98879..6181fe177498 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/virtualMachineSizes.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/virtualMachineSizes.ts @@ -10,21 +10,21 @@ import { VirtualMachineSizes } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { VirtualMachineSizesListOptionalParams, - VirtualMachineSizesListResponse + VirtualMachineSizesListResponse, } from "../models"; /** Class containing VirtualMachineSizes operations. */ export class VirtualMachineSizesImpl implements VirtualMachineSizes { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class VirtualMachineSizes class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -35,11 +35,11 @@ export class VirtualMachineSizesImpl implements VirtualMachineSizes { */ list( location: string, - options?: VirtualMachineSizesListOptionalParams + options?: VirtualMachineSizesListOptionalParams, ): Promise { return this.client.sendOperationRequest( { location, options }, - listOperationSpec + listOperationSpec, ); } } @@ -47,23 +47,22 @@ export class VirtualMachineSizesImpl implements VirtualMachineSizes { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/vmSizes", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/vmSizes", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.VirtualMachineSizeListResult + bodyMapper: Mappers.VirtualMachineSizeListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location + Parameters.location, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts b/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts index ec30dfa77d23..daa1a8499148 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts @@ -12,7 +12,7 @@ import { WorkspaceConnections } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { WorkspaceConnectionPropertiesV2BasicResource, WorkspaceConnectionsListNextOptionalParams, @@ -23,19 +23,19 @@ import { WorkspaceConnectionsGetOptionalParams, WorkspaceConnectionsGetResponse, WorkspaceConnectionsDeleteOptionalParams, - WorkspaceConnectionsListNextResponse + WorkspaceConnectionsListNextResponse, } from "../models"; /// /** Class containing WorkspaceConnections operations. */ export class WorkspaceConnectionsImpl implements WorkspaceConnections { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class WorkspaceConnections class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -47,7 +47,7 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { public list( resourceGroupName: string, workspaceName: string, - options?: WorkspaceConnectionsListOptionalParams + options?: WorkspaceConnectionsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -65,9 +65,9 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -75,7 +75,7 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { resourceGroupName: string, workspaceName: string, options?: WorkspaceConnectionsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WorkspaceConnectionsListResponse; let continuationToken = settings?.continuationToken; @@ -91,7 +91,7 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -103,12 +103,12 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: WorkspaceConnectionsListOptionalParams + options?: WorkspaceConnectionsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -126,11 +126,11 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { workspaceName: string, connectionName: string, parameters: WorkspaceConnectionPropertiesV2BasicResource, - options?: WorkspaceConnectionsCreateOptionalParams + options?: WorkspaceConnectionsCreateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, connectionName, parameters, options }, - createOperationSpec + createOperationSpec, ); } @@ -144,11 +144,11 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { resourceGroupName: string, workspaceName: string, connectionName: string, - options?: WorkspaceConnectionsGetOptionalParams + options?: WorkspaceConnectionsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, connectionName, options }, - getOperationSpec + getOperationSpec, ); } @@ -162,11 +162,11 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { resourceGroupName: string, workspaceName: string, connectionName: string, - options?: WorkspaceConnectionsDeleteOptionalParams + options?: WorkspaceConnectionsDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, connectionName, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -178,11 +178,11 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { private _list( resourceGroupName: string, workspaceName: string, - options?: WorkspaceConnectionsListOptionalParams + options?: WorkspaceConnectionsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -197,11 +197,11 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { resourceGroupName: string, workspaceName: string, nextLink: string, - options?: WorkspaceConnectionsListNextOptionalParams + options?: WorkspaceConnectionsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -209,16 +209,15 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const createOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.WorkspaceConnectionPropertiesV2BasicResource + bodyMapper: Mappers.WorkspaceConnectionPropertiesV2BasicResource, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, requestBody: Parameters.parameters6, queryParameters: [Parameters.apiVersion], @@ -227,23 +226,22 @@ const createOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.connectionName + Parameters.connectionName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkspaceConnectionPropertiesV2BasicResource + bodyMapper: Mappers.WorkspaceConnectionPropertiesV2BasicResource, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -251,21 +249,20 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.connectionName + Parameters.connectionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -273,37 +270,36 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.connectionName + Parameters.connectionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections", httpMethod: "GET", responses: { 200: { bodyMapper: - Mappers.WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult + Mappers.WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.target, - Parameters.category + Parameters.category, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", @@ -311,24 +307,19 @@ const listNextOperationSpec: coreClient.OperationSpec = { responses: { 200: { bodyMapper: - Mappers.WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult + Mappers.WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.target, - Parameters.category - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/workspaceFeatures.ts b/sdk/machinelearning/arm-machinelearning/src/operations/workspaceFeatures.ts index 2dfb2a4b8794..b1240332667e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/workspaceFeatures.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/workspaceFeatures.ts @@ -12,25 +12,25 @@ import { WorkspaceFeatures } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { AmlUserFeature, WorkspaceFeaturesListNextOptionalParams, WorkspaceFeaturesListOptionalParams, WorkspaceFeaturesListResponse, - WorkspaceFeaturesListNextResponse + WorkspaceFeaturesListNextResponse, } from "../models"; /// /** Class containing WorkspaceFeatures operations. */ export class WorkspaceFeaturesImpl implements WorkspaceFeatures { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class WorkspaceFeatures class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -43,7 +43,7 @@ export class WorkspaceFeaturesImpl implements WorkspaceFeatures { public list( resourceGroupName: string, workspaceName: string, - options?: WorkspaceFeaturesListOptionalParams + options?: WorkspaceFeaturesListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(resourceGroupName, workspaceName, options); return { @@ -61,9 +61,9 @@ export class WorkspaceFeaturesImpl implements WorkspaceFeatures { resourceGroupName, workspaceName, options, - settings + settings, ); - } + }, }; } @@ -71,7 +71,7 @@ export class WorkspaceFeaturesImpl implements WorkspaceFeatures { resourceGroupName: string, workspaceName: string, options?: WorkspaceFeaturesListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WorkspaceFeaturesListResponse; let continuationToken = settings?.continuationToken; @@ -87,7 +87,7 @@ export class WorkspaceFeaturesImpl implements WorkspaceFeatures { resourceGroupName, workspaceName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -99,12 +99,12 @@ export class WorkspaceFeaturesImpl implements WorkspaceFeatures { private async *listPagingAll( resourceGroupName: string, workspaceName: string, - options?: WorkspaceFeaturesListOptionalParams + options?: WorkspaceFeaturesListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, workspaceName, - options + options, )) { yield* page; } @@ -119,11 +119,11 @@ export class WorkspaceFeaturesImpl implements WorkspaceFeatures { private _list( resourceGroupName: string, workspaceName: string, - options?: WorkspaceFeaturesListOptionalParams + options?: WorkspaceFeaturesListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOperationSpec + listOperationSpec, ); } @@ -138,11 +138,11 @@ export class WorkspaceFeaturesImpl implements WorkspaceFeatures { resourceGroupName: string, workspaceName: string, nextLink: string, - options?: WorkspaceFeaturesListNextOptionalParams + options?: WorkspaceFeaturesListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -150,46 +150,44 @@ export class WorkspaceFeaturesImpl implements WorkspaceFeatures { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/features", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/features", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ListAmlUserFeatureResult + bodyMapper: Mappers.ListAmlUserFeatureResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ListAmlUserFeatureResult + bodyMapper: Mappers.ListAmlUserFeatureResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/workspaces.ts b/sdk/machinelearning/arm-machinelearning/src/operations/workspaces.ts index c9cbd5890ede..f538bee4a68e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/workspaces.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/workspaces.ts @@ -12,9 +12,13 @@ import { Workspaces } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; -import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; -import { LroImpl } from "../lroImpl"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; import { Workspace, WorkspacesListByResourceGroupNextOptionalParams, @@ -47,19 +51,19 @@ import { WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams, WorkspacesListOutboundNetworkDependenciesEndpointsResponse, WorkspacesListByResourceGroupNextResponse, - WorkspacesListBySubscriptionNextResponse + WorkspacesListBySubscriptionNextResponse, } from "../models"; /// /** Class containing Workspaces operations. */ export class WorkspacesImpl implements Workspaces { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class Workspaces class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -70,7 +74,7 @@ export class WorkspacesImpl implements Workspaces { */ public listByResourceGroup( resourceGroupName: string, - options?: WorkspacesListByResourceGroupOptionalParams + options?: WorkspacesListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); return { @@ -87,16 +91,16 @@ export class WorkspacesImpl implements Workspaces { return this.listByResourceGroupPagingPage( resourceGroupName, options, - settings + settings, ); - } + }, }; } private async *listByResourceGroupPagingPage( resourceGroupName: string, options?: WorkspacesListByResourceGroupOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WorkspacesListByResourceGroupResponse; let continuationToken = settings?.continuationToken; @@ -111,7 +115,7 @@ export class WorkspacesImpl implements Workspaces { result = await this._listByResourceGroupNext( resourceGroupName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -122,11 +126,11 @@ export class WorkspacesImpl implements Workspaces { private async *listByResourceGroupPagingAll( resourceGroupName: string, - options?: WorkspacesListByResourceGroupOptionalParams + options?: WorkspacesListByResourceGroupOptionalParams, ): AsyncIterableIterator { for await (const page of this.listByResourceGroupPagingPage( resourceGroupName, - options + options, )) { yield* page; } @@ -137,7 +141,7 @@ export class WorkspacesImpl implements Workspaces { * @param options The options parameters. */ public listBySubscription( - options?: WorkspacesListBySubscriptionOptionalParams + options?: WorkspacesListBySubscriptionOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listBySubscriptionPagingAll(options); return { @@ -152,13 +156,13 @@ export class WorkspacesImpl implements Workspaces { throw new Error("maxPageSize is not supported by this operation."); } return this.listBySubscriptionPagingPage(options, settings); - } + }, }; } private async *listBySubscriptionPagingPage( options?: WorkspacesListBySubscriptionOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WorkspacesListBySubscriptionResponse; let continuationToken = settings?.continuationToken; @@ -179,7 +183,7 @@ export class WorkspacesImpl implements Workspaces { } private async *listBySubscriptionPagingAll( - options?: WorkspacesListBySubscriptionOptionalParams + options?: WorkspacesListBySubscriptionOptionalParams, ): AsyncIterableIterator { for await (const page of this.listBySubscriptionPagingPage(options)) { yield* page; @@ -195,11 +199,11 @@ export class WorkspacesImpl implements Workspaces { get( resourceGroupName: string, workspaceName: string, - options?: WorkspacesGetOptionalParams + options?: WorkspacesGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - getOperationSpec + getOperationSpec, ); } @@ -214,30 +218,29 @@ export class WorkspacesImpl implements Workspaces { resourceGroupName: string, workspaceName: string, parameters: Workspace, - options?: WorkspacesCreateOrUpdateOptionalParams + options?: WorkspacesCreateOrUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, WorkspacesCreateOrUpdateResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -246,8 +249,8 @@ export class WorkspacesImpl implements Workspaces { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -255,19 +258,22 @@ export class WorkspacesImpl implements Workspaces { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, workspaceName, parameters, options }, - createOrUpdateOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, parameters, options }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + WorkspacesCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -284,13 +290,13 @@ export class WorkspacesImpl implements Workspaces { resourceGroupName: string, workspaceName: string, parameters: Workspace, - options?: WorkspacesCreateOrUpdateOptionalParams + options?: WorkspacesCreateOrUpdateOptionalParams, ): Promise { const poller = await this.beginCreateOrUpdate( resourceGroupName, workspaceName, parameters, - options + options, ); return poller.pollUntilDone(); } @@ -304,25 +310,24 @@ export class WorkspacesImpl implements Workspaces { async beginDelete( resourceGroupName: string, workspaceName: string, - options?: WorkspacesDeleteOptionalParams - ): Promise, void>> { + options?: WorkspacesDeleteOptionalParams, + ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -331,8 +336,8 @@ export class WorkspacesImpl implements Workspaces { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -340,19 +345,19 @@ export class WorkspacesImpl implements Workspaces { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, workspaceName, options }, - deleteOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -367,12 +372,12 @@ export class WorkspacesImpl implements Workspaces { async beginDeleteAndWait( resourceGroupName: string, workspaceName: string, - options?: WorkspacesDeleteOptionalParams + options?: WorkspacesDeleteOptionalParams, ): Promise { const poller = await this.beginDelete( resourceGroupName, workspaceName, - options + options, ); return poller.pollUntilDone(); } @@ -388,30 +393,29 @@ export class WorkspacesImpl implements Workspaces { resourceGroupName: string, workspaceName: string, parameters: WorkspaceUpdateParameters, - options?: WorkspacesUpdateOptionalParams + options?: WorkspacesUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, WorkspacesUpdateResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -420,8 +424,8 @@ export class WorkspacesImpl implements Workspaces { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -429,19 +433,22 @@ export class WorkspacesImpl implements Workspaces { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, workspaceName, parameters, options }, - updateOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, parameters, options }, + spec: updateOperationSpec, + }); + const poller = await createHttpPoller< + WorkspacesUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -458,13 +465,13 @@ export class WorkspacesImpl implements Workspaces { resourceGroupName: string, workspaceName: string, parameters: WorkspaceUpdateParameters, - options?: WorkspacesUpdateOptionalParams + options?: WorkspacesUpdateOptionalParams, ): Promise { const poller = await this.beginUpdate( resourceGroupName, workspaceName, parameters, - options + options, ); return poller.pollUntilDone(); } @@ -476,11 +483,11 @@ export class WorkspacesImpl implements Workspaces { */ private _listByResourceGroup( resourceGroupName: string, - options?: WorkspacesListByResourceGroupOptionalParams + options?: WorkspacesListByResourceGroupOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, options }, - listByResourceGroupOperationSpec + listByResourceGroupOperationSpec, ); } @@ -493,30 +500,29 @@ export class WorkspacesImpl implements Workspaces { async beginDiagnose( resourceGroupName: string, workspaceName: string, - options?: WorkspacesDiagnoseOptionalParams + options?: WorkspacesDiagnoseOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, WorkspacesDiagnoseResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -525,8 +531,8 @@ export class WorkspacesImpl implements Workspaces { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -534,20 +540,23 @@ export class WorkspacesImpl implements Workspaces { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, workspaceName, options }, - diagnoseOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, options }, + spec: diagnoseOperationSpec, + }); + const poller = await createHttpPoller< + WorkspacesDiagnoseResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, - lroResourceLocationConfig: "location" + resourceLocationConfig: "location", }); await poller.poll(); return poller; @@ -562,12 +571,12 @@ export class WorkspacesImpl implements Workspaces { async beginDiagnoseAndWait( resourceGroupName: string, workspaceName: string, - options?: WorkspacesDiagnoseOptionalParams + options?: WorkspacesDiagnoseOptionalParams, ): Promise { const poller = await this.beginDiagnose( resourceGroupName, workspaceName, - options + options, ); return poller.pollUntilDone(); } @@ -582,11 +591,11 @@ export class WorkspacesImpl implements Workspaces { listKeys( resourceGroupName: string, workspaceName: string, - options?: WorkspacesListKeysOptionalParams + options?: WorkspacesListKeysOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listKeysOperationSpec + listKeysOperationSpec, ); } @@ -600,25 +609,24 @@ export class WorkspacesImpl implements Workspaces { async beginResyncKeys( resourceGroupName: string, workspaceName: string, - options?: WorkspacesResyncKeysOptionalParams - ): Promise, void>> { + options?: WorkspacesResyncKeysOptionalParams, + ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -627,8 +635,8 @@ export class WorkspacesImpl implements Workspaces { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -636,19 +644,19 @@ export class WorkspacesImpl implements Workspaces { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, workspaceName, options }, - resyncKeysOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, options }, + spec: resyncKeysOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -664,12 +672,12 @@ export class WorkspacesImpl implements Workspaces { async beginResyncKeysAndWait( resourceGroupName: string, workspaceName: string, - options?: WorkspacesResyncKeysOptionalParams + options?: WorkspacesResyncKeysOptionalParams, ): Promise { const poller = await this.beginResyncKeys( resourceGroupName, workspaceName, - options + options, ); return poller.pollUntilDone(); } @@ -679,11 +687,11 @@ export class WorkspacesImpl implements Workspaces { * @param options The options parameters. */ private _listBySubscription( - options?: WorkspacesListBySubscriptionOptionalParams + options?: WorkspacesListBySubscriptionOptionalParams, ): Promise { return this.client.sendOperationRequest( { options }, - listBySubscriptionOperationSpec + listBySubscriptionOperationSpec, ); } @@ -696,11 +704,11 @@ export class WorkspacesImpl implements Workspaces { listNotebookAccessToken( resourceGroupName: string, workspaceName: string, - options?: WorkspacesListNotebookAccessTokenOptionalParams + options?: WorkspacesListNotebookAccessTokenOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listNotebookAccessTokenOperationSpec + listNotebookAccessTokenOperationSpec, ); } @@ -713,30 +721,29 @@ export class WorkspacesImpl implements Workspaces { async beginPrepareNotebook( resourceGroupName: string, workspaceName: string, - options?: WorkspacesPrepareNotebookOptionalParams + options?: WorkspacesPrepareNotebookOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, WorkspacesPrepareNotebookResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -745,8 +752,8 @@ export class WorkspacesImpl implements Workspaces { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -754,20 +761,23 @@ export class WorkspacesImpl implements Workspaces { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, workspaceName, options }, - prepareNotebookOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, options }, + spec: prepareNotebookOperationSpec, + }); + const poller = await createHttpPoller< + WorkspacesPrepareNotebookResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, - lroResourceLocationConfig: "location" + resourceLocationConfig: "location", }); await poller.poll(); return poller; @@ -782,12 +792,12 @@ export class WorkspacesImpl implements Workspaces { async beginPrepareNotebookAndWait( resourceGroupName: string, workspaceName: string, - options?: WorkspacesPrepareNotebookOptionalParams + options?: WorkspacesPrepareNotebookOptionalParams, ): Promise { const poller = await this.beginPrepareNotebook( resourceGroupName, workspaceName, - options + options, ); return poller.pollUntilDone(); } @@ -801,11 +811,11 @@ export class WorkspacesImpl implements Workspaces { listStorageAccountKeys( resourceGroupName: string, workspaceName: string, - options?: WorkspacesListStorageAccountKeysOptionalParams + options?: WorkspacesListStorageAccountKeysOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listStorageAccountKeysOperationSpec + listStorageAccountKeysOperationSpec, ); } @@ -818,11 +828,11 @@ export class WorkspacesImpl implements Workspaces { listNotebookKeys( resourceGroupName: string, workspaceName: string, - options?: WorkspacesListNotebookKeysOptionalParams + options?: WorkspacesListNotebookKeysOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listNotebookKeysOperationSpec + listNotebookKeysOperationSpec, ); } @@ -836,11 +846,11 @@ export class WorkspacesImpl implements Workspaces { listOutboundNetworkDependenciesEndpoints( resourceGroupName: string, workspaceName: string, - options?: WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams + options?: WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listOutboundNetworkDependenciesEndpointsOperationSpec + listOutboundNetworkDependenciesEndpointsOperationSpec, ); } @@ -853,11 +863,11 @@ export class WorkspacesImpl implements Workspaces { private _listByResourceGroupNext( resourceGroupName: string, nextLink: string, - options?: WorkspacesListByResourceGroupNextOptionalParams + options?: WorkspacesListByResourceGroupNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, nextLink, options }, - listByResourceGroupNextOperationSpec + listByResourceGroupNextOperationSpec, ); } @@ -868,11 +878,11 @@ export class WorkspacesImpl implements Workspaces { */ private _listBySubscriptionNext( nextLink: string, - options?: WorkspacesListBySubscriptionNextOptionalParams + options?: WorkspacesListBySubscriptionNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { nextLink, options }, - listBySubscriptionNextOperationSpec + listBySubscriptionNextOperationSpec, ); } } @@ -880,47 +890,45 @@ export class WorkspacesImpl implements Workspaces { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.Workspace + bodyMapper: Mappers.Workspace, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.Workspace + bodyMapper: Mappers.Workspace, }, 201: { - bodyMapper: Mappers.Workspace + bodyMapper: Mappers.Workspace, }, 202: { - bodyMapper: Mappers.Workspace + bodyMapper: Mappers.Workspace, }, 204: { - bodyMapper: Mappers.Workspace + bodyMapper: Mappers.Workspace, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, requestBody: Parameters.parameters, queryParameters: [Parameters.apiVersion], @@ -928,15 +936,14 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", httpMethod: "DELETE", responses: { 200: {}, @@ -944,39 +951,38 @@ const deleteOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion, Parameters.forceToPurge], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.Workspace + bodyMapper: Mappers.Workspace, }, 201: { - bodyMapper: Mappers.Workspace + bodyMapper: Mappers.Workspace, }, 202: { - bodyMapper: Mappers.Workspace + bodyMapper: Mappers.Workspace, }, 204: { - bodyMapper: Mappers.Workspace + bodyMapper: Mappers.Workspace, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, requestBody: Parameters.parameters1, queryParameters: [Parameters.apiVersion], @@ -984,53 +990,51 @@ const updateOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listByResourceGroupOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkspaceListResult + bodyMapper: Mappers.WorkspaceListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.skip], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const diagnoseOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/diagnose", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/diagnose", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.DiagnoseResponseResult + bodyMapper: Mappers.DiagnoseResponseResult, }, 201: { - bodyMapper: Mappers.DiagnoseResponseResult + bodyMapper: Mappers.DiagnoseResponseResult, }, 202: { - bodyMapper: Mappers.DiagnoseResponseResult + bodyMapper: Mappers.DiagnoseResponseResult, }, 204: { - bodyMapper: Mappers.DiagnoseResponseResult + bodyMapper: Mappers.DiagnoseResponseResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, requestBody: Parameters.parameters2, queryParameters: [Parameters.apiVersion], @@ -1038,37 +1042,35 @@ const diagnoseOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listKeysOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listKeys", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listKeys", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.ListWorkspaceKeysResult + bodyMapper: Mappers.ListWorkspaceKeysResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const resyncKeysOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/resyncKeys", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/resyncKeys", httpMethod: "POST", responses: { 200: {}, @@ -1076,193 +1078,186 @@ const resyncKeysOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listBySubscriptionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkspaceListResult + bodyMapper: Mappers.WorkspaceListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.skip], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNotebookAccessTokenOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookAccessToken", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookAccessToken", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.NotebookAccessTokenResult + bodyMapper: Mappers.NotebookAccessTokenResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const prepareNotebookOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/prepareNotebook", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/prepareNotebook", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.NotebookResourceInfo + bodyMapper: Mappers.NotebookResourceInfo, }, 201: { - bodyMapper: Mappers.NotebookResourceInfo + bodyMapper: Mappers.NotebookResourceInfo, }, 202: { - bodyMapper: Mappers.NotebookResourceInfo + bodyMapper: Mappers.NotebookResourceInfo, }, 204: { - bodyMapper: Mappers.NotebookResourceInfo + bodyMapper: Mappers.NotebookResourceInfo, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listStorageAccountKeysOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listStorageAccountKeys", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listStorageAccountKeys", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.ListStorageAccountKeysResult + bodyMapper: Mappers.ListStorageAccountKeysResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNotebookKeysOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookKeys", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookKeys", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.ListNotebookKeysResult + bodyMapper: Mappers.ListNotebookKeysResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.workspaceName - ], - headerParameters: [Parameters.accept], - serializer -}; -const listOutboundNetworkDependenciesEndpointsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundNetworkDependenciesEndpoints", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ExternalFqdnResponse + bodyMapper: Mappers.ErrorResponse, }, - default: { - bodyMapper: Mappers.ErrorResponse - } }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName + Parameters.workspaceName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; +const listOutboundNetworkDependenciesEndpointsOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundNetworkDependenciesEndpoints", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ExternalFqdnResponse, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, + }; const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkspaceListResult + bodyMapper: Mappers.WorkspaceListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [Parameters.apiVersion, Parameters.skip], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkspaceListResult + bodyMapper: Mappers.WorkspaceListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, - queryParameters: [Parameters.apiVersion, Parameters.skip], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/batchDeployments.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/batchDeployments.ts index 751f730b1a54..4329f6d8f702 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/batchDeployments.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/batchDeployments.ts @@ -7,7 +7,7 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { BatchDeployment, BatchDeploymentsListOptionalParams, @@ -18,7 +18,7 @@ import { BatchDeploymentsUpdateOptionalParams, BatchDeploymentsUpdateResponse, BatchDeploymentsCreateOrUpdateOptionalParams, - BatchDeploymentsCreateOrUpdateResponse + BatchDeploymentsCreateOrUpdateResponse, } from "../models"; /// @@ -35,7 +35,7 @@ export interface BatchDeployments { resourceGroupName: string, workspaceName: string, endpointName: string, - options?: BatchDeploymentsListOptionalParams + options?: BatchDeploymentsListOptionalParams, ): PagedAsyncIterableIterator; /** * Delete Batch Inference deployment (asynchronous). @@ -50,8 +50,8 @@ export interface BatchDeployments { workspaceName: string, endpointName: string, deploymentName: string, - options?: BatchDeploymentsDeleteOptionalParams - ): Promise, void>>; + options?: BatchDeploymentsDeleteOptionalParams, + ): Promise, void>>; /** * Delete Batch Inference deployment (asynchronous). * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -65,7 +65,7 @@ export interface BatchDeployments { workspaceName: string, endpointName: string, deploymentName: string, - options?: BatchDeploymentsDeleteOptionalParams + options?: BatchDeploymentsDeleteOptionalParams, ): Promise; /** * Gets a batch inference deployment by id. @@ -80,7 +80,7 @@ export interface BatchDeployments { workspaceName: string, endpointName: string, deploymentName: string, - options?: BatchDeploymentsGetOptionalParams + options?: BatchDeploymentsGetOptionalParams, ): Promise; /** * Update a batch inference deployment (asynchronous). @@ -97,10 +97,10 @@ export interface BatchDeployments { endpointName: string, deploymentName: string, body: PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties, - options?: BatchDeploymentsUpdateOptionalParams + options?: BatchDeploymentsUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, BatchDeploymentsUpdateResponse > >; @@ -119,7 +119,7 @@ export interface BatchDeployments { endpointName: string, deploymentName: string, body: PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties, - options?: BatchDeploymentsUpdateOptionalParams + options?: BatchDeploymentsUpdateOptionalParams, ): Promise; /** * Creates/updates a batch inference deployment (asynchronous). @@ -136,10 +136,10 @@ export interface BatchDeployments { endpointName: string, deploymentName: string, body: BatchDeployment, - options?: BatchDeploymentsCreateOrUpdateOptionalParams + options?: BatchDeploymentsCreateOrUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, BatchDeploymentsCreateOrUpdateResponse > >; @@ -158,6 +158,6 @@ export interface BatchDeployments { endpointName: string, deploymentName: string, body: BatchDeployment, - options?: BatchDeploymentsCreateOrUpdateOptionalParams + options?: BatchDeploymentsCreateOrUpdateOptionalParams, ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/batchEndpoints.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/batchEndpoints.ts index 6b64fdacf732..c96798eff039 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/batchEndpoints.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/batchEndpoints.ts @@ -7,7 +7,7 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { BatchEndpoint, BatchEndpointsListOptionalParams, @@ -20,7 +20,7 @@ import { BatchEndpointsCreateOrUpdateOptionalParams, BatchEndpointsCreateOrUpdateResponse, BatchEndpointsListKeysOptionalParams, - BatchEndpointsListKeysResponse + BatchEndpointsListKeysResponse, } from "../models"; /// @@ -35,7 +35,7 @@ export interface BatchEndpoints { list( resourceGroupName: string, workspaceName: string, - options?: BatchEndpointsListOptionalParams + options?: BatchEndpointsListOptionalParams, ): PagedAsyncIterableIterator; /** * Delete Batch Inference Endpoint (asynchronous). @@ -48,8 +48,8 @@ export interface BatchEndpoints { resourceGroupName: string, workspaceName: string, endpointName: string, - options?: BatchEndpointsDeleteOptionalParams - ): Promise, void>>; + options?: BatchEndpointsDeleteOptionalParams, + ): Promise, void>>; /** * Delete Batch Inference Endpoint (asynchronous). * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -61,7 +61,7 @@ export interface BatchEndpoints { resourceGroupName: string, workspaceName: string, endpointName: string, - options?: BatchEndpointsDeleteOptionalParams + options?: BatchEndpointsDeleteOptionalParams, ): Promise; /** * Gets a batch inference endpoint by name. @@ -74,7 +74,7 @@ export interface BatchEndpoints { resourceGroupName: string, workspaceName: string, endpointName: string, - options?: BatchEndpointsGetOptionalParams + options?: BatchEndpointsGetOptionalParams, ): Promise; /** * Update a batch inference endpoint (asynchronous). @@ -89,10 +89,10 @@ export interface BatchEndpoints { workspaceName: string, endpointName: string, body: PartialMinimalTrackedResourceWithIdentity, - options?: BatchEndpointsUpdateOptionalParams + options?: BatchEndpointsUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, BatchEndpointsUpdateResponse > >; @@ -109,7 +109,7 @@ export interface BatchEndpoints { workspaceName: string, endpointName: string, body: PartialMinimalTrackedResourceWithIdentity, - options?: BatchEndpointsUpdateOptionalParams + options?: BatchEndpointsUpdateOptionalParams, ): Promise; /** * Creates a batch inference endpoint (asynchronous). @@ -124,10 +124,10 @@ export interface BatchEndpoints { workspaceName: string, endpointName: string, body: BatchEndpoint, - options?: BatchEndpointsCreateOrUpdateOptionalParams + options?: BatchEndpointsCreateOrUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, BatchEndpointsCreateOrUpdateResponse > >; @@ -144,7 +144,7 @@ export interface BatchEndpoints { workspaceName: string, endpointName: string, body: BatchEndpoint, - options?: BatchEndpointsCreateOrUpdateOptionalParams + options?: BatchEndpointsCreateOrUpdateOptionalParams, ): Promise; /** * Lists batch Inference Endpoint keys. @@ -157,6 +157,6 @@ export interface BatchEndpoints { resourceGroupName: string, workspaceName: string, endpointName: string, - options?: BatchEndpointsListKeysOptionalParams + options?: BatchEndpointsListKeysOptionalParams, ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/codeContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/codeContainers.ts index bebec9f2df28..1cd600bb0537 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/codeContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/codeContainers.ts @@ -14,7 +14,7 @@ import { CodeContainersGetOptionalParams, CodeContainersGetResponse, CodeContainersCreateOrUpdateOptionalParams, - CodeContainersCreateOrUpdateResponse + CodeContainersCreateOrUpdateResponse, } from "../models"; /// @@ -29,7 +29,7 @@ export interface CodeContainers { list( resourceGroupName: string, workspaceName: string, - options?: CodeContainersListOptionalParams + options?: CodeContainersListOptionalParams, ): PagedAsyncIterableIterator; /** * Delete container. @@ -42,7 +42,7 @@ export interface CodeContainers { resourceGroupName: string, workspaceName: string, name: string, - options?: CodeContainersDeleteOptionalParams + options?: CodeContainersDeleteOptionalParams, ): Promise; /** * Get container. @@ -55,7 +55,7 @@ export interface CodeContainers { resourceGroupName: string, workspaceName: string, name: string, - options?: CodeContainersGetOptionalParams + options?: CodeContainersGetOptionalParams, ): Promise; /** * Create or update container. @@ -70,6 +70,6 @@ export interface CodeContainers { workspaceName: string, name: string, body: CodeContainer, - options?: CodeContainersCreateOrUpdateOptionalParams + options?: CodeContainersCreateOrUpdateOptionalParams, ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/codeVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/codeVersions.ts index 4d6f4f26c7de..c38e8bfde2db 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/codeVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/codeVersions.ts @@ -7,6 +7,7 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { CodeVersion, CodeVersionsListOptionalParams, @@ -14,7 +15,12 @@ import { CodeVersionsGetOptionalParams, CodeVersionsGetResponse, CodeVersionsCreateOrUpdateOptionalParams, - CodeVersionsCreateOrUpdateResponse + CodeVersionsCreateOrUpdateResponse, + DestinationAsset, + CodeVersionsPublishOptionalParams, + PendingUploadRequestDto, + CodeVersionsCreateOrGetStartPendingUploadOptionalParams, + CodeVersionsCreateOrGetStartPendingUploadResponse, } from "../models"; /// @@ -31,7 +37,7 @@ export interface CodeVersions { resourceGroupName: string, workspaceName: string, name: string, - options?: CodeVersionsListOptionalParams + options?: CodeVersionsListOptionalParams, ): PagedAsyncIterableIterator; /** * Delete version. @@ -46,7 +52,7 @@ export interface CodeVersions { workspaceName: string, name: string, version: string, - options?: CodeVersionsDeleteOptionalParams + options?: CodeVersionsDeleteOptionalParams, ): Promise; /** * Get version. @@ -61,7 +67,7 @@ export interface CodeVersions { workspaceName: string, name: string, version: string, - options?: CodeVersionsGetOptionalParams + options?: CodeVersionsGetOptionalParams, ): Promise; /** * Create or update version. @@ -78,6 +84,57 @@ export interface CodeVersions { name: string, version: string, body: CodeVersion, - options?: CodeVersionsCreateOrUpdateOptionalParams + options?: CodeVersionsCreateOrUpdateOptionalParams, ): Promise; + /** + * Publish version asset into registry. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. + * @param version Version identifier. + * @param body Destination registry info + * @param options The options parameters. + */ + beginPublish( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: DestinationAsset, + options?: CodeVersionsPublishOptionalParams, + ): Promise, void>>; + /** + * Publish version asset into registry. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. + * @param version Version identifier. + * @param body Destination registry info + * @param options The options parameters. + */ + beginPublishAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: DestinationAsset, + options?: CodeVersionsPublishOptionalParams, + ): Promise; + /** + * Generate a storage location and credential for the client to upload a code asset to. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Pending upload request object + * @param options The options parameters. + */ + createOrGetStartPendingUpload( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: PendingUploadRequestDto, + options?: CodeVersionsCreateOrGetStartPendingUploadOptionalParams, + ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/componentContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/componentContainers.ts index 38a06d2bf7d0..0f5bc6da22bd 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/componentContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/componentContainers.ts @@ -14,7 +14,7 @@ import { ComponentContainersGetOptionalParams, ComponentContainersGetResponse, ComponentContainersCreateOrUpdateOptionalParams, - ComponentContainersCreateOrUpdateResponse + ComponentContainersCreateOrUpdateResponse, } from "../models"; /// @@ -29,7 +29,7 @@ export interface ComponentContainers { list( resourceGroupName: string, workspaceName: string, - options?: ComponentContainersListOptionalParams + options?: ComponentContainersListOptionalParams, ): PagedAsyncIterableIterator; /** * Delete container. @@ -42,7 +42,7 @@ export interface ComponentContainers { resourceGroupName: string, workspaceName: string, name: string, - options?: ComponentContainersDeleteOptionalParams + options?: ComponentContainersDeleteOptionalParams, ): Promise; /** * Get container. @@ -55,7 +55,7 @@ export interface ComponentContainers { resourceGroupName: string, workspaceName: string, name: string, - options?: ComponentContainersGetOptionalParams + options?: ComponentContainersGetOptionalParams, ): Promise; /** * Create or update container. @@ -70,6 +70,6 @@ export interface ComponentContainers { workspaceName: string, name: string, body: ComponentContainer, - options?: ComponentContainersCreateOrUpdateOptionalParams + options?: ComponentContainersCreateOrUpdateOptionalParams, ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/componentVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/componentVersions.ts index 99d305220c2c..97c0aa7f47e9 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/componentVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/componentVersions.ts @@ -7,6 +7,7 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { ComponentVersion, ComponentVersionsListOptionalParams, @@ -14,7 +15,9 @@ import { ComponentVersionsGetOptionalParams, ComponentVersionsGetResponse, ComponentVersionsCreateOrUpdateOptionalParams, - ComponentVersionsCreateOrUpdateResponse + ComponentVersionsCreateOrUpdateResponse, + DestinationAsset, + ComponentVersionsPublishOptionalParams, } from "../models"; /// @@ -31,7 +34,7 @@ export interface ComponentVersions { resourceGroupName: string, workspaceName: string, name: string, - options?: ComponentVersionsListOptionalParams + options?: ComponentVersionsListOptionalParams, ): PagedAsyncIterableIterator; /** * Delete version. @@ -46,7 +49,7 @@ export interface ComponentVersions { workspaceName: string, name: string, version: string, - options?: ComponentVersionsDeleteOptionalParams + options?: ComponentVersionsDeleteOptionalParams, ): Promise; /** * Get version. @@ -61,7 +64,7 @@ export interface ComponentVersions { workspaceName: string, name: string, version: string, - options?: ComponentVersionsGetOptionalParams + options?: ComponentVersionsGetOptionalParams, ): Promise; /** * Create or update version. @@ -78,6 +81,40 @@ export interface ComponentVersions { name: string, version: string, body: ComponentVersion, - options?: ComponentVersionsCreateOrUpdateOptionalParams + options?: ComponentVersionsCreateOrUpdateOptionalParams, ): Promise; + /** + * Publish version asset into registry. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. + * @param version Version identifier. + * @param body Destination registry info + * @param options The options parameters. + */ + beginPublish( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: DestinationAsset, + options?: ComponentVersionsPublishOptionalParams, + ): Promise, void>>; + /** + * Publish version asset into registry. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. + * @param version Version identifier. + * @param body Destination registry info + * @param options The options parameters. + */ + beginPublishAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: DestinationAsset, + options?: ComponentVersionsPublishOptionalParams, + ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/computeOperations.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/computeOperations.ts index 630c4eee8be1..46ba330822d6 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/computeOperations.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/computeOperations.ts @@ -7,7 +7,7 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { ComputeResource, ComputeListOptionalParams, @@ -26,7 +26,7 @@ import { ComputeListKeysResponse, ComputeStartOptionalParams, ComputeStopOptionalParams, - ComputeRestartOptionalParams + ComputeRestartOptionalParams, } from "../models"; /// @@ -41,7 +41,7 @@ export interface ComputeOperations { list( resourceGroupName: string, workspaceName: string, - options?: ComputeListOptionalParams + options?: ComputeListOptionalParams, ): PagedAsyncIterableIterator; /** * Get the details (e.g IP address, port etc) of all the compute nodes in the compute. @@ -54,7 +54,7 @@ export interface ComputeOperations { resourceGroupName: string, workspaceName: string, computeName: string, - options?: ComputeListNodesOptionalParams + options?: ComputeListNodesOptionalParams, ): PagedAsyncIterableIterator; /** * Gets compute definition by its name. Any secrets (storage keys, service credentials, etc) are not @@ -68,7 +68,7 @@ export interface ComputeOperations { resourceGroupName: string, workspaceName: string, computeName: string, - options?: ComputeGetOptionalParams + options?: ComputeGetOptionalParams, ): Promise; /** * Creates or updates compute. This call will overwrite a compute if it exists. This is a @@ -85,10 +85,10 @@ export interface ComputeOperations { workspaceName: string, computeName: string, parameters: ComputeResource, - options?: ComputeCreateOrUpdateOptionalParams + options?: ComputeCreateOrUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, ComputeCreateOrUpdateResponse > >; @@ -107,7 +107,7 @@ export interface ComputeOperations { workspaceName: string, computeName: string, parameters: ComputeResource, - options?: ComputeCreateOrUpdateOptionalParams + options?: ComputeCreateOrUpdateOptionalParams, ): Promise; /** * Updates properties of a compute. This call will overwrite a compute if it exists. This is a @@ -123,9 +123,12 @@ export interface ComputeOperations { workspaceName: string, computeName: string, parameters: ClusterUpdateParameters, - options?: ComputeUpdateOptionalParams + options?: ComputeUpdateOptionalParams, ): Promise< - PollerLike, ComputeUpdateResponse> + SimplePollerLike< + OperationState, + ComputeUpdateResponse + > >; /** * Updates properties of a compute. This call will overwrite a compute if it exists. This is a @@ -141,7 +144,7 @@ export interface ComputeOperations { workspaceName: string, computeName: string, parameters: ClusterUpdateParameters, - options?: ComputeUpdateOptionalParams + options?: ComputeUpdateOptionalParams, ): Promise; /** * Deletes specified Machine Learning compute. @@ -157,8 +160,8 @@ export interface ComputeOperations { workspaceName: string, computeName: string, underlyingResourceAction: UnderlyingResourceAction, - options?: ComputeDeleteOptionalParams - ): Promise, void>>; + options?: ComputeDeleteOptionalParams, + ): Promise, void>>; /** * Deletes specified Machine Learning compute. * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -173,7 +176,7 @@ export interface ComputeOperations { workspaceName: string, computeName: string, underlyingResourceAction: UnderlyingResourceAction, - options?: ComputeDeleteOptionalParams + options?: ComputeDeleteOptionalParams, ): Promise; /** * Gets secrets related to Machine Learning compute (storage keys, service credentials, etc). @@ -186,7 +189,7 @@ export interface ComputeOperations { resourceGroupName: string, workspaceName: string, computeName: string, - options?: ComputeListKeysOptionalParams + options?: ComputeListKeysOptionalParams, ): Promise; /** * Posts a start action to a compute instance @@ -199,8 +202,8 @@ export interface ComputeOperations { resourceGroupName: string, workspaceName: string, computeName: string, - options?: ComputeStartOptionalParams - ): Promise, void>>; + options?: ComputeStartOptionalParams, + ): Promise, void>>; /** * Posts a start action to a compute instance * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -212,7 +215,7 @@ export interface ComputeOperations { resourceGroupName: string, workspaceName: string, computeName: string, - options?: ComputeStartOptionalParams + options?: ComputeStartOptionalParams, ): Promise; /** * Posts a stop action to a compute instance @@ -225,8 +228,8 @@ export interface ComputeOperations { resourceGroupName: string, workspaceName: string, computeName: string, - options?: ComputeStopOptionalParams - ): Promise, void>>; + options?: ComputeStopOptionalParams, + ): Promise, void>>; /** * Posts a stop action to a compute instance * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -238,7 +241,7 @@ export interface ComputeOperations { resourceGroupName: string, workspaceName: string, computeName: string, - options?: ComputeStopOptionalParams + options?: ComputeStopOptionalParams, ): Promise; /** * Posts a restart action to a compute instance @@ -251,8 +254,8 @@ export interface ComputeOperations { resourceGroupName: string, workspaceName: string, computeName: string, - options?: ComputeRestartOptionalParams - ): Promise, void>>; + options?: ComputeRestartOptionalParams, + ): Promise, void>>; /** * Posts a restart action to a compute instance * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -264,6 +267,6 @@ export interface ComputeOperations { resourceGroupName: string, workspaceName: string, computeName: string, - options?: ComputeRestartOptionalParams + options?: ComputeRestartOptionalParams, ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/dataContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/dataContainers.ts index 074241e4eb34..4f17719a3e62 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/dataContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/dataContainers.ts @@ -14,7 +14,7 @@ import { DataContainersGetOptionalParams, DataContainersGetResponse, DataContainersCreateOrUpdateOptionalParams, - DataContainersCreateOrUpdateResponse + DataContainersCreateOrUpdateResponse, } from "../models"; /// @@ -29,7 +29,7 @@ export interface DataContainers { list( resourceGroupName: string, workspaceName: string, - options?: DataContainersListOptionalParams + options?: DataContainersListOptionalParams, ): PagedAsyncIterableIterator; /** * Delete container. @@ -42,7 +42,7 @@ export interface DataContainers { resourceGroupName: string, workspaceName: string, name: string, - options?: DataContainersDeleteOptionalParams + options?: DataContainersDeleteOptionalParams, ): Promise; /** * Get container. @@ -55,7 +55,7 @@ export interface DataContainers { resourceGroupName: string, workspaceName: string, name: string, - options?: DataContainersGetOptionalParams + options?: DataContainersGetOptionalParams, ): Promise; /** * Create or update container. @@ -70,6 +70,6 @@ export interface DataContainers { workspaceName: string, name: string, body: DataContainer, - options?: DataContainersCreateOrUpdateOptionalParams + options?: DataContainersCreateOrUpdateOptionalParams, ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/dataVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/dataVersions.ts index 106b96303a40..5ab954a6357f 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/dataVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/dataVersions.ts @@ -7,6 +7,7 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { DataVersionBase, DataVersionsListOptionalParams, @@ -14,7 +15,9 @@ import { DataVersionsGetOptionalParams, DataVersionsGetResponse, DataVersionsCreateOrUpdateOptionalParams, - DataVersionsCreateOrUpdateResponse + DataVersionsCreateOrUpdateResponse, + DestinationAsset, + DataVersionsPublishOptionalParams, } from "../models"; /// @@ -31,7 +34,7 @@ export interface DataVersions { resourceGroupName: string, workspaceName: string, name: string, - options?: DataVersionsListOptionalParams + options?: DataVersionsListOptionalParams, ): PagedAsyncIterableIterator; /** * Delete version. @@ -46,7 +49,7 @@ export interface DataVersions { workspaceName: string, name: string, version: string, - options?: DataVersionsDeleteOptionalParams + options?: DataVersionsDeleteOptionalParams, ): Promise; /** * Get version. @@ -61,7 +64,7 @@ export interface DataVersions { workspaceName: string, name: string, version: string, - options?: DataVersionsGetOptionalParams + options?: DataVersionsGetOptionalParams, ): Promise; /** * Create or update version. @@ -78,6 +81,40 @@ export interface DataVersions { name: string, version: string, body: DataVersionBase, - options?: DataVersionsCreateOrUpdateOptionalParams + options?: DataVersionsCreateOrUpdateOptionalParams, ): Promise; + /** + * Publish version asset into registry. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. + * @param version Version identifier. + * @param body Destination registry info + * @param options The options parameters. + */ + beginPublish( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: DestinationAsset, + options?: DataVersionsPublishOptionalParams, + ): Promise, void>>; + /** + * Publish version asset into registry. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. + * @param version Version identifier. + * @param body Destination registry info + * @param options The options parameters. + */ + beginPublishAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: DestinationAsset, + options?: DataVersionsPublishOptionalParams, + ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/datastores.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/datastores.ts index 8181683aec3d..206c0e00d71e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/datastores.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/datastores.ts @@ -16,7 +16,7 @@ import { DatastoresCreateOrUpdateOptionalParams, DatastoresCreateOrUpdateResponse, DatastoresListSecretsOptionalParams, - DatastoresListSecretsResponse + DatastoresListSecretsResponse, } from "../models"; /// @@ -31,7 +31,7 @@ export interface Datastores { list( resourceGroupName: string, workspaceName: string, - options?: DatastoresListOptionalParams + options?: DatastoresListOptionalParams, ): PagedAsyncIterableIterator; /** * Delete datastore. @@ -44,7 +44,7 @@ export interface Datastores { resourceGroupName: string, workspaceName: string, name: string, - options?: DatastoresDeleteOptionalParams + options?: DatastoresDeleteOptionalParams, ): Promise; /** * Get datastore. @@ -57,7 +57,7 @@ export interface Datastores { resourceGroupName: string, workspaceName: string, name: string, - options?: DatastoresGetOptionalParams + options?: DatastoresGetOptionalParams, ): Promise; /** * Create or update datastore. @@ -72,7 +72,7 @@ export interface Datastores { workspaceName: string, name: string, body: Datastore, - options?: DatastoresCreateOrUpdateOptionalParams + options?: DatastoresCreateOrUpdateOptionalParams, ): Promise; /** * Get datastore secrets. @@ -85,6 +85,6 @@ export interface Datastores { resourceGroupName: string, workspaceName: string, name: string, - options?: DatastoresListSecretsOptionalParams + options?: DatastoresListSecretsOptionalParams, ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/environmentContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/environmentContainers.ts index 1801f6f08e05..3a792cf72225 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/environmentContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/environmentContainers.ts @@ -14,7 +14,7 @@ import { EnvironmentContainersGetOptionalParams, EnvironmentContainersGetResponse, EnvironmentContainersCreateOrUpdateOptionalParams, - EnvironmentContainersCreateOrUpdateResponse + EnvironmentContainersCreateOrUpdateResponse, } from "../models"; /// @@ -29,7 +29,7 @@ export interface EnvironmentContainers { list( resourceGroupName: string, workspaceName: string, - options?: EnvironmentContainersListOptionalParams + options?: EnvironmentContainersListOptionalParams, ): PagedAsyncIterableIterator; /** * Delete container. @@ -42,7 +42,7 @@ export interface EnvironmentContainers { resourceGroupName: string, workspaceName: string, name: string, - options?: EnvironmentContainersDeleteOptionalParams + options?: EnvironmentContainersDeleteOptionalParams, ): Promise; /** * Get container. @@ -55,7 +55,7 @@ export interface EnvironmentContainers { resourceGroupName: string, workspaceName: string, name: string, - options?: EnvironmentContainersGetOptionalParams + options?: EnvironmentContainersGetOptionalParams, ): Promise; /** * Create or update container. @@ -70,6 +70,6 @@ export interface EnvironmentContainers { workspaceName: string, name: string, body: EnvironmentContainer, - options?: EnvironmentContainersCreateOrUpdateOptionalParams + options?: EnvironmentContainersCreateOrUpdateOptionalParams, ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/environmentVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/environmentVersions.ts index 9cfbd68e428a..63c803dbc1a9 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/environmentVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/environmentVersions.ts @@ -7,6 +7,7 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { EnvironmentVersion, EnvironmentVersionsListOptionalParams, @@ -14,7 +15,9 @@ import { EnvironmentVersionsGetOptionalParams, EnvironmentVersionsGetResponse, EnvironmentVersionsCreateOrUpdateOptionalParams, - EnvironmentVersionsCreateOrUpdateResponse + EnvironmentVersionsCreateOrUpdateResponse, + DestinationAsset, + EnvironmentVersionsPublishOptionalParams, } from "../models"; /// @@ -31,7 +34,7 @@ export interface EnvironmentVersions { resourceGroupName: string, workspaceName: string, name: string, - options?: EnvironmentVersionsListOptionalParams + options?: EnvironmentVersionsListOptionalParams, ): PagedAsyncIterableIterator; /** * Delete version. @@ -46,7 +49,7 @@ export interface EnvironmentVersions { workspaceName: string, name: string, version: string, - options?: EnvironmentVersionsDeleteOptionalParams + options?: EnvironmentVersionsDeleteOptionalParams, ): Promise; /** * Get version. @@ -61,7 +64,7 @@ export interface EnvironmentVersions { workspaceName: string, name: string, version: string, - options?: EnvironmentVersionsGetOptionalParams + options?: EnvironmentVersionsGetOptionalParams, ): Promise; /** * Creates or updates an EnvironmentVersion. @@ -78,6 +81,40 @@ export interface EnvironmentVersions { name: string, version: string, body: EnvironmentVersion, - options?: EnvironmentVersionsCreateOrUpdateOptionalParams + options?: EnvironmentVersionsCreateOrUpdateOptionalParams, ): Promise; + /** + * Publish version asset into registry. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. + * @param version Version identifier. + * @param body Destination registry info + * @param options The options parameters. + */ + beginPublish( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: DestinationAsset, + options?: EnvironmentVersionsPublishOptionalParams, + ): Promise, void>>; + /** + * Publish version asset into registry. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. + * @param version Version identifier. + * @param body Destination registry info + * @param options The options parameters. + */ + beginPublishAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: DestinationAsset, + options?: EnvironmentVersionsPublishOptionalParams, + ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/features.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/features.ts new file mode 100644 index 000000000000..92301cb0fe9e --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/features.ts @@ -0,0 +1,52 @@ +/* + * 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 { + Feature, + FeaturesListOptionalParams, + FeaturesGetOptionalParams, + FeaturesGetResponse, +} from "../models"; + +/// +/** Interface representing a Features. */ +export interface Features { + /** + * List Features. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param featuresetName Featureset name. This is case-sensitive. + * @param featuresetVersion Featureset Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + featuresetName: string, + featuresetVersion: string, + options?: FeaturesListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Get feature. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param featuresetName Feature set name. This is case-sensitive. + * @param featuresetVersion Feature set version identifier. This is case-sensitive. + * @param featureName Feature Name. This is case-sensitive. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + featuresetName: string, + featuresetVersion: string, + featureName: string, + options?: FeaturesGetOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/featuresetContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/featuresetContainers.ts new file mode 100644 index 000000000000..65655afb7632 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/featuresetContainers.ts @@ -0,0 +1,109 @@ +/* + * 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 { + FeaturesetContainer, + FeaturesetContainersListOptionalParams, + FeaturesetContainersDeleteOptionalParams, + FeaturesetContainersGetEntityOptionalParams, + FeaturesetContainersGetEntityResponse, + FeaturesetContainersCreateOrUpdateOptionalParams, + FeaturesetContainersCreateOrUpdateResponse, +} from "../models"; + +/// +/** Interface representing a FeaturesetContainers. */ +export interface FeaturesetContainers { + /** + * List featurestore entity containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + options?: FeaturesetContainersListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturesetContainersDeleteOptionalParams, + ): Promise, void>>; + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturesetContainersDeleteOptionalParams, + ): Promise; + /** + * Get container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param options The options parameters. + */ + getEntity( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturesetContainersGetEntityOptionalParams, + ): Promise; + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + name: string, + body: FeaturesetContainer, + options?: FeaturesetContainersCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + FeaturesetContainersCreateOrUpdateResponse + > + >; + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + body: FeaturesetContainer, + options?: FeaturesetContainersCreateOrUpdateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/featuresetVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/featuresetVersions.ts new file mode 100644 index 000000000000..6a988d35469c --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/featuresetVersions.ts @@ -0,0 +1,163 @@ +/* + * 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 { + FeaturesetVersion, + FeaturesetVersionsListOptionalParams, + FeaturesetVersionsDeleteOptionalParams, + FeaturesetVersionsGetOptionalParams, + FeaturesetVersionsGetResponse, + FeaturesetVersionsCreateOrUpdateOptionalParams, + FeaturesetVersionsCreateOrUpdateResponse, + FeaturesetVersionBackfillRequest, + FeaturesetVersionsBackfillOptionalParams, + FeaturesetVersionsBackfillResponse, +} from "../models"; + +/// +/** Interface representing a FeaturesetVersions. */ +export interface FeaturesetVersions { + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Featureset name. This is case-sensitive. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturesetVersionsListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturesetVersionsDeleteOptionalParams, + ): Promise, void>>; + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturesetVersionsDeleteOptionalParams, + ): Promise; + /** + * Get version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturesetVersionsGetOptionalParams, + ): Promise; + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: FeaturesetVersion, + options?: FeaturesetVersionsCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + FeaturesetVersionsCreateOrUpdateResponse + > + >; + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: FeaturesetVersion, + options?: FeaturesetVersionsCreateOrUpdateOptionalParams, + ): Promise; + /** + * Backfill. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Feature set version backfill request entity. + * @param options The options parameters. + */ + beginBackfill( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: FeaturesetVersionBackfillRequest, + options?: FeaturesetVersionsBackfillOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + FeaturesetVersionsBackfillResponse + > + >; + /** + * Backfill. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Feature set version backfill request entity. + * @param options The options parameters. + */ + beginBackfillAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: FeaturesetVersionBackfillRequest, + options?: FeaturesetVersionsBackfillOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/featurestoreEntityContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/featurestoreEntityContainers.ts new file mode 100644 index 000000000000..d95207a85749 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/featurestoreEntityContainers.ts @@ -0,0 +1,109 @@ +/* + * 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 { + FeaturestoreEntityContainer, + FeaturestoreEntityContainersListOptionalParams, + FeaturestoreEntityContainersDeleteOptionalParams, + FeaturestoreEntityContainersGetEntityOptionalParams, + FeaturestoreEntityContainersGetEntityResponse, + FeaturestoreEntityContainersCreateOrUpdateOptionalParams, + FeaturestoreEntityContainersCreateOrUpdateResponse, +} from "../models"; + +/// +/** Interface representing a FeaturestoreEntityContainers. */ +export interface FeaturestoreEntityContainers { + /** + * List featurestore entity containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + options?: FeaturestoreEntityContainersListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturestoreEntityContainersDeleteOptionalParams, + ): Promise, void>>; + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturestoreEntityContainersDeleteOptionalParams, + ): Promise; + /** + * Get container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param options The options parameters. + */ + getEntity( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturestoreEntityContainersGetEntityOptionalParams, + ): Promise; + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + name: string, + body: FeaturestoreEntityContainer, + options?: FeaturestoreEntityContainersCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + FeaturestoreEntityContainersCreateOrUpdateResponse + > + >; + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + body: FeaturestoreEntityContainer, + options?: FeaturestoreEntityContainersCreateOrUpdateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/featurestoreEntityVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/featurestoreEntityVersions.ts new file mode 100644 index 000000000000..8254f0791a5e --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/featurestoreEntityVersions.ts @@ -0,0 +1,121 @@ +/* + * 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 { + FeaturestoreEntityVersion, + FeaturestoreEntityVersionsListOptionalParams, + FeaturestoreEntityVersionsDeleteOptionalParams, + FeaturestoreEntityVersionsGetOptionalParams, + FeaturestoreEntityVersionsGetResponse, + FeaturestoreEntityVersionsCreateOrUpdateOptionalParams, + FeaturestoreEntityVersionsCreateOrUpdateResponse, +} from "../models"; + +/// +/** Interface representing a FeaturestoreEntityVersions. */ +export interface FeaturestoreEntityVersions { + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Feature entity name. This is case-sensitive. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturestoreEntityVersionsListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturestoreEntityVersionsDeleteOptionalParams, + ): Promise, void>>; + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturestoreEntityVersionsDeleteOptionalParams, + ): Promise; + /** + * Get version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturestoreEntityVersionsGetOptionalParams, + ): Promise; + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: FeaturestoreEntityVersion, + options?: FeaturestoreEntityVersionsCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + FeaturestoreEntityVersionsCreateOrUpdateResponse + > + >; + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: FeaturestoreEntityVersion, + options?: FeaturestoreEntityVersionsCreateOrUpdateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/index.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/index.ts index 5c0eba4f45e0..6d617e58c77f 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/index.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/index.ts @@ -15,6 +15,19 @@ export * from "./computeOperations"; export * from "./privateEndpointConnections"; export * from "./privateLinkResources"; export * from "./workspaceConnections"; +export * from "./managedNetworkSettingsRule"; +export * from "./managedNetworkProvisions"; +export * from "./registryCodeContainers"; +export * from "./registryCodeVersions"; +export * from "./registryComponentContainers"; +export * from "./registryComponentVersions"; +export * from "./registryDataContainers"; +export * from "./registryDataVersions"; +export * from "./registryDataReferences"; +export * from "./registryEnvironmentContainers"; +export * from "./registryEnvironmentVersions"; +export * from "./registryModelContainers"; +export * from "./registryModelVersions"; export * from "./batchEndpoints"; export * from "./batchDeployments"; export * from "./codeContainers"; @@ -26,10 +39,16 @@ export * from "./dataVersions"; export * from "./datastores"; export * from "./environmentContainers"; export * from "./environmentVersions"; +export * from "./featuresetContainers"; +export * from "./features"; +export * from "./featuresetVersions"; +export * from "./featurestoreEntityContainers"; +export * from "./featurestoreEntityVersions"; export * from "./jobs"; export * from "./modelContainers"; export * from "./modelVersions"; export * from "./onlineEndpoints"; export * from "./onlineDeployments"; export * from "./schedules"; +export * from "./registries"; export * from "./workspaceFeatures"; diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/jobs.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/jobs.ts index f86e352d466f..22ece531b5cb 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/jobs.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/jobs.ts @@ -7,7 +7,7 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { JobBase, JobsListOptionalParams, @@ -16,7 +16,7 @@ import { JobsGetResponse, JobsCreateOrUpdateOptionalParams, JobsCreateOrUpdateResponse, - JobsCancelOptionalParams + JobsCancelOptionalParams, } from "../models"; /// @@ -31,7 +31,7 @@ export interface Jobs { list( resourceGroupName: string, workspaceName: string, - options?: JobsListOptionalParams + options?: JobsListOptionalParams, ): PagedAsyncIterableIterator; /** * Deletes a Job (asynchronous). @@ -44,8 +44,8 @@ export interface Jobs { resourceGroupName: string, workspaceName: string, id: string, - options?: JobsDeleteOptionalParams - ): Promise, void>>; + options?: JobsDeleteOptionalParams, + ): Promise, void>>; /** * Deletes a Job (asynchronous). * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -57,7 +57,7 @@ export interface Jobs { resourceGroupName: string, workspaceName: string, id: string, - options?: JobsDeleteOptionalParams + options?: JobsDeleteOptionalParams, ): Promise; /** * Gets a Job by name/id. @@ -70,10 +70,11 @@ export interface Jobs { resourceGroupName: string, workspaceName: string, id: string, - options?: JobsGetOptionalParams + options?: JobsGetOptionalParams, ): Promise; /** * Creates and executes a Job. + * For update case, the Tags in the definition passed in will replace Tags in the existing job. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName Name of Azure Machine Learning workspace. * @param id The name and identifier for the Job. This is case-sensitive. @@ -85,7 +86,7 @@ export interface Jobs { workspaceName: string, id: string, body: JobBase, - options?: JobsCreateOrUpdateOptionalParams + options?: JobsCreateOrUpdateOptionalParams, ): Promise; /** * Cancels a Job (asynchronous). @@ -98,8 +99,8 @@ export interface Jobs { resourceGroupName: string, workspaceName: string, id: string, - options?: JobsCancelOptionalParams - ): Promise, void>>; + options?: JobsCancelOptionalParams, + ): Promise, void>>; /** * Cancels a Job (asynchronous). * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -111,6 +112,6 @@ export interface Jobs { resourceGroupName: string, workspaceName: string, id: string, - options?: JobsCancelOptionalParams + options?: JobsCancelOptionalParams, ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkProvisions.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkProvisions.ts new file mode 100644 index 000000000000..ce0b0ccc93f6 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkProvisions.ts @@ -0,0 +1,44 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + ManagedNetworkProvisionsProvisionManagedNetworkOptionalParams, + ManagedNetworkProvisionsProvisionManagedNetworkResponse, +} from "../models"; + +/** Interface representing a ManagedNetworkProvisions. */ +export interface ManagedNetworkProvisions { + /** + * Provisions the managed network of a machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param options The options parameters. + */ + beginProvisionManagedNetwork( + resourceGroupName: string, + workspaceName: string, + options?: ManagedNetworkProvisionsProvisionManagedNetworkOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ManagedNetworkProvisionsProvisionManagedNetworkResponse + > + >; + /** + * Provisions the managed network of a machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param options The options parameters. + */ + beginProvisionManagedNetworkAndWait( + resourceGroupName: string, + workspaceName: string, + options?: ManagedNetworkProvisionsProvisionManagedNetworkOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkSettingsRule.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkSettingsRule.ts new file mode 100644 index 000000000000..4cf42f0f3a6e --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkSettingsRule.ts @@ -0,0 +1,111 @@ +/* + * 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 { + OutboundRuleBasicResource, + ManagedNetworkSettingsRuleListOptionalParams, + ManagedNetworkSettingsRuleDeleteOptionalParams, + ManagedNetworkSettingsRuleGetOptionalParams, + ManagedNetworkSettingsRuleGetResponse, + ManagedNetworkSettingsRuleCreateOrUpdateOptionalParams, + ManagedNetworkSettingsRuleCreateOrUpdateResponse, +} from "../models"; + +/// +/** Interface representing a ManagedNetworkSettingsRule. */ +export interface ManagedNetworkSettingsRule { + /** + * Lists the managed network outbound rules for a machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + options?: ManagedNetworkSettingsRuleListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Deletes an outbound rule from the managed network of a machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param ruleName Name of the workspace managed network outbound rule + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + ruleName: string, + options?: ManagedNetworkSettingsRuleDeleteOptionalParams, + ): Promise, void>>; + /** + * Deletes an outbound rule from the managed network of a machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param ruleName Name of the workspace managed network outbound rule + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + ruleName: string, + options?: ManagedNetworkSettingsRuleDeleteOptionalParams, + ): Promise; + /** + * Gets an outbound rule from the managed network of a machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param ruleName Name of the workspace managed network outbound rule + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + ruleName: string, + options?: ManagedNetworkSettingsRuleGetOptionalParams, + ): Promise; + /** + * Creates or updates an outbound rule in the managed network of a machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param ruleName Name of the workspace managed network outbound rule + * @param body Outbound Rule to be created or updated in the managed network of a machine learning + * workspace. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + ruleName: string, + body: OutboundRuleBasicResource, + options?: ManagedNetworkSettingsRuleCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ManagedNetworkSettingsRuleCreateOrUpdateResponse + > + >; + /** + * Creates or updates an outbound rule in the managed network of a machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param ruleName Name of the workspace managed network outbound rule + * @param body Outbound Rule to be created or updated in the managed network of a machine learning + * workspace. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + ruleName: string, + body: OutboundRuleBasicResource, + options?: ManagedNetworkSettingsRuleCreateOrUpdateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/modelContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/modelContainers.ts index b82697be439b..7648e8a755fc 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/modelContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/modelContainers.ts @@ -14,7 +14,7 @@ import { ModelContainersGetOptionalParams, ModelContainersGetResponse, ModelContainersCreateOrUpdateOptionalParams, - ModelContainersCreateOrUpdateResponse + ModelContainersCreateOrUpdateResponse, } from "../models"; /// @@ -29,7 +29,7 @@ export interface ModelContainers { list( resourceGroupName: string, workspaceName: string, - options?: ModelContainersListOptionalParams + options?: ModelContainersListOptionalParams, ): PagedAsyncIterableIterator; /** * Delete container. @@ -42,7 +42,7 @@ export interface ModelContainers { resourceGroupName: string, workspaceName: string, name: string, - options?: ModelContainersDeleteOptionalParams + options?: ModelContainersDeleteOptionalParams, ): Promise; /** * Get container. @@ -55,7 +55,7 @@ export interface ModelContainers { resourceGroupName: string, workspaceName: string, name: string, - options?: ModelContainersGetOptionalParams + options?: ModelContainersGetOptionalParams, ): Promise; /** * Create or update container. @@ -70,6 +70,6 @@ export interface ModelContainers { workspaceName: string, name: string, body: ModelContainer, - options?: ModelContainersCreateOrUpdateOptionalParams + options?: ModelContainersCreateOrUpdateOptionalParams, ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/modelVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/modelVersions.ts index 14cf3f6fa73c..781f53fa56e7 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/modelVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/modelVersions.ts @@ -7,6 +7,7 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { ModelVersion, ModelVersionsListOptionalParams, @@ -14,7 +15,9 @@ import { ModelVersionsGetOptionalParams, ModelVersionsGetResponse, ModelVersionsCreateOrUpdateOptionalParams, - ModelVersionsCreateOrUpdateResponse + ModelVersionsCreateOrUpdateResponse, + DestinationAsset, + ModelVersionsPublishOptionalParams, } from "../models"; /// @@ -31,7 +34,7 @@ export interface ModelVersions { resourceGroupName: string, workspaceName: string, name: string, - options?: ModelVersionsListOptionalParams + options?: ModelVersionsListOptionalParams, ): PagedAsyncIterableIterator; /** * Delete version. @@ -46,7 +49,7 @@ export interface ModelVersions { workspaceName: string, name: string, version: string, - options?: ModelVersionsDeleteOptionalParams + options?: ModelVersionsDeleteOptionalParams, ): Promise; /** * Get version. @@ -61,7 +64,7 @@ export interface ModelVersions { workspaceName: string, name: string, version: string, - options?: ModelVersionsGetOptionalParams + options?: ModelVersionsGetOptionalParams, ): Promise; /** * Create or update version. @@ -78,6 +81,40 @@ export interface ModelVersions { name: string, version: string, body: ModelVersion, - options?: ModelVersionsCreateOrUpdateOptionalParams + options?: ModelVersionsCreateOrUpdateOptionalParams, ): Promise; + /** + * Publish version asset into registry. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. + * @param version Version identifier. + * @param body Destination registry info + * @param options The options parameters. + */ + beginPublish( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: DestinationAsset, + options?: ModelVersionsPublishOptionalParams, + ): Promise, void>>; + /** + * Publish version asset into registry. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. + * @param version Version identifier. + * @param body Destination registry info + * @param options The options parameters. + */ + beginPublishAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: DestinationAsset, + options?: ModelVersionsPublishOptionalParams, + ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/onlineDeployments.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/onlineDeployments.ts index 39d986af8bee..b5d18b12f219 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/onlineDeployments.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/onlineDeployments.ts @@ -7,7 +7,7 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { OnlineDeployment, OnlineDeploymentsListOptionalParams, @@ -23,7 +23,7 @@ import { OnlineDeploymentsCreateOrUpdateResponse, DeploymentLogsRequest, OnlineDeploymentsGetLogsOptionalParams, - OnlineDeploymentsGetLogsResponse + OnlineDeploymentsGetLogsResponse, } from "../models"; /// @@ -40,7 +40,7 @@ export interface OnlineDeployments { resourceGroupName: string, workspaceName: string, endpointName: string, - options?: OnlineDeploymentsListOptionalParams + options?: OnlineDeploymentsListOptionalParams, ): PagedAsyncIterableIterator; /** * List Inference Endpoint Deployment Skus. @@ -55,7 +55,7 @@ export interface OnlineDeployments { workspaceName: string, endpointName: string, deploymentName: string, - options?: OnlineDeploymentsListSkusOptionalParams + options?: OnlineDeploymentsListSkusOptionalParams, ): PagedAsyncIterableIterator; /** * Delete Inference Endpoint Deployment (asynchronous). @@ -70,8 +70,8 @@ export interface OnlineDeployments { workspaceName: string, endpointName: string, deploymentName: string, - options?: OnlineDeploymentsDeleteOptionalParams - ): Promise, void>>; + options?: OnlineDeploymentsDeleteOptionalParams, + ): Promise, void>>; /** * Delete Inference Endpoint Deployment (asynchronous). * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -85,7 +85,7 @@ export interface OnlineDeployments { workspaceName: string, endpointName: string, deploymentName: string, - options?: OnlineDeploymentsDeleteOptionalParams + options?: OnlineDeploymentsDeleteOptionalParams, ): Promise; /** * Get Inference Deployment Deployment. @@ -100,7 +100,7 @@ export interface OnlineDeployments { workspaceName: string, endpointName: string, deploymentName: string, - options?: OnlineDeploymentsGetOptionalParams + options?: OnlineDeploymentsGetOptionalParams, ): Promise; /** * Update Online Deployment (asynchronous). @@ -117,10 +117,10 @@ export interface OnlineDeployments { endpointName: string, deploymentName: string, body: PartialMinimalTrackedResourceWithSku, - options?: OnlineDeploymentsUpdateOptionalParams + options?: OnlineDeploymentsUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, OnlineDeploymentsUpdateResponse > >; @@ -139,7 +139,7 @@ export interface OnlineDeployments { endpointName: string, deploymentName: string, body: PartialMinimalTrackedResourceWithSku, - options?: OnlineDeploymentsUpdateOptionalParams + options?: OnlineDeploymentsUpdateOptionalParams, ): Promise; /** * Create or update Inference Endpoint Deployment (asynchronous). @@ -156,10 +156,10 @@ export interface OnlineDeployments { endpointName: string, deploymentName: string, body: OnlineDeployment, - options?: OnlineDeploymentsCreateOrUpdateOptionalParams + options?: OnlineDeploymentsCreateOrUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, OnlineDeploymentsCreateOrUpdateResponse > >; @@ -178,7 +178,7 @@ export interface OnlineDeployments { endpointName: string, deploymentName: string, body: OnlineDeployment, - options?: OnlineDeploymentsCreateOrUpdateOptionalParams + options?: OnlineDeploymentsCreateOrUpdateOptionalParams, ): Promise; /** * Polls an Endpoint operation. @@ -195,6 +195,6 @@ export interface OnlineDeployments { endpointName: string, deploymentName: string, body: DeploymentLogsRequest, - options?: OnlineDeploymentsGetLogsOptionalParams + options?: OnlineDeploymentsGetLogsOptionalParams, ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/onlineEndpoints.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/onlineEndpoints.ts index 20dac39f279f..87cdddff27b5 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/onlineEndpoints.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/onlineEndpoints.ts @@ -7,7 +7,7 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { OnlineEndpoint, OnlineEndpointsListOptionalParams, @@ -24,7 +24,7 @@ import { RegenerateEndpointKeysRequest, OnlineEndpointsRegenerateKeysOptionalParams, OnlineEndpointsGetTokenOptionalParams, - OnlineEndpointsGetTokenResponse + OnlineEndpointsGetTokenResponse, } from "../models"; /// @@ -39,7 +39,7 @@ export interface OnlineEndpoints { list( resourceGroupName: string, workspaceName: string, - options?: OnlineEndpointsListOptionalParams + options?: OnlineEndpointsListOptionalParams, ): PagedAsyncIterableIterator; /** * Delete Online Endpoint (asynchronous). @@ -52,8 +52,8 @@ export interface OnlineEndpoints { resourceGroupName: string, workspaceName: string, endpointName: string, - options?: OnlineEndpointsDeleteOptionalParams - ): Promise, void>>; + options?: OnlineEndpointsDeleteOptionalParams, + ): Promise, void>>; /** * Delete Online Endpoint (asynchronous). * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -65,7 +65,7 @@ export interface OnlineEndpoints { resourceGroupName: string, workspaceName: string, endpointName: string, - options?: OnlineEndpointsDeleteOptionalParams + options?: OnlineEndpointsDeleteOptionalParams, ): Promise; /** * Get Online Endpoint. @@ -78,7 +78,7 @@ export interface OnlineEndpoints { resourceGroupName: string, workspaceName: string, endpointName: string, - options?: OnlineEndpointsGetOptionalParams + options?: OnlineEndpointsGetOptionalParams, ): Promise; /** * Update Online Endpoint (asynchronous). @@ -93,10 +93,10 @@ export interface OnlineEndpoints { workspaceName: string, endpointName: string, body: PartialMinimalTrackedResourceWithIdentity, - options?: OnlineEndpointsUpdateOptionalParams + options?: OnlineEndpointsUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, OnlineEndpointsUpdateResponse > >; @@ -113,7 +113,7 @@ export interface OnlineEndpoints { workspaceName: string, endpointName: string, body: PartialMinimalTrackedResourceWithIdentity, - options?: OnlineEndpointsUpdateOptionalParams + options?: OnlineEndpointsUpdateOptionalParams, ): Promise; /** * Create or update Online Endpoint (asynchronous). @@ -128,10 +128,10 @@ export interface OnlineEndpoints { workspaceName: string, endpointName: string, body: OnlineEndpoint, - options?: OnlineEndpointsCreateOrUpdateOptionalParams + options?: OnlineEndpointsCreateOrUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, OnlineEndpointsCreateOrUpdateResponse > >; @@ -148,7 +148,7 @@ export interface OnlineEndpoints { workspaceName: string, endpointName: string, body: OnlineEndpoint, - options?: OnlineEndpointsCreateOrUpdateOptionalParams + options?: OnlineEndpointsCreateOrUpdateOptionalParams, ): Promise; /** * List EndpointAuthKeys for an Endpoint using Key-based authentication. @@ -161,7 +161,7 @@ export interface OnlineEndpoints { resourceGroupName: string, workspaceName: string, endpointName: string, - options?: OnlineEndpointsListKeysOptionalParams + options?: OnlineEndpointsListKeysOptionalParams, ): Promise; /** * Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous). @@ -176,8 +176,8 @@ export interface OnlineEndpoints { workspaceName: string, endpointName: string, body: RegenerateEndpointKeysRequest, - options?: OnlineEndpointsRegenerateKeysOptionalParams - ): Promise, void>>; + options?: OnlineEndpointsRegenerateKeysOptionalParams, + ): Promise, void>>; /** * Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous). * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -191,10 +191,10 @@ export interface OnlineEndpoints { workspaceName: string, endpointName: string, body: RegenerateEndpointKeysRequest, - options?: OnlineEndpointsRegenerateKeysOptionalParams + options?: OnlineEndpointsRegenerateKeysOptionalParams, ): Promise; /** - * Retrieve a valid AAD token for an Endpoint using AMLToken-based authentication. + * Retrieve a valid AML token for an Endpoint using AMLToken-based authentication. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName Name of Azure Machine Learning workspace. * @param endpointName Online Endpoint name. @@ -204,6 +204,6 @@ export interface OnlineEndpoints { resourceGroupName: string, workspaceName: string, endpointName: string, - options?: OnlineEndpointsGetTokenOptionalParams + options?: OnlineEndpointsGetTokenOptionalParams, ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/operations.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/operations.ts index b36bbe2a8d98..3f7a0879a045 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/operations.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/operations.ts @@ -7,7 +7,7 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { AmlOperation, OperationsListOptionalParams } from "../models"; +import { Operation, OperationsListOptionalParams } from "../models"; /// /** Interface representing a Operations. */ @@ -17,6 +17,6 @@ export interface Operations { * @param options The options parameters. */ list( - options?: OperationsListOptionalParams - ): PagedAsyncIterableIterator; + options?: OperationsListOptionalParams, + ): PagedAsyncIterableIterator; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateEndpointConnections.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateEndpointConnections.ts index e36e60ff73cb..6dbdbda8ffa6 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateEndpointConnections.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateEndpointConnections.ts @@ -14,7 +14,7 @@ import { PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, - PrivateEndpointConnectionsDeleteOptionalParams + PrivateEndpointConnectionsDeleteOptionalParams, } from "../models"; /// @@ -29,7 +29,7 @@ export interface PrivateEndpointConnections { list( resourceGroupName: string, workspaceName: string, - options?: PrivateEndpointConnectionsListOptionalParams + options?: PrivateEndpointConnectionsListOptionalParams, ): PagedAsyncIterableIterator; /** * Gets the specified private endpoint connection associated with the workspace. @@ -43,7 +43,7 @@ export interface PrivateEndpointConnections { resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, - options?: PrivateEndpointConnectionsGetOptionalParams + options?: PrivateEndpointConnectionsGetOptionalParams, ): Promise; /** * Update the state of specified private endpoint connection associated with the workspace. @@ -59,7 +59,7 @@ export interface PrivateEndpointConnections { workspaceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, - options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams + options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams, ): Promise; /** * Deletes the specified private endpoint connection associated with the workspace. @@ -73,6 +73,6 @@ export interface PrivateEndpointConnections { resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, - options?: PrivateEndpointConnectionsDeleteOptionalParams + options?: PrivateEndpointConnectionsDeleteOptionalParams, ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateLinkResources.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateLinkResources.ts index 9297407ea513..5be795d4659d 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateLinkResources.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateLinkResources.ts @@ -8,7 +8,7 @@ import { PrivateLinkResourcesListOptionalParams, - PrivateLinkResourcesListResponse + PrivateLinkResourcesListResponse, } from "../models"; /** Interface representing a PrivateLinkResources. */ @@ -22,6 +22,6 @@ export interface PrivateLinkResources { list( resourceGroupName: string, workspaceName: string, - options?: PrivateLinkResourcesListOptionalParams + options?: PrivateLinkResourcesListOptionalParams, ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/quotas.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/quotas.ts index 697550823c9d..7fa5c2d8aa87 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/quotas.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/quotas.ts @@ -12,7 +12,7 @@ import { QuotasListOptionalParams, QuotaUpdateParameters, QuotasUpdateOptionalParams, - QuotasUpdateResponse + QuotasUpdateResponse, } from "../models"; /// @@ -25,7 +25,7 @@ export interface Quotas { */ list( location: string, - options?: QuotasListOptionalParams + options?: QuotasListOptionalParams, ): PagedAsyncIterableIterator; /** * Update quota for each VM family in workspace. @@ -36,6 +36,6 @@ export interface Quotas { update( location: string, parameters: QuotaUpdateParameters, - options?: QuotasUpdateOptionalParams + options?: QuotasUpdateOptionalParams, ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registries.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registries.ts new file mode 100644 index 000000000000..fc0a31fb22da --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registries.ts @@ -0,0 +1,154 @@ +/* + * 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 { + Registry, + RegistriesListBySubscriptionOptionalParams, + RegistriesListOptionalParams, + RegistriesDeleteOptionalParams, + RegistriesGetOptionalParams, + RegistriesGetResponse, + PartialRegistryPartialTrackedResource, + RegistriesUpdateOptionalParams, + RegistriesUpdateResponse, + RegistriesCreateOrUpdateOptionalParams, + RegistriesCreateOrUpdateResponse, + RegistriesRemoveRegionsOptionalParams, + RegistriesRemoveRegionsResponse, +} from "../models"; + +/// +/** Interface representing a Registries. */ +export interface Registries { + /** + * List registries by subscription + * @param options The options parameters. + */ + listBySubscription( + options?: RegistriesListBySubscriptionOptionalParams, + ): PagedAsyncIterableIterator; + /** + * List registries + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + options?: RegistriesListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Delete registry + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + registryName: string, + options?: RegistriesDeleteOptionalParams, + ): Promise, void>>; + /** + * Delete registry + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + options?: RegistriesDeleteOptionalParams, + ): Promise; + /** + * Get registry + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + options?: RegistriesGetOptionalParams, + ): Promise; + /** + * Update tags + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param body Details required to create the registry. + * @param options The options parameters. + */ + update( + resourceGroupName: string, + registryName: string, + body: PartialRegistryPartialTrackedResource, + options?: RegistriesUpdateOptionalParams, + ): Promise; + /** + * Create or update registry + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param body Details required to create the registry. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + body: Registry, + options?: RegistriesCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RegistriesCreateOrUpdateResponse + > + >; + /** + * Create or update registry + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param body Details required to create the registry. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + body: Registry, + options?: RegistriesCreateOrUpdateOptionalParams, + ): Promise; + /** + * Remove regions from registry + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param body Details required to create the registry. + * @param options The options parameters. + */ + beginRemoveRegions( + resourceGroupName: string, + registryName: string, + body: Registry, + options?: RegistriesRemoveRegionsOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RegistriesRemoveRegionsResponse + > + >; + /** + * Remove regions from registry + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param body Details required to create the registry. + * @param options The options parameters. + */ + beginRemoveRegionsAndWait( + resourceGroupName: string, + registryName: string, + body: Registry, + options?: RegistriesRemoveRegionsOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryCodeContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryCodeContainers.ts new file mode 100644 index 000000000000..4abee808248c --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryCodeContainers.ts @@ -0,0 +1,109 @@ +/* + * 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 { + CodeContainer, + RegistryCodeContainersListOptionalParams, + RegistryCodeContainersDeleteOptionalParams, + RegistryCodeContainersGetOptionalParams, + RegistryCodeContainersGetResponse, + RegistryCodeContainersCreateOrUpdateOptionalParams, + RegistryCodeContainersCreateOrUpdateResponse, +} from "../models"; + +/// +/** Interface representing a RegistryCodeContainers. */ +export interface RegistryCodeContainers { + /** + * List containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param options The options parameters. + */ + list( + resourceGroupName: string, + registryName: string, + options?: RegistryCodeContainersListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Delete Code container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param codeName Container name. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + registryName: string, + codeName: string, + options?: RegistryCodeContainersDeleteOptionalParams, + ): Promise, void>>; + /** + * Delete Code container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param codeName Container name. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + codeName: string, + options?: RegistryCodeContainersDeleteOptionalParams, + ): Promise; + /** + * Get Code container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param codeName Container name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + codeName: string, + options?: RegistryCodeContainersGetOptionalParams, + ): Promise; + /** + * Create or update Code container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param codeName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + codeName: string, + body: CodeContainer, + options?: RegistryCodeContainersCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RegistryCodeContainersCreateOrUpdateResponse + > + >; + /** + * Create or update Code container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param codeName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + codeName: string, + body: CodeContainer, + options?: RegistryCodeContainersCreateOrUpdateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryCodeVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryCodeVersions.ts new file mode 100644 index 000000000000..e05cee55ccdb --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryCodeVersions.ts @@ -0,0 +1,141 @@ +/* + * 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 { + CodeVersion, + RegistryCodeVersionsListOptionalParams, + RegistryCodeVersionsDeleteOptionalParams, + RegistryCodeVersionsGetOptionalParams, + RegistryCodeVersionsGetResponse, + RegistryCodeVersionsCreateOrUpdateOptionalParams, + RegistryCodeVersionsCreateOrUpdateResponse, + PendingUploadRequestDto, + RegistryCodeVersionsCreateOrGetStartPendingUploadOptionalParams, + RegistryCodeVersionsCreateOrGetStartPendingUploadResponse, +} from "../models"; + +/// +/** Interface representing a RegistryCodeVersions. */ +export interface RegistryCodeVersions { + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param codeName Container name. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + registryName: string, + codeName: string, + options?: RegistryCodeVersionsListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param codeName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + registryName: string, + codeName: string, + version: string, + options?: RegistryCodeVersionsDeleteOptionalParams, + ): Promise, void>>; + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param codeName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + codeName: string, + version: string, + options?: RegistryCodeVersionsDeleteOptionalParams, + ): Promise; + /** + * Get version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param codeName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + codeName: string, + version: string, + options?: RegistryCodeVersionsGetOptionalParams, + ): Promise; + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param codeName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + codeName: string, + version: string, + body: CodeVersion, + options?: RegistryCodeVersionsCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RegistryCodeVersionsCreateOrUpdateResponse + > + >; + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param codeName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + codeName: string, + version: string, + body: CodeVersion, + options?: RegistryCodeVersionsCreateOrUpdateOptionalParams, + ): Promise; + /** + * Generate a storage location and credential for the client to upload a code asset to. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param codeName Pending upload name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Pending upload request object + * @param options The options parameters. + */ + createOrGetStartPendingUpload( + resourceGroupName: string, + registryName: string, + codeName: string, + version: string, + body: PendingUploadRequestDto, + options?: RegistryCodeVersionsCreateOrGetStartPendingUploadOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryComponentContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryComponentContainers.ts new file mode 100644 index 000000000000..05b1b6336b86 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryComponentContainers.ts @@ -0,0 +1,109 @@ +/* + * 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 { + ComponentContainer, + RegistryComponentContainersListOptionalParams, + RegistryComponentContainersDeleteOptionalParams, + RegistryComponentContainersGetOptionalParams, + RegistryComponentContainersGetResponse, + RegistryComponentContainersCreateOrUpdateOptionalParams, + RegistryComponentContainersCreateOrUpdateResponse, +} from "../models"; + +/// +/** Interface representing a RegistryComponentContainers. */ +export interface RegistryComponentContainers { + /** + * List containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param options The options parameters. + */ + list( + resourceGroupName: string, + registryName: string, + options?: RegistryComponentContainersListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param componentName Container name. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + registryName: string, + componentName: string, + options?: RegistryComponentContainersDeleteOptionalParams, + ): Promise, void>>; + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param componentName Container name. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + componentName: string, + options?: RegistryComponentContainersDeleteOptionalParams, + ): Promise; + /** + * Get container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param componentName Container name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + componentName: string, + options?: RegistryComponentContainersGetOptionalParams, + ): Promise; + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param componentName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + componentName: string, + body: ComponentContainer, + options?: RegistryComponentContainersCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RegistryComponentContainersCreateOrUpdateResponse + > + >; + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param componentName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + componentName: string, + body: ComponentContainer, + options?: RegistryComponentContainersCreateOrUpdateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryComponentVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryComponentVersions.ts new file mode 100644 index 000000000000..eb2adf740b2c --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryComponentVersions.ts @@ -0,0 +1,121 @@ +/* + * 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 { + ComponentVersion, + RegistryComponentVersionsListOptionalParams, + RegistryComponentVersionsDeleteOptionalParams, + RegistryComponentVersionsGetOptionalParams, + RegistryComponentVersionsGetResponse, + RegistryComponentVersionsCreateOrUpdateOptionalParams, + RegistryComponentVersionsCreateOrUpdateResponse, +} from "../models"; + +/// +/** Interface representing a RegistryComponentVersions. */ +export interface RegistryComponentVersions { + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param componentName Container name. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + registryName: string, + componentName: string, + options?: RegistryComponentVersionsListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param componentName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + registryName: string, + componentName: string, + version: string, + options?: RegistryComponentVersionsDeleteOptionalParams, + ): Promise, void>>; + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param componentName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + componentName: string, + version: string, + options?: RegistryComponentVersionsDeleteOptionalParams, + ): Promise; + /** + * Get version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param componentName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + componentName: string, + version: string, + options?: RegistryComponentVersionsGetOptionalParams, + ): Promise; + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param componentName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + componentName: string, + version: string, + body: ComponentVersion, + options?: RegistryComponentVersionsCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RegistryComponentVersionsCreateOrUpdateResponse + > + >; + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param componentName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + componentName: string, + version: string, + body: ComponentVersion, + options?: RegistryComponentVersionsCreateOrUpdateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryDataContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryDataContainers.ts new file mode 100644 index 000000000000..dde956d2d6a5 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryDataContainers.ts @@ -0,0 +1,109 @@ +/* + * 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 { + DataContainer, + RegistryDataContainersListOptionalParams, + RegistryDataContainersDeleteOptionalParams, + RegistryDataContainersGetOptionalParams, + RegistryDataContainersGetResponse, + RegistryDataContainersCreateOrUpdateOptionalParams, + RegistryDataContainersCreateOrUpdateResponse, +} from "../models"; + +/// +/** Interface representing a RegistryDataContainers. */ +export interface RegistryDataContainers { + /** + * List Data containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param options The options parameters. + */ + list( + resourceGroupName: string, + registryName: string, + options?: RegistryDataContainersListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param name Container name. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + registryName: string, + name: string, + options?: RegistryDataContainersDeleteOptionalParams, + ): Promise, void>>; + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param name Container name. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + name: string, + options?: RegistryDataContainersDeleteOptionalParams, + ): Promise; + /** + * Get container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param name Container name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + name: string, + options?: RegistryDataContainersGetOptionalParams, + ): Promise; + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param name Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + name: string, + body: DataContainer, + options?: RegistryDataContainersCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RegistryDataContainersCreateOrUpdateResponse + > + >; + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param name Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + name: string, + body: DataContainer, + options?: RegistryDataContainersCreateOrUpdateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryDataReferences.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryDataReferences.ts new file mode 100644 index 000000000000..d252cc915564 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryDataReferences.ts @@ -0,0 +1,34 @@ +/* + * 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 { + GetBlobReferenceSASRequestDto, + RegistryDataReferencesGetBlobReferenceSASOptionalParams, + RegistryDataReferencesGetBlobReferenceSASResponse, +} from "../models"; + +/** Interface representing a RegistryDataReferences. */ +export interface RegistryDataReferences { + /** + * Get blob reference SAS Uri. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param name Data reference name. + * @param version Version identifier. + * @param body Asset id and blob uri. + * @param options The options parameters. + */ + getBlobReferenceSAS( + resourceGroupName: string, + registryName: string, + name: string, + version: string, + body: GetBlobReferenceSASRequestDto, + options?: RegistryDataReferencesGetBlobReferenceSASOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryDataVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryDataVersions.ts new file mode 100644 index 000000000000..43fa172a2169 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryDataVersions.ts @@ -0,0 +1,141 @@ +/* + * 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 { + DataVersionBase, + RegistryDataVersionsListOptionalParams, + RegistryDataVersionsDeleteOptionalParams, + RegistryDataVersionsGetOptionalParams, + RegistryDataVersionsGetResponse, + RegistryDataVersionsCreateOrUpdateOptionalParams, + RegistryDataVersionsCreateOrUpdateResponse, + PendingUploadRequestDto, + RegistryDataVersionsCreateOrGetStartPendingUploadOptionalParams, + RegistryDataVersionsCreateOrGetStartPendingUploadResponse, +} from "../models"; + +/// +/** Interface representing a RegistryDataVersions. */ +export interface RegistryDataVersions { + /** + * List data versions in the data container + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param name Data container's name + * @param options The options parameters. + */ + list( + resourceGroupName: string, + registryName: string, + name: string, + options?: RegistryDataVersionsListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param name Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + registryName: string, + name: string, + version: string, + options?: RegistryDataVersionsDeleteOptionalParams, + ): Promise, void>>; + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param name Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + name: string, + version: string, + options?: RegistryDataVersionsDeleteOptionalParams, + ): Promise; + /** + * Get version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param name Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + name: string, + version: string, + options?: RegistryDataVersionsGetOptionalParams, + ): Promise; + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param name Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + name: string, + version: string, + body: DataVersionBase, + options?: RegistryDataVersionsCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RegistryDataVersionsCreateOrUpdateResponse + > + >; + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param name Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + name: string, + version: string, + body: DataVersionBase, + options?: RegistryDataVersionsCreateOrUpdateOptionalParams, + ): Promise; + /** + * Generate a storage location and credential for the client to upload a data asset to. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param name Data asset name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Pending upload request object + * @param options The options parameters. + */ + createOrGetStartPendingUpload( + resourceGroupName: string, + registryName: string, + name: string, + version: string, + body: PendingUploadRequestDto, + options?: RegistryDataVersionsCreateOrGetStartPendingUploadOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryEnvironmentContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryEnvironmentContainers.ts new file mode 100644 index 000000000000..c52d9dbc38e2 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryEnvironmentContainers.ts @@ -0,0 +1,109 @@ +/* + * 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 { + EnvironmentContainer, + RegistryEnvironmentContainersListOptionalParams, + RegistryEnvironmentContainersDeleteOptionalParams, + RegistryEnvironmentContainersGetOptionalParams, + RegistryEnvironmentContainersGetResponse, + RegistryEnvironmentContainersCreateOrUpdateOptionalParams, + RegistryEnvironmentContainersCreateOrUpdateResponse, +} from "../models"; + +/// +/** Interface representing a RegistryEnvironmentContainers. */ +export interface RegistryEnvironmentContainers { + /** + * List environment containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param options The options parameters. + */ + list( + resourceGroupName: string, + registryName: string, + options?: RegistryEnvironmentContainersListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param environmentName Container name. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + registryName: string, + environmentName: string, + options?: RegistryEnvironmentContainersDeleteOptionalParams, + ): Promise, void>>; + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param environmentName Container name. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + environmentName: string, + options?: RegistryEnvironmentContainersDeleteOptionalParams, + ): Promise; + /** + * Get container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param environmentName Container name. This is case-sensitive. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + environmentName: string, + options?: RegistryEnvironmentContainersGetOptionalParams, + ): Promise; + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param environmentName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + environmentName: string, + body: EnvironmentContainer, + options?: RegistryEnvironmentContainersCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RegistryEnvironmentContainersCreateOrUpdateResponse + > + >; + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param environmentName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + environmentName: string, + body: EnvironmentContainer, + options?: RegistryEnvironmentContainersCreateOrUpdateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryEnvironmentVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryEnvironmentVersions.ts new file mode 100644 index 000000000000..1d18c5d62c79 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryEnvironmentVersions.ts @@ -0,0 +1,121 @@ +/* + * 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 { + EnvironmentVersion, + RegistryEnvironmentVersionsListOptionalParams, + RegistryEnvironmentVersionsDeleteOptionalParams, + RegistryEnvironmentVersionsGetOptionalParams, + RegistryEnvironmentVersionsGetResponse, + RegistryEnvironmentVersionsCreateOrUpdateOptionalParams, + RegistryEnvironmentVersionsCreateOrUpdateResponse, +} from "../models"; + +/// +/** Interface representing a RegistryEnvironmentVersions. */ +export interface RegistryEnvironmentVersions { + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param environmentName Container name. This is case-sensitive. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + registryName: string, + environmentName: string, + options?: RegistryEnvironmentVersionsListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param environmentName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + registryName: string, + environmentName: string, + version: string, + options?: RegistryEnvironmentVersionsDeleteOptionalParams, + ): Promise, void>>; + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param environmentName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + environmentName: string, + version: string, + options?: RegistryEnvironmentVersionsDeleteOptionalParams, + ): Promise; + /** + * Get version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param environmentName Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + environmentName: string, + version: string, + options?: RegistryEnvironmentVersionsGetOptionalParams, + ): Promise; + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param environmentName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + environmentName: string, + version: string, + body: EnvironmentVersion, + options?: RegistryEnvironmentVersionsCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RegistryEnvironmentVersionsCreateOrUpdateResponse + > + >; + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param environmentName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + environmentName: string, + version: string, + body: EnvironmentVersion, + options?: RegistryEnvironmentVersionsCreateOrUpdateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryModelContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryModelContainers.ts new file mode 100644 index 000000000000..fc13c95dde8d --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryModelContainers.ts @@ -0,0 +1,109 @@ +/* + * 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 { + ModelContainer, + RegistryModelContainersListOptionalParams, + RegistryModelContainersDeleteOptionalParams, + RegistryModelContainersGetOptionalParams, + RegistryModelContainersGetResponse, + RegistryModelContainersCreateOrUpdateOptionalParams, + RegistryModelContainersCreateOrUpdateResponse, +} from "../models"; + +/// +/** Interface representing a RegistryModelContainers. */ +export interface RegistryModelContainers { + /** + * List model containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param options The options parameters. + */ + list( + resourceGroupName: string, + registryName: string, + options?: RegistryModelContainersListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param modelName Container name. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + registryName: string, + modelName: string, + options?: RegistryModelContainersDeleteOptionalParams, + ): Promise, void>>; + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param modelName Container name. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + modelName: string, + options?: RegistryModelContainersDeleteOptionalParams, + ): Promise; + /** + * Get container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param modelName Container name. This is case-sensitive. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + modelName: string, + options?: RegistryModelContainersGetOptionalParams, + ): Promise; + /** + * Create or update model container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param modelName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + modelName: string, + body: ModelContainer, + options?: RegistryModelContainersCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RegistryModelContainersCreateOrUpdateResponse + > + >; + /** + * Create or update model container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param modelName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + modelName: string, + body: ModelContainer, + options?: RegistryModelContainersCreateOrUpdateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryModelVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryModelVersions.ts new file mode 100644 index 000000000000..3ac269f2a60b --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryModelVersions.ts @@ -0,0 +1,141 @@ +/* + * 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 { + ModelVersion, + RegistryModelVersionsListOptionalParams, + RegistryModelVersionsDeleteOptionalParams, + RegistryModelVersionsGetOptionalParams, + RegistryModelVersionsGetResponse, + RegistryModelVersionsCreateOrUpdateOptionalParams, + RegistryModelVersionsCreateOrUpdateResponse, + PendingUploadRequestDto, + RegistryModelVersionsCreateOrGetStartPendingUploadOptionalParams, + RegistryModelVersionsCreateOrGetStartPendingUploadResponse, +} from "../models"; + +/// +/** Interface representing a RegistryModelVersions. */ +export interface RegistryModelVersions { + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param modelName Container name. This is case-sensitive. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + registryName: string, + modelName: string, + options?: RegistryModelVersionsListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param modelName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + registryName: string, + modelName: string, + version: string, + options?: RegistryModelVersionsDeleteOptionalParams, + ): Promise, void>>; + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param modelName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + modelName: string, + version: string, + options?: RegistryModelVersionsDeleteOptionalParams, + ): Promise; + /** + * Get version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param modelName Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + modelName: string, + version: string, + options?: RegistryModelVersionsGetOptionalParams, + ): Promise; + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param modelName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + modelName: string, + version: string, + body: ModelVersion, + options?: RegistryModelVersionsCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RegistryModelVersionsCreateOrUpdateResponse + > + >; + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param modelName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + modelName: string, + version: string, + body: ModelVersion, + options?: RegistryModelVersionsCreateOrUpdateOptionalParams, + ): Promise; + /** + * Generate a storage location and credential for the client to upload a model asset to. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. This is case-insensitive + * @param modelName Model name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Pending upload request object + * @param options The options parameters. + */ + createOrGetStartPendingUpload( + resourceGroupName: string, + registryName: string, + modelName: string, + version: string, + body: PendingUploadRequestDto, + options?: RegistryModelVersionsCreateOrGetStartPendingUploadOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/schedules.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/schedules.ts index aaa2ce6be834..6bddf10b6f8e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/schedules.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/schedules.ts @@ -7,7 +7,7 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { Schedule, SchedulesListOptionalParams, @@ -15,7 +15,7 @@ import { SchedulesGetOptionalParams, SchedulesGetResponse, SchedulesCreateOrUpdateOptionalParams, - SchedulesCreateOrUpdateResponse + SchedulesCreateOrUpdateResponse, } from "../models"; /// @@ -30,7 +30,7 @@ export interface Schedules { list( resourceGroupName: string, workspaceName: string, - options?: SchedulesListOptionalParams + options?: SchedulesListOptionalParams, ): PagedAsyncIterableIterator; /** * Delete schedule. @@ -43,8 +43,8 @@ export interface Schedules { resourceGroupName: string, workspaceName: string, name: string, - options?: SchedulesDeleteOptionalParams - ): Promise, void>>; + options?: SchedulesDeleteOptionalParams, + ): Promise, void>>; /** * Delete schedule. * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -56,7 +56,7 @@ export interface Schedules { resourceGroupName: string, workspaceName: string, name: string, - options?: SchedulesDeleteOptionalParams + options?: SchedulesDeleteOptionalParams, ): Promise; /** * Get schedule. @@ -69,7 +69,7 @@ export interface Schedules { resourceGroupName: string, workspaceName: string, name: string, - options?: SchedulesGetOptionalParams + options?: SchedulesGetOptionalParams, ): Promise; /** * Create or update schedule. @@ -84,10 +84,10 @@ export interface Schedules { workspaceName: string, name: string, body: Schedule, - options?: SchedulesCreateOrUpdateOptionalParams + options?: SchedulesCreateOrUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, SchedulesCreateOrUpdateResponse > >; @@ -104,6 +104,6 @@ export interface Schedules { workspaceName: string, name: string, body: Schedule, - options?: SchedulesCreateOrUpdateOptionalParams + options?: SchedulesCreateOrUpdateOptionalParams, ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/usages.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/usages.ts index 219dcb3ef947..2022c584649f 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/usages.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/usages.ts @@ -20,6 +20,6 @@ export interface Usages { */ list( location: string, - options?: UsagesListOptionalParams + options?: UsagesListOptionalParams, ): PagedAsyncIterableIterator; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/virtualMachineSizes.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/virtualMachineSizes.ts index 5d9839525136..94c771a5381e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/virtualMachineSizes.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/virtualMachineSizes.ts @@ -8,7 +8,7 @@ import { VirtualMachineSizesListOptionalParams, - VirtualMachineSizesListResponse + VirtualMachineSizesListResponse, } from "../models"; /** Interface representing a VirtualMachineSizes. */ @@ -20,6 +20,6 @@ export interface VirtualMachineSizes { */ list( location: string, - options?: VirtualMachineSizesListOptionalParams + options?: VirtualMachineSizesListOptionalParams, ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceConnections.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceConnections.ts index 1b33ac27cf3e..63dfb861be84 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceConnections.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceConnections.ts @@ -14,7 +14,7 @@ import { WorkspaceConnectionsCreateResponse, WorkspaceConnectionsGetOptionalParams, WorkspaceConnectionsGetResponse, - WorkspaceConnectionsDeleteOptionalParams + WorkspaceConnectionsDeleteOptionalParams, } from "../models"; /// @@ -28,7 +28,7 @@ export interface WorkspaceConnections { list( resourceGroupName: string, workspaceName: string, - options?: WorkspaceConnectionsListOptionalParams + options?: WorkspaceConnectionsListOptionalParams, ): PagedAsyncIterableIterator; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -42,7 +42,7 @@ export interface WorkspaceConnections { workspaceName: string, connectionName: string, parameters: WorkspaceConnectionPropertiesV2BasicResource, - options?: WorkspaceConnectionsCreateOptionalParams + options?: WorkspaceConnectionsCreateOptionalParams, ): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -54,7 +54,7 @@ export interface WorkspaceConnections { resourceGroupName: string, workspaceName: string, connectionName: string, - options?: WorkspaceConnectionsGetOptionalParams + options?: WorkspaceConnectionsGetOptionalParams, ): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -66,6 +66,6 @@ export interface WorkspaceConnections { resourceGroupName: string, workspaceName: string, connectionName: string, - options?: WorkspaceConnectionsDeleteOptionalParams + options?: WorkspaceConnectionsDeleteOptionalParams, ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceFeatures.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceFeatures.ts index 8b7697375224..c33426b30f6a 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceFeatures.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceFeatures.ts @@ -21,6 +21,6 @@ export interface WorkspaceFeatures { list( resourceGroupName: string, workspaceName: string, - options?: WorkspaceFeaturesListOptionalParams + options?: WorkspaceFeaturesListOptionalParams, ): PagedAsyncIterableIterator; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaces.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaces.ts index 39e9d916b20b..e0e9dbaf128a 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaces.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaces.ts @@ -7,7 +7,7 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { Workspace, WorkspacesListByResourceGroupOptionalParams, @@ -34,7 +34,7 @@ import { WorkspacesListNotebookKeysOptionalParams, WorkspacesListNotebookKeysResponse, WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams, - WorkspacesListOutboundNetworkDependenciesEndpointsResponse + WorkspacesListOutboundNetworkDependenciesEndpointsResponse, } from "../models"; /// @@ -47,14 +47,14 @@ export interface Workspaces { */ listByResourceGroup( resourceGroupName: string, - options?: WorkspacesListByResourceGroupOptionalParams + options?: WorkspacesListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator; /** * Lists all the available machine learning workspaces under the specified subscription. * @param options The options parameters. */ listBySubscription( - options?: WorkspacesListBySubscriptionOptionalParams + options?: WorkspacesListBySubscriptionOptionalParams, ): PagedAsyncIterableIterator; /** * Gets the properties of the specified machine learning workspace. @@ -65,7 +65,7 @@ export interface Workspaces { get( resourceGroupName: string, workspaceName: string, - options?: WorkspacesGetOptionalParams + options?: WorkspacesGetOptionalParams, ): Promise; /** * Creates or updates a workspace with the specified parameters. @@ -78,10 +78,10 @@ export interface Workspaces { resourceGroupName: string, workspaceName: string, parameters: Workspace, - options?: WorkspacesCreateOrUpdateOptionalParams + options?: WorkspacesCreateOrUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, WorkspacesCreateOrUpdateResponse > >; @@ -96,7 +96,7 @@ export interface Workspaces { resourceGroupName: string, workspaceName: string, parameters: Workspace, - options?: WorkspacesCreateOrUpdateOptionalParams + options?: WorkspacesCreateOrUpdateOptionalParams, ): Promise; /** * Deletes a machine learning workspace. @@ -107,8 +107,8 @@ export interface Workspaces { beginDelete( resourceGroupName: string, workspaceName: string, - options?: WorkspacesDeleteOptionalParams - ): Promise, void>>; + options?: WorkspacesDeleteOptionalParams, + ): Promise, void>>; /** * Deletes a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -118,7 +118,7 @@ export interface Workspaces { beginDeleteAndWait( resourceGroupName: string, workspaceName: string, - options?: WorkspacesDeleteOptionalParams + options?: WorkspacesDeleteOptionalParams, ): Promise; /** * Updates a machine learning workspace with the specified parameters. @@ -131,10 +131,10 @@ export interface Workspaces { resourceGroupName: string, workspaceName: string, parameters: WorkspaceUpdateParameters, - options?: WorkspacesUpdateOptionalParams + options?: WorkspacesUpdateOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, WorkspacesUpdateResponse > >; @@ -149,7 +149,7 @@ export interface Workspaces { resourceGroupName: string, workspaceName: string, parameters: WorkspaceUpdateParameters, - options?: WorkspacesUpdateOptionalParams + options?: WorkspacesUpdateOptionalParams, ): Promise; /** * Diagnose workspace setup issue. @@ -160,10 +160,10 @@ export interface Workspaces { beginDiagnose( resourceGroupName: string, workspaceName: string, - options?: WorkspacesDiagnoseOptionalParams + options?: WorkspacesDiagnoseOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, WorkspacesDiagnoseResponse > >; @@ -176,7 +176,7 @@ export interface Workspaces { beginDiagnoseAndWait( resourceGroupName: string, workspaceName: string, - options?: WorkspacesDiagnoseOptionalParams + options?: WorkspacesDiagnoseOptionalParams, ): Promise; /** * Lists all the keys associated with this workspace. This includes keys for the storage account, app @@ -188,7 +188,7 @@ export interface Workspaces { listKeys( resourceGroupName: string, workspaceName: string, - options?: WorkspacesListKeysOptionalParams + options?: WorkspacesListKeysOptionalParams, ): Promise; /** * Resync all the keys associated with this workspace. This includes keys for the storage account, app @@ -200,8 +200,8 @@ export interface Workspaces { beginResyncKeys( resourceGroupName: string, workspaceName: string, - options?: WorkspacesResyncKeysOptionalParams - ): Promise, void>>; + options?: WorkspacesResyncKeysOptionalParams, + ): Promise, void>>; /** * Resync all the keys associated with this workspace. This includes keys for the storage account, app * insights and password for container registry @@ -212,7 +212,7 @@ export interface Workspaces { beginResyncKeysAndWait( resourceGroupName: string, workspaceName: string, - options?: WorkspacesResyncKeysOptionalParams + options?: WorkspacesResyncKeysOptionalParams, ): Promise; /** * return notebook access token and refresh token @@ -223,7 +223,7 @@ export interface Workspaces { listNotebookAccessToken( resourceGroupName: string, workspaceName: string, - options?: WorkspacesListNotebookAccessTokenOptionalParams + options?: WorkspacesListNotebookAccessTokenOptionalParams, ): Promise; /** * Prepare a notebook. @@ -234,10 +234,10 @@ export interface Workspaces { beginPrepareNotebook( resourceGroupName: string, workspaceName: string, - options?: WorkspacesPrepareNotebookOptionalParams + options?: WorkspacesPrepareNotebookOptionalParams, ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, WorkspacesPrepareNotebookResponse > >; @@ -250,7 +250,7 @@ export interface Workspaces { beginPrepareNotebookAndWait( resourceGroupName: string, workspaceName: string, - options?: WorkspacesPrepareNotebookOptionalParams + options?: WorkspacesPrepareNotebookOptionalParams, ): Promise; /** * List storage account keys of a workspace. @@ -261,7 +261,7 @@ export interface Workspaces { listStorageAccountKeys( resourceGroupName: string, workspaceName: string, - options?: WorkspacesListStorageAccountKeysOptionalParams + options?: WorkspacesListStorageAccountKeysOptionalParams, ): Promise; /** * List keys of a notebook. @@ -272,7 +272,7 @@ export interface Workspaces { listNotebookKeys( resourceGroupName: string, workspaceName: string, - options?: WorkspacesListNotebookKeysOptionalParams + options?: WorkspacesListNotebookKeysOptionalParams, ): Promise; /** * Called by Client (Portal, CLI, etc) to get a list of all external outbound dependencies (FQDNs) @@ -284,6 +284,6 @@ export interface Workspaces { listOutboundNetworkDependenciesEndpoints( resourceGroupName: string, workspaceName: string, - options?: WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams + options?: WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams, ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/pagingHelper.ts b/sdk/machinelearning/arm-machinelearning/src/pagingHelper.ts index d85fc13bce1e..205cccc26592 100644 --- a/sdk/machinelearning/arm-machinelearning/src/pagingHelper.ts +++ b/sdk/machinelearning/arm-machinelearning/src/pagingHelper.ts @@ -13,11 +13,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { @@ -28,7 +28,7 @@ export function getContinuationToken(page: unknown): string | undefined { export function setContinuationToken( page: unknown, - continuationToken: string | undefined + continuationToken: string | undefined, ): void { if (typeof page !== "object" || page === null || !continuationToken) { return; diff --git a/sdk/machinelearning/arm-machinelearning/test/sampleTest.ts b/sdk/machinelearning/arm-machinelearning/test/sampleTest.ts index 25aeb3ebcc36..d64be981b694 100644 --- a/sdk/machinelearning/arm-machinelearning/test/sampleTest.ts +++ b/sdk/machinelearning/arm-machinelearning/test/sampleTest.ts @@ -9,7 +9,7 @@ import { Recorder, RecorderStartOptions, - env + env, } from "@azure-tools/test-recorder"; import { assert } from "chai"; import { Context } from "mocha"; @@ -18,26 +18,26 @@ const replaceableVariables: Record = { AZURE_CLIENT_ID: "azure_client_id", AZURE_CLIENT_SECRET: "azure_client_secret", AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", - SUBSCRIPTION_ID: "azure_subscription_id" + SUBSCRIPTION_ID: "azure_subscription_id", }; const recorderOptions: RecorderStartOptions = { - envSetupForPlayback: replaceableVariables + envSetupForPlayback: replaceableVariables, }; describe("My test", () => { let recorder: Recorder; - beforeEach(async function(this: Context) { + beforeEach(async function (this: Context) { recorder = new Recorder(this.currentTest); await recorder.start(recorderOptions); }); - afterEach(async function() { + afterEach(async function () { await recorder.stop(); }); - it("sample test", async function() { + it("sample test", async function () { console.log("Hi, I'm a test!"); }); }); diff --git a/sdk/machinelearning/arm-machinelearning/tsconfig.json b/sdk/machinelearning/arm-machinelearning/tsconfig.json index c068b7a47837..3e6ae96443f3 100644 --- a/sdk/machinelearning/arm-machinelearning/tsconfig.json +++ b/sdk/machinelearning/arm-machinelearning/tsconfig.json @@ -15,17 +15,11 @@ ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true, - "paths": { - "@azure/arm-machinelearning": [ - "./src/index" - ] - } + "importHelpers": true }, "include": [ "./src/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts" + "./test/**/*.ts" ], "exclude": [ "node_modules" diff --git a/sdk/maps/maps-geolocation-rest/tests.yml b/sdk/maps/maps-geolocation-rest/tests.yml index 524ddf0fe3ba..44e686cda694 100644 --- a/sdk/maps/maps-geolocation-rest/tests.yml +++ b/sdk/maps/maps-geolocation-rest/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure-rest/maps-geolocation" ServiceDirectory: maps diff --git a/sdk/maps/maps-render-rest/tests.yml b/sdk/maps/maps-render-rest/tests.yml index 79a754c65281..0bf2b59e43ca 100644 --- a/sdk/maps/maps-render-rest/tests.yml +++ b/sdk/maps/maps-render-rest/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure-rest/maps-render" ServiceDirectory: maps diff --git a/sdk/maps/maps-route-rest/tests.yml b/sdk/maps/maps-route-rest/tests.yml index 84beb6a22fb4..7677f75f89b6 100644 --- a/sdk/maps/maps-route-rest/tests.yml +++ b/sdk/maps/maps-route-rest/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure-rest/maps-route" ServiceDirectory: maps diff --git a/sdk/maps/maps-search-rest/tests.yml b/sdk/maps/maps-search-rest/tests.yml index 499fba2a84bc..35a3139beeec 100644 --- a/sdk/maps/maps-search-rest/tests.yml +++ b/sdk/maps/maps-search-rest/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure-rest/maps-search" ServiceDirectory: maps diff --git a/sdk/metricsadvisor/ai-metrics-advisor/tests.yml b/sdk/metricsadvisor/ai-metrics-advisor/tests.yml index c879b531ca28..b0dabb49f2c3 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/tests.yml +++ b/sdk/metricsadvisor/ai-metrics-advisor/tests.yml @@ -6,8 +6,8 @@ parameters: trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/ai-metrics-advisor" Location: "${{ parameters.Location }}" diff --git a/sdk/mixedreality/mixed-reality-authentication/tests.yml b/sdk/mixedreality/mixed-reality-authentication/tests.yml index d11bcfa759dd..8d1d44d5daba 100644 --- a/sdk/mixedreality/mixed-reality-authentication/tests.yml +++ b/sdk/mixedreality/mixed-reality-authentication/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/mixed-reality-authentication" ServiceDirectory: mixedreality diff --git a/sdk/monitor/monitor-ingestion/tests.yml b/sdk/monitor/monitor-ingestion/tests.yml index a2b6c82b0640..be24a349daa7 100644 --- a/sdk/monitor/monitor-ingestion/tests.yml +++ b/sdk/monitor/monitor-ingestion/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/monitor-ingestion" ServiceDirectory: monitor diff --git a/sdk/monitor/monitor-opentelemetry-exporter/CHANGELOG.md b/sdk/monitor/monitor-opentelemetry-exporter/CHANGELOG.md index 9af3ae0ec388..f9b6465e916b 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/CHANGELOG.md +++ b/sdk/monitor/monitor-opentelemetry-exporter/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 1.0.0-beta.21 (2024-03-08) + +### Bugs Fixed + +- Fix issue with duration calculation for Spans. + ## 1.0.0-beta.20 (2024-02-13) ### Bugs Fixed diff --git a/sdk/monitor/monitor-opentelemetry-exporter/package.json b/sdk/monitor/monitor-opentelemetry-exporter/package.json index 22d4adbe930f..0460a4c456a9 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/package.json +++ b/sdk/monitor/monitor-opentelemetry-exporter/package.json @@ -2,7 +2,7 @@ "name": "@azure/monitor-opentelemetry-exporter", "author": "Microsoft Corporation", "sdk-type": "client", - "version": "1.0.0-beta.20", + "version": "1.0.0-beta.21", "description": "Application Insights exporter for the OpenTelemetry JavaScript (Node.js) SDK", "main": "dist/index.js", "module": "dist-esm/src/index.js", @@ -25,9 +25,8 @@ "test:node": "npm run clean && npm run build:test && npm run unit-test:node", "test:browser": "npm run unit-test:browser", "unit-test:browser": "echo skipped", - "unit-test:node": "dev-tool run test:node-ts-input --no-test-proxy=true -- --timeout 1200000 \"test/internal/**/*.test.ts\"", - "unit-test:node:debug": "dev-tool run test:node-ts-input --no-test-proxy=true -- --inspect-brk \"test/internal/**/*.test.ts\"", - "unit-test:node:no-timeout": "echo skipped", + "unit-test:node": "dev-tool run test:node-tsx-ts -- --timeout 1200000 \"test/internal/**/*.test.ts\"", + "unit-test:node:debug": "dev-tool run test:node-tsx-ts -- --timeout 1200000 \"test/internal/**/*.test.ts\"", "unit-test": "npm run unit-test:node && npm run unit-test:browser", "integration-test:browser": "echo skipped", "integration-test:node": "dev-tool run test:node-ts-input --no-test-proxy=true -- --timeout 1200000 \"test/internal/functional/**/*.test.ts\"", @@ -84,37 +83,36 @@ "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@microsoft/api-extractor": "^7.31.1", - "@opentelemetry/instrumentation": "^0.48.0", - "@opentelemetry/instrumentation-http": "^0.48.0", - "@opentelemetry/sdk-trace-node": "^1.21.0", + "@opentelemetry/instrumentation": "^0.49.1", + "@opentelemetry/instrumentation-http": "^0.49.1", + "@opentelemetry/sdk-trace-node": "^1.22.0", "@types/mocha": "^10.0.0", "@types/node": "^18.0.0", + "c8": "^8.0.0", + "cross-env": "^7.0.2", "dotenv": "^16.0.0", "eslint": "^8.0.0", "eslint-plugin-node": "^11.1.0", - "esm": "^3.2.18", "mocha": "^10.0.0", "nock": "^12.0.3", - "c8": "^8.0.0", "rimraf": "^5.0.5", "sinon": "^17.0.0", - "ts-node": "^10.0.0", - "typescript": "~5.3.3", - "cross-env": "^7.0.2" + "tsx": "^4.7.1", + "typescript": "~5.3.3" }, "dependencies": { "@azure/core-client": "^1.0.0", "@azure/core-auth": "^1.3.0", "@azure/core-rest-pipeline": "^1.1.0", - "@opentelemetry/api": "^1.7.0", - "@opentelemetry/api-logs": "^0.48.0", - "@opentelemetry/core": "^1.21.0", - "@opentelemetry/resources": "^1.21.0", - "@opentelemetry/sdk-metrics": "^1.21.0", - "@opentelemetry/sdk-trace-base": "^1.21.0", - "@opentelemetry/semantic-conventions": "^1.21.0", - "@opentelemetry/sdk-logs": "^0.48.0", - "tslib": "^2.2.0" + "@opentelemetry/api": "^1.8.0", + "@opentelemetry/api-logs": "^0.49.1", + "@opentelemetry/core": "^1.22.0", + "@opentelemetry/resources": "^1.22.0", + "@opentelemetry/sdk-metrics": "^1.22.0", + "@opentelemetry/sdk-trace-base": "^1.22.0", + "@opentelemetry/semantic-conventions": "^1.22.0", + "@opentelemetry/sdk-logs": "^0.49.1", + "tslib": "^2.6.2" }, "sideEffects": false, "keywords": [ diff --git a/sdk/monitor/monitor-opentelemetry-exporter/src/generated/applicationInsightsClient.ts b/sdk/monitor/monitor-opentelemetry-exporter/src/generated/applicationInsightsClient.ts index b15758c28ad1..2f4daae782f5 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/src/generated/applicationInsightsClient.ts +++ b/sdk/monitor/monitor-opentelemetry-exporter/src/generated/applicationInsightsClient.ts @@ -32,7 +32,7 @@ export class ApplicationInsightsClient extends coreClient.ServiceClient { requestContentType: "application/json; charset=utf-8", }; - const packageDetails = `azsdk-js-monitor-opentelemetry-exporter/1.0.0-beta.20`; + const packageDetails = `azsdk-js-monitor-opentelemetry-exporter/1.0.0-beta.21`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/monitor/monitor-opentelemetry-exporter/src/utils/constants/applicationinsights.ts b/sdk/monitor/monitor-opentelemetry-exporter/src/utils/constants/applicationinsights.ts index 92fce431630f..3c9293d5678f 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/src/utils/constants/applicationinsights.ts +++ b/sdk/monitor/monitor-opentelemetry-exporter/src/utils/constants/applicationinsights.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. +// Licensed under the MIT license /** * AI MS Links. @@ -20,7 +20,7 @@ export const TIME_SINCE_ENQUEUED = "timeSinceEnqueued"; * AzureMonitorTraceExporter version. * @internal */ -export const packageVersion = "1.0.0-beta.20"; +export const packageVersion = "1.0.0-beta.21"; export enum DependencyTypes { InProc = "InProc", diff --git a/sdk/monitor/monitor-opentelemetry-exporter/src/utils/spanUtils.ts b/sdk/monitor/monitor-opentelemetry-exporter/src/utils/spanUtils.ts index d1a0d0389b70..9af5bb7ebf04 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/src/utils/spanUtils.ts +++ b/sdk/monitor/monitor-opentelemetry-exporter/src/utils/spanUtils.ts @@ -127,7 +127,7 @@ function createDependencyData(span: ReadableSpan): RemoteDependencyData { const remoteDependencyData: RemoteDependencyData = { name: span.name, // Default id: `${span.spanContext().spanId}`, - success: span.status.code !== SpanStatusCode.ERROR, + success: span.status?.code !== SpanStatusCode.ERROR, resultCode: "0", type: "Dependency", duration: msToTimeSpan(hrTimeToMilliseconds(span.duration)), diff --git a/sdk/monitor/monitor-opentelemetry-exporter/swagger/README.md b/sdk/monitor/monitor-opentelemetry-exporter/swagger/README.md index 2df979fb93b1..37d228fabb40 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/swagger/README.md +++ b/sdk/monitor/monitor-opentelemetry-exporter/swagger/README.md @@ -25,7 +25,7 @@ input-file: https://github.com/Azure/azure-rest-api-specs/blob/main/specificatio add-credentials: false use-extension: "@autorest/typescript": "latest" -package-version: 1.0.0-beta.20 +package-version: 1.0.0-beta.21 typescript: true v3: true ``` diff --git a/sdk/monitor/monitor-opentelemetry-exporter/tests.yml b/sdk/monitor/monitor-opentelemetry-exporter/tests.yml index c0c421af4930..5cf47c25d18d 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/tests.yml +++ b/sdk/monitor/monitor-opentelemetry-exporter/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/monitor-opentelemetry-exporter" ServiceDirectory: monitor diff --git a/sdk/monitor/monitor-opentelemetry/CHANGELOG.md b/sdk/monitor/monitor-opentelemetry/CHANGELOG.md index 5cef905b6e5d..e0a4047977be 100644 --- a/sdk/monitor/monitor-opentelemetry/CHANGELOG.md +++ b/sdk/monitor/monitor-opentelemetry/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## Unreleased () + +### Other Changes + +- Updated the @microsoft/applicationinsights-web-snippet to v1.1.2. + ## 1.3.0 (2024-02-13) ### Features Added diff --git a/sdk/monitor/monitor-opentelemetry/README.md b/sdk/monitor/monitor-opentelemetry/README.md index 8ccffd80b0e8..5e14a6482d37 100644 --- a/sdk/monitor/monitor-opentelemetry/README.md +++ b/sdk/monitor/monitor-opentelemetry/README.md @@ -29,7 +29,7 @@ See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUP ```typescript -const { useAzureMonitor, AzureMonitorOpenTelemetryOptions } = require("@azure/monitor-opentelemetry"); +import { useAzureMonitor, AzureMonitorOpenTelemetryOptions } from "@azure/monitor-opentelemetry"; const options: AzureMonitorOpenTelemetryOptions = { azureMonitorExporterOptions: { @@ -46,8 +46,8 @@ useAzureMonitor(options); ```typescript -const { AzureMonitorOpenTelemetryClient, AzureMonitorOpenTelemetryOptions } = require("@azure/monitor-opentelemetry"); -const { Resource } = require("@opentelemetry/resources"); +import { AzureMonitorOpenTelemetryOptions, useAzureMonitor } from "@azure/monitor-opentelemetry"; +import { Resource } from "@opentelemetry/resources"; const resource = new Resource({ "testAttribute": "testValue" }); const options: AzureMonitorOpenTelemetryOptions = { @@ -57,11 +57,12 @@ const options: AzureMonitorOpenTelemetryOptions = { // Automatic retries disableOfflineStorage: false, // Application Insights Connection String - connectionString: process.env["APPLICATIONINSIGHTS_CONNECTION_STRING"] || "", + connectionString: + process.env["APPLICATIONINSIGHTS_CONNECTION_STRING"] || "", }, samplingRatio: 1, instrumentationOptions: { - // Instrumentations generating traces + // Instrumentations generating traces azureSdk: { enabled: true }, http: { enabled: true }, mongoDb: { enabled: true }, @@ -79,23 +80,26 @@ const options: AzureMonitorOpenTelemetryOptions = { connectionString: "", }, resource: resource + logRecordProcessors: [], + spanProcessors: [] }; useAzureMonitor(options); - ``` |Property|Description|Default| | ------------------------------- |------------------------------------------------------------------------------------------------------------|-------| -| azureMonitorExporterOptions | Azure Monitor OpenTelemetry Exporter Configuration. [More info here](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/monitor/monitor-opentelemetry-exporter) | | | | -| samplingRatio | Sampling ratio must take a value in the range [0,1], 1 meaning all data will sampled and 0 all Tracing data will be sampled out. | 1| +| azureMonitorExporterOptions | Azure Monitor OpenTelemetry Exporter Configuration. [More info here](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/monitor/monitor-opentelemetry-exporter) | | | | +| samplingRatio | Sampling ratio must take a value in the range [0,1], 1 meaning all data will sampled and 0 all Tracing data will be sampled out. | 1| | instrumentationOptions| Allow configuration of OpenTelemetry Instrumentations. | {"http": { enabled: true },"azureSdk": { enabled: false },"mongoDb": { enabled: false },"mySql": { enabled: false },"postgreSql": { enabled: false },"redis": { enabled: false },"bunyan": { enabled: false }}| -| browserSdkLoaderOptions| Allow configuration of Web Instrumentations. | { enabled: false, connectionString: "" } -| resource | Opentelemetry Resource. [More info here](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-resources) || -| samplingRatio | Sampling ratio must take a value in the range [0,1], 1 meaning all data will sampled and 0 all Tracing data will be sampled out. -| enableLiveMetrics | Enable/Disable Live Metrics. -| enableStandardMetrics | Enable/Disable Standard Metrics. +| browserSdkLoaderOptions| Allow configuration of Web Instrumentations. | { enabled: false, connectionString: "" } | +| resource | Opentelemetry Resource. [More info here](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-resources) || +| samplingRatio | Sampling ratio must take a value in the range [0,1], 1 meaning all data will sampled and 0 all Tracing data will be sampled out. | +| enableLiveMetrics | Enable/Disable Live Metrics. | +| enableStandardMetrics | Enable/Disable Standard Metrics. | +| logRecordProcessors | Array of log record processors to register to the global logger provider. | +| spanProcessors | Array of span processors to register to the global tracer provider. | Options could be set using configuration file `applicationinsights.json` located under root folder of @azure/monitor-opentelemetry package installation folder, Ex: `node_modules/@azure/monitor-opentelemetry`. These configuration values will be applied to all AzureMonitorOpenTelemetryClient instances. @@ -112,7 +116,6 @@ Options could be set using configuration file `applicationinsights.json` located }, ... } - ``` Custom JSON file could be provided using `APPLICATIONINSIGHTS_CONFIGURATION_FILE` environment variable. @@ -149,21 +152,20 @@ The following OpenTelemetry Instrumentation libraries are included as part of Az Other OpenTelemetry Instrumentations are available [here](https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node) and could be added using TracerProvider in AzureMonitorOpenTelemetryClient. ```typescript - const { useAzureMonitor } = require("@azure/monitor-opentelemetry"); - const { metrics, trace } = require("@opentelemetry/api"); - const { registerInstrumentations } = require("@opentelemetry/instrumentation"); - const { ExpressInstrumentation } = require('@opentelemetry/instrumentation-express'); - - useAzureMonitor(); - const instrumentations = [ - new ExpressInstrumentation(), - ]; - registerInstrumentations({ - tracerProvider: trace.getTracerProvider(), - meterProvider: metrics.getMeterProvider(), - instrumentations: instrumentations, - }); - +import { useAzureMonitor } from "@azure/monitor-opentelemetry"; +import { metrics, trace } from "@opentelemetry/api"; +import { registerInstrumentations } from "@opentelemetry/instrumentation"; +import { ExpressInstrumentation } from "@opentelemetry/instrumentation-express"; + +useAzureMonitor(); +const instrumentations = [ + new ExpressInstrumentation(), +]; +registerInstrumentations({ + tracerProvider: trace.getTracerProvider(), + meterProvider: metrics.getMeterProvider(), + instrumentations: instrumentations, +}); ``` ### Application Insights Browser SDK Loader @@ -183,9 +185,9 @@ You might set the Cloud Role Name and the Cloud Role Instance via [OpenTelemetry ```typescript -const { useAzureMonitor, AzureMonitorOpenTelemetryOptions } = require("@azure/monitor-opentelemetry"); -const { Resource } = require("@opentelemetry/resources"); -const { SemanticResourceAttributes } = require("@opentelemetry/semantic-conventions"); +import { useAzureMonitor, AzureMonitorOpenTelemetryOptions } from "@azure/monitor-opentelemetry"; +import { Resource } from "@opentelemetry/resources"; +import { SemanticResourceAttributes } from "@opentelemetry/semantic-conventions"; // ---------------------------------------- // Setting role name and role instance @@ -224,11 +226,11 @@ Any [attributes](#add-span-attributes) you add to spans are exported as custom p Use a custom processor: ```typescript -const { useAzureMonitor } = require("@azure/monitor-opentelemetry"); -const { trace } = require("@opentelemetry/api"); -const { ReadableSpan, Span, SpanProcessor } = require("@opentelemetry/sdk-trace-base"); -const { NodeTracerProvider } = require("@opentelemetry/sdk-trace-node"); -const { SemanticAttributes } = require("@opentelemetry/semantic-conventions"); +import { useAzureMonitor } from "@azure/monitor-opentelemetry"; +import { ProxyTracerProvider, trace } from "@opentelemetry/api"; +import { ReadableSpan, Span, SpanProcessor } from "@opentelemetry/sdk-trace-base"; +import { NodeTracerProvider } from "@opentelemetry/sdk-trace-node"; +import { SemanticAttributes } from "@opentelemetry/semantic-conventions"; useAzureMonitor(); @@ -247,7 +249,7 @@ class SpanEnrichingProcessor implements SpanProcessor{ } } -const tracerProvider = trace.getTracerProvider().getDelegate(); +const tracerProvider = (trace.getTracerProvider() as ProxyTracerProvider).getDelegate() as NodeTracerProvider; tracerProvider.addSpanProcessor(new SpanEnrichingProcessor()); ``` @@ -260,10 +262,10 @@ You might use the following ways to filter out telemetry before it leaves your a The following example shows how to exclude a certain URL from being tracked by using the [HTTP/HTTPS instrumentation library](https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-http): ```typescript - const { useAzureMonitor, AzureMonitorOpenTelemetryOptions } = require("@azure/monitor-opentelemetry"); - const { IncomingMessage } = require("http"); - const { RequestOptions } = require("https"); - const { HttpInstrumentationConfig }= require("@opentelemetry/instrumentation-http"); + import { useAzureMonitor, AzureMonitorOpenTelemetryOptions } from "@azure/monitor-opentelemetry"; + import { IncomingMessage } from "http"; + import { RequestOptions } from "https"; + import { HttpInstrumentationConfig } from "@opentelemetry/instrumentation-http"; const httpInstrumentationConfig: HttpInstrumentationConfig = { enabled: true, @@ -284,11 +286,10 @@ You might use the following ways to filter out telemetry before it leaves your a }; const options : AzureMonitorOpenTelemetryOptions = { instrumentationOptions: { - http: httpInstrumentationConfig, + http: httpInstrumentationConfig, } }; useAzureMonitor(options); - ``` 1. Use a custom processor. You can use a custom span processor to exclude certain spans from being exported. To mark spans to not be exported, set `TraceFlag` to `DEFAULT`. @@ -297,10 +298,11 @@ Use the add [custom property example](#add-a-custom-property-to-a-trace), but re ```typescript ... import { SpanKind, TraceFlags } from "@opentelemetry/api"; - - class SpanEnrichingProcessor implements SpanProcessor{ + import { ReadableSpan, SpanProcessor } from "@opentelemetry/sdk-trace-base"; + + class SpanEnrichingProcessor implements SpanProcessor { ... - + onEnd(span: ReadableSpan) { if(span.kind == SpanKind.INTERNAL){ span.spanContext().traceFlags = TraceFlags.NONE; @@ -337,27 +339,27 @@ The [OpenTelemetry Specification](https://github.com/open-telemetry/opentelemetr describes the instruments and provides examples of when you might use each one. ```typescript - const { useAzureMonitor } = require("@azure/monitor-opentelemetry"); - const { metrics } = require("@opentelemetry/api"); - - useAzureMonitor(); - const meter = metrics.getMeter("testMeter"); - - let histogram = meter.createHistogram("histogram"); - let counter = meter.createCounter("counter"); - let gauge = meter.createObservableGauge("gauge"); - gauge.addCallback((observableResult: ObservableResult) => { - let randomNumber = Math.floor(Math.random() * 100); - observableResult.observe(randomNumber, {"testKey": "testValue"}); - }); - - histogram.record(1, { "testKey": "testValue" }); - histogram.record(30, { "testKey": "testValue2" }); - histogram.record(100, { "testKey2": "testValue" }); - - counter.add(1, { "testKey": "testValue" }); - counter.add(5, { "testKey2": "testValue" }); - counter.add(3, { "testKey": "testValue2" }); +import { useAzureMonitor } from "@azure/monitor-opentelemetry"; +import { ObservableResult, metrics } from "@opentelemetry/api"; + +useAzureMonitor(); +const meter = metrics.getMeter("testMeter"); + +let histogram = meter.createHistogram("histogram"); +let counter = meter.createCounter("counter"); +let gauge = meter.createObservableGauge("gauge"); +gauge.addCallback((observableResult: ObservableResult) => { + let randomNumber = Math.floor(Math.random() * 100); + observableResult.observe(randomNumber, {"testKey": "testValue"}); +}); + +histogram.record(1, { "testKey": "testValue" }); +histogram.record(30, { "testKey": "testValue2" }); +histogram.record(100, { "testKey2": "testValue" }); + +counter.add(1, { "testKey": "testValue" }); +counter.add(5, { "testKey2": "testValue" }); +counter.add(3, { "testKey": "testValue2" }); ``` @@ -369,8 +371,8 @@ For instance, exceptions caught by your code are *not* ordinarily not reported, and thus draw attention to them in relevant experiences including the failures blade and end-to-end transaction view. ```typescript -const { useAzureMonitor } = require("@azure/monitor-opentelemetry"); -const { trace } = require("@opentelemetry/api"); +import { useAzureMonitor } from "@azure/monitor-opentelemetry"; +import { trace } from "@opentelemetry/api"; useAzureMonitor(); const tracer = trace.getTracer("testMeter"); @@ -391,8 +393,8 @@ catch(error){ Azure Monitor OpenTelemetry uses the OpenTelemetry API Logger for internal logs. To enable it, use the following code: ```typescript -const { useAzureMonitor } = require("@azure/monitor-opentelemetry"); -const { DiagLogLevel } = require("@opentelemetry/api"); +import { useAzureMonitor } from "@azure/monitor-opentelemetry"; +import { DiagLogLevel } from "@opentelemetry/api"; process.env.APPLICATIONINSIGHTS_INSTRUMENTATION_LOGGING_LEVEL = "VERBOSE"; process.env.APPLICATIONINSIGHTS_LOG_DESTINATION = "file"; diff --git a/sdk/monitor/monitor-opentelemetry/package.json b/sdk/monitor/monitor-opentelemetry/package.json index 379de06da1e9..d692745c04f9 100644 --- a/sdk/monitor/monitor-opentelemetry/package.json +++ b/sdk/monitor/monitor-opentelemetry/package.json @@ -13,8 +13,8 @@ "build:node": "tsc -p . && dev-tool run bundle --browser-test=false", "build:test": "tsc -p . && dev-tool run bundle --browser-test=false", "build": "npm run build:node && npm run build:browser && api-extractor run --local", + "clean": "rimraf --glob dist dist-* temp types *.tgz *.log", "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", - "clean": "rimraf --glob dist-esm types dist", "execute:samples": "dev-tool samples run samples-dev", "extract-api": "tsc -p . && api-extractor run --local", "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", @@ -25,13 +25,12 @@ "test": "npm run clean && npm run build:test && npm run unit-test", "test:browser": "npm run unit-test:browser", "unit-test:browser": "echo skipped", - "unit-test:node": "dev-tool run test:node-ts-input --no-test-proxy=true -- \"test/internal/unit/**/*.test.ts\"", - "unit-test:node:debug": "dev-tool run test:node-ts-input --no-test-proxy=true -- --inspect-brk \"test/internal/unit/**/*.test.ts\"", + "unit-test:node": "dev-tool run test:node-tsx-ts --no-test-proxy=true -- --timeout 1200000 \"test/internal/unit/**/*.test.ts\"", + "unit-test:node:debug": "dev-tool run test:node-js-input --no-test-proxy=true -- --inspect-brk --timeout 1200000 \"test/internal/unit/**/*.test.ts\"", "unit-test": "npm run unit-test:node && npm run unit-test:browser", "integration-test:browser": "echo skipped", "integration-test:node": "dev-tool run test:node-ts-input --no-test-proxy=true -- \"test/internal/functional/**/*.test.ts\"", "integration-test": "npm run integration-test:node && npm run integration-test:browser", - "report": "nyc report --reporter=json", "test-opentelemetry-versions": "node test-opentelemetry-versions.js 2>&1", "pack": "npm pack 2>&1" }, @@ -71,18 +70,17 @@ "@types/mocha": "^10.0.0", "@types/node": "^18.0.0", "@types/sinon": "^17.0.0", + "c8": "^8.0.0", + "cross-env": "^7.0.2", "dotenv": "^16.0.0", "eslint": "^8.0.0", "eslint-plugin-node": "^11.1.0", "mocha": "^10.0.0", "nock": "^12.0.3", - "c8": "^8.0.0", - "cross-env": "^7.0.3", "rimraf": "^5.0.5", "sinon": "^17.0.0", - "ts-node": "^10.0.0", - "typescript": "~5.3.3", - "esm": "^3.2.18" + "tsx": "^4.7.1", + "typescript": "~5.3.3" }, "dependencies": { "@azure/core-client": "^1.0.0", @@ -90,29 +88,29 @@ "@azure/core-rest-pipeline": "^1.1.0", "@azure/functions": "^3.2.0", "@azure/logger": "^1.0.0", - "@azure/monitor-opentelemetry-exporter": "1.0.0-beta.20", + "@azure/monitor-opentelemetry-exporter": "1.0.0-beta.21", "@azure/opentelemetry-instrumentation-azure-sdk": "^1.0.0-beta.5", - "@opentelemetry/api": "^1.7.0", - "@opentelemetry/api-logs": "^0.48.0", - "@opentelemetry/core": "^1.21.0", - "@opentelemetry/instrumentation": "^0.48.0", - "@opentelemetry/instrumentation-bunyan": "^0.35.0", - "@opentelemetry/instrumentation-http": "^0.48.0", - "@opentelemetry/instrumentation-mongodb": "^0.39.0", - "@opentelemetry/instrumentation-mysql": "^0.35.0", - "@opentelemetry/instrumentation-pg": "^0.38.0", - "@opentelemetry/instrumentation-redis": "^0.36.0", - "@opentelemetry/instrumentation-redis-4": "^0.36.0", - "@opentelemetry/resources": "^1.21.0", - "@opentelemetry/sdk-logs": "^0.48.0", - "@opentelemetry/sdk-metrics": "^1.21.0", - "@opentelemetry/sdk-node": "^0.48.0", - "@opentelemetry/sdk-trace-base": "^1.21.0", - "@opentelemetry/sdk-trace-node": "^1.21.0", - "@opentelemetry/semantic-conventions": "^1.21.0", - "tslib": "^2.2.0", - "@microsoft/applicationinsights-web-snippet": "1.0.1", - "@opentelemetry/resource-detector-azure": "^0.2.4" + "@microsoft/applicationinsights-web-snippet": "^1.1.2", + "@opentelemetry/api": "^1.8.0", + "@opentelemetry/api-logs": "^0.49.1", + "@opentelemetry/core": "^1.22.0", + "@opentelemetry/instrumentation": "^0.49.1", + "@opentelemetry/instrumentation-bunyan": "^0.36.0", + "@opentelemetry/instrumentation-http": "^0.49.1", + "@opentelemetry/instrumentation-mongodb": "^0.40.0", + "@opentelemetry/instrumentation-mysql": "^0.36.0", + "@opentelemetry/instrumentation-pg": "^0.39.0", + "@opentelemetry/instrumentation-redis": "^0.37.0", + "@opentelemetry/instrumentation-redis-4": "^0.37.0", + "@opentelemetry/resource-detector-azure": "^0.2.4", + "@opentelemetry/resources": "^1.22.0", + "@opentelemetry/sdk-logs": "^0.49.1", + "@opentelemetry/sdk-metrics": "^1.22.0", + "@opentelemetry/sdk-node": "^0.49.1", + "@opentelemetry/sdk-trace-base": "^1.22.0", + "@opentelemetry/sdk-trace-node": "^1.22.0", + "@opentelemetry/semantic-conventions": "^1.22.0", + "tslib": "^2.6.2" }, "sideEffects": false, "keywords": [ diff --git a/sdk/monitor/monitor-opentelemetry/src/index.ts b/sdk/monitor/monitor-opentelemetry/src/index.ts index 1ee9b22f36b8..c9db6c67ce69 100644 --- a/sdk/monitor/monitor-opentelemetry/src/index.ts +++ b/sdk/monitor/monitor-opentelemetry/src/index.ts @@ -65,7 +65,7 @@ export function useAzureMonitor(options?: AzureMonitorOpenTelemetryOptions) { logRecordProcessor: logHandler.getAzureLogRecordProcessor(), resource: config.resource, sampler: traceHandler.getSampler(), - spanProcessor: traceHandler.getAzureMonitorSpanProcessor(), + spanProcessors: [traceHandler.getAzureMonitorSpanProcessor()], }; sdk = new NodeSDK(sdkConfig); setSdkPrefix(); diff --git a/sdk/monitor/monitor-opentelemetry/src/metrics/quickpulse/export/sender.ts b/sdk/monitor/monitor-opentelemetry/src/metrics/quickpulse/export/sender.ts index d89d09a757c5..8a5d13170278 100644 --- a/sdk/monitor/monitor-opentelemetry/src/metrics/quickpulse/export/sender.ts +++ b/sdk/monitor/monitor-opentelemetry/src/metrics/quickpulse/export/sender.ts @@ -1,7 +1,9 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. import url from "url"; -import { redirectPolicyName } from "@azure/core-rest-pipeline"; +import { RestError, redirectPolicyName } from "@azure/core-rest-pipeline"; +import { TokenCredential } from "@azure/core-auth"; +import { diag } from "@opentelemetry/api"; import { PingOptionalParams, PingResponse, @@ -10,7 +12,6 @@ import { QuickpulseClient, QuickpulseClientOptionalParams, } from "../../../generated"; -import { TokenCredential } from "@azure/core-auth"; const applicationInsightsResource = "https://monitor.azure.com//.default"; @@ -56,18 +57,30 @@ export class QuickpulseSender { * Ping Quickpulse service * @internal */ - async ping(optionalParams: PingOptionalParams): Promise { - let response = await this.quickpulseClient.ping(this.instrumentationKey, optionalParams); - return response; + async ping(optionalParams: PingOptionalParams): Promise { + try { + let response = await this.quickpulseClient.ping(this.instrumentationKey, optionalParams); + return response; + } catch (error: any) { + const restError = error as RestError; + diag.info("Failed to ping Quickpulse service", restError.message); + } + return; } /** * Post Quickpulse service * @internal */ - async post(optionalParams: PostOptionalParams): Promise { - let response = await this.quickpulseClient.post(this.instrumentationKey, optionalParams); - return response; + async post(optionalParams: PostOptionalParams): Promise { + try { + let response = await this.quickpulseClient.post(this.instrumentationKey, optionalParams); + return response; + } catch (error: any) { + const restError = error as RestError; + diag.warn("Failed to post Quickpulse service", restError.message); + } + return; } handlePermanentRedirect(location: string | undefined) { diff --git a/sdk/monitor/monitor-opentelemetry/src/metrics/quickpulse/liveMetrics.ts b/sdk/monitor/monitor-opentelemetry/src/metrics/quickpulse/liveMetrics.ts index a47428413e5d..8ac5e9baabc1 100644 --- a/sdk/monitor/monitor-opentelemetry/src/metrics/quickpulse/liveMetrics.ts +++ b/sdk/monitor/monitor-opentelemetry/src/metrics/quickpulse/liveMetrics.ts @@ -13,6 +13,7 @@ import { ObservableGauge, ObservableResult, SpanKind, + SpanStatusCode, ValueType, context, } from "@opentelemetry/api"; @@ -41,7 +42,7 @@ import { import { QuickpulseMetricExporter } from "./export/exporter"; import { QuickpulseSender } from "./export/sender"; import { ConnectionStringParser } from "../../utils/connectionStringParser"; -import { DEFAULT_BREEZE_ENDPOINT, DEFAULT_LIVEMETRICS_ENDPOINT } from "../../types"; +import { DEFAULT_LIVEMETRICS_ENDPOINT } from "../../types"; import { QuickPulseOpenTelemetryMetricNames, QuickpulseExporterOptions } from "./types"; import { hrTimeToMilliseconds, suppressTracing } from "@opentelemetry/core"; @@ -136,11 +137,11 @@ export class LiveMetrics { ); this.pingSender = new QuickpulseSender({ endpointUrl: parsedConnectionString.liveendpoint || DEFAULT_LIVEMETRICS_ENDPOINT, - instrumentationKey: parsedConnectionString.instrumentationkey || DEFAULT_BREEZE_ENDPOINT, + instrumentationKey: parsedConnectionString.instrumentationkey || "", }); let exporterOptions: QuickpulseExporterOptions = { endpointUrl: parsedConnectionString.liveendpoint || DEFAULT_LIVEMETRICS_ENDPOINT, - instrumentationKey: parsedConnectionString.instrumentationkey || DEFAULT_BREEZE_ENDPOINT, + instrumentationKey: parsedConnectionString.instrumentationkey || "", postCallback: this.quickPulseDone.bind(this), getDocumentsFn: this.getDocuments.bind(this), baseMonitoringDataPoint: this.baseMonitoringDataPoint, @@ -366,8 +367,7 @@ export class LiveMetrics { let document: Request | RemoteDependency = getSpanDocument(span); this.addDocument(document); const durationMs = hrTimeToMilliseconds(span.duration); - const statusCode = String(span.attributes["http.status_code"]); - let success = statusCode === "200" ? true : false; + let success = span.status.code !== SpanStatusCode.ERROR; if (span.kind === SpanKind.SERVER || span.kind === SpanKind.CONSUMER) { this.totalRequestCount++; @@ -464,7 +464,7 @@ export class LiveMetrics { } this.lastDependencyDuration = { count: this.totalDependencyCount, - duration: this.requestDuration, + duration: this.dependencyDuration, time: currentTime, }; } diff --git a/sdk/monitor/monitor-opentelemetry/src/metrics/quickpulse/utils.ts b/sdk/monitor/monitor-opentelemetry/src/metrics/quickpulse/utils.ts index 18843813e88d..8f0a2c6a172d 100644 --- a/sdk/monitor/monitor-opentelemetry/src/metrics/quickpulse/utils.ts +++ b/sdk/monitor/monitor-opentelemetry/src/metrics/quickpulse/utils.ts @@ -6,6 +6,7 @@ import { LogRecord } from "@opentelemetry/sdk-logs"; import { DocumentIngress, Exception, + KeyValuePairString, KnownDocumentIngressDocumentType, MetricPoint, MonitoringDataPoint, @@ -15,8 +16,29 @@ import { } from "../../generated"; import { Attributes, SpanKind } from "@opentelemetry/api"; import { - SemanticAttributes, - SemanticResourceAttributes, + SEMATTRS_EXCEPTION_MESSAGE, + SEMATTRS_EXCEPTION_TYPE, + SEMATTRS_HTTP_HOST, + SEMATTRS_HTTP_METHOD, + SEMATTRS_HTTP_SCHEME, + SEMATTRS_HTTP_STATUS_CODE, + SEMATTRS_HTTP_TARGET, + SEMATTRS_HTTP_URL, + SEMATTRS_NET_PEER_IP, + SEMATTRS_NET_PEER_NAME, + SEMATTRS_NET_PEER_PORT, + SEMATTRS_RPC_GRPC_STATUS_CODE, + SEMRESATTRS_K8S_CRONJOB_NAME, + SEMRESATTRS_K8S_DAEMONSET_NAME, + SEMRESATTRS_K8S_DEPLOYMENT_NAME, + SEMRESATTRS_K8S_JOB_NAME, + SEMRESATTRS_K8S_POD_NAME, + SEMRESATTRS_K8S_REPLICASET_NAME, + SEMRESATTRS_K8S_STATEFULSET_NAME, + SEMRESATTRS_SERVICE_INSTANCE_ID, + SEMRESATTRS_SERVICE_NAME, + SEMRESATTRS_SERVICE_NAMESPACE, + SEMRESATTRS_TELEMETRY_SDK_VERSION, } from "@opentelemetry/semantic-conventions"; import { SDK_INFO, hrTimeToMilliseconds } from "@opentelemetry/core"; import { DataPointType, Histogram, ResourceMetrics } from "@opentelemetry/sdk-metrics"; @@ -30,11 +52,12 @@ import { Resource } from "@opentelemetry/resources"; import { QuickPulseMetricNames, QuickPulseOpenTelemetryMetricNames } from "./types"; import { getOsPrefix } from "../../utils/common"; import { getResourceProvider } from "../../utils/common"; +import { LogAttributes } from "@opentelemetry/api-logs"; /** Get the internal SDK version */ export function getSdkVersion(): string { const { nodeVersion } = process.versions; - const opentelemetryVersion = SDK_INFO[SemanticResourceAttributes.TELEMETRY_SDK_VERSION]; + const opentelemetryVersion = SDK_INFO[SEMRESATTRS_TELEMETRY_SDK_VERSION]; const version = `ext${AZURE_MONITOR_OPENTELEMETRY_VERSION}`; const internalSdkVersion = `${process.env[AZURE_MONITOR_PREFIX] ?? ""}node${nodeVersion}:otel${opentelemetryVersion}:${version}`; return internalSdkVersion; @@ -55,8 +78,8 @@ export function setSdkPrefix(): void { export function getCloudRole(resource: Resource): string { let cloudRole = ""; // Service attributes - const serviceName = resource.attributes[SemanticResourceAttributes.SERVICE_NAME]; - const serviceNamespace = resource.attributes[SemanticResourceAttributes.SERVICE_NAMESPACE]; + const serviceName = resource.attributes[SEMRESATTRS_SERVICE_NAME]; + const serviceNamespace = resource.attributes[SEMRESATTRS_SERVICE_NAMESPACE]; if (serviceName) { // Custom Service name provided by customer is highest precedence if (!String(serviceName).startsWith("unknown_service")) { @@ -75,31 +98,27 @@ export function getCloudRole(resource: Resource): string { } } // Kubernetes attributes should take precedence - const kubernetesDeploymentName = - resource.attributes[SemanticResourceAttributes.K8S_DEPLOYMENT_NAME]; + const kubernetesDeploymentName = resource.attributes[SEMRESATTRS_K8S_DEPLOYMENT_NAME]; if (kubernetesDeploymentName) { return String(kubernetesDeploymentName); } - const kuberneteReplicasetName = - resource.attributes[SemanticResourceAttributes.K8S_REPLICASET_NAME]; + const kuberneteReplicasetName = resource.attributes[SEMRESATTRS_K8S_REPLICASET_NAME]; if (kuberneteReplicasetName) { return String(kuberneteReplicasetName); } - const kubernetesStatefulSetName = - resource.attributes[SemanticResourceAttributes.K8S_STATEFULSET_NAME]; + const kubernetesStatefulSetName = resource.attributes[SEMRESATTRS_K8S_STATEFULSET_NAME]; if (kubernetesStatefulSetName) { return String(kubernetesStatefulSetName); } - const kubernetesJobName = resource.attributes[SemanticResourceAttributes.K8S_JOB_NAME]; + const kubernetesJobName = resource.attributes[SEMRESATTRS_K8S_JOB_NAME]; if (kubernetesJobName) { return String(kubernetesJobName); } - const kubernetesCronjobName = resource.attributes[SemanticResourceAttributes.K8S_CRONJOB_NAME]; + const kubernetesCronjobName = resource.attributes[SEMRESATTRS_K8S_CRONJOB_NAME]; if (kubernetesCronjobName) { return String(kubernetesCronjobName); } - const kubernetesDaemonsetName = - resource.attributes[SemanticResourceAttributes.K8S_DAEMONSET_NAME]; + const kubernetesDaemonsetName = resource.attributes[SEMRESATTRS_K8S_DAEMONSET_NAME]; if (kubernetesDaemonsetName) { return String(kubernetesDaemonsetName); } @@ -108,12 +127,12 @@ export function getCloudRole(resource: Resource): string { export function getCloudRoleInstance(resource: Resource): string { // Kubernetes attributes should take precedence - const kubernetesPodName = resource.attributes[SemanticResourceAttributes.K8S_POD_NAME]; + const kubernetesPodName = resource.attributes[SEMRESATTRS_K8S_POD_NAME]; if (kubernetesPodName) { return String(kubernetesPodName); } // Service attributes - const serviceInstanceId = resource.attributes[SemanticResourceAttributes.SERVICE_INSTANCE_ID]; + const serviceInstanceId = resource.attributes[SEMRESATTRS_SERVICE_INSTANCE_ID]; if (serviceInstanceId) { return String(serviceInstanceId); } @@ -188,18 +207,23 @@ export function resourceMetricsToQuickpulseDataPoint( return [quickpulseDataPoint]; } +function getIso8601Duration(milliseconds: number) { + const seconds = milliseconds / 1000; + return `PT${seconds}S`; +} + export function getSpanDocument(span: ReadableSpan): Request | RemoteDependency { let document: Request | RemoteDependency = { documentType: KnownDocumentIngressDocumentType.Request, }; - const httpMethod = span.attributes[SemanticAttributes.HTTP_METHOD]; - const grpcStatusCode = span.attributes[SemanticAttributes.RPC_GRPC_STATUS_CODE]; + const httpMethod = span.attributes[SEMATTRS_HTTP_METHOD]; + const grpcStatusCode = span.attributes[SEMATTRS_RPC_GRPC_STATUS_CODE]; let url = ""; let code = ""; if (span.kind === SpanKind.SERVER || span.kind === SpanKind.CONSUMER) { if (httpMethod) { url = getUrl(span.attributes); - const httpStatusCode = span.attributes[SemanticAttributes.HTTP_STATUS_CODE]; + const httpStatusCode = span.attributes[SEMATTRS_HTTP_STATUS_CODE]; if (httpStatusCode) { code = String(httpStatusCode); } @@ -212,11 +236,11 @@ export function getSpanDocument(span: ReadableSpan): Request | RemoteDependency name: span.name, url: url, responseCode: code, - duration: hrTimeToMilliseconds(span.duration).toString(), + duration: getIso8601Duration(hrTimeToMilliseconds(span.duration)), }; } else { url = getUrl(span.attributes); - const httpStatusCode = span.attributes[SemanticAttributes.HTTP_STATUS_CODE]; + const httpStatusCode = span.attributes[SEMATTRS_HTTP_STATUS_CODE]; if (httpStatusCode) { code = String(httpStatusCode); } @@ -226,9 +250,10 @@ export function getSpanDocument(span: ReadableSpan): Request | RemoteDependency name: span.name, commandName: url, resultCode: code, - duration: hrTimeToMilliseconds(span.duration).toString(), + duration: getIso8601Duration(hrTimeToMilliseconds(span.duration)), }; } + document.properties = createPropertiesFromAttributes(span.attributes); return document; } @@ -236,9 +261,9 @@ export function getLogDocument(logRecord: LogRecord): Trace | Exception { let document: Trace | Exception = { documentType: KnownDocumentIngressDocumentType.Exception, }; - const exceptionType = String(logRecord.attributes[SemanticAttributes.EXCEPTION_TYPE]); + const exceptionType = String(logRecord.attributes[SEMATTRS_EXCEPTION_TYPE]); if (exceptionType) { - const exceptionMessage = String(logRecord.attributes[SemanticAttributes.EXCEPTION_MESSAGE]); + const exceptionMessage = String(logRecord.attributes[SEMATTRS_EXCEPTION_MESSAGE]); document = { documentType: KnownDocumentIngressDocumentType.Exception, exceptionType: exceptionType, @@ -250,33 +275,62 @@ export function getLogDocument(logRecord: LogRecord): Trace | Exception { message: String(logRecord.body), }; } + document.properties = createPropertiesFromAttributes(logRecord.attributes); return document; } +function createPropertiesFromAttributes( + attributes?: Attributes | LogAttributes, +): KeyValuePairString[] { + const properties: KeyValuePairString[] = []; + if (attributes) { + for (const key of Object.keys(attributes)) { + // Avoid duplication ignoring fields already mapped. + if ( + !( + key.startsWith("_MS.") || + key === SEMATTRS_NET_PEER_IP || + key === SEMATTRS_NET_PEER_NAME || + key === SEMATTRS_HTTP_METHOD || + key === SEMATTRS_HTTP_URL || + key === SEMATTRS_HTTP_STATUS_CODE || + key === SEMATTRS_HTTP_HOST || + key === SEMATTRS_HTTP_URL || + key === SEMATTRS_EXCEPTION_TYPE || + key === SEMATTRS_EXCEPTION_MESSAGE + ) + ) { + properties.push({ key: key, value: String(attributes[key]) }); + } + } + } + return properties; +} + function getUrl(attributes: Attributes): string { if (!attributes) { return ""; } - const httpMethod = attributes[SemanticAttributes.HTTP_METHOD]; + const httpMethod = attributes[SEMATTRS_HTTP_METHOD]; if (httpMethod) { - const httpUrl = attributes[SemanticAttributes.HTTP_URL]; + const httpUrl = attributes[SEMATTRS_HTTP_URL]; if (httpUrl) { return String(httpUrl); } else { - const httpScheme = attributes[SemanticAttributes.HTTP_SCHEME]; - const httpTarget = attributes[SemanticAttributes.HTTP_TARGET]; + const httpScheme = attributes[SEMATTRS_HTTP_SCHEME]; + const httpTarget = attributes[SEMATTRS_HTTP_TARGET]; if (httpScheme && httpTarget) { - const httpHost = attributes[SemanticAttributes.HTTP_HOST]; + const httpHost = attributes[SEMATTRS_HTTP_HOST]; if (httpHost) { return `${httpScheme}://${httpHost}${httpTarget}`; } else { - const netPeerPort = attributes[SemanticAttributes.NET_PEER_PORT]; + const netPeerPort = attributes[SEMATTRS_NET_PEER_PORT]; if (netPeerPort) { - const netPeerName = attributes[SemanticAttributes.NET_PEER_NAME]; + const netPeerName = attributes[SEMATTRS_NET_PEER_NAME]; if (netPeerName) { return `${httpScheme}://${netPeerName}:${netPeerPort}${httpTarget}`; } else { - const netPeerIp = attributes[SemanticAttributes.NET_PEER_IP]; + const netPeerIp = attributes[SEMATTRS_NET_PEER_IP]; if (netPeerIp) { return `${httpScheme}://${netPeerIp}:${netPeerPort}${httpTarget}`; } diff --git a/sdk/monitor/monitor-opentelemetry/src/metrics/standardMetrics.ts b/sdk/monitor/monitor-opentelemetry/src/metrics/standardMetrics.ts index a967486b9661..10bbabde4881 100644 --- a/sdk/monitor/monitor-opentelemetry/src/metrics/standardMetrics.ts +++ b/sdk/monitor/monitor-opentelemetry/src/metrics/standardMetrics.ts @@ -21,6 +21,7 @@ import { isSyntheticLoad, isTraceTelemetry, } from "./utils"; +import { StandardMetricIds } from "./types"; /** * Azure Monitor Standard Metrics @@ -45,35 +46,35 @@ export class StandardMetrics { */ constructor(config: InternalConfig, options?: { collectionInterval: number }) { this._config = config; - const meterProviderConfig: MeterProviderOptions = { - resource: this._config.resource, - }; - this._meterProvider = new MeterProvider(meterProviderConfig); this._azureExporter = new AzureMonitorMetricExporter(this._config.azureMonitorExporterOptions); const metricReaderOptions: PeriodicExportingMetricReaderOptions = { exporter: this._azureExporter as any, exportIntervalMillis: options?.collectionInterval || this._collectionInterval, }; this._metricReader = new PeriodicExportingMetricReader(metricReaderOptions); - this._meterProvider.addMetricReader(this._metricReader); + const meterProviderConfig: MeterProviderOptions = { + resource: this._config.resource, + readers: [this._metricReader], + }; + this._meterProvider = new MeterProvider(meterProviderConfig); this._meter = this._meterProvider.getMeter("AzureMonitorStandardMetricsMeter"); this._incomingRequestDurationHistogram = this._meter.createHistogram( - "azureMonitor.http.requestDuration", + StandardMetricIds.REQUEST_DURATION, { valueType: ValueType.DOUBLE, }, ); this._outgoingRequestDurationHistogram = this._meter.createHistogram( - "azureMonitor.http.dependencyDuration", + StandardMetricIds.DEPENDENCIES_DURATION, { valueType: ValueType.DOUBLE, }, ); - this._exceptionsCounter = this._meter.createCounter("azureMonitor.exceptionCount", { + this._exceptionsCounter = this._meter.createCounter(StandardMetricIds.EXCEPTIONS_COUNT, { valueType: ValueType.INT, }); - this._tracesCounter = this._meter.createCounter("azureMonitor.traceCount", { + this._tracesCounter = this._meter.createCounter(StandardMetricIds.TRACES_COUNT, { valueType: ValueType.INT, }); } diff --git a/sdk/monitor/monitor-opentelemetry/src/metrics/types.ts b/sdk/monitor/monitor-opentelemetry/src/metrics/types.ts index bf531a1e5826..ac1875a94618 100644 --- a/sdk/monitor/monitor-opentelemetry/src/metrics/types.ts +++ b/sdk/monitor/monitor-opentelemetry/src/metrics/types.ts @@ -27,13 +27,6 @@ export interface MetricDependencyDimensions extends StandardMetricBaseDimensions operationSynthetic?: string; } -export enum StandardMetricNames { - HTTP_REQUEST_DURATION = "azureMonitor.http.requestDuration", - HTTP_DEPENDENCY_DURATION = "azureMonitor.http.dependencyDuration", - EXCEPTION_COUNT = "azureMonitor.exceptionCount", - TRACE_COUNT = "azureMonitor.traceCount", -} - export enum PerformanceCounterMetricNames { PRIVATE_BYTES = "\\Process(??APP_WIN32_PROC??)\\Private Bytes", AVAILABLE_BYTES = "\\Memory\\Available Bytes", @@ -71,3 +64,10 @@ export const StandardMetricPropertyNames: { [key in MetricDimensionTypeKeys]: st metricId: "_MS.MetricId", IsAutocollected: "_MS.IsAutocollected", }; + +export enum StandardMetricIds { + REQUEST_DURATION = "requests/duration", + DEPENDENCIES_DURATION = "dependencies/duration", + EXCEPTIONS_COUNT = "exceptions/count", + TRACES_COUNT = "traces/count", +} diff --git a/sdk/monitor/monitor-opentelemetry/src/metrics/utils.ts b/sdk/monitor/monitor-opentelemetry/src/metrics/utils.ts index b5c6ebf6bd75..eeebd84c87cd 100644 --- a/sdk/monitor/monitor-opentelemetry/src/metrics/utils.ts +++ b/sdk/monitor/monitor-opentelemetry/src/metrics/utils.ts @@ -12,6 +12,7 @@ import { MetricDimensionTypeKeys, MetricRequestDimensions, StandardMetricBaseDimensions, + StandardMetricIds, StandardMetricPropertyNames, } from "./types"; import { LogRecord } from "@opentelemetry/sdk-logs"; @@ -19,7 +20,7 @@ import { Resource } from "@opentelemetry/resources"; export function getRequestDimensions(span: ReadableSpan): Attributes { const dimensions: MetricRequestDimensions = getBaseDimensions(span.resource); - dimensions.metricId = "requests/duration"; + dimensions.metricId = StandardMetricIds.REQUEST_DURATION; const statusCode = String(span.attributes["http.status_code"]); dimensions.requestResultCode = statusCode; dimensions.requestSuccess = statusCode === "200" ? "True" : "False"; @@ -31,7 +32,7 @@ export function getRequestDimensions(span: ReadableSpan): Attributes { export function getDependencyDimensions(span: ReadableSpan): Attributes { const dimensions: MetricDependencyDimensions = getBaseDimensions(span.resource); - dimensions.metricId = "dependencies/duration"; + dimensions.metricId = StandardMetricIds.DEPENDENCIES_DURATION; const statusCode = String(span.attributes["http.status_code"]); dimensions.dependencyTarget = getDependencyTarget(span.attributes); dimensions.dependencyResultCode = statusCode; @@ -45,13 +46,13 @@ export function getDependencyDimensions(span: ReadableSpan): Attributes { export function getExceptionDimensions(resource: Resource): Attributes { const dimensions: StandardMetricBaseDimensions = getBaseDimensions(resource); - dimensions.metricId = "exceptions/count"; + dimensions.metricId = StandardMetricIds.EXCEPTIONS_COUNT; return dimensions as Attributes; } export function getTraceDimensions(resource: Resource): Attributes { const dimensions: StandardMetricBaseDimensions = getBaseDimensions(resource); - dimensions.metricId = "traces/count"; + dimensions.metricId = StandardMetricIds.TRACES_COUNT; return dimensions as Attributes; } diff --git a/sdk/monitor/monitor-opentelemetry/src/types.ts b/sdk/monitor/monitor-opentelemetry/src/types.ts index 8a23dd8503ba..cc51e09f751e 100644 --- a/sdk/monitor/monitor-opentelemetry/src/types.ts +++ b/sdk/monitor/monitor-opentelemetry/src/types.ts @@ -90,7 +90,7 @@ export const DEFAULT_BREEZE_ENDPOINT = "https://dc.services.visualstudio.com"; * Default Live Metrics endpoint. * @internal */ -export const DEFAULT_LIVEMETRICS_ENDPOINT = "https://rt.services.visualstudio.com"; +export const DEFAULT_LIVEMETRICS_ENDPOINT = "https://global.livediagnostics.monitor.azure.com"; export enum StatsbeatFeature { NONE = 0, diff --git a/sdk/monitor/monitor-opentelemetry/test/internal/unit/browserSdkLoader/browserSdkLoader.test.ts b/sdk/monitor/monitor-opentelemetry/test/internal/unit/browserSdkLoader/browserSdkLoader.test.ts index d752ee74dae1..78ccb761d7b0 100644 --- a/sdk/monitor/monitor-opentelemetry/test/internal/unit/browserSdkLoader/browserSdkLoader.test.ts +++ b/sdk/monitor/monitor-opentelemetry/test/internal/unit/browserSdkLoader/browserSdkLoader.test.ts @@ -8,7 +8,7 @@ import { shutdownAzureMonitor, useAzureMonitor, } from "../../../../src/index"; -import { isLinux, isWindows } from "../../../../src/utils/common"; +import { getOsPrefix } from "../../../../src/utils/common"; import { metrics, trace } from "@opentelemetry/api"; import { logs } from "@opentelemetry/api-logs"; @@ -117,9 +117,15 @@ describe("#BrowserSdkLoader", () => { let validHtml = ""; assert.equal(browserSdkLoader.ValidateInjection(response, validHtml), true); let newHtml = browserSdkLoader.InjectSdkLoader(response, validHtml).toString(); - assert.ok(newHtml.indexOf("https://js.monitor.azure.com/scripts/b/ai.2.min.js") >= 0); - assert.ok(newHtml.indexOf("") == 0); - assert.ok(newHtml.indexOf('instrumentationKey: "1aa11111-bbbb-1ccc-8ddd-eeeeffff3333"') >= 0); + assert.ok( + newHtml.indexOf("https://js.monitor.azure.com/scripts/b/ai.3.gbl.min.js") >= 0, + "src path does not exist in the snippet", + ); + assert.ok(newHtml.indexOf("") == 0, "No snippet content was populated"); + assert.ok( + newHtml.indexOf("InstrumentationKey=1aa11111-bbbb-1ccc-8ddd-eeeeffff3333") >= 0, + "Instrumentation Key is not set correctly", + ); }); it("injection of browser SDK should overwrite content length ", () => { @@ -184,16 +190,16 @@ describe("#BrowserSdkLoader", () => { let validHtml = ""; assert.equal(browserSdkLoader.ValidateInjection(response, validHtml), true); let newHtml = browserSdkLoader.InjectSdkLoader(response, validHtml); - let osType: string = "u"; - if (isWindows()) { - osType = "w"; - } else if (isLinux()) { - osType = "l"; - } - let expectedStr = ` instrumentationKey: "1aa11111-bbbb-1ccc-8ddd-eeeeffff3333",\r\n disableIkeyDeprecationMessage: true,\r\n sdkExtension: "u${osType}d_n_`; - assert.ok(newHtml.indexOf("https://js.monitor.azure.com/scripts/b/ai.2.min.js") >= 0); - assert.ok(newHtml.indexOf("") == 0); - assert.ok(newHtml.indexOf(expectedStr) >= 0, expectedStr); + const expectedSdkVersion = `sdkExtension: "u${getOsPrefix()}d_n_"`; + assert.ok( + newHtml.indexOf("https://js.monitor.azure.com/scripts/b/ai.3.gbl.min.js") >= 0, + "src path does not exist in the snippet", + ); + assert.ok(newHtml.indexOf("") == 0, "No snippet content was populated"); + assert.ok( + newHtml.indexOf(expectedSdkVersion) >= 0, + `Expected string does not exist in the snippet. Expected: ${expectedSdkVersion} in ${newHtml}`, + ); }); it("browser SDK loader injection to buffer", () => { @@ -227,9 +233,15 @@ describe("#BrowserSdkLoader", () => { let validBuffer = Buffer.from(validHtml); assert.equal(browserSdkLoader.ValidateInjection(response, validBuffer), true); let newHtml = browserSdkLoader.InjectSdkLoader(response, validBuffer).toString(); - assert.ok(newHtml.indexOf("https://js.monitor.azure.com/scripts/b/ai.2.min.js") >= 0); - assert.ok(newHtml.indexOf("") == 0); - assert.ok(newHtml.indexOf('instrumentationKey: "1aa11111-bbbb-1ccc-8ddd-eeeeffff3333"') >= 0); + assert.ok( + newHtml.indexOf("https://js.monitor.azure.com/scripts/b/ai.3.gbl.min.js") >= 0, + "src path does not exist in the snippet", + ); + assert.ok(newHtml.indexOf("") == 0, "No snippet content was populated"); + assert.ok( + newHtml.indexOf("InstrumentationKey=1aa11111-bbbb-1ccc-8ddd-eeeeffff3333") >= 0, + "Instrumentation Key is not set correctly", + ); }); it("injection of browser SDK should overwrite content length using buffer ", () => { @@ -304,9 +316,15 @@ describe("#BrowserSdkLoader", () => { let validHtml = ""; assert.equal(browserSdkLoader.ValidateInjection(response, validHtml), true); let newHtml = browserSdkLoader.InjectSdkLoader(response, validHtml).toString(); - assert.ok(newHtml.indexOf("https://js.monitor.azure.com/scripts/b/ai.2.min.js") >= 0, newHtml); - assert.ok(newHtml.indexOf("") == 0); - assert.ok(newHtml.indexOf('instrumentationKey: "1aa11111-bbbb-1ccc-8ddd-eeeeffff3333"') >= 0); + assert.ok( + newHtml.indexOf("https://js.monitor.azure.com/scripts/b/ai.3.gbl.min.js") >= 0, + "src path does not exist in the snippet", + ); + assert.ok(newHtml.indexOf("") == 0, "No snippet content was populated"); + assert.ok( + newHtml.indexOf("InstrumentationKey=1aa11111-bbbb-1ccc-8ddd-eeeeffff3333") >= 0, + "Instrumentation Key is not set correctly", + ); }); it("injection should throw errors when ikey from config is not valid", () => { diff --git a/sdk/monitor/monitor-opentelemetry/test/internal/unit/metrics/liveMetrics.test.ts b/sdk/monitor/monitor-opentelemetry/test/internal/unit/metrics/liveMetrics.test.ts index dfab26d05a41..1e715b9e0ea3 100644 --- a/sdk/monitor/monitor-opentelemetry/test/internal/unit/metrics/liveMetrics.test.ts +++ b/sdk/monitor/monitor-opentelemetry/test/internal/unit/metrics/liveMetrics.test.ts @@ -1,14 +1,14 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. - import * as assert from "assert"; import * as sinon from "sinon"; -import { SpanKind } from "@opentelemetry/api"; +import { SpanKind, SpanStatusCode } from "@opentelemetry/api"; import { ExportResultCode, millisToHrTime } from "@opentelemetry/core"; import { LoggerProvider, LogRecord } from "@opentelemetry/sdk-logs"; import { LiveMetrics } from "../../../../src/metrics/quickpulse/liveMetrics"; import { InternalConfig } from "../../../../src/shared"; import { QuickPulseOpenTelemetryMetricNames } from "../../../../src/metrics/quickpulse/types"; +import { Exception, RemoteDependency, Request } from "../../../../src/generated"; describe("#LiveMetrics", () => { let exportStub: sinon.SinonStub; @@ -56,15 +56,21 @@ describe("#LiveMetrics", () => { ); autoCollect.recordLog(traceLog as any); traceLog.attributes["exception.type"] = "testExceptionType"; + traceLog.attributes["exception.message"] = "testExceptionMessage"; for (let i = 0; i < 5; i++) { autoCollect.recordLog(traceLog as any); } - let clientSpan: any = { kind: SpanKind.CLIENT, duration: millisToHrTime(12345678), attributes: { "http.status_code": 200, + "http.method": "GET", + "http.url": "http://test.com", + customAttribute: "test", + }, + status: { + code: SpanStatusCode.OK, }, }; autoCollect.recordSpan(clientSpan); @@ -74,6 +80,12 @@ describe("#LiveMetrics", () => { duration: millisToHrTime(98765432), attributes: { "http.status_code": 200, + "http.method": "GET", + "http.url": "http://test.com", + customAttribute: "test", + }, + status: { + code: SpanStatusCode.OK, }, }; for (let i = 0; i < 2; i++) { @@ -83,12 +95,14 @@ describe("#LiveMetrics", () => { // Different dimensions clientSpan.attributes["http.status_code"] = "400"; clientSpan.duration = millisToHrTime(900000); + clientSpan.status.code = SpanStatusCode.ERROR; for (let i = 0; i < 3; i++) { autoCollect.recordSpan(clientSpan); } serverSpan.duration = millisToHrTime(100000); serverSpan.attributes["http.status_code"] = "400"; + serverSpan.status.code = SpanStatusCode.ERROR; for (let i = 0; i < 4; i++) { autoCollect.recordSpan(serverSpan); } @@ -162,13 +176,56 @@ describe("#LiveMetrics", () => { QuickPulseOpenTelemetryMetricNames.PROCESSOR_TIME, ); assert.strictEqual(metrics[7].dataPoints.length, 1, "dataPoints count"); - assert.ok(metrics[7].dataPoints[0].value > 0, "PROCESSOR_TIME dataPoint value"); + assert.ok(metrics[7].dataPoints[0].value >= 0, "PROCESSOR_TIME dataPoint value"); assert.strictEqual( metrics[8].descriptor.name, QuickPulseOpenTelemetryMetricNames.EXCEPTION_RATE, ); assert.strictEqual(metrics[8].dataPoints.length, 1, "dataPoints count"); assert.ok(metrics[5].dataPoints[0].value > 0, "EXCEPTION_RATE value"); + + // Validate documents + const documents = autoCollect.getDocuments(); + assert.strictEqual(documents.length, 16, "documents count"); + // assert.strictEqual(JSON.stringify(documents), "documents count"); + assert.strictEqual(documents[0].documentType, "Exception"); + assert.strictEqual((documents[0] as Exception).exceptionType, "undefined"); + assert.strictEqual((documents[0] as Exception).exceptionMessage, "undefined"); + assert.strictEqual(documents[0].properties?.length, 0); + for (let i = 1; i < 5; i++) { + assert.strictEqual(documents[i].documentType, "Exception"); + assert.strictEqual((documents[i] as Exception).exceptionType, "testExceptionType"); + assert.strictEqual((documents[i] as Exception).exceptionMessage, "testExceptionMessage"); + assert.strictEqual(documents[i].properties?.length, 0); + } + assert.strictEqual(documents[6].documentType, "RemoteDependency"); + assert.strictEqual((documents[6] as RemoteDependency).commandName, "http://test.com"); + assert.strictEqual((documents[6] as RemoteDependency).resultCode, "200"); + assert.strictEqual((documents[6] as RemoteDependency).duration, "PT12345.678S"); + assert.equal((documents[6].properties as any)[0].key, "customAttribute"); + assert.equal((documents[6].properties as any)[0].value, "test"); + for (let i = 7; i < 9; i++) { + assert.strictEqual((documents[i] as Request).url, "http://test.com"); + assert.strictEqual((documents[i] as Request).responseCode, "200"); + assert.strictEqual((documents[i] as Request).duration, "PT98765.432S"); + assert.equal((documents[i].properties as any)[0].key, "customAttribute"); + assert.equal((documents[i].properties as any)[0].value, "test"); + } + for (let i = 9; i < 12; i++) { + assert.strictEqual(documents[i].documentType, "RemoteDependency"); + assert.strictEqual((documents[i] as RemoteDependency).commandName, "http://test.com"); + assert.strictEqual((documents[i] as RemoteDependency).resultCode, "400"); + assert.strictEqual((documents[i] as RemoteDependency).duration, "PT900S"); + assert.equal((documents[i].properties as any)[0].key, "customAttribute"); + assert.equal((documents[i].properties as any)[0].value, "test"); + } + for (let i = 12; i < 15; i++) { + assert.strictEqual((documents[i] as Request).url, "http://test.com"); + assert.strictEqual((documents[i] as Request).responseCode, "400"); + assert.strictEqual((documents[i] as Request).duration, "PT100S"); + assert.equal((documents[i].properties as any)[0].key, "customAttribute"); + assert.equal((documents[i].properties as any)[0].value, "test"); + } }); it("should retrieve meter provider", () => { diff --git a/sdk/monitor/monitor-opentelemetry/test/internal/unit/metrics/standardMetrics.test.ts b/sdk/monitor/monitor-opentelemetry/test/internal/unit/metrics/standardMetrics.test.ts index f225a8a5ed65..2c03d458c47b 100644 --- a/sdk/monitor/monitor-opentelemetry/test/internal/unit/metrics/standardMetrics.test.ts +++ b/sdk/monitor/monitor-opentelemetry/test/internal/unit/metrics/standardMetrics.test.ts @@ -104,10 +104,10 @@ describe("#StandardMetricsHandler", () => { assert.strictEqual(scopeMetrics.length, 1, "scopeMetrics count"); const metrics = scopeMetrics[0].metrics; assert.strictEqual(metrics.length, 4, "metrics count"); - assert.strictEqual(metrics[0].descriptor.name, "azureMonitor.http.requestDuration"); - assert.strictEqual(metrics[1].descriptor.name, "azureMonitor.http.dependencyDuration"); - assert.strictEqual(metrics[2].descriptor.name, "azureMonitor.exceptionCount"); - assert.strictEqual(metrics[3].descriptor.name, "azureMonitor.traceCount"); + assert.strictEqual(metrics[0].descriptor.name, "requests/duration"); + assert.strictEqual(metrics[1].descriptor.name, "dependencies/duration"); + assert.strictEqual(metrics[2].descriptor.name, "exceptions/count"); + assert.strictEqual(metrics[3].descriptor.name, "traces/count"); // Requests assert.strictEqual(metrics[0].dataPoints.length, 2, "dataPoints count"); @@ -211,7 +211,7 @@ describe("#StandardMetricsHandler", () => { assert.strictEqual(scopeMetrics.length, 1, "scopeMetrics count"); const metrics = scopeMetrics[0].metrics; assert.strictEqual(metrics.length, 1, "metrics count"); - assert.strictEqual(metrics[0].descriptor.name, "azureMonitor.http.requestDuration"); + assert.strictEqual(metrics[0].descriptor.name, "requests/duration"); assert.equal(metrics[0].dataPoints[0].attributes["operation/synthetic"], "True"); }); diff --git a/sdk/monitor/monitor-opentelemetry/test/internal/unit/shared/config.test.ts b/sdk/monitor/monitor-opentelemetry/test/internal/unit/shared/config.test.ts index 4b2e68dfd7ba..140878af4487 100644 --- a/sdk/monitor/monitor-opentelemetry/test/internal/unit/shared/config.test.ts +++ b/sdk/monitor/monitor-opentelemetry/test/internal/unit/shared/config.test.ts @@ -645,5 +645,5 @@ const testAttributes: any = { "service.name": "unknown_service:node", "telemetry.sdk.language": "nodejs", "telemetry.sdk.name": "opentelemetry", - "telemetry.sdk.version": "1.21.0", + "telemetry.sdk.version": "1.22.0", }; diff --git a/sdk/monitor/monitor-opentelemetry/tests.yml b/sdk/monitor/monitor-opentelemetry/tests.yml index 5aa87220246c..a64fb948c24e 100644 --- a/sdk/monitor/monitor-opentelemetry/tests.yml +++ b/sdk/monitor/monitor-opentelemetry/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/monitor-opentelemetry" ServiceDirectory: monitor diff --git a/sdk/monitor/monitor-query/package.json b/sdk/monitor/monitor-query/package.json index 03990ec685bd..5fed2553bcf6 100644 --- a/sdk/monitor/monitor-query/package.json +++ b/sdk/monitor/monitor-query/package.json @@ -59,7 +59,7 @@ "test:node": "npm run build:test && npm run integration-test:node", "test": "npm run build:test && npm run integration-test", "unit-test:browser": "dev-tool run test:browser", - "unit-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/**/*.spec.ts' 'test/**/**/*.spec.ts'", + "unit-test:node": "dev-tool run test:node-tsx-ts -- --timeout 1200000 'test/**/*.spec.ts' 'test/**/**/*.spec.ts'", "unit-test": "npm run build:test && npm run unit-test:node && npm run unit-test:browser" }, "files": [ @@ -94,30 +94,31 @@ "@azure/core-paging": "^1.1.1", "@azure/core-util": "^1.3.2", "@azure/logger": "^1.0.0", - "tslib": "^2.2.0" + "tslib": "^2.6.2" }, "devDependencies": { "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/abort-controller": "^1.0.0", "@azure/identity": "^4.0.1", - "@azure/monitor-opentelemetry-exporter": "1.0.0-beta.20", + "@azure/monitor-opentelemetry-exporter": "1.0.0-beta.21", "@azure/test-utils": "^1.0.0", + "@azure-tools/test-credential": "^1.0.0", "@azure-tools/test-recorder": "^3.0.0", "@microsoft/api-extractor": "^7.31.1", - "@opentelemetry/api": "^1.7.0", - "@opentelemetry/sdk-trace-node": "^1.21.0", - "@opentelemetry/sdk-trace-base": "^1.21.0", + "@opentelemetry/api": "^1.8.0", + "@opentelemetry/sdk-trace-node": "^1.22.0", + "@opentelemetry/sdk-trace-base": "^1.22.0", "@types/chai-as-promised": "^7.1.0", "@types/chai": "^4.1.6", "@types/mocha": "^10.0.0", "@types/node": "^18.0.0", + "c8": "^8.0.0", "chai-as-promised": "^7.1.1", "chai": "^4.2.0", "cross-env": "^7.0.2", "dotenv": "^16.0.0", "eslint": "^8.0.0", - "esm": "^3.2.18", "inherits": "^2.0.3", "karma-chrome-launcher": "^3.0.0", "karma-coverage": "^2.0.0", @@ -128,12 +129,10 @@ "karma-mocha": "^2.0.1", "karma": "^6.2.0", "mocha": "^10.0.0", - "c8": "^8.0.0", "rimraf": "^5.0.5", "source-map-support": "^0.5.9", - "typescript": "~5.3.3", - "@azure-tools/test-credential": "^1.0.0", - "ts-node": "^10.0.0" + "tsx": "^4.7.1", + "typescript": "~5.3.3" }, "//sampleConfiguration": { "skipFolder": false, diff --git a/sdk/monitor/monitor-query/tests.yml b/sdk/monitor/monitor-query/tests.yml index d841a637dbeb..57d39753327a 100644 --- a/sdk/monitor/monitor-query/tests.yml +++ b/sdk/monitor/monitor-query/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/monitor-query" ServiceDirectory: monitor diff --git a/sdk/monitor/perf-tests/monitor-opentelemetry/package.json b/sdk/monitor/perf-tests/monitor-opentelemetry/package.json index a55b6da4ef09..ff64778869d3 100644 --- a/sdk/monitor/perf-tests/monitor-opentelemetry/package.json +++ b/sdk/monitor/perf-tests/monitor-opentelemetry/package.json @@ -4,27 +4,25 @@ "version": "1.0.0", "description": "", "main": "", + "type": "module", "keywords": [], "author": "", "license": "ISC", "dependencies": { + "@azure/monitor-opentelemetry": "^1.3.0", "@azure/test-utils-perf": "^1.0.0", "dotenv": "^16.0.0", - "uuid": "^8.3.0", - "@opentelemetry/api": "^1.7.0", - "@azure/monitor-opentelemetry": "^1.3.0", - "@opentelemetry/api-logs": "^0.48.0", - "@opentelemetry/sdk-logs": "^0.48.0" + "@opentelemetry/api": "^1.8.0", + "@opentelemetry/api-logs": "^0.49.1", + "@opentelemetry/sdk-logs": "^0.49.1", + "tslib": "^2.6.2" }, "devDependencies": { - "@types/uuid": "^8.0.0", + "@azure/dev-tool": "^1.0.0", "@types/node": "^18.0.0", "eslint": "^8.0.0", "rimraf": "^5.0.5", - "tslib": "^2.2.0", - "ts-node": "^10.0.0", - "typescript": "~5.3.3", - "@azure/dev-tool": "^1.0.0" + "typescript": "~5.3.3" }, "private": true, "scripts": { diff --git a/sdk/monitor/perf-tests/monitor-opentelemetry/test/index.spec.ts b/sdk/monitor/perf-tests/monitor-opentelemetry/test/index.spec.ts index 5c470774721d..e3e5475b82cf 100644 --- a/sdk/monitor/perf-tests/monitor-opentelemetry/test/index.spec.ts +++ b/sdk/monitor/perf-tests/monitor-opentelemetry/test/index.spec.ts @@ -2,9 +2,9 @@ // Licensed under the MIT License. import { createPerfProgram } from "@azure/test-utils-perf"; -import { SpanExportTest } from "./spanExport.spec"; -import { LogExportTest } from "./logExport.spec"; -import { MetricExportTest } from "./metricExport.spec"; +import { SpanExportTest } from "./spanExport.spec.js"; +import { LogExportTest } from "./logExport.spec.js"; +import { MetricExportTest } from "./metricExport.spec.js"; const perfProgram = createPerfProgram(SpanExportTest, LogExportTest, MetricExportTest); perfProgram.run(); diff --git a/sdk/monitor/perf-tests/monitor-opentelemetry/test/logExport.spec.ts b/sdk/monitor/perf-tests/monitor-opentelemetry/test/logExport.spec.ts index fc7dd3e6756b..ef9c2a7018c4 100644 --- a/sdk/monitor/perf-tests/monitor-opentelemetry/test/logExport.spec.ts +++ b/sdk/monitor/perf-tests/monitor-opentelemetry/test/logExport.spec.ts @@ -2,7 +2,7 @@ // Licensed under the MIT License. import { PerfOptionDictionary } from "@azure/test-utils-perf"; -import { MonitorOpenTelemetryTest } from "./monitorOpenTelemetry.spec"; +import { MonitorOpenTelemetryTest } from "./monitorOpenTelemetry.spec.js"; import { logs, SeverityNumber } from "@opentelemetry/api-logs"; type MonitorOpenTelemetryTestOptions = Record; diff --git a/sdk/monitor/perf-tests/monitor-opentelemetry/test/metricExport.spec.ts b/sdk/monitor/perf-tests/monitor-opentelemetry/test/metricExport.spec.ts index 14659a2fe594..2469d4f4648d 100644 --- a/sdk/monitor/perf-tests/monitor-opentelemetry/test/metricExport.spec.ts +++ b/sdk/monitor/perf-tests/monitor-opentelemetry/test/metricExport.spec.ts @@ -2,7 +2,7 @@ // Licensed under the MIT License. import { PerfOptionDictionary } from "@azure/test-utils-perf"; -import { MonitorOpenTelemetryTest } from "./monitorOpenTelemetry.spec"; +import { MonitorOpenTelemetryTest } from "./monitorOpenTelemetry.spec.js"; import { metrics } from "@opentelemetry/api"; type MonitorOpenTelemetryTestOptions = Record; diff --git a/sdk/monitor/perf-tests/monitor-opentelemetry/test/spanExport.spec.ts b/sdk/monitor/perf-tests/monitor-opentelemetry/test/spanExport.spec.ts index 59ad95630abd..daa3bf0d89a7 100644 --- a/sdk/monitor/perf-tests/monitor-opentelemetry/test/spanExport.spec.ts +++ b/sdk/monitor/perf-tests/monitor-opentelemetry/test/spanExport.spec.ts @@ -2,7 +2,7 @@ // Licensed under the MIT License. import { PerfOptionDictionary } from "@azure/test-utils-perf"; -import { MonitorOpenTelemetryTest } from "./monitorOpenTelemetry.spec"; +import { MonitorOpenTelemetryTest } from "./monitorOpenTelemetry.spec.js"; import { trace, Span, Tracer, context } from "@opentelemetry/api"; type MonitorOpenTelemetryTestOptions = Record; diff --git a/sdk/monitor/perf-tests/monitor-opentelemetry/tsconfig.json b/sdk/monitor/perf-tests/monitor-opentelemetry/tsconfig.json index 9c4b2796b41e..314eacb3b998 100644 --- a/sdk/monitor/perf-tests/monitor-opentelemetry/tsconfig.json +++ b/sdk/monitor/perf-tests/monitor-opentelemetry/tsconfig.json @@ -1,12 +1,19 @@ { "extends": "../../../../tsconfig.package", "compilerOptions": { - "module": "commonjs", + "module": "NodeNext", + "moduleResolution": "NodeNext", "outDir": "./dist-esm", "declarationDir": "./types", "paths": { - "@azure/monitor-opentelemetry-exporter": ["./src/index"] + "@azure/monitor-opentelemetry-exporter": [ + "./src/index" + ] } }, - "include": ["src/**/*.ts", "test/**/*.ts", "samples-dev/**/*.ts"] + "include": [ + "src/**/*.ts", + "test/**/*.ts", + "samples-dev/**/*.ts" + ] } diff --git a/sdk/personalizer/ai-personalizer-rest/tests.yml b/sdk/personalizer/ai-personalizer-rest/tests.yml index dd6c2138ffd0..deef3bff7215 100644 --- a/sdk/personalizer/ai-personalizer-rest/tests.yml +++ b/sdk/personalizer/ai-personalizer-rest/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure-rest/ai-personalizer" ServiceDirectory: personalizer diff --git a/sdk/schemaregistry/schema-registry-avro/package.json b/sdk/schemaregistry/schema-registry-avro/package.json index 3d3df5b55ac8..78aeb4769ba2 100644 --- a/sdk/schemaregistry/schema-registry-avro/package.json +++ b/sdk/schemaregistry/schema-registry-avro/package.json @@ -23,7 +23,7 @@ "extract-api": "tsc -p . && api-extractor run --local", "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "integration-test:browser": "dev-tool run test:browser", - "integration-test:node": "dev-tool run test:node-js-input --use-esm-workaround=true -- --timeout 5000000 'dist-esm/test/**/*.spec.js'", + "integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.spec.js'", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "lint:fix": "eslint package.json api-extractor.json README.md src test --ext .ts,.javascript,.js --fix --fix-type [problem,suggestion]", "lint": "eslint package.json api-extractor.json README.md src test --ext .ts,.javascript,.js", diff --git a/sdk/schemaregistry/schema-registry-avro/tests.yml b/sdk/schemaregistry/schema-registry-avro/tests.yml index cea4d80d975c..fc4a5a73a65e 100644 --- a/sdk/schemaregistry/schema-registry-avro/tests.yml +++ b/sdk/schemaregistry/schema-registry-avro/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/schema-registry-avro" ServiceDirectory: schemaregistry diff --git a/sdk/schemaregistry/schema-registry-json/tests.yml b/sdk/schemaregistry/schema-registry-json/tests.yml index f02e495f9bb9..d6a6beb63b6a 100644 --- a/sdk/schemaregistry/schema-registry-json/tests.yml +++ b/sdk/schemaregistry/schema-registry-json/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/schema-registry-json" ServiceDirectory: schemaregistry diff --git a/sdk/schemaregistry/schema-registry/tests.yml b/sdk/schemaregistry/schema-registry/tests.yml index 7a059eb3a2eb..1b1fdad4f778 100644 --- a/sdk/schemaregistry/schema-registry/tests.yml +++ b/sdk/schemaregistry/schema-registry/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/schema-registry" ServiceDirectory: schemaregistry diff --git a/sdk/search/search-documents/tests.yml b/sdk/search/search-documents/tests.yml index 07457a9365c4..750a4fb8a5fb 100644 --- a/sdk/search/search-documents/tests.yml +++ b/sdk/search/search-documents/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/search-documents" ServiceDirectory: search diff --git a/sdk/servicebus/service-bus/tests.yml b/sdk/servicebus/service-bus/tests.yml index ca5884b8a610..c806ccc4b630 100644 --- a/sdk/servicebus/service-bus/tests.yml +++ b/sdk/servicebus/service-bus/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/service-bus" ServiceDirectory: servicebus diff --git a/sdk/storage/storage-blob/tests.yml b/sdk/storage/storage-blob/tests.yml index 296394432f09..6b787eb75c3d 100644 --- a/sdk/storage/storage-blob/tests.yml +++ b/sdk/storage/storage-blob/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/storage-blob" ServiceDirectory: storage diff --git a/sdk/storage/storage-file-datalake/tests.yml b/sdk/storage/storage-file-datalake/tests.yml index 8c3caf64e197..c364eaac6d4b 100644 --- a/sdk/storage/storage-file-datalake/tests.yml +++ b/sdk/storage/storage-file-datalake/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/storage-file-datalake" ServiceDirectory: storage diff --git a/sdk/storage/storage-file-share/tests.yml b/sdk/storage/storage-file-share/tests.yml index b779b995d798..e47b9e031cd6 100644 --- a/sdk/storage/storage-file-share/tests.yml +++ b/sdk/storage/storage-file-share/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/storage-file-share" ServiceDirectory: storage diff --git a/sdk/storage/storage-queue/tests.yml b/sdk/storage/storage-queue/tests.yml index f73e3f940e10..051dfd4500b2 100644 --- a/sdk/storage/storage-queue/tests.yml +++ b/sdk/storage/storage-queue/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/storage-queue" ServiceDirectory: storage diff --git a/sdk/tables/data-tables/tests.yml b/sdk/tables/data-tables/tests.yml index 4540355e6ed1..4ae1957c6bc1 100644 --- a/sdk/tables/data-tables/tests.yml +++ b/sdk/tables/data-tables/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/data-tables" ServiceDirectory: tables diff --git a/sdk/template/template/tests.yml b/sdk/template/template/tests.yml index 030c35cad2d3..4866820c28c0 100644 --- a/sdk/template/template/tests.yml +++ b/sdk/template/template/tests.yml @@ -1,12 +1,13 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml - parameters: - PackageName: "@azure/template" - ServiceDirectory: template - EnvVars: - AZURE_CLIENT_ID: $(TEMPLATE_CLIENT_ID) - AZURE_CLIENT_SECRET: $(TEMPLATE_CLIENT_SECRET) - AZURE_TENANT_ID: $(TEMPLATE_TENANT_ID) - AZURE_SUBSCRIPTION_ID: $(TEMPLATE_SUBSCRIPTION_ID) + +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml + parameters: + PackageName: "@azure/template" + ServiceDirectory: template + EnvVars: + AZURE_CLIENT_ID: $(TEMPLATE_CLIENT_ID) + AZURE_CLIENT_SECRET: $(TEMPLATE_CLIENT_SECRET) + AZURE_TENANT_ID: $(TEMPLATE_TENANT_ID) + AZURE_SUBSCRIPTION_ID: $(TEMPLATE_SUBSCRIPTION_ID) diff --git a/sdk/test-utils/recorder/CHANGELOG.md b/sdk/test-utils/recorder/CHANGELOG.md index 381f7c7be42d..23c9a2ea8af1 100644 --- a/sdk/test-utils/recorder/CHANGELOG.md +++ b/sdk/test-utils/recorder/CHANGELOG.md @@ -1,14 +1,12 @@ # Release History -## 3.1.0 (Unreleased) +## 3.1.0 (2023-03-14) ### Features Added - Add support for setting `TLSValidationCert` in the Test Proxy Transport. - Add a `testPollingOptions` that allow skip polling wait in playback mode. -### Breaking Changes - ### Bugs Fixed - Fixed a bug where environment variables were not being sanitized correctly when one's original value is a substring of another. [#27187](https://github.com/Azure/azure-sdk-for-js/pull/27187) @@ -20,6 +18,7 @@ - Forward mismatch error when recording file cannot be found during `start` call in playback mode - Add more descriptive message in the case that the test proxy has not been started before running the tests - Ignore `Accept-Language` header for browsers in Playback mode. + ## 3.0.0 (2023-03-07) ### Features Added diff --git a/sdk/textanalytics/ai-text-analytics/tests.yml b/sdk/textanalytics/ai-text-analytics/tests.yml index e2624130e546..d5a321e9cd92 100644 --- a/sdk/textanalytics/ai-text-analytics/tests.yml +++ b/sdk/textanalytics/ai-text-analytics/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/ai-text-analytics" ServiceDirectory: textanalytics diff --git a/sdk/translation/ai-translation-text-rest/tests.yml b/sdk/translation/ai-translation-text-rest/tests.yml index 9829c998c29f..644998cef57d 100644 --- a/sdk/translation/ai-translation-text-rest/tests.yml +++ b/sdk/translation/ai-translation-text-rest/tests.yml @@ -6,8 +6,8 @@ parameters: trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure-rest/ai-translation-text" ServiceDirectory: translation diff --git a/sdk/web-pubsub/web-pubsub-client-protobuf/package.json b/sdk/web-pubsub/web-pubsub-client-protobuf/package.json index 9fec3b14abf6..f9a5be63de6e 100644 --- a/sdk/web-pubsub/web-pubsub-client-protobuf/package.json +++ b/sdk/web-pubsub/web-pubsub-client-protobuf/package.json @@ -33,7 +33,7 @@ "test:node": "npm run build:test && npm run unit-test:node && npm run integration-test:node", "test": "npm run build:test && npm run unit-test && npm run integration-test", "unit-test:browser": "echo skipped", - "unit-test:node": "dev-tool run test:node-js-input --use-esm-workaround=true --no-test-proxy=true", + "unit-test:node": "dev-tool run test:node-js-input --no-test-proxy=true", "unit-test": "npm run unit-test:node && npm run unit-test:browser" }, "files": [ diff --git a/sdk/web-pubsub/web-pubsub/tests.yml b/sdk/web-pubsub/web-pubsub/tests.yml index de5ece863981..24ce5c56fc52 100644 --- a/sdk/web-pubsub/web-pubsub/tests.yml +++ b/sdk/web-pubsub/web-pubsub/tests.yml @@ -1,7 +1,7 @@ trigger: none -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: PackageName: "@azure/web-pubsub" ServiceDirectory: web-pubsub