Skip to content

Commit

Permalink
Add tags for packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Arif Lakhani committed Oct 20, 2022
1 parent 227b247 commit 4d0790e
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@
},
"plan": {
"description": "The plan information.",
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Plan"
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Plan"
},
"isSystemExtension": {
"readOnly": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ azure-arm: true
``` yaml $(go) && $(multiapi)
batch:
- tag: package-2022-11
- tag: package-2022-07
- tag: package-preview-2022-04
- tag: package-2022-03
Expand All @@ -34,6 +35,17 @@ batch:
- tag: package-2020-07-01-preview
- tag: package-2019-11-01-preview
```
### Tag: package-2022-11 and go
These settings apply only when `--tag=package-2022-11 --go` is specified on the command line.
Please also specify `--go-sdks-folder=<path to the root directory of your azure-sdk-for-go clone>`.

```yaml $(tag) == 'package-2022-11' && $(go)
namespace: kubernetesconfiguration
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2022-11-01/$(namespace)
```

### Tag: package-2022-07-01 and go

These settings apply only when `--tag=package-2022-07 --go` is specified on the command line.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-kubernetesconfigura
``` yaml $(java) && $(multiapi)
batch:
- tag: package-2022-11
- tag: package-2022-07
- tag: package-preview-2022-04
- tag: package-2022-03
Expand All @@ -30,6 +31,19 @@ batch:
- tag: package-2019-11-01-preview
```
### Tag: package-2022-11 and java
These settings apply only when `--tag=package-2022-11 --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-2022-11' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.kubernetesconfiguration.v2022_11_01
output-folder: $(azure-libraries-for-java-folder)/sdk/kubernetesconfiguration/mgmt-v2022_11_01
regenerate-manager: true
generate-interface: true
```

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

These settings apply only when `--tag=package-2022-07 --java` is specified on the command line.
Expand Down
11 changes: 11 additions & 0 deletions specification/kubernetesconfiguration/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,17 @@ tag: package-2022-07
---
### Tag: package-2022-11
These settings apply only when `--tag=package-2022-11` is specified on the command line.

``` yaml $(tag) == 'package-2022-11'
input-file:
- Microsoft.KubernetesConfiguration/stable/2022-11-01/extensions.json
- Microsoft.KubernetesConfiguration/stable/2022-11-01/fluxconfiguration.json
- Microsoft.KubernetesConfiguration/stable/2022-11-01/kubernetesconfiguration.json
- Microsoft.KubernetesConfiguration/stable/2022-11-01/operations.json
```

### Tag: package-2022-07

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Generate all API versions currently shipped for this package
multiapi: true
clear-output-folder: true
batch:
- tag: package-2022-11
- tag: package-2022-07
- tag: package-preview-2022-04-only
- tag: package-2022-03
Expand All @@ -42,6 +43,15 @@ output-folder: $(python-sdks-folder)/kubernetesconfiguration/azure-mgmt-kubernet
perform-load: false
```
### Tag: package-2022-11 and python
These settings apply only when `--tag=package-2022-11 --python` is specified on the command line.

``` yaml $(tag) == 'package-2022-11'
namespace: azure.mgmt.kubernetesconfiguration.v2022_11_01
output-folder: $(python-sdks-folder)/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/azure/mgmt/kubernetesconfiguration/v2022_11_01
```

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

These settings apply only when `--tag=package-2022-07 --python` is specified on the command line.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ azure-arm: true
``` yaml $(ruby) && $(multiapi)
batch:
- tag: package-2022-11
- tag: package-2022-07
- tag: package-preview-2022-04
- tag: package-2022-03
Expand All @@ -26,6 +27,16 @@ batch:
- tag: package-2019-11-01-preview
```
### Tag: package-2022-11 and ruby
These settings apply only when `--tag=package-2022-11 --ruby` is specified on the command line.
Please also specify `--ruby-sdks-folder=<path to the root directory of your azure-sdk-for-ruby clone>`.

```yaml $(tag) == 'package-2022-11' && $(ruby)
namespace: "Azure::KubernetesConfiguration::Mgmt::V2022_11_01"
output-folder: $(ruby-sdks-folder)/management/azure_mgmt_kubernetesconfiguration/lib
```

### Tag: package-2022-07 and ruby

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

0 comments on commit 4d0790e

Please sign in to comment.