Skip to content

Commit

Permalink
update readmes (#20708)
Browse files Browse the repository at this point in the history
  • Loading branch information
FumingZhang committed Sep 20, 2022
1 parent 81f6c04 commit 9c77497
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 9 deletions.
11 changes: 11 additions & 0 deletions specification/containerservice/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ azure-arm: true
``` yaml $(go) && $(multiapi)
batch:
- tag: package-preview-2022-08-03
- tag: package-preview-2022-08
- tag: package-2022-07
- tag: package-preview-2022-07
Expand Down Expand Up @@ -66,6 +67,16 @@ batch:
- tag: package-2017-07
```
### Tag: package-preview-2022-08-03 and go
These settings apply only when `--package-preview-2022-08-03 --go` is specified on the command line.
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.

``` yaml $(tag)=='package-preview-2022-08-03' && $(go)
namespace: containerservice
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2022-08-03-preview/$(namespace)
```

### Tag: package-preview-2022-08 and go

These settings apply only when `--package-preview-2022-08 --go` is specified on the command line.
Expand Down
14 changes: 14 additions & 0 deletions specification/containerservice/resource-manager/readme.java.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,20 @@ batch:
- tag: package-preview-2022-07
- tag: package-2022-07
- tag: package-preview-2022-08
- tag: package-preview-2022-08-03
```

### Tag: package-preview-2022-08-03 and java

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

### Tag: package-preview-2022-08 and java
Expand Down
28 changes: 19 additions & 9 deletions specification/containerservice/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,27 +34,37 @@ These are the global settings for the ContainerServices API.

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

``` yaml $(tag) == 'package-preview-2022-08-only'
``` yaml $(tag) == 'package-preview-2022-08-03-only'
input-file:
- Microsoft.ContainerService/preview/2022-08-02-preview/managedClusters.json
- Microsoft.ContainerService/preview/2022-08-03-preview/managedClusters.json
```

### Tag: package-preview-2022-08
### Tag: package-preview-2022-08-03

These settings apply only when `--tag=package-preview-2022-08` is specified on the command line.
These settings apply only when `--tag=package-preview-2022-08-03` is specified on the command line.

```yaml $(tag) == 'package-preview-2022-08'
``` yaml $(tag) == 'package-preview-2022-08-03'
input-file:
- Microsoft.ContainerService/preview/2022-08-03-preview/managedClusters.json
- Microsoft.ContainerService/preview/2022-07-02-preview/fleets.json
```

### Tag: package-preview-2022-08-only

These settings apply only when `--tag=package-preview-2022-08-only` is specified on the command line.

``` yaml $(tag) == 'package-preview-2022-08-only'
input-file:
- Microsoft.ContainerService/preview/2022-08-02-preview/managedClusters.json
```

### Tag: package-preview-2022-08

These settings apply only when `--tag=package-preview-2022-08` is specified on the command line.
Expand Down
11 changes: 11 additions & 0 deletions specification/containerservice/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Generate all API versions currently shipped for this package
```yaml $(python)
multiapi: true
batch:
- tag: package-preview-2022-08-03-only
- tag: package-preview-2022-08-only
- tag: package-2022-07
- tag: package-preview-2022-07
Expand Down Expand Up @@ -70,6 +71,16 @@ output-folder: $(python-sdks-folder)/containerservice/azure-mgmt-containerservic
perform-load: false
```
### Tag: package-preview-2022-08-03-only and python
These settings apply only when `--tag=package-preview-2022-08-03-only --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-2022-08-03-only' && $(python)
namespace: azure.mgmt.containerservice.v2022_08_03_preview
output-folder: $(python-sdks-folder)/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2022_08_03_preview
```

### Tag: package-preview-2022-08-only and python

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

0 comments on commit 9c77497

Please sign in to comment.