From fb167b5e0a741e3f4d02903faaaff229b189b6a5 Mon Sep 17 00:00:00 2001 From: Bavneet Singh Date: Mon, 29 Apr 2024 18:57:18 -0700 Subject: [PATCH 1/2] fix python sdk tag for 2024-04-01-preview version --- .../kubernetesconfiguration/resource-manager/readme.python.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/kubernetesconfiguration/resource-manager/readme.python.md b/specification/kubernetesconfiguration/resource-manager/readme.python.md index ff38745beba4..2520ee43140f 100644 --- a/specification/kubernetesconfiguration/resource-manager/readme.python.md +++ b/specification/kubernetesconfiguration/resource-manager/readme.python.md @@ -51,7 +51,7 @@ perform-load: false These settings apply only when `--tag=package-preview-2024-04 --python` is specified on the command line. -``` yaml $(tag) == 'package-preview-2022-04' +``` yaml $(tag) == 'package-preview-2024-04' namespace: azure.mgmt.kubernetesconfiguration.v2024_04_01_preview output-folder: $(python-sdks-folder)/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/azure/mgmt/kubernetesconfiguration/v2024_04_01_preview ``` From c00416e553e9f67fac3e2d01e1336b4ac2ba5090 Mon Sep 17 00:00:00 2001 From: msyyc <70930885+msyyc@users.noreply.github.com> Date: Tue, 30 Apr 2024 10:20:40 +0800 Subject: [PATCH 2/2] fix python config --- .../kubernetesconfiguration/resource-manager/readme.md | 9 +++++++++ .../resource-manager/readme.python.md | 10 +++++----- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/specification/kubernetesconfiguration/resource-manager/readme.md b/specification/kubernetesconfiguration/resource-manager/readme.md index e5277ac587c8..b95c405b8444 100644 --- a/specification/kubernetesconfiguration/resource-manager/readme.md +++ b/specification/kubernetesconfiguration/resource-manager/readme.md @@ -45,6 +45,15 @@ input-file: - Microsoft.KubernetesConfiguration/stable/2023-05-01/operations.json ``` +### Tag: package-preview-2024-04-only + +These settings apply only when `--tag=package-preview-2024-04-only` is specified on the command line. + +``` yaml $(tag) == 'package-preview-2024-04-only' +input-file: + - Microsoft.KubernetesConfiguration/preview/2024-04-01-preview/fluxconfiguration.json +``` + ### Tag: package-2023-05 These settings apply only when `--tag=package-2023-05` is specified on the command line. diff --git a/specification/kubernetesconfiguration/resource-manager/readme.python.md b/specification/kubernetesconfiguration/resource-manager/readme.python.md index 2520ee43140f..3afaac5880bc 100644 --- a/specification/kubernetesconfiguration/resource-manager/readme.python.md +++ b/specification/kubernetesconfiguration/resource-manager/readme.python.md @@ -20,10 +20,10 @@ Generate all API versions currently shipped for this package ```yaml $(python) multiapi: true -default-api-version: "2024-04-01-preview" +default-api-version: "2023-05-01" clear-output-folder: true batch: - - tag: package-preview-2024-04 + - tag: package-preview-2024-04-only - tag: package-2023-05 - tag: package-2022-11 - tag: package-2022-07 @@ -47,11 +47,11 @@ clear-output-folder: false perform-load: false ``` -### Tag: package-preview-2024-04 and python +### Tag: package-preview-2024-04-only and python -These settings apply only when `--tag=package-preview-2024-04 --python` is specified on the command line. +These settings apply only when `--tag=package-preview-2024-04-only --python` is specified on the command line. -``` yaml $(tag) == 'package-preview-2024-04' +``` yaml $(tag) == 'package-preview-2024-04-only' namespace: azure.mgmt.kubernetesconfiguration.v2024_04_01_preview output-folder: $(python-sdks-folder)/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/azure/mgmt/kubernetesconfiguration/v2024_04_01_preview ```