From b8af2fc3af08e42d2df6f48d1c84070ef1f6589b Mon Sep 17 00:00:00 2001 From: Bavneet Singh <33008256+bavneetsingh16@users.noreply.github.com> Date: Mon, 29 Apr 2024 19:36:10 -0700 Subject: [PATCH] fix python sdk tag for 2024-04-01-preview version (#28900) * fix python sdk tag for 2024-04-01-preview version * fix python config --------- Co-authored-by: Bavneet Singh Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com> --- .../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 ff38745beba4..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-2022-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 ```