-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
{RPaaS}{HDInsight}Try to fix warning in new hdi base rpaas master (#6186
) * Fix errors and some warning * Fix Operation API missed example error * Update readme.md and fix example error * Update operation example type * Fix Cody style error * Add different language readme * Fix python and go readme * update readme.md * Fix go readme error Co-authored-by: Zhenyu Zhou <[email protected]>
- Loading branch information
1 parent
4d6c142
commit 0dc1e2d
Showing
10 changed files
with
218 additions
and
32 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
...source-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/GetOperations.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "resourceGroup1", | ||
"api-version": "2021-09-15-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Microsoft.HDInsight/clusterpool/read", | ||
"isDataAction": false, | ||
"display": { | ||
"provider": "HDInsight on AKS", | ||
"resource": "Cluster Pool.", | ||
"operation": "Get Cluster Pool Operation result.", | ||
"description": "Get any cluster pool." | ||
}, | ||
"origin": "user, system" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
## Go | ||
|
||
These settings apply only when `--go` is specified on the command line. | ||
|
||
``` yaml $(go) && $(track2) | ||
license-header: MICROSOFT_MIT_NO_VERSION | ||
module-name: sdk/resourcemanager/hdinsight/armhdinsightaks | ||
module: github.com/Azure/azure-sdk-for-go/$(module-name) | ||
output-folder: $(go-sdk-folder)/$(module-name) | ||
azure-arm: true | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
## Java | ||
|
||
These settings apply only when `--java` is specified on the command line. | ||
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-libraries-for-java clone>`. | ||
|
||
``` yaml $(java) | ||
azure-arm: true | ||
fluent: true | ||
namespace: com.microsoft.azure.management.synapse | ||
license-header: MICROSOFT_MIT_NO_CODEGEN | ||
payload-flattening-threshold: 1 | ||
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-hdinsight-aks | ||
|
||
rename-model: 'SubResource:EntityResource' | ||
``` | ||
### Java multi-api | ||
``` yaml $(java) && $(multiapi) | ||
batch: | ||
- tag: package-2021-09-preview | ||
``` | ||
### Tag: package-2021-09-preview and java | ||
These settings apply only when `--tag=package-2021-09-preview --java` is specified on the command line. | ||
|
||
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`. | ||
|
||
``` yaml $(tag) == 'package-2019-06-01-preview' && $(java) && $(multiapi) | ||
java: | ||
namespace: com.microsoft.azure.management.synapse.v2021_09_15_preview | ||
output-folder: $(azure-libraries-for-java-folder)/sdk/hdinsight/aks/mgmt-v2019_06_01_preview | ||
regenerate-manager: true | ||
generate-interface: true | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.