@azure/arm-computelimit 1.0.0-beta.1 → 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/README.md +1 -1
- package/dist/browser/api/computeLimitContext.d.ts +3 -3
- package/dist/browser/api/computeLimitContext.js +4 -21
- package/dist/browser/api/computeLimitContext.js.map +1 -1
- package/dist/browser/api/features/index.d.ts +3 -0
- package/dist/{react-native/api/guestSubscriptions → browser/api/features}/index.js +1 -1
- package/dist/browser/api/features/index.js.map +1 -0
- package/dist/browser/api/features/operations.d.ts +23 -0
- package/dist/browser/api/features/operations.js +130 -0
- package/dist/browser/api/features/operations.js.map +1 -0
- package/dist/browser/api/features/options.d.ts +21 -0
- package/dist/browser/api/features/options.js.map +1 -0
- package/dist/browser/api/guestSubscriptions/index.d.ts +1 -1
- package/dist/browser/api/guestSubscriptions/index.js.map +1 -1
- package/dist/browser/api/guestSubscriptions/operations.d.ts +0 -5
- package/dist/browser/api/guestSubscriptions/operations.js +8 -22
- package/dist/browser/api/guestSubscriptions/operations.js.map +1 -1
- package/dist/browser/api/guestSubscriptions/options.js.map +1 -1
- package/dist/browser/api/index.d.ts +2 -1
- package/dist/browser/api/index.js +1 -1
- package/dist/browser/api/index.js.map +1 -1
- package/dist/browser/api/operations/index.d.ts +1 -1
- package/dist/browser/api/operations/index.js.map +1 -1
- package/dist/browser/api/operations/operations.js +3 -6
- package/dist/browser/api/operations/operations.js.map +1 -1
- package/dist/browser/api/sharedLimits/index.d.ts +1 -1
- package/dist/browser/api/sharedLimits/index.js.map +1 -1
- package/dist/browser/api/sharedLimits/operations.d.ts +0 -5
- package/dist/browser/api/sharedLimits/operations.js +10 -28
- package/dist/browser/api/sharedLimits/operations.js.map +1 -1
- package/dist/browser/api/sharedLimits/options.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 +18 -0
- package/dist/browser/classic/features/index.js +17 -0
- package/dist/browser/classic/features/index.js.map +1 -0
- 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 +5 -3
- 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 +7 -1
- package/dist/browser/computeLimitClient.js +8 -0
- package/dist/browser/computeLimitClient.js.map +1 -1
- package/dist/browser/index.d.ts +18 -10
- package/dist/browser/index.js +3 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +2 -1
- package/dist/browser/models/index.js +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +105 -8
- package/dist/browser/models/models.js +105 -8
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/restorePollerHelpers.d.ts +21 -0
- package/dist/browser/restorePollerHelpers.js +95 -0
- package/dist/browser/restorePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +2 -0
- package/dist/browser/static-helpers/pagingHelpers.js +28 -3
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/browser/static-helpers/pollingHelpers.js +95 -0
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.js +20 -5
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -1
- package/dist/commonjs/api/computeLimitContext.d.ts +3 -3
- package/dist/commonjs/api/computeLimitContext.js +45 -44
- package/dist/commonjs/api/computeLimitContext.js.map +7 -1
- package/dist/commonjs/api/features/index.d.ts +3 -0
- package/dist/commonjs/api/features/index.js +34 -0
- package/dist/commonjs/api/features/index.js.map +7 -0
- package/dist/commonjs/api/features/operations.d.ts +23 -0
- package/dist/commonjs/api/features/operations.js +194 -0
- package/dist/commonjs/api/features/operations.js.map +7 -0
- package/dist/commonjs/api/features/options.d.ts +21 -0
- package/dist/commonjs/api/features/options.js +16 -0
- package/dist/commonjs/api/features/options.js.map +7 -0
- package/dist/commonjs/api/guestSubscriptions/index.d.ts +1 -1
- package/dist/commonjs/api/guestSubscriptions/index.js +34 -11
- package/dist/commonjs/api/guestSubscriptions/index.js.map +7 -1
- package/dist/commonjs/api/guestSubscriptions/operations.d.ts +0 -5
- package/dist/commonjs/api/guestSubscriptions/operations.js +158 -122
- package/dist/commonjs/api/guestSubscriptions/operations.js.map +7 -1
- package/dist/commonjs/api/guestSubscriptions/options.js +16 -5
- package/dist/commonjs/api/guestSubscriptions/options.js.map +7 -1
- package/dist/commonjs/api/index.d.ts +2 -1
- package/dist/commonjs/api/index.js +28 -8
- package/dist/commonjs/api/index.js.map +7 -1
- package/dist/commonjs/api/operations/index.d.ts +1 -1
- package/dist/commonjs/api/operations/index.js +28 -8
- package/dist/commonjs/api/operations/index.js.map +7 -1
- package/dist/commonjs/api/operations/operations.js +62 -33
- package/dist/commonjs/api/operations/operations.js.map +7 -1
- package/dist/commonjs/api/operations/options.js +16 -5
- package/dist/commonjs/api/operations/options.js.map +7 -1
- package/dist/commonjs/api/sharedLimits/index.d.ts +1 -1
- package/dist/commonjs/api/sharedLimits/index.js +34 -11
- package/dist/commonjs/api/sharedLimits/index.js.map +7 -1
- package/dist/commonjs/api/sharedLimits/operations.d.ts +0 -5
- package/dist/commonjs/api/sharedLimits/operations.js +158 -126
- package/dist/commonjs/api/sharedLimits/operations.js.map +7 -1
- package/dist/commonjs/api/sharedLimits/options.js +16 -5
- package/dist/commonjs/api/sharedLimits/options.js.map +7 -1
- 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 +18 -0
- package/dist/commonjs/classic/features/index.js +41 -0
- package/dist/commonjs/classic/features/index.js.map +7 -0
- package/dist/commonjs/classic/guestSubscriptions/index.d.ts +0 -5
- package/dist/commonjs/classic/guestSubscriptions/index.js +37 -16
- package/dist/commonjs/classic/guestSubscriptions/index.js.map +7 -1
- package/dist/commonjs/classic/index.d.ts +5 -3
- package/dist/commonjs/classic/index.js +16 -5
- package/dist/commonjs/classic/index.js.map +7 -1
- package/dist/commonjs/classic/operations/index.js +34 -13
- package/dist/commonjs/classic/operations/index.js.map +7 -1
- package/dist/commonjs/classic/sharedLimits/index.d.ts +0 -5
- package/dist/commonjs/classic/sharedLimits/index.js +37 -16
- package/dist/commonjs/classic/sharedLimits/index.js.map +7 -1
- 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 +7 -1
- package/dist/commonjs/computeLimitClient.js +61 -35
- package/dist/commonjs/computeLimitClient.js.map +7 -1
- package/dist/commonjs/index.d.ts +18 -10
- package/dist/commonjs/index.js +52 -16
- package/dist/commonjs/index.js.map +7 -1
- package/dist/commonjs/logger.js +29 -8
- package/dist/commonjs/logger.js.map +7 -1
- package/dist/commonjs/models/index.d.ts +2 -1
- package/dist/commonjs/models/index.js +38 -12
- package/dist/commonjs/models/index.js.map +7 -1
- package/dist/commonjs/models/models.d.ts +105 -8
- package/dist/commonjs/models/models.js +353 -229
- package/dist/commonjs/models/models.js.map +7 -1
- package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
- package/dist/commonjs/restorePollerHelpers.js +108 -0
- package/dist/commonjs/restorePollerHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +50 -40
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -1
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +2 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +125 -103
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -1
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js +101 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +167 -158
- package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/computeLimitContext.d.ts +3 -3
- package/dist/esm/api/computeLimitContext.js +4 -21
- package/dist/esm/api/computeLimitContext.js.map +1 -1
- package/dist/esm/api/features/index.d.ts +3 -0
- package/dist/{react-native/api/sharedLimits → esm/api/features}/index.js +1 -1
- package/dist/esm/api/features/index.js.map +1 -0
- package/dist/esm/api/features/operations.d.ts +23 -0
- package/dist/esm/api/features/operations.js +130 -0
- package/dist/esm/api/features/operations.js.map +1 -0
- package/dist/esm/api/features/options.d.ts +21 -0
- package/dist/esm/api/features/options.js.map +1 -0
- package/dist/esm/api/guestSubscriptions/index.d.ts +1 -1
- package/dist/esm/api/guestSubscriptions/index.js.map +1 -1
- package/dist/esm/api/guestSubscriptions/operations.d.ts +0 -5
- package/dist/esm/api/guestSubscriptions/operations.js +8 -22
- package/dist/esm/api/guestSubscriptions/operations.js.map +1 -1
- package/dist/esm/api/guestSubscriptions/options.js.map +1 -1
- package/dist/esm/api/index.d.ts +2 -1
- package/dist/esm/api/index.js +1 -1
- package/dist/esm/api/index.js.map +1 -1
- package/dist/esm/api/operations/index.d.ts +1 -1
- package/dist/esm/api/operations/index.js.map +1 -1
- package/dist/esm/api/operations/operations.js +3 -6
- package/dist/esm/api/operations/operations.js.map +1 -1
- package/dist/esm/api/sharedLimits/index.d.ts +1 -1
- package/dist/esm/api/sharedLimits/index.js.map +1 -1
- package/dist/esm/api/sharedLimits/operations.d.ts +0 -5
- package/dist/esm/api/sharedLimits/operations.js +10 -28
- package/dist/esm/api/sharedLimits/operations.js.map +1 -1
- package/dist/esm/api/sharedLimits/options.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/{react-native/classic/index.js → esm/api/vmFamilies/options.js} +1 -1
- package/dist/esm/api/vmFamilies/options.js.map +1 -0
- package/dist/esm/classic/features/index.d.ts +18 -0
- package/dist/esm/classic/features/index.js +17 -0
- package/dist/esm/classic/features/index.js.map +1 -0
- 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 +5 -3
- 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 +7 -1
- package/dist/esm/computeLimitClient.js +8 -0
- package/dist/esm/computeLimitClient.js.map +1 -1
- package/dist/esm/index.d.ts +18 -10
- package/dist/esm/index.js +3 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +2 -1
- package/dist/esm/models/index.js +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +105 -8
- package/dist/esm/models/models.js +105 -8
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/restorePollerHelpers.d.ts +21 -0
- package/dist/esm/restorePollerHelpers.js +95 -0
- package/dist/esm/restorePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +2 -0
- package/dist/esm/static-helpers/pagingHelpers.js +28 -3
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/esm/static-helpers/pollingHelpers.js +95 -0
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.js +20 -5
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -1
- package/package.json +56 -64
- package/dist/react-native/api/computeLimitContext.d.ts +0 -22
- package/dist/react-native/api/computeLimitContext.js +0 -43
- package/dist/react-native/api/computeLimitContext.js.map +0 -1
- package/dist/react-native/api/guestSubscriptions/index.d.ts +0 -3
- 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 -134
- 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 -2
- 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 -34
- 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.map +0 -1
- package/dist/react-native/api/sharedLimits/index.d.ts +0 -3
- 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 -134
- 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.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 -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 -21
- package/dist/react-native/computeLimitClient.js +0 -33
- package/dist/react-native/computeLimitClient.js.map +0 -1
- package/dist/react-native/index.d.ts +0 -12
- package/dist/react-native/index.js +0 -7
- 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 -2
- 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 -244
- package/dist/react-native/models/models.js +0 -244
- package/dist/react-native/models/models.js.map +0 -1
- package/dist/react-native/package.json +0 -3
- 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 -72
- package/dist/react-native/static-helpers/pagingHelpers.js +0 -118
- package/dist/react-native/static-helpers/pagingHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/urlTemplate.d.ts +0 -5
- package/dist/react-native/static-helpers/urlTemplate.js +0 -185
- package/dist/react-native/static-helpers/urlTemplate.js.map +0 -1
- /package/dist/{react-native/api/guestSubscriptions → browser/api/features}/options.js +0 -0
- /package/dist/{react-native/api/operations → browser/api/vmFamilies}/options.js +0 -0
- /package/dist/{react-native/api/sharedLimits → esm/api/features}/options.js +0 -0
|
@@ -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
|
+
}
|
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
import type { ComputeLimitClientOptionalParams } from "./api/index.js";
|
|
2
|
+
import type { FeaturesOperations } from "./classic/features/index.js";
|
|
2
3
|
import type { GuestSubscriptionsOperations } from "./classic/guestSubscriptions/index.js";
|
|
3
4
|
import type { OperationsOperations } from "./classic/operations/index.js";
|
|
4
5
|
import type { SharedLimitsOperations } from "./classic/sharedLimits/index.js";
|
|
6
|
+
import type { VmFamiliesOperations } from "./classic/vmFamilies/index.js";
|
|
5
7
|
import type { TokenCredential } from "@azure/core-auth";
|
|
6
8
|
import type { Pipeline } from "@azure/core-rest-pipeline";
|
|
7
|
-
export { ComputeLimitClientOptionalParams } from "./api/computeLimitContext.js";
|
|
9
|
+
export type { ComputeLimitClientOptionalParams } from "./api/computeLimitContext.js";
|
|
8
10
|
export declare class ComputeLimitClient {
|
|
9
11
|
private _client;
|
|
10
12
|
/** The pipeline used by this client to make requests */
|
|
11
13
|
readonly pipeline: Pipeline;
|
|
12
14
|
/** Microsoft Azure Compute Limit Resource Provider. */
|
|
13
15
|
constructor(credential: TokenCredential, subscriptionId: string, options?: ComputeLimitClientOptionalParams);
|
|
16
|
+
/** The operation groups for vmFamilies */
|
|
17
|
+
readonly vmFamilies: VmFamiliesOperations;
|
|
18
|
+
/** The operation groups for features */
|
|
19
|
+
readonly features: FeaturesOperations;
|
|
14
20
|
/** The operation groups for sharedLimits */
|
|
15
21
|
readonly sharedLimits: SharedLimitsOperations;
|
|
16
22
|
/** The operation groups for guestSubscriptions */
|
|
@@ -1,37 +1,63 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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 computeLimitClient_exports = {};
|
|
19
|
+
__export(computeLimitClient_exports, {
|
|
20
|
+
ComputeLimitClient: () => ComputeLimitClient
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(computeLimitClient_exports);
|
|
23
|
+
var import_api = require("./api/index.js");
|
|
24
|
+
var import_features = require("./classic/features/index.js");
|
|
25
|
+
var import_guestSubscriptions = require("./classic/guestSubscriptions/index.js");
|
|
26
|
+
var import_operations = require("./classic/operations/index.js");
|
|
27
|
+
var import_sharedLimits = require("./classic/sharedLimits/index.js");
|
|
28
|
+
var import_vmFamilies = require("./classic/vmFamilies/index.js");
|
|
10
29
|
class ComputeLimitClient {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
_client;
|
|
31
|
+
/** The pipeline used by this client to make requests */
|
|
32
|
+
pipeline;
|
|
33
|
+
/** Microsoft Azure Compute Limit Resource Provider. */
|
|
34
|
+
constructor(credential, subscriptionId, options = {}) {
|
|
35
|
+
const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;
|
|
36
|
+
const userAgentPrefix = prefixFromOptions ? `${prefixFromOptions} azsdk-js-client` : `azsdk-js-client`;
|
|
37
|
+
this._client = (0, import_api.createComputeLimit)(credential, subscriptionId, {
|
|
38
|
+
...options,
|
|
39
|
+
userAgentOptions: { userAgentPrefix }
|
|
40
|
+
});
|
|
41
|
+
this.pipeline = this._client.pipeline;
|
|
42
|
+
this.vmFamilies = (0, import_vmFamilies._getVmFamiliesOperations)(this._client);
|
|
43
|
+
this.features = (0, import_features._getFeaturesOperations)(this._client);
|
|
44
|
+
this.sharedLimits = (0, import_sharedLimits._getSharedLimitsOperations)(this._client);
|
|
45
|
+
this.guestSubscriptions = (0, import_guestSubscriptions._getGuestSubscriptionsOperations)(this._client);
|
|
46
|
+
this.operations = (0, import_operations._getOperationsOperations)(this._client);
|
|
47
|
+
}
|
|
48
|
+
/** The operation groups for vmFamilies */
|
|
49
|
+
vmFamilies;
|
|
50
|
+
/** The operation groups for features */
|
|
51
|
+
features;
|
|
52
|
+
/** The operation groups for sharedLimits */
|
|
53
|
+
sharedLimits;
|
|
54
|
+
/** The operation groups for guestSubscriptions */
|
|
55
|
+
guestSubscriptions;
|
|
56
|
+
/** The operation groups for operations */
|
|
57
|
+
operations;
|
|
35
58
|
}
|
|
36
|
-
|
|
37
|
-
|
|
59
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
60
|
+
0 && (module.exports = {
|
|
61
|
+
ComputeLimitClient
|
|
62
|
+
});
|
|
63
|
+
//# sourceMappingURL=computeLimitClient.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 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 { 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
|
+
"names": []
|
|
7
|
+
}
|
package/dist/commonjs/index.d.ts
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { AzureSupportedClouds } from "./static-helpers/cloudSettingHelpers.js";
|
|
2
|
+
import { AzureClouds } from "./static-helpers/cloudSettingHelpers.js";
|
|
3
|
+
import type { PageSettings, ContinuablePage, PagedAsyncIterableIterator } from "./static-helpers/pagingHelpers.js";
|
|
3
4
|
export { ComputeLimitClient } from "./computeLimitClient.js";
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
5
|
+
export type { RestorePollerOptions } from "./restorePollerHelpers.js";
|
|
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, FeatureEnableRequest, OperationStatusResult, VmFamily, VmFamilyProperties, } from "./models/index.js";
|
|
8
|
+
export { KnownOrigin, KnownActionType, KnownResourceProvisioningState, KnownCreatedByType, KnownFeatureState, KnownVersions, } from "./models/index.js";
|
|
9
|
+
export type { ComputeLimitClientOptionalParams } from "./api/index.js";
|
|
10
|
+
export type { FeaturesDisableOptionalParams, FeaturesEnableOptionalParams, FeaturesListBySubscriptionLocationResourceOptionalParams, FeaturesGetOptionalParams, } from "./api/features/index.js";
|
|
11
|
+
export type { GuestSubscriptionsListBySubscriptionLocationResourceOptionalParams, GuestSubscriptionsDeleteOptionalParams, GuestSubscriptionsCreateOptionalParams, GuestSubscriptionsGetOptionalParams, } from "./api/guestSubscriptions/index.js";
|
|
12
|
+
export type { OperationsListOptionalParams } from "./api/operations/index.js";
|
|
13
|
+
export type { SharedLimitsListBySubscriptionLocationResourceOptionalParams, SharedLimitsDeleteOptionalParams, SharedLimitsCreateOptionalParams, SharedLimitsGetOptionalParams, } from "./api/sharedLimits/index.js";
|
|
14
|
+
export type { VmFamiliesListBySubscriptionLocationResourceOptionalParams, VmFamiliesGetOptionalParams, } from "./api/vmFamilies/index.js";
|
|
15
|
+
export type { FeaturesOperations, GuestSubscriptionsOperations, OperationsOperations, SharedLimitsOperations, VmFamiliesOperations, } from "./classic/index.js";
|
|
16
|
+
export type { PageSettings, ContinuablePage, PagedAsyncIterableIterator };
|
|
17
|
+
export { AzureClouds };
|
|
18
|
+
export type { AzureSupportedClouds };
|
|
19
|
+
export { RestError, isRestError } from "@azure/core-rest-pipeline";
|
|
12
20
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/commonjs/index.js
CHANGED
|
@@ -1,16 +1,52 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 src_exports = {};
|
|
19
|
+
__export(src_exports, {
|
|
20
|
+
AzureClouds: () => import_cloudSettingHelpers.AzureClouds,
|
|
21
|
+
ComputeLimitClient: () => import_computeLimitClient.ComputeLimitClient,
|
|
22
|
+
KnownActionType: () => import_models.KnownActionType,
|
|
23
|
+
KnownCreatedByType: () => import_models.KnownCreatedByType,
|
|
24
|
+
KnownFeatureState: () => import_models.KnownFeatureState,
|
|
25
|
+
KnownOrigin: () => import_models.KnownOrigin,
|
|
26
|
+
KnownResourceProvisioningState: () => import_models.KnownResourceProvisioningState,
|
|
27
|
+
KnownVersions: () => import_models.KnownVersions,
|
|
28
|
+
RestError: () => import_core_rest_pipeline.RestError,
|
|
29
|
+
isRestError: () => import_core_rest_pipeline.isRestError,
|
|
30
|
+
restorePoller: () => import_restorePollerHelpers.restorePoller
|
|
31
|
+
});
|
|
32
|
+
module.exports = __toCommonJS(src_exports);
|
|
33
|
+
var import_cloudSettingHelpers = require("./static-helpers/cloudSettingHelpers.js");
|
|
34
|
+
var import_computeLimitClient = require("./computeLimitClient.js");
|
|
35
|
+
var import_restorePollerHelpers = require("./restorePollerHelpers.js");
|
|
36
|
+
var import_models = require("./models/index.js");
|
|
37
|
+
var import_core_rest_pipeline = require("@azure/core-rest-pipeline");
|
|
38
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
39
|
+
0 && (module.exports = {
|
|
40
|
+
AzureClouds,
|
|
41
|
+
ComputeLimitClient,
|
|
42
|
+
KnownActionType,
|
|
43
|
+
KnownCreatedByType,
|
|
44
|
+
KnownFeatureState,
|
|
45
|
+
KnownOrigin,
|
|
46
|
+
KnownResourceProvisioningState,
|
|
47
|
+
KnownVersions,
|
|
48
|
+
RestError,
|
|
49
|
+
isRestError,
|
|
50
|
+
restorePoller
|
|
51
|
+
});
|
|
52
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 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 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
|
+
"names": []
|
|
7
|
+
}
|
package/dist/commonjs/logger.js
CHANGED
|
@@ -1,8 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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 logger_exports = {};
|
|
19
|
+
__export(logger_exports, {
|
|
20
|
+
logger: () => logger
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(logger_exports);
|
|
23
|
+
var import_logger = require("@azure/logger");
|
|
24
|
+
const logger = (0, import_logger.createClientLogger)("arm-computelimit");
|
|
25
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
26
|
+
0 && (module.exports = {
|
|
27
|
+
logger
|
|
28
|
+
});
|
|
29
|
+
//# sourceMappingURL=logger.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/logger.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createClientLogger } from \"@azure/logger\";\nexport const logger = createClientLogger(\"arm-computelimit\");\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,oBAAmC;AAC5B,MAAM,aAAS,kCAAmB,kBAAkB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { Operation, OperationDisplay,
|
|
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
|
+
export { KnownOrigin, KnownActionType, KnownResourceProvisioningState, KnownCreatedByType, KnownFeatureState, KnownVersions, } from "./models.js";
|
|
2
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,12 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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 models_exports = {};
|
|
19
|
+
__export(models_exports, {
|
|
20
|
+
KnownActionType: () => import_models.KnownActionType,
|
|
21
|
+
KnownCreatedByType: () => import_models.KnownCreatedByType,
|
|
22
|
+
KnownFeatureState: () => import_models.KnownFeatureState,
|
|
23
|
+
KnownOrigin: () => import_models.KnownOrigin,
|
|
24
|
+
KnownResourceProvisioningState: () => import_models.KnownResourceProvisioningState,
|
|
25
|
+
KnownVersions: () => import_models.KnownVersions
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(models_exports);
|
|
28
|
+
var import_models = require("./models.js");
|
|
29
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
30
|
+
0 && (module.exports = {
|
|
31
|
+
KnownActionType,
|
|
32
|
+
KnownCreatedByType,
|
|
33
|
+
KnownFeatureState,
|
|
34
|
+
KnownOrigin,
|
|
35
|
+
KnownResourceProvisioningState,
|
|
36
|
+
KnownVersions
|
|
37
|
+
});
|
|
38
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 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 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
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file contains only generated model types and (de)serializers.
|
|
3
|
-
* Disable
|
|
2
|
+
* This file contains only generated model types and their (de)serializers.
|
|
3
|
+
* Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.
|
|
4
4
|
*/
|
|
5
5
|
/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
|
|
6
6
|
export interface _OperationListResult {
|
|
@@ -25,7 +25,7 @@ export interface Operation {
|
|
|
25
25
|
readonly actionType?: ActionType;
|
|
26
26
|
}
|
|
27
27
|
export declare function operationDeserializer(item: any): Operation;
|
|
28
|
-
/** Localized display information for
|
|
28
|
+
/** Localized display information for an operation. */
|
|
29
29
|
export interface OperationDisplay {
|
|
30
30
|
/** The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". */
|
|
31
31
|
readonly provider?: string;
|
|
@@ -111,7 +111,7 @@ export interface GuestSubscriptionProperties {
|
|
|
111
111
|
/** The provisioning state of the resource. */
|
|
112
112
|
readonly provisioningState?: ResourceProvisioningState;
|
|
113
113
|
}
|
|
114
|
-
export declare function guestSubscriptionPropertiesSerializer(
|
|
114
|
+
export declare function guestSubscriptionPropertiesSerializer(_item: GuestSubscriptionProperties): any;
|
|
115
115
|
export declare function guestSubscriptionPropertiesDeserializer(item: any): GuestSubscriptionProperties;
|
|
116
116
|
/** The provisioning state of a resource type. */
|
|
117
117
|
export declare enum KnownResourceProvisioningState {
|
|
@@ -135,7 +135,7 @@ export type ResourceProvisioningState = string;
|
|
|
135
135
|
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
136
136
|
export interface ProxyResource extends Resource {
|
|
137
137
|
}
|
|
138
|
-
export declare function proxyResourceSerializer(
|
|
138
|
+
export declare function proxyResourceSerializer(_item: ProxyResource): any;
|
|
139
139
|
export declare function proxyResourceDeserializer(item: any): ProxyResource;
|
|
140
140
|
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
141
141
|
export interface Resource {
|
|
@@ -148,7 +148,7 @@ export interface Resource {
|
|
|
148
148
|
/** Azure Resource Manager metadata containing createdBy and modifiedBy information. */
|
|
149
149
|
readonly systemData?: SystemData;
|
|
150
150
|
}
|
|
151
|
-
export declare function resourceSerializer(
|
|
151
|
+
export declare function resourceSerializer(_item: Resource): any;
|
|
152
152
|
export declare function resourceDeserializer(item: any): Resource;
|
|
153
153
|
/** Metadata pertaining to creation and last modification of the resource. */
|
|
154
154
|
export interface SystemData {
|
|
@@ -216,7 +216,7 @@ export interface SharedLimitProperties {
|
|
|
216
216
|
/** The provisioning state of the resource. */
|
|
217
217
|
readonly provisioningState?: ResourceProvisioningState;
|
|
218
218
|
}
|
|
219
|
-
export declare function sharedLimitPropertiesSerializer(
|
|
219
|
+
export declare function sharedLimitPropertiesSerializer(_item: SharedLimitProperties): any;
|
|
220
220
|
export declare function sharedLimitPropertiesDeserializer(item: any): SharedLimitProperties;
|
|
221
221
|
/** Properties of the limit name. */
|
|
222
222
|
export interface LimitName {
|
|
@@ -236,9 +236,106 @@ export interface _SharedLimitListResult {
|
|
|
236
236
|
export declare function _sharedLimitListResultDeserializer(item: any): _SharedLimitListResult;
|
|
237
237
|
export declare function sharedLimitArraySerializer(result: Array<SharedLimit>): any[];
|
|
238
238
|
export declare function sharedLimitArrayDeserializer(result: Array<SharedLimit>): any[];
|
|
239
|
+
/** Compute limit feature. */
|
|
240
|
+
export interface Feature extends ProxyResource {
|
|
241
|
+
/** The resource-specific properties for this resource. */
|
|
242
|
+
properties?: FeatureProperties;
|
|
243
|
+
}
|
|
244
|
+
export declare function featureDeserializer(item: any): Feature;
|
|
245
|
+
/** Properties of the compute limit feature. */
|
|
246
|
+
export interface FeatureProperties {
|
|
247
|
+
/** The current state of the feature (for example, Enabled, Disabled). */
|
|
248
|
+
state?: FeatureState;
|
|
249
|
+
/** The provisioning state of the resource. */
|
|
250
|
+
readonly provisioningState?: ResourceProvisioningState;
|
|
251
|
+
}
|
|
252
|
+
export declare function featurePropertiesDeserializer(item: any): FeatureProperties;
|
|
253
|
+
/** The allowed states for a compute limit feature. */
|
|
254
|
+
export declare enum KnownFeatureState {
|
|
255
|
+
/** The feature is enabled. */
|
|
256
|
+
Enabled = "Enabled",
|
|
257
|
+
/** The feature is disabled. */
|
|
258
|
+
Disabled = "Disabled"
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* The allowed states for a compute limit feature. \
|
|
262
|
+
* {@link KnownFeatureState} can be used interchangeably with FeatureState,
|
|
263
|
+
* this enum contains the known values that the service supports.
|
|
264
|
+
* ### Known values supported by the service
|
|
265
|
+
* **Enabled**: The feature is enabled. \
|
|
266
|
+
* **Disabled**: The feature is disabled.
|
|
267
|
+
*/
|
|
268
|
+
export type FeatureState = string;
|
|
269
|
+
/** The response of a Feature list operation. */
|
|
270
|
+
export interface _FeatureListResult {
|
|
271
|
+
/** The Feature items on this page */
|
|
272
|
+
value: Feature[];
|
|
273
|
+
/** The link to the next page of items */
|
|
274
|
+
nextLink?: string;
|
|
275
|
+
}
|
|
276
|
+
export declare function _featureListResultDeserializer(item: any): _FeatureListResult;
|
|
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;
|
|
284
|
+
/** The current status of an async operation. */
|
|
285
|
+
export interface OperationStatusResult {
|
|
286
|
+
/** Fully qualified ID for the async operation. */
|
|
287
|
+
id?: string;
|
|
288
|
+
/** Name of the async operation. */
|
|
289
|
+
name?: string;
|
|
290
|
+
/** Operation status. */
|
|
291
|
+
status: string;
|
|
292
|
+
/** Percent of the operation that is complete. */
|
|
293
|
+
percentComplete?: number;
|
|
294
|
+
/** The start time of the operation. */
|
|
295
|
+
startTime?: Date;
|
|
296
|
+
/** The end time of the operation. */
|
|
297
|
+
endTime?: Date;
|
|
298
|
+
/** The operations list. */
|
|
299
|
+
operations?: OperationStatusResult[];
|
|
300
|
+
/** If present, details of the operation error. */
|
|
301
|
+
error?: ErrorDetail;
|
|
302
|
+
/** Fully qualified ID of the resource against which the original async operation was started. */
|
|
303
|
+
readonly resourceId?: string;
|
|
304
|
+
}
|
|
305
|
+
export declare function operationStatusResultDeserializer(item: any): OperationStatusResult;
|
|
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[];
|
|
239
330
|
/** The available API versions. */
|
|
240
331
|
export declare enum KnownVersions {
|
|
241
332
|
/** The 2025-08-15 API version. */
|
|
242
|
-
V20250815 = "2025-08-15"
|
|
333
|
+
V20250815 = "2025-08-15",
|
|
334
|
+
/** The 2026-03-20 API version. */
|
|
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"
|
|
243
340
|
}
|
|
244
341
|
//# sourceMappingURL=models.d.ts.map
|