Skip to content

Commit

Permalink
Updating tag (Azure#17304)
Browse files Browse the repository at this point in the history
* Updating tag

* Update readme.go.md

* Update readme.go.md

* Update readme.java.md

* Update readme.go.md

* Update readme.python.md

* Update readme.python.md

adjusting version
  • Loading branch information
vighatke authored and mstrisoline committed Feb 1, 2022
1 parent 8b70c70 commit e7023a1
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 10 deletions.
14 changes: 13 additions & 1 deletion specification/iothub/resource-manager/readme.java.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,25 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-iothub
``` yaml $(java) && $(multiapi)
batch:
- tag: package-2021-07-02
- tag: package-2020-03
- tag: package-preview-2019-07
- tag: package-preview-2019-03
- tag: package-2018-12-preview
- tag: package-2018-04
```
### Tag: package-2021-07-02 and java
These settings apply only when `--tag=package-2021-07-02 --java` is specified on the command line.
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`.

``` yaml $(tag) == 'package-2021-07-02' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.iothub.v2021_07_02
output-folder: $(azure-libraries-for-java-folder)/sdk/iothub/mgmt-v2021_07_02
regenerate-manager: true
generate-interface: true
```
### Tag: package-2020-03 and java

These settings apply only when `--tag=package-2020-03 --java` is specified on the command line.
Expand Down Expand Up @@ -90,4 +102,4 @@ java:
output-folder: $(azure-libraries-for-java-folder)/sdk/iothub/mgmt-v2018_04_01
regenerate-manager: true
generate-interface: true
```
```
20 changes: 11 additions & 9 deletions specification/iothub/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,26 +26,28 @@ These are the global settings for the IotHub API.

``` yaml
openapi-type: arm
tag: package-preview-2021-07
tag: package-2021-07-02
```
### Tag: package-preview-2021-07
### Tag: package-2021-07-02
These settings apply only when `--tag=package-preview-2021-07-02` is specified on the command line.
These settings apply only when `--tag=package-2021-07-02` is specified on the command line.

```yaml $(tag) == 'package-preview-2021-07-02'
```yaml $(tag) == 'package-2021-07-02'
input-file:
- Microsoft.Devices/preview/2021-07-02-preview/iothub.json
- Microsoft.Devices/stable/2021-07-02/iothub.json
```
### Tag: package-2021-07

These settings apply only when `--tag=package-2021-07-02` is specified on the command line.
### Tag: package-preview-2021-07-02

```yaml $(tag) == 'package-2021-07-02'
These settings apply only when `--tag=package-preview-2021-07-02` is specified on the command line.

```yaml $(tag) == 'package-preview-2021-07-02'
input-file:
- Microsoft.Devices/stable/2021-07-02/iothub.json
- Microsoft.Devices/preview/2021-07-02-preview/iothub.json
```

### Tag: package-2021-07

These settings apply only when `--tag=package-2021-07` is specified on the command line.
Expand Down
11 changes: 11 additions & 0 deletions specification/iothub/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Generate all API versions currently shipped for this package
```yaml $(python) && $(multiapi) && $(track2)
batch:
- tag: package-2021-07-02
- tag: package-2021-07
- tag: package-2021-03
- tag: package-preview-2021-03
Expand All @@ -39,6 +40,16 @@ batch:
output-folder: $(python-sdks-folder)/iothub/azure-mgmt-iothub/azure/mgmt/iothub/
clear-output-folder: false
perform-load: false

```
### Tag: package-2021-07-02 and python
These settings apply only when `--tag=package-2021-07-02 --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-2021-07-02' && $(python)
namespace: azure.mgmt.iothub.v2021_07_02
output-folder: $(python-sdks-folder)/iothub/azure-mgmt-iothub/azure/mgmt/iothub/v2021_07_02
```

### Tag: package-2021-07 and python
Expand Down

0 comments on commit e7023a1

Please sign in to comment.