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

[digitaltwins] Update autorest config for resource-management to include new API tag #22722

Merged
merged 1 commit into from
Feb 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions specification/digitaltwins/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,24 @@ azure-arm: true

``` yaml $(go) && $(multiapi)
batch:
- tag: package-2023-01
- tag: package-2022-05
- tag: package-2021-06-30-preview
- tag: package-2020-12
- tag: package-2020-10
- tag: package-2020-03-01-preview
```

### Tag: package-2023-01 and go

These settings apply only when `--tag=package-2023-01 --go` is specified on the command line.
Please also specify `--go-sdks-folder=digitaltwins`.

```yaml $(tag) == 'package-2023-01' && $(go)
namespace: digitaltwins
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2023-01-31/$(namespace)
```

### Tag: package-2022-05 and go

These settings apply only when `--tag=package-2022-05 --go` is specified on the command line.
Expand Down
27 changes: 27 additions & 0 deletions specification/digitaltwins/resource-manager/readme.java.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,40 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-digitaltwins

```yaml $(java) && $(multiapi)
batch:
- tag: package-2023-01
- tag: package-2022-05
- tag: package-2021-06-30-preview
- tag: package-2020-12
- tag: package-2020-10
- tag: package-2020-03-01-preview
```

### Tag: package-2023-01 and java

These settings apply only when `--tag=package-2023-01 --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-2023-01' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.digitaltwins.v2023_01_31
output-folder: $(azure-libraries-for-java-folder)/sdk/digitaltwins/mgmt-v2023_01_31
regenerate-manager: true
generate-interface: true
```

### Tag: package-2022-05 and java

These settings apply only when `--tag=package-2022-05 --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-2022-05' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.digitaltwins.v2022_05_31
output-folder: $(azure-libraries-for-java-folder)/sdk/digitaltwins/mgmt-v2022_05_31
regenerate-manager: true
generate-interface: true
```

### Tag: package-2022-05 and java

These settings apply only when `--tag=package-2022-05 --java` is specified on the command line.
Expand Down
2 changes: 1 addition & 1 deletion specification/digitaltwins/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ openapi-type: arm
tag: package-2023-01
```


### Tag: package-2023-01

These settings apply only when `--tag=package-2023-01` is specified on the command line.
Expand All @@ -38,6 +37,7 @@ These settings apply only when `--tag=package-2023-01` is specified on the comma
input-file:
- Microsoft.DigitalTwins/stable/2023-01-31/digitaltwins.json
```

### Tag: package-2022-10

These settings apply only when `--tag=package-2022-10` is specified on the command line.
Expand Down
11 changes: 11 additions & 0 deletions specification/digitaltwins/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ multiapi: true
default-api-version: "2022-10-31"
clear-output-folder: true
batch:
- tag: package-2023-01
- tag: package-2022-10
- tag: package-2022-05
- tag: package-2021-06-30-preview
Expand All @@ -34,6 +35,16 @@ output-folder: $(python-sdks-folder)/digitaltwins/azure-mgmt-digitaltwins/azure/
perform-load: false
```

### Tag: package-2023-01 and python

These settings apply only when `--tag=package-2023-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-2022-10' && $(python)
namespace: azure.mgmt.digitaltwins.v2023_01_31
output-folder: $(python-sdks-folder)/digitaltwins/azure-mgmt-digitaltwins/azure/mgmt/digitaltwins/v2023_01_31
```

### Tag: package-2022-10 and python

These settings apply only when `--tag=package-2022-10 --python` is specified on the command line.
Expand Down