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

Onboarding Microsoft.DBforPostgreSQL - postgresqlhsc for autogeneration #2920

Closed
wants to merge 1 commit into from

Conversation

senatol
Copy link
Member

@senatol senatol commented Jul 14, 2023

Following instructions here.

@senatol
Copy link
Member Author

senatol commented Jul 14, 2023

npm run generate-single -- --base-path postgresqlhsc/resource-manager

> template-schema-generator@1.0.0 generate-single
> ts-node cmd/generatesingle --base-path postgresqlhsc/resource-manager

[C:\Users\SEGUNG~1.MID\AppData\Local\Temp\schm_azspc] executing: git fsck
[C:\Users\SEGUNG~1.MID\AppData\Local\Temp\schm_azspc] executing: git reset -q .
[C:\Users\SEGUNG~1.MID\AppData\Local\Temp\schm_azspc] executing: git checkout -q -- .
[C:\Users\SEGUNG~1.MID\AppData\Local\Temp\schm_azspc] executing: git clean -q -fd
[C:\Users\SEGUNG~1.MID\AppData\Local\Temp\schm_azspc] executing: git gc
[C:\Users\SEGUNG~1.MID\AppData\Local\Temp\schm_azspc] executing: git fetch -q
[C:\Users\SEGUNG~1.MID\AppData\Local\Temp\schm_azspc] executing: git checkout -q origin/main
Using autogenlist config:
{
  "basePath": "postgresqlhsc/resource-manager",
  "namespace": "Microsoft.DBforPostgreSQL"
}
[C:\code\azure-resource-manager-schemas\generator] executing: C:\code\azure-resource-manager-schemas\generator/node_modules/.bin/autorest.cmd --version=3.0.6374 --use=@autorest/azureresourceschema@3.0.109 --azureresourceschema --output-folder=C:\Users\SEGUNG~1.MID\AppData\Local\Temp\lf6um4ez5fn --multiapi --pass-thru:subset-reducer --pass-thru:schema-validator-swagger C:\Users\SEGUNG~1.MID\AppData\Local\Temp\schm_azspc\specification\postgresqlhsc\resource-manager\readme.md

WARNING: AutoRest has not been tested with Node versions greater than v14.

AutoRest code generation utility [cli version: 3.3.2; node: v18.12.1]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
NOTE: AutoRest core version selected from configuration: 3.0.6374.

There is a new version of AutoRest available (3.6.3).
 > You can install the newer version with with npm install -g autorest@latest

   Loading AutoRest core      'C:\Users\segungor.MIDDLEEAST\.autorest\@autorest_core@3.0.6374\node_modules\@autorest\core\dist' (3.0.6374)
   Loading AutoRest extension '@autorest/azureresourceschema' (3.0.109->3.0.109)
Processing batch task - {"tag":"schema-2022-11-08"} .
[9.58 s] Generation Complete
================================================================================================================================
Filename: C:\code\azure-resource-manager-schemas\schemas\2022-11-08\Microsoft.DBforPostgreSQL.json
Provider Namespace: Microsoft.DBforPostgreSQL
API Version: 2022-11-08
Resource Types (Resource Group Scope):
- serverGroupsv2
- serverGroupsv2/coordinatorConfigurations
- serverGroupsv2/firewallRules
- serverGroupsv2/nodeConfigurations
- serverGroupsv2/privateEndpointConnections
- serverGroupsv2/roles
================================================================================================================================

@senatol senatol closed this Jul 14, 2023
@senatol senatol deleted the add-postgresqlhsc branch July 14, 2023 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant