Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR @azure/arm-quota] Group quota public preview 12 18 preview #13174

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

139 changes: 130 additions & 9 deletions sdk/quota/arm-quota/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,136 @@
# Release History

## 1.1.0-beta.2 (Unreleased)


## 1.1.0-beta.2 (2024-12-19)
Compared with version 1.0.0

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added operation group GroupQuotaLimits
- Added operation group GroupQuotaLimitsRequest
- Added operation group GroupQuotas
- Added operation group GroupQuotaSubscriptionAllocation
- Added operation group GroupQuotaSubscriptionAllocationRequest
- Added operation group GroupQuotaSubscriptionRequests
- Added operation group GroupQuotaSubscriptions
- Added Interface AllocatedQuotaToSubscriptionList
- Added Interface AllocatedToSubscription
- Added Interface ErrorAdditionalInfo
- Added Interface ErrorDetail
- Added Interface ErrorResponse
- Added Interface GroupQuotaDetails
- Added Interface GroupQuotaDetailsName
- Added Interface GroupQuotaLimit
- Added Interface GroupQuotaLimitList
- Added Interface GroupQuotaLimitListProperties
- Added Interface GroupQuotaLimitProperties
- Added Interface GroupQuotaLimitsListOptionalParams
- Added Interface GroupQuotaLimitsRequestGetOptionalParams
- Added Interface GroupQuotaLimitsRequestListNextOptionalParams
- Added Interface GroupQuotaLimitsRequestListOptionalParams
- Added Interface GroupQuotaLimitsRequestUpdateHeaders
- Added Interface GroupQuotaLimitsRequestUpdateOptionalParams
- Added Interface GroupQuotaList
- Added Interface GroupQuotaRequestBase
- Added Interface GroupQuotaRequestBaseProperties
- Added Interface GroupQuotaRequestBasePropertiesName
- Added Interface GroupQuotasCreateOrUpdateHeaders
- Added Interface GroupQuotasCreateOrUpdateOptionalParams
- Added Interface GroupQuotasDeleteHeaders
- Added Interface GroupQuotasDeleteOptionalParams
- Added Interface GroupQuotasEntity
- Added Interface GroupQuotasEntityBase
- Added Interface GroupQuotasEntityBasePatch
- Added Interface GroupQuotasEntityPatch
- Added Interface GroupQuotasEntityPatchProperties
- Added Interface GroupQuotasEntityProperties
- Added Interface GroupQuotasGetOptionalParams
- Added Interface GroupQuotasListNextOptionalParams
- Added Interface GroupQuotasListOptionalParams
- Added Interface GroupQuotaSubscriptionAllocationListOptionalParams
- Added Interface GroupQuotaSubscriptionAllocationRequestGetOptionalParams
- Added Interface GroupQuotaSubscriptionAllocationRequestListNextOptionalParams
- Added Interface GroupQuotaSubscriptionAllocationRequestListOptionalParams
- Added Interface GroupQuotaSubscriptionAllocationRequestUpdateHeaders
- Added Interface GroupQuotaSubscriptionAllocationRequestUpdateOptionalParams
- Added Interface GroupQuotaSubscriptionId
- Added Interface GroupQuotaSubscriptionIdList
- Added Interface GroupQuotaSubscriptionIdProperties
- Added Interface GroupQuotaSubscriptionRequestsGetOptionalParams
- Added Interface GroupQuotaSubscriptionRequestsListNextOptionalParams
- Added Interface GroupQuotaSubscriptionRequestsListOptionalParams
- Added Interface GroupQuotaSubscriptionRequestStatus
- Added Interface GroupQuotaSubscriptionRequestStatusList
- Added Interface GroupQuotaSubscriptionRequestStatusProperties
- Added Interface GroupQuotaSubscriptionsCreateOrUpdateHeaders
- Added Interface GroupQuotaSubscriptionsCreateOrUpdateOptionalParams
- Added Interface GroupQuotaSubscriptionsDeleteHeaders
- Added Interface GroupQuotaSubscriptionsDeleteOptionalParams
- Added Interface GroupQuotaSubscriptionsGetOptionalParams
- Added Interface GroupQuotaSubscriptionsListNextOptionalParams
- Added Interface GroupQuotaSubscriptionsListOptionalParams
- Added Interface GroupQuotaSubscriptionsUpdateHeaders
- Added Interface GroupQuotaSubscriptionsUpdateOptionalParams
- Added Interface GroupQuotasUpdateHeaders
- Added Interface GroupQuotasUpdateOptionalParams
- Added Interface GroupQuotaUsagesBase
- Added Interface GroupQuotaUsagesBaseName
- Added Interface LROResponse
- Added Interface LROResponseProperties
- Added Interface ProxyResource
- Added Interface QuotaAllocationRequestBase
- Added Interface QuotaAllocationRequestBaseProperties
- Added Interface QuotaAllocationRequestBasePropertiesName
- Added Interface QuotaAllocationRequestStatus
- Added Interface QuotaAllocationRequestStatusList
- Added Interface QuotaAllocationRequestStatusProperties
- Added Interface Resource
- Added Interface ResourceBaseRequest
- Added Interface ResourceUsageList
- Added Interface ResourceUsages
- Added Interface SubmittedResourceRequestStatus
- Added Interface SubmittedResourceRequestStatusList
- Added Interface SubmittedResourceRequestStatusProperties
- Added Interface SubscriptionGroupQuotaAssignment
- Added Interface SubscriptionQuotaAllocationRequestList
- Added Interface SubscriptionQuotaAllocations
- Added Interface SubscriptionQuotaAllocationsList
- Added Interface SubscriptionQuotaAllocationsListProperties
- Added Interface SubscriptionQuotaAllocationsProperties
- Added Interface SubscriptionQuotaAllocationsStatusList
- Added Interface SubscriptionQuotaDetails
- Added Interface SubscriptionQuotaDetailsName
- Added Interface SystemData
- Added Type Alias CreatedByType
- Added Type Alias GroupQuotaLimitsListResponse
- Added Type Alias GroupQuotaLimitsRequestGetResponse
- Added Type Alias GroupQuotaLimitsRequestListNextResponse
- Added Type Alias GroupQuotaLimitsRequestListResponse
- Added Type Alias GroupQuotaLimitsRequestUpdateResponse
- Added Type Alias GroupQuotasCreateOrUpdateResponse
- Added Type Alias GroupQuotasDeleteResponse
- Added Type Alias GroupQuotasGetResponse
- Added Type Alias GroupQuotasListNextResponse
- Added Type Alias GroupQuotasListResponse
- Added Type Alias GroupQuotaSubscriptionAllocationListResponse
- Added Type Alias GroupQuotaSubscriptionAllocationRequestGetResponse
- Added Type Alias GroupQuotaSubscriptionAllocationRequestListNextResponse
- Added Type Alias GroupQuotaSubscriptionAllocationRequestListResponse
- Added Type Alias GroupQuotaSubscriptionAllocationRequestUpdateResponse
- Added Type Alias GroupQuotaSubscriptionRequestsGetResponse
- Added Type Alias GroupQuotaSubscriptionRequestsListNextResponse
- Added Type Alias GroupQuotaSubscriptionRequestsListResponse
- Added Type Alias GroupQuotaSubscriptionsCreateOrUpdateResponse
- Added Type Alias GroupQuotaSubscriptionsDeleteResponse
- Added Type Alias GroupQuotaSubscriptionsGetResponse
- Added Type Alias GroupQuotaSubscriptionsListNextResponse
- Added Type Alias GroupQuotaSubscriptionsListResponse
- Added Type Alias GroupQuotaSubscriptionsUpdateResponse
- Added Type Alias GroupQuotasUpdateResponse
- Added Type Alias RequestState
- Added Enum KnownCreatedByType
- Added Enum KnownRequestState


