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

Kusto: Onboard to auto generate #1962

Merged
merged 7 commits into from
Oct 25, 2021

Conversation

docohe
Copy link
Contributor

@docohe docohe commented Oct 14, 2021

Please don't merge this PR until this PR is completed:
Azure/azure-rest-api-specs#16405

@anthony-c-martin
Copy link
Member

Generator output:

> [email protected] generate-single /workspaces/azure-resource-manager-schemas/generator
> ts-node cmd/generatesingle "azure-kusto/resource-manager"

[/tmp/schm_azspc] executing: git fsck
[/tmp/schm_azspc] executing: git clone https://github.com/azure/azure-rest-api-specs /tmp/schm_azspc
Cloning into '/tmp/schm_azspc'...
Updating files: 100% (68344/68344), done.
[/tmp/schm_azspc] executing: git reset -q .
[/tmp/schm_azspc] executing: git checkout -q -- .
[/tmp/schm_azspc] executing: git clean -q -fd
[/tmp/schm_azspc] executing: git gc
[/tmp/schm_azspc] executing: git fetch -q
[/tmp/schm_azspc] executing: git checkout -q origin/main
Using autogenlist config:
{
  "basePath": "azure-kusto/resource-manager",
  "namespace": "Microsoft.Kusto"
}
[/workspaces/azure-resource-manager-schemas/generator] executing: /workspaces/azure-resource-manager-schemas/generator/node_modules/.bin/autorest --version=3.0.6374 --use=@autorest/[email protected] --azureresourceschema --output-folder=/tmp/m6g0892o59 --multiapi --pass-thru:subset-reducer /tmp/schm_azspc/specification/azure-kusto/resource-manager/readme.md
AutoRest code generation utility [cli version: 3.3.2; node: v14.15.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.4.2).
 > You can install the newer version with with npm install -g autorest@latest

   Loading AutoRest core      '/home/codespace/.autorest/@[email protected]/node_modules/@autorest/core/dist' (3.0.6374)
   Loading AutoRest extension '@autorest/azureresourceschema' (3.0.92->3.0.92)
Processing batch task - {"tag":"schema-2021-08-27"} .
Processing batch task - {"tag":"schema-2021-01-01"} .
Processing batch task - {"tag":"schema-2020-09-18"} .
Processing batch task - {"tag":"schema-2020-06-14"} .
Processing batch task - {"tag":"schema-2020-02-15"} .
Processing batch task - {"tag":"schema-2019-11-09"} .
Processing batch task - {"tag":"schema-2019-09-07"} .
Processing batch task - {"tag":"schema-2019-05-15"} .
Processing batch task - {"tag":"schema-2019-01-21"} .
Processing batch task - {"tag":"schema-2018-09-07-preview"} .
[54.21 s] Generation Complete
================================================================================================================================
Filename: /workspaces/azure-resource-manager-schemas/schemas/2018-09-07-preview/Microsoft.Kusto.json
Provider Namespace: Microsoft.Kusto
API Version: 2018-09-07-preview
Resource Types (Resource Group Scope):
- clusters
- clusters/databases
- clusters/databases/eventhubconnections
================================================================================================================================
================================================================================================================================
Filename: /workspaces/azure-resource-manager-schemas/schemas/2019-01-21/Microsoft.Kusto.json
Provider Namespace: Microsoft.Kusto
API Version: 2019-01-21
Resource Types (Resource Group Scope):
- clusters
- clusters/databases
- clusters/databases/dataConnections
================================================================================================================================
================================================================================================================================
Filename: /workspaces/azure-resource-manager-schemas/schemas/2019-05-15/Microsoft.Kusto.json
Provider Namespace: Microsoft.Kusto
API Version: 2019-05-15
Resource Types (Resource Group Scope):
- clusters
- clusters/databases
- clusters/databases/dataConnections
================================================================================================================================
================================================================================================================================
Filename: /workspaces/azure-resource-manager-schemas/schemas/2019-09-07/Microsoft.Kusto.json
Provider Namespace: Microsoft.Kusto
API Version: 2019-09-07
Resource Types (Resource Group Scope):
- clusters
- clusters/attachedDatabaseConfigurations
- clusters/databases
- clusters/databases/dataConnections
================================================================================================================================
================================================================================================================================
Filename: /workspaces/azure-resource-manager-schemas/schemas/2019-11-09/Microsoft.Kusto.json
Provider Namespace: Microsoft.Kusto
API Version: 2019-11-09
Resource Types (Resource Group Scope):
- clusters
- clusters/attachedDatabaseConfigurations
- clusters/databases
- clusters/databases/dataConnections
- clusters/databases/principalAssignments
- clusters/principalAssignments
- clusters/dataConnections
================================================================================================================================
================================================================================================================================
Filename: /workspaces/azure-resource-manager-schemas/schemas/2020-02-15/Microsoft.Kusto.json
Provider Namespace: Microsoft.Kusto
API Version: 2020-02-15
Resource Types (Resource Group Scope):
- clusters
- clusters/attachedDatabaseConfigurations
- clusters/databases
- clusters/databases/dataConnections
- clusters/databases/principalAssignments
- clusters/principalAssignments
- clusters/dataConnections
================================================================================================================================
================================================================================================================================
Filename: /workspaces/azure-resource-manager-schemas/schemas/2020-06-14/Microsoft.Kusto.json
Provider Namespace: Microsoft.Kusto
API Version: 2020-06-14
Resource Types (Resource Group Scope):
- clusters
- clusters/attachedDatabaseConfigurations
- clusters/databases
- clusters/databases/dataConnections
- clusters/databases/principalAssignments
- clusters/principalAssignments
- clusters/dataConnections
================================================================================================================================
================================================================================================================================
Filename: /workspaces/azure-resource-manager-schemas/schemas/2020-09-18/Microsoft.Kusto.json
Provider Namespace: Microsoft.Kusto
API Version: 2020-09-18
Resource Types (Resource Group Scope):
- clusters
- clusters/attachedDatabaseConfigurations
- clusters/databases
- clusters/databases/dataConnections
- clusters/databases/principalAssignments
- clusters/principalAssignments
- clusters/dataConnections
================================================================================================================================
================================================================================================================================
Filename: /workspaces/azure-resource-manager-schemas/schemas/2021-01-01/Microsoft.Kusto.json
Provider Namespace: Microsoft.Kusto
API Version: 2021-01-01
Resource Types (Resource Group Scope):
- clusters
- clusters/attachedDatabaseConfigurations
- clusters/databases
- clusters/databases/dataConnections
- clusters/databases/principalAssignments
- clusters/databases/scripts
- clusters/principalAssignments
- clusters/dataConnections
================================================================================================================================
================================================================================================================================
Filename: /workspaces/azure-resource-manager-schemas/schemas/2021-08-27/Microsoft.Kusto.json
Provider Namespace: Microsoft.Kusto
API Version: 2021-08-27
Resource Types (Resource Group Scope):
- clusters
- clusters/attachedDatabaseConfigurations
- clusters/databases
- clusters/databases/dataConnections
- clusters/databases/principalAssignments
- clusters/databases/scripts
- clusters/managedPrivateEndpoints
- clusters/principalAssignments
- clusters/privateEndpointConnections
- clusters/dataConnections
================================================================================================================================

Copy link
Member

@anthony-c-martin anthony-c-martin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks for onboarding!

@anthony-c-martin anthony-c-martin merged commit b997d0c into Azure:main Oct 25, 2021
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.

3 participants