Skip to content

Commit

Permalink
Merge branch 'main' into kamboj-prjwl/release-network-Microsoft.Netwo…
Browse files Browse the repository at this point in the history
…rk-2024-05-01
  • Loading branch information
kamboj-prjwl authored Oct 29, 2024
2 parents 07b0710 + e3a408f commit 2977148
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 63 deletions.
6 changes: 6 additions & 0 deletions specification/liftrneon/Neon.Postgres.Management/client.tsp
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");
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,9 @@ options:
namespace: "Azure.ResourceManager.NeonPostgres"
model-namespace: false
generate-sample-project: false
"@azure-tools/typespec-python":
package-dir: "azure-mgmt-neonpostgres"
package-name: "{package-dir}"
flavor: "azure"
generate-test: true
generate-sample: true
71 changes: 8 additions & 63 deletions specification/resourcehealth/resource-manager/readme.python.md
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
```

0 comments on commit 2977148

Please sign in to comment.