@azure/arm-quota 1.0.0-beta.2 → 1.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/README.md +5 -1
- package/dist/index.js +4 -23
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/src/azureQuotaExtensionAPI.d.ts +4 -2
- package/dist-esm/src/azureQuotaExtensionAPI.d.ts.map +1 -1
- package/dist-esm/src/azureQuotaExtensionAPI.js +27 -3
- package/dist-esm/src/azureQuotaExtensionAPI.js.map +1 -1
- package/dist-esm/src/index.d.ts +0 -1
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +0 -1
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/operations/quota.d.ts +2 -2
- package/dist-esm/src/operations/quota.d.ts.map +1 -1
- package/dist-esm/src/operations/quota.js.map +1 -1
- package/dist-esm/src/operations/quotaOperation.d.ts +2 -2
- package/dist-esm/src/operations/quotaOperation.d.ts.map +1 -1
- package/dist-esm/src/operations/quotaOperation.js.map +1 -1
- package/dist-esm/src/operations/quotaRequestStatus.d.ts +2 -2
- package/dist-esm/src/operations/quotaRequestStatus.d.ts.map +1 -1
- package/dist-esm/src/operations/quotaRequestStatus.js.map +1 -1
- package/dist-esm/src/operations/usages.d.ts +2 -2
- package/dist-esm/src/operations/usages.d.ts.map +1 -1
- package/dist-esm/src/operations/usages.js.map +1 -1
- package/package.json +8 -8
- package/review/arm-quota.api.md +5 -11
- package/src/azureQuotaExtensionAPI.ts +40 -3
- package/src/index.ts +0 -1
- package/src/operations/quota.ts +3 -3
- package/src/operations/quotaOperation.ts +3 -3
- package/src/operations/quotaRequestStatus.ts +3 -3
- package/src/operations/usages.ts +3 -3
- package/types/arm-quota.d.ts +3 -12
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/src/azureQuotaExtensionAPIContext.d.ts +0 -14
- package/dist-esm/src/azureQuotaExtensionAPIContext.d.ts.map +0 -1
- package/dist-esm/src/azureQuotaExtensionAPIContext.js +0 -43
- package/dist-esm/src/azureQuotaExtensionAPIContext.js.map +0 -1
- package/src/azureQuotaExtensionAPIContext.ts +0 -62
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
# Release History
|
|
2
|
+
|
|
3
|
+
## 1.0.0-beta.3 (2021-12-22)
|
|
4
|
+
|
|
5
|
+
**Features**
|
|
6
|
+
|
|
7
|
+
- Class AzureQuotaExtensionAPI has a new parameter $host
|
|
8
|
+
- Class AzureQuotaExtensionAPI has a new parameter apiVersion
|
|
9
|
+
|
|
10
|
+
**Breaking Changes**
|
|
11
|
+
|
|
12
|
+
- Deleted Class AzureQuotaExtensionAPIContext
|
|
13
|
+
|
|
1
14
|
## 1.0.0-beta.2 (2021-11-01)
|
|
2
15
|
|
|
3
16
|
**Features**
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Microsoft Azure Quota Resource Provider
|
|
|
6
6
|
|
|
7
7
|
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/quota/arm-quota) |
|
|
8
8
|
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-quota) |
|
|
9
|
-
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-quota) |
|
|
9
|
+
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-quota?view=azure-node-preview) |
|
|
10
10
|
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
|
|
11
11
|
|
|
12
12
|
## Getting started
|
|
@@ -53,6 +53,10 @@ const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
|
53
53
|
const client = new AzureQuotaExtensionAPI(new DefaultAzureCredential(), subscriptionId);
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
+
|
|
57
|
+
### JavaScript Bundle
|
|
58
|
+
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).
|
|
59
|
+
|
|
56
60
|
## Key concepts
|
|
57
61
|
|
|
58
62
|
### AzureQuotaExtensionAPI
|
package/dist/index.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib = require('tslib');
|
|
6
5
|
var coreClient = require('@azure/core-client');
|
|
6
|
+
var tslib = require('tslib');
|
|
7
7
|
var coreLro = require('@azure/core-lro');
|
|
8
8
|
|
|
9
9
|
/*
|
|
@@ -2139,9 +2139,9 @@ const listNextOperationSpec$3 = {
|
|
|
2139
2139
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2140
2140
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2141
2141
|
*/
|
|
2142
|
-
class
|
|
2142
|
+
class AzureQuotaExtensionAPI extends coreClient.ServiceClient {
|
|
2143
2143
|
/**
|
|
2144
|
-
* Initializes a new instance of the
|
|
2144
|
+
* Initializes a new instance of the AzureQuotaExtensionAPI class.
|
|
2145
2145
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
2146
2146
|
* @param options The parameter options
|
|
2147
2147
|
*/
|
|
@@ -2157,7 +2157,7 @@ class AzureQuotaExtensionAPIContext extends coreClient.ServiceClient {
|
|
|
2157
2157
|
requestContentType: "application/json; charset=utf-8",
|
|
2158
2158
|
credential: credentials
|
|
2159
2159
|
};
|
|
2160
|
-
const packageDetails = `azsdk-js-arm-quota/1.0.0-beta.
|
|
2160
|
+
const packageDetails = `azsdk-js-arm-quota/1.0.0-beta.1`;
|
|
2161
2161
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
2162
2162
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
2163
2163
|
: `${packageDetails}`;
|
|
@@ -2171,24 +2171,6 @@ class AzureQuotaExtensionAPIContext extends coreClient.ServiceClient {
|
|
|
2171
2171
|
// Assigning values to Constant parameters
|
|
2172
2172
|
this.$host = options.$host || "https://management.azure.com";
|
|
2173
2173
|
this.apiVersion = options.apiVersion || "2021-03-15-preview";
|
|
2174
|
-
}
|
|
2175
|
-
}
|
|
2176
|
-
|
|
2177
|
-
/*
|
|
2178
|
-
* Copyright (c) Microsoft Corporation.
|
|
2179
|
-
* Licensed under the MIT License.
|
|
2180
|
-
*
|
|
2181
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2182
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2183
|
-
*/
|
|
2184
|
-
class AzureQuotaExtensionAPI extends AzureQuotaExtensionAPIContext {
|
|
2185
|
-
/**
|
|
2186
|
-
* Initializes a new instance of the AzureQuotaExtensionAPI class.
|
|
2187
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
2188
|
-
* @param options The parameter options
|
|
2189
|
-
*/
|
|
2190
|
-
constructor(credentials, options) {
|
|
2191
|
-
super(credentials, options);
|
|
2192
2174
|
this.usages = new UsagesImpl(this);
|
|
2193
2175
|
this.quota = new QuotaImpl(this);
|
|
2194
2176
|
this.quotaRequestStatus = new QuotaRequestStatusImpl(this);
|
|
@@ -2197,5 +2179,4 @@ class AzureQuotaExtensionAPI extends AzureQuotaExtensionAPIContext {
|
|
|
2197
2179
|
}
|
|
2198
2180
|
|
|
2199
2181
|
exports.AzureQuotaExtensionAPI = AzureQuotaExtensionAPI;
|
|
2200
|
-
exports.AzureQuotaExtensionAPIContext = AzureQuotaExtensionAPIContext;
|
|
2201
2182
|
//# sourceMappingURL=index.js.map
|