-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reorganized the folder structure based the merged private pr 13385
- Loading branch information
Zhenyu Zhou
committed
Jul 28, 2023
1 parent
7bb0703
commit 4d77d96
Showing
31 changed files
with
560 additions
and
202 deletions.
There are no files selected for viewing
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...06-01-preview/examples/RunClusterJob.json → ...06-01-preview/examples/RunClusterJob.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
279 changes: 173 additions & 106 deletions
279
...preview/2023-06-01-preview/hdinsight.json → ...preview/2023-06-01-preview/hdinsight.json
Large diffs are not rendered by default.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
...tion/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.go.md
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,12 @@ | ||
## 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/armhdinsightonaks | ||
module: github.com/Azure/azure-sdk-for-go/$(module-name) | ||
output-folder: $(go-sdk-folder)/$(module-name) | ||
azure-arm: true | ||
``` |
115 changes: 115 additions & 0 deletions
115
...ication/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.md
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,115 @@ | ||
# HDInsight On Aks | ||
|
||
> see https://aka.ms/autorest | ||
This is the AutoRest configuration file for HDInsight On Aks. | ||
|
||
--- | ||
|
||
## Getting Started | ||
|
||
To build the SDK for HDInsight, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: | ||
|
||
> `autorest` | ||
To see additional help and options, run: | ||
|
||
> `autorest --help` | ||
--- | ||
|
||
## Configuration | ||
|
||
### Basic Information | ||
|
||
These are the global settings for the HDInsight On Aks API. | ||
|
||
``` yaml | ||
title: HDInsightOnAksManagementClient | ||
description: HDInsight On Aks Management Client | ||
openapi-type: arm | ||
openapi-subtype: rpaas | ||
azure-arm: true | ||
tag: package-2023-06-preview | ||
``` | ||
### Suppression | ||
### Tag: package-2023-06-preview | ||
These settings apply only when `--tag=package-2023-06-preview` is specified on the command line. | ||
|
||
```yaml $(tag) == 'package-2023-06-preview' | ||
input-file: | ||
- preview/2023-06-01-preview/hdinsight.json | ||
suppressions: | ||
- code: MISSING_APIS_IN_DEFAULT_TAG | ||
reason: Remove deprecated APIs in new API version. | ||
- code: ResourceNameRestriction | ||
reason: Keep compatibility with old API version. | ||
- code: PatchBodyParametersSchema | ||
reason: The "location" property is a must for a tracked resource. | ||
- code: TrackedResourcePatchOperation | ||
reason: This is a false positive, the "tags" property is defined in TrackedResource. | ||
- code: OperationIdNounVerb | ||
reason: This is false alarm. We checked that the operation id "Clusters_ListByClusterPoolName" is correct. | ||
- code: GetCollectionOnlyHasValueAndNextLink | ||
reason: This is false alarm. | ||
``` | ||
|
||
--- | ||
|
||
# Code Generation | ||
|
||
## Swagger to SDK | ||
|
||
This section describes what SDK should be generated by the automatic system. | ||
This is not used by Autorest itself. | ||
|
||
``` yaml $(swagger-to-sdk) | ||
swagger-to-sdk: | ||
- repo: azure-sdk-for-net-track2 | ||
- repo: azure-sdk-for-go | ||
- repo: azure-sdk-for-java | ||
- repo: azure-sdk-for-python-track2 | ||
- repo: azure-sdk-for-js | ||
- repo: azure-sdk-for-node | ||
- repo: azure-resource-manager-schemas | ||
- repo: azure-powershell | ||
``` | ||
|
||
## Python | ||
|
||
See configuration in [readme.python.md](./readme.python.md) | ||
|
||
## Go | ||
|
||
See configuration in [readme.go.md](./readme.go.md) | ||
|
||
## C# | ||
|
||
These settings apply only when `--csharp` is specified on the command line. | ||
Please also specify `--csharp-sdks-folder=<path to "SDKs" directory of your azure-sdk-for-net clone>`. | ||
|
||
``` yaml $(csharp) | ||
csharp: | ||
license-header: MICROSOFT_MIT_NO_VERSION | ||
namespace: Azure.ResourceManager.HDInsightOnAks | ||
output-folder: $(csharp-sdks-folder)/hdinsight/Azure.ResourceManager.HDInsightOnAks/src/Generated | ||
clear-output-folder: true | ||
``` | ||
|
||
|
||
## 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.hdinsightonaks | ||
license-header: MICROSOFT_MIT_NO_CODEGEN | ||
payload-flattening-threshold: 1 | ||
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-hdinsightonaks | ||
``` |
29 changes: 29 additions & 0 deletions
29
.../hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.nodejs.md
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,29 @@ | ||
## Node.js | ||
|
||
These settings apply only when `--nodejs` is specified on the command line. | ||
Please also specify `--node-sdks-folder=<path to root folder of your azure-sdk-for-node clone>`. | ||
|
||
``` yaml $(nodejs) | ||
nodejs: | ||
azure-arm: true | ||
package-name: azure-arm-hdinsight | ||
output-folder: $(node-sdks-folder)/lib/services/hdInsightManagement | ||
generate-license-txt: true | ||
generate-package-json: true | ||
generate-readme-md: true | ||
``` | ||
## Tag: package-hdinsightonaks-2023-06-preview and Node.js | ||
These settings apply only when `--tag=package-hdinsightonaks-2023-06-preview --nodejs` is specified on the command line. | ||
Please also specify `--node-sdks-folder=<path to root folder of your azure-sdk-for-node clone>`. | ||
|
||
``` yaml $(tag) == 'package-hdinsightonaks-2023-06-preview' && $(nodejs) | ||
nodejs: | ||
azure-arm: true | ||
package-name: azure-arm-hdinsightonaks | ||
output-folder: $(node-sdks-folder)/lib/services/hdInsightOnAksManagement | ||
generate-license-txt: true | ||
generate-package-json: true | ||
generate-readme-md: true | ||
``` |
25 changes: 25 additions & 0 deletions
25
.../hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.python.md
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,25 @@ | ||
## Python | ||
|
||
These settings apply only when `--python` is specified on the command line. | ||
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`. | ||
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. | ||
|
||
``` yaml $(python) | ||
title: HDInsightOnAksMgmtClient | ||
azure-arm: true | ||
license-header: MICROSOFT_MIT_NO_VERSION | ||
namespace: azure.mgmt.hdinsightonaks | ||
package-name: azure-mgmt-hdinsightonaks | ||
package-version: 1.0.0b1 | ||
clear-output-folder: true | ||
``` | ||
``` yaml $(python) | ||
no-namespace-folders: true | ||
output-folder: $(python-sdks-folder)/hdinsight/azure-mgmt-hdinsightonaks/azure/mgmt/hdinsightonaks | ||
``` | ||
``` yaml $(python) | ||
modelerfour: | ||
lenient-model-deduplication: true | ||
``` |
12 changes: 12 additions & 0 deletions
12
...nsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.typescript.md
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,12 @@ | ||
## TypeScript | ||
|
||
These settings apply only when `--typescript` is specified on the command line. | ||
Please also specify `--typescript-sdks-folder=<path to root folder of your azure-sdk-for-js clone>`. | ||
|
||
``` yaml $(typescript) | ||
typescript: | ||
azure-arm: true | ||
package-name: "@azure/arm-hdinsightonaks" | ||
output-folder: "$(typescript-sdks-folder)/sdk/hdinsight/arm-hdinsightonaks" | ||
generate-metadata: true | ||
``` |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.