-
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.
Merge branch 'main' into kamboj-prjwl/release-network-Microsoft.Netwo…
…rk-2024-05-01
- Loading branch information
Showing
3 changed files
with
20 additions
and
63 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import "./main.tsp"; | ||
import "@azure-tools/typespec-client-generator-core"; | ||
|
||
using Azure.ClientGenerator.Core; | ||
|
||
@@clientName(Neon.Postgres, "NeonPostgresMgmtClient", "python"); |
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
71 changes: 8 additions & 63 deletions
71
specification/resourcehealth/resource-manager/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 |
---|---|---|
@@ -1,74 +1,19 @@ | ||
## Python | ||
|
||
These settings apply only when `--track2` is specified on the command line. | ||
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>`. | ||
|
||
``` yaml $(python) | ||
azure-arm: true | ||
title: ResourceHealthMgmtClient | ||
license-header: MICROSOFT_MIT_NO_VERSION | ||
package-name: azure-mgmt-resourcehealth | ||
no-namespace-folders: true | ||
package-version: 1.0.0b1 | ||
``` | ||
### Python multi-api | ||
Generate all API versions currently shipped for this package | ||
```yaml $(python) | ||
multiapi: true | ||
default-api-version: "2022-10-01" | ||
namespace: azure.mgmt.resourcehealth | ||
package-version: 1.0.0 | ||
clear-output-folder: true | ||
batch: | ||
- tag: package-preview-2023-10 | ||
- tag: package-2022-10 | ||
- tag: package-2018-07-01 | ||
- tag: package-2015-01 | ||
- multiapiscript: true | ||
``` | ||
``` yaml $(multiapiscript) | ||
output-folder: $(python-sdks-folder)/resourcehealth/azure-mgmt-resourcehealth/azure/mgmt/resourcehealth/ | ||
clear-output-folder: false | ||
perform-load: false | ||
``` | ||
### Tag: package-preview-2023-10 and python | ||
These settings apply only when `--tag=package-preview-2023-10 --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>`. | ||
|
||
``` yaml $(tag) == 'package-preview-2023-10' | ||
namespace: azure.mgmt.resourcehealth.v2023_10_01_preview | ||
output-folder: $(python-sdks-folder)/resourcehealth/azure-mgmt-resourcehealth/azure/mgmt/resourcehealth/v2023_10_01_preview | ||
``` | ||
|
||
### Tag: package-2022-10 and python | ||
|
||
These settings apply only when `--tag=package-2022-10 --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>`. | ||
|
||
``` yaml $(tag) == 'package-2022-10' | ||
namespace: azure.mgmt.resourcehealth.v2022_10_01 | ||
output-folder: $(python-sdks-folder)/resourcehealth/azure-mgmt-resourcehealth/azure/mgmt/resourcehealth/v2022_10_01 | ||
``` | ||
|
||
### Tag: package-2018-07-01 and python | ||
|
||
These settings apply only when `--tag=package-2018-07-01 --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>`. | ||
|
||
``` yaml $(tag) == 'package-2018-07-01' | ||
namespace: azure.mgmt.resourcehealth.v2018_07_01 | ||
output-folder: $(python-sdks-folder)/resourcehealth/azure-mgmt-resourcehealth/azure/mgmt/resourcehealth/v2018_07_01 | ||
title: ResourceHealthMgmtClient | ||
``` | ||
### Tag: package-2015-01 and python | ||
|
||
These settings apply only when `--tag=package-2015-01 --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>`. | ||
|
||
``` yaml $(tag) == 'package-2015-01' | ||
namespace: azure.mgmt.resourcehealth.v2015_01_01 | ||
output-folder: $(python-sdks-folder)/resourcehealth/azure-mgmt-resourcehealth/azure/mgmt/resourcehealth/v2015_01_01 | ||
``` yaml $(python) | ||
no-namespace-folders: true | ||
output-folder: $(python-sdks-folder)/resourcehealth/azure-mgmt-resourcehealth/azure/mgmt/resourcehealth | ||
``` |