## 1.1.0-beta.1 (2024-04-24)

### Features Added
Expand Down
9 changes: 4 additions & 5 deletions sdk/quota/arm-quota/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Microsoft Azure Quota Resource Provider. This Swagger is for Azure Group Quota u

[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/quota/arm-quota) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-quota) |
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-quota?view=azure-node-preview) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-quota?view=azure-node-preview) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)

## Getting started
Expand Down Expand Up @@ -44,9 +44,8 @@ npm install @azure/identity
```

You will also need to **register a new AAD application and grant access to AzureQuotaExtensionApi** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.

For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).

```javascript
const { AzureQuotaExtensionAPI } = require("@azure/arm-quota");
Expand All @@ -64,8 +63,8 @@ const client = new AzureQuotaExtensionAPI(new DefaultAzureCredential(), subscrip
// const client = new AzureQuotaExtensionAPI(credential, subscriptionId);
```

### JavaScript Bundle

### JavaScript Bundle
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).

## Key concepts
Expand Down Expand Up @@ -101,7 +100,7 @@ If you'd like to contribute to this library, please read the [contributing guide

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fquota%2Farm-quota%2FREADME.png)

[azure_cli]: https://learn.microsoft.com/cli/azure
[azure_cli]: https://docs.microsoft.com/cli/azure
[azure_sub]: https://azure.microsoft.com/free/
[azure_sub]: https://azure.microsoft.com/free/
[azure_portal]: https://portal.azure.com
Expand Down
10 changes: 5 additions & 5 deletions sdk/quota/arm-quota/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "c4e661cdf92c8f579574008d0cd11874cc303da0",
"commit": "28d96a06ffbbf34ca7ab64bf6ebc8ff411174cbc",
"readme": "specification/quota/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\quota\\resource-manager\\readme.md --use=@autorest/[email protected].20 --generate-sample=true",
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/quota/resource-manager/readme.md --use=@autorest/typescript@^6.0.12",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/[email protected].5",
"use": "@autorest/[email protected].20"
}
"release_tool": "@azure-tools/[email protected].16",
"use": "@autorest/typescript@^6.0.12"
}
2 changes: 1 addition & 1 deletion sdk/quota/arm-quota/api-extractor.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
}
}
}
}
}
67 changes: 30 additions & 37 deletions sdk/quota/arm-quota/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"node": ">=18.0.0"
},
"dependencies": {
"@azure/abort-controller": "^1.0.0",
"@azure/core-auth": "^1.6.0",
"@azure/core-client": "^1.7.0",
"@azure/core-lro": "^2.5.4",
"@azure/abort-controller": "^2.1.2",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.7.0",
"@azure/core-auth": "^1.6.0",
"@azure/core-rest-pipeline": "^1.14.0",
"tslib": "^2.2.0"
},
Expand All @@ -28,18 +28,19 @@
"module": "./dist-esm/src/index.js",
"types": "./types/arm-quota.d.ts",
"devDependencies": {
"@azure-tools/test-credential": "^1.1.0",
"@azure-tools/test-recorder": "^3.0.0",
"typescript": "~5.6.2",
"dotenv": "^16.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^4.2.1",
"@types/chai": "^4.2.8",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.1.0",
"mocha": "^10.0.0",
"@types/mocha": "^10.0.0",
"@types/node": "^18.0.0",
"tsx": "^4.7.1",
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"dotenv": "^16.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.7.2"
"@types/node": "^18.0.0",
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -67,28 +68,28 @@
],
"scripts": {
"build": "npm run clean && tsc && dev-tool run bundle && npm run minify && dev-tool run vendored mkdirp ./review && npm run extract-api",
"build:browser": "echo skipped",
"build:node": "echo skipped",
"build:samples": "dev-tool run typecheck --paths samples-dev/*.ts && dev-tool samples publish -f",
"build:test": "echo skipped",
"check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" \"samples-dev/*.ts\"",
"clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
"execute:samples": "dev-tool samples run samples-dev",
"extract-api": "dev-tool run extract-api",
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" \"samples-dev/*.ts\"",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:browser": "echo skipped",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"lint": "echo skipped",
"minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
"pack": "npm pack 2>&1",
"prepack": "npm run build",
"pack": "npm pack 2>&1",
"extract-api": "dev-tool run extract-api",
"lint": "echo skipped",
"clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
"build:node": "echo skipped",
"build:browser": "echo skipped",
"build:test": "echo skipped",
"build:samples": "echo skipped.",
"check-format": "echo skipped",
"execute:samples": "echo skipped",
"format": "echo skipped",
"test": "npm run integration-test",
"test:browser": "echo skipped",
"test:node": "echo skipped",
"test:browser": "echo skipped",
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
"unit-test:browser": "echo skipped",
"unit-test:node": "dev-tool run vendored cross-env TEST_MODE=playback npm run integration-test:node",
"unit-test:browser": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"integration-test:browser": "echo skipped",
"update-snippets": "echo skipped"
},
"sideEffects": false,
Expand All @@ -101,13 +102,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/quota/arm-quota",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-quota?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/quota/arm-quota"
}
Loading
Loading