@azure/arm-computelimit 1.0.0 → 1.1.0
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/dist/browser/api/computeLimitContext.js +4 -2
- package/dist/browser/api/computeLimitContext.js.map +1 -1
- package/dist/browser/api/features/index.d.ts +2 -2
- package/dist/browser/api/features/index.js +1 -1
- package/dist/browser/api/features/index.js.map +1 -1
- package/dist/browser/api/features/operations.d.ts +5 -1
- package/dist/browser/api/features/operations.js +43 -8
- package/dist/browser/api/features/operations.js.map +1 -1
- package/dist/browser/api/features/options.d.ts +8 -0
- package/dist/browser/api/features/options.js.map +1 -1
- package/dist/browser/api/guestSubscriptions/operations.d.ts +0 -5
- package/dist/browser/api/guestSubscriptions/operations.js +5 -10
- package/dist/browser/api/guestSubscriptions/operations.js.map +1 -1
- package/dist/browser/api/operations/operations.js +2 -2
- package/dist/browser/api/operations/operations.js.map +1 -1
- package/dist/browser/api/sharedLimits/operations.d.ts +0 -5
- package/dist/browser/api/sharedLimits/operations.js +5 -10
- package/dist/browser/api/sharedLimits/operations.js.map +1 -1
- package/dist/browser/api/vmFamilies/index.d.ts +3 -0
- package/dist/browser/api/vmFamilies/index.js +4 -0
- package/dist/browser/api/vmFamilies/index.js.map +1 -0
- package/dist/browser/api/vmFamilies/operations.d.ts +14 -0
- package/dist/browser/api/vmFamilies/operations.js +62 -0
- package/dist/browser/api/vmFamilies/operations.js.map +1 -0
- package/dist/browser/api/vmFamilies/options.d.ts +10 -0
- package/dist/browser/api/vmFamilies/options.js.map +1 -0
- package/dist/browser/classic/features/index.d.ts +3 -1
- package/dist/browser/classic/features/index.js +2 -1
- package/dist/browser/classic/features/index.js.map +1 -1
- package/dist/browser/classic/guestSubscriptions/index.d.ts +0 -5
- package/dist/browser/classic/guestSubscriptions/index.js.map +1 -1
- package/dist/browser/classic/index.d.ts +1 -0
- package/dist/browser/classic/index.js.map +1 -1
- package/dist/browser/classic/sharedLimits/index.d.ts +0 -5
- package/dist/browser/classic/sharedLimits/index.js.map +1 -1
- package/dist/browser/classic/vmFamilies/index.d.ts +13 -0
- package/dist/browser/classic/vmFamilies/index.js +15 -0
- package/dist/browser/classic/vmFamilies/index.js.map +1 -0
- package/dist/browser/computeLimitClient.d.ts +3 -0
- package/dist/browser/computeLimitClient.js +4 -0
- package/dist/browser/computeLimitClient.js.map +1 -1
- package/dist/browser/index.d.ts +5 -3
- package/dist/browser/index.js +1 -0
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +34 -1
- package/dist/browser/models/models.js +37 -0
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/restorePollerHelpers.js +3 -2
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pagingHelpers.js +1 -1
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.js +1 -1
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/commonjs/api/computeLimitContext.js +4 -2
- package/dist/commonjs/api/computeLimitContext.js.map +2 -2
- package/dist/commonjs/api/features/index.d.ts +2 -2
- package/dist/commonjs/api/features/index.js +2 -0
- package/dist/commonjs/api/features/index.js.map +2 -2
- package/dist/commonjs/api/features/operations.d.ts +5 -1
- package/dist/commonjs/api/features/operations.js +52 -8
- package/dist/commonjs/api/features/operations.js.map +2 -2
- package/dist/commonjs/api/features/options.d.ts +8 -0
- package/dist/commonjs/api/features/options.js.map +1 -1
- package/dist/commonjs/api/guestSubscriptions/operations.d.ts +0 -5
- package/dist/commonjs/api/guestSubscriptions/operations.js +5 -5
- package/dist/commonjs/api/guestSubscriptions/operations.js.map +2 -2
- package/dist/commonjs/api/operations/operations.js +2 -2
- package/dist/commonjs/api/operations/operations.js.map +1 -1
- package/dist/commonjs/api/sharedLimits/operations.d.ts +0 -5
- package/dist/commonjs/api/sharedLimits/operations.js +5 -5
- package/dist/commonjs/api/sharedLimits/operations.js.map +2 -2
- package/dist/commonjs/api/vmFamilies/index.d.ts +3 -0
- package/dist/commonjs/api/vmFamilies/index.js +30 -0
- package/dist/commonjs/api/vmFamilies/index.js.map +7 -0
- package/dist/commonjs/api/vmFamilies/operations.d.ts +14 -0
- package/dist/commonjs/api/vmFamilies/operations.js +108 -0
- package/dist/commonjs/api/vmFamilies/operations.js.map +7 -0
- package/dist/commonjs/api/vmFamilies/options.d.ts +10 -0
- package/dist/commonjs/api/vmFamilies/options.js +16 -0
- package/dist/commonjs/api/vmFamilies/options.js.map +7 -0
- package/dist/commonjs/classic/features/index.d.ts +3 -1
- package/dist/commonjs/classic/features/index.js +1 -0
- package/dist/commonjs/classic/features/index.js.map +2 -2
- package/dist/commonjs/classic/guestSubscriptions/index.d.ts +0 -5
- package/dist/commonjs/classic/guestSubscriptions/index.js.map +2 -2
- package/dist/commonjs/classic/index.d.ts +1 -0
- package/dist/commonjs/classic/index.js.map +1 -1
- package/dist/commonjs/classic/sharedLimits/index.d.ts +0 -5
- package/dist/commonjs/classic/sharedLimits/index.js.map +2 -2
- package/dist/commonjs/classic/vmFamilies/index.d.ts +13 -0
- package/dist/commonjs/classic/vmFamilies/index.js +39 -0
- package/dist/commonjs/classic/vmFamilies/index.js.map +7 -0
- package/dist/commonjs/computeLimitClient.d.ts +3 -0
- package/dist/commonjs/computeLimitClient.js +4 -0
- package/dist/commonjs/computeLimitClient.js.map +2 -2
- package/dist/commonjs/index.d.ts +5 -3
- package/dist/commonjs/index.js +5 -0
- package/dist/commonjs/index.js.map +2 -2
- package/dist/commonjs/models/index.d.ts +1 -1
- package/dist/commonjs/models/index.js.map +2 -2
- package/dist/commonjs/models/models.d.ts +34 -1
- package/dist/commonjs/models/models.js +43 -2
- package/dist/commonjs/models/models.js.map +2 -2
- package/dist/commonjs/restorePollerHelpers.js +2 -1
- package/dist/commonjs/restorePollerHelpers.js.map +2 -2
- package/dist/commonjs/static-helpers/pagingHelpers.js +1 -1
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +2 -2
- package/dist/commonjs/static-helpers/pollingHelpers.js +1 -1
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +2 -2
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/computeLimitContext.js +4 -2
- package/dist/esm/api/computeLimitContext.js.map +1 -1
- package/dist/esm/api/features/index.d.ts +2 -2
- package/dist/esm/api/features/index.js +1 -1
- package/dist/esm/api/features/index.js.map +1 -1
- package/dist/esm/api/features/operations.d.ts +5 -1
- package/dist/esm/api/features/operations.js +43 -8
- package/dist/esm/api/features/operations.js.map +1 -1
- package/dist/esm/api/features/options.d.ts +8 -0
- package/dist/esm/api/features/options.js.map +1 -1
- package/dist/esm/api/guestSubscriptions/operations.d.ts +0 -5
- package/dist/esm/api/guestSubscriptions/operations.js +5 -10
- package/dist/esm/api/guestSubscriptions/operations.js.map +1 -1
- package/dist/esm/api/operations/operations.js +2 -2
- package/dist/esm/api/operations/operations.js.map +1 -1
- package/dist/esm/api/sharedLimits/operations.d.ts +0 -5
- package/dist/esm/api/sharedLimits/operations.js +5 -10
- package/dist/esm/api/sharedLimits/operations.js.map +1 -1
- package/dist/esm/api/vmFamilies/index.d.ts +3 -0
- package/dist/esm/api/vmFamilies/index.js +4 -0
- package/dist/esm/api/vmFamilies/index.js.map +1 -0
- package/dist/esm/api/vmFamilies/operations.d.ts +14 -0
- package/dist/esm/api/vmFamilies/operations.js +62 -0
- package/dist/esm/api/vmFamilies/operations.js.map +1 -0
- package/dist/esm/api/vmFamilies/options.d.ts +10 -0
- package/dist/esm/api/vmFamilies/options.js.map +1 -0
- package/dist/esm/classic/features/index.d.ts +3 -1
- package/dist/esm/classic/features/index.js +2 -1
- package/dist/esm/classic/features/index.js.map +1 -1
- package/dist/esm/classic/guestSubscriptions/index.d.ts +0 -5
- package/dist/esm/classic/guestSubscriptions/index.js.map +1 -1
- package/dist/esm/classic/index.d.ts +1 -0
- package/dist/esm/classic/index.js.map +1 -1
- package/dist/esm/classic/sharedLimits/index.d.ts +0 -5
- package/dist/esm/classic/sharedLimits/index.js.map +1 -1
- package/dist/esm/classic/vmFamilies/index.d.ts +13 -0
- package/dist/esm/classic/vmFamilies/index.js +15 -0
- package/dist/esm/classic/vmFamilies/index.js.map +1 -0
- package/dist/esm/computeLimitClient.d.ts +3 -0
- package/dist/esm/computeLimitClient.js +4 -0
- package/dist/esm/computeLimitClient.js.map +1 -1
- package/dist/esm/index.d.ts +5 -3
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +34 -1
- package/dist/esm/models/models.js +37 -0
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/restorePollerHelpers.js +3 -2
- package/dist/esm/restorePollerHelpers.js.map +1 -1
- package/dist/esm/static-helpers/pagingHelpers.js +1 -1
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/pollingHelpers.js +1 -1
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
- package/package.json +32 -38
- package/dist/react-native/api/computeLimitContext.d.ts +0 -22
- package/dist/react-native/api/computeLimitContext.js +0 -24
- package/dist/react-native/api/computeLimitContext.js.map +0 -1
- package/dist/react-native/api/features/index.d.ts +0 -3
- package/dist/react-native/api/features/index.js +0 -4
- package/dist/react-native/api/features/index.js.map +0 -1
- package/dist/react-native/api/features/operations.d.ts +0 -19
- package/dist/react-native/api/features/operations.js +0 -95
- package/dist/react-native/api/features/operations.js.map +0 -1
- package/dist/react-native/api/features/options.d.ts +0 -13
- package/dist/react-native/api/features/options.js.map +0 -1
- package/dist/react-native/api/guestSubscriptions/index.d.ts +0 -3
- package/dist/react-native/api/guestSubscriptions/index.js +0 -4
- package/dist/react-native/api/guestSubscriptions/index.js.map +0 -1
- package/dist/react-native/api/guestSubscriptions/operations.d.ts +0 -27
- package/dist/react-native/api/guestSubscriptions/operations.js +0 -125
- package/dist/react-native/api/guestSubscriptions/operations.js.map +0 -1
- package/dist/react-native/api/guestSubscriptions/options.d.ts +0 -14
- package/dist/react-native/api/guestSubscriptions/options.js.map +0 -1
- package/dist/react-native/api/index.d.ts +0 -3
- package/dist/react-native/api/index.js +0 -4
- package/dist/react-native/api/index.js.map +0 -1
- package/dist/react-native/api/operations/index.d.ts +0 -3
- package/dist/react-native/api/operations/index.js +0 -4
- package/dist/react-native/api/operations/index.js.map +0 -1
- package/dist/react-native/api/operations/operations.d.ts +0 -10
- package/dist/react-native/api/operations/operations.js +0 -31
- package/dist/react-native/api/operations/operations.js.map +0 -1
- package/dist/react-native/api/operations/options.d.ts +0 -5
- package/dist/react-native/api/operations/options.js +0 -4
- package/dist/react-native/api/operations/options.js.map +0 -1
- package/dist/react-native/api/sharedLimits/index.d.ts +0 -3
- package/dist/react-native/api/sharedLimits/index.js +0 -4
- package/dist/react-native/api/sharedLimits/index.js.map +0 -1
- package/dist/react-native/api/sharedLimits/operations.d.ts +0 -27
- package/dist/react-native/api/sharedLimits/operations.js +0 -121
- package/dist/react-native/api/sharedLimits/operations.js.map +0 -1
- package/dist/react-native/api/sharedLimits/options.d.ts +0 -14
- package/dist/react-native/api/sharedLimits/options.js +0 -4
- package/dist/react-native/api/sharedLimits/options.js.map +0 -1
- package/dist/react-native/classic/features/index.d.ts +0 -16
- package/dist/react-native/classic/features/index.js +0 -16
- package/dist/react-native/classic/features/index.js.map +0 -1
- package/dist/react-native/classic/guestSubscriptions/index.d.ts +0 -22
- package/dist/react-native/classic/guestSubscriptions/index.js +0 -17
- package/dist/react-native/classic/guestSubscriptions/index.js.map +0 -1
- package/dist/react-native/classic/index.d.ts +0 -5
- package/dist/react-native/classic/index.js +0 -4
- package/dist/react-native/classic/index.js.map +0 -1
- package/dist/react-native/classic/operations/index.d.ts +0 -11
- package/dist/react-native/classic/operations/index.js +0 -14
- package/dist/react-native/classic/operations/index.js.map +0 -1
- package/dist/react-native/classic/sharedLimits/index.d.ts +0 -22
- package/dist/react-native/classic/sharedLimits/index.js +0 -17
- package/dist/react-native/classic/sharedLimits/index.js.map +0 -1
- package/dist/react-native/computeLimitClient.d.ts +0 -24
- package/dist/react-native/computeLimitClient.js +0 -37
- package/dist/react-native/computeLimitClient.js.map +0 -1
- package/dist/react-native/index.d.ts +0 -18
- package/dist/react-native/index.js +0 -8
- package/dist/react-native/index.js.map +0 -1
- package/dist/react-native/logger.d.ts +0 -2
- package/dist/react-native/logger.js +0 -5
- package/dist/react-native/logger.js.map +0 -1
- package/dist/react-native/models/index.d.ts +0 -3
- package/dist/react-native/models/index.js +0 -4
- package/dist/react-native/models/index.js.map +0 -1
- package/dist/react-native/models/models.d.ts +0 -308
- package/dist/react-native/models/models.js +0 -304
- package/dist/react-native/models/models.js.map +0 -1
- package/dist/react-native/package.json +0 -3
- package/dist/react-native/restorePollerHelpers.d.ts +0 -21
- package/dist/react-native/restorePollerHelpers.js +0 -94
- package/dist/react-native/restorePollerHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/cloudSettingHelpers.d.ts +0 -22
- package/dist/react-native/static-helpers/cloudSettingHelpers.js +0 -38
- package/dist/react-native/static-helpers/cloudSettingHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/pagingHelpers.d.ts +0 -74
- package/dist/react-native/static-helpers/pagingHelpers.js +0 -143
- package/dist/react-native/static-helpers/pagingHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +0 -34
- package/dist/react-native/static-helpers/pollingHelpers.js +0 -95
- package/dist/react-native/static-helpers/pollingHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/urlTemplate.d.ts +0 -5
- package/dist/react-native/static-helpers/urlTemplate.js +0 -200
- package/dist/react-native/static-helpers/urlTemplate.js.map +0 -1
- /package/dist/{react-native/api/features → browser/api/vmFamilies}/options.js +0 -0
- /package/dist/{react-native/api/guestSubscriptions → esm/api/vmFamilies}/options.js +0 -0
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type { ComputeLimitContext } from "../../api/computeLimitContext.js";
|
|
2
|
-
import type { FeaturesEnableOptionalParams, FeaturesListBySubscriptionLocationResourceOptionalParams, FeaturesGetOptionalParams } from "../../api/features/options.js";
|
|
2
|
+
import type { FeaturesDisableOptionalParams, FeaturesEnableOptionalParams, FeaturesListBySubscriptionLocationResourceOptionalParams, FeaturesGetOptionalParams } from "../../api/features/options.js";
|
|
3
3
|
import type { Feature, OperationStatusResult } from "../../models/models.js";
|
|
4
4
|
import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
5
|
import type { PollerLike, OperationState } from "@azure/core-lro";
|
|
6
6
|
/** Interface representing a Features operations. */
|
|
7
7
|
export interface FeaturesOperations {
|
|
8
|
+
/** Disables a compute limit feature for the subscription at the specified location. */
|
|
9
|
+
disable: (location: string, featureName: string, options?: FeaturesDisableOptionalParams) => PollerLike<OperationState<OperationStatusResult>, OperationStatusResult>;
|
|
8
10
|
/** Enables a compute limit feature for the subscription at the specified location. */
|
|
9
11
|
enable: (location: string, featureName: string, options?: FeaturesEnableOptionalParams) => PollerLike<OperationState<OperationStatusResult>, OperationStatusResult>;
|
|
10
12
|
/** Lists all compute limit features for the subscription at the specified location. */
|
|
@@ -23,6 +23,7 @@ module.exports = __toCommonJS(features_exports);
|
|
|
23
23
|
var import_operations = require("../../api/features/operations.js");
|
|
24
24
|
function _getFeatures(context) {
|
|
25
25
|
return {
|
|
26
|
+
disable: (location, featureName, options) => (0, import_operations.disable)(context, location, featureName, options),
|
|
26
27
|
enable: (location, featureName, options) => (0, import_operations.enable)(context, location, featureName, options),
|
|
27
28
|
listBySubscriptionLocationResource: (location, options) => (0, import_operations.listBySubscriptionLocationResource)(context, location, options),
|
|
28
29
|
get: (location, featureName, options) => (0, import_operations.get)(context, location, featureName, options)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/classic/features/index.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ComputeLimitContext } from \"../../api/computeLimitContext.js\";\nimport {
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ComputeLimitContext } from \"../../api/computeLimitContext.js\";\nimport {\n disable,\n enable,\n listBySubscriptionLocationResource,\n get,\n} from \"../../api/features/operations.js\";\nimport type {\n FeaturesDisableOptionalParams,\n FeaturesEnableOptionalParams,\n FeaturesListBySubscriptionLocationResourceOptionalParams,\n FeaturesGetOptionalParams,\n} from \"../../api/features/options.js\";\nimport type { Feature, OperationStatusResult } from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport type { PollerLike, OperationState } from \"@azure/core-lro\";\n\n/** Interface representing a Features operations. */\nexport interface FeaturesOperations {\n /** Disables a compute limit feature for the subscription at the specified location. */\n disable: (\n location: string,\n featureName: string,\n options?: FeaturesDisableOptionalParams,\n ) => PollerLike<OperationState<OperationStatusResult>, OperationStatusResult>;\n /** Enables a compute limit feature for the subscription at the specified location. */\n enable: (\n location: string,\n featureName: string,\n options?: FeaturesEnableOptionalParams,\n ) => PollerLike<OperationState<OperationStatusResult>, OperationStatusResult>;\n /** Lists all compute limit features for the subscription at the specified location. */\n listBySubscriptionLocationResource: (\n location: string,\n options?: FeaturesListBySubscriptionLocationResourceOptionalParams,\n ) => PagedAsyncIterableIterator<Feature>;\n /** Gets the properties of a compute limit feature. */\n get: (\n location: string,\n featureName: string,\n options?: FeaturesGetOptionalParams,\n ) => Promise<Feature>;\n}\n\nfunction _getFeatures(context: ComputeLimitContext) {\n return {\n disable: (location: string, featureName: string, options?: FeaturesDisableOptionalParams) =>\n disable(context, location, featureName, options),\n enable: (location: string, featureName: string, options?: FeaturesEnableOptionalParams) =>\n enable(context, location, featureName, options),\n listBySubscriptionLocationResource: (\n location: string,\n options?: FeaturesListBySubscriptionLocationResourceOptionalParams,\n ) => listBySubscriptionLocationResource(context, location, options),\n get: (location: string, featureName: string, options?: FeaturesGetOptionalParams) =>\n get(context, location, featureName, options),\n };\n}\n\nexport function _getFeaturesOperations(context: ComputeLimitContext): FeaturesOperations {\n return {\n ..._getFeatures(context),\n };\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,wBAKO;AAsCP,SAAS,aAAa,SAA8B;AAClD,SAAO;AAAA,IACL,SAAS,CAAC,UAAkB,aAAqB,gBAC/C,2BAAQ,SAAS,UAAU,aAAa,OAAO;AAAA,IACjD,QAAQ,CAAC,UAAkB,aAAqB,gBAC9C,0BAAO,SAAS,UAAU,aAAa,OAAO;AAAA,IAChD,oCAAoC,CAClC,UACA,gBACG,sDAAmC,SAAS,UAAU,OAAO;AAAA,IAClE,KAAK,CAAC,UAAkB,aAAqB,gBAC3C,uBAAI,SAAS,UAAU,aAAa,OAAO;AAAA,EAC/C;AACF;AAEO,SAAS,uBAAuB,SAAkD;AACvF,SAAO;AAAA,IACL,GAAG,aAAa,OAAO;AAAA,EACzB;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -7,11 +7,6 @@ export interface GuestSubscriptionsOperations {
|
|
|
7
7
|
/** Lists all guest subscriptions in a location. */
|
|
8
8
|
listBySubscriptionLocationResource: (location: string, options?: GuestSubscriptionsListBySubscriptionLocationResourceOptionalParams) => PagedAsyncIterableIterator<GuestSubscription>;
|
|
9
9
|
/** Deletes a subscription as a guest to stop consuming the compute limits shared by the host subscription. */
|
|
10
|
-
/**
|
|
11
|
-
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
12
|
-
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
13
|
-
* to the operation to override the generated name.
|
|
14
|
-
*/
|
|
15
10
|
delete: (location: string, guestSubscriptionId: string, options?: GuestSubscriptionsDeleteOptionalParams) => Promise<void>;
|
|
16
11
|
/** Adds a subscription as a guest to consume the compute limits shared by the host subscription. */
|
|
17
12
|
create: (location: string, guestSubscriptionId: string, resource: GuestSubscription, options?: GuestSubscriptionsCreateOptionalParams) => Promise<GuestSubscription>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/classic/guestSubscriptions/index.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ComputeLimitContext } from \"../../api/computeLimitContext.js\";\nimport {\n listBySubscriptionLocationResource,\n $delete,\n create,\n get,\n} from \"../../api/guestSubscriptions/operations.js\";\nimport type {\n GuestSubscriptionsListBySubscriptionLocationResourceOptionalParams,\n GuestSubscriptionsDeleteOptionalParams,\n GuestSubscriptionsCreateOptionalParams,\n GuestSubscriptionsGetOptionalParams,\n} from \"../../api/guestSubscriptions/options.js\";\nimport type { GuestSubscription } from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a GuestSubscriptions operations. */\nexport interface GuestSubscriptionsOperations {\n /** Lists all guest subscriptions in a location. */\n listBySubscriptionLocationResource: (\n location: string,\n options?: GuestSubscriptionsListBySubscriptionLocationResourceOptionalParams,\n ) => PagedAsyncIterableIterator<GuestSubscription>;\n /** Deletes a subscription as a guest to stop consuming the compute limits shared by the host subscription. */\n
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,wBAKO;
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ComputeLimitContext } from \"../../api/computeLimitContext.js\";\nimport {\n listBySubscriptionLocationResource,\n $delete,\n create,\n get,\n} from \"../../api/guestSubscriptions/operations.js\";\nimport type {\n GuestSubscriptionsListBySubscriptionLocationResourceOptionalParams,\n GuestSubscriptionsDeleteOptionalParams,\n GuestSubscriptionsCreateOptionalParams,\n GuestSubscriptionsGetOptionalParams,\n} from \"../../api/guestSubscriptions/options.js\";\nimport type { GuestSubscription } from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a GuestSubscriptions operations. */\nexport interface GuestSubscriptionsOperations {\n /** Lists all guest subscriptions in a location. */\n listBySubscriptionLocationResource: (\n location: string,\n options?: GuestSubscriptionsListBySubscriptionLocationResourceOptionalParams,\n ) => PagedAsyncIterableIterator<GuestSubscription>;\n /** Deletes a subscription as a guest to stop consuming the compute limits shared by the host subscription. */\n delete: (\n location: string,\n guestSubscriptionId: string,\n options?: GuestSubscriptionsDeleteOptionalParams,\n ) => Promise<void>;\n /** Adds a subscription as a guest to consume the compute limits shared by the host subscription. */\n create: (\n location: string,\n guestSubscriptionId: string,\n resource: GuestSubscription,\n options?: GuestSubscriptionsCreateOptionalParams,\n ) => Promise<GuestSubscription>;\n /** Gets the properties of a guest subscription. */\n get: (\n location: string,\n guestSubscriptionId: string,\n options?: GuestSubscriptionsGetOptionalParams,\n ) => Promise<GuestSubscription>;\n}\n\nfunction _getGuestSubscriptions(context: ComputeLimitContext) {\n return {\n listBySubscriptionLocationResource: (\n location: string,\n options?: GuestSubscriptionsListBySubscriptionLocationResourceOptionalParams,\n ) => listBySubscriptionLocationResource(context, location, options),\n delete: (\n location: string,\n guestSubscriptionId: string,\n options?: GuestSubscriptionsDeleteOptionalParams,\n ) => $delete(context, location, guestSubscriptionId, options),\n create: (\n location: string,\n guestSubscriptionId: string,\n resource: GuestSubscription,\n options?: GuestSubscriptionsCreateOptionalParams,\n ) => create(context, location, guestSubscriptionId, resource, options),\n get: (\n location: string,\n guestSubscriptionId: string,\n options?: GuestSubscriptionsGetOptionalParams,\n ) => get(context, location, guestSubscriptionId, options),\n };\n}\n\nexport function _getGuestSubscriptionsOperations(\n context: ComputeLimitContext,\n): GuestSubscriptionsOperations {\n return {\n ..._getGuestSubscriptions(context),\n };\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,wBAKO;AAsCP,SAAS,uBAAuB,SAA8B;AAC5D,SAAO;AAAA,IACL,oCAAoC,CAClC,UACA,gBACG,sDAAmC,SAAS,UAAU,OAAO;AAAA,IAClE,QAAQ,CACN,UACA,qBACA,gBACG,2BAAQ,SAAS,UAAU,qBAAqB,OAAO;AAAA,IAC5D,QAAQ,CACN,UACA,qBACA,UACA,gBACG,0BAAO,SAAS,UAAU,qBAAqB,UAAU,OAAO;AAAA,IACrE,KAAK,CACH,UACA,qBACA,gBACG,uBAAI,SAAS,UAAU,qBAAqB,OAAO;AAAA,EAC1D;AACF;AAEO,SAAS,iCACd,SAC8B;AAC9B,SAAO;AAAA,IACL,GAAG,uBAAuB,OAAO;AAAA,EACnC;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -2,4 +2,5 @@ export type { FeaturesOperations } from "./features/index.js";
|
|
|
2
2
|
export type { GuestSubscriptionsOperations } from "./guestSubscriptions/index.js";
|
|
3
3
|
export type { OperationsOperations } from "./operations/index.js";
|
|
4
4
|
export type { SharedLimitsOperations } from "./sharedLimits/index.js";
|
|
5
|
+
export type { VmFamiliesOperations } from "./vmFamilies/index.js";
|
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/classic/index.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport type { FeaturesOperations } from \"./features/index.js\";\nexport type { GuestSubscriptionsOperations } from \"./guestSubscriptions/index.js\";\nexport type { OperationsOperations } from \"./operations/index.js\";\nexport type { SharedLimitsOperations } from \"./sharedLimits/index.js\";\n"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport type { FeaturesOperations } from \"./features/index.js\";\nexport type { GuestSubscriptionsOperations } from \"./guestSubscriptions/index.js\";\nexport type { OperationsOperations } from \"./operations/index.js\";\nexport type { SharedLimitsOperations } from \"./sharedLimits/index.js\";\nexport type { VmFamiliesOperations } from \"./vmFamilies/index.js\";\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -7,11 +7,6 @@ export interface SharedLimitsOperations {
|
|
|
7
7
|
/** Lists all compute limits shared by the host subscription with its guest subscriptions. */
|
|
8
8
|
listBySubscriptionLocationResource: (location: string, options?: SharedLimitsListBySubscriptionLocationResourceOptionalParams) => PagedAsyncIterableIterator<SharedLimit>;
|
|
9
9
|
/** Disables sharing of a compute limit by the host subscription with its guest subscriptions. */
|
|
10
|
-
/**
|
|
11
|
-
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
12
|
-
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
13
|
-
* to the operation to override the generated name.
|
|
14
|
-
*/
|
|
15
10
|
delete: (location: string, name: string, options?: SharedLimitsDeleteOptionalParams) => Promise<void>;
|
|
16
11
|
/** Enables sharing of a compute limit by the host subscription with its guest subscriptions. */
|
|
17
12
|
create: (location: string, name: string, resource: SharedLimit, options?: SharedLimitsCreateOptionalParams) => Promise<SharedLimit>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/classic/sharedLimits/index.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ComputeLimitContext } from \"../../api/computeLimitContext.js\";\nimport {\n listBySubscriptionLocationResource,\n $delete,\n create,\n get,\n} from \"../../api/sharedLimits/operations.js\";\nimport type {\n SharedLimitsListBySubscriptionLocationResourceOptionalParams,\n SharedLimitsDeleteOptionalParams,\n SharedLimitsCreateOptionalParams,\n SharedLimitsGetOptionalParams,\n} from \"../../api/sharedLimits/options.js\";\nimport type { SharedLimit } from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a SharedLimits operations. */\nexport interface SharedLimitsOperations {\n /** Lists all compute limits shared by the host subscription with its guest subscriptions. */\n listBySubscriptionLocationResource: (\n location: string,\n options?: SharedLimitsListBySubscriptionLocationResourceOptionalParams,\n ) => PagedAsyncIterableIterator<SharedLimit>;\n /** Disables sharing of a compute limit by the host subscription with its guest subscriptions. */\n
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,wBAKO;
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ComputeLimitContext } from \"../../api/computeLimitContext.js\";\nimport {\n listBySubscriptionLocationResource,\n $delete,\n create,\n get,\n} from \"../../api/sharedLimits/operations.js\";\nimport type {\n SharedLimitsListBySubscriptionLocationResourceOptionalParams,\n SharedLimitsDeleteOptionalParams,\n SharedLimitsCreateOptionalParams,\n SharedLimitsGetOptionalParams,\n} from \"../../api/sharedLimits/options.js\";\nimport type { SharedLimit } from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a SharedLimits operations. */\nexport interface SharedLimitsOperations {\n /** Lists all compute limits shared by the host subscription with its guest subscriptions. */\n listBySubscriptionLocationResource: (\n location: string,\n options?: SharedLimitsListBySubscriptionLocationResourceOptionalParams,\n ) => PagedAsyncIterableIterator<SharedLimit>;\n /** Disables sharing of a compute limit by the host subscription with its guest subscriptions. */\n delete: (\n location: string,\n name: string,\n options?: SharedLimitsDeleteOptionalParams,\n ) => Promise<void>;\n /** Enables sharing of a compute limit by the host subscription with its guest subscriptions. */\n create: (\n location: string,\n name: string,\n resource: SharedLimit,\n options?: SharedLimitsCreateOptionalParams,\n ) => Promise<SharedLimit>;\n /** Gets the properties of a compute limit shared by the host subscription with its guest subscriptions. */\n get: (\n location: string,\n name: string,\n options?: SharedLimitsGetOptionalParams,\n ) => Promise<SharedLimit>;\n}\n\nfunction _getSharedLimits(context: ComputeLimitContext) {\n return {\n listBySubscriptionLocationResource: (\n location: string,\n options?: SharedLimitsListBySubscriptionLocationResourceOptionalParams,\n ) => listBySubscriptionLocationResource(context, location, options),\n delete: (location: string, name: string, options?: SharedLimitsDeleteOptionalParams) =>\n $delete(context, location, name, options),\n create: (\n location: string,\n name: string,\n resource: SharedLimit,\n options?: SharedLimitsCreateOptionalParams,\n ) => create(context, location, name, resource, options),\n get: (location: string, name: string, options?: SharedLimitsGetOptionalParams) =>\n get(context, location, name, options),\n };\n}\n\nexport function _getSharedLimitsOperations(context: ComputeLimitContext): SharedLimitsOperations {\n return {\n ..._getSharedLimits(context),\n };\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,wBAKO;AAsCP,SAAS,iBAAiB,SAA8B;AACtD,SAAO;AAAA,IACL,oCAAoC,CAClC,UACA,gBACG,sDAAmC,SAAS,UAAU,OAAO;AAAA,IAClE,QAAQ,CAAC,UAAkB,MAAc,gBACvC,2BAAQ,SAAS,UAAU,MAAM,OAAO;AAAA,IAC1C,QAAQ,CACN,UACA,MACA,UACA,gBACG,0BAAO,SAAS,UAAU,MAAM,UAAU,OAAO;AAAA,IACtD,KAAK,CAAC,UAAkB,MAAc,gBACpC,uBAAI,SAAS,UAAU,MAAM,OAAO;AAAA,EACxC;AACF;AAEO,SAAS,2BAA2B,SAAsD;AAC/F,SAAO;AAAA,IACL,GAAG,iBAAiB,OAAO;AAAA,EAC7B;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ComputeLimitContext } from "../../api/computeLimitContext.js";
|
|
2
|
+
import type { VmFamiliesListBySubscriptionLocationResourceOptionalParams, VmFamiliesGetOptionalParams } from "../../api/vmFamilies/options.js";
|
|
3
|
+
import type { VmFamily } from "../../models/models.js";
|
|
4
|
+
import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
/** Interface representing a VmFamilies operations. */
|
|
6
|
+
export interface VmFamiliesOperations {
|
|
7
|
+
/** Lists all VM families for the subscription at the specified location. */
|
|
8
|
+
listBySubscriptionLocationResource: (location: string, options?: VmFamiliesListBySubscriptionLocationResourceOptionalParams) => PagedAsyncIterableIterator<VmFamily>;
|
|
9
|
+
/** Gets the properties of a VM family. */
|
|
10
|
+
get: (location: string, vmFamilyName: string, options?: VmFamiliesGetOptionalParams) => Promise<VmFamily>;
|
|
11
|
+
}
|
|
12
|
+
export declare function _getVmFamiliesOperations(context: ComputeLimitContext): VmFamiliesOperations;
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var vmFamilies_exports = {};
|
|
19
|
+
__export(vmFamilies_exports, {
|
|
20
|
+
_getVmFamiliesOperations: () => _getVmFamiliesOperations
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(vmFamilies_exports);
|
|
23
|
+
var import_operations = require("../../api/vmFamilies/operations.js");
|
|
24
|
+
function _getVmFamilies(context) {
|
|
25
|
+
return {
|
|
26
|
+
listBySubscriptionLocationResource: (location, options) => (0, import_operations.listBySubscriptionLocationResource)(context, location, options),
|
|
27
|
+
get: (location, vmFamilyName, options) => (0, import_operations.get)(context, location, vmFamilyName, options)
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function _getVmFamiliesOperations(context) {
|
|
31
|
+
return {
|
|
32
|
+
..._getVmFamilies(context)
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
36
|
+
0 && (module.exports = {
|
|
37
|
+
_getVmFamiliesOperations
|
|
38
|
+
});
|
|
39
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/classic/vmFamilies/index.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ComputeLimitContext } from \"../../api/computeLimitContext.js\";\nimport { listBySubscriptionLocationResource, get } from \"../../api/vmFamilies/operations.js\";\nimport type {\n VmFamiliesListBySubscriptionLocationResourceOptionalParams,\n VmFamiliesGetOptionalParams,\n} from \"../../api/vmFamilies/options.js\";\nimport type { VmFamily } from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a VmFamilies operations. */\nexport interface VmFamiliesOperations {\n /** Lists all VM families for the subscription at the specified location. */\n listBySubscriptionLocationResource: (\n location: string,\n options?: VmFamiliesListBySubscriptionLocationResourceOptionalParams,\n ) => PagedAsyncIterableIterator<VmFamily>;\n /** Gets the properties of a VM family. */\n get: (\n location: string,\n vmFamilyName: string,\n options?: VmFamiliesGetOptionalParams,\n ) => Promise<VmFamily>;\n}\n\nfunction _getVmFamilies(context: ComputeLimitContext) {\n return {\n listBySubscriptionLocationResource: (\n location: string,\n options?: VmFamiliesListBySubscriptionLocationResourceOptionalParams,\n ) => listBySubscriptionLocationResource(context, location, options),\n get: (location: string, vmFamilyName: string, options?: VmFamiliesGetOptionalParams) =>\n get(context, location, vmFamilyName, options),\n };\n}\n\nexport function _getVmFamiliesOperations(context: ComputeLimitContext): VmFamiliesOperations {\n return {\n ..._getVmFamilies(context),\n };\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,wBAAwD;AAuBxD,SAAS,eAAe,SAA8B;AACpD,SAAO;AAAA,IACL,oCAAoC,CAClC,UACA,gBACG,sDAAmC,SAAS,UAAU,OAAO;AAAA,IAClE,KAAK,CAAC,UAAkB,cAAsB,gBAC5C,uBAAI,SAAS,UAAU,cAAc,OAAO;AAAA,EAChD;AACF;AAEO,SAAS,yBAAyB,SAAoD;AAC3F,SAAO;AAAA,IACL,GAAG,eAAe,OAAO;AAAA,EAC3B;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -3,6 +3,7 @@ import type { FeaturesOperations } from "./classic/features/index.js";
|
|
|
3
3
|
import type { GuestSubscriptionsOperations } from "./classic/guestSubscriptions/index.js";
|
|
4
4
|
import type { OperationsOperations } from "./classic/operations/index.js";
|
|
5
5
|
import type { SharedLimitsOperations } from "./classic/sharedLimits/index.js";
|
|
6
|
+
import type { VmFamiliesOperations } from "./classic/vmFamilies/index.js";
|
|
6
7
|
import type { TokenCredential } from "@azure/core-auth";
|
|
7
8
|
import type { Pipeline } from "@azure/core-rest-pipeline";
|
|
8
9
|
export type { ComputeLimitClientOptionalParams } from "./api/computeLimitContext.js";
|
|
@@ -12,6 +13,8 @@ export declare class ComputeLimitClient {
|
|
|
12
13
|
readonly pipeline: Pipeline;
|
|
13
14
|
/** Microsoft Azure Compute Limit Resource Provider. */
|
|
14
15
|
constructor(credential: TokenCredential, subscriptionId: string, options?: ComputeLimitClientOptionalParams);
|
|
16
|
+
/** The operation groups for vmFamilies */
|
|
17
|
+
readonly vmFamilies: VmFamiliesOperations;
|
|
15
18
|
/** The operation groups for features */
|
|
16
19
|
readonly features: FeaturesOperations;
|
|
17
20
|
/** The operation groups for sharedLimits */
|
|
@@ -25,6 +25,7 @@ var import_features = require("./classic/features/index.js");
|
|
|
25
25
|
var import_guestSubscriptions = require("./classic/guestSubscriptions/index.js");
|
|
26
26
|
var import_operations = require("./classic/operations/index.js");
|
|
27
27
|
var import_sharedLimits = require("./classic/sharedLimits/index.js");
|
|
28
|
+
var import_vmFamilies = require("./classic/vmFamilies/index.js");
|
|
28
29
|
class ComputeLimitClient {
|
|
29
30
|
_client;
|
|
30
31
|
/** The pipeline used by this client to make requests */
|
|
@@ -38,11 +39,14 @@ class ComputeLimitClient {
|
|
|
38
39
|
userAgentOptions: { userAgentPrefix }
|
|
39
40
|
});
|
|
40
41
|
this.pipeline = this._client.pipeline;
|
|
42
|
+
this.vmFamilies = (0, import_vmFamilies._getVmFamiliesOperations)(this._client);
|
|
41
43
|
this.features = (0, import_features._getFeaturesOperations)(this._client);
|
|
42
44
|
this.sharedLimits = (0, import_sharedLimits._getSharedLimitsOperations)(this._client);
|
|
43
45
|
this.guestSubscriptions = (0, import_guestSubscriptions._getGuestSubscriptionsOperations)(this._client);
|
|
44
46
|
this.operations = (0, import_operations._getOperationsOperations)(this._client);
|
|
45
47
|
}
|
|
48
|
+
/** The operation groups for vmFamilies */
|
|
49
|
+
vmFamilies;
|
|
46
50
|
/** The operation groups for features */
|
|
47
51
|
features;
|
|
48
52
|
/** The operation groups for sharedLimits */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/computeLimitClient.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ComputeLimitContext, ComputeLimitClientOptionalParams } from \"./api/index.js\";\nimport { createComputeLimit } from \"./api/index.js\";\nimport type { FeaturesOperations } from \"./classic/features/index.js\";\nimport { _getFeaturesOperations } from \"./classic/features/index.js\";\nimport type { GuestSubscriptionsOperations } from \"./classic/guestSubscriptions/index.js\";\nimport { _getGuestSubscriptionsOperations } from \"./classic/guestSubscriptions/index.js\";\nimport type { OperationsOperations } from \"./classic/operations/index.js\";\nimport { _getOperationsOperations } from \"./classic/operations/index.js\";\nimport type { SharedLimitsOperations } from \"./classic/sharedLimits/index.js\";\nimport { _getSharedLimitsOperations } from \"./classic/sharedLimits/index.js\";\nimport type { TokenCredential } from \"@azure/core-auth\";\nimport type { Pipeline } from \"@azure/core-rest-pipeline\";\n\nexport type { ComputeLimitClientOptionalParams } from \"./api/computeLimitContext.js\";\n\nexport class ComputeLimitClient {\n private _client: ComputeLimitContext;\n /** The pipeline used by this client to make requests */\n public readonly pipeline: Pipeline;\n\n /** Microsoft Azure Compute Limit Resource Provider. */\n constructor(\n credential: TokenCredential,\n subscriptionId: string,\n options: ComputeLimitClientOptionalParams = {},\n ) {\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-client`\n : `azsdk-js-client`;\n this._client = createComputeLimit(credential, subscriptionId, {\n ...options,\n userAgentOptions: { userAgentPrefix },\n });\n this.pipeline = this._client.pipeline;\n this.features = _getFeaturesOperations(this._client);\n this.sharedLimits = _getSharedLimitsOperations(this._client);\n this.guestSubscriptions = _getGuestSubscriptionsOperations(this._client);\n this.operations = _getOperationsOperations(this._client);\n }\n\n /** The operation groups for features */\n public readonly features: FeaturesOperations;\n /** The operation groups for sharedLimits */\n public readonly sharedLimits: SharedLimitsOperations;\n /** The operation groups for guestSubscriptions */\n public readonly guestSubscriptions: GuestSubscriptionsOperations;\n /** The operation groups for operations */\n public readonly operations: OperationsOperations;\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,iBAAmC;AAEnC,sBAAuC;AAEvC,gCAAiD;AAEjD,wBAAyC;AAEzC,0BAA2C;
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ComputeLimitContext, ComputeLimitClientOptionalParams } from \"./api/index.js\";\nimport { createComputeLimit } from \"./api/index.js\";\nimport type { FeaturesOperations } from \"./classic/features/index.js\";\nimport { _getFeaturesOperations } from \"./classic/features/index.js\";\nimport type { GuestSubscriptionsOperations } from \"./classic/guestSubscriptions/index.js\";\nimport { _getGuestSubscriptionsOperations } from \"./classic/guestSubscriptions/index.js\";\nimport type { OperationsOperations } from \"./classic/operations/index.js\";\nimport { _getOperationsOperations } from \"./classic/operations/index.js\";\nimport type { SharedLimitsOperations } from \"./classic/sharedLimits/index.js\";\nimport { _getSharedLimitsOperations } from \"./classic/sharedLimits/index.js\";\nimport type { VmFamiliesOperations } from \"./classic/vmFamilies/index.js\";\nimport { _getVmFamiliesOperations } from \"./classic/vmFamilies/index.js\";\nimport type { TokenCredential } from \"@azure/core-auth\";\nimport type { Pipeline } from \"@azure/core-rest-pipeline\";\n\nexport type { ComputeLimitClientOptionalParams } from \"./api/computeLimitContext.js\";\n\nexport class ComputeLimitClient {\n private _client: ComputeLimitContext;\n /** The pipeline used by this client to make requests */\n public readonly pipeline: Pipeline;\n\n /** Microsoft Azure Compute Limit Resource Provider. */\n constructor(\n credential: TokenCredential,\n subscriptionId: string,\n options: ComputeLimitClientOptionalParams = {},\n ) {\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-client`\n : `azsdk-js-client`;\n this._client = createComputeLimit(credential, subscriptionId, {\n ...options,\n userAgentOptions: { userAgentPrefix },\n });\n this.pipeline = this._client.pipeline;\n this.vmFamilies = _getVmFamiliesOperations(this._client);\n this.features = _getFeaturesOperations(this._client);\n this.sharedLimits = _getSharedLimitsOperations(this._client);\n this.guestSubscriptions = _getGuestSubscriptionsOperations(this._client);\n this.operations = _getOperationsOperations(this._client);\n }\n\n /** The operation groups for vmFamilies */\n public readonly vmFamilies: VmFamiliesOperations;\n /** The operation groups for features */\n public readonly features: FeaturesOperations;\n /** The operation groups for sharedLimits */\n public readonly sharedLimits: SharedLimitsOperations;\n /** The operation groups for guestSubscriptions */\n public readonly guestSubscriptions: GuestSubscriptionsOperations;\n /** The operation groups for operations */\n public readonly operations: OperationsOperations;\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,iBAAmC;AAEnC,sBAAuC;AAEvC,gCAAiD;AAEjD,wBAAyC;AAEzC,0BAA2C;AAE3C,wBAAyC;AAMlC,MAAM,mBAAmB;AAAA,EACtB;AAAA;AAAA,EAEQ;AAAA;AAAA,EAGhB,YACE,YACA,gBACA,UAA4C,CAAC,GAC7C;AACA,UAAM,oBAAoB,SAAS,kBAAkB;AACrD,UAAM,kBAAkB,oBACpB,GAAG,iBAAiB,qBACpB;AACJ,SAAK,cAAU,+BAAmB,YAAY,gBAAgB;AAAA,MAC5D,GAAG;AAAA,MACH,kBAAkB,EAAE,gBAAgB;AAAA,IACtC,CAAC;AACD,SAAK,WAAW,KAAK,QAAQ;AAC7B,SAAK,iBAAa,4CAAyB,KAAK,OAAO;AACvD,SAAK,eAAW,wCAAuB,KAAK,OAAO;AACnD,SAAK,mBAAe,gDAA2B,KAAK,OAAO;AAC3D,SAAK,yBAAqB,4DAAiC,KAAK,OAAO;AACvE,SAAK,iBAAa,4CAAyB,KAAK,OAAO;AAAA,EACzD;AAAA;AAAA,EAGgB;AAAA;AAAA,EAEA;AAAA;AAAA,EAEA;AAAA;AAAA,EAEA;AAAA;AAAA,EAEA;AAClB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/commonjs/index.d.ts
CHANGED
|
@@ -4,15 +4,17 @@ import type { PageSettings, ContinuablePage, PagedAsyncIterableIterator } from "
|
|
|
4
4
|
export { ComputeLimitClient } from "./computeLimitClient.js";
|
|
5
5
|
export type { RestorePollerOptions } from "./restorePollerHelpers.js";
|
|
6
6
|
export { restorePoller } from "./restorePollerHelpers.js";
|
|
7
|
-
export type { Operation, OperationDisplay, Origin, ActionType, ErrorResponse, ErrorDetail, ErrorAdditionalInfo, GuestSubscription, GuestSubscriptionProperties, ResourceProvisioningState, ProxyResource, Resource, SystemData, CreatedByType, SharedLimit, SharedLimitProperties, LimitName, Feature, FeatureProperties, FeatureState, OperationStatusResult, } from "./models/index.js";
|
|
7
|
+
export type { Operation, OperationDisplay, Origin, ActionType, ErrorResponse, ErrorDetail, ErrorAdditionalInfo, GuestSubscription, GuestSubscriptionProperties, ResourceProvisioningState, ProxyResource, Resource, SystemData, CreatedByType, SharedLimit, SharedLimitProperties, LimitName, Feature, FeatureProperties, FeatureState, FeatureEnableRequest, OperationStatusResult, VmFamily, VmFamilyProperties, } from "./models/index.js";
|
|
8
8
|
export { KnownOrigin, KnownActionType, KnownResourceProvisioningState, KnownCreatedByType, KnownFeatureState, KnownVersions, } from "./models/index.js";
|
|
9
9
|
export type { ComputeLimitClientOptionalParams } from "./api/index.js";
|
|
10
|
-
export type { FeaturesEnableOptionalParams, FeaturesListBySubscriptionLocationResourceOptionalParams, FeaturesGetOptionalParams, } from "./api/features/index.js";
|
|
10
|
+
export type { FeaturesDisableOptionalParams, FeaturesEnableOptionalParams, FeaturesListBySubscriptionLocationResourceOptionalParams, FeaturesGetOptionalParams, } from "./api/features/index.js";
|
|
11
11
|
export type { GuestSubscriptionsListBySubscriptionLocationResourceOptionalParams, GuestSubscriptionsDeleteOptionalParams, GuestSubscriptionsCreateOptionalParams, GuestSubscriptionsGetOptionalParams, } from "./api/guestSubscriptions/index.js";
|
|
12
12
|
export type { OperationsListOptionalParams } from "./api/operations/index.js";
|
|
13
13
|
export type { SharedLimitsListBySubscriptionLocationResourceOptionalParams, SharedLimitsDeleteOptionalParams, SharedLimitsCreateOptionalParams, SharedLimitsGetOptionalParams, } from "./api/sharedLimits/index.js";
|
|
14
|
-
export type {
|
|
14
|
+
export type { VmFamiliesListBySubscriptionLocationResourceOptionalParams, VmFamiliesGetOptionalParams, } from "./api/vmFamilies/index.js";
|
|
15
|
+
export type { FeaturesOperations, GuestSubscriptionsOperations, OperationsOperations, SharedLimitsOperations, VmFamiliesOperations, } from "./classic/index.js";
|
|
15
16
|
export type { PageSettings, ContinuablePage, PagedAsyncIterableIterator };
|
|
16
17
|
export { AzureClouds };
|
|
17
18
|
export type { AzureSupportedClouds };
|
|
19
|
+
export { RestError, isRestError } from "@azure/core-rest-pipeline";
|
|
18
20
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/commonjs/index.js
CHANGED
|
@@ -25,6 +25,8 @@ __export(src_exports, {
|
|
|
25
25
|
KnownOrigin: () => import_models.KnownOrigin,
|
|
26
26
|
KnownResourceProvisioningState: () => import_models.KnownResourceProvisioningState,
|
|
27
27
|
KnownVersions: () => import_models.KnownVersions,
|
|
28
|
+
RestError: () => import_core_rest_pipeline.RestError,
|
|
29
|
+
isRestError: () => import_core_rest_pipeline.isRestError,
|
|
28
30
|
restorePoller: () => import_restorePollerHelpers.restorePoller
|
|
29
31
|
});
|
|
30
32
|
module.exports = __toCommonJS(src_exports);
|
|
@@ -32,6 +34,7 @@ var import_cloudSettingHelpers = require("./static-helpers/cloudSettingHelpers.j
|
|
|
32
34
|
var import_computeLimitClient = require("./computeLimitClient.js");
|
|
33
35
|
var import_restorePollerHelpers = require("./restorePollerHelpers.js");
|
|
34
36
|
var import_models = require("./models/index.js");
|
|
37
|
+
var import_core_rest_pipeline = require("@azure/core-rest-pipeline");
|
|
35
38
|
// Annotate the CommonJS export names for ESM import in node:
|
|
36
39
|
0 && (module.exports = {
|
|
37
40
|
AzureClouds,
|
|
@@ -42,6 +45,8 @@ var import_models = require("./models/index.js");
|
|
|
42
45
|
KnownOrigin,
|
|
43
46
|
KnownResourceProvisioningState,
|
|
44
47
|
KnownVersions,
|
|
48
|
+
RestError,
|
|
49
|
+
isRestError,
|
|
45
50
|
restorePoller
|
|
46
51
|
});
|
|
47
52
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AzureSupportedClouds } from \"./static-helpers/cloudSettingHelpers.js\";\nimport { AzureClouds } from \"./static-helpers/cloudSettingHelpers.js\";\nimport type {\n PageSettings,\n ContinuablePage,\n PagedAsyncIterableIterator,\n} from \"./static-helpers/pagingHelpers.js\";\n\nexport { ComputeLimitClient } from \"./computeLimitClient.js\";\nexport type { RestorePollerOptions } from \"./restorePollerHelpers.js\";\nexport { restorePoller } from \"./restorePollerHelpers.js\";\nexport type {\n Operation,\n OperationDisplay,\n Origin,\n ActionType,\n ErrorResponse,\n ErrorDetail,\n ErrorAdditionalInfo,\n GuestSubscription,\n GuestSubscriptionProperties,\n ResourceProvisioningState,\n ProxyResource,\n Resource,\n SystemData,\n CreatedByType,\n SharedLimit,\n SharedLimitProperties,\n LimitName,\n Feature,\n FeatureProperties,\n FeatureState,\n OperationStatusResult,\n} from \"./models/index.js\";\nexport {\n KnownOrigin,\n KnownActionType,\n KnownResourceProvisioningState,\n KnownCreatedByType,\n KnownFeatureState,\n KnownVersions,\n} from \"./models/index.js\";\nexport type { ComputeLimitClientOptionalParams } from \"./api/index.js\";\nexport type {\n FeaturesEnableOptionalParams,\n FeaturesListBySubscriptionLocationResourceOptionalParams,\n FeaturesGetOptionalParams,\n} from \"./api/features/index.js\";\nexport type {\n GuestSubscriptionsListBySubscriptionLocationResourceOptionalParams,\n GuestSubscriptionsDeleteOptionalParams,\n GuestSubscriptionsCreateOptionalParams,\n GuestSubscriptionsGetOptionalParams,\n} from \"./api/guestSubscriptions/index.js\";\nexport type { OperationsListOptionalParams } from \"./api/operations/index.js\";\nexport type {\n SharedLimitsListBySubscriptionLocationResourceOptionalParams,\n SharedLimitsDeleteOptionalParams,\n SharedLimitsCreateOptionalParams,\n SharedLimitsGetOptionalParams,\n} from \"./api/sharedLimits/index.js\";\nexport type {\n FeaturesOperations,\n GuestSubscriptionsOperations,\n OperationsOperations,\n SharedLimitsOperations,\n} from \"./classic/index.js\";\nexport type { PageSettings, ContinuablePage, PagedAsyncIterableIterator };\nexport { AzureClouds };\nexport type { AzureSupportedClouds };\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,iCAA4B;AAO5B,gCAAmC;AAEnC,kCAA8B;
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AzureSupportedClouds } from \"./static-helpers/cloudSettingHelpers.js\";\nimport { AzureClouds } from \"./static-helpers/cloudSettingHelpers.js\";\nimport type {\n PageSettings,\n ContinuablePage,\n PagedAsyncIterableIterator,\n} from \"./static-helpers/pagingHelpers.js\";\n\nexport { ComputeLimitClient } from \"./computeLimitClient.js\";\nexport type { RestorePollerOptions } from \"./restorePollerHelpers.js\";\nexport { restorePoller } from \"./restorePollerHelpers.js\";\nexport type {\n Operation,\n OperationDisplay,\n Origin,\n ActionType,\n ErrorResponse,\n ErrorDetail,\n ErrorAdditionalInfo,\n GuestSubscription,\n GuestSubscriptionProperties,\n ResourceProvisioningState,\n ProxyResource,\n Resource,\n SystemData,\n CreatedByType,\n SharedLimit,\n SharedLimitProperties,\n LimitName,\n Feature,\n FeatureProperties,\n FeatureState,\n FeatureEnableRequest,\n OperationStatusResult,\n VmFamily,\n VmFamilyProperties,\n} from \"./models/index.js\";\nexport {\n KnownOrigin,\n KnownActionType,\n KnownResourceProvisioningState,\n KnownCreatedByType,\n KnownFeatureState,\n KnownVersions,\n} from \"./models/index.js\";\nexport type { ComputeLimitClientOptionalParams } from \"./api/index.js\";\nexport type {\n FeaturesDisableOptionalParams,\n FeaturesEnableOptionalParams,\n FeaturesListBySubscriptionLocationResourceOptionalParams,\n FeaturesGetOptionalParams,\n} from \"./api/features/index.js\";\nexport type {\n GuestSubscriptionsListBySubscriptionLocationResourceOptionalParams,\n GuestSubscriptionsDeleteOptionalParams,\n GuestSubscriptionsCreateOptionalParams,\n GuestSubscriptionsGetOptionalParams,\n} from \"./api/guestSubscriptions/index.js\";\nexport type { OperationsListOptionalParams } from \"./api/operations/index.js\";\nexport type {\n SharedLimitsListBySubscriptionLocationResourceOptionalParams,\n SharedLimitsDeleteOptionalParams,\n SharedLimitsCreateOptionalParams,\n SharedLimitsGetOptionalParams,\n} from \"./api/sharedLimits/index.js\";\nexport type {\n VmFamiliesListBySubscriptionLocationResourceOptionalParams,\n VmFamiliesGetOptionalParams,\n} from \"./api/vmFamilies/index.js\";\nexport type {\n FeaturesOperations,\n GuestSubscriptionsOperations,\n OperationsOperations,\n SharedLimitsOperations,\n VmFamiliesOperations,\n} from \"./classic/index.js\";\nexport type { PageSettings, ContinuablePage, PagedAsyncIterableIterator };\nexport { AzureClouds };\nexport type { AzureSupportedClouds };\nexport { RestError, isRestError } from \"@azure/core-rest-pipeline\";\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,iCAA4B;AAO5B,gCAAmC;AAEnC,kCAA8B;AA2B9B,oBAOO;AAmCP,gCAAuC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type { Operation, OperationDisplay, Origin, ActionType, ErrorResponse, ErrorDetail, ErrorAdditionalInfo, GuestSubscription, GuestSubscriptionProperties, ResourceProvisioningState, ProxyResource, Resource, SystemData, CreatedByType, SharedLimit, SharedLimitProperties, LimitName, Feature, FeatureProperties, FeatureState, OperationStatusResult, } from "./models.js";
|
|
1
|
+
export type { Operation, OperationDisplay, Origin, ActionType, ErrorResponse, ErrorDetail, ErrorAdditionalInfo, GuestSubscription, GuestSubscriptionProperties, ResourceProvisioningState, ProxyResource, Resource, SystemData, CreatedByType, SharedLimit, SharedLimitProperties, LimitName, Feature, FeatureProperties, FeatureState, FeatureEnableRequest, OperationStatusResult, VmFamily, VmFamilyProperties, } from "./models.js";
|
|
2
2
|
export { KnownOrigin, KnownActionType, KnownResourceProvisioningState, KnownCreatedByType, KnownFeatureState, KnownVersions, } from "./models.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/models/index.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport type {\n Operation,\n OperationDisplay,\n Origin,\n ActionType,\n ErrorResponse,\n ErrorDetail,\n ErrorAdditionalInfo,\n GuestSubscription,\n GuestSubscriptionProperties,\n ResourceProvisioningState,\n ProxyResource,\n Resource,\n SystemData,\n CreatedByType,\n SharedLimit,\n SharedLimitProperties,\n LimitName,\n Feature,\n FeatureProperties,\n FeatureState,\n OperationStatusResult,\n} from \"./models.js\";\nexport {\n KnownOrigin,\n KnownActionType,\n KnownResourceProvisioningState,\n KnownCreatedByType,\n KnownFeatureState,\n KnownVersions,\n} from \"./models.js\";\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport type {\n Operation,\n OperationDisplay,\n Origin,\n ActionType,\n ErrorResponse,\n ErrorDetail,\n ErrorAdditionalInfo,\n GuestSubscription,\n GuestSubscriptionProperties,\n ResourceProvisioningState,\n ProxyResource,\n Resource,\n SystemData,\n CreatedByType,\n SharedLimit,\n SharedLimitProperties,\n LimitName,\n Feature,\n FeatureProperties,\n FeatureState,\n FeatureEnableRequest,\n OperationStatusResult,\n VmFamily,\n VmFamilyProperties,\n} from \"./models.js\";\nexport {\n KnownOrigin,\n KnownActionType,\n KnownResourceProvisioningState,\n KnownCreatedByType,\n KnownFeatureState,\n KnownVersions,\n} from \"./models.js\";\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA6BA,oBAOO;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -275,6 +275,12 @@ export interface _FeatureListResult {
|
|
|
275
275
|
}
|
|
276
276
|
export declare function _featureListResultDeserializer(item: any): _FeatureListResult;
|
|
277
277
|
export declare function featureArrayDeserializer(result: Array<Feature>): any[];
|
|
278
|
+
/** Request body for feature enable action. */
|
|
279
|
+
export interface FeatureEnableRequest {
|
|
280
|
+
/** The Service Tree identifier associated with this feature action. */
|
|
281
|
+
serviceTreeId?: string;
|
|
282
|
+
}
|
|
283
|
+
export declare function featureEnableRequestSerializer(item: FeatureEnableRequest): any;
|
|
278
284
|
/** The current status of an async operation. */
|
|
279
285
|
export interface OperationStatusResult {
|
|
280
286
|
/** Fully qualified ID for the async operation. */
|
|
@@ -298,11 +304,38 @@ export interface OperationStatusResult {
|
|
|
298
304
|
}
|
|
299
305
|
export declare function operationStatusResultDeserializer(item: any): OperationStatusResult;
|
|
300
306
|
export declare function operationStatusResultArrayDeserializer(result: Array<OperationStatusResult>): any[];
|
|
307
|
+
/** VM family resource representing a virtual machine family and its category. */
|
|
308
|
+
export interface VmFamily extends ProxyResource {
|
|
309
|
+
/** The resource-specific properties for this resource. */
|
|
310
|
+
properties?: VmFamilyProperties;
|
|
311
|
+
}
|
|
312
|
+
export declare function vmFamilyDeserializer(item: any): VmFamily;
|
|
313
|
+
/** Properties of a VM family resource. */
|
|
314
|
+
export interface VmFamilyProperties {
|
|
315
|
+
/** The category of the VM family (for example, GeneralPurpose, ComputeOptimized). */
|
|
316
|
+
category?: string;
|
|
317
|
+
/** The provisioning state of the resource. */
|
|
318
|
+
readonly provisioningState?: ResourceProvisioningState;
|
|
319
|
+
}
|
|
320
|
+
export declare function vmFamilyPropertiesDeserializer(item: any): VmFamilyProperties;
|
|
321
|
+
/** The response of a VmFamily list operation. */
|
|
322
|
+
export interface _VmFamilyListResult {
|
|
323
|
+
/** The VmFamily items on this page */
|
|
324
|
+
value: VmFamily[];
|
|
325
|
+
/** The link to the next page of items */
|
|
326
|
+
nextLink?: string;
|
|
327
|
+
}
|
|
328
|
+
export declare function _vmFamilyListResultDeserializer(item: any): _VmFamilyListResult;
|
|
329
|
+
export declare function vmFamilyArrayDeserializer(result: Array<VmFamily>): any[];
|
|
301
330
|
/** The available API versions. */
|
|
302
331
|
export declare enum KnownVersions {
|
|
303
332
|
/** The 2025-08-15 API version. */
|
|
304
333
|
V20250815 = "2025-08-15",
|
|
305
334
|
/** The 2026-03-20 API version. */
|
|
306
|
-
V20260320 = "2026-03-20"
|
|
335
|
+
V20260320 = "2026-03-20",
|
|
336
|
+
/** The 2026-04-30 API version. */
|
|
337
|
+
V20260430 = "2026-04-30",
|
|
338
|
+
/** The 2026-06-01 API version. */
|
|
339
|
+
V20260601 = "2026-06-01"
|
|
307
340
|
}
|
|
308
341
|
//# sourceMappingURL=models.d.ts.map
|
|
@@ -27,6 +27,7 @@ __export(models_exports, {
|
|
|
27
27
|
_guestSubscriptionListResultDeserializer: () => _guestSubscriptionListResultDeserializer,
|
|
28
28
|
_operationListResultDeserializer: () => _operationListResultDeserializer,
|
|
29
29
|
_sharedLimitListResultDeserializer: () => _sharedLimitListResultDeserializer,
|
|
30
|
+
_vmFamilyListResultDeserializer: () => _vmFamilyListResultDeserializer,
|
|
30
31
|
errorAdditionalInfoArrayDeserializer: () => errorAdditionalInfoArrayDeserializer,
|
|
31
32
|
errorAdditionalInfoDeserializer: () => errorAdditionalInfoDeserializer,
|
|
32
33
|
errorDetailArrayDeserializer: () => errorDetailArrayDeserializer,
|
|
@@ -34,6 +35,7 @@ __export(models_exports, {
|
|
|
34
35
|
errorResponseDeserializer: () => errorResponseDeserializer,
|
|
35
36
|
featureArrayDeserializer: () => featureArrayDeserializer,
|
|
36
37
|
featureDeserializer: () => featureDeserializer,
|
|
38
|
+
featureEnableRequestSerializer: () => featureEnableRequestSerializer,
|
|
37
39
|
featurePropertiesDeserializer: () => featurePropertiesDeserializer,
|
|
38
40
|
guestSubscriptionArrayDeserializer: () => guestSubscriptionArrayDeserializer,
|
|
39
41
|
guestSubscriptionArraySerializer: () => guestSubscriptionArraySerializer,
|
|
@@ -57,7 +59,10 @@ __export(models_exports, {
|
|
|
57
59
|
sharedLimitPropertiesDeserializer: () => sharedLimitPropertiesDeserializer,
|
|
58
60
|
sharedLimitPropertiesSerializer: () => sharedLimitPropertiesSerializer,
|
|
59
61
|
sharedLimitSerializer: () => sharedLimitSerializer,
|
|
60
|
-
systemDataDeserializer: () => systemDataDeserializer
|
|
62
|
+
systemDataDeserializer: () => systemDataDeserializer,
|
|
63
|
+
vmFamilyArrayDeserializer: () => vmFamilyArrayDeserializer,
|
|
64
|
+
vmFamilyDeserializer: () => vmFamilyDeserializer,
|
|
65
|
+
vmFamilyPropertiesDeserializer: () => vmFamilyPropertiesDeserializer
|
|
61
66
|
});
|
|
62
67
|
module.exports = __toCommonJS(models_exports);
|
|
63
68
|
function _operationListResultDeserializer(item) {
|
|
@@ -289,6 +294,9 @@ function featureArrayDeserializer(result) {
|
|
|
289
294
|
return featureDeserializer(item);
|
|
290
295
|
});
|
|
291
296
|
}
|
|
297
|
+
function featureEnableRequestSerializer(item) {
|
|
298
|
+
return { serviceTreeId: item["serviceTreeId"] };
|
|
299
|
+
}
|
|
292
300
|
function operationStatusResultDeserializer(item) {
|
|
293
301
|
return {
|
|
294
302
|
id: item["id"],
|
|
@@ -307,9 +315,37 @@ function operationStatusResultArrayDeserializer(result) {
|
|
|
307
315
|
return operationStatusResultDeserializer(item);
|
|
308
316
|
});
|
|
309
317
|
}
|
|
318
|
+
function vmFamilyDeserializer(item) {
|
|
319
|
+
return {
|
|
320
|
+
id: item["id"],
|
|
321
|
+
name: item["name"],
|
|
322
|
+
type: item["type"],
|
|
323
|
+
systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]),
|
|
324
|
+
properties: !item["properties"] ? item["properties"] : vmFamilyPropertiesDeserializer(item["properties"])
|
|
325
|
+
};
|
|
326
|
+
}
|
|
327
|
+
function vmFamilyPropertiesDeserializer(item) {
|
|
328
|
+
return {
|
|
329
|
+
category: item["category"],
|
|
330
|
+
provisioningState: item["provisioningState"]
|
|
331
|
+
};
|
|
332
|
+
}
|
|
333
|
+
function _vmFamilyListResultDeserializer(item) {
|
|
334
|
+
return {
|
|
335
|
+
value: vmFamilyArrayDeserializer(item["value"]),
|
|
336
|
+
nextLink: item["nextLink"]
|
|
337
|
+
};
|
|
338
|
+
}
|
|
339
|
+
function vmFamilyArrayDeserializer(result) {
|
|
340
|
+
return result.map((item) => {
|
|
341
|
+
return vmFamilyDeserializer(item);
|
|
342
|
+
});
|
|
343
|
+
}
|
|
310
344
|
var KnownVersions = /* @__PURE__ */ ((KnownVersions2) => {
|
|
311
345
|
KnownVersions2["V20250815"] = "2025-08-15";
|
|
312
346
|
KnownVersions2["V20260320"] = "2026-03-20";
|
|
347
|
+
KnownVersions2["V20260430"] = "2026-04-30";
|
|
348
|
+
KnownVersions2["V20260601"] = "2026-06-01";
|
|
313
349
|
return KnownVersions2;
|
|
314
350
|
})(KnownVersions || {});
|
|
315
351
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -324,6 +360,7 @@ var KnownVersions = /* @__PURE__ */ ((KnownVersions2) => {
|
|
|
324
360
|
_guestSubscriptionListResultDeserializer,
|
|
325
361
|
_operationListResultDeserializer,
|
|
326
362
|
_sharedLimitListResultDeserializer,
|
|
363
|
+
_vmFamilyListResultDeserializer,
|
|
327
364
|
errorAdditionalInfoArrayDeserializer,
|
|
328
365
|
errorAdditionalInfoDeserializer,
|
|
329
366
|
errorDetailArrayDeserializer,
|
|
@@ -331,6 +368,7 @@ var KnownVersions = /* @__PURE__ */ ((KnownVersions2) => {
|
|
|
331
368
|
errorResponseDeserializer,
|
|
332
369
|
featureArrayDeserializer,
|
|
333
370
|
featureDeserializer,
|
|
371
|
+
featureEnableRequestSerializer,
|
|
334
372
|
featurePropertiesDeserializer,
|
|
335
373
|
guestSubscriptionArrayDeserializer,
|
|
336
374
|
guestSubscriptionArraySerializer,
|
|
@@ -354,6 +392,9 @@ var KnownVersions = /* @__PURE__ */ ((KnownVersions2) => {
|
|
|
354
392
|
sharedLimitPropertiesDeserializer,
|
|
355
393
|
sharedLimitPropertiesSerializer,
|
|
356
394
|
sharedLimitSerializer,
|
|
357
|
-
systemDataDeserializer
|
|
395
|
+
systemDataDeserializer,
|
|
396
|
+
vmFamilyArrayDeserializer,
|
|
397
|
+
vmFamilyDeserializer,
|
|
398
|
+
vmFamilyPropertiesDeserializer
|
|
358
399
|
});
|
|
359
400
|
//# sourceMappingURL=models.js.map
|