From a7ace6a509ab2d31aa1d6a26bf90872e3ac89e68 Mon Sep 17 00:00:00 2001 From: Ryan Maley Date: Tue, 25 Feb 2025 14:27:22 -0800 Subject: [PATCH] Running prettier --- .npmrc | 3 ++- .../examples/OperationsGet.json | 1 - .../resource-manager/readme.az.md | 17 ++++++++--------- .../resource-manager/readme.cli.md | 2 +- .../resource-manager/readme.go.md | 18 +++++++++--------- .../billingbenefits/resource-manager/readme.md | 12 +++++++----- .../resource-manager/readme.python.md | 4 ++-- .../resource-manager/readme.typescript.md | 12 ++++++------ 8 files changed, 35 insertions(+), 34 deletions(-) diff --git a/.npmrc b/.npmrc index b6f27f135954..820887896cbd 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1,2 @@ -engine-strict=true +engine-strict=false +registry=https://msazure.pkgs.visualstudio.com/_packaging/AzurePortal/npm/registry/ \ No newline at end of file diff --git a/specification/billingbenefits/resource-manager/Microsoft.BillingBenefits/preview/2024-11-01-preview/examples/OperationsGet.json b/specification/billingbenefits/resource-manager/Microsoft.BillingBenefits/preview/2024-11-01-preview/examples/OperationsGet.json index 5e7e50d989e9..e0205befaf74 100644 --- a/specification/billingbenefits/resource-manager/Microsoft.BillingBenefits/preview/2024-11-01-preview/examples/OperationsGet.json +++ b/specification/billingbenefits/resource-manager/Microsoft.BillingBenefits/preview/2024-11-01-preview/examples/OperationsGet.json @@ -83,4 +83,3 @@ } } } - diff --git a/specification/billingbenefits/resource-manager/readme.az.md b/specification/billingbenefits/resource-manager/readme.az.md index 47a68f35f13a..7a6bf61c0cb0 100644 --- a/specification/billingbenefits/resource-manager/readme.az.md +++ b/specification/billingbenefits/resource-manager/readme.az.md @@ -2,27 +2,26 @@ These settings apply only when `--az` is specified on the command line. -For new Resource Provider. It is highly recommended to onboard Azure CLI extensions. There's no differences in terms of customer usage. +For new Resource Provider. It is highly recommended to onboard Azure CLI extensions. There's no differences in terms of customer usage. -``` yaml $(az) && $(target-mode) != 'core' +```yaml $(az) && $(target-mode) != 'core' az: - extensions: billingbenefits - namespace: azure.mgmt.billingbenefits - package-name: azure-mgmt-billingbenefits + extensions: billingbenefits + namespace: azure.mgmt.billingbenefits + package-name: azure-mgmt-billingbenefits az-output-folder: $(azure-cli-extension-folder)/src/billingbenefits python-sdk-output-folder: "$(az-output-folder)/azext_billingbenefits/vendored_sdks/billingbenefits" # add additional configuration here specific for Azure CLI # refer to the faq.md for more details ``` +This is for command modules that already in azure cli main repo. - -This is for command modules that already in azure cli main repo. -``` yaml $(az) && $(target-mode) == 'core' +```yaml $(az) && $(target-mode) == 'core' az: extensions: billingbenefits namespace: azure.mgmt.billingbenefits package-name: azure-mgmt-billingbenefits az-output-folder: $(azure-cli-folder)/src/azure-cli/azure/cli/command_modules/billingbenefits python-sdk-output-folder: "$(az-output-folder)/vendored_sdks/billingbenefits" -``` \ No newline at end of file +``` diff --git a/specification/billingbenefits/resource-manager/readme.cli.md b/specification/billingbenefits/resource-manager/readme.cli.md index c6cf6ad37ea4..13278814ef95 100644 --- a/specification/billingbenefits/resource-manager/readme.cli.md +++ b/specification/billingbenefits/resource-manager/readme.cli.md @@ -1 +1 @@ -## CLI Common Settings for all the command line tools \ No newline at end of file +## CLI Common Settings for all the command line tools diff --git a/specification/billingbenefits/resource-manager/readme.go.md b/specification/billingbenefits/resource-manager/readme.go.md index 767133e6a0f3..5715709f563e 100644 --- a/specification/billingbenefits/resource-manager/readme.go.md +++ b/specification/billingbenefits/resource-manager/readme.go.md @@ -8,13 +8,13 @@ license-header: MICROSOFT_MIT_NO_VERSION module-name: sdk/resourcemanager/billingbenefits/armbillingbenefits module: github.com/Azure/azure-sdk-for-go/$(module-name) output-folder: $(go-sdk-folder)/$(module-name) -directive: -- from: swagger-document - where: $.parameters.ApiVersionParameter - transform: > - $["x-ms-parameter-location"] = "method"; -- from: swagger-document - where: $.parameters.ExpandParameter - transform: > - $["x-ms-parameter-location"] = "method"; +directive: + - from: swagger-document + where: $.parameters.ApiVersionParameter + transform: > + $["x-ms-parameter-location"] = "method"; + - from: swagger-document + where: $.parameters.ExpandParameter + transform: > + $["x-ms-parameter-location"] = "method"; ``` diff --git a/specification/billingbenefits/resource-manager/readme.md b/specification/billingbenefits/resource-manager/readme.md index 89a219f5e643..6c253e737d9b 100644 --- a/specification/billingbenefits/resource-manager/readme.md +++ b/specification/billingbenefits/resource-manager/readme.md @@ -31,7 +31,8 @@ tag: package-preview-2024-11-01 ``` ### Suppression -``` yaml + +```yaml directive: - suppress: ProvisioningStateValidation from: billingbenefits.json @@ -43,13 +44,13 @@ directive: - suppress: PatchSkuProperty from: billingbenefits.json reason: \'Sku\' is not a supported property in savings plan patch operation - - suppress: AllResourcesMustHaveDelete + - suppress: AllResourcesMustHaveDelete from: billingbenefits.json reason: This service does not support deleting resources once created. - - suppress: TopLevelResourcesListBySubscription + - suppress: TopLevelResourcesListBySubscription from: billingbenefits.json reason: Currently only list by tenant is supported. - - suppress: CreateOperationAsyncResponseValidation + - suppress: CreateOperationAsyncResponseValidation from: billingbenefits.json reason: According to ARM's guide 200 is returned when PUT call finishes. - suppress: TrackedResourcePatchOperation @@ -140,6 +141,7 @@ swagger-to-sdk: - repo: azure-cli-extensions - repo: azure-powershell ``` + ## Az See configuration in [readme.az.md](./readme.az.md) @@ -158,4 +160,4 @@ See configuration in [readme.typescript.md](./readme.typescript.md) ## CSharp -See configuration in [readme.csharp.md](./readme.csharp.md) \ No newline at end of file +See configuration in [readme.csharp.md](./readme.csharp.md) diff --git a/specification/billingbenefits/resource-manager/readme.python.md b/specification/billingbenefits/resource-manager/readme.python.md index e9f560508878..f7389b303cc1 100644 --- a/specification/billingbenefits/resource-manager/readme.python.md +++ b/specification/billingbenefits/resource-manager/readme.python.md @@ -3,7 +3,7 @@ These settings apply only when `--python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(python) +```yaml $(python) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION package-name: azure-mgmt-billingbenefits @@ -12,7 +12,7 @@ package-version: 1.0.0b1 clear-output-folder: true ``` -``` yaml $(python) +```yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/billingbenefits/azure-mgmt-billingbenefits/azure/mgmt/billingbenefits ``` diff --git a/specification/billingbenefits/resource-manager/readme.typescript.md b/specification/billingbenefits/resource-manager/readme.typescript.md index bef6f8d3f03e..34ee86543834 100644 --- a/specification/billingbenefits/resource-manager/readme.typescript.md +++ b/specification/billingbenefits/resource-manager/readme.typescript.md @@ -3,7 +3,7 @@ These settings apply only when `--typescript` is specified on the command line. Please also specify `--typescript-sdks-folder=`. -``` yaml $(typescript) +```yaml $(typescript) typescript: azure-arm: true package-name: "@azure/arm-billingbenefits" @@ -12,9 +12,9 @@ typescript: clear-output-folder: true generate-metadata: true -directive: -- from: swagger-document - where: $.parameters.ExpandParameter - transform: > - $["x-ms-parameter-location"] = "method"; +directive: + - from: swagger-document + where: $.parameters.ExpandParameter + transform: > + $["x-ms-parameter-location"] = "method"; ```