Skip to content

Commit

Permalink
Running prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmaley310 committed Feb 25, 2025
1 parent 7bf9243 commit a7ace6a
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 34 deletions.
3 changes: 2 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
engine-strict=true
engine-strict=false
registry=https://msazure.pkgs.visualstudio.com/_packaging/AzurePortal/npm/registry/
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,3 @@
}
}
}

17 changes: 8 additions & 9 deletions specification/billingbenefits/resource-manager/readme.az.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```
```
Original file line number Diff line number Diff line change
@@ -1 +1 @@
## CLI Common Settings for all the command line tools
## CLI Common Settings for all the command line tools
18 changes: 9 additions & 9 deletions specification/billingbenefits/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -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";
```
12 changes: 7 additions & 5 deletions specification/billingbenefits/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ tag: package-preview-2024-11-01
```
### Suppression
``` yaml
```yaml
directive:
- suppress: ProvisioningStateValidation
from: billingbenefits.json
Expand All @@ -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
Expand Down Expand Up @@ -140,6 +141,7 @@ swagger-to-sdk:
- repo: azure-cli-extensions
- repo: azure-powershell
```

## Az

See configuration in [readme.az.md](./readme.az.md)
Expand All @@ -158,4 +160,4 @@ See configuration in [readme.typescript.md](./readme.typescript.md)

## CSharp

See configuration in [readme.csharp.md](./readme.csharp.md)
See configuration in [readme.csharp.md](./readme.csharp.md)
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
These settings apply only when `--python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.

``` yaml $(python)
```yaml $(python)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-billingbenefits
Expand All @@ -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
```
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
These settings apply only when `--typescript` is specified on the command line.
Please also specify `--typescript-sdks-folder=<path to root folder of your azure-sdk-for-js clone>`.

``` yaml $(typescript)
```yaml $(typescript)
typescript:
azure-arm: true
package-name: "@azure/arm-billingbenefits"
Expand All @@ -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";
```

0 comments on commit a7ace6a

Please sign in to comment.