Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Spec for ProtectedSettingsFromKeyVault and AllowExtensionOperations" #17121

Conversation

grizzlytheodore
Copy link
Member

Reverts #16590

@openapi-workflow-bot
Copy link

Hi, @grizzlytheodore Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. vsswagger@microsoft.com

    @openapi-workflow-bot
    Copy link

    [Call for Action] To better understand Azure service dev/test scenario, and support Azure service developer better on Swagger and REST API related tests in early phase, please help to fill in with this survey https://aka.ms/SurveyForEarlyPhase. It will take 5 to 10 minutes. If you already complete survey, please neglect this comment. Thanks.

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Dec 16, 2021

    Swagger Validation Report

    ️⌛BreakingChange pending [Detail]
    ️⌛LintDiff pending [Detail]
    ️⌛Avocado pending [Detail]
    ️⌛ModelValidation pending [Detail]
    ️⌛SemanticValidation pending [Detail]
    ️⌛Cross-Version Breaking Changes pending [Detail]
    ️⌛SDK Track2 Validation pending [Detail]
    ️⌛PrettierCheck pending [Detail]
    ️⌛SpellCheck pending [Detail]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Dec 16, 2021

    Swagger Generation Artifacts

    ️⌛ApiDocPreview pending [Detail]
    ️️✔️SDK Breaking Change Tracking succeeded [Detail] [Expand]

    Breaking Changes Tracking

    ️❌ azure-sdk-for-net failed [Detail]
    • Failed [Logs]Release - Generate from 6cc3bd1. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	sudo apt-get install -y dotnet-sdk-5.0
      command	autorest --version=V2 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/compute/resource-manager/readme.md
      cmderr	[Autorest] Failed to install or start extension '@microsoft.azure/autorest.csharp' (2.3.82)
      cmderr	[Autorest]   Error: Package '@microsoft.azure/autorest.csharp' - '2.3.82' failed to install:
      cmderr	[Autorest]   Failed to install package 'https://registry.npmjs.org/@microsoft.azure/autorest.csharp/-/autorest.csharp-2.3.82.tgz' -- Error: Process Failed.Error: Failed to install package 'https://registry.npmjs.org/@microsoft.azure/autorest.csharp/-/autorest.csharp-2.3.82.tgz' -- Error: Process Failed.
      cmderr	[Autorest]     at install (/node_modules/@microsoft.azure/extension/dist/main.js:303:15)
      cmderr	[Autorest]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
      cmderr	[Autorest]     at async ExtensionManager.installPackage (/node_modules/@microsoft.azure/extension/dist/main.js:472:13)
      cmderr	[Autorest]     at async Configuration.CreateView (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/configuration.js:684:51)
      cmderr	[Autorest]     at async AutoRest.RegenerateView (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/autorest-core.js:54:29)
      cmderr	[Autorest]     at async currentMain (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/app.js:288:21)
      cmderr	[Autorest]     at async mainImpl (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/app.js:481:20)
      cmderr	[Autorest]     at async main (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/app.js:505:20)
      error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-net]: autorest
      warn	Skip package processing as generation is failed
    ️❌ azure-sdk-for-python-track2 failed [Detail]
    • Failed [Logs]Release - Generate from 6cc3bd1. SDK Automation 14.0.0
      command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
      cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
      cmderr	[automation_generate.sh] npm notice
      cmderr	[automation_generate.sh] npm notice New minor version of npm available! 8.1.2 -> 8.3.0
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.3.0>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@8.3.0` to update!
      cmderr	[automation_generate.sh] npm notice
      cmdout	[automation_generate.sh] [Autorest] warning | DeprecatedConfig | Using directive.43.suppress which is deprecated and will be removed in the future.
      cmdout	[automation_generate.sh] [Autorest] warning | DeprecatedConfig | Using directive.44.suppress which is deprecated and will be removed in the future.
      cmdout	[automation_generate.sh] [Autorest] warning | DeprecatedConfig | Using directive.45.suppress which is deprecated and will be removed in the future.
      cmdout	[automation_generate.sh] [Autorest] warning | DeprecatedConfig | Using directive.46.suppress which is deprecated and will be removed in the future.
      cmdout	[automation_generate.sh] [Autorest] warning | DeprecatedConfig | Using directive.47.suppress which is deprecated and will be removed in the future.
      cmdout	[automation_generate.sh] [Autorest]/home/vsts/work/1/s/azure-sdk-for-python_tmp/venv-sdk/auto_temp.json does not exist!!!Error happened during codegen
      error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-python]: sh scripts/automation_generate.sh
      warn	Skip package processing as generation is failed
    ️❌ azure-sdk-for-java failed [Detail]
    • Failed [Logs]Release - Generate from 6cc3bd1. SDK Automation 14.0.0
      command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
      command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
      cmderr	[generate.py] 2021-12-16 20:25:54 INFO [VERSION][Not Found] cannot find version for "com.azure.resourcemanager:azure-resourcemanager-compute-generated"
      cmderr	[generate.py] 2021-12-16 20:25:54 INFO [VERSION][Not Found] cannot find stable version, current version "1.0.0-beta.1"
      cmderr	[generate.py] 2021-12-16 20:25:54 INFO autorest --version=3.6.6 --use=@autorest/java@4.0.43 --java.azure-libraries-for-java-folder=/home/vsts/work/1/s/azure-sdk-for-java --java.output-folder=/home/vsts/work/1/s/azure-sdk-for-java/sdk/compute/azure-resourcemanager-compute-generated --java.namespace=com.azure.resourcemanager.compute.generated   --java --pipeline.modelerfour.additional-checks=false --pipeline.modelerfour.lenient-model-deduplication=true --azure-arm --verbose --sdk-integration --generate-samples --fluent=lite --java.fluent=lite --java.license-header=MICROSOFT_MIT_SMALL  ../azure-rest-api-specs/specification/compute/resource-manager/readme.md
      cmderr	[generate.py] Yarn log:
      cmderr	[generate.py] {"type":"warning","data":"package.json: No license field"}
      cmderr	[generate.py] {"type":"info","data":"No lockfile found."}
      cmderr	[generate.py] {"type":"step","data":{"message":"Resolving packages","current":1,"total":4}}
      cmderr	[generate.py] {"type":"error","data":"An unexpected error occurred: \"https://registry.npmjs.org/@autorest/modelerfour/-/modelerfour-4.21.4.tgz: Request failed \\\"503 Service Unavailable\\\"\"."}
      cmderr	[generate.py] {"type":"info","data":"If you think this is a bug, please open a bug report with the information provided in \"/home/vsts/.autorest/@autorest_modelerfour@4.21.4/yarn-error.log\"."}
      cmderr	[generate.py] {"type":"info","data":"Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command."}
      cmderr	[generate.py] Unexpected error while logging TypeError: text.replace is not a function
      cmderr	[generate.py]     at color (/home/vsts/.autorest/@autorest_core@3.6.6/node_modules/@autorest/core/dist/src_lib_autorest-core_ts.js:12244:10)
      cmderr	[generate.py]     at PrettyLogFormatter.log (/home/vsts/.autorest/@autorest_core@3.6.6/node_modules/@autorest/core/dist/src_lib_autorest-core_ts.js:11585:54)
      cmderr	[generate.py]     at ConsoleLoggerSink.log (/home/vsts/.autorest/@autorest_core@3.6.6/node_modules/@autorest/core/dist/src_lib_autorest-core_ts.js:11439:37)
      cmderr	[generate.py]     at ConsoleLogger.emitLog (/home/vsts/.autorest/@autorest_core@3.6.6/node_modules/@autorest/core/dist/src_lib_autorest-core_ts.js:11869:18)
      cmderr	[generate.py]     at ConsoleLogger.log (/home/vsts/.autorest/@autorest_core@3.6.6/node_modules/@autorest/core/dist/src_lib_autorest-core_ts.js:11865:14)
      cmderr	[generate.py]     at AutorestSyncLogger.emitLog (/home/vsts/.autorest/@autorest_core@3.6.6/node_modules/@autorest/core/dist/src_lib_autorest-core_ts.js:11869:18)
      cmderr	[generate.py]     at AutorestSyncLogger.log (/home/vsts/.autorest/@autorest_core@3.6.6/node_modules/@autorest/core/dist/src_lib_autorest-core_ts.js:11865:14)
      cmderr	[generate.py]     at AutorestAsyncLogger.emitLog (/home/vsts/.autorest/@autorest_core@3.6.6/node_modules/@autorest/core/dist/src_lib_autorest-core_ts.js:11902:18)
      cmderr	[generate.py]     at AutorestAsyncLogger.logMessageAsync (/home/vsts/.autorest/@autorest_core@3.6.6/node_modules/@autorest/core/dist/src_lib_autorest-core_ts.js:11916:14)
      cmderr	[generate.py]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
      cmderr	[generate.py]     at /home/vsts/.autorest/@autorest_core@3.6.6/node_modules/@autorest/core/dist/src_lib_autorest-core_ts.js:11960:17
      cmderr	[generate.py] 2021-12-16 20:27:14 ERROR [GENERATE] Autorest fail
      ENOENT: no such file or directory, stat 'azure-sdk-for-java/sdk/compute/azure-resourcemanager-compute-generated/pom.xml'
      Error: ENOENT: no such file or directory, stat 'azure-sdk-for-java/sdk/compute/azure-resourcemanager-compute-generated/pom.xml'
    • azure-resourcemanager-compute-generated [View full logs
      error	Fatal error: ENOENT: no such file or directory, stat 'azure-sdk-for-java/sdk/compute/azure-resourcemanager-compute-generated/pom.xml'
      error	The following packages are still pending:
      error		azure-resourcemanager-compute-generated
    ️❌ azure-sdk-for-js failed [Detail]
    • Failed [Logs]Release - Generate from 6cc3bd1. SDK Automation 14.0.0
      command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
      cmderr	[automation_init.sh] npm ERR! code E503
      cmderr	[automation_init.sh] npm ERR! 503 Service Unavailable - GET https://registry.npmjs.org/@rushstack/terminal/-/terminal-0.3.20.tgz
      cmderr	[automation_init.sh] npm ERR! A complete log of this run can be found in:
      cmderr	[automation_init.sh] npm ERR!     /home/vsts/.npm/_logs/2021-12-16T20_27_58_052Z-debug.log
      cmderr	[automation_init.sh] .scripts/automation_init.sh: 4: .scripts/automation_init.sh: rush: not found
      cmderr	[automation_init.sh] npm ERR! code E503
      cmderr	[automation_init.sh] npm ERR! 503 Service Unavailable - GET https://registry.npmjs.org/entities - Service Unavailable
      cmderr	[automation_init.sh] npm ERR! A complete log of this run can be found in:
      cmderr	[automation_init.sh] npm ERR!     /home/vsts/.npm/_logs/2021-12-16T20_38_12_684Z-debug.log
      error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-js]: sh .scripts/automation_init.sh
      warn	File azure-sdk-for-js_tmp/initOutput.json not found to read
      command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
      error	Script return with result [failed] code [127] signal [null] cwd [azure-sdk-for-js]: sh .scripts/automation_generate.sh
      warn	Skip package processing as generation is failed
    ️❌ azure-sdk-for-go failed [Detail]
    • Failed [Logs]Release - Generate from 6cc3bd1. SDK Automation 14.0.0
      command	sh ./eng/initScript.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
      cmderr	[generator automation] [AUTOREST] Failed to install or start extension '@microsoft.azure/autorest.go' (2.1.187)
      cmderr	[generator automation] [AUTOREST]   Error: Package '@microsoft.azure/autorest.go' - '2.1.187' failed to install:
      cmderr	[generator automation] [AUTOREST]   Failed to install package 'https://registry.npmjs.org/@microsoft.azure/autorest.go/-/autorest.go-2.1.187.tgz' -- Error: Process Failed.Error: Failed to install package 'https://registry.npmjs.org/@microsoft.azure/autorest.go/-/autorest.go-2.1.187.tgz' -- Error: Process Failed.
      cmderr	[generator automation] [AUTOREST]     at install (/node_modules/@microsoft.azure/extension/dist/main.js:303:15)
      cmderr	[generator automation] [AUTOREST]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
      cmderr	[generator automation] [AUTOREST]     at async ExtensionManager.installPackage (/node_modules/@microsoft.azure/extension/dist/main.js:472:13)
      cmderr	[generator automation] [AUTOREST]     at async Configuration.CreateView (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/configuration.js:684:51)
      cmderr	[generator automation] [AUTOREST]     at async AutoRest.RegenerateView (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/autorest-core.js:54:29)
      cmderr	[generator automation] [AUTOREST]     at async currentMain (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/app.js:288:21)
      cmderr	[generator automation] [AUTOREST]     at async mainImpl (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/app.js:481:20)
      cmderr	[generator automation] [AUTOREST]     at async main (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/app.js:505:20)
      cmderr	[generator automation] [AUTOREST] Failed to install or start extension '@microsoft.azure/autorest.go' (2.1.187)
      cmderr	[generator automation] [AUTOREST]   Error: Package '@microsoft.azure/autorest.go' - '2.1.187' failed to install:
      cmderr	[generator automation] [AUTOREST]   Failed to install package 'https://registry.npmjs.org/@microsoft.azure/autorest.go/-/autorest.go-2.1.187.tgz' -- Error: Process Failed.Error: Failed to install package 'https://registry.npmjs.org/@microsoft.azure/autorest.go/-/autorest.go-2.1.187.tgz' -- Error: Process Failed.
      cmderr	[generator automation] [AUTOREST]     at install (/node_modules/@microsoft.azure/extension/dist/main.js:303:15)
      cmderr	[generator automation] [AUTOREST]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
      cmderr	[generator automation] [AUTOREST]     at async ExtensionManager.installPackage (/node_modules/@microsoft.azure/extension/dist/main.js:472:13)
      cmderr	[generator automation] [AUTOREST]     at async Configuration.CreateView (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/configuration.js:684:51)
      cmderr	[generator automation] [AUTOREST]     at async AutoRest.RegenerateView (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/autorest-core.js:54:29)
      cmderr	[generator automation] [AUTOREST]     at async currentMain (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/app.js:288:21)
      cmderr	[generator automation] [AUTOREST]     at async mainImpl (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/app.js:481:20)
      cmderr	[generator automation] [AUTOREST]     at async main (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/app.js:505:20)
      cmderr	[generator automation] [ERROR] total 2 error(s):
      cmderr	[generator automation] [ERROR] failed to execute autorest: autorest error with arguments '--use=@microsoft.azure/autorest.go@2.1.187, --go, --verbose, --go-sdk-folder=., --use-onever, --version=V2, --go.license-header=MICROSOFT_MIT_NO_VERSION, --enum-prefix, --tag=package-2021-07-01, --metadata-output-folder=/home/vsts/work/1/s/azure-sdk-for-go_tmp/generation-metadata-1639686285/package-2021-07-01, ../../../../../azure-rest-api-specs/specification/compute/resource-manager/readme.md':
      cmderr	[generator automation] [ERROR] exit status 1
      cmderr	[generator automation] [ERROR] failed to execute autorest: autorest error with arguments '--use=@microsoft.azure/autorest.go@2.1.187, --go, --verbose, --go-sdk-folder=., --use-onever, --version=V2, --go.license-header=MICROSOFT_MIT_NO_VERSION, --enum-prefix, --tag=package-2021-04-01, --metadata-output-folder=/home/vsts/work/1/s/azure-sdk-for-go_tmp/generation-metadata-1639686381/package-2021-04-01, ../../../../../azure-rest-api-specs/specification/compute/resource-manager/readme.md':
      cmderr	[generator automation] [ERROR] exit status 1
      error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go]: generator automation
      warn	Skip package processing as generation is failed
    ️❌ azure-sdk-for-go-track2 failed [Detail]
    • Failed [Logs]Release - Generate from 6cc3bd1. SDK Automation 14.0.0
      command	sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
      cmderr	[generator automation-v2] [ERROR] total 1 error(s):
      cmderr	[generator automation-v2] [ERROR] failed to execute `go generate` 'go: downloading github.com/Azure/azure-sdk-for-go v59.0.0+incompatible
      cmderr	[generator automation-v2] [ERROR] WARNING: Unable to find version for /home/vsts/work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute
      cmderr	[generator automation-v2] [ERROR] Cannot find go module under resourcemanager/compute/armcompute, try to build in /home/vsts/work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute
      cmderr	[generator automation-v2] [ERROR] ##[command]Cleaning auto-generated files in /home/vsts/work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute
      cmderr	[generator automation-v2] [ERROR] ##[command]Executing autorest.go in  /home/vsts/work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute
      cmderr	[generator automation-v2] [ERROR] AutoRest code generation utility [cli version: 3.2.3; node: v14.18.2, max-memory: 8192 MB]
      cmderr	[generator automation-v2] [ERROR] (C) 2018 Microsoft Corporation.
      cmderr	[generator automation-v2] [ERROR] https://aka.ms/autorest
      cmderr	[generator automation-v2] [ERROR] Yarn log:
      cmderr	[generator automation-v2] [ERROR] --------------------------------------------------
      cmderr	[generator automation-v2] [ERROR] {"type":"info","data":"No lockfile found."}
      cmderr	[generator automation-v2] [ERROR] {"type":"step","data":{"message":"Resolving packages","current":1,"total":4}}
      cmderr	[generator automation-v2] [ERROR] {"type":"info","data":"There appears to be trouble with the npm registry (returned undefined). Retrying..."}
      cmderr	[generator automation-v2] [ERROR] {"type":"info","data":"There appears to be trouble with your network connection. Retrying..."}
      cmderr	[generator automation-v2] [ERROR] {"type":"info","data":"There appears to be trouble with the npm registry (returned undefined). Retrying..."}
      cmderr	[generator automation-v2] [ERROR] {"type":"info","data":"There appears to be trouble with the npm registry (returned undefined). Retrying..."}
      cmderr	[generator automation-v2] [ERROR] {"type":"info","data":"There appears to be trouble with the npm registry (returned undefined). Retrying..."}
      cmderr	[generator automation-v2] [ERROR] {"type":"info","data":"There appears to be trouble with the npm registry (returned undefined). Retrying..."}
      cmderr	[generator automation-v2] [ERROR] {"type":"info","data":"There appears to be trouble with the npm registry (returned undefined). Retrying..."}
      cmderr	[generator automation-v2] [ERROR] {"type":"info","data":"There appears to be trouble with the npm registry (returned undefined). Retrying..."}
      cmderr	[generator automation-v2] [ERROR] {"type":"info","data":"There appears to be trouble with the npm registry (returned undefined). Retrying..."}
      cmderr	[generator automation-v2] [ERROR] {"type":"info","data":"There appears to be trouble with the npm registry (returned undefined). Retrying..."}
      cmderr	[generator automation-v2] [ERROR] {"type":"info","data":"There appears to be trouble with the npm registry (returned undefined). Retrying..."}
      cmderr	[generator automation-v2] [ERROR] {"type":"info","data":"There appears to be trouble with the npm registry (returned undefined). Retrying..."}
      cmderr	[generator automation-v2] [ERROR] {"type":"info","data":"There appears to be trouble with the npm registry (returned undefined). Retrying..."}
      cmderr	[generator automation-v2] [ERROR] {"type":"info","data":"There appears to be trouble with the npm registry (returned undefined). Retrying..."}
      cmderr	[generator automation-v2] [ERROR] {"type":"info","data":"There appears to be trouble with the npm registry (returned undefined). Retrying..."}
      cmderr	[generator automation-v2] [ERROR] {"type":"info","data":"There appears to be trouble with the npm registry (returned undefined). Retrying..."}
      cmderr	[generator automation-v2] [ERROR] {"type":"info","data":"There appears to be trouble with the npm registry (returned undefined). Retrying..."}
      cmderr	[generator automation-v2] [ERROR] {"type":"info","data":"There appears to be trouble with the npm registry (returned undefined). Retrying..."}
      cmderr	[generator automation-v2] [ERROR] {"type":"info","data":"There appears to be trouble with the npm registry (returned undefined). Retrying..."}
      cmderr	[generator automation-v2] [ERROR] /home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/autorest@3.2.3/node_modules/autorest/dist/yarn/cli.js:66965
      cmderr	[generator automation-v2] [ERROR] throw new (_errors || _load_errors()).ResponseError(_this3.reporter.lang('requestFailed', description), res.statusCode);
      cmderr	[generator automation-v2] [ERROR] ^
      cmderr	[generator automation-v2] [ERROR] ResponseError: Request failed "503 Service Unavailable"
      cmderr	[generator automation-v2] [ERROR] at ResponseError.ExtendableBuiltin (/home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/autorest@3.2.3/node_modules/autorest/dist/yarn/cli.js:696:66)
      cmderr	[generator automation-v2] [ERROR] at new ResponseError (/home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/autorest@3.2.3/node_modules/autorest/dist/yarn/cli.js:802:124)
      cmderr	[generator automation-v2] [ERROR] at Request.params.callback [as _callback] (/home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/autorest@3.2.3/node_modules/autorest/dist/yarn/cli.js:66965:19)
      cmderr	[generator automation-v2] [ERROR] at Request.self.callback (/home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/autorest@3.2.3/node_modules/autorest/dist/yarn/cli.js:140662:22)
      cmderr	[generator automation-v2] [ERROR] at Request.emit (events.js:400:28)
      cmderr	[generator automation-v2] [ERROR] at Request.<anonymous> (/home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/autorest@3.2.3/node_modules/autorest/dist/yarn/cli.js:141634:10)
      cmderr	[generator automation-v2] [ERROR] at Request.emit (events.js:400:28)
      cmderr	[generator automation-v2] [ERROR] at IncomingMessage.<anonymous> (/home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/autorest@3.2.3/node_modules/autorest/dist/yarn/cli.js:141556:12)
      cmderr	[generator automation-v2] [ERROR] at Object.onceWrapper (events.js:519:28)
      cmderr	[generator automation-v2] [ERROR] at IncomingMessage.emit (events.js:412:35) {
      cmderr	[generator automation-v2] [ERROR] responseCode: 503
      cmderr	[generator automation-v2] [ERROR] }
      cmderr	[generator automation-v2] [ERROR] --------------------------------------------------
      cmderr	[generator automation-v2] [ERROR] Failure:
      cmderr	[generator automation-v2] [ERROR] Error: Package '@autorest/go' - '4.0.0-preview.31' failed to install:
      cmderr	[generator automation-v2] [ERROR] Failed to install package 'https://registry.npmjs.org/@autorest/go/-/go-4.0.0-preview.31.tgz' -- Error: Process Failed.Error: Failed to install package 'https://registry.npmjs.org/@autorest/go/-/go-4.0.0-preview.31.tgz' -- Error: Process Failed.
      cmderr	[generator automation-v2] [ERROR] at Yarn.install (/home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/autorest@3.2.3/node_modules/autorest/dist/src_autorest-as-a-service_ts-src_coloring_ts.js:1758:19)
      cmderr	[generator automation-v2] [ERROR] at processTicksAndRejections (internal/process/task_queues.js:95:5)
      cmderr	[generator automation-v2] [ERROR] at ExtensionManager.installPackage (/home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/autorest@3.2.3/node_modules/autorest/dist/src_autorest-as-a-service_ts-src_coloring_ts.js:1131:13)
      cmderr	[generator automation-v2] [ERROR] at ConfigurationLoader.resolveExtension (/home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/autorest@3.2.3/node_modules/autorest/dist/app.js:4825:35)
      cmderr	[generator automation-v2] [ERROR] at ConfigurationLoader.load (/home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/autorest@3.2.3/node_modules/autorest/dist/app.js:4718:43)
      cmderr	[generator automation-v2] [ERROR] at Object.findCoreVersionUsingConfiguration (/home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/autorest@3.2.3/node_modules/autorest/dist/app.js:457:24)
      cmderr	[generator automation-v2] [ERROR] at Object.resolveCoreVersion (/home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/autorest@3.2.3/node_modules/autorest/dist/app.js:493:28)
      cmderr	[generator automation-v2] [ERROR] at main (/home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/autorest@3.2.3/node_modules/autorest/dist/app.js:186:33)
      cmderr	[generator automation-v2] [ERROR] Error: Package '@autorest/go' - '4.0.0-preview.31' failed to install:
      cmderr	[generator automation-v2] [ERROR] Failed to install package 'https://registry.npmjs.org/@autorest/go/-/go-4.0.0-preview.31.tgz' -- Error: Process Failed.Error: Failed to install package 'https://registry.npmjs.org/@autorest/go/-/go-4.0.0-preview.31.tgz' -- Error: Process Failed.
      cmderr	[generator automation-v2] [ERROR] at Yarn.install (/home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/autorest@3.2.3/node_modules/autorest/dist/src_autorest-as-a-service_ts-src_coloring_ts.js:1758:19)
      cmderr	[generator automation-v2] [ERROR] at processTicksAndRejections (internal/process/task_queues.js:95:5)
      cmderr	[generator automation-v2] [ERROR] at ExtensionManager.installPackage (/home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/autorest@3.2.3/node_modules/autorest/dist/src_autorest-as-a-service_ts-src_coloring_ts.js:1131:13)
      cmderr	[generator automation-v2] [ERROR] at ConfigurationLoader.resolveExtension (/home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/autorest@3.2.3/node_modules/autorest/dist/app.js:4825:35)
      cmderr	[generator automation-v2] [ERROR] at ConfigurationLoader.load (/home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/autorest@3.2.3/node_modules/autorest/dist/app.js:4718:43)
      cmderr	[generator automation-v2] [ERROR] at Object.findCoreVersionUsingConfiguration (/home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/autorest@3.2.3/node_modules/autorest/dist/app.js:457:24)
      cmderr	[generator automation-v2] [ERROR] at Object.resolveCoreVersion (/home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/autorest@3.2.3/node_modules/autorest/dist/app.js:493:28)
      cmderr	[generator automation-v2] [ERROR] at main (/home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/autorest@3.2.3/node_modules/autorest/dist/app.js:186:33)
      cmderr	[generator automation-v2] [ERROR] at ExtensionManager.installPackage (/home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/autorest@3.2.3/node_modules/autorest/dist/src_autorest-as-a-service_ts-src_coloring_ts.js:1150:23)
      cmderr	[generator automation-v2] [ERROR] at ConfigurationLoader.resolveExtension (/home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/autorest@3.2.3/node_modules/autorest/dist/app.js:4825:35)
      cmderr	[generator automation-v2] [ERROR] at ConfigurationLoader.load (/home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/autorest@3.2.3/node_modules/autorest/dist/app.js:4718:43)
      cmderr	[generator automation-v2] [ERROR] at Object.findCoreVersionUsingConfiguration (/home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/autorest@3.2.3/node_modules/autorest/dist/app.js:457:24)
      cmderr	[generator automation-v2] [ERROR] at Object.resolveCoreVersion (/home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/autorest@3.2.3/node_modules/autorest/dist/app.js:493:28)
      cmderr	[generator automation-v2] [ERROR] at main (/home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/autorest@3.2.3/node_modules/autorest/dist/app.js:186:33)
      cmderr	[generator automation-v2] [ERROR] ##[error]Error running autorest.go
      cmderr	[generator automation-v2] [ERROR] build.go:5: running "pwsh.exe": exit status 1
      cmderr	[generator automation-v2] [ERROR] ': exit status 1
      error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go]: generator automation-v2
      warn	Skip package processing as generation is failed
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 6cc3bd1. Schema Automation 14.0.0
      command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
      cmderr	[initScript.sh] WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile The package-lock.json file was created with an old version of npm,
      cmderr	[initScript.sh] npm WARN old lockfile so supplemental metadata must be fetched from the registry.
      cmderr	[initScript.sh] npm WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile This is a one-time fix-up, please be patient...
      cmderr	[initScript.sh] npm WARN old lockfile
      warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
      command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
    • ️✔️compute [View full logs]  [Release Schema Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @ghost ghost added the Compute label Dec 16, 2021
    @grizzlytheodore grizzlytheodore merged commit 6cc3bd1 into feature/cplat-2021-11-01 Dec 16, 2021
    grizzlytheodore added a commit that referenced this pull request Jan 3, 2022
    ArcturusZhang added a commit that referenced this pull request Jan 19, 2022
    * compute folder with pre-population
    
    * fix examples folder
    
    * fix an example file
    
    * update compute to match last version
    
    * run prettier fix examples
    
    * change capitalization
    
    * Compute Swagger changes to include cross-region Restore Points scenarios (#16570)
    
    * RRP changes in swagger
    
    * Fix conflicts
    
    * fix validations
    
    * Fix instance view
    
    * Revert "Compute Swagger changes to include cross-region Restore Points scenarios (#16570)" (#16663)
    
    This reverts commit 70a8729.
    
    * sync with last version
    
    * add missing examples
    
    * suppress bodyTopLevelProperties
    
    * Add VMSS filter to List VMs (#16813)
    
    * change1 for change file
    
    * change description
    
    * change description
    
    * add suppression for required properties
    
    * Revert "Add VMSS filter to List VMs (#16813)" (#16956)
    
    This reverts commit 231fd22.
    
    * Remove impossible state from example (#16544)
    
    * Downmerging change from Azure:main (#16654)
    
    Co-authored-by: Avinash Akka <avakka@microsoft.com>
    
    * Added CVM settings for version 2021-11-01 (#16622)
    
    * Added CVM settings
    
    * added examples
    
    * Add CMK examples
    
    * fixed typo
    
    * fixed file name
    
    * prettier check
    
    * removed a br
    
    * changed to VMDiskSecurityProfile
    
    * type as object
    
    * Added vm size properties for vm scale set (#16723)
    
    * Added vm size properties
    
    * Added get examples
    
    * Added example for vm size properties
    
    * Added example for vm size properties
    
    Co-authored-by: Theodore Chang <thchan@microsoft.com>
    
    * Spec for ProtectedSettingsFromKeyVault and AllowExtensionOperations (#16590)
    
    * KV changes
    
    * adding allowExtensionOperation
    
    * fixing examples
    
    * Add repairAction to auto repairs feature and update grace period to PT10M (#16535)
    
    * Add timeCreated to properties for VM, VMSS, CR, DH resources (#16539)
    
    * add creationTime to properties for VM, VMSS, CR, DH resources + remove
    required location for Resources
    
    * rename creationTime to timeCreated
    
    * examples for timeCreated
    
    * add minimum api-version to descriptions for timeCreated
    
    * add GetVirtualMachineScaleSet example
    
    * reformat example
    
    Co-authored-by: Chase Van Buskirk <cvanbuskirk@microsoft.com>
    
    * DedicatedHost Reboot Feature (#16737)
    
    * added new feature to compute.json
    
    * added example for my feature
    
    * prettier check on the reboot example
    
    * fixed names of parameters in example file:
    
    * changed name to DedicatedHosts_reboot and moved change to where the other DH APIs are
    
    * added cloud error to the reboot
    
    * fixed default error, it was in the wrong spot
    
    * moved reboot to end of specs
    
    * moved older swagger files to 2021-11-01
    
    * reverted previous commit
    
    * renamed reboot to restart as per sameers comment
    
    * updated description as per sameers comment
    
    * updated api version to 2021-11-01 per sameers comment
    
    * Adding the new paramaters zone/placementGroupId to forceRecoveryServiceFabricPlatformUpdateDomainWalk VMSS API (#17041)
    
    * save (#17091)
    
    Co-authored-by: Theodore Chang <thchan@microsoft.com>
    
    * Update compute.json (#16482)
    
    When a customer tries to scale VMSS using Terraform, since the current definitions do not have publicIpPrefix property, the new VM will be assigned a random IP address which is outside the range of public Ip prefix. Customer has to resolve the issue by deleting the Vmss and recreating it. This PR tries to resolve the issue by adding the publicIpPrefix property in the JSON definition which is used to generate a request for VMSS update.
    
    More details about the issue can be found here - #10190
    
    * add vmss filter to list  (#16957)
    
    * change1 for change file
    
    * change description
    
    * change description
    
    Co-authored-by: LexieXie <lexiexie@microsoft.com>
    
    * move Kashif's change to 2021-11-01
    
    * Revert "Spec for ProtectedSettingsFromKeyVault and AllowExtensionOperations (#16590)" (#17121)
    
    This reverts commit 220cfd0.
    
    * fix CI failures, and run prettier on added examples
    
    * for credscan. change password example
    
    * Update readme.python.md
    
    * Compute Swagger changes to include cross-region Restore Points scenarios (#16682)
    
    * RRP changes in swagger
    
    * Fix conflicts
    
    * fix validations
    
    * Fix instance view
    
    * change instance view
    
    * Fix example
    
    * Fix prettier
    
    * Fix and modify description
    
    * Review comments
    
    * make new api call long-running-operation
    
    * compute folder with pre-population
    
    * fix examples folder
    
    * fix an example file
    
    * update compute to match last version
    
    * run prettier fix examples
    
    * change capitalization
    
    * Compute Swagger changes to include cross-region Restore Points scenarios (#16570)
    
    * RRP changes in swagger
    
    * Fix conflicts
    
    * fix validations
    
    * Fix instance view
    
    * Revert "Compute Swagger changes to include cross-region Restore Points scenarios (#16570)" (#16663)
    
    This reverts commit 70a8729.
    
    * sync with last version
    
    * add missing examples
    
    * Add VMSS filter to List VMs (#16813)
    
    * change1 for change file
    
    * change description
    
    * change description
    
    * Revert "Add VMSS filter to List VMs (#16813)" (#16956)
    
    This reverts commit 231fd22.
    
    * Remove impossible state from example (#16544)
    
    * Added CVM settings for version 2021-11-01 (#16622)
    
    * Added CVM settings
    
    * added examples
    
    * Add CMK examples
    
    * fixed typo
    
    * fixed file name
    
    * prettier check
    
    * removed a br
    
    * changed to VMDiskSecurityProfile
    
    * type as object
    
    * Added vm size properties for vm scale set (#16723)
    
    * Added vm size properties
    
    * Added get examples
    
    * Added example for vm size properties
    
    * Added example for vm size properties
    
    Co-authored-by: Theodore Chang <thchan@microsoft.com>
    
    * Spec for ProtectedSettingsFromKeyVault and AllowExtensionOperations (#16590)
    
    * KV changes
    
    * adding allowExtensionOperation
    
    * fixing examples
    
    * Add repairAction to auto repairs feature and update grace period to PT10M (#16535)
    
    * Add timeCreated to properties for VM, VMSS, CR, DH resources (#16539)
    
    * add creationTime to properties for VM, VMSS, CR, DH resources + remove
    required location for Resources
    
    * rename creationTime to timeCreated
    
    * examples for timeCreated
    
    * add minimum api-version to descriptions for timeCreated
    
    * add GetVirtualMachineScaleSet example
    
    * reformat example
    
    Co-authored-by: Chase Van Buskirk <cvanbuskirk@microsoft.com>
    
    * DedicatedHost Reboot Feature (#16737)
    
    * added new feature to compute.json
    
    * added example for my feature
    
    * prettier check on the reboot example
    
    * fixed names of parameters in example file:
    
    * changed name to DedicatedHosts_reboot and moved change to where the other DH APIs are
    
    * added cloud error to the reboot
    
    * fixed default error, it was in the wrong spot
    
    * moved reboot to end of specs
    
    * moved older swagger files to 2021-11-01
    
    * reverted previous commit
    
    * renamed reboot to restart as per sameers comment
    
    * updated description as per sameers comment
    
    * updated api version to 2021-11-01 per sameers comment
    
    * Adding the new paramaters zone/placementGroupId to forceRecoveryServiceFabricPlatformUpdateDomainWalk VMSS API (#17041)
    
    * save (#17091)
    
    Co-authored-by: Theodore Chang <thchan@microsoft.com>
    
    * Update compute.json (#16482)
    
    When a customer tries to scale VMSS using Terraform, since the current definitions do not have publicIpPrefix property, the new VM will be assigned a random IP address which is outside the range of public Ip prefix. Customer has to resolve the issue by deleting the Vmss and recreating it. This PR tries to resolve the issue by adding the publicIpPrefix property in the JSON definition which is used to generate a request for VMSS update.
    
    More details about the issue can be found here - #10190
    
    * add vmss filter to list  (#16957)
    
    * change1 for change file
    
    * change description
    
    * change description
    
    Co-authored-by: LexieXie <lexiexie@microsoft.com>
    
    * move Kashif's change to 2021-11-01
    
    * fix CI failures, and run prettier on added examples
    
    * Revert "Spec for ProtectedSettingsFromKeyVault and AllowExtensionOperations (#16590)" (#17121)
    
    This reverts commit 220cfd0.
    
    * for credscan. change password example
    
    * make new api call long-running-operation
    
    * Update readme.python.md
    
    * Compute Swagger changes to include cross-region Restore Points scenarios (#16682)
    
    * RRP changes in swagger
    
    * Fix conflicts
    
    * fix validations
    
    * Fix instance view
    
    * change instance view
    
    * Fix example
    
    * Fix prettier
    
    * Fix and modify description
    
    * Review comments
    
    * update Repair action to enum and update readme
    
    * rebase to main since 2021-08-01 merged. update readme
    
    * update x-ms-enum name for RepairType
    
    * add default response to operations
    
    * update
    
    * put back 'required' tag for Resource.Location property
    and use a new object for VM_LIST return object
    
    * fix json format
    
    * update examples
    
    * run prettier on updated examples
    
    * update example for credScan
    
    * add VirtualMachineResource for toplevel property suppression.
    
    * lint diff errors
    
    * lint diff fix update
    
    * remove change for VMextensions.location bug
    
    * return readme file and examples before vm.vmextension.location change
    
    Co-authored-by: sukodava <78733210+sukodava@users.noreply.github.com>
    Co-authored-by: Dapeng Zhang <dapzhang@microsoft.com>
    Co-authored-by: xielexie <94083876+xielexie@users.noreply.github.com>
    Co-authored-by: Mike Richmond <mirichmo@microsoft.com>
    Co-authored-by: Avinash <akka@usc.edu>
    Co-authored-by: Avinash Akka <avakka@microsoft.com>
    Co-authored-by: ms-saypaul <67093296+ms-saypaul@users.noreply.github.com>
    Co-authored-by: Raktima Das <raktdas@microsoft.com>
    Co-authored-by: kamusta-msft <56413142+kamusta-msft@users.noreply.github.com>
    Co-authored-by: frank-pang-msft <92764154+frank-pang-msft@users.noreply.github.com>
    Co-authored-by: Chase VanBuskirk <chasevanb@gmail.com>
    Co-authored-by: Chase Van Buskirk <cvanbuskirk@microsoft.com>
    Co-authored-by: vbhasker-msft <93355049+vbhasker-msft@users.noreply.github.com>
    Co-authored-by: avjai <34567499+avjai@users.noreply.github.com>
    Co-authored-by: kangsun-ctrl <69279251+kangsun-ctrl@users.noreply.github.com>
    Co-authored-by: karthikka4820 <88366202+karthikka4820@users.noreply.github.com>
    Co-authored-by: LexieXie <lexiexie@microsoft.com>
    Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
    mstrisoline pushed a commit to mstrisoline/azure-rest-api-specs that referenced this pull request Feb 1, 2022
    * compute folder with pre-population
    
    * fix examples folder
    
    * fix an example file
    
    * update compute to match last version
    
    * run prettier fix examples
    
    * change capitalization
    
    * Compute Swagger changes to include cross-region Restore Points scenarios (Azure#16570)
    
    * RRP changes in swagger
    
    * Fix conflicts
    
    * fix validations
    
    * Fix instance view
    
    * Revert "Compute Swagger changes to include cross-region Restore Points scenarios (Azure#16570)" (Azure#16663)
    
    This reverts commit 70a8729.
    
    * sync with last version
    
    * add missing examples
    
    * suppress bodyTopLevelProperties
    
    * Add VMSS filter to List VMs (Azure#16813)
    
    * change1 for change file
    
    * change description
    
    * change description
    
    * add suppression for required properties
    
    * Revert "Add VMSS filter to List VMs (Azure#16813)" (Azure#16956)
    
    This reverts commit 231fd22.
    
    * Remove impossible state from example (Azure#16544)
    
    * Downmerging change from Azure:main (Azure#16654)
    
    Co-authored-by: Avinash Akka <avakka@microsoft.com>
    
    * Added CVM settings for version 2021-11-01 (Azure#16622)
    
    * Added CVM settings
    
    * added examples
    
    * Add CMK examples
    
    * fixed typo
    
    * fixed file name
    
    * prettier check
    
    * removed a br
    
    * changed to VMDiskSecurityProfile
    
    * type as object
    
    * Added vm size properties for vm scale set (Azure#16723)
    
    * Added vm size properties
    
    * Added get examples
    
    * Added example for vm size properties
    
    * Added example for vm size properties
    
    Co-authored-by: Theodore Chang <thchan@microsoft.com>
    
    * Spec for ProtectedSettingsFromKeyVault and AllowExtensionOperations (Azure#16590)
    
    * KV changes
    
    * adding allowExtensionOperation
    
    * fixing examples
    
    * Add repairAction to auto repairs feature and update grace period to PT10M (Azure#16535)
    
    * Add timeCreated to properties for VM, VMSS, CR, DH resources (Azure#16539)
    
    * add creationTime to properties for VM, VMSS, CR, DH resources + remove
    required location for Resources
    
    * rename creationTime to timeCreated
    
    * examples for timeCreated
    
    * add minimum api-version to descriptions for timeCreated
    
    * add GetVirtualMachineScaleSet example
    
    * reformat example
    
    Co-authored-by: Chase Van Buskirk <cvanbuskirk@microsoft.com>
    
    * DedicatedHost Reboot Feature (Azure#16737)
    
    * added new feature to compute.json
    
    * added example for my feature
    
    * prettier check on the reboot example
    
    * fixed names of parameters in example file:
    
    * changed name to DedicatedHosts_reboot and moved change to where the other DH APIs are
    
    * added cloud error to the reboot
    
    * fixed default error, it was in the wrong spot
    
    * moved reboot to end of specs
    
    * moved older swagger files to 2021-11-01
    
    * reverted previous commit
    
    * renamed reboot to restart as per sameers comment
    
    * updated description as per sameers comment
    
    * updated api version to 2021-11-01 per sameers comment
    
    * Adding the new paramaters zone/placementGroupId to forceRecoveryServiceFabricPlatformUpdateDomainWalk VMSS API (Azure#17041)
    
    * save (Azure#17091)
    
    Co-authored-by: Theodore Chang <thchan@microsoft.com>
    
    * Update compute.json (Azure#16482)
    
    When a customer tries to scale VMSS using Terraform, since the current definitions do not have publicIpPrefix property, the new VM will be assigned a random IP address which is outside the range of public Ip prefix. Customer has to resolve the issue by deleting the Vmss and recreating it. This PR tries to resolve the issue by adding the publicIpPrefix property in the JSON definition which is used to generate a request for VMSS update.
    
    More details about the issue can be found here - Azure#10190
    
    * add vmss filter to list  (Azure#16957)
    
    * change1 for change file
    
    * change description
    
    * change description
    
    Co-authored-by: LexieXie <lexiexie@microsoft.com>
    
    * move Kashif's change to 2021-11-01
    
    * Revert "Spec for ProtectedSettingsFromKeyVault and AllowExtensionOperations (Azure#16590)" (Azure#17121)
    
    This reverts commit 220cfd0.
    
    * fix CI failures, and run prettier on added examples
    
    * for credscan. change password example
    
    * Update readme.python.md
    
    * Compute Swagger changes to include cross-region Restore Points scenarios (Azure#16682)
    
    * RRP changes in swagger
    
    * Fix conflicts
    
    * fix validations
    
    * Fix instance view
    
    * change instance view
    
    * Fix example
    
    * Fix prettier
    
    * Fix and modify description
    
    * Review comments
    
    * make new api call long-running-operation
    
    * compute folder with pre-population
    
    * fix examples folder
    
    * fix an example file
    
    * update compute to match last version
    
    * run prettier fix examples
    
    * change capitalization
    
    * Compute Swagger changes to include cross-region Restore Points scenarios (Azure#16570)
    
    * RRP changes in swagger
    
    * Fix conflicts
    
    * fix validations
    
    * Fix instance view
    
    * Revert "Compute Swagger changes to include cross-region Restore Points scenarios (Azure#16570)" (Azure#16663)
    
    This reverts commit 70a8729.
    
    * sync with last version
    
    * add missing examples
    
    * Add VMSS filter to List VMs (Azure#16813)
    
    * change1 for change file
    
    * change description
    
    * change description
    
    * Revert "Add VMSS filter to List VMs (Azure#16813)" (Azure#16956)
    
    This reverts commit 231fd22.
    
    * Remove impossible state from example (Azure#16544)
    
    * Added CVM settings for version 2021-11-01 (Azure#16622)
    
    * Added CVM settings
    
    * added examples
    
    * Add CMK examples
    
    * fixed typo
    
    * fixed file name
    
    * prettier check
    
    * removed a br
    
    * changed to VMDiskSecurityProfile
    
    * type as object
    
    * Added vm size properties for vm scale set (Azure#16723)
    
    * Added vm size properties
    
    * Added get examples
    
    * Added example for vm size properties
    
    * Added example for vm size properties
    
    Co-authored-by: Theodore Chang <thchan@microsoft.com>
    
    * Spec for ProtectedSettingsFromKeyVault and AllowExtensionOperations (Azure#16590)
    
    * KV changes
    
    * adding allowExtensionOperation
    
    * fixing examples
    
    * Add repairAction to auto repairs feature and update grace period to PT10M (Azure#16535)
    
    * Add timeCreated to properties for VM, VMSS, CR, DH resources (Azure#16539)
    
    * add creationTime to properties for VM, VMSS, CR, DH resources + remove
    required location for Resources
    
    * rename creationTime to timeCreated
    
    * examples for timeCreated
    
    * add minimum api-version to descriptions for timeCreated
    
    * add GetVirtualMachineScaleSet example
    
    * reformat example
    
    Co-authored-by: Chase Van Buskirk <cvanbuskirk@microsoft.com>
    
    * DedicatedHost Reboot Feature (Azure#16737)
    
    * added new feature to compute.json
    
    * added example for my feature
    
    * prettier check on the reboot example
    
    * fixed names of parameters in example file:
    
    * changed name to DedicatedHosts_reboot and moved change to where the other DH APIs are
    
    * added cloud error to the reboot
    
    * fixed default error, it was in the wrong spot
    
    * moved reboot to end of specs
    
    * moved older swagger files to 2021-11-01
    
    * reverted previous commit
    
    * renamed reboot to restart as per sameers comment
    
    * updated description as per sameers comment
    
    * updated api version to 2021-11-01 per sameers comment
    
    * Adding the new paramaters zone/placementGroupId to forceRecoveryServiceFabricPlatformUpdateDomainWalk VMSS API (Azure#17041)
    
    * save (Azure#17091)
    
    Co-authored-by: Theodore Chang <thchan@microsoft.com>
    
    * Update compute.json (Azure#16482)
    
    When a customer tries to scale VMSS using Terraform, since the current definitions do not have publicIpPrefix property, the new VM will be assigned a random IP address which is outside the range of public Ip prefix. Customer has to resolve the issue by deleting the Vmss and recreating it. This PR tries to resolve the issue by adding the publicIpPrefix property in the JSON definition which is used to generate a request for VMSS update.
    
    More details about the issue can be found here - Azure#10190
    
    * add vmss filter to list  (Azure#16957)
    
    * change1 for change file
    
    * change description
    
    * change description
    
    Co-authored-by: LexieXie <lexiexie@microsoft.com>
    
    * move Kashif's change to 2021-11-01
    
    * fix CI failures, and run prettier on added examples
    
    * Revert "Spec for ProtectedSettingsFromKeyVault and AllowExtensionOperations (Azure#16590)" (Azure#17121)
    
    This reverts commit 220cfd0.
    
    * for credscan. change password example
    
    * make new api call long-running-operation
    
    * Update readme.python.md
    
    * Compute Swagger changes to include cross-region Restore Points scenarios (Azure#16682)
    
    * RRP changes in swagger
    
    * Fix conflicts
    
    * fix validations
    
    * Fix instance view
    
    * change instance view
    
    * Fix example
    
    * Fix prettier
    
    * Fix and modify description
    
    * Review comments
    
    * update Repair action to enum and update readme
    
    * rebase to main since 2021-08-01 merged. update readme
    
    * update x-ms-enum name for RepairType
    
    * add default response to operations
    
    * update
    
    * put back 'required' tag for Resource.Location property
    and use a new object for VM_LIST return object
    
    * fix json format
    
    * update examples
    
    * run prettier on updated examples
    
    * update example for credScan
    
    * add VirtualMachineResource for toplevel property suppression.
    
    * lint diff errors
    
    * lint diff fix update
    
    * remove change for VMextensions.location bug
    
    * return readme file and examples before vm.vmextension.location change
    
    Co-authored-by: sukodava <78733210+sukodava@users.noreply.github.com>
    Co-authored-by: Dapeng Zhang <dapzhang@microsoft.com>
    Co-authored-by: xielexie <94083876+xielexie@users.noreply.github.com>
    Co-authored-by: Mike Richmond <mirichmo@microsoft.com>
    Co-authored-by: Avinash <akka@usc.edu>
    Co-authored-by: Avinash Akka <avakka@microsoft.com>
    Co-authored-by: ms-saypaul <67093296+ms-saypaul@users.noreply.github.com>
    Co-authored-by: Raktima Das <raktdas@microsoft.com>
    Co-authored-by: kamusta-msft <56413142+kamusta-msft@users.noreply.github.com>
    Co-authored-by: frank-pang-msft <92764154+frank-pang-msft@users.noreply.github.com>
    Co-authored-by: Chase VanBuskirk <chasevanb@gmail.com>
    Co-authored-by: Chase Van Buskirk <cvanbuskirk@microsoft.com>
    Co-authored-by: vbhasker-msft <93355049+vbhasker-msft@users.noreply.github.com>
    Co-authored-by: avjai <34567499+avjai@users.noreply.github.com>
    Co-authored-by: kangsun-ctrl <69279251+kangsun-ctrl@users.noreply.github.com>
    Co-authored-by: karthikka4820 <88366202+karthikka4820@users.noreply.github.com>
    Co-authored-by: LexieXie <lexiexie@microsoft.com>
    Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
    LeiWang3 pushed a commit to LeiWang3/azure-rest-api-specs that referenced this pull request Mar 31, 2022
    * compute folder with pre-population
    
    * fix examples folder
    
    * fix an example file
    
    * update compute to match last version
    
    * run prettier fix examples
    
    * change capitalization
    
    * Compute Swagger changes to include cross-region Restore Points scenarios (Azure#16570)
    
    * RRP changes in swagger
    
    * Fix conflicts
    
    * fix validations
    
    * Fix instance view
    
    * Revert "Compute Swagger changes to include cross-region Restore Points scenarios (Azure#16570)" (Azure#16663)
    
    This reverts commit 70a8729.
    
    * sync with last version
    
    * add missing examples
    
    * suppress bodyTopLevelProperties
    
    * Add VMSS filter to List VMs (Azure#16813)
    
    * change1 for change file
    
    * change description
    
    * change description
    
    * add suppression for required properties
    
    * Revert "Add VMSS filter to List VMs (Azure#16813)" (Azure#16956)
    
    This reverts commit 231fd22.
    
    * Remove impossible state from example (Azure#16544)
    
    * Downmerging change from Azure:main (Azure#16654)
    
    Co-authored-by: Avinash Akka <avakka@microsoft.com>
    
    * Added CVM settings for version 2021-11-01 (Azure#16622)
    
    * Added CVM settings
    
    * added examples
    
    * Add CMK examples
    
    * fixed typo
    
    * fixed file name
    
    * prettier check
    
    * removed a br
    
    * changed to VMDiskSecurityProfile
    
    * type as object
    
    * Added vm size properties for vm scale set (Azure#16723)
    
    * Added vm size properties
    
    * Added get examples
    
    * Added example for vm size properties
    
    * Added example for vm size properties
    
    Co-authored-by: Theodore Chang <thchan@microsoft.com>
    
    * Spec for ProtectedSettingsFromKeyVault and AllowExtensionOperations (Azure#16590)
    
    * KV changes
    
    * adding allowExtensionOperation
    
    * fixing examples
    
    * Add repairAction to auto repairs feature and update grace period to PT10M (Azure#16535)
    
    * Add timeCreated to properties for VM, VMSS, CR, DH resources (Azure#16539)
    
    * add creationTime to properties for VM, VMSS, CR, DH resources + remove
    required location for Resources
    
    * rename creationTime to timeCreated
    
    * examples for timeCreated
    
    * add minimum api-version to descriptions for timeCreated
    
    * add GetVirtualMachineScaleSet example
    
    * reformat example
    
    Co-authored-by: Chase Van Buskirk <cvanbuskirk@microsoft.com>
    
    * DedicatedHost Reboot Feature (Azure#16737)
    
    * added new feature to compute.json
    
    * added example for my feature
    
    * prettier check on the reboot example
    
    * fixed names of parameters in example file:
    
    * changed name to DedicatedHosts_reboot and moved change to where the other DH APIs are
    
    * added cloud error to the reboot
    
    * fixed default error, it was in the wrong spot
    
    * moved reboot to end of specs
    
    * moved older swagger files to 2021-11-01
    
    * reverted previous commit
    
    * renamed reboot to restart as per sameers comment
    
    * updated description as per sameers comment
    
    * updated api version to 2021-11-01 per sameers comment
    
    * Adding the new paramaters zone/placementGroupId to forceRecoveryServiceFabricPlatformUpdateDomainWalk VMSS API (Azure#17041)
    
    * save (Azure#17091)
    
    Co-authored-by: Theodore Chang <thchan@microsoft.com>
    
    * Update compute.json (Azure#16482)
    
    When a customer tries to scale VMSS using Terraform, since the current definitions do not have publicIpPrefix property, the new VM will be assigned a random IP address which is outside the range of public Ip prefix. Customer has to resolve the issue by deleting the Vmss and recreating it. This PR tries to resolve the issue by adding the publicIpPrefix property in the JSON definition which is used to generate a request for VMSS update.
    
    More details about the issue can be found here - Azure#10190
    
    * add vmss filter to list  (Azure#16957)
    
    * change1 for change file
    
    * change description
    
    * change description
    
    Co-authored-by: LexieXie <lexiexie@microsoft.com>
    
    * move Kashif's change to 2021-11-01
    
    * Revert "Spec for ProtectedSettingsFromKeyVault and AllowExtensionOperations (Azure#16590)" (Azure#17121)
    
    This reverts commit 220cfd0.
    
    * fix CI failures, and run prettier on added examples
    
    * for credscan. change password example
    
    * Update readme.python.md
    
    * Compute Swagger changes to include cross-region Restore Points scenarios (Azure#16682)
    
    * RRP changes in swagger
    
    * Fix conflicts
    
    * fix validations
    
    * Fix instance view
    
    * change instance view
    
    * Fix example
    
    * Fix prettier
    
    * Fix and modify description
    
    * Review comments
    
    * make new api call long-running-operation
    
    * compute folder with pre-population
    
    * fix examples folder
    
    * fix an example file
    
    * update compute to match last version
    
    * run prettier fix examples
    
    * change capitalization
    
    * Compute Swagger changes to include cross-region Restore Points scenarios (Azure#16570)
    
    * RRP changes in swagger
    
    * Fix conflicts
    
    * fix validations
    
    * Fix instance view
    
    * Revert "Compute Swagger changes to include cross-region Restore Points scenarios (Azure#16570)" (Azure#16663)
    
    This reverts commit 70a8729.
    
    * sync with last version
    
    * add missing examples
    
    * Add VMSS filter to List VMs (Azure#16813)
    
    * change1 for change file
    
    * change description
    
    * change description
    
    * Revert "Add VMSS filter to List VMs (Azure#16813)" (Azure#16956)
    
    This reverts commit 231fd22.
    
    * Remove impossible state from example (Azure#16544)
    
    * Added CVM settings for version 2021-11-01 (Azure#16622)
    
    * Added CVM settings
    
    * added examples
    
    * Add CMK examples
    
    * fixed typo
    
    * fixed file name
    
    * prettier check
    
    * removed a br
    
    * changed to VMDiskSecurityProfile
    
    * type as object
    
    * Added vm size properties for vm scale set (Azure#16723)
    
    * Added vm size properties
    
    * Added get examples
    
    * Added example for vm size properties
    
    * Added example for vm size properties
    
    Co-authored-by: Theodore Chang <thchan@microsoft.com>
    
    * Spec for ProtectedSettingsFromKeyVault and AllowExtensionOperations (Azure#16590)
    
    * KV changes
    
    * adding allowExtensionOperation
    
    * fixing examples
    
    * Add repairAction to auto repairs feature and update grace period to PT10M (Azure#16535)
    
    * Add timeCreated to properties for VM, VMSS, CR, DH resources (Azure#16539)
    
    * add creationTime to properties for VM, VMSS, CR, DH resources + remove
    required location for Resources
    
    * rename creationTime to timeCreated
    
    * examples for timeCreated
    
    * add minimum api-version to descriptions for timeCreated
    
    * add GetVirtualMachineScaleSet example
    
    * reformat example
    
    Co-authored-by: Chase Van Buskirk <cvanbuskirk@microsoft.com>
    
    * DedicatedHost Reboot Feature (Azure#16737)
    
    * added new feature to compute.json
    
    * added example for my feature
    
    * prettier check on the reboot example
    
    * fixed names of parameters in example file:
    
    * changed name to DedicatedHosts_reboot and moved change to where the other DH APIs are
    
    * added cloud error to the reboot
    
    * fixed default error, it was in the wrong spot
    
    * moved reboot to end of specs
    
    * moved older swagger files to 2021-11-01
    
    * reverted previous commit
    
    * renamed reboot to restart as per sameers comment
    
    * updated description as per sameers comment
    
    * updated api version to 2021-11-01 per sameers comment
    
    * Adding the new paramaters zone/placementGroupId to forceRecoveryServiceFabricPlatformUpdateDomainWalk VMSS API (Azure#17041)
    
    * save (Azure#17091)
    
    Co-authored-by: Theodore Chang <thchan@microsoft.com>
    
    * Update compute.json (Azure#16482)
    
    When a customer tries to scale VMSS using Terraform, since the current definitions do not have publicIpPrefix property, the new VM will be assigned a random IP address which is outside the range of public Ip prefix. Customer has to resolve the issue by deleting the Vmss and recreating it. This PR tries to resolve the issue by adding the publicIpPrefix property in the JSON definition which is used to generate a request for VMSS update.
    
    More details about the issue can be found here - Azure#10190
    
    * add vmss filter to list  (Azure#16957)
    
    * change1 for change file
    
    * change description
    
    * change description
    
    Co-authored-by: LexieXie <lexiexie@microsoft.com>
    
    * move Kashif's change to 2021-11-01
    
    * fix CI failures, and run prettier on added examples
    
    * Revert "Spec for ProtectedSettingsFromKeyVault and AllowExtensionOperations (Azure#16590)" (Azure#17121)
    
    This reverts commit 220cfd0.
    
    * for credscan. change password example
    
    * make new api call long-running-operation
    
    * Update readme.python.md
    
    * Compute Swagger changes to include cross-region Restore Points scenarios (Azure#16682)
    
    * RRP changes in swagger
    
    * Fix conflicts
    
    * fix validations
    
    * Fix instance view
    
    * change instance view
    
    * Fix example
    
    * Fix prettier
    
    * Fix and modify description
    
    * Review comments
    
    * update Repair action to enum and update readme
    
    * rebase to main since 2021-08-01 merged. update readme
    
    * update x-ms-enum name for RepairType
    
    * add default response to operations
    
    * update
    
    * put back 'required' tag for Resource.Location property
    and use a new object for VM_LIST return object
    
    * fix json format
    
    * update examples
    
    * run prettier on updated examples
    
    * update example for credScan
    
    * add VirtualMachineResource for toplevel property suppression.
    
    * lint diff errors
    
    * lint diff fix update
    
    * remove change for VMextensions.location bug
    
    * return readme file and examples before vm.vmextension.location change
    
    Co-authored-by: sukodava <78733210+sukodava@users.noreply.github.com>
    Co-authored-by: Dapeng Zhang <dapzhang@microsoft.com>
    Co-authored-by: xielexie <94083876+xielexie@users.noreply.github.com>
    Co-authored-by: Mike Richmond <mirichmo@microsoft.com>
    Co-authored-by: Avinash <akka@usc.edu>
    Co-authored-by: Avinash Akka <avakka@microsoft.com>
    Co-authored-by: ms-saypaul <67093296+ms-saypaul@users.noreply.github.com>
    Co-authored-by: Raktima Das <raktdas@microsoft.com>
    Co-authored-by: kamusta-msft <56413142+kamusta-msft@users.noreply.github.com>
    Co-authored-by: frank-pang-msft <92764154+frank-pang-msft@users.noreply.github.com>
    Co-authored-by: Chase VanBuskirk <chasevanb@gmail.com>
    Co-authored-by: Chase Van Buskirk <cvanbuskirk@microsoft.com>
    Co-authored-by: vbhasker-msft <93355049+vbhasker-msft@users.noreply.github.com>
    Co-authored-by: avjai <34567499+avjai@users.noreply.github.com>
    Co-authored-by: kangsun-ctrl <69279251+kangsun-ctrl@users.noreply.github.com>
    Co-authored-by: karthikka4820 <88366202+karthikka4820@users.noreply.github.com>
    Co-authored-by: LexieXie <lexiexie@microsoft.com>
    Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
    @JackTn JackTn deleted the revert-16590-dev/kamusta/protectedSettingsKV branch June 16, 2022 00:52
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    2 participants