From 842ab2b52b3dd00481425f511181e623cae67961 Mon Sep 17 00:00:00 2001 From: Ruslan Yakushev <1664475+ruslany@users.noreply.github.com> Date: Tue, 8 Mar 2022 13:50:33 -0800 Subject: [PATCH] Updates readme --- specification/app/resource-manager/readme.md | 26 +++++++++++++++++--- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/specification/app/resource-manager/readme.md b/specification/app/resource-manager/readme.md index f7a8eeed7f45..28a13037b478 100644 --- a/specification/app/resource-manager/readme.md +++ b/specification/app/resource-manager/readme.md @@ -24,16 +24,33 @@ For other options on installation see [Installing AutoRest](https://aka.ms/autor These are the global settings for the app. -```yaml +``` yaml openapi-type: arm -tag: package-2022-01-01-preview +tag: package-2022-03 ``` + +### Tag: package-2022-03 + +These settings apply only when `--tag=package-2022-03` is specified on the command line. + +```yaml $(tag) == 'package-2022-03' +input-file: + - Microsoft.App/stable/2022-03-01/AuthConfigs.json + - Microsoft.App/stable/2022-03-01/CommonDefinitions.json + - Microsoft.App/stable/2022-03-01/ContainerApps.json + - Microsoft.App/stable/2022-03-01/ContainerAppsRevisions.json + - Microsoft.App/stable/2022-03-01/DaprComponents.json + - Microsoft.App/stable/2022-03-01/Global.json + - Microsoft.App/stable/2022-03-01/ManagedEnvironments.json + - Microsoft.App/stable/2022-03-01/ManagedEnvironmentsStorages.json + - Microsoft.App/stable/2022-03-01/SourceControls.json +``` ### Tag: package-2022-01-01-preview These settings apply only when `--tag=package-2022-01-01-preview` is specified on the command line. -```yaml $(tag) == 'package-2022-01-01-preview' +``` yaml $(tag) == 'package-2022-01-01-preview' input-file: - Microsoft.App/preview/2022-01-01-preview/CommonDefinitions.json - Microsoft.App/preview/2022-01-01-preview/ContainerApps.json @@ -83,7 +100,7 @@ directive: This section describes what SDK should be generated by the automatic system. This is not used by Autorest itself. -```yaml $(swagger-to-sdk) +``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python-track2 - repo: azure-sdk-for-java @@ -92,6 +109,7 @@ swagger-to-sdk: - repo: azure-resource-manager-schemas - repo: azure-cli-extensions ``` + ## Az See configuration in [readme.az.md](./readme.az.md)